Friday, January 28, 2011

Zack Rusin: Git cheat sheet

A lot of people are complaining that git is too damn hard to use, and too damn hard to understand. Well, first, I don't agree with these guys, and second, there are plenty resources for newbies to git. Maybe the only reason those who complain for git is they are too lazy...

Here, I'd like to show you a wonderful cheat sheet that created by Zack Rusin(Look at his email address, you will know what his is working for), and it provides SVG/PNG format, just download it, print it, paste it on your wall, than start using git.

Zack Rusin: Git cheat sheet

To download the files, please follow the link above, or just right click and download the large image below.

Meanwhile,  textdrop.net which is a personal site maintained by a brilliant Japanese Guy(Sorry, I don't know his name, I could not find it out from his site.) provides a Japanese translated version, and could be found from the link below. It provides both PDF/SVG version.

git 日本語版チートシート

Now your guys have no reason to complain that you don't have enough time/resource to learn git. Also have no reason to complain that you have no idea about English.

Thursday, January 27, 2011

user! user! user!

今週の土曜日にパソナテック様が主催するiPhoneエンジニアのカンファレンスに登壇させて頂き、開発のネタを少し話します。

コンファレンスのHPはここです、ご覧ください。

Devcon 2011 Vol.1 iPhoneアプリNOW ~もっとiPhoneアプリ開発が面白くなう~

当日発表用の資料をここで公開致します。


翌日の1月30日に、南東京のiPhone勉強会にも同じ資料で発表致します。お楽しみにしましょう。

南東京iPhone開発者勉強会 5回目@ニフティ

Wednesday, January 26, 2011

What 'ATM' stands for?

Well, to tell the truth, I've been using ATM for over 10 years, but I never thought about what it stands for before.

The correct answer is:
ATM=Automated Teller Machine.

Shit!

杜君立:膝盖下的中国


这是一篇不可多得好文,檄文。与世界共享,但是不求有多少人能理解。

我们已习惯了黑暗,以为黑暗就是光明;
我们已习惯了卑鄙,以为卑鄙就是高尚;
我们已习惯了谎言,以为谎言就是真理;
我们已习惯了死亡,以为死亡就是活着;
我们已习惯了苟安,以为苟安就是平安;
我们已习惯了耻辱,以为耻辱就是尊严。
——于仲达《铁屋中的呐喊》

批判某一个人的缺点,说明你是一个泼妇;批判整个人类的缺点,说明你是一个思想家。如果说电视是大众艺术,那么电影无疑是一种精英艺术。从电影的角度来看,中国的所谓精英其实是少有大师的,多的只是大腕和大佬。

电影是大师的舞台,黑泽明算得上是一位真正的电影大师。10年前,张艺谋模仿黑泽明的《罗生门》弄出了一个暴力美学的习作《英雄》;10年后,姜文模仿黑泽明的《七武士》弄出了又一个暴力美学的习作《让子弹飞》。

Tuesday, January 25, 2011

any idea/ideas?

OK, この二つの使い方が分かる方は此処まで良いです。僕のほかのくだらない記事を読むのか、若しくはほかのくだらないものをお読みください。

今日は"Do you have any idea?"と"Do you have ideas?"の区別を話したいっすね。別にたいしたものではないです。下記の説明を見たら、終わりです。

  • Do you have any idea?
    • あなたは理解しましたか?(つまり、オレが言ってること分かるの?)
  • Do you have any ideas?
    • 何かお考えがありますか?

Monday, January 24, 2011

中国語サークル

私は現在社内の中国語サークルの先生を担当しています。毎週火曜日の夜に1時間ぐらい、皆さんと一緒に中国語を楽しみにしています。

社内の中国語サークルは次の教材を使っています。



この教材はペアのDSソフトもあります。結構使いやすくて便利だと思います。



他のネタはこれから記入します。

Tuesday, January 18, 2011

All the system Notifications from UIKit framework

The cocoa framework provided a useful mechanism called Notification, it's really useful when you want to write some event driven app. But when we want to know what kind of system notifications are available, we are doomed. Apple does not provide a list of all notifications resident in each framework, so, I have to do it myself.

Here is my summary of all the system Notifications from UIKit framework. About other frameworks, I will do it later.

To use it, find the Class header file, then refer to the documentation for when it will be fired.

Good luck!

Monday, January 17, 2011

Wordpress 2 Blogger conversion utility

Today, I moved from WordPress to blogger.com completely.  When I was doing the importing, I met a problem that WordPress's WXR Wordpress eXtended RSS is not conforming to blogger.com's import format. (Of course, no reason to be conformed.) That's lead us to these great guys.

http://wordpress2blogger.appspot.com/

They did a great job! Thank you!

The best reason I moved to blogger is that I don't want to be a site manager or designer to programmer, I just want to post my blog. I want to focus on posting blogs. Yeah, your guys will say that Wordpress.com also makes you do the same thing. But blogger does better. Here are the main reasons I moved to Blogger.com.
  1. Blogger.com has an awesome template design tool.
  2. Blogger.com support own domain now.
  3. I won't need to worry about the updates again.
OK, that's all. I think some other Google App users will also move to Blogger.com as me.

Sunday, January 16, 2011

在日本的一些“中国人”的愚蠢言行



真的是英雄到哪里都是英雄,狗熊到哪里都是狗熊。这个张景子(还可以看看她的Blog),真是一狗屎女人啊!都4张的人了,脑子还是一团浆糊。还好意思去作节目?

不过补充一句,张景子,你很诚实!这点我是很敬佩的。至少你敢于在亿万日本电视观众面前说出你真正的想法。

看了一下关于她的Wikipedia页面,居然还是一个前中国国际广播电台(Radio Peking)的播音员。呜呼,GCD毁人无数啊。



同时,还看到另外一些参加节目的中国人,真的是太好笑了。要么就不要参加,要参加么,至少先弄清楚人家要说什么话题,做点功课再去呀。纯粹就是去丢脸的呀。



话说回来,天朝人其实真的是不知道什么叫做[甲级战犯]的。日文中,叫做[A級戦犯],中文叫做[甲级战犯]。

[日本語]A級戦犯(エイきゅうせんぱん)は、 ポツダム宣言六條[1]に基づき、極東国際軍事裁判所条例第五条(イ)項[2]により定義された戦争犯罪に関し、極東国際軍事裁判(東京裁判)により有罪判決を受けた者である

 [中文]甲級戰犯為犯有「破壞和平、發動侵略戰爭」的戰犯。詳細控罪指:「作為領袖、組織者、鼓動者或從犯;策劃、執行計劃或秘密計劃;發動侵略戰爭或違反國際條約之戰爭。」在远东国际军事审判受審的甲級戰犯全都被控以上罪名,另加其他對個別國家發動戰爭的罪名。甲級戰犯主要為掌握決策權力的軍隊或政府中之高層。

曾经的甲级战犯[岸 信介]被免于起诉,后来还成为了第56,57任日本首相(1957/2/25~1959/6/18),后来的[安倍晋三]首相是他的外孙。

Saturday, January 15, 2011

Justice: What's The Right Thing To Do? Episode 01 "THE MORAL SIDE OF MURDER"


I had thought about something like this, but I had never thought about it so systematically, and Michael Sandel taught a lot for me. What will you think after you watch this video?

And also, I'd like to say that his lecture is really interesting! I think it's the first time that I watched a Youtube video that is 55mins long! and I even did not feel the time passed so fast!

石田三成のカブト

三成の読み方は「みつなり」だぜ!

豊臣秀吉のカブト

ヤベー!重くない?!

See what will happen

Hopefully this post will appear on this page.

Wednesday, January 12, 2011

iPhone GUI PSD Design Template, v4.0 | Teehan+Lax

I've been looking for some cool design template for iPhone/iPad or let's say iOS for a while until I found Teehan.

Teehan is a company located in Toronto, visit their page and be thankful to their brilliant work for this FREE PSD template. This template has also been updated to Retina version. That makes it the most powerful template! Some other site even sold $39 for a 3G version!

They also provides FREE template for iPad! Cool!

iPhone GUI PSD Design Template, v4.0 | Teehan+Lax
iPhone 4 GUI PSD (Retina Display) | Teehan+Lax

This mail has no signature

See what will happen.

Post from mail.

See what we can do.
--
Life is like a box of chocolates, u never know what u'r gonna get.