docker run -i -t --name nodejs ubuntu:latest /bin/bashSo here, -i stands for interactive mode and -t will allocate a pseudo terminal for us.
Some more trivia about these flags.
docker run -i -t --name nodejs ubuntu:latest /bin/bashSo here, -i stands for interactive mode and -t will allocate a pseudo terminal for us.
Some more trivia about these flags.
| <?php | |
| /* | |
| These are some example files for CakePHP 2.x | |
| Using containable | |
| The problem with this is that if Group doens't match, then it will just return a blank array | |
| dimension, because containable is just going to join the arrays in php | |
| */ |
| # ---------------------- | |
| # installing dnsmasq and enable daemon | |
| # ---------------------- | |
| brew install dnsmasq | |
| sudo cp -v $(brew --prefix dnsmasq)/homebrew.mxcl.dnsmasq.plist /Library/LaunchDaemons | |
| # ---------------------- | |
| # adding resolver for vbox domain | |
| # ---------------------- | |
| [ -d /etc/resolver ] || sudo mkdir -v /etc/resolver | |
| sudo bash -c 'echo "nameserver 127.0.0.1" > /etc/resolver/vbox' |
#How to implement CodeSniffer into Netbeans
##Things you will need
Netbeans plugin
Download the plugin from here, http://plugins.netbeans.org/plugin/40282/phpmd-php-codesniffer-plugin
PEAR installed
You can test this by typing into a terminal which pear and it should return a path. If you do not have PEAR installed, you can find out how to install it from the site, http://pear.php.net/
PEAR packages