Monthly Archives: July 2008

Choosing Credit Card Fraud Detection Service: MaxMind® vs. FraudLabs™

Credit Card fraud detection service may seem like an unnecessary thing, but if you’re running(or building) an ecommerce site that may potentially have a lot of transactions it’s something that you may want to look into as a measure of … Continue reading

Posted in PHP | Leave a comment

Remove all .svn folders recursively

From the inside of the working copy: Linux, Mac OS X, *BSD: find . -name .svn -exec ‘rm -rf {}\;’ Solaris, AIX: rm -rf `find . -name .svn` Remove .svn folders from Mercurial repository: find . -iname .svn | xargs … Continue reading

Posted in Linux/UNIX | Tagged , , | Leave a comment

Find and Replace Across Multiple Files

Need to replace broken links across 1000 html files? If you’re using linux/unix/macosx it’s just fire up the terminal and use this: find -iname “*.htm” -exec sed -i ‘s/search/replace/’ {} \; search – is regex(or a string in the simplest … Continue reading

Posted in 4QuickLookUp, Linux/UNIX | Tagged , , , | Leave a comment

mysqdump procedures/functions only

mysqldump -Rdt -u username -p dbname > sqlfile.sql

Posted in Just messing... | Leave a comment

svn rollback

Sometimes I just wonder why there is no svn rollback… Well, this one should do it: svn merge -rHEAD:NNNN rep-url working-copy working-copy – path to your working copy. rep-url – URL or path to your repository NNNN – revision you … Continue reading

Posted in Just messing... | Tagged | Leave a comment