Command | Description |
---|---|
:q[uit] |
Quit Vim. This fails when changes have been made. |
:q[uit]! |
Quit without writing. |
:cq[uit] |
Quit always, without writing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias weather='curl -s wttr.in | sed -n "1,7p"' | |
alias weather_now="curl -s wttr.in | sed -n '1,7p'" #current weather | |
alias weather_today="curl -s wttr.in | sed -n '1,17p'" #weather today | |
alias weather_tommorow="curl -s wttr.in | sed -n '18,27p'" #weather tomorrow | |
alias weather_all="curl -s wttr.in | sed -n '1,38p'" #long weather.. all data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-03-20T02:58:29.355Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.colorTheme": "Slime", | |
"workbench.activityBar.visible": false, | |
"explorer.openEditors.visible": 0, | |
"workbench.statusBar.visible": false, | |
"editor.fontFamily": "Operator Mono", | |
"editor.fontSize": 13, | |
"editor.fontLigatures": true, | |
"editor.formatOnSave": true, | |
"editor.minimap.enabled": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Traits; | |
use Illuminate\Http\Response; | |
trait ApiController { | |
/** | |
* @var int | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class BaseController extends Controller | |
{ | |
public function callAction($method, $params) | |
{ | |
$ajax = Request::isAjax(); | |
try { | |
return parent::callAction($method, $params); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
use Symfony\Component\HttpFoundation\ParameterBag; | |
/** | |
* @author https://github.com/Stunext | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
filetype off " required <<========== We can turn it on later | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
composer config -g repo.packagist composer https://packagist.phpcomposer.com |