Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Destablizing Authoritarian governments to ₿UIDL ₿ack ₿etter

nolim1t - f6287b82CC84bcbd nolim1t

💭
Destablizing Authoritarian governments to ₿UIDL ₿ack ₿etter
View GitHub Profile
View satsback-draw.sh
#!/bin/bash
getArray() {
array=()
while IFS= read -r line
do
array+=("$line")
done < "$1"
}
View whatisthematrix.sh
while :;do echo $LINES $COLUMNS $(($RANDOM%$COLUMNS)) $(perl -CO -E "say chr $(($RANDOM%99+180))");sleep .02;done|gawk '{a[$3]=0;for(x in a){o=a[x];a[x]++;printf "\033[%s;%sH\033[2;32m%s",o,x,$4;printf "\033[%s;%sH\033[1;37m%s\033[0;0H",a[x],x,$4;if(a[x]>$1)a[x]=0;}}'
@nolim1t
nolim1t / nginx-vhost.conf
Created Dec 15, 2021
Regex based forwarding for nginx
View nginx-vhost.conf
server {
# match all requests
location ~ ^(.*)$ {
# send headers to client
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
# forward to below
proxy_pass http://localhost:12345;
}
# listen on ports
@nolim1t
nolim1t / joinmarket-cli-install.md
Created Aug 15, 2021
CLI Joinmarket (Modified for joinmarket base)
@nolim1t
nolim1t / node-backup.sh
Created Jul 28, 2021
best used with github.com/lncm/thebox-compose-system (or probably citadel node which uses the same structure. May also work with umbrel too)
View node-backup.sh
#!/bin/bash
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
View specter-data.asc
-----BEGIN PGP MESSAGE-----
hQIMAy4nqL99ScBtAQ//TtyCIqwc+wdF8hmRPKU5dwvQDcqAglRcV2qOTAOdJxIT
aG03zyBPINhMY+HSnwTZt4TNLWpX1qTvwyU6cB3XKN8lLnxBuFaTDIu2DHPrKUup
0d31EzDv3sLfUXpElqxddZ/6UHHBdCcujsVTu7jHdQb8mDtrZMoRJ5q42QwKsd25
f9+JTt9hs2nmgU6vUihDOeLQm6x6kh6Op6/qQs7VmLGhEzZ+7ZYxtlUuMBdtmBMY
ippdaJXvptLxXbul0h88inq72vv1y9bh4jg5SS/jC2MQYyHiTnrvUvFONM4OqTqj
MQ6twApFnfLUQRsihmlI5novUymXwgPLLMJDpy0MYrRZ8DEtj/y6yoZZ5W+Mutvb
yyq1A76Me9TzraUVi1Ubyp+RqTSxCYl8GjEmhN0JLOoUep7Z12C43JtQZUAozPzL
BxIwWGX0xM0t5bTRCfbM/Bv00F8FsvxIut/LS9rHz42Y3ocvqqtPhqru27oH5v1l
View feeurl-format-lnd.md

lnd.conf entry

feeurl=https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json

feeurl format

{
View th-exchange-public-api.sh
# Weighted
curl "https://api.tdax.com/api/v3/ticker/24hr?symbol=btc_thb" | jq .weightedAvgPrice
# Last ask price
curl "https://api.tdax.com/api/v3/ticker/24hr?symbol=btc_thb" | jq .askPrice
View muun.pdf.asc.txt
-----BEGIN PGP MESSAGE-----
hQILA2n3eMMY0Vi9AQ/3ZSmElcdvIHYwxVbIs6A8WbW1G/MNYAebyOjWR3nOuVkj
S3lSMc8XucoMdVhQMgAanNmHigMwr4EVlwuQJ0pVUXgLdAddv/9JA5CYoJXwPp3p
ljFRCZSp+y1suXrDMIbe98oktAxS6DR1cF9mkcdpcw+MTl6f2riuFZg1D35BpUTo
0GLApKUVGyUDBL9itAAxg4Yah7/C3pJHnHOxAlxmwxaqDUCzdxf4NnpENN4krIum
x9LxBsPMikGKfWItgieHKuCpsxH+qj3G4yRLiqdW5ioGsPP6FJ0eQ816w34ME7mU
jTL2cwTpcEm4/ZDQ0q61bbaqoZPyzC3rI3QKA5EhnOlVSPP3St8iIb3Jao4OSfje
HSb4hj/WqaRjjCE2qfObqco9zEPwAC15FqFLO/IxkqwajsUv6df47vNJEAXj272r
MfWSO1pOu9cYX37NOB7YKbqbl4IZ2BrWzVjZM2JAx7NVpfTqjFGBO8ZcHqGTmFNA
View proof-of-profile.txt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I am the owner of the following profiles:
Matrix
@nolim1t:tedomum.net
@nolim1t:matrix.nolim1t.co (Because sovereignty rocks!)
@nolim1t:converser.eu (Because decentralization - currently down)
@nolim1t:matrix.org (OG account, but I've deleted it)