Inevitable evil: developer drops off a load of content with DOS line endings, flutzing up editor screens with ^M.
$ find /some/path -type f -exec perl -pi -e’y/\015//d;’ \{\} \;
It’d be nicer to used xargs(1) instead of find(1)’s own -exec flag - way more efficient. However, chances are that if there’s borked line endings in a [...]
The turbo on my VW Golf 1.9Tdi had become disappointingly non-functional. I could hear the exciting whizzing from the device as it spun up, but there was no boost. For a heavy car like a mark 4 Golf, this makes driving a pain, both around town and on long motorway inclines.
Getting the garage (who are [...]
I just can’t get wildcard permissions to work with MySQL - I want user ti to be able to do anything he likes to any database matching /^ti_/. The test databases are configure out of box like this, but I can’t seem to do this with GRANT:
mysql> grant all on “ti_%”.* to ti@ti.jail.lemonia.org ;
ERROR 1064: [...]
Recent articles
- MySQL replication health
(Tuesday, 09. 30. 2008 – No Comments) - Firewalls
(Friday, 09. 5. 2008 – No Comments) - Using Single Sign-On To Integrate Ning With An External Site
(Wednesday, 08. 20. 2008 – No Comments) - High Availability Rails Cluster
(Tuesday, 08. 19. 2008 – No Comments)