一

{"type":"编程笔记"}


  • Home

  • Archives
  • Search

mysql error row size too large

Posted on 2007-12-24   |   In mysql

Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs

一个表有130个varchar(255)字段,gbk编码,建表报以上错误,原因如下:

Read more »

隐藏gvim菜单和工具栏

Posted on 2007-12-21   |   In vim

在~/.vimrc(_vimrc)中添加下面几行:

Read more »

vim folding commands

Posted on 2007-12-20   |   In vim

more usage command of vim folding can get from this page.

Command Operation
zf#j creates a fold from the cursor down # lines.
zf/string creates a fold from the cursor to string .
zj moves the cursor to the next fold.
zk moves the cursor to the previous fold.
zo opens a fold at the cursor.
zO opens all folds at the cursor.
zm increases the foldlevel by one.
zM closes all open folds.
zr decreases the foldlevel by one.
zR decreases the foldlevel to zero -- all folds will be open.
zd deletes the fold at the cursor.
zE deletes all folds.
[z move to start of open fold.
]z move to end of open fold.

document referer and referrer

Posted on 2007-12-20   |   In javascript

在http中referer这个词错误拼写是个历史原因,在不同的环境下,写法并不相同,如php和javascript中就不一样

http request referer:

Read more »

vim substitute usage tips

Posted on 2007-12-17   |   In vim

统计文章中出现的单词的数目,可以使用下面的命令:

Read more »
1…858687…99
yuweijun

yuweijun

492 posts
12 categories
RSS
GitHub Twitter
© 2021 yuweijun
Powered by Hexo
Theme - NexT.Mist.KISS