Author: anyone
Published: anyone.eu.org
Version: 1.0
Date: February 2026
Verification Token: 937680 cf5a 74
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # Place this script into public-peers/scripts/select.sh | |
| # chmod a+x public-peers/scripts/select.sh | |
| # Run: cd public-peers/scripts; ./select.sh | |
| PING=ping | |
| printem() { | |
| find .. -mindepth 2 -type f -name '*.md' \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| BLD=$HOME/.bitcoin/blocks | |
| OUT=$HOME/bitcoin-torrent-out | |
| WH=$HOME/bitcoin-torrent | |
| procdir() { | |
| test -n "$1" || return 1 | |
| newdir=${part} | |
| ls $* >/dev/null 2>&1 \ |
Find the transaction you want to get rid of:
listunspent
Note the "address" (for later), "txid" and "vout" lines.
createrawtransaction \
'[{"txid": "THE_TXID", "vout": VOUT}]' \
'[{ "tb1qryakg74re8an5yc99nsznj4f7t94rghk6m986l": 0}]'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define _GNU_SOURCE | |
| #include <stdlib.h> | |
| #include <fcntl.h> | |
| #include <stdio.h> | |
| #include <getopt.h> | |
| #include <stddef.h> | |
| #include <stdbool.h> | |
| #include <stdarg.h> | |
| #include <errno.h> | |
| #include <unistd.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh -x | |
| PL=1500 | |
| myping() { | |
| ping -c1 -w1 -W1 -nM do -s$1 jasan.tk >/dev/null 2>&1 | |
| } | |
| until myping $PL; do PL=$(($PL-10)); done | |
| while PL=$((PL+2)); myping $PL; do : ; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| #Source : http://www.linoxide.com/linux-shell-script/linux-memory-usage-program/ | |
| #Parent : http://www.linoxide.com/guide/scripts-pdf.html | |
| tabw=8 | |
| mark=40 | |
| test $(id -u) -eq 0 || { | |
| echo "This script must be run as root" 1>&2 | |
| exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for i in $(seq $#) | |
| do | |
| ARGS="$ARGS \"$(eval $(echo echo \$$i))\"" | |
| done | |
| echo $ARGS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export PATH=/usr/local/musl/bin:$PATH | |
| sed -i bck 's/configure --disable-shared $PCRE_CONF_OPT/configure --disable-shared --disable-cpp $PCRE_CONF_OPT/' auto/lib/pcre/make | |
| ./configure --with-cc="musl-gcc" --with-ld-opt="-static" --with-pcre=$HOME/pcre-8.39 --with-http_v2_module --with-openssl=$HOME/openssl-1.0.2j --without-http_scgi_module --without-http_uwsgi_module --without-http_fastcgi_module |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| DEV=$(ip route list | sed -n '/^default/s/.*dev \(\S\+\).*/\1/p') | |
| IP=$(ip route list | sed -n '/^default/s/.*src \(\S\+\).*/\1/p') | |
| ip address list dev $DEV | grep -m1 -o "$IP/[0-9]\+" |
NewerOlder