Archive for the ‘useless’ Category
Dude where’s my summer?
Usually, I’m WAY too busy this time of day (check out of the time of the post) to even be bothered to turn on the computer, but what the hell: it’s September 9th, summer is still pretty much up and running (it’s ~25ºC now), it’s a sunny morning, even if there are still a lot of clouds on the sky, and it’s raining with thunders and lightnings! What the hell?!
This is my Firefox weather forecast bar:

Have the gods finally lost it?
Dear not computer people
The most depressing comic ever
From phdcomics.com:

Why I don’t use Twitter
Via Qned
Just another useless post…
You’ve all seen that kind of blog posts where it’s just one (or a bunch) of videos embedded in the html, right? Well here’s another, for no better reason that, I felt like it… <whim>
</whim>
How much is your blog worth?
And now the header changed!
I had previously talked about changes in this blog’s title. And back then, I said I was thinking about changing the image header too. Well, that finally happened: inspiration stroke when looking at this blog, which I had found in a Wikipedia page, that I came across when I looking for the article of blook. And yes, I though of using a fractal image for the header, but then I looked at the subtitle (life, the universe, etc) and thought “and why not use a night sky image?” After some googling, I found the image you can currently see there (glad I changed the blog name, night sky and day haze, now that’s a conundrum!)
Showdate
This morning, as I was glancing through the new (November) issue of Linux Journal, I found a tech tip introducing the showdate program: it will give you the date (i.e. day, month, and year, and even time) corresponding to an offset (into the past or the future) respective to the current time. Some examples are given below. You can obtain a copy of the source here. Extract and rename the file to showdate.c (if needed) and then compile it like this:
gcc showdate.c -o showdate
It should compile without any warning or error. Then, if you run the program without any options, you should get something like this:
usage: showdate
[-y [+|-]years]
[-m [+|-]months]
[-d [+|-]days]
[-h [+|-]hours]
[-M [+|-]minutes]
[-s [+|-]seconds]
[-e | -f format]
Now for instance, if you want to now the date of 5 years and 2 months into the future, you do like this (the first command is to show the current time):
$ ./showdate -m 0
Tue Oct 16 11:55:50 2007
$ ./showdate -y 5 -m 2
Sun Dec 16 10:55:55 2012
A couple more of trials should familiarize with the application. Pretty neat, ãh?


