摘要:
静态ip参考Ubuntu通过PPTP协议使用VPN动态ip直接使用network-manager 阅读全文
摘要:
cd yourdirectoryperl -e 'for(){((stat)[9]<(unlink))}'参考Efficiently delete large directory containing thousands of files 阅读全文
摘要:
find . -size 0 -name "*.log" -exec rm {} \; 阅读全文
摘要:
find . -type d -maxdepth 1 | grep "./" | sed 's/\.\///g' | sed 's/-[0-9].*$//' | sort -u 阅读全文
摘要:
yum install `yum deplist emacs | grep provider | awk -F: '{print $2}' | awk '{print $1}' | xargs`yum install libX11-devel libjpeg-turbo-devel libpng-d... 阅读全文
摘要:
grep -vxFf b.txt a.txt > newa.txt更好的方法是comm -1 -3 b.txt a.txt > newa.txt来自Tool in unix to subtract text files? [duplicate] 阅读全文
摘要:
linux:svn propset svn:executable on *svn commit -m "add executable property" 阅读全文
摘要:
$emacs在emacs查看里面,输入:C-u 0 M-x byte-recompile-directory然后输入~/.emacs.d即可。 阅读全文
摘要:
在同一个生产环境中,多语言配合开发是常态,暂时发现几个不同方法。1. 共享数据库。数据库是瓶颈,如果有其中一个锁住了数据库,其他的所有的都会崩溃。2.使用thrift多语言RPC调用。3.使用rabbitmq等消息队列。 阅读全文
摘要:
$erl -name a@localhost -setcookie abc -remsh b@localhost1>fprof:trace([start, {file, "/home/getong/first.trace"}, verbose, {procs,all}]).2>fprof:trac... 阅读全文