Monthly Archives: December 2009

Fixing VIM to allow smart match finding using the percent key

Edited the file /usr/share/vim/vim70/syntax/smarty.vim Added the following code: ” HTML:  thanks to Johannes Zellner and Benji Fisher. if exists(“loaded_matchit”) let b:match_ignorecase = 1 let b:match_skip = ‘s:Comment’ let b:match_words = ‘,’ . \ ‘]*\%(>\|$\):\|$\):\|$\):

Posted in Uncategorized | 1 Comment

Background Gradient Image Creation Tool

If you need to create a gradient image for a background you might try this tool. It is pretty slick. http://www.ogim.4u2ges.com/gradient-image-maker.asp

Posted in Uncategorized | 1 Comment

Faster MYSQL Index creation

Creating indexes in mysql on large tables can take a long time. Because it makes a temporary copy of the entire DB file first then creates the indexes. So be sure you have enough free space for the complete DB … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Generate SQL to create indexes in mysql

If you have a mysql database table with indexes and you want to get the alter table  commands to “create” the same indexes on another db You can run this sql — replacing the tablename with your table. Just add … Continue reading

Posted in Uncategorized | Tagged | Leave a comment