This discussion
https://askubuntu.com/questions/345588/what-is-the-safest-way-to-clean-up-boot-partition
has this answer:
This discussion
https://askubuntu.com/questions/345588/what-is-the-safest-way-to-clean-up-boot-partition
has this answer:
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:
# 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 |
# 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 |
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()) |
golang compiler options:
https://github.com/golang/go/wiki/GoArm
I chose RASPBIAN JESSIE LITE from https://www.raspberrypi.org/downloads/raspbian/
<?php | |
namespace My\Module; | |
/** | |
* a sample job list | |
*/ | |
class JobList implements \Foomo\Jobs\JobListInterface | |
{ | |
public static function getJobs() |
<?php | |
namespace My\Module; | |
/** | |
* a sample Foomo Job | |
*/ | |
class AJob extends \Foomo\Jobs\AbstractJob | |
{ |
<?php | |
// create a bundle | |
// putting it for example on your Module class is a good idea | |
$bundle = Foomo\RequireJS\Bundle::create( | |
// module name | |
My\Module::NAME, | |
// name of the bindle | |
'example', | |
// use versions - they make deployments of new app versions |