Toptal is funny

Toptal is a freelencer site which provides top 3% web freelencers. To join it, you have to pass their test first. There are a lot of people waiting to join it, so you have to wait for some time until some screener will come to talk and interview you. If want to get priority, you have to do something like what I’m doing right now, writing a blog about Toptal, to show you’re eager to join it, and it’s so great to join it. So everyone read this blog is moved to join it.

Emacs yasnippet

Emacs yasnippet provides a lot of snippets for different program language, even markdown file. Also you can add your snippets if you like. For example, when I write blog with code, I don’t want to enter “{% highlight javascript %} {% endhighlight %}” everytime, with yasnippet help, I just need enter highlight then press ‘Tab’, the highlight snippet code is generated automatically.

Babel Tutorial For NodeJS

Babel.js is a js compiler which translates ES6 to ES5 which is implemented by all moreden browsers. Actually babel.js should be gone when ES6 is supported by most browsers. But before that, babel.js can help us to use ES6 new features before that happens. Why do we need use ES6 features right now? Because ES6 make our life easier for javascript.

BlockAd on iOS

Check my first iOS app BlockAd, which is based on ionic. You can use it block ads on ios app and web browser. Also you can access Chinese video/music sites when you are aboard, such as Youku, Sina video, Sohu video and Xiami. Thanks Unblock Youku.

redshift disk full

Today fail to copy data from s3 json file to redshift, check the stl_error and stl_load_errors tables, I find some error like “disk full error”. Also I check the redshift aws console, I find the Percentage of Disk Usage is 100%.

iOS html5 video

Some iOS html5 video experience. Actually I spent much time to handle some special cases for iOS html5 video element, but always forget after finishing my work. Next time I need to spend time to figure out the same issue. Now blog it to avoid to forget it again :)

How To Write Chinese Characters

You can find a good online chinese dictionary from here, but this site only provides the flash file to teach you how to write a Chinese character. To support most mobile devices, we can use Google Swiffy to convert it into html5.

S3 cross domain issue

It seems a simple to solve s3 cross domain issue, but I spent a lot of time to fix it. Maybe you will have similar issue, please try my solution if it works, if not, please let me know.

emacs-learning

You can download purcell emacs.d from here. It’s really a good emacs configuration. I like use it. And the most important thing I learnt is use ‘M-x’ to select your command to avoid rememeber fast key.

gist

  1. lazy git
  2. mysql clone database
  3. how to npm private module