Python

brew install python
brew link python
brew install python3
brew link python3
brew doctor

 

rm -rf mydir

python:
PIP
Zelle graphics.py
tkinter
tkinter.photoimage

__________
fd forward
lt left
rr right
bk back

pu pen up
pd pen down
clearscreen
home
setx
sety

TO SQUARE
repeat 4 [fd 90 lr 90]

setpensize
setbackground
setpc
0 black
1 blue
2 green
3 cyan
4 red
5 magenta
6 yellow?
7 white
8 brown
9 beige
10 bright green
11 dark blue
12 salmon
13 blueish
14 orange
15 grey

TO RANDOM.MOVE (D1, D2, A1, A2)
REPEAT FOREVER
LEFT RAND (A1, A2)
FORWARD RAND (D1, D2)

TO CHECK.FORWARD DISTANCE
OLD.POSIITON = TURTLE.STATE
PENUP
HIDETURTLE
FORWARD DISTANCE
FORWARD.FAILED = OUT.OF.BOUNDS?

 

POTS (That’s short for Print Out TitleS.)

NODE

NODE
brew install node
_____________________________________
npm install -g npm@latest
npm i -g n && n latest
(Node package manager)

(nvm install node –reinstall-packages-from=node)

brew update && brew upgrade node && npm install -g npm

1. sudo npm cache clean -f ———— (force) clear you npm cache
2. sudo npm install -g n ———install n (this might take a while)
3. sudo n stable ——— upgrade to lastest version
node -v
___________
You could install nvm and have multiple versions of Node.js installed.
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
source ~/.nvm/nvm.sh
and then run:
nvm install 0.8.22 #(or whatever version of Node.js you want)
you can see what versions you have installed with :
nvm list
and you can change between versions with:
nvm use 0.8.22
The great thing about using NVM is that you can test different versions alongside one another. If different apps require different versions of Node.js, you can run them both.