We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
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
97.104.22.80 carpricing.consumerreports.org "10.3.158.46:50056, 10.3.158.45:50056, 10.3.158.47:50056" 1422558846.854 46.379 "GET /api/v1/prices.json?callback=jQuery111003678974979557097_1422558799853&d=eyJjaHJvbWVfdHJpbV9pZHMiOlszMTY4NTYsMzE2ODY0LDMxNjg3MSwzMTY4OTEsMzE2ODYyLDMxNjg2OSwzMTY4NzksMzE2ODgxLDMxNjg5MiwzMTY4OTcsMzE2OTAzLDMxNjkwNywzMTY4NzcsMzE2ODg2LDMxNjg5OSwzMTY5MDIsMzE2OTA2LDMxNjg1NSwzMTY4NTgsMzE2ODY1LDMxNjg2NywzMTY4NzUsMzE2ODg4LDMxNjg5NCwzMTY4OTUsMzE2OTA4LDMxNjkxMCwzMTY4NTcsMzE2ODcyLDMxNjg3NiwzMTY4NzgsMzE2ODgyLDMxNjg4NSwzMTY4OTAsMzE2ODk4LDMxNjkwMCwzMTY5MDQsMzE2OTExLDMxNjkxMywzMTY4NzMsMzE2ODg3LDMxNjkwMSwzMTY5MDUsMzE2ODYwLDMxNjg2OCwzMTY4NzQsMzE2ODgwLDMxNjg4NCwzMTY4OTMsMzE2OTEyLDMxNjg1OSwzMTY4NjEsMzE2ODYzLDMxNjg2NiwzMTY4NzAsMzE2ODgzLDMxNjg4OSwzMTY4OTYsMzE2OTA5LDMzODEwMCwzMzgxMDEsMzM4MTA1LDMzODEwOSwzMzgxMTAsMzM4MTExLDMzODExNiwzMzgxMjYsMzM4NDY4LDMzODQ3MCwzMzgwODIsMzM4MDg0LDMzODA5NywzMzgwOTksMzM4MTA2LDMzODExMywzMzgxMjIsMzM4MTMwLDMzODEzNywzMzgxMDIsMzM4MTEyLDMzODExOSwzMzgxMjEsMzM4NDY0LDMzODQ2NiwzMzg0NjUsMz |
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
/** | |
* a very crude implmentation of python's format() for javascript, | |
* supporting simple replacement fields, eg:: | |
* | |
* >>> format('{0} is {1}', 'javascript', 'cool') | |
* "javascript is cool" | |
* | |
* works for my purposes, but no where close to implementing full | |
* capabilities as described at:: | |
* http://docs.python.org/library/string.html#formatstrings |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
export EDITOR=vi | |
# terminal colors | |
LS_COLORS='no=00:fi=00:di=01;36:ln=01;93:pi=40;33:so=01;35:do=01;35:bd=40;33;01: | |
cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31 | |
:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31: | |
*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=0 | |
1;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.t |
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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by irssi configure 0.8.14, which was | |
generated by GNU Autoconf 2.63. Invocation command line was | |
$ ./configure --prefix=/usr/local/Cellar/irssi/0.8.14 --disable-debug --disable-dependency-tracking --with-modules --enable-ssl --enable-ipv6 --with-perl=yes | |
## --------- ## | |
## Platform. ## |
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
''' | |
Django middleware that sets a tracking id (fetched from a ticket server) as a | |
cookie in the http response. | |
This assumes you have setup a couple k/v stores as ticket servers and that | |
you know the key. For demonstration purposes only, here is how one might do it | |
with redis: | |
# start a redis server on default port (6379) | |
$ redis-server /usr/local/etc/redis.conf &> /dev/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
from fabric.api import * | |
env.roledefs['servers'] = [ | |
'ec2-184-72-2-243.us-west-1.compute.amazonaws.com', | |
'ec2-204-236-153-163.us-west-1.compute.amazonaws.com', | |
] | |
@roles('servers') | |
def poke(): | |
local("whoami") |
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 | |
# ########## | |
# | |
# Usage: | |
# ec2_hosts.py | |
# | |
# Then copy results to /etc/hosts | |
# | |
# ########## |
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/sh | |
# hybserv Start/stop Hybserv 2 IRC Services | |
# Version: hybserv 1.8.0 17-Mar-2003 joshk@triplehelix.org | |
# Version: hybserv 1.9.2 05-Sep-2006 ag@roxor.cx | |
### BEGIN INIT INFO | |
# Provides: hybserv | |
# Required-Start: $syslog ircd-hybrid | |
# Required-Stop: $syslog ircd-hybrid |
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
""" | |
jQuery templates use constructs like: | |
{{if condition}} print something{{/if}} | |
This, of course, completely screws up Django templates, | |
because Django thinks {{ and }} mean something. | |
Wrap {% verbatim %} and {% endverbatim %} around those | |
blocks of jQuery templates and this will try its best |
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
#!bash -x | |
mkdir -p $HOME/bin | |
pushd $HOME/bin | |
curl -fsSLO https://github.com/andrewwatts/dotfiles/raw/master/bin/git-completion.bash | |
popd | |
cat >> $HOME/.bashrc << EOF | |
# BEGIN git install from https://gist.github.com/gists/1536b5ada40498fbb768 |
OlderNewer