维基毒晚期患者,正在为猫武士编写维基。
因为实在找不到更好的横幅所以只能无耻地去盗谷歌的横幅了。
CXuesong aka. forest93
另请参阅
- GitHub: http://github.com/cxuesong
System.WeakReference<T>
维基毒晚期患者,正在为猫武士编写维基。
因为实在找不到更好的横幅所以只能无耻地去盗谷歌的横幅了。
CXuesong aka. forest93
另请参阅
https://github.com/CXuesong/PrettyBots
去年写的代码,一直没上传。总之就是想给百度做个接口——虽然最后只做了一个贴吧的。后来,在这个接口的基础上,写了一个简易的贴吧控制台程序。(其实,如果不是上课压力重,估计百度控制台程序就能出来了……)
不过……说实话,用控制台封禁水军感觉还是很爽的(piiiia)
Continue reading “使用控制台访问百度贴吧”
如下所示
#if DEBUG // We want to ensure we can change our hash function daily. // This is perfectly fine as long as you don't persist the // value from GetHashCode to disk or count on String A // hashing before string B. Those are bugs in your code. hash1 ^= ThisAssembly.DailyBuildNumber; #endif return hash1 + (hash2 * 1566083941);
Reservoir sampling is a family of randomized algorithms for randomly choosing a sample of k items from a list S containing n items, where n is either a very large or unknown number. Typically n is large enough that the list doesn’t fit into main memory.