Quick and dirty SQL:
UPDATE TABLE SET FIELD = REPLACE(FIELD, ‘OLD’, ‘NEW’);
Recompile all Apache 1.3 DSO modules
Configure apache 1.3 like this:
./configure \
“–with-layout=Apache” \
“–enable-module=most” \
“–enable-shared=max” \
“–enable-module=so” \
“–enable-shared=ssl” \
“–enable-rule=EAPI” \
“$@”
Leave off SSL + EAPI if you are not using SSL.
This will enable and compile all of the DSO modules and put them in Libexec.
Upgrade all software on CentOS
Most yum repos are out of date, many choose to run outdated software for fear of change, etc.
wget -q -O – http://www.atomicorp.com/installers/atomic.sh | sh
yum upgrade
Blackberry + “A” Key + uo
You probably have found this post after searching numerous sites… all with the wrong answer.
1. It is NOT moisture
2. It is NOT “dirty contacts” on the keyboard
3. It is NOT the trackball
4. You do not need to wipe your BlackBerry with JL_Cmder and reinstall the OS.
I did all of the above and none of them resolved the issue.
My trackball was failing for a while and at the same time the “A” key was displaying “uo”.
I replaced my trackball with a cheap unit off of eBay and that did resolve the trackball, but the “A” key (and others) were still hosed.
The end result is that I limped by until my phone was up for an upgrade and I swapped out for a Torch.
I found no resolution the problem. I believe the root issue to be around the trackball, and if you note that on newer models they eliminated the track ball completely.
VMware + FreeBSD 7.1 + AMD64 = BTX Halted
Search No Further:
Installing FreeBSD 7.1 (or 8.x), with the AMD64 version, under VMware ESXi and the CD loader crashes with a: “BTX Halted”.
The solution is to enable: “Intel Virtualization” in BIOS. Also known as “VT”
However if your BIOS also has Intel VT-d (Direct I/O), do not enable this.
Excellent Number List Generator
A very cool little website I found to generate sequential number lists:
http://textmechanic.com/Generate-List-of-Numbers.html
Also generate random number lists.
Shell Script: Create Range of Numbers
Unix Shell Script: Convert upper to lowercase text
Common CentOS Run levels
CentOS: Alias IP Ranges
cd /etc/sysconfig/network-scripts
Quick and easy range of ips:
Add this file: ifcfg-eth0-range0
Contents:
IPADDR_START= 11.xxx.xxx.xxx
IPADDR_END= 11.xxx.xxx.xxx
CLONENUM_START=0
If you want to add another range:
Add this file: ifcfg-eth0-range1
IPADDR_START=10.xxx.xxx.xxx
IPADDR_END=10.xxx.xxx.xxx
CLONENUM_START=11
Pay close attention to CLONENUM_START. In the second range it must be a number higher than the amount of IPs adding in range0. For instance, lets say your range was: 10.10.10.1 -thru-> 10.10.10.10. That is 10 IPs, so your CLONENUM-START would be 11 in the second range file.
