Site to Phone - Send links or text from your browser to your phone
A free chrometophone clone but supports iOS. Not really great but works.
Btw, if you want something polished check PushBrowser which is a paid app does almost the same thing but looks prettier and easier to use.
xdite's smalltalk: 舊金山之旅,用全新的角度看世界
這次去美國玩其實是我一直以來的心願。Railsconf + 舊金山自由行。去了快三個禮拜。花了超過 100K(我爸媽看到這個數字應該會抓狂…)。但要我說,這錢花的真的超值得!
首先去 Railsconf 這件事,讓我開了不少眼界。能看到人家專業的 Conf 是怎樣舉辦的。神人是怎樣挑講題的。講者和大會的視野…etc. 關於這部分我有寫了三篇文章。
緊接著去 Railsconf 之後是兩週的 舊金山 / 灣區 自由行。這是目前還沒有寫出來的部分。
我真的推薦大家有生之年要去進行一次這樣的旅行。如果你正在作網路業更要去看看,可以徹底改變你看待事情的角度。
…
Google Analytics Easy Dashboard Javascript Library
Google 推出的 Google Analytics Easy Dashboard library,標榜比較好操作 google analytics…
This library is designed to create an easy way to build a custom Google Analytics Dashboard on your own page.
Motion-layouts
mind-blowing, the power of DSL
【拼音】:jiān kǔ zhuó jué
【釋義】:堅忍刻苦的精神超過尋常。
【出處】:《宋史·邵雍傳》:“始為學,即堅苦刻厲,寒不爐,暑不扇,夜不席者數年。”
【例子】:用儒家之道德,故艱苦卓厲者絕無,而冒沒奔競者皆是。(章炳麟《諸子學略說》) 加油加油!!!
(Source: tw.18dao.net)
domInteractive property
有這個東西~~!
Avoid ReferenceError in Javascript
As mentioned in the previous post, a reference comprises two parts: base value and reference name, for example: in the reference “window.console”, “window” is the base value and “console” is the reference name. The ReferenceError is raised when the base value of a reference could not been resolved. The easiest way to check variables is using typeof:
if(typeof undefinedVar === ‘undefined’) {}
It works across all situations without raising ReferenceError, but writing this kind of checks is really tedious.
So, how can we avoid ReferenceError without typing “typeof …” all the time?
To sum it up, just check global object properties like below no matter where the code is (global scope or function scope):
if(window.console) {
// do something with console object
}
Any other variables such as function arguments or local variables in the function scopes, check them like this:
(function(window, undefined){
var foo = aFunctionMayReturnUndefined();
if(foo) {
//do something with foo
}
if(window.console) {
}
})(window)
The only requirement of this defined checking is declaring local variables in your function correctly.
第一個寫法會出現 ReferenceError 的原因,是因為 javascript 無法找到 gy 屬性的 base value。但如果直接指名 base value 為 window,即使 window 物件沒有 gy 屬性,還是不會出現 ReferenceError。
詳細請參考這篇:http://javascriptweblog.wordpress.com/2010/08/16/understanding-undefined-and-preventing-referenceerrors/