среда, 5 марта 2014 г.

Vim CtrlP performance bad

As the subjects says, there are big issues with CtrlP plugin when it used on a huge projects, for example with 350000 files in deep directory structure.


To improve match performance I wrote plugin called ctrlp-py-matcher. It's logic is written in python inspired by this blogpost.

In some cases on the same hardware, performance increased up to x22 - 15sec latency for standard matcher and 700ms for mine.

All possibly issues and suggestions please post on github issues page, thank you.

понедельник, 24 февраля 2014 г.

Ubuntu Server: fix network adapter when wifi bridged

When you has laptop with ubuntu-server based virtual box, and its connection represented as bridged wi-fi connection, than you can often get this error when change your physical location:

$ ping google.com
ping: unknown host google.com
The problem is in `/etc/udev/rules.d/70-persistent-net.rules` file, you can mv/rm it and then do system restart. If the problem still exist you can also check `ifconfig` command and `/etc/network/interfaces`, to correct interfaces - sometimes for no reason they can be auto renamed to ethN+1.

среда, 11 сентября 2013 г.

from Aspire to beyond: Die Gingerbread, Die!

from Aspire to beyond: Die Gingerbread, Die!: The last week and a half have been a whirlwind of projects, modelling, and quoting! Albeit, a tired week and a half. A few of the smaller p...

суббота, 6 июля 2013 г.

Fix libconv 8.0.0 version mismatch on Mac OS X

$ mkdir /usr/local/src/
$ cd /usr/local/src/
$ sudo curl -O http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.tar.gz
$ sudo tar zxvf libiconv-1.13.tar.gz 
$ sudo ./configure
$ sudo make
$ sudo make install

done :)

четверг, 6 декабря 2012 г.

Время в пустую

Тем временем пока ты читаешь этот блог, хабру, или думаешь о том как отдать кредит, или какую купить машину, или работаешь ночью в ожидании очередной зарплаты у монитора, в мире происходит чудесное:

вторник, 20 ноября 2012 г.

пятница, 5 октября 2012 г.

Installing RVM, Ruby and homebrew

  1. bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)  
  2. Edit your ~/.bash_profile and paste to it following:
    [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
  3. rvm install 1.9.3 --with-gcc=clang
  4. ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
  5. done!