Friday, January 6, 2012

Sluggish scroll in MacVim

There can be several reasons for sluggish scroll.
For me setting up 'ttyfast' solved the problem.

Delete all trailing whitespace in VIM


You can find more information about VIM and whitespaces here

Remove app from sale in iTunes Connect

It is not trivial.

1. Select your app

2. Click on Rights and Pricing

3. There is a link 'Unless you select specific stores, your app will be for sale in all App Stores worldwide.', click on the 'specific stores'

4. Deselect all locations

5. Save

Now, after removing the app form sale, you can remove it.

Friday, December 23, 2011

Bash script can tell its location

You can get the path of the directory in which a bash script is located FROM that bash script.


Read more about this problem on stackoverflow.