Archive for the “Code” category
.gitignore for django
by leo on November 6, 2010
In case you are using django and git, here is my .gitignore file which excludes all python related temporary files and keeps your repo clean *~ *.orig *.pyc *.rej .installed.cfg __minitage__* bin/* develop-eggs downloads eggs log parts media/uploads tmp .DS_Store (…)
PHP Speedy: Compress, minify and merge javascript and css to speed up you website
by leo on February 4, 2009
Tweet
MySQL: Get next auto increment value
by leo on May 30, 2007
Recently, I needed to get the auto increment value for the next inserted row in a MySQL table. Generally, this is not a good idea and you should stop reading right now. You may end up with duplicate entries in (…)
MySQL FULLTEXT Stopwords
by leo on May 10, 2007
These words could save you a lot of time figuring why this fulltext query returns nothing.. a’s, able, about, above, according, accordingly, across, actually, after, afterwards, again, against, ain’t, all, allow, allows, almost, alone, along, already, also, although, always, am, (…)






