Skip to content

Instantly share code, notes, and snippets.

View seekshreyas's full-sized avatar
🐼
\_(*|*)_/

Shreyas seekshreyas

🐼
\_(*|*)_/
  • DocuSign
  • San Francisco, CA
View GitHub Profile
@seekshreyas
seekshreyas / _.md
Created April 4, 2013 22:53
INFO 247 - Lab 10 - #1 - Linear Scale
@seekshreyas
seekshreyas / _.md
Created April 4, 2013 23:13
INFO 247 - Lab 10 - #2 - Area Scale
@seekshreyas
seekshreyas / _.md
Created April 4, 2013 23:14
INFO 247 - Lab 10 - #3
@seekshreyas
seekshreyas / _.md
Created April 4, 2013 23:38
INFO 247 - Lab 10 - #3 (full code)
@seekshreyas
seekshreyas / _.md
Created April 4, 2013 23:39
INFO 247 - Lab 10 - #4 - Layouts
auth = OAuthHandler(CLIENT_ID, CLIENT_SECRET, CALLBACK)
auth.set_access_token(ACCESS_TOKEN)
api = API(auth)
venue = api.venues(id='4bd47eeb5631c9b69672a230')
stopwords = nltk.corpus.stopwords.words('portuguese')
tokenizer = RegexpTokenizer("[\w’]+", flags=re.UNICODE)
@seekshreyas
seekshreyas / index.html
Created May 16, 2013 07:09
A CodePen by Shreyas R.
<div class="timer">
<div class="timer">
<div class="timer">
<div class="timer">
<div class="timer">
</div>
</div>
</div>
</div>
@seekshreyas
seekshreyas / printAttributes.py
Created July 3, 2013 21:29
For debugging in python: Print attributes of an object in python
def print_attributes(obj):
for attr in obj.__dict__:
print attr, getattr(obj, attr)
@seekshreyas
seekshreyas / PyScaffold.py
Last active December 19, 2015 11:19
Scaffolding for my Python programs
#! /usr/bin/python
""" Program Aim
More description about the program
"""
__author__ = "@Name"
__email__ = "@Email"
__python_version = "Python 2.7.3 -- EPD 7.3-2 (32-bit)"
@seekshreyas
seekshreyas / DockSpacer
Last active December 21, 2015 01:48
# DockSpacer _Add spaces in your Dock_
# Add a spacer to the left side of the Dock (where the applications are)
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
# Add a spacer to the right side of the Dock (where the Trash is)
defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}'
killall Dock