First timer to Burning Man

Below are the things you may want to consider to bring along, speaking from my experience. My overall packing philosophy is to pack as little as possible. Food If you don’t plan to cook, then dry or packaged food is your friend. It’s hot there and you will gradually lose your appetite. I recommend bringing crackers that are plain and slightly salty, these will fill you up to a certain degree. I also recommend getting some packaged fruits (with juice). These are small plastic cups with fruits and juice inside. They will taste amazingly well trust me. Avoid anything that will melt, or have high sugar level. They will become very yucky. ...

September 5, 2013 · 6 min · birdchan

Change file permissions with many levels of sub-directories

Sometimes you need to set o+x to all sub directories recursively, but don’t want to set that for any files. ( chmod -R o+x * is overkill…) Here is how. find dir -type d -exec chmod o+x {} ';' Similarly you can set permissions for all files under the sub-directories. find dir -type f -exec chmod o+r {} ';' ref link: http://superuser.com/questions/208606/how-to-change-file-permissions-for-a-directory-in-one-command

September 3, 2013 · 1 min · birdchan

Coupon Code

http://xkcd.com/837/

August 13, 2013 · 1 min · birdchan

Ambient Backscatter

[youtube &w=640&h=360] This could probably change our future in very big ways! http://www.washington.edu/news/2013/08/13/wireless-devices-go-battery-free-with-new-communication-technique/

August 13, 2013 · 1 min · birdchan

十句最令人難受的安慰說話

這些你說過嗎?安慰時需要顧及別人感受,下次說話前,停一停,想一想。 丈夫去世,兩個月後太太仍然很傷心,太太的妹妹開口罵:「好了,你頹廢夠了!」媽媽突然遇上交通意外逝世,女兒接受不到,教會朋友勸她:「你不過是死掉媽媽罷了,還有很多人比你慘的!」孩子還沒出世,已經夭折,媽媽好難過,但更難過,是聽到人們說:「再生一個吧。」 聖公會過去九年來協助超過二千個喪親家庭辦喪事,家訪及致電慰問等的情緒支援可長達數年。這些義工,從喪親家屬收集到十句最為難受,或者最廢的說話。 耹聽比說話重要,如果真的要開口,有三類說話比較適合:第一類是說觀察到的情況。「我看到你真的很傷心,很難過。」不用加鹽加醋,切忌強行解釋。第二類是分享自己的感受:「我知道這事,也很不開心。」與哀傷的人,一同哀傷。第三類是提供實際的幫忙,包括協助喪事、日常生活安排。 喪親者住住不斷問:「為甚麼」?也許,要的不是答案,而是這一句:「我也不知道為甚麼會發生這件事,但我會在你身邊陪你。」 來源:「死在香港」系列之三

August 2, 2013 · 1 min · birdchan

五十条生活领悟值得一生牢记

1、人之所以痛苦,在于追求错误的东西。 2、与其说是别人让你痛苦,不如说自己的修养不够。 3、如果你不给自己烦恼,别人也永远不可能给你烦恼。因为你自己的内心,你放不下。 4、好好的管教你自己,不要管别人。 5、不宽恕众生,不原谅众生,是苦了你自己。 6、世界原本就不是属于你,因此你用不着抛弃,要抛弃的是一切的执著。万物皆为我所用,但非我所属。 7、宁可自己去原谅别人,莫让别人来原谅你。 8、当你用烦恼心来面对事物时,你会觉得一切都是业障,世界也会变得丑陋可恨。 9、欲为诸佛龙象,先做众生马牛。 10、虽然我们不能改变周遭的世界,我们就只好改变自己,用爱心和智慧来面对这一切。 11、当你快乐时,你要想,这快乐不是永恒的。当你痛苦时你要想这痛苦也不是永恒的。 12、认识自己,降伏自己,改变自己,才能改变别人。 13、不要浪费你的生命,在你一定会后悔的地方上。 14、你什么时候放下,什么时候就没有烦恼。 15、每一种创伤,都是一种成熟。 16、当你知道迷惑时,并不可怜, 当你不知道迷惑时,才是最可怜的。 17、狂妄的人有救,自卑的人没有救。 18、你不要一直不满人家,你应该一直检讨自己才对。不满人家,是苦了你自己。 19、你要包容那些意见跟你不同的人,这样子日子比较好过。你要是一直想改变他,那样子你会很痛苦。要学学怎样忍受他才是。你要学学怎样包容他才是。 20、承认自己的伟大,就是认同自己的愚疑。 21、一个人如果不能从内心去原谅别人,那他就永远不会心安理得。 22、心中装满着自己的看法与想法的人,永远听不见别人的心声。 23、毁灭一个人人只要一句话,培植一个人却要千句话,请你多口下留情。 24、当你劝告别人时,若不顾及别人的自尊心,那么再好的言语都没有用的。 25、不要在你的智慧中夹杂着傲慢。不要使你的谦虚心缺乏智慧。 26、根本不必回头去看咒骂你的人是谁?如果有一条疯狗咬你一口,难道你也要趴下去反咬他一口吗? 27、忌妒别人,不会给自己增加任何的好处。忌妒别人,也不可能减少别人的成就。 28、永远不要浪费你的一分一秒,去想任何你不喜欢的人。 29、多少人要离开这个世间时,都会说出同一句话,这世界真是无奈与凄凉啊! 30、恋爱不是慈善事业,不能随便施舍的。感情是没有公式,没有原则,没有道理可循的。可是人们至死都还在执着与追求。 31、请你用慈悲心和温和的态度,把你的不满与委屈说出来,别人就容易接受。 32、创造机会的人是勇者。等待机会的人是愚者。 33、能说不能做,不是真智慧。 34、多用心去倾听别人怎么说,不要急着表达你自己的看法。 35、同样的瓶子,你为什么要装毒药呢?同样的心理,你为什么要充满着烦恼呢? 36、得不到的东西,我们会一直以为他是美好的,那是因为你对他了解太少,没有时间与他相处在一起。当有一天,你深入了解后,你会发现原不是你想像中的那么美好。 37、这个世间只有圆滑,没有圆满的。 38、活着一天,就是有福气,就该珍惜。当我哭泣我没有鞋子穿的时候,我发现有人却没有脚。 39、多一分心力去注意别人,就少一分心力反省自己,你懂吗? 40、欲知世上刀兵劫,但听屠门夜半声。不要光埋怨自己多病,灾祸横生,多看看横死在你刀下的众生又有多少 ? 41、憎恨别人对自己是一种很大的损失。 42、每一个人都拥有生命,但并非每个人都懂得生命,乃至于珍惜生命。不了解生命的人,生命对他来说,是一种惩罚。 43、自以为拥有财富的人,其实是被财富所拥有。 44、情执是苦恼的原因,放下情执,你才能得到自在。 45、随缘不是得过且过,因循苟且,而是尽人事听天命。 46、不要太肯定自己的看法,这样子比较少后悔。 47、当你对自己诚实的时候,世界上没有人能够欺骗得了你。 48、用伤害别人的手段来掩饰自己缺点的人,是可耻的。 49、内心充满忌妒,心中不坦白,言语不正的人,不能算是一位五官端正的人。 50、多讲点笑话,以幽默的态度处事,这样子日子会好过一点。 ref: http://www.tworice.com/page.asp?id=2182

