archives

Installing GoogleSync 0.4.6 on a Blackberry Without a Blackberry Data Plan

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

  1. Install UserAgentSwitcher 0.6.11 into Firefox 3, and configure a user agent:
    1. Description="blackberry 8700"
    2. User Agent="BlackBerry8700/4.1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 VendorID/180"

  2. Tell Firefox to use the "blackberry 8700" user agent.

VMWare to VBox Conversion Script 2 - Normal Mode

' 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

' 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

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

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

  • Open a command prompt
  • set devmgr_show_nonpresent_devices=1
  • devmgmt.msc
  • View/Show Hidden Devices
  • This shows much more than just View/Show Hidden Devices does, without setting the environment variable.

     

    Allow Network Bridge in Windows Despite Domain Policy

    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)

    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

    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

    <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