Skip to content

Instantly share code, notes, and snippets.

Avatar

Janek Lasocki-Biczysko janeklb

View GitHub Profile
View Pretty Map Literals for Java 8
public class EZMap<T> {
public static void main(String[] args) {
Map<String,Object> m = hashMap(
bob -> 5,
TheGimp -> 8,
incredibleKoolAid -> "James Taylor",
heyArnold -> new Date()
);
System.out.println(m);
}
@ejhayes
ejhayes / README.md
Created Jun 6, 2012
Debugging Hubot Scripts using Node Inspector
View README.md

About

Use node-inspector to debug hubot!

sudo npm install -g node-inspector

Run Hubot in Debug Mode

coffee --nodejs --debug $(which hubot)