Useful GIT Commands

September 14th, 2014 No comments

Clone a “bare” Repository
This command is useful to setup an intermediate repository to develop against instead of developing directly against github:

git clone –bare [remote github repo] [local repo]

Push all your branches in the “bare” repo to the github remote
This will push all your branches to the remote, and set-upstream tracking correctly for you:

git push –all -u

Categories: Uncategorized Tags:

HowTo – AIX – Emulate BASH Keystrokes

April 16th, 2014 No comments

If you are looking for an easy way to emulate BASH up / down arrow behavior as well as TAB completion of filenames and directories then this might be a solution for you:

  1. Change your default shell to ksh93 using the “chsh” command and select “/usr/bin/ksh93

  2. Edit you “.profile” file and add the following line:

    export ENV=$HOME/.kshrc


  3. Copy the contents of THIS FILE to $HOME/.kshrc
Categories: AIX Tags:

HowTo – XBMC: By-pass Shutdown Menu

March 10th, 2014 No comments

The following steps will allow you to by-pass the shutdown menu when you press the “power” button on the remote control and allow the box go directly into suspend mode (M3) or shutdown (M1):

  1. ssh into your Pivos box
  2. cp /usr/share/xbmc/system/keymaps/keyboard.xml to /root/.xbmc/userdata/keymaps/
  3. Edit /root/.xbmc/userdata/keymaps/keyboard.xml
  4. Change <power>ActivateWindow(shutdownmenu)</power> to <power>XBMC.Suspend()</power>
  5. Change <s>ActivateWindow(shutdownmenu)</s> to <s>XBMC.Suspend()</s>
  6. Reboot

Note: If your device is an M1 model, simply change XBMC.Suspend() to be XBMC.Shutdown() instead.

Categories: Uncategorized Tags:

HowTo: Setup WD TV Live Streaming in Australia

December 22nd, 2012 No comments
The following are a few simple steps to setup a WD TV Live Streaming Player to access apps (e.g. Netflix, HuluPlus etc.) that are blocked in some overseas countries such as Australia.


  1. Subscribe to unblock-us.com and following instructions described here: http://support.unblock-us.com/customer/portal/articles/291573

  2. Power off the WD TV Live using the remote power button (red). Wait 10 secs and power back on again.

  3. Go to the Setup screen

  4. Select system->Reset Location, a U.S. based timezone should be selected automatically if unblock-us is setup correctly.

  5. Once the location has been reset correctly, you can adjust the timezone setting to match your location.

  6. Go to Services

  7. Confirm that you have HuluPlus, Netflix etc.
Categories: WD TV Tags:

Android – How to send callers directly to voicemail

November 19th, 2012 2 comments

For the last week or so I have been receiving annoying telemarketing calls. Today a found a real simple way to automatically re-direct these annoying calls to voicemail.

The following steps describe how to set this up in Android 4.1.2 (Jelly Bean).

  • Step 1- Navigate to the “People” application.

  • Step 2- Select the contact you wish to automatically re-direct to voicemail.

  • Step 3- Select the checkbox and exit.

Categories: Android Tags:

Script To Clear Event Logs

November 11th, 2012 No comments

Awesome script to clear all of your Windows 7 event logs. Wish I remembered where I sourced it from to give them credit.


@echo off
FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V
IF (%adminTest%)==(Access) goto noAdmin
for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")
echo.
echo Event Logs have been cleared! ^ goto theEnd
:do_clear
echo clearing %1
wevtutil.exe cl %1
goto :eof
:noAdmin
echo You must run this script as an Administrator!
echo ^ :theEnd
pause>NUL

Categories: Windows 7 Tags:

TextPad and Excel Slow To Open Files

November 11th, 2012 1 comment

I recently discovered an issue on my Windows 7 x64 system where double clicking text files (associated with TextPad) and Excel files (associated with Excel) took over 30 seconds to open the file.

A few forums on the Web suggested that the problem was that a program on my system may be blocking DDE messaging. In my case it turned out that Acronis TrueImage 2012 was the issue.

After uninstalling this bad boy I found that my file open timings returned to normal.

Categories: Windows 7 Tags:

Forex News Feed

April 25th, 2012 No comments

For those of you that are interested, I just completed and deployed a new Twitter based news feed service that tweets Forex / Currency related news.

To check it out simply follow Circle8FX

Categories: forex, fx Tags: , ,

Wife’s Store

March 23rd, 2011 No comments

Some Google love for my wife’s EBay store: www.recircle8.com/

Categories: books Tags:

IP4 Internet addresses run out today!

February 1st, 2011 No comments

Categories: General Tags: