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-205-76-50.compute-1.amazonaws.com
Port: 52270
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


Movie Folder
Tuesday 25th of October 2016 10:00:00 PM
That's actually the original Japanese version of A Million Random Digits, which is much better than the American remake the book was based on.

Google Australian News

Nation - Google News

The Australian

LIVE BLOG Last Updated 9:11PM AEST Dreamworld tragedy: four killed on Wild River Rapids ride
The Australian
That is where we will leave our live coverage for the day as investigations continue following the death of four people at Dreamworld theme park. • Dreamworld will reopen on Friday with a memorial day. • A team of 30 detectives as well as engineers and ...
Theme park ride's 'fatal flaw'NEWS.com.au
Dreamworld deaths: Unbearable pain of husbands who saw wives die at end of rideHerald Sun
Dreamworld nightmare a family tragedyCourier Mail
Perth Now -Brisbane Times -The Australian Financial Review -SBS
all 745 news articles »

The Sydney Morning Herald

Australia experiencing more extreme fire weather, hotter days as climate changes
The Sydney Morning Herald
Australia is already experiencing an increase in extreme conditions from climate change and more sophisticated modelling is allowing scientists to pinpoint humans' contribution to the wilder weather, the Bureau of Meteorology and CSIRO said. The fourth ...
State of the Climate report 2016: Extreme heat events increasing in duration, frequency and intensityABC Online
Climate report says greenhouse gases changing Australian weatherSBS
Australian land, sea temperatures up 1C since 1910: climate surveyThe Australian
9news.com.au -Courier Mail -The Guardian -New York Times
all 9 news articles »

Sky News Australia

Turnbull's water funding launched in Qld
Sky News Australia
Prime Minister Malcolm Turnbull is continuing his tour of Queensland armed with a multi-million dollar fund for new dams and water projects across the country. But the government denies the Queensland visit is about countering the rise of the One ...
Turnbull lets funds flow for rural projectsThe Australian
Turnbull visits outback schoolNEWS.com.au
Prime Minister Malcolm Turnbull visits Winton and BirdsvilleThe North West Star

all 4 news articles »

The Australian

George Pell faces more questions over sex abuse claims
The Australian
Victoria Police has broadened its investigations into historical sexual assault allegations against George Pell after an interview in Rome led to blanket denials from the cardinal in the presence of an Australia-based lawyer. Amid growing signs police ...
Cardinal George Pell interviewed in Rome over sexual assault allegationsThe Sydney Morning Herald
George Pell voluntarily interviewed by Victoria Police in Rome over historic child abuse allegationsABC Online
Victoria Police detectives interview Cardinal George Pell in RomeHerald Sun
NEWS.com.au -Salt Lake Tribune -TIME -Yahoo7 News
all 38 news articles »

The Sydney Morning Herald

Day may face legal challenge to prevent his ABCC vote
The Canberra Times
Family First senator Bob Day could face a rare High Court injunction preventing him from supporting the Turnbull government's union-busting and same-sex marriage bills after he delayed his resignation to be present for the votes. If successful, that ...
Bob Day may keep voting in Senate until end of year despite announcing resignationABC Online
Doubt thrown on Day's retirementNEWS.com.au
Family First's Bob Day to remain in Senate until next yearThe Australian
The Sydney Morning Herald -SBS -dailytelegraph.com.au -Courier Mail
all 19 news articles »

Sky News Australia

GP accused of murdering wife with insulin
Sky News Australia
A Sydney doctor deliberately injected his wife with a lethal dose of fast-acting insulin before spending the rest of the night with his new lover, a judge has been told. Two days before the death of his wife, Brian Kenneth Crickitt had carried out ...
Doctor on trial for wife's death 'held hands' with his new lover on trip to the morgueNEWS.com.au
Sydney GP Brian Crickitt was having affair when wife died from insulin jab: courtThe Sydney Morning Herald
Sydney GP murdered his wife with deliberate insulin overdose, court hearsABC Online
dailytelegraph.com.au -Yahoo7 News
all 8 news articles »

The New Daily

Time is up for Brandis as PM grows 'sick and tired' of his gaffes
The New Daily
George Brandis has lost the confidence of Malcolm Turnbull, according to government sources who say the control-hungry, gaffe-prone Attorney-General has caused one too many headaches for the Prime Minister. While officially still standing by Senator ...
Brandis v Gleeson: a case with no winnerThe Australian Financial Review
Brandis, Gleeson legal breakdown is not a faultless divorceThe Australian
'They didn't trust Gleeson': Government MP suggests Brandis v Gleeson feud personalBrisbane Times
The Age -The Border Mail -The Global Legal Post
all 7 news articles »

Herald Sun

Victorian MP chauffeuring dogs enough to make voters barking mad
Herald Sun
THE idea that politicians are entitled to a taxpayer-funded chauffeur is enough to make some voters barking mad. But what about a politician ordering that chauffeur to ferry his dogs across the state? Training, Skills and Corrections Minister Steve ...

and more »

ABC Online

Australia falling behind in gender pay gap, women's safety and incarceration rates, new report shows
ABC Online
Australia is performing poorly in women's safety and income equality as well as a number of other key social issues compared with other OECD countries, a report by the Community Council for Australia has found.
Half of Australian women feel unsafe walking alone at night, report saysThe Sydney Morning Herald
ACT ranked first in The Australia We Want reportThe Canberra Times
Welfare report card 'wake-up call for nation'The Australian

all 4 news articles »

The Canberra Times

Spies waged a secret war on the streets of Canberra, author of new book on ASIO says
The Canberra Times
It was a secret war waged in Canberra's bars, parks and streets that makes today's spy thrillers look "pale by comparison". The third and final volume of the explosive history on ASIO, The Secret Cold War has revealed the extent of the espionage in the ...
Soviet spy infiltrated ASIO, book revealsNEWS.com.au
Asio finally admits it was infiltrated by Soviet spies in the 70s and 80sThe Guardian
ASIO admits: KGB walked among usThe Australian
ABC Online -The Australian Financial Review -The Register -The Conversation AU
all 10 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