archives
Installing GoogleSync 0.4.6 on a Blackberry Without a Blackberry Data Plan
Submitted by Kevin Kleinfelter on Mon, 2008-09-22 20:17.I use a Blackberry 8700 -- without a Blackberry data plan -- just a regular data plan. Here's how I installed Google Sync 0.4.6
- Install UserAgentSwitcher 0.6.11 into Firefox 3, and configure a user agent:
- Description="blackberry 8700"
- User Agent="BlackBerry8700/4.1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/180"
- Tell Firefox to use the "blackberry 8700" user agent.
VMWare to VBox Conversion Script 2 - Normal Mode
Submitted by Kevin Kleinfelter on Mon, 2008-09-15 14:58.
' Here is some of the stuff I have to do to a VMWARE VM, from VMWare
' along the way to turning it into a VBOX VM.
'******************************************
Set oShell = CreateObject ("WSCript.shell" )
on Error resume next
oShell.RegDelete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run\Vmware Tools"
oShell.RegDelete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run\Vmware User Process"
oShell.RegDelete "HKLM\System\CurrentControlSet\Services\Eventlog\System\intelppm"
oShell.RegDelete "HKLM\System\CurrentControlSet\Services\intelppm"
VMWare to VirtualBox Conversion Script 1 - Run in Safe Mode
Submitted by Kevin Kleinfelter on Mon, 2008-09-15 14:56.
' Here is some of the stuff I have to do to a VMWARE VM, from VMWare
' along the way to turning it into a VBOX VM.
'***************************************************
'Changing computer name:
'***************************************************
sNewName = "VM-XP-VBOX"
Set oShell = CreateObject ("WSCript.shell" )
sCCS = "HKLM\SYSTEM\CurrentControlSet\"
sTcpipParamsRegPath = sCCS & "Services\Tcpip\Parameters\"
sCompNameRegPath = sCCS & "Control\ComputerName\"
With oShell
.RegDelete sTcpipParamsRegPath & "Hostname"
Windows XP as a Router
Submitted by Kevin Kleinfelter on Fri, 2008-09-12 17:29.Adapted From: http://www.windowsnetworking.com/kbase/WindowsTips/WindowsXP/AdminTips/Network/UsingXPasarouter.html on September 12, 2008. (Saved here because web pages have a nasty habit of vanishing.)
Add a router to your network with Windows XP Professional:
Install an additional network card in the box and then configure the registry setting below it it is able to route IP packets from one interface to another.
Regedit:
VMware Player BIOS Too Fast
Submitted by Kevin Kleinfelter on Thu, 2008-09-11 14:44.The VMWare Player BIOS prompt is way too short to allow you to hit Control-G to send input to the VM, and F8 before Windows starts (or to send F2 before the OS boots).
With the latest edition of VMWare Fusion, there is a .VMX setting that will force the BIOS to start (bios.forceSetupOnce = "TRUE"). This will probably show up in the PC/Linux edition eventually, but here's a work-around that I've found.
First, edit your VMX and tell it that your boot drive is NOT present (something like scsi0:0.present = "FALSE").
Make Device Manager Show Hidden Devices - For Real
Submitted by Kevin Kleinfelter on Thu, 2008-09-11 13:17.This shows much more than just View/Show Hidden Devices does, without setting the environment variable.
Allow Network Bridge in Windows Despite Domain Policy
Submitted by Kevin Kleinfelter on Thu, 2008-09-11 01:31.I like to use a VM with its NIC bridged to a real NIC. Sometimes I work at a client site where there's a Windows domain policy that blocks this. Here's the work-around:
Convert VMWare VM to VirtualBox (Windows XP Pro host and guest)
Submitted by Kevin Kleinfelter on Wed, 2008-09-10 21:20.ATTENTION: This is what I did on MY computer. You'll probably want to change this for use on YOUR computer.
Using VMWare Player (version ?) and VirtualBox (version 2.0)
Note: Items marked with "+" are items I did in advance, so I don't have to do them on each conversion attempt.
From Original VMWARE GUEST:
Drupal Indexing
Submitted by Kevin Kleinfelter on Thu, 2008-09-04 17:35.Once in a while, I'll search my web site / blog and the search will fail, even though I know the term exists in a page. Here's some information on Drupal page indexing.
Javascript - Override a Function and Retain the Old One Too
Submitted by Kevin Kleinfelter on Tue, 2008-08-26 14:00.
<SCRIPT language=javascript>
var base_foo;
function foo(yourname){
alert('Hello ' + yourname);
}
base_foo = foo;
foo = function(yourname){
alert('(overide) Hello ' + yourname);
}
</SCRIPT>
From http://dataerror.blogspot.com/2005/08/javascript-function-overriding-part-2.html
