Skip to content

Instantly share code, notes, and snippets.

View orweinberger's full-sized avatar

Or Weinberger orweinberger

View GitHub Profile
var tx = new bitcoin.TransactionBuilder();
console.log(key.pub.getAddress().toString()); //The above should output: 17hFoVScNKVDfDTT6vVhjYwvCu6iDEiXC4
var key = bitcoin.ECKey.fromWIF("L1Kzcyy88LyckShYdvoLFg1FYpB5ce1JmTYtieHrhkN65GhVoq73");
var bitcoin = require('bitcoinjs-lib');
var insight = require('insight-api');
@orweinberger
orweinberger / keybase.md
Created September 23, 2014 12:39
keybase.md

Keybase proof

I hereby claim:

  • I am orweinberger on github.
  • I am orweinberger (https://keybase.io/orweinberger) on keybase.
  • I have a public key whose fingerprint is BAE5 9C9A AA7B A487 F99D 19EC AFE2 5EC6 4146 9280

To claim this, I am signing this object:

@orweinberger
orweinberger / default.conf
Last active August 29, 2015 14:01
nginx config
server {
listen 80;
server_name example.com www.example.com;
access_log /var/log/nginx/example.access.log;
rewrite ^ https://$server_name$request_uri? permanent;
location / {
proxy_pass http://127.0.0.1:8080/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
/*------------------------------------------------------------------
Project: Paperclip
Author: Yevgeny S.
URL: https://twitter.com/YevSim
Version: 1.0
Created: 11/03/2014
Last change: 01/04/2014
-------------------------------------------------------------------*/
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
html {
doctype html
html
head
meta(charset="utf-8")
meta(name="viewport", content="width=device-width, initial-scale=1")
meta(name="description", content="")
meta(name="author", content="")
link(rel="shortcut icon", href="ico/favicon.ico")
title #{pageTitle}
link(href="css/bootstrap.min.css", rel="stylesheet")