Let's say you want to host domains first.com
and second.com
.
Create folders for their files:
alias weather='curl -s wttr.in | sed -n "1,7p"' |
# Before Script | |
before_script: | |
- composer self-update | |
- composer install --prefer-dist > /dev/null | |
- cp .env.example .env | |
- php artisan key:generate | |
- php artisan migrate:refresh | |
# Services | |
services: |
before_script: | |
- composer install --prefer-dist > /dev/null | |
- export APP_ENV=testing | |
unitTesting: | |
script: | |
- echo "Running PHP Unit tet" | |
- php vendor/bin/phpunit --colors --debug --coverage-text | |
codeSniffer: | |
script: |
Option + left/right is awesome for jumping around quickly horizontally, but if you're like me, you've probably tried to use that same muscle memory to jump vertically by using option + up/down.
Here's a few macros you can use to accomplish that, as well as creating selections while jumping vertically as well.
Add these shortcuts and you'll be in bizniz:
//...
{ "keys": ["alt+up"], "command": "run_macro_file", "args": {"file": "Packages/User/move_3_lines_up.sublime-macro"} },
{ "keys": ["alt+down"], "command": "run_macro_file", "args": {"file": "Packages/User/move_3_lines_down.sublime-macro"} },
@servers([ 'remote' => 'server.example.com', ]) | |
@setup | |
if ( ! isset($repo) ) | |
{ | |
throw new Exception('--repo must be specified'); | |
} | |
if ( ! isset($base_dir) ) | |
{ |
<?php | |
$objValidation = $objPHPExcel->getActiveSheet()->getCell("C$curr_row")->getDataValidation(); | |
$objValidation->setType( PHPExcel_Cell_DataValidation::TYPE_LIST ); | |
$objValidation->setErrorStyle( PHPExcel_Cell_DataValidation::STYLE_INFORMATION ); | |
$objValidation->setAllowBlank(false); | |
$objValidation->setShowInputMessage(true); | |
$objValidation->setShowErrorMessage(true); | |
$objValidation->setShowDropDown(true); | |
$objValidation->setErrorTitle('Input error'); | |
$objValidation->setError('Value is not in list.'); |