This file contains hidden or 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
#!/bin/sh | |
/srv/letsencrypt/letsencrypt-auto certonly --webroot -w /srv/blog.barthe.ph/www -d blog.barthe.ph --renew-by-default --agree-tos | |
service nginx reload |
This file contains hidden or 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
/// <reference path="../lib/node.d.ts"/> | |
/// <reference path="../lib/underscore.d.ts"/> | |
/// <reference path="../lib/node-fibers.d.ts"/> | |
/** | |
* A quick and dirty script written in TypeScript, using node.js and the Blockchain.info API, | |
* to compute the balance of a Bitcoin wallet file. It supports encrypted wallets as well. | |
* The script goes through all the addresses from the internal key pool, ask blochain.info | |
* for the balance, and sum it all up. | |
* @author Aymeric Barthe |