刚开学注册真是闲的蛋疼……好久没更新的blog可以水好几篇了~

最近升级了人人v7,发现人人网改造器挂了,想下个相册都没办法。后来找到一个专门下载人人相册的工具,试了下也不灵,应该是HTML结构变化所致,就稍微改了改代码,使得在新版人人上也能用了。

Read More →

为了编译libcurl,必须下载android系统源代码,结果发现被某墙弄的基本不能下。我手头只有一个性能很弱的vps,最后没办法走上了双重代理不归路~最后使用了ssh端口转发,然后socks5代理转http代理(其实也可以拿来干别的事情,如上上网什么的)

Read More →

This extension plugin is able to load images from system photo library. Native calls for Android, iOS(iPhone+iPad) & Win32. More details can be found here ImagePicker.

NOTE: please check the example files first before using! I’ve tested code with v3.5 and v3.10, and it should always work if the cocos2d::Texture2d related API doesn’t break…

ps. I made a Pull Request to cocos before and it seems they don’t need it. So I just put it here seperately.

Android iOS
Android iOS
Read More →

最近尝试了一下在Visual Studio 2012中编译Unreal 4,记录一下其中踩的坑~

ps: 其实这个纯粹是我蛋疼才这么干的,还是升级VS比较方便…

Read More →

I was blocked by word ladder II in last two days.

I solve this problem with BFS building search graph + DFS build paths. However I tried my best optimizing but got Time Limit Exceeded (I’ve tried three ways of building path”. After profiling, it seems in the building path part, copying ArrayList consumes too much time.

Read More →

I encountered a very strange problem these days: can’t link glew in C++ code. I’ve tried this code but failed, my post in SO:

Read More →

注:这其实是我大四时一门课配套大作业,当时配环境折腾很久~后来发人人网共享,结果昨天学长给我留言有人不带名字抄袭。虽然很冷这个都有人搞,但总归还不如给自己骗流量呢哈哈哈哈……

三篇大合集哦也!

Read More →

Wind.js是什么?

@老赵 写的一个js库 本质是用eval函数实现的~我们写看起来是同步的顺序流程代码,但是实质异步执行

Read More →

DEMO链接

手册主要为程老师撰写~具体内容见前文

Read More →

本学期计算几何课程,选了三维模型布尔运算作为大作业选题。主要考虑到邓公的演示一向比较绚丽多彩,各种PDF和网页中的applet作为demo;我就想把我们最后的东西也搬到网页上来。

核心的算法是赵老湿和程老湿弄的,一开始我是想人肉翻译成Javascript代码,后来发现了一个神器emscripten,就从此走入了轻松愉快坑爹无数之路……

Read More →