As configured in my dotfiles.
开启一个新的会话:
tmux
开启一个新的带名字的会话:
| 定义一个 markdown-mode下的 snippet | |
| <pre> | |
| # -*- mode: snippet -*- | |
| # name: zhoubao | |
| # key: zhoubao | |
| # binding: C-c C-n | |
| # -- | |
| ## ${1:#你的名字#}周报 | |
| `(concat "__" (yesterday-is 1) " ~ " (tommorow-is 5) "__")` |
| source ~/.bash_profile | |
| hash oclint &> /dev/null | |
| if [ $? -eq 1 ]; then | |
| echo >&2 "oclint not found, analyzing stopped" | |
| exit 1 | |
| fi |
| #include <stdio.h> | |
| inline void i_hello() { | |
| printf("hello\n"); | |
| } | |
| static inline void si_hello() { | |
| printf("static inline hello\n"); | |
| } |
As configured in my dotfiles.
开启一个新的会话:
tmux
开启一个新的带名字的会话:
svn提供了比git更为精细的权限控制,按照目录为单位。
svn co http://svn.miaomiao.com/svn/trunk -r HEADsvn mkdir http://svn.foo.com/svn/branches/fleuriasvn cp http://svn.foo.com/svn/trunk http://svn.foo.com/svn/branches/fleuria/issue1svn switch http://svn.foo.com/svn/branches/fleuria/issue1svn commit -m 'commit message' file1.c file2.csvn revert -R .| ;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
| ;by doppelganger (doppelheathen@gmail.com) | |
| ;This file is provided for your own use as-is. It will require the character rom data | |
| ;and an iNES file header to get it to work. | |
| ;There are so many people I have to thank for this, that taking all the credit for | |
| ;myself would be an unforgivable act of arrogance. Without their help this would | |
| ;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
| ;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |
| # Raw transaction API example work-through | |
| # Send coins to a 2-of-3 multisig, then spend them. | |
| # | |
| # For this example, I'm using these three keypairs (public/private) | |
| # 0491bba2510912a5bd37da1fb5b1673010e43d2c6d812c514e91bfa9f2eb129e1c183329db55bd868e209aac2fbc02cb33d98fe74bf23f0c235d6126b1d8334f86 / 5JaTXbAUmfPYZFRwrYaALK48fN6sFJp4rHqq2QSXs8ucfpE4yQU | |
| # 04865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac09ef122b1a986818a7cb624532f062c1d1f8722084861c5c3291ccffef4ec6874 / 5Jb7fCeh1Wtm4yBBg3q3XbT6B525i17kVhy3vMC9AqfR6FH2qGk | |
| # 048d2455d2403e08708fc1f556002f1b6cd83f992d085097f9974ab08a28838f07896fbab08f39495e15fa6fad6edbfb1e754e35fa1c7844c41f322a1863d46213 / 5JFjmGo5Fww9p8gvx48qBYDJNAzR9pmH5S389axMtDyPT8ddqmw | |
| # First: combine the three keys into a multisig address: | |
| ./bitcoind createmultisig 2 '["0491bba2510912a5bd37da1fb5b1673010e43d2c6d812c514e91bfa9f2eb129e1c183329db55bd868e209aac2fbc02cb33d98fe74bf23f0c235d6126b1d8334f86","04865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac09ef122b1a9 |
cat http2kfc.20121008 | grep tbskip |head -n 1000000 |
perl -MURI -MList::Util -nale '$uri = new URI ("/bin/search?" . $F[-1]);
%h = $uri->query_form; $fat= List::Util::reduce { $a . "_". $b } (keys %h);
print $fat;' | sort | uniq -c