Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: iAtYJ4HpUVfIUoNnif1DA
node_modules/ |
var redis = require("../index"); | |
var async = require("async"); | |
// Set this to truthy to see the wire protocol and other debugging info | |
redis.debug_mode = process.argv[2]; | |
client1 = redis.createClient(); | |
client2 = redis.createClient(); | |
multi1 = client1.multi(); |
// Scraping Made Easy with jQuery and SelectorGadget | |
// (http://blog.dtrejo.com/scraping-made-easy-with-jquery-and-selectorga) | |
// by David Trejo | |
// | |
// Install node.js and npm: | |
// http://joyeur.com/2010/12/10/installing-node-and-npm/ | |
// Then run | |
// npm install jsdom jquery http-agent | |
// node numresults.js | |
// |
var text = '<!DOCTYPE HTML><html lang="en"><head><title>Woo</title></head><body></body></html>'; | |
var jsdom = require('jsdom').jsdom; | |
var window = jsdom(text).createWindow(); | |
// here's the doctype | |
console.log(window.document.doctype+''); |
#!/bin/bash | |
# Favicon and Apple Touch Icon Generator | |
# | |
# This bash script takes an image as a parameter, and uses ImageMagick to convert it to several | |
# other formats used on modern websites. The following copies are generated: | |
# | |
# * apple-touch-icon-114x114-precomposed.png | |
# * apple-touch-icon-57x57-precomposed.png | |
# * apple-touch-icon-72x72-precomposed.png |
# wordpress over fastcgi | |
server { | |
listen 81; | |
server_name _; | |
root /mnt/apps/airpair-blog/current; | |
index index.html index.php /index.php; | |
# restricting all dot files | |
location ~ /\. { return 403; } |
var cl = console.log | |
console.log = function() { | |
cl(arguments.callee.caller.toString()) | |
cl.apply(console, arguments) | |
}; | |
// then grep through your code for that function. |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: iAtYJ4HpUVfIUoNnif1DA
var redis = require('redis') | |
, client = redis.createClient() | |
, assert = require('assert'); | |
// redis.debug_mode = true; | |
client.on("error", function (err) { | |
console.log("Error " + err); | |
}); |
{ | |
"name": "my-big-json-package-example" | |
, "description": "see `npm help json` for full docs. Thanks for reading! — @ddtrejo" | |
, "keywords": [ "keywords", "to help people find", "this package" ] | |
, "homepage": "http://npmjs.org/doc/json.html" | |
, "bugs": { | |
"//": "(either hash is optional)" | |
, "url" : "http://github.com/isaacs/npm/issues" | |
, "email" : "hello@yourdomain.com" | |
} |