1: Install homebrew
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install python3
$ brew install python3
$ brew linkapps
3: Install numpy
1: Install homebrew
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install python3
$ brew linkapps
3: Install numpy
{"0":0.6990379727177924,"1":0.0686231562814375,"2":0.011751148478634593,"3":-0.025166454873314523,"4":0.4014138053586557,"5":0.7603693866694662,"6":0.9168360317008797,"7":0.40786395471916825,"8":-0.03411199233781363,"9":0.45259424679440924,"10":-0.08330666510403864,"11":0.09634134940016509,"12":0.29838377822684103,"13":0.40666873899869865,"14":-0.011685761843916752,"15":0.37102876968531534,"16":0.4204223369155815,"17":0.2924980776259693,"18":0.474879177422297,"19":0.6716033837880069,"20":-0.03237974546750211,"21":0.8286826890098262,"22":-0.13227886269985867,"23":0.3550434569851746,"24":0.30574466631198377,"25":0.8528278170919619,"26":0.24032108157855686,"27":0.14990338810746429,"28":0.3883022710000027,"29":0.43897966310500525,"30":0.17588740183484458,"31":-0.014202361758314797,"32":0.4318877593559119,"33":0.5714312760813967,"34":0.42391612251006167,"35":0.05085133017946186,"36":0.05414964035265572,"37":0.7452899330811569,"38":0.8191042848578135,"39":0.27476057593802716,"40":0.3953885101235888,"41":0.093680810 |
class Milk(object): | |
def __init__(self, id, people): | |
self.possible = True | |
self.id = id | |
self.people = people | |
def __str__(self): | |
return "MILK " + str(self.id) + " was drank by " + str(self.people) + ")" | |
def addPerson(self, id): | |
if(not id in self.people): | |
self.people.append(id) |
class Room(object): | |
def __init__(self, x, y): | |
self.x = x | |
self.y = y | |
self.on = False | |
self.switches = [] | |
def __str__(self): | |
return str((self.x, self.y)) + " " + str(self.on) + " : " + str(self.switches) + "\t\t" | |
def turnOn(self): | |
print("Turned on", self.x, self.y) |
<div class="wrapper"> | |
<div class="header"> | |
<!-- Menu goes here --> | |
</div> | |
<div class="main"> | |
<div class="toolbar"></div> | |
<!-- Everything else goes here --> | |
</div> | |
</div> |
echo "hi" |
echo "hi" |
Install module using npm
run HOME=~/.electron-gyp node-gyp rebuild --target=0.35.0 --arch=x64 --dist-url=https://atom.io/download/atom-shell
mkdir ~/virtualenvs | |
echo 'export WORKON_HOME=~/virtualenvs' >> ~/.bashrc | |
echo 'source /usr/local/bin/virtualenvwrapper.sh' >> ~/.bashrc | |
echo 'export PIP_VIRTUALENV_BASE=~/virtualenvs' >> ~/.bashrc | |
source ~/.bashrc |
hdiutil convert -format UDRW -o /Users/Sashank/Ubuntu_Install/target.img /Users/Sashank/Ubuntu_Install/ubuntu-14.04.3-desktop-amd64.iso diskutil unmountDisk /dev/disk2 sudo dd if=/Users/Sashank/Ubuntu_Install/target.img.dmg of=/dev/rdisk2 bs=1m