2/26/2014

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:
https://www.google.com/calendar/syncselect

From:
https://support.google.com/calendar/answer/151674?hl=en

2/20/2014

The Best Music Player: Vox

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:
http://support.alfredapp.com/kb:faster-hotkeys

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.

Enjoy! 

2/11/2014

《影响力》总结

最近又读了一下《影响力》的笔记。一共有七章

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

感觉能做出如下总结:

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

2/07/2014

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.

2/05/2014

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.

Reference:
http://www.techrepublic.com/blog/apple-in-the-enterprise/how-to-create-a-bootable-usb-to-install-os-x-mavericks/
http://forums.macrumors.com/showpost.php?p=18081307&postcount=3

Mac OS X Keyboard Shortcuts

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