Skip to content

Instantly share code, notes, and snippets.

Vadim Bichutskiy vybstat

  • Washington, DC
Block or report user

Report or block vybstat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@vybstat
vybstat / ds_store_removal
Last active Sep 25, 2015
How to remove .DS_Store file from GitHub that Mac OS X creates
View ds_store_removal
# remove .DS_Store file from GitHub that MAC OS X creates
# find and remove .DS_Store
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
# create .gitignore file, if needed
touch .gitignore
echo .DS_Store > .gitignore
# push changes to GitHub
View listing.py
import urllib
import re
import time
data = urllib.urlopen('http://bitly.measuredvoice.com/bitly_archive/?C=M;O=D').read()
#print data
#datafiles name pattern - usagov_bitly_data2011-07-29-1311919454
You can’t perform that action at this time.