Unlock Brother HL-2240D

3 Brothers 2240D got stuck on error led in our office. The support kindly gave me the procedure to reset it and solve the problem. Here we go:Switch off the printerOpen the hoodPress the go buttonWithout relaxing the go button, switch it onPress 2x the go button, the LEDs should all go onPress 6x the … Continue reading Unlock Brother HL-2240D

Virtualbox IDE to SATA migration of a Windows 2003 guest

Problem: I have a Windows 2003 server virtualized into Virtualbox on an Ubuntu 12.04 box. A heavy load causes the machine stop responding on the network dropping active connections of file shares and RDP connections. After many investigations, tried all common clues: Upgraded Virtualbox to the last version (4.3), verified the presence of malware or … Continue reading Virtualbox IDE to SATA migration of a Windows 2003 guest

Show a custom template for a single post in a particular category

Add this filter to your functions.php and name your template file to match the category slug: single-[cat slug].php. If you're using a child theme, replace TEMPLATEPATH with STYLESHEETPATH : //Gets post cat slug and looks for single-[cat slug].php and applies it add_filter('single_template', create_function( '$the_template', 'foreach( (array) get_the_category() as $cat ) { if ( file_exists(TEMPLATEPATH . … Continue reading Show a custom template for a single post in a particular category

Move WSUS data to another directory

Command: wsusutil.exe movecontent %content path% %logfile% –skipcopy%content path% : The new root for content files. The path must exist. %logfile% : Path and filename of the log file to create. -skipcopy : Indicates that only the server configuration should be changed and that the content files should not be copied. Source: http://bartvdw.wordpress.com/2010/03/07/move-wsus-content-to-another-drivepartition/

Remove linux kernel images properly from Ubuntu/Debian

After some system upgrades with apt-get, you can get the /boot full of different versions of linux kernels. If the last one is stable for you, there is no reason to keep the old ones. A simple way to get this directory clean in a good way is to run this command: dpkg --get-selections|grep 'linux-image*'|awk … Continue reading Remove linux kernel images properly from Ubuntu/Debian

Change port setting of WSUS (Windows Server Update Services)

I needed to reinstall the WSUS today and it installed itself at the default website (80) instead of the custom one (8530) that I used before. So I needed to change the port in which WSUS listens. That's what I did:On the WSUS Server, open a command promp, go under "c:\program fils\update services\tools" execute this command wsusutil usecustomwebsite trueThis command … Continue reading Change port setting of WSUS (Windows Server Update Services)