I wanted a script to show a random quote from bash.org in every new terminal session. PHP is my language of choice. :) Save as “bashquote” and chmod 755 (rwxr-xr-x) to use (make sure the regexp looks exactly as below in preg_match_all()). The script only works in a Unix/Linux environment.
Nearly all news sources has some posts I’m not interested in. I can’t believe no RSS readers has implemented good enough filters yet. But I anyway I wrote my own. :) I don’t think my server can handle too much usage, so I’m just giving you the code as is.
I can’t help it, a 6-day week consisting of 28-hour days sounds wonderful! :) The only downside is that I have a family, and this kind of regime won’t work inside that setting. :p XKCD also has a take on the concept.
Thomas Baekdal shows how clicking on a link that says “Download silverlight” still takes you through 7 pages before giving you the actual file! I know Microsofts websites are bad from a usability perspective, but this is truly horrible. Isn’t anyone actually thinking things through in Redmond?
A couple of things got me stumped when migrating to Mac, so I thought I’d just do a small post on them. :)
It’s now official – I’m a Mac user. After flirting with Ubuntu Linux for a year, watching Knut Sætre (my coworker) use his MacBook Pro and reading all the switch stories around the net I decided time had come for a change. So far, I’m definitely not regretting anything. OS X seems to me like [...]
It started as a generic include-script for the redesign of my commercial homepage, Pedersen Mediaconsult and suddenly I got an epiphany. ;)
Introducing… The OneFileFramework, a complete (well, sort of) web framework in PHP that consists of ONE single file (index.php) consisting of 27 actual code lines. :D
The webpage I set up for it (and the [...]
During the last couple of months, GMail has had several hiccups. And when Google homepage suddenly lost all my gadgets for two days recently, I figured I might look into the desktop application approach to organizing my life again. I’ve also experienced that having “tools” in the same browser that contains tabs with social networks [...]
I found this through No-spec.com, the original author is unknown and the original posting was on CraigsList.
To those who are looking for someone to do work for free… please wake up and join the real world
Every day, there are more and more CL posts seeking “artists” for everything from auto graphics to comic books to [...]
If you can keep your head when all about you
Are losing theirs and blaming it on you,
If you can trust yourself when all men doubt you,
But make allowance for their doubting too;
If you can wait and not be tired by waiting,
Or being lied about, don’t deal in lies,
Or being hated, don’t give way to hating,
And [...]