Skip to content

Instantly share code, notes, and snippets.

View nolim1t's full-sized avatar
💭
Destablizing Authoritarian governments to ₿UIDL ₿ack ₿etter

nolim1t - f6287b82CC84bcbd nolim1t

💭
Destablizing Authoritarian governments to ₿UIDL ₿ack ₿etter
View GitHub Profile
@nolim1t
nolim1t / bitcoin.conf
Created November 24, 2019 14:39
My bitcoin conf works on 0.19.0.1 (Release Notes: https://bitcoin.org/en/release/v0.19.0.1)
server=1
rest=1
rpcallowip=127.0.0.1
rpcallowip=192.168.0.1/24
rpcallowip=192.168.1.1/24
rpcallowip=10.0.0.0/8
rpcallowip=172.16.0.0/12
maxmempool=512
#txindex=1
#!/usr/bin/env python
#
# Electrum - lightweight Bitcoin client
# Copyright (C) 2011 thomasv@gitorious
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#

Command to check if we can route to bitrefill

See if we can send 100k sats to bitrefill

lncli queryroutes 024a2e265cd66066b78a788ae615acdc84b5b0dec9efac36d7ac87513015eaf6ed 100000

@nolim1t
nolim1t / meeDamian-lnd.txt
Created December 5, 2018 09:18
meeDamian-lnd
lnbc1u1pwq09mrpp5dm4aqyl0ssxedj4zlazj00tr0hl2tg99jpy5arvwh8g205jxdqtqdqdgphx7mrfd5chgcqzysxqyz5vqrzjqw06a7nngcvh7ynctv7m450k782lwzuehrngjz0aa26jmd3g3pdy5zrdcqqqvqcqqqqqqqlgqqqqqeqqjq99r5pcypkww8uqj6h3456txg64ykpn6yrndnyxa6276xanuuzgtqf95nc6vfdejxtlnvdfjlmdv6uf3983tnm9zugf4axdexx9ht5hsqsf90c6
@nolim1t
nolim1t / applepi.txt
Last active November 27, 2018 23:00
Raspberry PI Stats (updated at: 2018-11-28 06:00:03 +0700)
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 April 25, 2018 03:25
Creating Lightning Invoices by CLI
{
"payment_hash": "7c36d743c39d626b4202b694585763ec6e114f8174582c10f2d2bd6aeb683fa6",
"expiry_time": 1524799298,
"expires_at": 1524799298,
"bolt11": "lntb10p1pddlazzpp50smdws7rn43xksszk629s4mra3hpznupw3vzcy8j627k46mg87nqdp0d9h8vv3jyqczuvpsxys8xct5daeks6tnypek6ctvd3jhxaqxqy9gcqcqp22ah52w0xdem5t8s8dy8efr5lkd6e75ru7mp3vrygzyqx684qq6yz7nehxsvm98pwpadggr6eyd8txswuc4u86xsxlja7l480kt8pvqcp4eafcs"
}
@nolim1t
nolim1t / lightningd-cli-stuff.sh
Last active May 9, 2018 10:41
bitcoind command line stuff
# 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 October 8, 2017 20:47
Generate Monero Payment ID
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 04:01
Unicode variables which work
def สวัสดี
"hello world"
end
กรุณา = "sudo"
@nolim1t
nolim1t / gist:1d0882639e7cb6c2ceee79a582bdb8fb
Created April 3, 2017 05:37
Javascript Sorting 3 (Sorting messages by date and then group by recipient)
var unsorted = [
{
recipient: "b",
timestamp: 1490591976873,
title: "Hello World 3"
},
{
recipient: "a",
timestamp: 1490591722787,
title: "Hello World"