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
call pathogen#infect('~/src/vim/bundle') | |
syntax on | |
filetype plugin indent on | |
set expandtab | |
set shiftwidth=4 | |
set tabstop=4 | |
set smarttab | |
set ai "Auto indent |
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
[user] | |
email = [email protected] | |
name = Wes Rogers | |
[alias] | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
df = diff |
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 guifont=Inconsolata:h20 | |
set guioptions-=T | |
colorscheme solarized | |
set columns=105 | |
set lines=49 | |
"set fuoptions=maxvert,maxhorz | |
"set transparency=5 |
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() | |
syntax on | |
set expandtab | |
set shiftwidth=4 |
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
{ | |
"resp":{ | |
"status":true, | |
"search":{ | |
"searchresults":{ | |
"numResults":"313", | |
"start":"1", | |
"end":"20", | |
"results":[ | |
{ |
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
{ | |
"resp":{ | |
"status":true, | |
"version":"2.0", | |
"label":{ | |
"images":[ | |
{ | |
"width":600, | |
"uri150":"/image/L-150-5-1136662517.jpeg", | |
"type":"primary", |
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
{ | |
"resp":{ | |
"status":true, | |
"version":"2.0", | |
"master":{ | |
"styles":[ | |
"Techno", | |
"IDM", | |
"Ambient" | |
], |
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
{ | |
"resp":{ | |
"status":true, | |
"version":"2.0", | |
"artist":{ | |
"namevariations":[ | |
"A-F-X Twin", | |
"A.F.X.", | |
"A.Twin", | |
"AFX", |
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
{ | |
"resp":{ | |
"status":true, | |
"release":{ | |
"status":"Accepted", | |
"styles":[ | |
"Deep House" | |
], | |
"genres":[ | |
"Electronic" |
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 urllib2, gzip, cStringIO | |
request = urllib2.Request('http://www.discogs.com/release/123?f=xml&api_key=111') | |
request.add_header('Accept-Encoding', 'gzip') | |
request.add_header('User-Agent', 'MyDiscogsClient/1.0 +http://mydiscogsclient.org') | |
response = urllib2.urlopen(request) | |
data = response.read() | |
unzipped_data = gzip.GzipFile(fileobj = cStringIO.StringIO(data)).read() |