During my job hunting, I was going over my resume and portfolio. I noticed that my project Rester is just about a year old. It is also getting to a point, where is is almost useful to other people.
If you are interested: Rester is a fast RESTful web server and framework written in D. It [...]
Friday, February 27, 2009
This magical chunk of goodness will allow you to query a mysql database to determine what table fields are foreign keys, and what they reference. Just replace ‘database_name’ and ‘table_name’ with the respective names you want:
1
2
3
4
5
6
7
SELECT column_name, referenced_table_name,
referenced_column_name
FROM information_schema.key_column_usage
WHERE table_schema=’database_name’
AND table_name=’table_name’
AND referenced_table_name IS NOT NULL
AND referenced_column_name IS NOT NULL;
Bye Bye Subversion. Hello Bazaar.
bzr branch http://intuitive-desktop.org/bzr/main/
Merging is SOOOOO much easier in Bazaar.
Also. I stumbled over a tool called Meld Diff that is very useful when you need to perform complex merges that can’t be performed automatically.
Look at the pic. You can click the little arrows to merge each section, one-by-one.