Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.03 KB

File metadata and controls

53 lines (39 loc) · 1.03 KB

Essential Commands

Vim

File save/close: Esc :wq File don't save /close: :q!

Copy: Highlight and, press y / Paste: p for paste / Shift + Ins

Delete a whole line: dd / .

MySQL Database

mysql -u root create database vue; show drop database vue;

use vue; show tables; drop table emp; quit

Start server: mysqld Stop server: mysqladmin -u root shutdown (or -p pass) Restart:

Laravel

php artisan config:clear php artisan cache:clear composer dump-autoload

PHP Storm shortcuts

To complete statement

Ctrl+Shift+Enter

Move between classes

CTRL+SHIFT+N and CTRL+N move to any part of any class

Select same word

Alt+j ALT+ENTER in the string’s content and select Edit HTML content.

Copy a file

Ctrl + Shift + s

CTRL+F12 select a method in the current

Holding CTRL when hovering over variables, CTRL+Clicking on a variable or method, CTRL+B when on a method’s call Ctrl+Shift+Backspace Navigate to the last edited location.

Comments

/* + Enter