Chris Tate-Davies

An archive of helpful tit bits of information for development, and probably some stuff that is incomplete, wrong or boring…

MySQL Query Profiling

This inbuilt part of MySQL allows you to look closely at queries run – per session. And you can use this information to find bottlenecks. To enable profiling, run this command in the MySQL client: SET profiling = 1; This will turn on the profiling. Then for each query you run, MySQL will log all the [...]

Showing hidden files on Mac OS

Learning MacOS recently, and couldn’t find some hidden files, i.e. .htaccess To fix this, easy. Open Terminal, and paste the following in (both lines together), and press enter. Done. defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder To reverse the operation and re-hide them, change TRUE to FALSE.

iPhone iOS 4.2+ no longer automounting in Ubuntu

I had this problem, which meant my iPhone no longer automatically mounted in Ubuntu 10.10. I had recently upgraded the iOS to 4.3.1 and this turned out to be the cause of the issue. So, to fix it: Click on the System menu, then Administration and Software Sources. You’ll have to enter you administrator password. The [...]

Creating a copied branch in SVN

To create a new branch in SVN, its very simple. svn copy <source> <destination> -m <message> This will copy the SVN in the source folder, into a new branch under <destination>. Very simple. More, in depth information can be found here: http://svnbook.red-bean.com/en/1.5/svn.branchmerge.using.html#svn.branchmerge.using.create

  • Chris Tate-Davies

    Hello there. This is my little "repository" on the world wide web. Its for nothing more than documenting things that I might need again in the future. You could describe it as an extension to my memory.

    Also an online collaboration of my thoughts through the day. I'll try to keep the real random stuff out and keep the blog on course.

    Thanks for stopping by... Hope you find what you're looking for...

  • Tags