$ git fetch --all --prune
$ git archive --remote=ssh://git@git/{repo-name}.git HEAD {filename}
| #!/bin/sh | |
| DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
| COMPOSER_DISABLE_XDEBUG_WARN=1 /usr/bin/php \ | |
| -d xdebug.remote_enable=0 -d xdebug.profiler_enable=0 \ | |
| -d xdebug.default_enable=0 /usr/local/bin/composer.phar "$@" |
| pkill 'VBoxClient --clipboard' -f & sleep 1 && VBoxClient --clipboard |
| <?php | |
| interface CaffeineOptionInterface { | |
| /** | |
| * @return MilkOptionInterface | |
| */ | |
| public function decaff(); | |
| /** |
"require-dev": {
"behat/mink-extension": "^2.1",
"behat/mink-goutte-driver": "^1.2",
"behat/mink-selenium2-driver": "^1.3",
"phpunit/phpunit": "5.2.*",
"behat/symfony2-extension": "^2.1"| rm -f src/AppBundle/Migrations/*.php && | |
| php bin/console doctrine:database:drop --force && | |
| php bin/console doctrine:database:create && | |
| php bin/console doctrine:migrations:diff && | |
| php bin/console doctrine:migrations:migrate --no-interaction && | |
| php bin/console doctrine:fixtures:load --no-interaction |
| dmesg | grep e1000 |
| #Lets initialize an empty repository | |
| git init | |
| #Then create a new file and commit | |
| touch README.md | |
| echo "Hello World" >> README.md | |
| git add . | |
| git commit -m "First commit" | |
| #We need a new branch to work alone |
| sudo dnf erase <From Library causing conflict> | |
| sudo dnf update |
| # .netrc | |
| ## generate token with https://help.github.com/articles/creating-an-oauth-token-for-command-line-use | |
| machine github.com login <token> |