- have a README.md
- pull request with bug number will upload patch to bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var x = 4; | |
function change(v) { | |
v = v + 9; | |
} | |
change(x); | |
console.log(x); // 4 | |
Repos from the first Hack And Tell - Silicon Valley 2011-05-23
- Scottbot - TWSS IRC bot
- Brain - JS Machine Learning
- Emscripten - LLVM->JavaScript
- Dom3d - 3D in CSS
- Spritificator - HTML5 Sprite Creator
- Beamjs - V8<->Erlang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
"Ranavan": [ | |
"NNP" | |
], | |
"fawn": [ | |
"NN" | |
], | |
"pro-Soviet": [ | |
"JJ" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |