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
execute pathogen#infect() | |
set wildignore=.venv,venv,node_modules | |
" Simplified stuff | |
nmap ,x :!python %<cr> | |
" Based on http://www.derekwyatt.org/vim/the-vimrc-file/the-absolute-bare-minimum | |
" Forget being compatible with good ol' vi | |
set nocompatible |
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
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlXcU+KcIhU5OoaekS7ei71GVfaFqrwllq1ClqSzlm8fF3Hqe8qORTNN6uZmIVeK/ojUuaWwKrx+uxZoWmLv7p/HqrN785G4xuSu8tUSB0P7euHUiHh/sTbBJaai6qR76i8jCfsiKrhyi1fDhddRFpR+wTGawy3qD6iaCMDPqdjU34VuXv/ZRpwMSeXAp6gk0LT1jOjdG26vLCNsVLi6SR0VNLQVOL9Mg0t6S+R7Omir+rgXBQWfAe5zltwkEZiIm4WZ2Phw3rY6uQ5X8MqjajmhFe9s6Gg6BsmgWfYl/qqFziWWGY+goel6LfMre8L//rpfdMqq7zbZ27+fzHqhWpQ== rsa-key-20130125 |
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
Traceback (most recent call last): | |
File "/vagrant/venv/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 187, in __call__ | |
self.load_middleware() | |
File "/vagrant/venv/lib/python2.6/site-packages/django/core/handlers/base.py", line 47, in load_middleware | |
mw_class = import_by_path(middleware_path) | |
File "/vagrant/venv/lib/python2.6/site-packages/django/utils/module_loading.py", line 26, in import_by_path | |
sys.exc_info()[2]) | |
File "/vagrant/venv/lib/python2.6/site-packages/django/utils/module_loading.py", line 21, in import_by_path | |
module = import_module(module_path) | |
File "/vagrant/venv/lib/python2.6/site-packages/django/utils/importlib.py", line 40, in import_module |
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
" Based on http://www.derekwyatt.org/vim/the-vimrc-file/the-absolute-bare-minimum | |
" Also lots of other sources and personal experimentation | |
execute pathogen#infect() | |
" Forget being compatible with good ol' vi | |
set nocompatible | |
" Comment color more readable | |
hi Comment ctermfg=darkgray |
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
# activewindow.scpt - track your active window and Chrome web page on OSX | |
# USAGE: | |
# while true; do osascript activewindow.scpt | tee -a log.log; sleep 1; done | |
# LICENSE: Public Domain | |
set _url to "" | |
tell application "System Events" | |
set _app to name of first application process whose frontmost is true | |
end tell |
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
watch: | |
options: | |
livereload: true | |
spawn: false | |
watch: | |
sass: | |
files: 'sass/*.scss' | |
tasks: 'compass:compile' | |
options: | |
livereload: false |
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
function polyFillBgFixed($this, imgWidth, imgHeight, paddingTop) { | |
var paddingTop = paddingTop || 0, | |
thisHeight = $this.height(); | |
$this.css("background-attachment", "scroll"); | |
setInterval(function() { | |
var $window = $(window), | |
thisTop = $this.offset().top + (paddingTop || 0), | |
windowBottom = $window.scrollTop() + $window.height(), | |
w = $window.width() / imgWidth; | |
y = (windowBottom - thisTop) / ($window.height()); |
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
str(pi)[4814:4818] |
NewerOlder