A strategy I found to get the first two levels of files of an SVN repository. Start by checking out only root and 1st level of folders mkdir temp cd temp svn co https://host.com/repos/repo . –depth immediates 2. Checkout content 1st level of folders find ./ -type d ! -path “./.svn*” ! -path “./” -exec […]
This is a convenient way to add a link in the main menu to switch languages without including the active language. You’d figure this would be included in WPML but this doesn’t seem to be very high on their priority list.
As it happens, I often have to do estimates for small to kind of large projects. As most developers will know, estimating is not as easy as you think. It is even harder to guess-timate something you have never done before. During my project management classes, I did learn about three point estimation, a pretty […]
After upgrading to the latest Mantis version, I had a problem with zip attachments being corrupted when downloaded from Mantis. Turns out his error message is added to the files: SYSTEM WARNING: ‘finfo::finfo() [finfo.finfo]: Failed to load magic database at ‘/etc/magic’.’ in ‘/srv/sites/mantis.progi-media.com/htdocs/core/utility_api.php’ line 273 To fix the problem I had to manually configure the […]
Based on the same idea as my “cache clearing script“Â (but 10x better),Â Magento now includes some handy scripts to clean the log tables, to compile source files and to rebuild indexes. For people withÂ very large databases (10k+ products) this is sometimes the only way to actually accomplishÂ something without running out of memory or exceeding execution time […]