See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+shift+/", | |
"command": "openInTerminal" | |
}, | |
{ | |
"key": "ctrl+shift+'", | |
"command": "workbench.action.terminal.kill" | |
}, |
{ | |
"editor.bracketPairColorization.enabled": true, | |
"editor.cursorBlinking": "phase", | |
"editor.cursorSmoothCaretAnimation": true, | |
"editor.cursorStyle": "block", | |
"editor.fontFamily": "'Fira Code Retina', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 14, | |
"editor.formatOnSave": false, | |
"editor.guides.bracketPairs": "active", |
/* --- Usage --- */ | |
g++ server.c -o server | |
g++ client.c -o client | |
./server | |
./client 127.0.0.1 | |
/* --- server.c --- */ | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> |
/* http://l3net.wordpress.com/2012/12/09/a-simple-telnet-client/ */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <arpa/inet.h> | |
#include <termios.h> | |
#include <fcntl.h> | |
1. Ctrl + Shift + N => New terminal window | |
This shortcut can be used to open a new terminal window. For this to work, you should already be on the terminal window. | |
2. Ctrl + Shift + T => New terminal tab | |
If you use above combination, you can open terminal tab on same window. | |
3. Ctrl + C or Ctrl + Z => Kill the current process | |
If you are running any application through the terminal, you can kill it by using the above combination. | |
4. Ctrl + R => Reverse search |