Go to Sublime Text 2 > Preferences > Key Bindings - User
and add this JSON to the file:
[
{ "keys": ["super+shift+l"],
"command": "insert_snippet",
"args": {
"contents": "console.log(${1:}$SELECTION);${0}"
}
}
fx-team $ make -f client.mk configure | |
cp /Users/harth/hgs/fx-team/mozconfig obj-x86_64-apple-darwin10.8.0/.mozconfig | |
cd obj-x86_64-apple-darwin10.8.0 | |
/Users/harth/hgs/fx-team/configure | |
Adding configure options from /Users/harth/hgs/fx-team/mozconfig: | |
--enable-chrome-format=symlink | |
loading cache ./config.cache | |
checking host system type... x86_64-apple-darwin10.8.0 | |
checking target system type... x86_64-apple-darwin10.8.0 | |
checking build system type... x86_64-apple-darwin10.8.0 |
Go to Sublime Text 2 > Preferences > Key Bindings - User
and add this JSON to the file:
[
{ "keys": ["super+shift+l"],
"command": "insert_snippet",
"args": {
"contents": "console.log(${1:}$SELECTION);${0}"
}
}
var http = require("http"), | |
url = require("url"), | |
fs = require("fs"), | |
async = require("async"), | |
Instagram = require('instagram-node-lib'); | |
Instagram.set('client_id', /* client key */); | |
Instagram.set('client_secret', /* client secret */); | |
fetchTag('cat', 400); |
function getRenderedFontFamily(fontFamily) { | |
var canvas = document.createElement("canvas"); | |
var context = canvas.getContext("2d"); | |
let families = fontFamily.split(/\s*,\s*/); | |
for each (let family in families) { | |
if (family == 'inherit') { | |
return family; | |
} |
Warning: "config" scripts exist outside your system or Homebrew directories. | |
`./configure` scripts often look for *-config scripts to determine if | |
software packages are installed, and what additional flags to use when | |
compiling and linking. | |
Having additional scripts in your path can confuse software installed via | |
Homebrew if the config script overrides a system or Homebrew provided | |
script of the same name. We found the following "config" scripts: | |
/opt/local/bin/icu-config |
/* | |
TODO: | |
- zoom level menu | |
- need to find a way to re-start the update | |
- add color tools | |
- integrate better in Firefox | |
- crosshair has a 1px offset | |
*/ |
var ntwitter = require("ntwitter"), | |
growl = require("growl"); | |
var twitter = new ntwitter({ | |
// fill in w/ keys from https://dev.twitter.com/apps/new | |
consumer_key: null, | |
consumer_secret: null, | |
access_token_key: null, | |
access_token_secret: null | |
}); |
module.exports = { | |
"Ranavan": [ | |
"NNP" | |
], | |
"fawn": [ | |
"NN" | |
], | |
"pro-Soviet": [ | |
"JJ" | |
], |
var async = require("async"), | |
github = new (require("github").GitHubApi)(), | |
users = github.getUserApi(), | |
names = require("./femalenames").slice(0, 50), | |
cradle = require("cradle"), | |
fs = require("fs"); | |
var toFollow = []; | |
function dateAgo(daysAgo) { |