/usr/local/php5.3/bin/php => PHP 5.3.29 (cli) (built: Mar 4 2016 09:03:42)
/usr/local/php5.4/bin/php => PHP 5.4.45 (cli) (built: Apr 11 2016 06:20:17)
/usr/local/php5.5/bin/php => PHP 5.5.35 (cli) (built: May 2 2016 07:16:01)
/usr/local/php5.6/bin/php => PHP 5.6.21 (cli) (built: Apr 29 2016 07:02:48)
/usr/local/php7.0/bin/php => PHP 7.0.6 (cli) (built: Apr 29 2016 07:02:25) ( NTS )
/usr/local/php5.3/bin/php => PHP 5.3.29 (cli) (built: Mar 4 2016 09:03:42)
/usr/local/php5.4/bin/php => PHP 5.4.45 (cli) (built: Apr 11 2016 06:20:17)
/usr/local/php5.5/bin/php => PHP 5.5.35 (cli) (built: May 2 2016 07:16:01)
/usr/local/php5.6/bin/php => PHP 5.6.21 (cli) (built: Apr 29 2016 07:02:48)
/usr/local/php7.0/bin/php => PHP 7.0.6 (cli) (built: Apr 29 2016 07:02:25) ( NTS )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir -p /opt/bin | |
curl -L `curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r '.assets[].browser_download_url | select(contains("Linux") and contains("x86_64"))'` > /opt/bin/docker-compose | |
chmod +x /opt/bin/docker-compose |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -ex | |
PATH=/bin:/sbin:/usr/bin:/usr/sbin | |
KEYMAP="us us" | |
HOST=alpine | |
USER=anon | |
ROOT_FS=ext4 | |
BOOT_FS=ext4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script will mount /Users in the boot2docker VM using NFS (instead of the | |
# default vboxsf). It's probably not a good idea to run it while there are | |
# Docker containers running in boot2docker. | |
# | |
# Usage: sudo ./boot2docker-use-nfs.shz | |
# |
rsync (Everyone seems to like -z, but it is much slower for me)
- a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
- H: preserves hard-links
- A: preserves ACLs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ... | |
class AbstractInvoiceLineType extends AbstractType | |
{ | |
public function buildForm(FormBuilderInterface $builder, array $options) | |
{ | |
// ... |