Counter-strike: Source
I've been playing the Steam powered game Counter-strike: Source for a while now and it just gets better and better even though it lacks a single player option. The pros of the game makes the game one of the better multiplayer games I've played, if not the best.
Today's ice cream is Piggelin
It's really hot outside and inside today, 30 degrees celcius (86F) and I would guess that GB has made some good money on their ice cream Piggelin :)
Vegas Movie Studio 10, hide all SFK files
A tip for those who are using Vegas Movie Studio 10 and want to hide all sfk files produced.
You can always hide all files of a file type in Windows. Starting cmd.exe via search and navigate to your videos folder. When you are inside the Videos folder while in cmd, type the following command to hide all sfk files in video folder and all sub folders:
Absolute paths in PHP and Drupal
Here I'm going to show you some absolute paths in PHP and Drupal that you might need.
MySQL column to lower [SOLVED]
If you are working in a MySQL database and you want to make all rows in column to lower case for a specific table then you can do it like this:
UPDATE tablename SET columnname = LOWER(columnname);
And you're done!
Drupal modules
My contribution to Drupal is for the time being two small modules. Require Menu and MaxLinks.None of these modules has been uploaded to the Drupal repository yet but will be as soon as I get a Drupal CVS account.
Max Links
This is a module, well actually it's a content filter, that let you as an administrator choose how many links that should be allowed in the content. If there are more links (than you allow) available in the content they will be filtered out and hence not visible when viewing the node.
Require Menu
This is the official home page of the Drupal module RequireMenu.
I created RequireMenu simply because some content types always should have a menu item, and since Drupal does not offer this I made a module to do it. Look at the screenshots to see the feature in action.
MySQL Load Data Infile
Today I discovered a clever feature that MySQL has, namely writing data to a table from a file.
If you have or have had need to be able to write data using batch insert, ie. write several lines of data using a sql insert then you might have discovered that ordinary insert has limitations in number of parameters and that it takes some time to execute.
PS3 firmware 3.01 fan noise
Upgraded my PS3 to the latest firmware 3.01. Previously, I've not had any problems with fan noise when watching a DVD, but now it's worse then ever before. The fan noise is as loud as when playing games, ie. so high so that I muse increase the volume a lot to hear anything.