Last active
November 20, 2018 03:20
-
-
Save franckweb/2acebf598db1a84fb54ea6a21178c147 to your computer and use it in GitHub Desktop.
Helpful scripts
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
## VIM usage | |
# to delete all lines in a file | |
:1,$d | |
## SUBLIME Tabs | |
{ "keys": "ctrl+pagedown", "command": "next_view_in_stack" }, | |
{ "keys": "ctrl+pageup", "command": "prev_view_in_stack" }, | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" } | |
## SUBLIME Installation | |
1. wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - | |
2. echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list | |
3. sudo apt-get update | |
sudo apt-get install sublime-text | |
### Sublime packages | |
CompanionPHP, Emmet, TerminalView, MoveTab | |
## LARAVEL Debugging | |
$lastQuery = Base::getLastQuery(); | |
Log::info(__METHOD__ . " last query1: " . print_r($lastQuery, true)); | |
## Node Sass error on gulp | |
npm rebuild node-sass | |
## find calling function PHP | |
debug_backtrace()[1]['function'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment