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
#pragma once | |
#include <string> | |
#include <vector> | |
class SqlHt | |
{ | |
public: | |
~SqlHt(); |
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
change to previous working directory: | |
cd - | |
cd $OLDPWD | |
backup file: | |
cp file{,.bak} | |
change file extension: | |
mv file{.old,.new} |
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
valgrind -log-file=/home/deneb/valog --leak-check=full --show-reachable=yes --track-origins=yes binary |
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
Ctrl Shift L - more shortcuts | |
F3 - open declaration | |
Ctrl H - search in files | |
Ctrl Shift T - search java type | |
Ctrl Shift G - find references in workspace | |
Ctrl G - find reference in project | |
Ctrl O - methods, twice methods from parent |
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
javac Jrt.java Config.java ModuleInfo.java | |
jar -cvmf Manifest.txt Jrt.jar Jrt.class Config.class ModuleInfo.class | |
Manifest.txt | |
Main-Class: Jrt |
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
C-x C-f - find file | |
C-x C-s - save | |
C-x C-w - save as | |
C-x C-c - exit | |
Navigation | |
M-f M-b - forward/backword 1 word | |
C-n C-p - next line , prev line | |
C-a C-e - begining of line , end of line |
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
colorscheme elflord | |
set tabstop=4 | |
set expandtab | |
set shiftwidth=4 | |
set wildchar=<Tab> wildmenu wildmode=full | |
set ruler | |
set nobackup | |
set nowritebackup | |
set ignorecase | |
set smartcase |
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
build db: | |
cscope -R -b -q | |
ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . | |
CTRL + ] - go to definition | |
CTRL + \ s - search occurences of symbol below cursor | |
CTRL + t - go back |
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
----------- | |
Visual mode | |
----------- | |
v | |
y - yank | |
p - paste | |
select text << >> - indentation | |
d - delete marked text | |
~ - switch case |