August 2, 2013 · 1 min · birdchan

iOS restore image ipsw downloads

Here you will find a list of them. http://www.jailbreakeye.com/download-iphone-ios

July 29, 2013 · 1 min · birdchan

10 trips you need to take in your 20s

[youtube &w=640&h=360] 1. Go on a road trip, across the country, with your best friends. 2. Use a Eurail pass to see Europe, preferably on your own. Just try not to get bedbugs at the hostels. 3. Go on a cheesy Spring break (in your early 20s). Just remember, Spring break is like as STD, it stays with your for life. 4. Lose yourself in Southeast Asia, preferably with new friends, who you meet on the road. 5. You should probably go to Burning Man. But if you can’t make it to the black rock, Bonnaroo with do in a pinch. 6. Go to the Himalayas, and embrace your inner beastie boy. 7. Go on a camping trip, in the middle of nowhere. 8. Spend a week, on the beach, with someone you love. 9. Take a last minute trip, on a train, to see an old friend. 10. Spend a week, in Paris, with a friend that you hope, secretly likes you back. ...

July 22, 2013 · 1 min · birdchan

A list of programming screencast series

Here is a list I copied from http://devblog.avdi.org/2013/06/21/a-list-of-programming-screencast-series/. Railscasts, Udemy (text) - Ruby on Rails Destroy all Software - Ruby, Python, Unix, software design. Code School - Ruby, Rails, iOS, JavaScript, HTML/CSS, etc. Clean Coders - software design and discipline PeepCode - Long-form videos on many different languages and technologies NSScreencast - weekly bite-sized screencasts on iOS development. Minimalist Programming - Haskell Neckbeard Republic - Python Backbone Rails - Rails and Backbone.js Build Podcast - a different tool/tech every episode. Vimcasts Emacs Rocks Hack Emacs MetaCasts - EmberJS, Ruby, RubyMotion, JavaScript, etc. Ember 101 - EmberJS WatchMeCode - JavaScript Must Hack - Ruby, UNIX Programming Tutorials from William Byrd - Scheme, functional programming concepts Egghead - AngularJS Tekpub - .NET, Ruby, JavaScript, and more Frontend Masters - HTML5, CSS3, JavaScript Treehouse - Web, Adnroid, iOS, Ruby on Rails, PHP EventedMind - NodeJS, Meteor dot enter - d3 Let’s Code - Test-Driven JavaScript Pluralsight - “Hardcore developer training” Motioncasts - RubyMotion Learning iOS Development with Azam Sharp RubyTapas – Ruby, TDD, and OOP EmberCasts – EmberJS

July 21, 2013 · 1 min · birdchan

Comparison of JavaScript/HTML5 Charting Libraries in the market

If you are looking for charting libraries, here is a nice comparison table listing all of the currently popular libraries. http://www.fusioncharts.com/javascript-charting-comparison/?utm_source=Competitor-Mailer&utm_medium=email&utm_content=Main-C2A&utm_campaign=GrownUps I wish they included d3.js as well.

July 17, 2013 · 1 min · birdchan