米良的二窝

2012年3月21日星期三

A way to expose signleton object and its constructor in node.js

›
In Node.js world, we usually encapsulate a service into a module, which means the module need to export the façade of the service. In most c...
2012年3月18日星期日

Enhanced typeof() operator in JavaScript

›
Javascript is weakly typed, and its type system always behaves different than your expectation. Javascript provide typeof operator to test ...
2012年3月15日星期四

Distribute files to multiple servers via scp

›
The most common task when operating the servers is to distribute a file to multiple servers. So I wrote a piece of shell script to solve th...
2012年2月4日星期六

HTML codes to put special characters on your Web page

›
尝试了一下用 LinqPad 把各种诡异的字母转成 Html 编码~结果发现不是左右字符都能转过去~ .net 内置的工具并不能完美的处理所有的Html编码~ 字符来源 http://webdesign.about.com/library/bl_htmlcodes.htm Qu...
2011年11月21日星期一

Chrome Extension Isolation

›
I met a wield problem today, while I'm developing a chrome extension for our QAs. I try to inject a script to click a group of specific...
2011年11月13日星期日

Simple Design

›
最近TW HR改變了Code Reivew的流程。現在所有應聘者的提交的代碼都會被上傳到一個SVN Server上去,然後大家 Review 完,通過 myTW 的投票機制打分。 其實這份代碼,麼一個 TWer 應該都有寫過,於是不知道從誰開始的,最近突然流行起了把自己當年面試時...
2011年10月13日星期四

Chrome Remote Desktop is amazing

›
Google Chrome Remote Desktop Extension is really amazing!!!!! I try to install the extension on both Chrome on my iMac and the one on my lap...
2011年9月19日星期一

Incredipede:一个神奇的游戏

›
http://incredipede.com/ 这真的是一个神奇的游戏,代码估计是用 C# +  Farseer 物理引擎写的! 这创意绝了~ 游戏是要求玩家创造一个生物,然后生物重复某种动作,不断前进。当它卡住的时候,玩家可以改造这个生物的形态,然后让它继续前进~ Best r...
2011年9月16日星期五

TDD vs Natural Selection : Part II

›
As discussed in previous part, both TDD and natural selection can produce suitable designs. But there are costs. The design from mayual sel...
2011年9月14日星期三

FluentAssertion is not compatible with xUnit.Extensions

›
I met a weird problem that I found the Resharper Test Runner hangs when I introduced theory test case in my unit test.  After some spikes, I...
›
主页
查看网络版本

我的简介

米良的二窝
查看我的完整个人资料
由 Blogger 提供支持.