I hereby claim:
- I am cviebrock on github.
- I am cviebrock (https://keybase.io/cviebrock) on keybase.
- I have a public key whose fingerprint is 5099 35DF 565A 490D E8B4 C4B9 B5CD D17A 2B4A 066B
To claim this, I am signing this object:
| <?php | |
| class PostService { | |
| /** | |
| * @param array $scopes | |
| * | |
| * @return \Illuminate\Database\Eloquent\Builder | |
| */ | |
| public function buildScopedQuery(array $scopes = []): Builder |
| <?php | |
| class :{ | |
| public static function ()($x) { | |
| return $x; | |
| } | |
| public static function rеturn ($x) { | |
| echo $x; | |
| } | |
| } |
| #!/bin/sh | |
| # Find the mails you want to compress in a single maildir. | |
| # | |
| # Skip files that don't have ,S=<size> in the filename. | |
| # | |
| # Compress the mails to tmp/ | |
| # | |
| # Update the compressed files' mtimes to be the same as they were in the original files (e.g. touch command) | |
| # |
| <?php namespace App\Providers; | |
| use Elastica\Client; | |
| use Illuminate\Support\ServiceProvider; | |
| use Monolog\Formatter\LogstashFormatter; | |
| use Monolog\Handler\ElasticSearchHandler; | |
| class ElasticLoggingProvider extends ServiceProvider | |
| { |
| <?php | |
| if ($argc < 3) { | |
| echo <<< EOB | |
| USAGE: {$argv[0]} myRating opp1rating [opp2rating...] | |
| EOB; | |
| exit(1); | |
| } |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| namespace App\Validators; | |
| use Illuminate\Contracts\Validation\Validator; | |
| class ListOfValidator | |
| { | |
| public function validate($attribute, $value, $parameters, Validator $validator) |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Blue Component</key> | |
| <real>0.0</real> | |
| <key>Green Component</key> | |
| <real>0.0</real> |
Just a collection of links to all the slide decks used at Laracon 2015 in Louisville, KY.
Leveraging Laravel: Launching Side Projects Quickly With Laravel
When It All Hits the Fan
| # vim:ft=zsh ts=2 sw=2 sts=2 | |
| # | |
| # agnoster's Theme - https://gist.github.com/3712874 | |
| # A Powerline-inspired theme for ZSH | |
| # | |
| # # README | |
| # | |
| # In order for this theme to render correctly, you will need a | |
| # [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
| # |