In Pursuit of the Perfect Dev Environment: Textmate PHP Syntax Validation
cssgallery.info has an article about validating your PHP syntax automatically on save using Textmate. This is incredibly valuable. No more uploading files with bad syntax!
The home of Kevin Hallmark and Little Black Hat consulting services
cssgallery.info has an article about validating your PHP syntax automatically on save using Textmate. This is incredibly valuable. No more uploading files with bad syntax!
So I’ve been gathering a lot of different Safari plug-ins and I thought it was time to document me development setup. This is a list of plug-ins that I use with Safari to really help me get things done.
Essential Developer Plug-ins
These are plug-ins I can’t live without. I usually put these on any machine I have to do development work with. I can’t work without these plug-ins.
Nice to have plug-ins
These are plug-ins I don’t put on every machine, but I’ll usually put them on any machine I use on a regular basis.
These are only a few of the plug-ins that are available for Safari. I’ll keep this list up-to-date as I discover new ones.
So here I am, sitting at work. I’ve been tasked with reverse-engineering the login system for this website. Ugh. The code is spaghetti. Queries are a mish-mash. How do I figure this out?
What I discovered is that you can log literally every single mySQL query made to the server. This is really useful if you need to figure out crazy things like what queries run when new user is inserted.
Add the following line to your my.cnf file:
log = /var/log/mysql/mysql.log
This gets rid of the hassle involved with finding and tracing mysql queries directly.