Skip to content

Instantly share code, notes, and snippets.

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

rj rjmacarthy

🐁
The Tetris effect
  • The Wilderness
  • 17:30 (UTC +01:00)
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 / d3-bar-chart
Created July 22, 2015 12:17
D3 Bar Chart
http://jsfiddle.net/Qh9X5/5726/