Navigate Site

Arrow Site Options

Arrow Cookies
Arrow Site Panel
Arrow Page Panel
Arrow Site Color

Select Color View mode

Arrow InetTime




Arrow Browser

Host: ec2-54-166-14-86.compute-1.amazonaws.com
Port: 50958
Protocol: HTTP/1.1
Method: GET
User Agent: CCBot/2.0 (http://commoncrawl.org/faq/)
Referer: [Link]

Server: peeto.net
Server Port: 80
Server Software: Apache


Arrow Page Options


Welcome to Chris Petersen's web site

Photograph of Chris Petersen

This is the personal web site of Chris Petersen from Melbourne Australia. Here you will find information about me, things I am interested in, and links to other sites and my friends. You can get in contact with me by sending me e-mail or interacting with my blog.

I work primarily as an Internet Developer so I will be using this site to provide information on Internet technologies and links to useful resources.

The site is currently receiving lots of changes and as a result some bookmark/favorite links to this site could stop working. Any broken links however will redirect to the home page.

Take a look around and enjoy the wonderful vocabularry of the bots spamming the site chat. You can change how this site looks if you need or want to. It is available in SSL from here.

My Blog

My Blog is being updated using Blogger.com.

Krush, Kill 'n' Destroy rfkill
Monday 24th of October 2016 06:16:00 AM


rfkill is the worst piece of software ever conceived, in a nutshell it is designed to completely destroy radio (eg. WiFi / BlueTooth / etc) right when you need it most. Why anyone would think that you would need to do this is beyond me (I'm not buying the "it uses less battery" argument, using a shot gun would be more elegant). Whoever though this needed to be installed by default in all Ubuntu distro's needs a mental health plan.

After dealing with years and years of agonizing pain because of this I found an elegant solution, remove it:

sudo apt-get purge --auto-remove rfkill

No more USB cables, booting Windows, and command line ninja mastery, this works! Even if you accidentally hit that mysterious checkbox in NetworkMananger the radios do not die.

I'd also like to thank the genius who though it would be a good idea to add "connect" buttons to network connections in the latest version NetworkMananger, you are a true visionary!

Upgrade adoptable USB storage in Android Marshmallow
Tuesday 18th of October 2016 03:20:00 PM


I'm writing this guide for myself because I can't find much on the Internet about this. I haven't even tried this, I'm making it up as I go but trust me this is going to work or there will be blood.

  1. Install App2SD on the phone
  2. Backup app list using App2SD
  3. Disable USB debugging (if necessary)
  4. Set the USB mode to MTP (if necessary)
  5. Plug the phone directly into a PC (no USB hub)
  6. Browse to the SD contents:
    • If you are using Windows or a Mac, just do it
    • In KDE look in Dolphin's "places"
    • If you use GNOME put on your big boy pants
    • If you use Unity, check yourself into rehab
    • Or see 2
  7. Copy the SD contents to the PC12
  8. Switch off the phone
  9. Replace the old SD card with the new one
  10. Boot the phone
  11. Tell Android to delete the old SD card and pray
  12. Format and migrate to the new SD card
  13. Reboot the phone
  14. Copy the backed up data to the new SD card (I needed a File Manager and AirDroid for this)2
  15. Re-install App2SD
  16. Use Superman strength to replace the App2SD backup with the actual backup3
  17. Use app restore in App2SD to manually confirm to install each and every missing app
  18. Reboot the phone
  19. Put everything back to normal. 99% of apps will have fully restored data, use Superman strength for the 1%
  20. Try not to kill anyone

Easy huh?


I'm thinking my OTG cable could have really helped with this.

Saturday 15th of October 2016 03:36:00 AM

I use tmux because it is rather awesome and I have spent quite a bit of time developing a script to automate starting it. It uses screen compatible key bindings to help with muscle memory. It should just work on debian and be easy to adapt for redhat and others.

I'm not happy with the mouse mode component because it wrecks my OS clipboard functionality so I've still got some work to do (help?). With this much effort it would be a shame to not share it so here it is.

# first window is called console, top 60% is bash
tmux new-session -d -n console -s default
# remap prefix to Control + a
tmux set -g prefix C-a
tmux unbind C-b
tmux bind C-a send-prefix
# windows start at '1'
set -g base-index 1
# allow resize
tmux setw -g aggressive-resize on
# allow mouse mode
tmux set -g mode-mouse on
tmux set -g mouse-resize-pane on
tmux set -g mouse-select-pane on
tmux set -g mouse-select-window on
# lower left 50% x 40% is logs
tmux split-window -p 40 'bash -c "tail -Fn20 /var/log/syslog"'
# lower right 50% x 40% is htop
tmux split-window -h htop
# window for work (bash)
tmux new-window -c ~/Documents/Projects/ -n work
# window for root
tmux new-window -n root 'sudo su -'
# window for htop
tmux new-window -n htop 'htop'
# window for syslog
tmux new-window -n syslog 'bash -c "tail -Fn20 /var/log/syslog"'
# focus on desired window
tmux selectw -t 0
tmux selectp -t 0
# wish I could remember what this does
tmux a -t default

Google Now API
Tuesday 04th of October 2016 08:57:00 AM
I've been wondering about how to do custom integrations with Google Now for quite a while and have finally found the documentation:


Thank you Private Public Transport Victoria for finally coming around. I'd like to shout out to the AFL and point out that an AFL match is an "event", much like an NRL or cricket match really.

Tuesday 04th of October 2016 12:04:00 AM
Does anyone know the nerd from the Google Translate ad? I can't find the ad and keep thinking about it. The letters in his zipper and hair just need to go through a SOUNDEX and a dictionary before being thrown out. More false negatives will need to be dealt with but a whole lot less false positives. The false negatives can be improved by optimizing detection of known non-dictionary items like numbers.

Latest xkcd


Decision Paralysis
Sunday 19th of February 2017 10:00:00 PM
Good point--making no decision is itself a decision. So that's a THIRD option I have to research!

Google Australian News

Nation - Google News

Herald Sun

New twist in Karen Ristevski murder mystery as shovel soil clue emerges
Herald Sun
SOIL samples from a shovel found in the garage at Karen Ristevski's home could be the key to solving the mystery of her disappearance and death. DNA testing this week revealed remains found in bushland at Mt Macedon on Monday were those of Mrs ...
Stepson of Karen Ristevski urges her killer to 'man up and confess'The Age
Karen Ristevski's stepson urges her killer to confess9news.com.au
Karen Ristevski's stepson Anthony Rickard calls for killer to 'confess'NEWS.com.au
Yahoo7 News -The Australian -Sky News Australia -ABC Online
all 104 news articles »

Herald Sun

Essendon plane crash probe continues
Herald Sun
THE pilot of the plane that crashed at Essendon Airport killing everyone on board repeatedly radioed “mayday” moments before impact. It's understood veteran airman Max Quartermain did not give any indication of what the emergency was. The air safety ...
Essendon plane crash aircraft recently underwent maintenance checkABC Online
Wives of Melbourne plane crash victims found out about crash through traffic delays, sister revealsNEWS.com.au
Father of American plane crash victim also killed in air disasterThe Age
The Australian -9news.com.au -Yahoo7 News -Sky News Australia
all 641 news articles »

ABC Online

WA election: Live cattle exports, hospital funding dominate Wednesday's campaign trail
ABC Online
Money was at the heart of a lot of the debate, with barbs traded over hospital funding, the sale of Western Power and the spending of taxpayers' money in general. Here's what you might have missed: ...
Live debate: Colin Barnett and Mark McGowan go head-to-headPerth Now
McGowan resists push for Treasury costingsSBS
Hospital service promise from WA LaborThe Australian
Yahoo7 News -WAtoday
all 11 news articles »

ABC Online

Child sex abuse royal commission hears of Catholic brothers' secrecy culture
ABC Online
A secrecy culture of "don't ask, don't tell" could explain historical allegations of child sex abuse within a religious order, the royal commission has been told. The commission's investigation into the response of the Catholic Church into alleged ...
Head of Marist Brothers' Australia grilled over Canberra abuse 'cluster'The Canberra Times
Christian Bros defend funding pedophileHerald Sun
No more Christian Brothers in years to comeSky News Australia
The Sydney Morning Herald -NEWS.com.au -Shepparton News -The Australian
all 14 news articles »

Perth Now

Man jailed for fatally bashing kangaroo in WA's South West
Perth Now
A MAN has been jailed and another fined after bashing to death a kangaroo in the South West. A Bunbury Magistrate yesterday handed an 11-month prison sentence to one of the men involved in the 2015 attack, and a $10,000 fine to the other. RSPCA WA ...
Man jailed for fatally bashing a kangarooSBS
'Sickening, malicious': Man jailed for bashing kangaroo to deathYahoo7 News
Brutal kangaroo killers get hit with heavy punishments by tough WA judge9news.com.au
all 6 news articles »


Virgin Australia flight makes emergency landing at Newcastle Airport
A Virgin flight from Port Macquarie to Sydney has been forced to land at Newcastle Airport due to smoke in the cabin. Fire and Rescue NSW Fire told 9News they were called to the airport which is adjacent to a RAAF base at 3:06pm after flight VA1188 ...
Virgin flight from Port Macquarie to Sydney makes emergency landingWauchope Gazette
Virgin Australia flight en route to Sydney forced to make emergency landing after SMOKE filled the cockpitDaily Mail

all 4 news articles »

The Advertiser

Man released over SA hospital inquiry
The mysterious substance which caused a man and several staff at an Adelaide hospital to become unwell is still unknown, with a man sought by police released without charge. On Wednesday, police investigating the contamination incident at Lyell McEwin ...
Two Wells property searched by police and HAZMAT crews over contamination scare at Lyle McEwin Hospitaldailytelegraph.com.au

all 4 news articles »

ABC Online

Australian model Ethan Turnbull saves New York teens from icy Central Park pond
ABC Online
An Australian model and his skateboarding friend have been hailed as heroes in New York after they saved seven teenagers who fell through ice in Central Park. Instagram: Ethan Turnbull talks about saving teens from icy Central Park pond. The teens were ...
Australian model rescues teens from icy pond in New YorkThe Australian
Sydney model saves teens who fell through frozen Central Park pond in New York while taking selfiesNEWS.com.au
Seven screaming children dragged to safety from frozen pond by model and skateboarding friendMirror.co.uk
New York Post -Evening Standard -Ten Eyewitness News -PEOPLE.com
all 88 news articles »

ABC Online

NSW Premier Gladys Berejiklian stands by Ray Williams over claims of alleged illegal donations
ABC Online
New South Wales Premier Gladys Berejiklian has resisted calls to sack her new Minister Ray Williams over allegations he accepted illegal donations, but says the Liberal Party will assist the NSW Electoral Commission with any inquiries. The Daily ...
NSW Premier under pressure to sack MPSky News Australia
NSW Multicultural Affairs Minister Ray Williams accused over political donationsThe Sydney Morning Herald
NSW minister denies payments scandalSBS
dailytelegraph.com.au -The Guardian -Echonetdaily
all 16 news articles »

ABC Online

Call for Clive Palmer's nephew Clive Mensink to be arrested over Queensland Nickel case
ABC Online
The special purpose liquidator trying to claw back tens of millions owed to the Federal Government by Clive Palmer's Queensland Nickel will apply for an arrest warrant for Mr Palmer's nephew and former QNI director Clive Mensink. Mr Mensink has been on ...
Warrant sought for Mensink's arrest9news.com.au
Palmer withdraws pursuit of liquidatorsSeymour Telegraph (registration) (blog)
Warrant sought for arrest of Clive Palmer's nephewmyGC.com.au

all 8 news articles »

peeto.net News


Google Australian News
Google World News
Yahoo! World News
The Register

Television Guides

ABC TV Guide
ABC 2 TV Guide
NineMSN yourTV - The Fix - TV Guide for Melbourne