Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
#!/bin/bash | |
mkdir -p bin sources/{config,twig,sql,lib/{Model,Controller}} web/{css,images,js} tests documentation log | |
chmod 777 log | |
> web/favicon.ico | |
cat > bin/generate_model.php <<"EOF" | |
<?php // bin/generate_model.php | |
$app = require(__DIR__."/../sources/bootstrap.php"); |
brew install gource | |
brew install ffmpeg |
#!/bin/bash | |
# Put this file at: .git/hooks/post-checkout | |
# and make it executable | |
# You can install it system wide too, see http://stackoverflow.com/a/2293578/685587 | |
PREV_COMMIT=$1 | |
POST_COMMIT=$2 | |
NOCOLOR='\e[0m' |
/var/lib/lxc/mycontainer/config
$HOME/.local/share/lxc/mycontainer/config
lxc.mount
directive, that follows the format below. Substitute proper paths as necessary:
lxc.mount.entry = /path/to/folder/on/host /path/to/mount/point none bind 0 0