Archive

Archive for the ‘Uncategorized’ Category

Cowboy: An Agile Programming Methodology for a Solo Programmer

February 6th, 2015 No comments
Categories: Uncategorized Tags:

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 – 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: