Atom Editor Comprehensive Shortcut List

I have been an avid Textmate user since about 5 years ago. I have worked with it for so long that I have been so familiar with it. In the past few months I have been trying out Atom. Atom is an open-source editor created by Github. I always say that an editor is only as good as how you use it. Shortcuts are one of the ways to enhance speed with coding.

Here is a comprehensive shortcut list used in Atom

Atom Editor Shortcuts

Case

Task Command
convert to lowercase Command-k-L
convert to uppercase Command-k-U

Comments

Task Command
Toggle Comment Command-/

File Management

Task Command
Find File Command-t
Open File Command-b
Toggle Tree View Pane Command-\
Reopen Last File Command-Shift-t

 MySQL error: The partition with /var/lib/mysql is too full! Fix

MySQL error: The partition with /var/lib/mysql is too full!

An unusual error.

The fix for it is to restart MySQL

Look for the process

ps -aux | grep mysql
root      5314  0.0  0.1  11748  2220 pts/0    S+   11:18   0:00 grep --color=auto mysql
mysql    30357  0.2  8.5 825260 174464 ?       Ssl  Dec14   6:25 /usr/sbin/mysqld

Kill the process

root@localhost:~# kill 30357

Restart MySQL

root@localhost:~# sudo /etc/init.d/mysql start
 * Starting MySQL database server mysqld                                                                      [ OK ] 

Now your MySQL should be looking good!

 ssh Command Examples

ssh lets you login to remote hosts and transfer files

ssh command Syntax

$ ssh options

Options Description
-V get the version of the SSH Client
-v verbose

ssh command examples

login to remote hosts

ssh root@somewhere.com

login to remote hosts with verbose messages. Causes ssh to print debugging messages about its progress.

ssh -v root@somewhere.com