::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-54-167-129-169.compute-1.amazonaws.com
IP: 54.167.129.169
Port: 55198
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

Never Seen Star Wars
Tuesday 06th of December 2016 10:00:00 PM
If anyone calls you on any weird detail, just say it's from the Jedi Prince book series, which contains so much random incongruous stuff that even most Expanded Universe/Legends fans collectively agreed to forget about it decades ago.


Google Australian News

Nation - Google News

ABC Online

Sydney's lockout laws relaxed as part of two-year trial
ABC Online
New South Wales Premier Mike Baird has announced a softening of the state's lockout laws in response to the recommendations of a statutory review. Key points: Lockout relaxed from 1:30am to 2:00am for live entertainment venues for a two-year trial ...
'An extra 30 minutes? What a joke'Courier Mail
NSW to relax lockout and last drinks lawsThe Australian Financial Review
Controversial NSW lockout laws softened9news.com.au
SBS -The Sydney Morning Herald -Business Insider Australia -Yahoo7 News
all 27 news articles »

The Australian Financial Review

GDP slump unveils economic fragility
The Australian Financial Review
Treasurer Scott Morrison has doubled down his demand for parliament to back planned company tax cuts and rejected calls for extra government spending after presiding over the economy's weakest quarter since the global financial crisis in 2008. A ...
Why this disaster is actually goodNEWS.com.au
Economic sun sinks in Western AustraliaThe Australian
Nation slips into reverse as GDP shrinks for first time in five yearsHerald Sun
Yahoo7 News -Courier Mail -The Canberra Times -The Guardian
all 149 news articles »

The Australian

Weatherill warns states could introduce carbon prices
The Australian
Malcolm Turnbull has launched a strident attack against the South Australian Labor government's “appalling” approach to energy security, as premier Jay Weatherill warns the states could defy the federal Coalition and introduce their own carbon prices ...
Climate policy review: SA Premier Jay Weatherill calls for state-based emissions trading schemeABC Online
Climate talks cast shadow over TurnbullSBS
States threaten to go it alone on carbonNEWS.com.au
The Australian Financial Review -Sky News Australia -InDaily -Herald Sun (blog)
all 16 news articles »

The Sydney Morning Herald

'Suspicious device' found at Sydney electricity substation
The Sydney Morning Herald
Police will forensically examine a number of "unattended objects" that were discovered at an electricity substation in South Penrith and which caused residents to be evacuated from their homes on Thursday morning. Emergency services were called to ...
Sydney substation 'bomb threat'The Australian
Bomb squad sent to west Sydney substationNEWS.com.au
Bomb squad investigating after 'explosive device' found at electrical substation in Penrith9news.com.au
dailytelegraph.com.au -Business Insider Australia -Gizmodo Australia -Huffington Post Australia
all 16 news articles »

Sky News Australia

Nolan search concludes after bones discovered
Sky News Australia
A search for the remains of murdered woman Lateesha Nolan's bones in central western NSW has concluded following the discovery of several more bones. Officers found numerous fragmented and whole bones at a riverbank near Dubbo on Wednesday, ...
Bone fragments found in the search for Malcolm Naden's murder victim Lateesha NolanThe Sydney Morning Herald
Lateesha Nolan search uncovers bonesNEWS.com.au
Lateesha Nolan case: More bones found in search for body of Malcolm Naden's victim near DubboABC Online
NSW Police Online (press release) -dailytelegraph.com.au -Daily Mail -Yahoo7 News
all 17 news articles »

Echonetdaily

Lightning strike victim Sam Beattie remembered
Echonetdaily
Sam Beattie and his girlfriend Michele Segalla in front of the Statue of Liberty before setting out on their 'holiday of a lifetime'. Photo Instagram. A man killed by a lightning strike on top of Mount Warning has been remembered by friends as an ...
'You taught me everything I know'NEWS.com.au
Sam Beattie, killed in Mount Warning lightning strike, was on dream Australian holidayThe Sydney Morning Herald
Duxbury Man Killed By Lightning In Australia, Girlfriend Seriously InjuredCBS Local
Yahoo7 News -9news.com.au -UPI.com -The Australian
all 40 news articles »

ABC Online

Woman falls from balcony in Sydney, then has to be cut from car
ABC Online
A woman who fell from the second floor of an apartment building has sparked another emergency at a hospital in western Sydney, after having to be cut from a car. Police said the 26-year-old was waving goodbye to a friend when she plunged two floors ...
Waving woman plunges two storeysThe West Australian
Woman falls from second-storey balcony waving to friendYahoo7 News
Woman falls from building in western SydneymyGC.com.au
Townsville Bulletin -Daily Mail
all 8 news articles »

Herald Sun

Wait, did Time really name Trump "Person of the Year"?! I thought that was a joke.
Herald Sun
People - Time's Man of the Year just refers to the most influential person they perceive that year. Really no argument that it was Trump. — David Pratt (@PresidentPratt) December 7, 2016. Trump all the way! Divided bcz of Obama not Trump! Cheap shot Time!
Time Magazine names Donald Trump 'Person of the Year'The Sydney Morning Herald
Donald Trump named Time's Person of the YearThe Australian
President-Elect Donald Trump Named Time Magazine's Person Of The Year For 2016 [Video]The Inquisitr
Daily Mail -WLS-TV -Huffington Post -dailytelegraph.com.au (blog)
all 526 news articles »

Sky News Australia

Strikes a shock for southeast Queensland
SBS
Southeast Queensland has been hit with an unusually high number of lightning strikes, which have destroyed homes and injured several people. Source: AAP. 8 Dec 2016 - 11:14 AM UPDATED 2 MINS AGO ...
Queensland weather: Lightning strikes two Gold Coast homesBrisbane Times
Just one more night of stormsGold Coast Bulletin
Woman, boy treated after lightning strikesNEWS.com.au
ABC Online -dailytelegraph.com.au -Yahoo7 News -4BC
all 22 news articles »

The Age

'My boyfriend's been shot': Man fights for life after shooting in Melbourne's outer west
The Age
A young woman screamed "my boyfriend's been shot" seconds after a man was gunned down on a street in Melbourne's outer west. The man, in his 20s, is in a critical condition after he was found with gunshot wounds about 4.40am in Kurunjang, near Melton.
Kurunjang shooting: man fighting for life after being found with gunshot woundsHerald Sun
Become a Canberra Times member todayThe Canberra Times
'My boyfriend's been shot': Young man found in pool of blood on Melbourne street9news.com.au
Sky News Australia -Yahoo7 News -Daily Mail -3AW
all 13 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