Skip to content

Instantly share code, notes, and snippets.

View njoubert's full-sized avatar

Niels Joubert njoubert

View GitHub Profile
@njoubert
njoubert / gist:5973325
Last active December 19, 2015 14:59 — forked from erichocean/gist:799195
Small webservice that converts the given url path to a data-uri. Run it, call http://localhost:3010/?url=http://SOME_PATH/ updated for request 2.x.x and express 3.x.x
var express = require('express'),
request = require('request'),
sys = require('sys');
var app = express();
app.use(express.logger());
app.use(express.bodyParser());
app.get('/', function(req, res){
if(req.param("url")) {
@njoubert
njoubert / gist:4062168
Last active October 12, 2015 17:28 — forked from lucasfais/gist:1207002
Sublime Text 2 & 3 - Useful Shortcuts

Sublime Text 2 – Shortcuts

Here’s how I use sublime as efficiently as possible.

Modify your user keymap by adding these:

{ “keys”: [“super+h”], “command”: “find_under_expand” },