Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Modified from: | |
http://stackoverflow.com/questions/1534210/use-different-python-version-with-virtualenv | |
Local install of new python. Adjust python version to your liking. | |
mkdir ~/src | |
wget http://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz | |
tar -zxvf Python-2.7.8.tar.gz | |
cd Python-2.7.8 |
This file contains 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 pytz | |
import requests | |
import numpy as np | |
now_timestamp = np.datetime64(datetime.datetime.utcnow()).astype(float)/1e6 | |
lat = 32.2 | |
lon = -111.9 | |
payload = {'location':'{},{}'.format(lat, lon), 'timestamp':str(now_timestamp)} |
This file contains 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
\usepackage{color} | |
\newcommand{\Eckel}[1]{{\bf\color{blue} JE: #1}} | |
\newcommand{\Holmgren}[1]{{\bf\color{red} WH: #1}} | |
Here's some text. It can be a pain to insert good comments into tex documents. \Eckel{I have a trick for that!}. | |
Here's some more text. \Holmgren{Nice!}. |
This file contains 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
git config --global diff.tool bbdiff | |
git config --global difftool.bbdiff.cmd 'bbdiff --wait --resume "$LOCAL" "$REMOTE"' | |
git config --global difftool.prompt false | |
git config --global merge.tool bbdiff | |
git config --global mergetool.bbdiff.cmd 'bbdiff --wait --resume "$LOCAL" "$REMOTE"' | |
Double check ~/.gitconfig |
NewerOlder