Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View rjmacarthy's full-sized avatar
🎮
The Tetris effect

rjmacarthy rjmacarthy

🎮
The Tetris effect
View GitHub Profile
@rjmacarthy
rjmacarthy / callapply
Created February 4, 2015 17:32
Call and Apply Javascript
http://jsfiddle.net/ejd0g5ms/
@rjmacarthy
rjmacarthy / jasmine
Last active August 29, 2015 14:15
Jasmine Playground
http://jsfiddle.net/wzAyL/260/
@rjmacarthy
rjmacarthy / moment
Last active August 29, 2015 14:17
Moment date
http://jsfiddle.net/0Ltv25o8/514/
http://jsfiddle.net/0Ltv25o8/515/
http://jsfiddle.net/0Ltv25o8/520/
// Momentus
http://jsfiddle.net/0Ltv25o8/523/
@rjmacarthy
rjmacarthy / StringSearcher
Last active August 29, 2015 14:18
String Searcher
https://jsfiddle.net/xar2g42r/1/
@rjmacarthy
rjmacarthy / prorotypeBorrow
Created April 9, 2015 16:11
Array Prototype Borrow
https://jsfiddle.net/gmnb76km/
@rjmacarthy
rjmacarthy / knockout fiddle
Last active August 29, 2015 14:18
Pure Knockout Fiddle
https://jsfiddle.net/xggu9Lv2/4/
@rjmacarthy
rjmacarthy / bundle-command
Created April 16, 2015 09:59
Knockout Browserify
browserify app.js -o bundle.js
@rjmacarthy
rjmacarthy / Client.js
Last active October 13, 2015 05:26
Sails.js Socket.io Configuration
socket = io.connect();
socket.on('connect', function socketConnected() {
socket.on('sockets', function newMessageFromSails ( data ) {
console.log(data); // Data from socket
});
});
@rjmacarthy
rjmacarthy / 2of3.js
Last active August 29, 2015 14:19
Bitcoin 2 of 3 Multisig Address Node.js
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);
}
@rjmacarthy
rjmacarthy / bitcoind-ubuntu-install
Last active April 14, 2024 16:11
Install Bitcoind Ubuntu
** Add repository and install bitcoind **
sudo apt-get install build-essential
sudo apt-get install libtool autotools-dev autoconf
sudo apt-get install libssl-dev
sudo apt-get install libboost-all-dev
sudo add-apt-repository ppa:luke-jr/bitcoincore
sudo apt-get update
sudo apt-get install bitcoind
mkdir ~/.bitcoin/ && cd ~/.bitcoin/