Oct 19, 2011

WhatIsMyIPAddress by Google

You can now ask Google what is your public IP address by query with the following:

  • my ip
  • my ip address
  • show my ip
  • what is my ip



Very cool ;-)

Automated Telnet Commands with VB script

Here's a VB script that can automate simple Telnet commands. Below is what happens during the telnet session in manual way:

  • Connect to an IP address on specific TCP port.
  • Press [ Enter ] to login.
  • Input the numeric key "5" and follow by an [ Enter ] key.
Below is the VB script that can automate the steps above:

<job>
<script language="VBScript">
Option Explicit
On Error Resume Next
Dim WshShell
set WshShell=CreateObject("WScript.Shell")
WshShell.run "cmd.exe"
WScript.Sleep 1000
'Send commands to the window as needed - IP and commands need to be customized
'Step 1 - Telnet to remote IP and port 99'
WshShell.SendKeys "telnet 192.168.1.1 99"
WshShell.SendKeys ("{Enter}")
WScript.Sleep 1000
 
'Step 2 - Issue Commands with pauses'
WshShell.SendKeys ("{Enter}")
WScript.Sleep 1000
WshShell.SendKeys "5"
WshShell.SendKeys ("{Enter}")
WScript.Sleep 1000
 
'Step 3 - Exit Command Window
WshShell.SendKeys "exit"
WshShell.SendKeys ("{Enter}")
WScript.Quit
</script>
</job>

>>>> Original article at MakeUseOf




Oct 15, 2011

Update My Nexus S to CM 7.1


Below are the steps I took to upgrade my Nexus S to CM 7.1 recently.
  1. Step 1: Download the update-cm-7.1.0-NS-signed.zip file of CyanogenMod 7.1 for my phone. 
  2. Step 2: Transfer the .zip file to the root folder.
  3. Step 3: Turn off my phone once the transfer is complete. 
  4. Step 4: Boot into ClockworkMod Recovery mode by holding volume up and power buttons.
  5. Step 5: Using the volume up/down (to navigate) and power key (to select), then navigate to backup and storage > backup. 
  6. Step 6: From the main menu: install zip from sdcard > choose zip from sdcard > update-cm-7.1.0-NS-signed.zip
  7. Step 7: Once flashing is complete, reboot and it is done.

CyanogenMod 7.1

Sep 19, 2011

Activate ActiveX Filtering in IE9

ActiveX Filtering is a new feature available in IE9 and it is disable by default.

It allows a whitelist style protection scheme. When enabled NO ActiveX Controls are allowed to run, then when you go to a site that requires ActiveX Controls, if you trust the site you can add them to the whitelist. Only websites on the list will be able to run ActiveX Controls.

To enable ActiveX Filtering, go to Tools Menu>Safety and then select the ActiveX Filtering Option.

Enable ActiveX Filtering