cheatsheet for FUW
some words used in coding
- toggle
- quote
- snippet
- typo
cheatsheet for FUW
随想2
随想
启用一个新blog(Hugo试用)
Example lead - highlighted near the title
c++笔记:STL容器迭代器失效场景
stl迭代器失效场景
(完整版见下面 Ref1 or cppref) note:
顺序型容器
c++笔记:STL相关
笔记:一些日常cheatsheet
日常cheatsheet~
valgrind --tool=memcheck --leak-check=full --log-file=leak.log --soname-synonyms=somalloc=NONE <some_exe> [<some_exe_args>]
tcpdump -r /tmp/a.cap -A -S -n -nn | grep -i -E "select|insert|update|delete|replace" | sed 's%\(.*\)\([.]\{4\}\)\(.*\)%\3%' | less
python -m SimpleHTTPServer 8123
wget -c -r -nH -m --limit-rate=400m "http://ip:8123/xxxx"
python -c 'from zlib import crc32; print crc32("1476777") % 1024'
#!/usr/bin/python
# -*- coding: UTF-8 -*-
import sys
import json
data = ""
for line in sys.stdin:
data += line
text = json.loads(data)
print(text)
tee
with a pipe output to screen and a fileecho "hello" | tee abc.txt
ps
top
tasr
sar