Skip to content

Instantly share code, notes, and snippets.

💭
BUIDL

BT nolim1t

💭
BUIDL
Block or report user

Report or block nolim1t

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View i_can_haz_bitrefill.md

Command to check if we can route to bitrefill

See if we can send 100k sats to bitrefill

lncli queryroutes 024a2e265cd66066b78a788ae615acdc84b5b0dec9efac36d7ac87513015eaf6ed 100000

View meeDamian-lnd.txt
lnbc1u1pwq09mrpp5dm4aqyl0ssxedj4zlazj00tr0hl2tg99jpy5arvwh8g205jxdqtqdqdgphx7mrfd5chgcqzysxqyz5vqrzjqw06a7nngcvh7ynctv7m450k782lwzuehrngjz0aa26jmd3g3pdy5zrdcqqqvqcqqqqqqqlgqqqqqeqqjq99r5pcypkww8uqj6h3456txg64ykpn6yrndnyxa6276xanuuzgtqf95nc6vfdejxtlnvdfjlmdv6uf3983tnm9zugf4axdexx9ht5hsqsf90c6
@nolim1t
nolim1t / applepi.txt
Last active Nov 27, 2018
Raspberry PI Stats (updated at: 2018-11-28 06:00:03 +0700)
View applepi.txt
IP Address: 192.168.1.112 / 7f3a5pe6i52wngsi.onion (2018-11-28 06:00:03 +0700 / 1543359603)
Bitcoind: gz2rvbiajvkmzg5c.onion
@nolim1t
nolim1t / example-ln-invoice-output.txt
Last active Apr 25, 2018
Creating Lightning Invoices by CLI
View example-ln-invoice-output.txt
{
"payment_hash": "7c36d743c39d626b4202b694585763ec6e114f8174582c10f2d2bd6aeb683fa6",
"expiry_time": 1524799298,
"expires_at": 1524799298,
"bolt11": "lntb10p1pddlazzpp50smdws7rn43xksszk629s4mra3hpznupw3vzcy8j627k46mg87nqdp0d9h8vv3jyqczuvpsxys8xct5daeks6tnypek6ctvd3jhxaqxqy9gcqcqp22ah52w0xdem5t8s8dy8efr5lkd6e75ru7mp3vrygzyqx684qq6yz7nehxsvm98pwpadggr6eyd8txswuc4u86xsxlja7l480kt8pvqcp4eafcs"
}
@nolim1t
nolim1t / lightningd-cli-stuff.sh
Last active May 9, 2018
bitcoind command line stuff
View lightningd-cli-stuff.sh
# 550 MB blockchain (8332 for live 18332 for test)
# Useful for VPS https://gist.github.com/laanwj/efe29c7661ce9b6620a7
#swap size
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
# /etc/fstab
# /swapfile none swap sw 0 0
@nolim1t
nolim1t / generate.js
Created Oct 8, 2017
Generate Monero Payment ID
View generate.js
var crypto = require("crypto");
var ts = new Date().getTime();
var seed1 = crypto.createHash("md5").update(ts.toString()).digest("hex").toString();
var seed2 = crypto.createHash("md5").update((ts - 1337).toString()).digest("hex").toString();
console.log(seed1 + seed2);
@nolim1t
nolim1t / unicode-variables.rb
Last active May 3, 2017
Unicode variables which work
View unicode-variables.rb
def สวัสดี
"hello world"
end
กรุณา = "sudo"
@nolim1t
nolim1t / gist:1d0882639e7cb6c2ceee79a582bdb8fb
Created Apr 3, 2017
Javascript Sorting 3 (Sorting messages by date and then group by recipient)
View gist:1d0882639e7cb6c2ceee79a582bdb8fb
var unsorted = [
{
recipient: "b",
timestamp: 1490591976873,
title: "Hello World 3"
},
{
recipient: "a",
timestamp: 1490591722787,
title: "Hello World"
@nolim1t
nolim1t / package.json
Last active Mar 8, 2017
5 Steps (Maybe 6 steps) to creating or updating a file on github using the API - Refer to http://www.nolim1t.co/2017/03/08/uploading-to-github-through-the-API.html
View package.json
{
"name": "github-text-updater",
"version": "1.0.0",
"description": "",
"main": "upload.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
@nolim1t
nolim1t / gist:252dec192734047d3c9a6097050184a2
Created Feb 23, 2017
Getting latest blockstack installed on macOS 10.11 (El Capitan)
View gist:252dec192734047d3c9a6097050184a2
# Pre-requisites: You got homebrew installed
# Remove all copies of openssl
brew uninstall --force openssl
# Set up environment
export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include
export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib
LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography --upgrade
You can’t perform that action at this time.