Published as BIP 103
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
var os = require('os'); | |
var util = require('util'); | |
var Promise = require('promise'); | |
var WebSocketClient = require('websocket').w3cwebsocket; | |
var macaddress = require('macaddress'); | |
var dgram = require('dgram'); | |
var ip = require('ip'); | |
/** |
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
# also have a look at the nice Takecharge Server: https://github.com/controlshift/prague-server and its BOP70 implementation this is based on | |
class PaymentRequest | |
def initialize(options) | |
@options = options | |
output = create_output | |
details = create_payment_details(output) | |
@payment_request = Payments::PaymentRequest.new |
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
require 'Nokogiri' | |
require 'open-uri' | |
@doc = Nokogiri::HTML(open('http://www.vivotransfer.com/')) | |
@content = @doc.xpath('//p[@class = "valor"]').text | |
puts @content # => *R$ 5.550 | |
puts @content.scan(/\d/).join # => 5550 |
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
// Copie e cole este codigo no campo console do seu firefox | |
window.username = '---'; | |
function nameClicked(event){ | |
window.username = event.target.textContent; | |
} | |
function highlightName(){ | |
let s = new RegExp(window.username); | |
for (e of $$(".order-book-username")){ |
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
#!/usr/bin/env python | |
import hashlib | |
import hmac | |
import time | |
import requests | |
import datetime | |
# Q. Do you have A Websocket API? | |
# A. Yes, and we strongly recommend you to use it. Please, check our JavaScript websocket implementation for our WebSocket API here: | |
# https://github.com/blinktrade/frontend/blob/master/jsdev/bitex/api/bitex.js |
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
var privateKeys = []; | |
var publicKeys = []; | |
var privKeysStr = []; | |
for (var i = 0; i < 3; i++) { | |
var privateKey = new bitcore.PrivateKey(); | |
privKeysStr.push(privateKey.toString()); | |
privateKeys.push(privateKey); | |
} |
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
package main | |
import ( | |
"bytes" | |
"encoding/hex" | |
"encoding/json" | |
"io/ioutil" | |
"log" | |
"net/http" |
- http://techcrunch.com/2014/10/25/bitcoin-2-0-sidechains-and-zerocash-and-ethereum-oh-my/
- https://www.darkwallet.is/
- https://stallman.org/rms-lifestyle.html
- http://www.vivirsinempleo.org/2014/10/faircoop-y-su-moneda-faircoin-partir-de.html
- https://lists.dyne.org/lurker/mindex/unsystem@20380101.000000.00000000.en.html
- http://es.wikipedia.org/wiki/Gentrificaci%C3%B3n
- http://en.wikipedia.org/wiki/Vitalik_Buterin
- http://www.theguardian.com/cities/2014/aug/18/santiago-cirugeda-guerrilla-architect-spain-seville-financial-crisis
- http://socialphysics.media.mit.edu/
- http://bluemove.es/es
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
{- | |
- Haskell experiment with functional reactive programming game engine Helm. | |
- just a basic square with x position and speed property, translating on the x axis. | |
- | |
- run: | |
- ghc translate.hs | |
- ./translate | |
-} | |
module Main where |
NewerOlder