Skip to content

Instantly share code, notes, and snippets.

View cruxrebels's full-sized avatar

Abhishek Agrawal cruxrebels

View GitHub Profile
@cruxrebels
cruxrebels / .bash_profile
Created July 14, 2017 10:08 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@cruxrebels
cruxrebels / rating_appender.py
Last active September 30, 2016 18:10 — forked from vshivam/rating_appender.py
Clean Movie Folder Names and Append IMDB Rating
import os
import urllib2
from BeautifulSoup import BeautifulSoup
import re
def imdb(movie_name):
http_proxy_full_auth_string = "http://%s:%s@%s:%s" % ('username','password','proxy','port')
proxy_handler = urllib2.ProxyHandler({"http": http_proxy_full_auth_string})
opener = urllib2.build_opener(proxy_handler)
urllib2.install_opener(opener)