I hereby claim:
- I am cballou on github.
- I am coreyballou (https://keybase.io/coreyballou) on keybase.
- I have a public key ASBMvS6f_1MLwT-AgL2aCt9z2y7BS-TyRw6z9AHwOvd24Ao
To claim this, I am signing this object:
| Verifying my Blockstack ID is secured with the address 1fo4sVGAUxsB22mMK1xFAFQCdb7YUcSvh https://explorer.blockstack.org/address/1fo4sVGAUxsB22mMK1xFAFQCdb7YUcSvh |
I hereby claim:
To claim this, I am signing this object:
| Verifying that "corey.id" is my Blockstack ID. https://onename.com/corey |
| <?php namespace App\Exceptions; | |
| use Log; | |
| use Mail; | |
| use Config; | |
| use Exception; | |
| use Illuminate\Auth\Access\UnauthorizedException; | |
| use Illuminate\Session\TokenMismatchException; | |
| use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; |
| <?php | |
| /** | |
| * Pad an AES encrypted key to ensure it's of valid size according | |
| * to specification. This function is backwards compatible with | |
| * PHP <= 5.5 and is intended for usage with PHP 5.6+. | |
| */ | |
| function pad_aes($str) { | |
| $c = strlen($str); | |
| $validLengths = array(16, 24, 32); | |
| foreach ($validLengths as $l) { |
| <?php | |
| return array( | |
| 'types' => array('sass', 'scss', 'less', 'styl', 'jade', 'haml'), | |
| 'watch' => array( | |
| '/path/to/public/css', | |
| '/path/to/alternate/css' | |
| ), | |
| 'minify' => true, | |
| 'ignore' => array() |
| <?php | |
| $config = array( | |
| 'tests' => array( | |
| 'signup-submit-button-test' => array( | |
| 'description' => 'A sample test', | |
| 'variations' => array( | |
| array( | |
| 'id' => 'submit-default', | |
| 'text' => '<button type="submit" {{click}}>Submit</button>' | |
| ), |
| <?php | |
| // if you are using composer, which is the preferred method of autoloading | |
| require_once('./vendor/autoload.php'); | |
| // create a new secret for a user wishing to enable 2FA | |
| // you will need to store this securely | |
| $secret = $ga->createSecret(); | |
| // example of generating a QR code to display to the end user |
| <?php | |
| require_once('MongoSession.php'); | |
| // the config array for loading MongoDB servers | |
| $config = array( | |
| // cookie related vars | |
| 'cookie_path' => '/', | |
| 'cookie_domain' => '.mydomain.com', // .mydomain.com | |
| // session related vars |
| $.fn.doubleRainbow.defaults = { | |
| startDistance: 500, | |
| steps: 20, | |
| startBgColor: '#333333', | |
| endBgColor: '#999999', | |
| startColor: '#CCCCCC', | |
| endColor: '#FFFFFF' | |
| }; |