Skip to content

Instantly share code, notes, and snippets.

HazElement hazelement

Block or report user

Report or block hazelement

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
# pandas dataframe
for index, row in df.iterrows():
print row['c1'], row['c2']
# dictionary
for key, value in d.iteritems():
print(key, value)
hazelement /
Created Dec 31, 2015 — forked from trey/
Using Dropbox to Share Git Repositories

Using Dropbox to Share Git Repositories

First, create a Git subfolder inside your Dropbox folder. Then you can share the individual projects inside that folder with whomever you want (or just use it for instant offsite backups).

From inside a Git project:

git clone --bare . ~/Dropbox/Git/gitproject.git
git remote add dropbox ~/Dropbox/Git/gitproject.git

When you're ready to push:

You can’t perform that action at this time.