I hereby claim:
- I am conroyp on github.
- I am conroyp (https://keybase.io/conroyp) on keybase.
- I have a public key ASBSclhEQMB0Kt_xETZptJOdvEewMF3uizuuQzRY6KnptQo
To claim this, I am signing this object:
| if (!function_exists('func_get_args_with_defaults')) { | |
| /** | |
| * Get all function arguments, including defaults. | |
| * An issue with func_get_args is that it doesn't include default | |
| * values. This leads to cases where we'd expect cache re-use, but are | |
| * seeing cache misses, e.g: | |
| * $foo->getStuff('category'); | |
| * $foo->getStuff('category', 1, 100); | |
| * | |
| * function getStuff($type, $page = 1, $limit = 100) |
I hereby claim:
To claim this, I am signing this object:
| config.vm.provision "shell", path: "relative/path/to/setup_mailcatcher.sh” |
| #!/bin/bash | |
| # Get Mailcatcher setup commands from gist and apply them | |
| curl https://gist.githubusercontent.com/conroyp/741c30c44f5295f41422/raw/f86ee70bede0748292c3a21d34ab23da1696a0dc/setup_mailcatcher.sh | bash |
| <?php | |
| return [ | |
| ‘driver’ => ‘smtp’, | |
| 'host' => '127.0.0.1', | |
| 'port' => 1025, | |
| 'username' => '', | |
| 'password' => '', | |
| ‘encryption’ => false, | |
| ‘from’ => [ | |
| ‘address’ => ‘[email protected]’, |
| #!/bin/bash | |
| # Install dependencies | |
| apt-get install libsqlite3-dev ruby1.9.1-dev | |
| # Install the gem | |
| gem install mailcatcher | |
| # Make it start on boot | |
| echo "@reboot $(which mailcatcher) --ip=0.0.0.0" >> /etc/crontab | |
| update-rc.d cron defaults |