Tip for Google Calendar: sync subscribed other calendars

Sometimes we need subscribe calendars from other people or organization.

But in the Google Calendar settings page we cannot select which one should sync with mobile device.

If you wanna manually select which one to sync, pleas visit this page:



The Best Music Player: Vox


It's the best music player I've never used.

I've used lots of music player, such as foobar2000, AIRPLAY, TTPlayer, iTunes, Cog, etc.

But I feel Vox is better because it naturally support ape, flac and its intuitive interface. In addition, it's default config is pretty.

I feel comfortable when I use Vox.

The official site: http://coppertino.com/vox/
The Mac App Store: https://itunes.apple.com/app/vox/id461369673

Tips for Alfred hotkey

I love Alfred. It's awesome. Of course, I'm a Mega Supporter. :)

I use Alfred to manage almost all of my hotkeys, especially those must be done by KeyRemap4MacBook.

But there're conflicts with different hotkey:
  • Case1: Suppose you have a hotkey ⌘+E to trigger an applescript. And the applescript will send ⇧+E. Then when you press ⌘+E and release ⌘ little slow. The applescript actually send ⇧+E, but you system receive the ⌘+⇧+E. Terrible.
  • Case 2: My Alfred hotkey is double tap ⌘ (Command). I have other hotkeys to toggle App, such as ⌘+⇧+E to toggle Finder. But when I press ⌘+⇧+E, sometimes the Alfred appear. 
It's really terrible and annoying. 

Until I find the post:

There are three options:
  1. Simulate modifier keys released
  2. Wait until modifier keys are released
  3. Pass through modifier keys (Fastest)
The first one is default. It means that Alfred will simulate you already release modifier keys, but the system still receive the modifier signal. 

The second one means wait until you actually release the modifier. It can avoid potential conflict for my case 1, but it trigger you action very slow.

The third one means that the action will happen when you press the whole hotkey even if you haven't release any key, especially the modifier key. The option is useful for my case 2.





  1. 心理影响
  2. 互惠
  3. 承诺和一致
  4. 社会认同
  5. 喜好
  6. 权威
  7. 稀缺


  • 大家都喜欢某个权威,而权威说这是稀缺的,这会影响到你。
  • 你为了获得社会认同,就会不断地像朋友表达这个观点。
  • 为了做和你的承诺相一致的事情,你不得不与和你有共同喜好并且能互惠的人合作。


Reference for Solving Linear Recurrence Relations

Solving Linear Recurrence Relations means that to get a normal formula for a Linear Recurrence Number Sequences.

The famous example is Fibonacci numbers or Fibonacci series or Fibonacci sequence.

But to get a normal formula is not easy.

There are some reference for this problem:

The Notes on Recurrences provide brief and coherent explanation.

The Notes on Linear Recurrence Sequences provides a few methods include matrix.

This book: Discrete Mathematics and Its Applications, 7th Edition, Rosen has detailed proofs. Please read page 515, THEOREM 1-4.


Install a brand new Mac OS X

1. Download Mavericks from App Store.

2. Prepare your USB with at least 8G capable, format it as Mac OS Extended (Journaled).

3. After download, run this command in shell:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction

4. Reboot your Mac and hold the option, then select your USB.

5. Format your Mac's disk and install.

And enjoy.


Mac OS X Keyboard Shortcuts

It's awesome: http://mac.keyboard-shortcuts.eu/en/