Tumblr 的 “Page” 也提供 template variable 的操作!!

今天才發現 tumblr 的 page1 可以吃 template variable,也就是上方文件中的那些設計變數;這使得 tumblr static page 可以變得很方便,不再是普通的 static page。

例如,現在的 theme 大多沒有人用 “following” 這個 template variable,因為它不能限制輸出的個數,當你的 following 愈來愈多時(e.g. > 50),介面上會變得很醜。

所以可以使用一個分開的 static page,裡面採用 template vairable,專門顯示 followings,就不會影響主頁的設計了!


Static pages in Tumblr can also employ template variables.

I’ve just found out that Page in Tumblr can also use most of the template variables listed in the documentation.

And I added a static page for displaying all of my followings so that it won’t mess up my main tumblr page2.


而且,還可以透過 override “iphone-theme” 這個 static page url 來改變 iPhone/Pod 觀看的設計。GJ! Tumblr.


  1. static page 

  2. since {block:Followed} doesn’t limit the number of output. 


1 year ago
howto, page, tips, tumblr,

改變 MacOSX 10.5 登入畫面:

/System/Library/CoreServices/DefaultDesktop.jpg  

把這個檔案替換成你想要的圖片。然後改修正權限:

sudo chown root:wheel /System/Library/CoreServices/DefaultDesktop.jpg  

就好了,上面是我現在的 iBook ~~~~


1 year ago 1
Apple, HowTo, Login, Tips, iBook, mac,

VIM Tips: 記錄現在開啟的所有 tab

:help mksession for more information.

如果 VIM 工作到一半,系統必須要重開了,想要記錄所有開啟的 tab:

  • :mksession NAME 就會將 NAME 存在 current working directory
  • 下次在 vim 裡可以用 :source NAMENAME 檔案裡面的 session 讀回來
  • 或是直接在 NAME 所在的同目錄下執行 vim -S NAME
  • 如果沒有指定 NAME 那預設會存在你的家目錄,並且叫做 Session.vim
1 year ago
vim, editor, tips,

VIM Tips: Block Insert

:help v_b_I for more information.

如果想對多行插入(例如加上 // 註解一大段 javascript)

  • ctrl-v 進入 visual block
  • 方向鍵向下選擇要註解的連續幾行(選頭,因為要註解頭,選其它地方就會插到別地方)
  • 按大寫的 i
  • 鍵入 // (到此,會只看到 // 出現在第一行)
  • Esc (其它行都會出現 // 了)

如果是刪除開頭的 comment,那就是:

  • v 把那幾行選起來
  • :s/^\/\///g
1 year ago
vim, editor, tips,

E-P1 功能補完

在看完「OLYMPUS PEN E-P2數位單眼相機完全解析」之後,還是有一些新發現:

  • 場景模式的高光調:呈現出像是被平緩柔和的光線包圍的明亮印象,在逆光下造成被攝體灰暗的場合效果明顯。
  • 柔焦:可作為「曝光正補償」,愈高光部份效果愈明顯;拍攝夜景也可以用,會有暈開的夢幻感。
  • 淡化加光:降低對比,加上藍色。有天空置入的風景、冷色系或透明感被攝體都適用。
  • 柔光:明暗反差太強的時候,可以用柔光(Light Tone),將對比壓低,調性平滑。例如室外的陰影、食物、小飾品。暗部色階會被調亮,細節可以重現…。
  • 高光點測光:會將中央點的曝光控制在「曝光過度」的狀態下。
  • 暗位點測光:會將中央點的曝光控制在「曝光不足」的狀態下。
  • M.ZD 17mm f2.8 前面有鍍抗耀光的膜

另外補上之前的關機如果選擇開啟「鏡頭回縮」,就會讓焦點對在無限遠…。

1 year ago
Olympus, Tips, Book,