- brew uninstall python
- brew install python3
- brew linkapps python3
- brew install python
- brew link --overwrite python
- brew link --overwrite python3
- pip install --upgrade pip
- ipython3 kernel install
- jupyter kernelspec install-self
- brew update
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
print 'test' | |
import random | |
def chromosome(): | |
gene = "" | |
for i in xrange(8): | |
gene += str(random.randint(0,1)) | |
return gene |
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
Show hidden characters
{ | |
"always_show_minimap_viewport": true, | |
"auto_complete_triggers": | |
[ | |
{ | |
"characters": "<", | |
"selector": "text.html" | |
}, | |
{ | |
"characters": ".", |
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 numpy as np | |
from matplotlib import pyplot as plt | |
from numpy import zeros, ones, reshape, array, linspace, logspace, add, dot, transpose, shape, negative | |
# import matplotlib.pyplot as plt | |
from pylab import scatter, show, title, xlabel, ylabel, plot, contour | |
a = np.identity(5) | |
# print(a) |
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 csv | |
csvfile_A = 'example.csv' | |
csvfile_B = 'anotherexample.csv' | |
delimiter = '\n' | |
data_alpha = [] | |
data_beta = [] | |
data_matched = list() | |
data_no_matched = list() |
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
egrep -o '\w+(.\w)*@\w+\.\w.\S' * |
brew tap homebrew/science
brew update && brew upgrade
brew install octave
brew tap --repair
brew install octave
setenv GNUTERM x11
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
let FIXTURES = [ | |
{ | |
title :'Hello' | |
}, | |
{ | |
title : 'World' | |
} | |
] | |
I hereby claim:
- I am juliannorton on github.
- I am juliannorton (https://keybase.io/juliannorton) on keybase.
- I have a public key whose fingerprint is 3BD2 C207 7B4D 9F59 DD22 7CBF B925 8BF2 58CF 49D1
To claim this, I am signing this object:
I hereby claim:
- I am juliannorton on github.
- I am juliannorton (https://keybase.io/juliannorton) on keybase.
- I have a public key whose fingerprint is 3BD2 C207 7B4D 9F59 DD22 7CBF B925 8BF2 58CF 49D1
To claim this, I am signing this object: