- node.js
- Installation paths: use one of these techniques to install node and npm without having to sudo.
- Node.js HOWTO: Install Node+NPM as user (not root) under Unix OSes
- Felix's Node.js Guide
- Creating a REST API using Node.js, Express, and MongoDB
- Node Cellar Sample Application with Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB
- JavaScript Event Loop
- Node.js for PHP programmers
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
#!/usr/bin/env python | |
# | |
# | |
import sys | |
import imaplib | |
import getpass | |
import email | |
import email.header | |
import datetime |
I hereby claim:
- I am sh4t on github.
- I am shat (https://keybase.io/shat) on keybase.
- I have a public key whose fingerprint is AC1E 378D 0A70 49EE F592 2134 9729 5FA5 CCA6 B271
To claim this, I am signing this object:
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
"""Command-line script for querying MX records. | |
Usage: | |
mxlookup.py example.com # Uses DNS servers in /etc/resolv.conf | |
or | |
mxlookup.py example.com 8.8.8.8 # Uses DNS server 8.8.8.8 |
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
"""Command-line script for cleaning up log paths. | |
Usage: | |
cleanup.py [NUM_OF_DAYS] # Removes anything older than NUM_OF_DAYS, including empty paths. | |
""" |
Instance Type|Maximum Interfaces|Maximum IP Addresses c1.medium|2|6 c1.xlarge|4|15 c3.large|3|10 c3.xlarge|4|15 c3.2xlarge|4|15 c3.4xlarge|8|30 c3.8xlarge|8|30 cc2.8xlarge|8|30 cg1.4xlarge|8|30
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
import requests | |
import json | |
import time | |
import os | |
def submit_my_data_count(): | |
# path to files we want to count, that count gets submitted to stackdriver's API. |
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
#!/usr/bin/ruby | |
require 'rubygems' | |
require 'racket' | |
require 'monitor' | |
require 'optparse' | |
require 'ostruct' | |
include Racket |
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
when HTTP_REQUEST { | |
switch -glob [string tolower [HTTP::header User-Agent]] { | |
"*scooter*" - | |
"*slurp*" - | |
"*msnbot*" - | |
"*fast-*" - | |
"*teoma*" - | |
"*googlebot*" { | |
# Send bots to the bot pool | |
pool slow_webbot_pool |
OlderNewer