Author: David
-
How to improve Symfony2 performance when running from shared folder on VM
Quite recently we, meaning PrepLounge, the startup I’m CTO at, got started on a new project and I chose Symfony as the framework to work with. After reading the docs and running through the, fairly simply, install/setup steps I ran into a problem: Performance was really bad. A single request to the default controller (no…
-
“Fix” phpMyAdmin timeout after 1440 seconds
If you are a regular user of phpMyAdmin like me, then you’ll have more than once had the problem of returning to your phpMyAdmin tab after a while and being prompted to login again, because you’ve been idle for 1440 seconds (=24 minutes). This is particularly annoying if you were in the middle of debugging…
-
The more changes, the more stays the same!
It’s been a while, almost two years now, since my last post. Phew, let’s see how that happend (excuses, excuses..) and what’s happening in the future. Pretty soon after my latest entry I went on a trip around the world for about 6 month and even though I fully intended to write weekly posts about…
-
TortoiseSVN – Change User After Save Authentication
I had to update the credentials I use for one of the repos I work on but in TortoiseSVN there’s no built-in way of updating the saved credentials if the entered user is still valid (otherwise it will prompt you for a new username/password), except deleting all the saved authentication info for ALL repos worked…
-
Dev-Box: mod_rewrite and Virtual Hosts for your Apache
This is gonna be a quick one, but I think you’ll find this quite useful … if you don’t already know it by heart ;) As I promised in my initial Dev-Box post, I promised to give further useful instructions/tips for your development VM, so here we go: mod_rewrite and Virtual Hosts for Apache. Two…
-
Dev-Box: Installing a Mail Server
It’s been a while, but I’m back with another useful tutorial for all those out there using VMs like my Dev-Box. Last time I talked about getting SVN to work on your VM and now time it’s all about setting up a mail server, something you need for pretty much every web application you might…
-
Dev-Box: Installing SVN
My last post about setting up a Virtual Machine to use as your local webserver was quite the success (hits increased from about 30 to nearly 1000 within 2 days…and dropped back to somewhere slightly above the old value by now) and I promised I would write some more tutorials on how to install some…
-
Dev-Box: Virtual Machines for Developers
This post goes out to all the coders using a Windows machine for development. Might be interesting for others aswell but I can’t say much about that as I’m a Windows user myself ;) So what is this about? Well, some time ago I ran into smaller problems when trying to move a website from…
-
Proto.Spy
A while back a friend of mine mentioned this site to me: It checks which porn sites you have been on. The technology used to achieve this is quite simple. It inserts links to a bunch of porn sites in the page and uses Javascript to check the link color, abusing the fact that browsers…
-
Extended logging of database errors in CodeIgniter
Some of you might and now and then have run into a database error while working with CI. Such errors are mostly caused by errors in your querys like not escaping user input or your fields or simply syntax errors. In small applications that not much of a problem, but the bigger the application the…