Rebuild the binaries you have built in Go module mode installed in $GOPATH/bin.
Usage: go-bin-upgrade [-n] [-v] bin1 [bin2]...
Examples:
go-bin-upgrade -n godoc
(cd ~/go/bin ; go-bin-upgrade * )
class MoneyType extends AbstractType implements DataMapperInterface | |
{ | |
public function buildForm(FormBuilder $builder, array $options) | |
{ | |
$builder | |
->add('amount', 'integer') | |
->add('currency', 'string') | |
->setDataMapper($this) | |
; | |
} |
requirejs config and Gruntfile to use with zurb foundation, Backbonejs and lodash or underscorejs.
Works for foundation 4.0 with requirejs 2.x and grunt 0.4
# for dev
$ npm install
# for production
$ npm install --production
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)