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
#!/usr/bin/python2 | |
import urllib2 | |
import urllib | |
import sys | |
import json | |
try: | |
data = file(sys.argv[1], 'r').read() | |
except: |
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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
# Pw @ 2013-06-22 19:56:30 | |
class Test: | |
def count(self,n): | |
while n > 0: | |
yield n |
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 nocompatible " be iMproved | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
Bundle 'gmarik/vundle' | |
Bundle 'rails.vim' | |
Bundle 'c.vim' | |
Bundle 'python.vim' | |
"Bundle 'https://github.com/ervandew/supertab.git' | |
Bundle 'git://github.com/scrooloose/nerdtree.git' |
NewerOlder