- Long Tail Video
- Macromedia
- BMW
- BMW Motorcycles
- BMW Xplor
- ASPSeek
- Foursquare
- Speedyclick
- Model Mayhem
- Tugg Inc (via Why We Ride mailing list)
View email_cleanup.js
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 days31 = ["label1", | |
"label2", | |
"label3"]; | |
var days7 = ["parent/label4", | |
"parent/label5", | |
"parent/label6", | |
"label7"]; | |
function auto_delete_mail(userLabel,days) { |
View fabfile.py
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
#! /bin/env/python | |
from fabric.api import * | |
env.use_ssh_config=True | |
env.roledefs = { | |
'all': [ | |
'host1', | |
'host2', |
View apt-get-update.yml
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
--- | |
- hosts: hostgroup1 | |
sudo: yes | |
serial: 3 | |
tasks: | |
- shell: apt-get -y update | |
- shell: apt-get -y upgrade |
View puppet_filebucket_search.sh
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
#! /bin/bash | |
find /var/lib/puppet/clientbucket -name paths -exec ls -la {} \; -exec cat {} \; | grep -B 1 $1 |
View repo_update.sh
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
#! /bin/bash | |
WD=`pwd` | |
DOMAIN=example.com | |
GITS=`find . -maxdepth 2 -name .git -type d | sed "s/\.\///g" | sed "s/\/.*//g"` | |
SVNS=`find . -maxdepth 2 -name .svn -type d | sed "s/\.\///g" | sed "s/\/.*//g"` | |
case $1 in | |
setup) |
View allmovies.txt
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
Less Than Zero | |
Zero Charisma | |
Zero Dark Thirty | |
Zero Day | |
Zero Effect | |
Zero for Conduct | |
Zero Hour! | |
Zero Tolerance | |
The $1,000,000 Reward | |
One Hundred Men and a Girl |
View openssl_shortcuts.sh
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
# check date of certificate on remote site | |
echo | openssl s_client -connect ssl.example.com:443 | openssl x509 -noout -dates |
View hacked_emails.md
View setup.sh
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
# Install dependencies | |
sudo apt-get update | |
sudo apt-get -y install git cmake build-essential libusb-1.0 qt4-qmake libpulse-dev libx11-dev | |
# Fetch and compile rtl-sdr source | |
mkdir -p ~/src/ | |
cd ~/src/ | |
git clone git://git.osmocom.org/rtl-sdr.git | |
cd rtl-sdr | |
mkdir build |
View image_reload.js
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
setInterval(function() { | |
var images = document.images; | |
for (var i=0; i<images.length; i++) { | |
images[i].src = images[i].src.replace(/\btime=[^&]*/, 'time=' + new Date().getTime()); | |
} | |
}, 10000); // 10000 milliseconds = 10 seconds |
NewerOlder