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 characters.
Learn more about bidirectional Unicode characters
use futures_util::stream; | |
use rand::rngs::ThreadRng; | |
use rand::Rng; | |
// This program connects to LND and prints out all intercepted htlc's as they settle. | |
// This program accepts four arguments: host, port, cert file, macaroon file | |
#[tokio::main] | |
async fn main() { | |
let mut args = std::env::args_os(); |
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 characters.
Learn more about bidirectional Unicode characters
import os | |
from ecpy.ecschnorr import ECSchnorr | |
from ecpy.curves import Curve,Point | |
from ecpy.keys import ECPublicKey, ECPrivateKey | |
from ecpy.formatters import decode_sig, encode_sig, list_formats | |
from ecpy import ecrand | |
from ecpy.curves import ECPyException |
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 characters.
Learn more about bidirectional Unicode characters
https://martin.kleppmann.com/2015/05/11/please-stop-calling-databases-cp-or-ap.html |
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 characters.
Learn more about bidirectional Unicode characters
http://fn-code.blogspot.com/2015/04/predator-prey-modeling-in-clojure.html |
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 characters.
Learn more about bidirectional Unicode characters
http://cleverlytitled.blogspot.com/2010/01/dynamic-dispatch-in-scala.html |
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 characters.
Learn more about bidirectional Unicode characters
## Get the SID | |
curl 'https://www.google.com/finance/qs/channel?VER=8&RID=40689&CVER=1&zx=f0u709om2rkm&t=1' -H 'Referer: https://www.google.com/finance/_/js/a/b/rt=h/ver=2gMDYVmDK2c.en_US./am=!vutE9fCSVdws1JA_/d=0' -H 'Origin: https://www.google.com' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.125 Safari/537.36' -H 'Content-Type: application/x-www-form-urlencoded' --data 'count=0' --compressed | |
## Get the stream channel | |
curl 'https://www.google.com/finance/qs/channel?VER=8&RID=rpc&SID=F2431585066298B&CI=0&AID=0&TYPE=xmlhttp&zx=9xroy71am1r&t=1' -H 'Referer: https://www.google.com/finance/_/js/a/b/rt=h/ver=2gMDYVmDK2c.en_US./am=!vutE9fCSVdws1JA_/d=0' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.125 Safari/537.36' --compressed |
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 characters.
Learn more about bidirectional Unicode characters
https://github.com/clojure/core.logic/wiki/A-Core.logic-Primer | |
https://github.com/swannodette/logic-tutorial | |
https://github.com/clojure/core.logic/wiki/Examples | |
http://tgk.github.io/2012/08/finding-cliques-in-graphs-using-core-logic.html | |
http://martinsprogrammingblog.blogspot.com/2012/09/some-corelogic-graph-code.html |
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 characters.
Learn more about bidirectional Unicode characters
http://decomplecting.org/blog/2014/10/29/reify-this/ |
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 characters.
Learn more about bidirectional Unicode characters
http://www.cs.toronto.edu/~ilya/pubs/2011/LANG-RNN.pdf |
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 characters.
Learn more about bidirectional Unicode characters
http://karpathy.github.io/2015/05/21/rnn-effectiveness/ |
NewerOlder