Skip to content

Instantly share code, notes, and snippets.

@hunanboy
hunanboy / install_bitcoin.sh
Last active July 17, 2019 11:19
Install Bitcoin Node (CentOS 7)
#!/bin/bash
# WARNING: 1G size ram won't work! Bitcoin "make" consumes lots of ram. Add swap first: https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-centos-7
# Adapted from: https://www.ndchost.com/wiki/how-to-install-bitcoin-on-centos-7
BITCOIN_TAG="v0.16.1"
# Install the EPEL repository
sudo yum install -y epel-release
@hunanboy
hunanboy / controllerSpec.coffee
Last active August 29, 2015 14:04 — forked from alexeygolev/controllerSpec.coffee
Jasmine test spec for AngularJS official tutorial in JavaScript
'use strict';
/* jasmine specs for controllers go here */
describe('PhoneCat controllers', function() {
describe('PhoneListCtrl', function($controller){
var scope, ctrl;
beforeEach(module('phonecatApp'));