This file contains hidden or 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
import time | |
import redis | |
import feedparser | |
channels = ('hackpark', 'infoforcefeed',) | |
def main(): |
This file contains hidden or 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
import time | |
import redis | |
import feedparser | |
channels = ('#aquameta',) | |
class SecurityService(object): |
This file contains hidden or 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 | |
function wordlookup { | |
curl dict://dict.org/d:$1 | |
} |
This file contains hidden or 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
In [12]: order = Order.objects.get(pk=1341114) | |
In [13]: order.snailtrack | |
Out[13]: <Snailtrack: orders_order #15: 1341114> | |
In [14]: st = order.snailtrack | |
In [15]: st.actions | |
Out[15]: [<Action: update #39 at 2011-09-09 16:18:01.900710>, <Action: insert #36 at 2011-09-09 16:17:19.944937>, <Action: insert #35 at 2011-09-09 16:17:19.933299>] |
This file contains hidden or 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
######################## Exception ############################# | |
Traceback (most recent call last): | |
File "/home/kyle/code/beehive/lib/aquameta/helpers/json.py", line 18, in wrap | |
response = func(request, *a, **kw) | |
File "/home/kyle/.virtualenvs/beehive/local/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wr | |
apped_view | |
return middleware.process_response(request, response) |
This file contains hidden or 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
# Set escape char to Ctrl-J | |
set-option -g prefix C-h | |
unbind-key C-b | |
bind-key C-h send-prefix | |
# easy window splitting | |
unbind % | |
bind | split-window -h | |
bind - split-window -v |
This file contains hidden or 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
" https://github.com/sontek/dotfiles/ | |
" ========================================================== | |
" Dependencies - Libraries/Applications outside of vim | |
" ========================================================== | |
" Pep8 - http://pypi.python.org/pypi/pep8 | |
" Pyflakes | |
" Ack | |
" Rake & Ruby for command-t | |
" nose, django-nose |
This file contains hidden or 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
" displays tabs with :set list & displays when a line runs off-screen | |
set listchars=tab:>-,eol:✈,trail:-,precedes:<,extends:> | |
set list |
This file contains hidden or 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
import os | |
class Test(object): | |
just_testing_this() | |
print 'yay!' |