Skip to content

Instantly share code, notes, and snippets.

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

richy rjmacarthy

🎮
The Tetris effect
View GitHub Profile
@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 / 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 / d3-bar-chart
Created July 22, 2015 12:17
D3 Bar Chart
http://jsfiddle.net/Qh9X5/5726/
@rjmacarthy
rjmacarthy / expressgeneratorstart
Last active August 31, 2015 13:08
Start express generator
Windows
-------
DEBUG=appname:* npm start
Linux
-------
Terminal 1
node-inspector
@rjmacarthy
rjmacarthy / vpn
Created September 8, 2015 09:18
IPsec VPN
http://sourceforge.net/projects/l2tp-ipsec-vpn/files/l2tp-ipsec-vpn/1.0.9/
@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
});
});