Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji | 
|---|---|
| Initial commit | 🎉 :tada: | 
| Version tag | 🔖 :bookmark: | 
| New feature | ✨ :sparkles: | 
| Bugfix | 🐛 :bug: | 
| <?php | |
| return [ | |
| 'client_id' => env('PAYPAL_CLIENT_ID', ''), | |
| 'secret' => env('PAYPAL_SECRET', ''), | |
| 'settings' => array( | |
| 'mode' => env('PAYPAL_MODE', 'sandbox'), | |
| 'http.ConnectionTimeOut' => 30, | |
| 'log.LogEnabled' => true, | |
| 'log.FileName' => storage_path() . '/logs/paypal.log', | 
| <?php | |
| namespace App\Http\Controllers; | |
| use Gloudemans\Shoppingcart\Facades\Cart; | |
| use Illuminate\Support\Facades\Input; | |
| use PayPal\Api\Amount; | |
| use PayPal\Api\Item; | |
| use PayPal\Api\WebProfile; | |
| use PayPal\Api\ItemList; | 
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji | 
|---|---|
| Initial commit | 🎉 :tada: | 
| Version tag | 🔖 :bookmark: | 
| New feature | ✨ :sparkles: | 
| Bugfix | 🐛 :bug: | 
| RewriteEngine On | |
| RewriteCond %{ENV:REDIRECT_STATUS} !=503 | |
| RewriteCond "/var/www/example.com/html/.maintenance" -f | |
| RewriteRule ^(.*)$ /$1 [R=503,L] | 
| location / { | |
| if (-f $document_root/.maintenance) { | |
| return 503; | |
| } | |
| ... | |
| } | 
| <?php | |
| namespace App\Http\Controllers; | |
| use App\Http\Controllers\Controller; | |
| use App\User; | |
| use Illuminate\Http\Request; | |
| class UsersController extends Controller | |
| { | |
| protected $model; | 
| <?php | |
| namespace App; | |
| use App\Models\AppModel; | |
| use App\Traits\FilterTrait; | |
| class User extends AppModel | |
| { | |
| use FilterTrait; | 
| <?php | |
| namespace App\Traits; | |
| trait FilterTrait { | |
| /** | |
| * add filtering. | |
| * | |
| * @param $builder: query builder. | 
| <?php | |
| /* From https://www.usps.com/send/official-abbreviations.htm */ | |
| $us_state_abbrevs_names = array( | |
| 'AL'=>'ALABAMA', | |
| 'AK'=>'ALASKA', | |
| 'AS'=>'AMERICAN SAMOA', | |
| 'AZ'=>'ARIZONA', | |
| 'AR'=>'ARKANSAS', | 
| --- | |
| AWSTemplateFormatVersion: 2010-09-09 | |
| Parameters: | |
| RepositoryBranch: | |
| Type: String | |
| Default: master | |
| Cluster: |