• Download from MySQL official website. Some bugs has been reported by people that use Homebrew to install MySQL.

  • Open and install it. There is only one file to install now, not three!

  • Edit ~/.zshrc and add the following lines:

alias mysql="/usr/local/mysql/bin/mysql"
alias mysqladmin="/usr/local/mysql/bin/mysqladmin"
  • Run mysqladmin -u root password "yourpassword" in iTerm2.

  • Go to MySQL in System Preference and turn it on.

  • Download, install and open Sequel Pro. In Host, fill in 127.0.0.1, username root and then password, tap Connect. By the way, the default port is 3306.

  • File > Import your .sql file.

This post will be constantly updated. More or less a cleanup and a showoff.

Contents

Setup

Hardware: Alienware X51 R2

  • CPU: i7 4770
  • RAM: 16GB
  • Storage: 2TB HD
  • GPU: GTX 760 Ti with 2GB GDDR5
  • Additionally, Xbox 360 Controller for PC

Read more

Contents

Read more

Contents

Read more

KM Taxonomy

Contents

Example

I did a KM cleanup yesterday (not finish yet) and found I have stopped using many unnecessary Mac apps for some time. It’s a good thing.

To expand the use of KM, I will have to dive into shell. Next I take an example about adding new words to Mac’s spelling records.

Read more

Here what I want to do is to move the oldest file from folder A to folder B at a specified time every day.

Read more

Contents

Gist

Read more

Retina MacBook Pro was a headache when I stocked screenshots, and Ember seems not able to capture non-retina screenshots. Visual bookmarking also has been a unsolved issue, given Zootool and 爱库 (aiku) were dead, Kippt may not work for some websites and Webbla doesn’t support retina (by the way, its version 2 will be available in this summer). More or less, this workaround has solved the above problems, for me.

Gist

Read more

Read more

Contents

Read more