brew update
brew upgrade brew-cask
brew install Caskroom/cask/osxfuse
brew install homebrew/fuse/sshfs
to get rid of the erro message install, install https://github.com/osxfuse/sshfs/releases/download/osxfuse-sshfs-2.5.0/sshfs-2.5.0.pkg
| - firefox | |
| - 1password | |
| - Iterm2 | |
| - menumeters | |
| - dropbox | |
| - homebrew | |
| - slack | |
| - fish shell https://gist.github.com/vallettea/7f48aedfabc501bfe723 | |
| - vim https://gist.github.com/vallettea/f551d2a0721ca403285f | |
| - sublime text3 | 
| ########## autojump | |
| begin | |
| set --local AUTOJUMP_PATH $HOME/.autojump/share/autojump/autojump.fish | |
| if test -e $AUTOJUMP_PATH | |
| source $AUTOJUMP_PATH | |
| end | |
| end | |
| ########## docker | 
| git config --global user.name "vallettea" | |
| git config --global user.email "[email protected]" | |
| ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
| eval ssh-agent $SHELL | |
| ssh-add ~/.ssh/id_rsa | |
| # cat ~/.ssh/id_rsa.pub and add it to github | |
| ssh -T [email protected] | 
brew update
brew upgrade brew-cask
brew install Caskroom/cask/osxfuse
brew install homebrew/fuse/sshfs
to get rid of the erro message install, install https://github.com/osxfuse/sshfs/releases/download/osxfuse-sshfs-2.5.0/sshfs-2.5.0.pkg
| #!/usr/bin/env python | |
| import RPi.GPIO as GPIO, time, os | |
| GPIO.setmode(GPIO.BCM) | |
| class PINS: | |
| SPICLK = 11 | |
| SPIMISO = 9 | |
| SPIMOSI = 10 | |
| SPICS = 8 | 
| 'use strict'; | |
| var SPI = require('pi-spi'); | |
| var spi = SPI.initialize("/dev/spidev0.0"); | |
| // Read value from a MCP3002 (http://ww1.microchip.com/downloads/en/DeviceDoc/21294C.pdf) | |
| function readMCP(channel, callback) { | |
| if (spi === undefined) return; | |
| var mode = (8 + channel) << 4; | 
Start by turning off your dicer serv:
docker-machine stop
then to bind port 3500 inside docker machine to 3500 on your computer, use
VBoxManage modifyvm default --natpf1 "tcp-port3500,tcp,,3500,,3500";
| brew uninstall docker | |
| brew uninstall boot2docker | |
| https://raw.githubusercontent.com/boot2docker/osx-installer/master/uninstall.sh | |
| https://www.docker.com/toolbox | |
| export DOCKER_HOST=tcp://192.168.99.100:2376 | |
| export DOCKER_MACHINE_NAME=default | |
| export DOCKER_TLS_VERIFY=1 | 
| pacman -Syy | |
| pacman -Sy bluez bluez-utils | |
| pacman -Sy libbluetooth-dev | |
| modprobe btusb | |
| systemctl enable bluetooth.service | |
| systemctl start bluetooth.service | |
| bluetoothctl |