git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
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
diff --git a/client/code/app/Models/User.js b/client/code/app/Models/User.js | |
index 2caaeb3..f003bf2 100644 | |
--- a/client/code/app/Models/User.js | |
+++ b/client/code/app/Models/User.js | |
@@ -4,7 +4,7 @@ var PriceData = Backbone.Model.extend({ //this model keeps a current record of p | |
var self = this | |
- self.sources = ['bitstamp', 'bitpay', 'coindesk', 'bitcoinaverage'] | |
+ self.sources = ['bitstamp', 'bitpay', 'coindesk', 'bitcoinaverage', 'coinapult'] |
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
{ | |
"exchanges": { | |
"plugins": { | |
"current": {"transfer": "coinapult"}, | |
"settings": {"coinapult": {}} | |
} | |
} | |
} |
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 sys | |
from string import maketrans | |
trans = maketrans( | |
'ABCDEFGHIJKLMNOPQRSTUVWXYZ', | |
'22233344455566677778889999' | |
) | |
num = int(sys.stdin.next()) | |
for line in sys.stdin: |
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
test |
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
<html> | |
<head> | |
<script src="https://cdn.jsdelivr.net/sockjs/0.3.4/sockjs.min.js"></script> | |
</head> | |
<body> | |
<p>Index: <span id="index">-</span></p> | |
<p>Last Update: <span id="when">never</span></p> | |
<script> | |
var sock = new SockJS('https://stream.coinapult.com:8123'); |
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 base64 import b64decode, b64encode | |
from cryptography.hazmat.primitives import hashes | |
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes | |
from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC | |
from cryptography.hazmat.backends import default_backend | |
_BACKEND = default_backend() |