Difference between system call and C
This file contains hidden or 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
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "right", | |
"command": "-extension.vim_right", | |
"when": "editorTextFocus && vim.active && !inDebugRepl" | |
}, | |
{ | |
"key": "shift+backspace", | |
"command": "-extension.vim_shift+backspace", |
This file contains hidden or 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
dd1 <- c(21000, 23400, 26800) | |
dd2 <- c(29002, 10000, 70000) | |
library(viridis) | |
library(effsize) | |
library(sm) | |
library(magicaxis) | |
library(beanplot) |
As configured in my dotfiles.
start new:
tmux
start new with session name:
git rm -r --cached .
git add .
git commit -m ".gitignore fix"
reference: http://www.codeblocq.com/2016/01/Untrack-files-already-added-to-git-repository-based-on-gitignore/
This file contains hidden or 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
# Print iterations progress | |
def printProgressBar (iteration, total, prefix = '', suffix = '', decimals = 1, length = 100, fill = '█'): | |
""" | |
Call in a loop to create terminal progress bar | |
@params: | |
iteration - Required : current iteration (Int) | |
total - Required : total iterations (Int) | |
prefix - Optional : prefix string (Str) | |
suffix - Optional : suffix string (Str) | |
decimals - Optional : positive number of decimals in percent complete (Int) |
This file contains hidden or 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
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
vim +PluginInstall +qall |
- check disk space:
df -H
- transfer file from server to local:
scp [email protected]:foobar.txt /local/dir
- local to server:
rsync -avz -e 'ssh' foobar.txt [email protected]:somewhere
- find file and remove:
find . -maxdepth 1 -regex './[a-z0-9]*' | xargs rm -rf
find the folderfind . -type f
-maxdepth 1 means non-recursive
xargs
is the command that "converts" its standard input into arguments of another program, or, as they more accurately put it on the man page\ - count word, line:
wc -l -w [file]
作者:硕鼠酱 链接:https://www.zhihu.com/question/33977252/answer/157448123 来源:知乎 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
- Computer architecture ASPLOS, ISCA, MICRO
- Computer networks INFOCOM, SIGCOMM, NSDI
- High-performance computing HPDC, ICS, SC
- Operating systems EuroSys, OSDI/SOSP, USENIX ATC
- Programming languages PLDI, POPL
NewerOlder