I hereby claim:
- I am AD7six on github.
- I am ad7six (https://keybase.io/ad7six) on keybase.
- I have a public key whose fingerprint is 4994 615D FE59 DDAC 8D4E F0AB C001 2651 63E9 C1C4
To claim this, I am signing this object:
| #!/bin/bash | |
| # This file is managed by vagrant, do not modify manually | |
| # To override, on the host copy default/files/usr/local/bin/migrateDb | |
| # to local/files/usr/local/bin/migrateDb | |
| # and reprovision | |
| DATABASE_URL=${DATABASE_URL:-mysql://user:pass@host/db} | |
| if [[ "$DATABASE_URL" =~ ^([^:]+)://([^:]+):([^@]*)@([^/]+)/(.*)$ ]]; then | |
| DATABASE_SCHEME=${BASH_REMATCH[1]} | |
| DATABASE_USER=${BASH_REMATCH[2]} |
I hereby claim:
To claim this, I am signing this object:
| www-data @ dev [ /home/andy/repos/cakephp/cakephp ] (master *$%=) | |
| -> git diff | |
| diff --git tests/TestCase/ORM/Behavior/TreeBehaviorTest.php tests/TestCase/ORM/Behavior/TreeBehaviorTe | |
| index 42a0bad..0955c25 100644 | |
| --- tests/TestCase/ORM/Behavior/TreeBehaviorTest.php | |
| +++ tests/TestCase/ORM/Behavior/TreeBehaviorTest.php | |
| @@ -51,6 +51,23 @@ class TreeBehaviorTest extends TestCase | |
| TableRegistry::clear(); | |
| } | |
| <?php | |
| class Dummy extends Model { | |
| public function price() { | |
| return (float)1,234.56; // db stored value | |
| } | |
| } | |
| class DummyPresenter { |
| public function syncProducts() { | |
| $db = JFactory::getDbo(); | |
| JLog::addLogger( | |
| array( | |
| 'text_file' => 'com_example_product.syncerrors.' . date('d-m-Y') . '.php' | |
| ), JLog::ALL, array('com_example_product') | |
| ); | |
| // get products that need to be added | |
| // UPDATED 1 feb 2015. No more Join, no more upper price limit. We are going all in @ IceCat |
| #!/bin/bash | |
| re="[0-9]{14}" # migration ids are the datetime as a 14 digit number - find them | |
| env=${1-development} | |
| db="app" | |
| if [[ $env != 'development' ]]; then | |
| db="app_test" | |
| fi |
| root@h5bp:~# cat /etc/apache2/sites-enabled/000-default.conf | |
| <VirtualHost *:80> | |
| ServerName www.example.com | |
| ServerAlias *.example.* | |
| DocumentRoot /var/www/html5-boilerplate/fixtures/ | |
| ErrorLog ${APACHE_LOG_DIR}/example-error.log | |
| CustomLog ${APACHE_LOG_DIR}/example-access.log combined |
| # Send the output of these commands to me | |
| [email protected] | |
| 0 0 * * * /usr/local/bin/giveMeStats | |
| 0 4 * * * /usr/local/bin/giveMeMoreStats | |
| # Send the output of these commands to you | |
| [email protected] | |
| 0 0 * * * /usr/local/bin/boringStuff |
| -> cd example/ | |
| www-data @ dev [ /tmp/example ] | |
| -> echo "some stuff" > somefile | |
| www-data @ dev [ /tmp/example ] | |
| -> git init | |
| Initialized empty Git repository in /tmp/example/.git/ | |
| www-data @ dev [ /tmp/example ] (master #%) | |
| -> git add somefile | |
| www-data @ dev [ /tmp/example ] (master #) | |
| -> echo "somefile" > .gitignore |
| #!/bin/bash | |
| ################################################################################ | |
| # | |
| # Delete least used files | |
| # | |
| ################################################################################ | |
| PROGNAME=${0##*/} | |
| PROGDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
| VERSION="0.1" |