URL: http://www.v2ex.com/api/site/stats.json
获取社区统计信息。
URL: http://www.v2ex.com/api/site/stats.json
获取社区统计信息。
Support for keeping an audit trail for any state machine, borrowed from the Ruby StateMachine audit trail gem. Having an audit trail gives you a complete history of the state changes in your model. This history allows you to investigate incidents or perform analytics, like: “How long does it take on average to go from state a to state b?”, or “What percentage of cases goes from state a to b via state c?”
| var obj = { | |
| hello: function() { | |
| console.log('sofish'); | |
| }, | |
| world: function(){ | |
| console.log('lin'); | |
| } | |
| }; | |
| var fn = function(hello, ooxx, world){ |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.shadowsocks</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>python</string> | |
| <string>/shadowsocks-master/local.py</string> |

在磁盘中创建备份目录 mkdir /media/usbdisk/mactimebak 推荐使用ext4分区(打开notime)
安装nettalk
| 王 | |
| 江 | |
| 周 | |
| 胡 | |
| 刘 | |
| 李 | |
| 吴 | |
| 毛 | |
| 温 | |
| 习 |
| ############################## | |
| # 在通过cd命令更改目录时,可动态将iTerm的tab title改为当前的目录(只取最近的目录名) | |
| # Usage:加入到~/.bash_profile,并重新source使其生效 | |
| ############################## | |
| # change tab title | |
| settitle() { printf '\e]0;'${@}'\a' ; return ; } | |
| # rewrite cd | |
| cd() { command cd "$@"; settitle $(basename $(pwd)); return ; } |
| # Video: http://rubyhoedown2008.confreaks.com/08-chris-wanstrath-keynote.html | |
| Hi everyone, I'm Chris Wanstrath. | |
| When Jeremy asked me to come talk, I said yes. Hell yes. Immediately. But | |
| then I took a few moments and thought, Wait, why? Why me? What am I supposed | |
| to say that's interesting? Something about Ruby, perhaps. Maybe the | |
| future of it. The future of something, at least. That sounds | |
| keynote-y. | |