This commit is contained in:
qo-op 2020-06-11 00:49:03 +02:00
commit 985cedf4ef
5 changed files with 19 additions and 4 deletions

View File

@ -71,6 +71,7 @@ echo $timebar
#
$MY_PATH/g1sms/sms_ASTROPORT.sh
<<<<<<< HEAD
####### OPEN PORT TO FORWARD ####### ADMIN ANY NODE (placer à 5 + 1mn)
### ADAPT TO ANY IPFSNODEID and TCP port
if [[ "$timebar" == "09:46" ]]; then
@ -85,6 +86,8 @@ if [[ "$timebar" == "09:46" ]]; then
# Start G1sms API push/pull
$MY_PATH/zen/ipfs_OPEN_ports.sh
fi
=======
>>>>>>> 75933498b2558f9459fa8345ab26da2eb693334d
#if [[ "$timebar" == "18:01" ]]; then
#[[ "$IPFSNODEID" == "QmVywXoBSz7JZ5vunYYVwi72SdTizvFt7k7qd3ooyYHvHA" ]] && ipfs p2p listen /x/g1pub-http /ip4/127.0.0.1/tcp/80
#echo "G1smsPub FORWARD: ipfs p2p forward /x/g1pub-http /ip4/127.0.0.1/tcp/8021 /p2p/QmVywXoBSz7JZ5vunYYVwi72SdTizvFt7k7qd3ooyYHvHA"
@ -250,10 +253,20 @@ echo '
HTTP API forwarding to http://127.0.0.1:10099
'
echo '' > /tmp/A_P2Pforward
ipfs p2p close --all
####### OPEN PORT TO FORWARD ####### ADMIN ANY NODE (placer à 5 + 1mn)
### ADAPT TO ANY IPFSNODEID and TCP port
if [[ "$IPFSNODEID" == "QmVywXoBSz7JZ5vunYYVwi72SdTizvFt7k7qd3ooyYHvHA" ]]; then
ipfs p2p listen /x/g1pub-ssh /ip4/127.0.0.1/tcp/22 # CLOSE WITH ipfs p2p close /x/g1pub-ssh
ipfs p2p listen /x/g1pub-http /ip4/127.0.0.1/tcp/80
fi
echo "G1smsPub FORWARD: ipfs p2p forward /x/g1pub-ssh /ip4/127.0.0.1/tcp/2021 /p2p/QmVywXoBSz7JZ5vunYYVwi72SdTizvFt7k7qd3ooyYHvHA" >> /tmp/A_P2Pforward
echo "G1smsPub FORWARD: ipfs p2p forward /x/g1pub-http /ip4/127.0.0.1/tcp/8021 /p2p/QmVywXoBSz7JZ5vunYYVwi72SdTizvFt7k7qd3ooyYHvHA" >> /tmp/A_P2Pforward
./zen/ipfs_OPEN_ports.sh
ipfs p2p ls
##################################################################
echo '
_________ ______
____ ___ ____ /_ __/ | / ____/

View File

@ -46,7 +46,7 @@ p#si_captcha_code { clear: left; padding-top:10px; }
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Astroport</title>
<title>Astroport jouer à être Humain, économie radicale et Machine Learning</title>
<link rel="icon"
type="image/ico"
href="../app/themes/joystick-v20/images/pp-fav.ico">
@ -239,7 +239,7 @@ p#si_captcha_code { clear: left; padding-top:10px; }
<br>
<p class="description">
<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts allow-popups" src="https://tube.p2p.legal/videos/embed/1a28c8a8-2bfa-48c6-adae-456bcdd02387" frameborder="0" allowfullscreen></iframe>
<iframe width="460" height="215" sandbox="allow-same-origin allow-scripts allow-popups" src="https://tube.p2p.legal/videos/watch/1a28c8a8-2bfa-48c6-adae-456bcdd02387?autoplay=1" frameborder="0" allowfullscreen></iframe>
<br>
</p>
<p class="description slide-up-animation hidden">

View File

@ -43,7 +43,7 @@ p#si_captcha_code { clear: left; padding-top:10px; }
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Astroport</title>
<title>Astroport - L'Internet du futur aujourd'hui!</title>
<link rel="icon"
type="image/ico"
href="app/themes/joystick-v20/images/pp-fav.ico">

View File

@ -46,7 +46,7 @@ p#si_captcha_code { clear: left; padding-top:10px; }
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Astroport</title>
<title>Astroport - Une suite logicielle qui décentralise DEBIAN 10</title>
<link rel="icon"
type="image/ico"
href="../app/themes/joystick-v20/images/pp-fav.ico">

2
zen/tools/wav2mp3.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
find . -type f -name '*.wav' -exec bash -c 'ffmpeg -i "$0" -c:a libmp3lame -q:a 2 "${0/%wav/mp3}"' '{}' \;