Skip to content

Instantly share code, notes, and snippets.

$ ssh -D 0.0.0.0:5555 user@server.whatever
@luk-
luk- / repourl.sh
Created March 5, 2013 04:26
view repo url and copy to clipboard
function repourl () { npm view $1 repository.url | tee >(pbcopy) ; }
@luk-
luk- / levelup.md
Last active December 14, 2015 09:59
NodeUp LevelDB

People

  • dominictarr
  • Raynos
  • forestwizard
  • rvagg
  • hij1nx

Topics

@luk-
luk- / .lev
Created February 26, 2013 01:23
luke ~ $ cat .lev
{
"format": true
}
@luk-
luk- / gist:4963207
Created February 15, 2013 20:16
Weirdest recruiter email I've ever gotten.

Naturally, you love JavaScript.

We know that the modern JavaScript world is exponentially more vast and rich than even 4 years ago. Just to help orient us: you know the names and github handles of people like Holowaychuk, Ashkenas, Osmani, Zakas, Rauch, Sharp, Irish (you get the idea).

You have built with application frameworks such as Angular or Backbone. You have built with jQuery (you will have made many ad hoc plugins), JQueryUI (you will have composited controls into larger compositions), Twitter Bootstrap (you like it), or similar.

You can swim in the Node eco-system (beginning with npm, express, connect, socket.io, mocha, etc). You may have filed github issues and discussed them with TJ or Ryan.

  • You considered legally changing your middle name to JSON.
  • On a recent project you made heavy use of data grids such as DataTables, SlickGrid, Handsontable, etc.
for (var i = 0; i < 120688; i++) {
db.put(i, i, function (err) {
if (err) {
throw new Error('problem')
}
})
}
psynch_cvsignal(0x100639598, 0x14CC000014D000, 0x14CC00) = 256 0
__semwait_signal(0xE03, 0x0, 0x1) = -1 Err#60
__semwait_signal(0xE03, 0x0, 0x1) = -1 Err#60
__semwait_signal(0xE03, 0x0, 0x1) = -1 Err#60
__semwait_signal(0xE03, 0x0, 0x1) = -1 Err#60
__semwait_signal(0xE03, 0x0, 0x1) = -1 Err#60
__semwait_signal(0xE03, 0x0, 0x1) = -1 Err#60
__semwait_signal(0xE03, 0x0, 0x1) = -1 Err#60
__semwait_signal(0xE03, 0x0, 0x1) = -1 Err#60
psynch_cvsignal(0x100639598, 0x14D3000014D700, 0x14D300) = 256 0
max: 120688
@luk-
luk- / gist:4490803
Last active December 10, 2015 20:48
nput install v0.8.14 -h example.com -u root -p
@luk-
luk- / .jshintrc
Created January 4, 2013 02:38 — forked from rvagg/.jshintrc
{
"predef": [ "assert", "refute", "define" ]
, "boss": true
, "bitwise": true
, "shadow": true
, "trailing": true
, "immed": true
, "latedef": true
, "forin": false
, "curly": false