Upgrade CentOS 5.6 to CentOS 5.9

While in the process of updating a development virtual machine of CentOS 5.6, it became clear that the updates would not update CentOS 5.6 to it’s final release of CentOS 5.9. The traditional yum update approach produced the status of No Packages marked for Update. However, a couple of additional commands produced the desired result of CentOS 5.9. The traditional…

Read More »

mAh mWh Calculator

A little while ago, I wrote an article Convert mAh to mWh and mWh to mAh for Notebook Laptop Batteries that provided the calculations needed to convert from mAh to mWh and vice versa. The intent was to simplify the navigation in researching the purchase of a replacement battery. As many battery manufacturers present different pieces of information which makes…

Read More »

Malwarebytes Anti-Rootkit fixes hijacked page redirect

Recently there was an encounter with a rootkit. The symptoms, open any of three different web browsers, Google Chrome, Microsoft Internet Explorer, or Mozilla Firefox and do a couple of searches, the pages would redirect several times over until finally stopping at one of many different web pages. Since, each browser was effected, it had to be a system wide…

Read More »

How to Change Default Homepage in Google Chrome

Google Chrome can simply be defined as an Internet web browser. It offers integrated features such as automatic page language translation making it easier than ever to find information that is not necessarily presented in ones native language. After using Google Chrome for sometime, you may find that you want to change the tabbed homepage from an array of icons…

Read More »
Linux Logo

VMware – RHEL / CentOS 6.2 Network Issues

After installing CentOS 6.2 i386 minimal ISO as a VMware virtual machine, immediate attempts to perform a yum update failed. The virtual machine network is bridged to the host computer. Pings to the router were successful, however, after some Internet searches, a solution that remediated this situation was found. Before getting to the “fix”. An attempt to change the network…

Read More »

How to program the key fob for the 2003 Hyundai Sonata

Have you ever needed to replace your key fob for your vehicle?  It could cost more than willing to pay to have it programmed.  This is for owners of the 2003 Hyundai Sonata. This guide details how to manually program the fob for the 2003 Hyundai Sonata in the event the remote transmitter is added or replaced or there is…

Read More »

Convert mAh to mWh and mWh to mAh for Notebook Laptop Batteries

It is annoying when the laptop battery becomes less and less useful, where it doesn’t hold the charge it once held. It is even more annoying to try to navigate between all the different sellers using mAh to describe the battery replacement for something that is likely expressed as mWh on your original OEM battery or as determined by the…

Read More »

Run ColdFusion 9 with Java JDK 7

Java has recently put out a patch that certifies ColdFusion 9 to run with Java JDK 1.7.0_15 or newer. After applying the patch, upgrading to Java JDK 1.7.0_21, and manually copying a DLL, this ColdFusion 9.0.1 installation finally runs with Java JDK 7. While your version of ColdFusion may be different, here are the basic steps for ColdFusion 9.0.1 ColdFusion…

Read More »

Use tar Extract files from an alternate directory

When decompressing a compressed tar file, generally, the approach is to change directory to the root and execute the tar command from there with a full path to the compressed tar. There is an easier method that will remove a line or two of code from each script. Down to a single command line. This is how to use tar…

Read More »

How to chkconfig off and on Multiple services with a bash script

This has more applications than with just the chkconfig command. However, I found this script to be useful and wanted to add it to my database of useful scripts. This script will chkconfig off the services listed in the services variable. #!/bin/bash # chkconfig-services-off.sh # # Add services here services=”vsftpd yum-updatesd vncserver sendmail” arr=$(echo $services | tr ” ” “\n”)…

Read More »

Bash Script Execution Timer

Suppose you wanted to determine the length of time it took to complete the execution of a bash script. Rather than sitting in front of the computer and estimating the time elapsed by watching the script execute with a stopwatch, it can be done with a few lines of code. Near the top of the script add the following variable…

Read More »

Linux: Using chkconfig

From the man pages, chkconfig is defined to provide a simple command-line tool for maintaing the /etc/rc[0-6].d directory hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in those directories. When chkconfig is run without any options, it displays usage information. If only a service name is given, as in the case above, it…

Read More »

Combine Linux Comands using && and ||

When using if then statements in your scripts, these statements will likely take up multiple lines. Sometimes, you may want a simple if then statement and would prefer to write only one line of code. This is a quick tip I picked up the other day. It is a simplification and explanation off how to combine multiple lines of code…

Read More »

Update ColdFusion with Unofficial Updater 2

ColdFusion has numerous hot fixes and security bulletins published and available for download. However, navigating through the Adobe website to obtain all necessary patches can be a daunting experience. Once you have the patches, then there is the application of each patch. Through the ColdFusion Adminstrator, select the patch, apply the patch (if it doesn’t fail), stop and start services,…

Read More »

Update ColdFusion 9 JVM on Windows

ColdFusion 9.0.1 ships with Java 1.6.0_17. This guide will show how to upgrade to a newer version of Java. ColdFusion supports all minor releases of Java. For example, if ColdFusion supports JDK 1.6.0, all JDK 1.6.0_x updates are supported. JDK 1.7.0 is not considered a minor Java release. Unless explicitly stated that ColdFusion supports JDK 1.7.0, you cannot upgrade to…

Read More »

A Custom SyntaxHighlighter 2.0 brush for INNO Setup

Using the SyntaxHighlighter Evolved Plugin (version 2.x) for WordPress has really given the code on this site more curb appeal. As many brushes that come with the plugin and searching through the third-party brushes throughout the Internet, I could not track down a brush for INNO Setup scripts. After a couple of hours and many attempts at this, I have…

Read More »