November 08, 2008

linux 開機不會跑 rc.local

* runlevel
* under rc{runlevel}.d/, make symbolic link(S99local) to rc.local

November 07, 2008

Bang! 11/7

兩輪都是Outlaw,第一輪能力卡是Pixie Pete,沒有什麼問題,第二輪是Slab the Killer,有一些不確定的 :p

Q2. How can a player with a Barrel in play avoid a shot from Slab the Killer?
A. First of all, he has to “draw!”: if he doesn’t reveals a Heart card, he must play two Missed! Cards in order to avoid the shot, otherwise, he will need only one Missed! card. He cannot “draw!” two times.

Barrel 的用法,好像沒有硬性規定 http://bang.cz/phpbb2/viewtopic.php?t=423&highlight=barrel

然後關於Molly Stark (Each time she uses a card from her hand out of turn, she draws a card.),其實是不在他的回合的時候只要她用了一張卡就可以抽一張!終於懂了 XD

所以血是要算到負的才對的樣子
D9. If Tequila Joe is killed and he has a Beer in hand, how many life points he gains?
R. If Tequila Joe suffers one life point only, it goes to 2 life points. However, if he is being eliminated by means of a Dynamite, you have to sum up all lost life points and gained life points to see if (and how) he survives. For example, if he was at 1 life point and the Dynamite explodes,
Tequila Joe would go to -2 life points, so he will need two Beer cards to save his life (in this
case, he will go to -2 + 4 = 2 life points).

Bang! 規則備忘

每次玩都有些不太確定的規則,所以就玩完以後查一下 FAQ 然後貼上來備忘,反正也沒文章 :p

FAQ 網址: http://www.bang.cz/phpbb2/viewtopic.php?t=120
討論區網址: http://bang.cz/phpbb2/index.php
wikipedia (有牌名跟說明): http://en.wikipedia.org/wiki/Bang!

發現還有這個規則 (from wikipedia)
Any player eliminating an Outlaw (even if the eliminating player is himself an Outlaw!) must draw a reward of 3 cards from the deck.

Jail要一直等到抽到紅心才能逃獄
Some cards require a "draw!": this means that you have to reveal the first card of the deck and check the card suit and value shown on the lower left corner. For example, you may escape from the Jail only if you successfully "draw!" a Heart card.

October 19, 2008

碎碎念

最近常有種愈來愈懶得認真說任何事情的感覺。

沒有興趣說服別人什麼,認真的討論又要花去很多時間,加上對方或許沒有興趣聽,最後就變成隨便用些簡單的理由帶過去就好。

試圖把自己的想法加諸別人身上是種傲慢,認為別人不想理解所以懶的解釋應該也是另外一種傲慢吧。

所以普萊德才是個小孩造型嗎?(誤)

August 24, 2008

Sports Day

射箭很有趣,雖然我根本沒搞清楚要怎麼瞄準,居然還有一箭射中靶。

所以說是天生ranger命(誤)。

到最後還是沒坐到大氣球。上次玩空中垂降真的很有趣,短短的脫離地面在在半空中,涼快的風吹著,可以體會嚮往飛翔和自由的感覺。

可是我沒有坐到阿...... (怨念)。

August 21, 2008

vim settings: ctags

  • 用 ctags -R * 建立 tags 檔
  • 在 .vimrc 裡面
    • set tags=[TAGFILE]
  • Ctrl-] 在同個視窗內跳到定義,Ctrl-W ] 開新視窗
    • 或是 :tag [TAG] 來跳到定義, :stag 開新視窗
    • :tn 跳到下一個符合的檔案, :tp 跳到上一個
  • Ctrl-T 跳回
  • g] 可以列出符合該 tag 的所有檔案
  • vim tags tip
  • a.vim - 快速在 .h 和 .cpp 兩個檔案切換
    • :A 切換.h/.cpp檔
    • :AS, :AV 在水平/垂直分割視窗開啟對應的.h/.cpp檔

July 16, 2008

single user mode

  • grub
    • grub.conf - timeout is not 0
    • press 'a' when booting
    • add "single" after boot command
  • lilo
    • lilo.conf - timeout is not 0
    • lilo -C lilo.conf
    • press "ctrl-x" when booting
    • "linux single"

July 13, 2008

悠遊卡加值機

捷運站裡的平台式悠遊卡加值機最近改變了流程,上個星期我去加值的時候,前面的中年夫妻研究了半天,還按進了英文選單。我原先以為是年紀的問題(家裡就有兩個差不多年紀,對操作電腦這件事不甚熟悉的),結果這星期加值的時候旁邊的年輕人也是楞在機器前不知道要怎麼繼續操作。

認真研究了一下,以往放上卡片後需要選擇「快速加值」,然後再放入紙鈔;現在的流程放上卡片後就直接可以插入紙鈔加值,可是螢幕上並沒有說明,卻只有顯示英文選單和金融卡加值兩個選項,才會讓習慣以前加值流程的人有不知所措的感覺。雖然新版的流程減少了一個步驟,可是不清楚的使用介面反而讓人浪費了更多時間啊 (茶)。

June 29, 2008

討厭的事

討厭有事情卻不能說清楚的感覺,可是有些事情是不適合說的,於是就覺得更加的討厭。

June 24, 2008

紅茶課

上了三週的紅茶課,來寫寫注意到可以改善的事情。

  • 跟上篇泡茶工具有關的,因為要讓茶葉有伸展的空間,所以飄逸杯比泡茶匙來的好。
  • 茶的濃淡可以靠時間控制,茶葉放的多,泡茶的時間就縮短,並不一定是要泡多久才行。
  • 碎茶泡出來的茶會比較濃。
  • 茶要是泡太澀了可以加牛奶作成奶茶,牛奶的甜味會把澀味中和掉。
  • 想泡冷紅茶,紅茶放冷再進冰箱會回甘,直接把熱茶倒進冰塊裡容易有苦澀的味道,這時候要加糖來中和。