• info@bizmate.biz


Bulk rename files in linux

I had to rename about 200 files that were renamed by an application from MyFile to MyFile.loaded

How to show a column result in a one line comma separated list in MySql

Often I need to extract a list of articles IDs from my MySql databases but getting the result in the default column is not enough and it can be easier to convert the result from a column into a one line list of comma separated results, for instance from

Select id from myTable


but your expected output is 64, 85, 25, 63

To concatenate multiple rows results into a single mySql field you can use the group_concat built-in function (to make sure your MySql version has this function you would like to check in the manual).

Let’s see a real life example query where we can apply this function. In my db I have a list of additional information items identified by ID related to a specific website entry/profile. The query below allows me to collect all the IDs of the entries that relate to ‘www.example.com’

SELECT GROUP_CONCAT(additional_information_id)
FROM  `company_profile_additionalinformation`  WHERE  profile_website ='www.example.com' ;

Please note the result is truncated to the maximum length that is given by the group_concat_max_len system variable, which has a default value of 1024. This can be changed. Check the manual for more information .

Enable Mod Rewrite in apache/debian

If you would like to enable mod_rewrite in your apache, for friendly URLs or other redirect requirements, please follow these instructions.

Turn your router into a switch

I have about 3 PCs in my office at the moment and the main router for my connection is downstairs at about 20m distance so the wisest thing to do was to reuse one of my old routers as a switch to connect all of the PCs together.

Enable better Ubuntu resolution with no monitor attached

In order to fix the resolution of Ubuntu, that by default comes as small as 600×400, I suggest to work on the X11 config file to try to achieve a more flexible setting that would enable your monitor set-up to go wider.

Thomson TG585v7 firmware upgrade

If you have a Thomson TG585v7 used on O2  and thus with the O2 firmware you might like to replace this firmware with something more flexible and powerful. Moreover, in my experience, the O2 firmware will not allow you to run the router on another broadband service so let’s replace it following these general guide steps :


troubleshooting unixODBC install

common errors while installing unixODBC on unix/solaris

tar.gz file extraction

Small placeholder on how to extraxt tar.gz files.

Check disk space on Linux Solaris

the command to check all the system partitions is


to view the partition details in a more readable format with Gigabytes, Kilobytes etc use the h option

df -d 

Configuring DNS Primary Server – Solaris 8

If your solaris machine is not configured for DHCP, you need to set up the files