Skip to content

Instantly share code, notes, and snippets.

💭
BUIDL blockchain stuff and devops automation

BT nolim1t

💭
BUIDL blockchain stuff and devops automation
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
@nolim1t
nolim1t / tokenmint.sol
Created Dec 3, 2019
Sample Token from tokenmint.io
View tokenmint.sol
/**
*Submitted for verification at Etherscan.io on 2019-02-06
*/
pragma solidity ^0.4.24;
// File: node_modules/openzeppelin-solidity/contracts/token/ERC20/IERC20.sol
/**
* @title ERC20 interface
@nolim1t
nolim1t / bitcoin.conf
Created Nov 24, 2019
My bitcoin conf works on 0.19.0.1 (Release Notes: https://bitcoin.org/en/release/v0.19.0.1)
View bitcoin.conf
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
View mnemonic.py
#!/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.
#
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"
You can’t perform that action at this time.