Skip to content

Instantly share code, notes, and snippets.

View x1B's full-sized avatar

Michael Kurze x1B

View GitHub Profile

ATOM, yo!

These are the atom sync settings of x1b

@x1B
x1B / node-trace-open.sh
Created April 14, 2011 09:30
Add file:// links to Node.JS stack traces.
#! /bin/sh
sed -E -e 's_[(]?(/[^:]*/([^ ]*)):([0-9]+):([0-9]*)[)]?_[\2:\3:\4] file://\1_g'
@x1B
x1B / node-trace-mvim.sh
Created April 14, 2011 09:23
Add Macvim links to Node.JS stacktraces
#! /bin/sh
sed -E -e 's_[(]?(/[^:]*/([^ ]*)):([0-9]+):([0-9]*)[)]?_[\2:\3:\4] mvim://open/?url=file://\1\&line=\3\&column=\4_g'
@x1B
x1B / node-trace-txmt.sh
Created April 14, 2011 09:20
Add textmate links to Node.JS stacktraces.
#! /bin/sh
sed -E -e 's_[(]?(/[^:]*/([^ ]*)):([0-9]+):([0-9]*)[)]?_[\2:\3:\4] txmt://open/?url=file://\1\&line=\3\&column=\4_g'