Solution: sudo sysctl fs.inotify.max_user_watches=999999999 edit /etc/sysctl.conf add fs.inotify.max_user_watches=999999999 see http://unix.stackexchange.com/questions/13751/kernel-inotify-watch-limit-reached
Archives for Uncategorized
install nltk on mac os lion
If you try to install nltk with easy_install you will get an error, setup.py can not be found. Using src file directly can solve this problem ➜ ~ sudo easy_install pyyaml ➜ ~ sudo easy_install http://pypi.python.org/packages/source/n/nltk/nltk-2.0.1rc1.tar.gz
ruby using gems
Recently i tried to install vagrant on my ubuntu box and met some problem. I know ruby very little, perhaps someone can explain there problem. After installing vagrant by gem i can not run it directly, this is because vagrant is in /var/lib/gems/1.8/gems/vagrant-0.8.2/bin/vagrant which is not in my PATH. Ok link this file to /usr/bin [...]
manually start drop on linux
Recently my dropbox on linux didn’t start automatically at login. I spent some time to figure out how to start dropbox manually. In linux it is simple, using dropbox command >dropbox then you can can see the options.
如何让virtual maschine得到和host同类的网址
在vm里配置网卡,选择netbridge
zend framework中的Request 对象 的
Request是zend framework中很重要的一个对象。 getParam 可以取得客户传来的参数,取数据的顺序为 1. GET 2. POST 3. COOKIE 4. SERVER 5. ENV
exception in zend_db_table
I just met the following exception, when i was trying to implement a model: Message: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound It is because the refcolumns doesn’t exists ( i made this by a typo) , see the following code: protected $_referenceMap = array ( ‘Institute’ => array( ‘columns’ => array(“exchange_institution_id”), ‘refTableClass’ => [...]
ubuntu声卡的问题
前几天突然间在看video和听音乐的时候,video和音乐都放的很快,像快进一样。最后发现是声卡驱动的问题。修改了声卡里面输出的设置就好了
HTML target Tag
_blank, um den Verweis in einem neuen Fenster zu öffnen, _self, um den Verweis im aktuellen Fenster zu öffnen, _parent, um bei verschachtelten Framesets das aktuelle Frameset zu sprengen, _top, um bei verschachtelten Framesets alle Framesets zu sprengen.
border-collapse的作用
border-collapse 属性设置表格的边框是否被合并为一个单一的边框,还是象在标准的 HTML 中那样分开显示 下面是没有设置 collapse, 注意没有内容的格子的边框: 下面是在css中设置:border-collapse: collapse;