Get CentOS 5.x Yum working again in 2018

Yum update and install not working on CentOS 5.x, this is because its no longer supported by CentOS, but you still want to be able to install new apps just do this:

Replace the contents of /etc/yum.repos.d/CentOS-Base.repo with this:


#name=CentOS-$releasever - Base

name=CentOS-$releasever - Base
# mirrorlist=$releasever&arch=$basearch&repo=os

#released updates
name=CentOS-$releasever - Updates


#additional packages that may be useful
name=CentOS-$releasever - Extras

#additional packages that extend functionality of existing packages
name=CentOS-$releasever - Plus

#contrib - packages by Centos Users
name=CentOS-$releasever - Contrib

2016 Subaru WRX STi Limited Radio Pin outs

I had a hard time finding this info, so I’m posting it here.

These are the three main connectors to the 7 inch NAV unit on a 2016 WRX STI Limited.

Here’s a doc related the the Harmon Kardon amp in the trunk AUDM Subaru WRX STI (2016) Premium with Harman Kardon package


XDA [How-To] Disable Forced Encryption

XDA [How-To] Disable Forced Encryption – Nexus 6



  • Extract the Android Image Kitchen zip
  • drag in the boot.img file you wish to modify onto the unpackimg.bat file
  • you should get a command window pop up, it should say succesfull and you will get a few folders added.
  • open the ramdisk folder and open the fstab.shamu file using notepad++
  • search for forceencrypt and replace it with encryptable. there should be only one case where this exists.
  • save the file, go back to the root of the image kitchen folder, and run the repackimg.bat file.
  • you should get a new boot.img build called image-new.img, you can use this now to flash on your device



Tell apt-get not to install “recommends” packages in Debian Linux

Tip: Tell apt-get not to install “recommends” packages in Debian Linux


Purpose: If you are using Debian Lenny and are installing software packages using apt-get then you might have noticed the new version of apt-get in Lenny installs the “recommends” packages automatically thus increasing the number of packages installed on your computer. The “apt-get” in Debian Etch (4.0) did not use to install “recommends” packages.  In this post, we will see how we can permanently tell apt-get NOT to install “recommends” packages.  For those of you who are not sure about Debian’s “depends”, “recommends” and “suggested” packages, please refer to this doc. This is important if you have limited storage space on your system, say for example an embedded system.

Adjust Windows DNS settings from command line

If you ever wanted to change the DNS settings on Windows 7/8 here’s how you do it.

Open a command prompt with Administrator privileges, and type the following:

netsh interface ip set dns name="Wi-Fi" static

Secondary DNS:

netsh interface ip add dns name="Wi-Fi"

If you want to change to use DHCP Server provided DNS do this:

netsh interface ip set dnsservers name="Wi-Fi" source=dhcp