Archive for April, 2008
Patterns for PHP
I came over this useful site: http://www.patternsforphp.com while browsing through the phpplanet rss. It has a introduction to the most common patterns, and its all written in PHP, quite handy when you need to look up a pattern.
Yet another wordpress user
Okay, I finally realized that I’d be better of using an existing blog publisher than writing the code myself. So far I’ve written most of the code on www.klunde.net, I tried out Joomla a few years ago, but I wasn’t quite happy with it, so the old php code I wrote in 2003 has done its purpose. Well I’ve started up writing my own CMS and web applications a few times now, and I have to admit I have a lot of fun writing these small web applications, but at the moment I just doesn’t have the time to maintain and write my own web application.
So bye bye old www.klunde.net and welcome to wordpress @ klunde.net. At the time of writing I’ve been using wordpress for approx. 20minutes, and I must say I’m impressed, easy administration interface, and easily set up
yes
Ever tried to replace a bunch of files with cp -rf some/destination . in linux?
Then you might have had to do a number ‘y’ to confirm the replacement of the already existing files, pretty annoying. Well linux has this marvelous little tool called yes, which automate this process and adds a y after the prompt when replacing a file.
if you just try to type yes in your console you will see that it starts printing ‘y’.
so this is how you actually do it:
yes cp -r some/directory/* .
For more information type man yes in your concole.