From 930354f3197c850aaa0ccff39c306b462b239965 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 10 Oct 2022 01:49:55 +0200 Subject: [PATCH] =?UTF-8?q?G1=20Extension.=20Astroport=20=C5=8A1=20explora?= =?UTF-8?q?tion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/G1Barre4Player.sh | 0 tools/gchange2tw.sh | 25 ------------------------- 2 files changed, 25 deletions(-) mode change 100644 => 100755 tools/G1Barre4Player.sh delete mode 100644 tools/gchange2tw.sh diff --git a/tools/G1Barre4Player.sh b/tools/G1Barre4Player.sh old mode 100644 new mode 100755 diff --git a/tools/gchange2tw.sh b/tools/gchange2tw.sh deleted file mode 100644 index c0e3b068..00000000 --- a/tools/gchange2tw.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -######################################################################## -# Version: 0.1 -# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/) -######################################################################## -MY_PATH="`dirname \"$0\"`" # relative -MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized -ME="${0##*/}" - -#################################### -#### HERE WE SCAN G1PUB GCHANGE ENV #### -# PART OF TW SYNCHRONIZATION # -#################################### -G1PUB="$1" - -## CHECK FOR KEY AVAILABLE -g1pubpath=$(grep $G1PUB ~/.zen/game/players/*/.g1pub | cut -d ':' -f 1 2>/dev/null) -PLAYER=$(echo "$g1pubpath" | rev | cut -d '/' -f 2 | rev 2>/dev/null) -[[ !$PLAYER ]] && echo "NO Astronaut Key Found. Please use 12345.sh to activate your ID on this gateway." && exit 1 -ASTRONAUTENS=$(ipfs key list -l | grep -w "$PLAYER" | cut -d ' ' -f 1) - -## Getting Gchange liking_me list -~/.zen/Astroport.ONE/tools/timeout.sh -t 20 ~/.zen/Astroport.ONE/tools/jaklis/jaklis.py -k ~/.zen/game/players/$PLAYER/secret.dunikey -n "https://data.gchange.fr" stars | jq -r '.likes[].issuer' | uniq > ~/.zen/tmp/liking_me - -