Quantcast
Channel: Recent Gists from 84adam
Browsing latest articles
Browse All 34 View Live
↧

Green $PS1 with $USD bitcoin price from wink.sh

$PS1 with BTC price from wink.sh This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that...

View Article


Calculate rounded percentage in bash using bc

gistfile1.txt This file contains 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...

View Article


codeacademy CSS L8

composer-install.sh This file contains 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...

View Article

Create new sudo user; disable root login via SSH

noroot-ssh.txt This file contains 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...

View Article

Plot BTC Market Cap Weekly EMAs

btc-mc-EMA-plot.py This file contains 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...

View Article


Vim configuration

.vimrc This file contains 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...

View Article

Extract text from PDF files

pdf_text.py This file contains 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...

View Article

Extract text from a PDF given its URL

pdf_url_text.py This file contains 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...

View Article


ssh_vim_bash_SETUP

ssh_vim_bash_SETUP.mdno root sshCreate a new non-root user, follow the prompts: # adduser <new-username>Give sudo permissions to the new user: # usermod -aG sudo <new-username>Check groups...

View Article


Convert between bitcoin public key types: xpub/ypub/zpub

convert_xyz_pub.py This file contains 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...

View Article

My collection of bitcoin-related RSS newsfeeds.

AA-Bitcoin-RSS-Feeds.opml This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals...

View Article

keybase.md

keybase.mdKeybase proofI hereby claim:I am 84adam on github.I am bc1984adam (https://keybase.io/bc1984adam) on keybase.I have a public key ASDrUT8jKjB08T4GWNscufRGcL8f3n_OwmDxfHfcK8LLRgoTo claim this,...

View Article

Python Systemd Daemon Example

python-systemd-daemon-example.mdCreate a program in pythonExample: x.py prints out increasingly large random numbers, once per second:import math from random import randint from time import sleep t = 0...

View Article


5Y5Y-inflation-swaps.py

5Y5Y-inflation-swaps.py This file contains 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...

View Article

Apply a function to one column and assign the output to two pandas dataframe...

pandas-one-in-two-out-apply.py This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals...

View Article


Known Public Neutrino-Enabled Bitcoin Full Nodes

neutrino-bitcoin-nodes.md[Application Options] feeurl=https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json [Bitcoin] bitcoin.active=1 bitcoin.mainnet=1 bitcoin.node=neutrino [neutrino]...

View Article

Monitor Esplora/Electrs compaction process

progress-compaction.sh This file contains 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...

View Article


Simple Go Website

main.go This file contains 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...

View Article

Python Clean Code Tips & Tools

tips.txt This file contains 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...

View Article

Calculate future bitcoin supply and inflation

bitcoin-inflation.py This file contains 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...

View Article

i2pd.service: control/unit file, systemd service definition

i2pd.service This file contains 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...

View Article


PostgreSQL: format multiple columns into string for each row using a...

postgres-separators.txt This file contains 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...

View Article


Decode Keys/Values from Postgres LND Database

lnd-postgres-kv-decoder.py This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals...

View Article

bcrypt/argon2/pbkdf2 hash test -- target a work factor that requires at least...

bcrypt-argon2-pbkdf2-hash-test.py This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that...

View Article

Bash-C Hello World: Compile and run a C program from a single Bash script

bash_c_example.sh This file contains 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...

View Article


check namespaces plus associated processes and users

check-namespaces.sh This file contains 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...

View Article

Go WASM Hello World - Debian/x86

go-wasm-hello-world.sh This file contains 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...

View Article

Password Entropy Calculator: Go + WASM (Debian/x86) -- Bash Deployment Script

password-entropy.sh This file contains 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...

View Article

Open WebUI + Ollama + DeepSeek-R1-Distill-Qwen-1.5B

gistfile1.txt This file contains 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...

View Article



Install JDK 23.0.2 and Gradle 8.10.2 on Linux (x86_64, apt or dnf)

install-java-gradle.sh This file contains 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...

View Article
Browsing latest articles
Browse All 34 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>