Skip to content

Instantly share code, notes, and snippets.

View georgePadolsey's full-sized avatar
🎯
Focusing

George Padolsey georgePadolsey

🎯
Focusing
View GitHub Profile
The Infamous Hello World Program.
Romeo, a young man with a remarkable patience.
Juliet, a likewise young woman of remarkable grace.
Ophelia, a remarkable woman much in dispute with Hamlet.
Hamlet, the flatterer of Andersen Insulting A/S.
Act I: Hamlet's insults and flattery.
(function(){
var window,top,self,parent,global;
// How do you get the global object here?
// Used function constructor as smaller then defining like function() {}
var global = Function('return this')();
}).call({});
console.time('Program');
function getKeyPrint(data) {
data.forEach(function(word) {
console.log(word);
});
}
var fs = require('fs'),
carrier = require('carrier');
var hashes = [],
words = [];
carrier.carry(
fs.createReadStream('words', {
flags: 'r'
var fs = require('fs'),
carrier = require('carrier');
var lookup = {},
words = [];
console.time('program');
carrier.carry(
fs.createReadStream('words'),
@georgePadolsey
georgePadolsey / Valid.java
Created June 24, 2015 21:43
Valid java code
public class Test {
public static void main(String[] args) {
http://www.cakeiscool.com/
System.out.println("This runs :O");
}
}
### Keybase proof
I hereby claim:
* I am georgePadolsey on github.
* I am georgepadolsey (https://keybase.io/georgepadolsey) on keybase.
* I have a public key whose fingerprint is C019 29DD 1398 565C 7457 DD94 4BC5 B6E9 FEF4 5717
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am georgepadolsey on github.
* I am georgepadolsey (https://keybase.io/georgepadolsey) on keybase.
* I have a public key whose fingerprint is 1CA1 860F 2CDB E10D 453F 498B 3730 10A1 D3FA FCEF
To claim this, I am signing this object:
var bcrypt = require('bcrypt');
// Longer way
@EventHandler
public void PlayerInteract(PlayerInteractEvent e) {
// preliminary check right action type
if(e.getAction() != Action.RIGHT_CLICK_AIR &&
e.getAction() != Action.RIGHT_CLICK_BLOCK) {
//exit
return;
}