Month: 九月 2013

mac编译安装php的handlersocket扩展

这里很坑爹………地址换了….网上到处都是旧的github地址….

更郁闷的是旧地址的代码在centos等各个linux都能编译通过 , 但是到了mac就郁闷了 , 各种报错…..

坑爹来的

然后很多人说hs没在维护了,那是因为他们看到的是旧的git代码地址….囧…..

搞死我了,我还真以为他不更新了,看到git项目,3年没更新了,心都凉了……

各种找错误各种改人家源码 , 一个一个编译…快疯了…..

最后受不了,准备从新理顺一下 , 然后去看他最后一次提交的文件 , 看完所有英文后 , 尼玛……源码地址换了都!!!!!

人家几年前在README最后面都写了切换地址了….没人看

The home of HandlerSocket is here:  https://github.com/DeNA/HandlerSocket-Plugin-for-MySQL.git

重新搞起…..一下子搞定…..

 

卧槽…网上那些人害死我了…连看都没看就拿到旧代码一直用还一直说人家不更新….我擦

安装步骤

重启服务器即可

无尽的cookies的游戏 , 加速方式

http://orteil.dashnet.org/cookieclicker/

自己写脚本,然后在chrome或者firefox中执行
setInterval(Game.ClickCookie,1); //点击cookie , 可以多执行几次…..上百次上千次都可以
setInterval(Game.goldenCookie.click,1); //点击随机出现的cookie

for(var i = 0 ; i < 1000; i++){setInterval(Game.ClickCookie,1);}

setInterval(function(){Game.ObjectsById[9].buy();},1000 * 10);

for(var i=0;i<1000;i++){setInterval(function(){Game.UpgradesById[74].buy();Game.UpgradesById[85].buy();},1);}

 

超强,目前每秒3千万 [没用加速方式达到了每秒1千万后,在快2k万的时候开始用加速方式了T.T]

MS4wMzR8fDEzNzc2NzU3NjQwMzl8MTExMTEwfDU4NTUyNzQ4MDAwMzsyNTAyODg5OTg3NzE0NjszMTQxNzk7MzszOTEzNDEwMTY2OTc1OzI5MjstMTstMTswOzA7MDswOzA7LTF8MTYyLDE2MiwyNDc1MzU1MDA0MTEsTmFOOzE2MCwxNjAsNzMwNjAyOTMwNDAsTmFOOzEyMCwxMjAsMzIwNDMyODE0LE5hTjsxMjAsMTIwLDE2NjQ5MDY4MzgsTmFOOzEwMCwxMDAsNTA5MTQ2ODg2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