This commit is contained in:
fred 2023-03-21 17:05:04 +01:00
parent 514994260f
commit 9ffab4c3fd
3 changed files with 41 additions and 36 deletions

View File

@ -128,8 +128,8 @@ echo ">>> ${QRCODE} g1_to_ipfs $ASTROTOIPFS"
## GET G1PUB OR CURRENT SECRET
###########################################""
MYPLAYERKEY=$(grep ${QRCODE} ~/.zen/game/players/*/secret.dunikey | cut -d ':' -f 1)
[[ ! $MYPLAYERKEY ]] && MYPLAYERKEY="$HOME/.zen/game/players/.current/secret.dunikey"
echo "SELECTED KEY : $(cat MYPLAYERKEY)"
[[ $MYPLAYERKEY == "" ]] && MYPLAYERKEY="$HOME/.zen/game/players/.current/secret.dunikey"
echo "SELECTED KEY : $(cat $MYPLAYERKEY)"
echo
## PARRAIN ID EXTRACTION
@ -137,7 +137,9 @@ echo
CURPLAYER=$(cat ~/.zen/game/players/.current/.player)
CURG1=$(cat ~/.zen/game/players/.current/.g1pub)
echo "${MY_PATH}/../tools/jaklis/jaklis.py balance -p ${CURG1}"
CURCOINS=$(~/.zen/Astroport.ONE/tools/COINScheck.sh ${CURG1} | tail -f 1)
~/.zen/Astroport.ONE/tools/COINScheck.sh ${CURG1} > ~/.zen/tmp/curcoin
cat ~/.zen/tmp/curcoin
CURCOINS=$(cat ~/.zen/tmp/curcoin | tail -n 1)
echo "CURRENT PLAYER : $CURCOINS G1"
## WALLET JAMAIS SERVI
@ -164,7 +166,7 @@ else
###########################################
## GET VISITOR G1 WANNET AMOUNT : VISITORCOINS
echo "COINScheck : ${MY_PATH}/../tools/jaklis/jaklis.py balance -p ${QRCODE}"
VISITORCOINS=$(~/.zen/Astroport.ONE/tools/COINScheck.sh ${QRCODE} | tail -f 1)
VISITORCOINS=$(~/.zen/Astroport.ONE/tools/COINScheck.sh ${QRCODE} | tail -n 1)
## PALPE COMBIEN ?
if [[ $VISITORCOINS == "" || $VISITORCOINS == "null" ]]; then
@ -194,7 +196,7 @@ else
[[ ! -s ~/.zen/tmp/coucou/${QRCODE}.gplus.json ]] \
&& ~/.zen/Astroport.ONE/tools/timeout.sh -t 10 curl -s ${myCESIUM}/user/profile/${QRCODE} > ~/.zen/tmp/coucou/${QRCODE}.gplus.json 2>/dev/null &
GCFOUND=$(cat ~~/.zen/tmp/coucou/${QRCODE}.gplus.json | jq -r '.found')
GCFOUND=$(cat ~/.zen/tmp/coucou/${QRCODE}.gplus.json | jq -r '.found')
[[ $GCFOUND == "false" ]] \
&& echo "AUCUN GCPLUS : PAS DE CESIUM POUR CLEF GCHANGE" \
&& sed "s~_TWLINK_~https://demo.cesium.app/#/app/wot/$QRCODE/~g" ~/.zen/Astroport.ONE/templates/index.302 > ~/.zen/tmp/${MOATS}/index.redirect \

View File

@ -42,8 +42,8 @@ echo $ASTROPATH
if [[ -d $ASTROPATH ]]; then
COINSFILE=$ASTROPATH/ipfs/G1SSB/COINS
else
mkdir -p ~/.zen/tmp/coucou/
COINSFILE=~/.zen/tmp/coucou/${G1PUB}.COINS
mkdir -p $HOME/.zen/tmp/coucou/
COINSFILE=$HOME/.zen/tmp/coucou/${G1PUB}.COINS
fi
echo "ACTUAL $COINSFILE CONTAINS"

View File

@ -79,9 +79,9 @@
<section>
<h2>Astroport Ŋ1</h2>
<p>
A data shaping protocol.
A data shifting protocol.
<br>A storage network.
<br>A PKI application sandbox
<br>A PKI / DAO sandbox
<br><a href="https://git.p2p.legal/STI/Astroport.ONE" target="_blank">Astroport.ONE</a>
</p>
</section>
@ -193,6 +193,7 @@
</p>
</section>
-->
<!--
<section data-markdown>
<script type="text/template">
@ -210,40 +211,38 @@
```
</script>
</section>
-->
<section>
<p>Add the <code>r-fit-text</code> class to auto-size text</p>
<h2 class="r-fit-text">FIT TEXT</h2>
<p>Spread <code>and</code> Share</p>
<h2 class="r-fit-text">DIY</h2>
</section>
<section>
<section id="fragments">
<h2>Fragments</h2>
<p>Hit the next arrow...</p>
<p class="fragment">... to step through ...</p>
<p><span class="fragment">... a</span> <span class="fragment">fragmented</span> <span class="fragment">slide.</span></p>
<aside class="notes">
This slide has fragments which are also stepped through in the notes window.
</aside>
<h2>How To Play</h2>
<p>Find a Wish...</p>
<p class="fragment">... Fund a Recipe ...</p>
<p><span class="fragment">Make... </span> <span class="fragment">Report</span> & <span class="fragment">Win !</span></p>
</section>
<section>
<h2>Fragment Styles</h2>
<p>There's different types of fragments, like:</p>
<p class="fragment grow">grow</p>
<p class="fragment shrink">shrink</p>
<p class="fragment fade-out">fade-out</p>
<h2>Goals</h2>
<p>There's requested Evolution :</p>
<p class="fragment grow">Progess</p>
<p class="fragment shrink">maintain</p>
<p class="fragment fade-out">control</p>
<p>
<span style="display: inline-block;" class="fragment fade-right">fade-right, </span>
<span style="display: inline-block;" class="fragment fade-up">up, </span>
<span style="display: inline-block;" class="fragment fade-down">down, </span>
<span style="display: inline-block;" class="fragment fade-left">left</span>
<span style="display: inline-block;" class="fragment fade-right">explore, </span>
<span style="display: inline-block;" class="fragment fade-up">upcycle, </span>
<span style="display: inline-block;" class="fragment fade-down">donate, </span>
<span style="display: inline-block;" class="fragment fade-left">enhance</span>
</p>
<p class="fragment fade-in-then-out">fade-in-then-out</p>
<p class="fragment fade-in-then-semi-out">fade-in-then-semi-out</p>
<p>Highlight <span class="fragment highlight-red">red</span> <span class="fragment highlight-blue">blue</span> <span class="fragment highlight-green">green</span></p>
<p class="fragment fade-in-then-out">make real</p>
<p class="fragment fade-in-then-semi-out">desired reality</p>
<p>Levels : <span class="fragment highlight-red">red</span> <span class="fragment highlight-blue">blue</span> <span class="fragment highlight-green">green</span></p>
</section>
</section>
<!--
<section id="transitions">
<h2>Transition Styles</h2>
@ -257,12 +256,13 @@
<a href="?transition=zoom#/transitions">Zoom</a>
</p>
</section>
-->
<!--
<section id="themes">
<h2>Themes</h2>
<p>
reveal.js comes with a few themes built in: <br>
<!-- Hacks to swap themes after the page has loaded. Not flexible and only intended for the reveal.js demo deck. -->
<a href="#" onclick="document.getElementById('theme').setAttribute('href','dist/theme/black.css'); return false;">Black (default)</a> -
<a href="#" onclick="document.getElementById('theme').setAttribute('href','dist/theme/white.css'); return false;">White</a> -
<a href="#" onclick="document.getElementById('theme').setAttribute('href','dist/theme/league.css'); return false;">League</a> -
@ -276,6 +276,8 @@
<a href="#" onclick="document.getElementById('theme').setAttribute('href','dist/theme/solarized.css'); return false;">Solarized</a>
</p>
</section>
-->
<!--
<section>
<section data-background="#dddddd">
@ -326,16 +328,17 @@
</p>
<pre><code class="hljs html" style="word-wrap: break-word;">&lt;section data-background-transition="zoom"&gt;</code></pre>
</section>
-->
<section data-background-iframe="https://hakim.se" data-background-interactive>
<section data-background-iframe="http://127.0.0.1:8080/ipfs/QmX6brV5BhhcgnCrR7ZR4igJia9CyRW7Kp6uWjeLkG1cmF" data-background-interactive>
<div style="position: absolute; width: 40%; right: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.5), 0 5px 25px rgba(0,0,0,0.2); background-color: rgba(0, 0, 0, 0.9); color: #fff; padding: 20px; font-size: 20px; text-align: left;">
<h2>Iframe Backgrounds</h2>
<p>Since reveal.js runs on the web, you can easily embed other web content. Try interacting with the page in the background.</p>
<h2>Interplanetary</h2>
<p>Since Astroport runs on IPFS, anyone can run his own Station.</p>
</div>
</section>
<section>
<h2>Marvelous List</h2>
<h2>Coucou</h2>
<ul>
<li>No order here</li>
<li>Or here</li>