golang compiler options:
https://github.com/golang/go/wiki/GoArm
I chose RASPBIAN JESSIE LITE from https://www.raspberrypi.org/downloads/raspbian/
golang compiler options:
https://github.com/golang/go/wiki/GoArm
I chose RASPBIAN JESSIE LITE from https://www.raspberrypi.org/downloads/raspbian/
| func dump(v reflect.Value, path string) { | |
| switch v.Type().Kind() { | |
| case reflect.Interface: | |
| if v.Elem().Type().Kind() == reflect.Interface { | |
| fmt.Println(path, ":", "merry xmas an interface") | |
| } else { | |
| dump(v.Elem(), path) | |
| } | |
| case reflect.Int, reflect.Int64, reflect.Float64: | |
| fmt.Println(path, ":", "it is a number", v.String()) |
| # add this line to your nfs exports and restart nfsd with sudo nfsd restart | |
| /Users/<name>/path/to/www -mapall=<name> -network 192.168.99 -mask 255.255.255.0 |
| # start nfs client | |
| docker-machine ssh default sudo /usr/local/etc/init.d/nfs-client start | |
| # create mount point | |
| docker-machine ssh default sudo mkdir /var/www | |
| # mount your mac export | |
| docker-machine ssh default sudo mount.nfs 192.168.99.1:/Users/jan/www /var/www |
To setup your mac you have to perform the following steps:
Make sure the address 192.168.23.1 is exposed on your loopback device:
If you do not want to do this manually all the time, then I have a deamon for you:
This discussion
https://askubuntu.com/questions/345588/what-is-the-safest-way-to-clean-up-boot-partition
has this answer: