::peeto.net

Navigate Site


Arrow Site Options

Arrow Cookies
Arrow Site Panel
Arrow Page Panel
Arrow Site Color

Select Color View mode


Arrow InetTime

Local
::
InetTime


Convert

::

Arrow Browser

Host: ec2-184-73-21-101.compute-1.amazonaws.com
IP: 184.73.21.101
Port: 34785
Protocol: HTTP/1.1
Method: GET
User Agent: CCBot/2.0 (http://commoncrawl.org/faq/)
Referer: [Link]
Cookies:

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

Site


Arrow Page Options

Bookmark
Print




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.
blog.peeto.net

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

Awesome!!!


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

Yeesh!


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?


Update


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

tmuxstart
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.



#!/bin/bash
echo
# 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:

https://developers.google.com/schemas/reference/

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.

#GoogleTranslate
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

xkcd.com

Voice Commands
Tuesday 17th of January 2017 10:00:00 PM
Dvorak words may sound hard to pronounce, but studies show they actually put less stress on the vocal chords.


Google Australian News

Nation - Google News

ABC Online

Mike Baird resigns as NSW Premier, retires from politics
ABC Online
NSW Premier Mike Baird has announced his retirement from politics to spend time with his family and help his parents and sister through "serious health challenges". Mr Baird's deputy and State Treasurer Gladys Berejiklian has confirmed she will be ...
Mike Baird resigns: Who will emerge as winners and losers?The Sydney Morning Herald
13 ways Mike Baird changed NSWNEWS.com.au
I've done all I can: Mike Baird resignsCourier Mail
The Age -Herald Sun -Brisbane Times -dailytelegraph.com.au
all 183 news articles »

Herald Sun

Immigration Minister Peter Dutton says controversial Australia Day Muslim themed billboard is 'great'
Herald Sun
IMMIGRATION Minister Peter Dutton has given his approval of the controversial billboard featuring two young Muslim girls wearing hijabs. In an interview with 3AW, Mr Dutton described the billboard as “great”, saying Australians should not be offended ...
Hijab billboard campaign success sees signs booked across VictoriaSBS
Billboards banned but ACT government could put Muslim Australia Day ad on bannersThe Sydney Morning Herald
Billboards featuring girls in hijabs to be installed nationwide after crowdfunding campaign reaches targetABC Online
9news.com.au -Courier Mail -The Age -AdNews
all 19 news articles »

Herald Sun

Undercover cops crack down on fake homeless during Australian Open as tourists are targeted for money
Herald Sun
UNDERCOVER police will target fake homeless people begging in Melbourne's streets today as Victoria's police chief vows authorities are doing all they can to stop the “disgusting” city slums. Police want the City of Melbourne to strengthen local laws ...
Melbourne's 'homeless' choosing to sleep rough and shake down touristsThe Australian
Rough sleepers "disgusting": top Vic copNEWS.com.au
Homeless campers litter Flinders streetSky News Australia
International Business Times AU -Daily Mail
all 8 news articles »

ABC Online

Rod Culleton given more time to get financial affairs in order ahead of bankruptcy ruling appeal
ABC Online
Disqualified West Australian senator Rod Culleton has been granted more time to get his financial affairs in order. Mr Culleton was stripped of his status as a senator after he was declared bankrupt in December. The Federal Court will hear his ...
Rod Culleton's 'gone fishin'NEWS.com.au
Rod Culleton: Queensland benefactor offers to pay debtsThe Australian
Ex-senator Culleton changes official Facebook page to 'gone fishing'9news.com.au
Warrnambool Standard -dailytelegraph.com.au -The Sydney Morning Herald
all 11 news articles »

dailytelegraph.com.au

Ten hospitalised in NSW seven-car pile up
dailytelegraph.com.au
A seven-car pile up on a motorway north of Sydney has injured eight, including a number of children, with one person fighting for life in hospital. The accident happened on the northbound lane of the M1 Motorway, south of the Hawkesbury River Bridge ...

and more »

ABC Online

children committing serious crimes referred to Border Force for deportation
ABC Online
A number of overseas-born children who have committed serious crimes in Victoria have been referred to Border Force for potential deportation, Victoria Police has said. Key points: Referring children to Border Force only considered in "exceptional ...
Police and Border Force to deport 'a number' of Apex gang membersThe Age
Apex gang members face deportationNEWS.com.au
Apex gang members placed on deportation listSky News Australia
Business Insider Australia -International Business Times AU
all 8 news articles »

The Guardian

Why hasn't MH370 been found?
The Guardian
Australia's multimillion-dollar search effort for the missing Malaysia Airlines flight 'tested the limits of human endeavour' – and failed. Where did it go wrong? by Elle Hunt. Australia's multimillion-dollar search effort for the missing Malaysia ...
Were opportunities for clues from MH370 debris missed?Business Insider
Malaysian Airlines posts “insensitive” image on same day search is called offTen Eyewitness News
Malaysia Airlines Insensitive Social Media Gaffe as MH370 Search Called OffTravel Weekly
NOLA.com -Roanoke Times -Free Malaysia Today -International Business Times UK
all 47 news articles »

NEWS.com.au

“The motorway is currently blocked in both directions,” she said.
NEWS.com.au
FIRES have forced the closure of a motorway and evacuation of a nearby gas depot on the Sunshine Coast. Seven crews have been called to a blaze at Coolum, with more on route, to help contain the fire that is burning along the Sunshine Motorway at ...
Sunshine Coast grass fire closes motorway, believed to have forced evacuation of businessesABC Online
Grassfire closes Sunshine Coast motorwayBrisbane Times

all 6 news articles »

The Sydney Morning Herald

Swarm of US agencies probe suspected Kremlin-Donald Trump election funding
The Sydney Morning Herald
Just days before Donald Trump's swearing in as American president, a news report has revealed the remarkable breadth of a joint investigation by no less than six US intelligence agencies of claims that Russia helped the Trump campaign – and of the ...
Trump's fight with the CIA is a danger to all of usRaw Story
Open secrets - and Trump's wrath - will challenge new CIA chiefDaily Mail
Trump isn't the first president to distrust US intelligenceYahoo News
Chicago Tribune -Washington Post -International Business Times UK -Macleans.ca
all 243 news articles »

SBS

18C should be expanded to protect religion, Grand Mufti says
SBS
The discrimination versus free speech argument has reared its head in Australian politics once more, with calls from religious leader to include faith under anti-discrimination clause 18C. By. Camille Bianchi. 19 Jan 2017 - 3:10 PM UPDATED 1 HOUR AGO ...
Grand Mufti warns against watering down hate speech lawsNEWS.com.au
Grand Mufti proposes equal protection for Muslims under Racial Discrimination ActInternational Business Times AU
Grand Mufti calls for hate speech laws updateDaily Mail

all 4 news articles »

peeto.net News


News

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

Television Guides

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