::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-23-22-58-239.compute-1.amazonaws.com
IP: 23.22.58.239
Port: 43023
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

Install Google Assistant
Monday 27th of March 2017 01:13:00 AM

I'm currently running a Moto G3 with Marshmallow and Google Now. My Google Now feed has been bombarded with articles about how I'm going to get Google Assistant for over five months now and as an Australian I thought it would have happened already. Despite what you may read, it isn't going to happen automatically and this article describes how to make it happen.

Firstly you should try Google Assistant via Google Allo to determine if you want it in the first place. Personally I ask AI systems "who shot first" to determine their quality. Google Assistant's comments about Chewbacca impressed me enough to make the switch.

A word of warning you won't find on the web: this process will destroy your launcher configuration and means you'll have to set up all your icons and widgets again. If you've ever moved from Lollipop to Marshmallow this is something you have become accustomed to anyway.

Are you ready to do this? Let's go!

Step 1: Make your phone American (it's only temporary). Go to settings then "Language & input".

Now change your language to English (United States).

Step 2: Kill Google. In settings go to Apps.

Now wait forever and find the "Google App".
Then go to Storage, Manage Space
And now click "Clear All Data".
Now go back to Apps and repeat the process for "Google Play services".

Step 3: Configure Google Assistant and rebuild the universe. Go back to your home screen and you should notice it has been destroyed. Swipe right to where Google Now was and it will ask to configure Google Assistant. Do this and rebuild your launcher icons and what not.

Step 4: Get the hell out of Dodge. Remember to go back to settings, "Language & input" and change your language back to English (Australia) or whatever. You'll have to keep your language as English (United States) or Google Assistant will stop working.

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.


Latest xkcd

xkcd.com

Mispronunciation
Sunday 26th of March 2017 10:00:00 PM
I pronounce epitome "EPPY-tome", but EpiPen "uh-PIE-pen".


Google Australian News

Nation - Google News

NEWS.com.au

Cyclone Debbie makes landfall as destructive and damaging winds hit Queensland coast
NEWS.com.au
“CATASTROPHIC” tropical cyclone Debbie has been downgraded to a Category one as it moves towards Collinsville in Queensland's north. The storm is travelling at just six kilometres an hour with the slow speed partly responsible for the extent of the ...
Queensland cyclone: Latest news, tracking for Cyclone DebbieCourier Mail
Demolition Debbie leaves state of chaosThe Australian
Cyclone Debbie: Storm likely to add to Great Barrier Reef's woes, scientist saysThe Sydney Morning Herald
ABC Online -Yahoo7 News -SBS -Sky News Australia
all 1,071 news articles »

ABC Online

NBN Co vows to continue targeting whistleblowers in wake of critical Senate report
ABC Online
NBN Co has vowed to continue targeting whistleblowers in the wake of a critical report from a powerful Senate committee. Australian Federal Police (AFP) raided the office of then-senator Stephen Conroy and the home of his staff member last year and ...
AFP raid on Labor offices 'improper'NEWS.com.au
Documents seized in hunt for NBN Co leaks to be withheld from police investigationThe Guardian
AFP raid on Conroy's office was 'improper interference'Shanghai Daily (subscription)

all 4 news articles »

Perth Now

Cop posts Facebook takedown of 'cerebrally challenged' alleged offender
Perth Now
A “CEREBRALLY challenged waste of skin” is how a West Australian police Facebook post described a man they arrested and charged. The lengthy post was published on the South East Metro District Facebook page on Tuesday morning, detailing an ...
'Inappropriate': WA Police could be brought into disrepute over Facebook postWAtoday
'Stupidest people on earth': WA officer unleashes after man's arrestThe West Australian

all 3 news articles »

The Australian

Bishop's blasts for Brexiteers, Trump's nationalism
The Australian
Julie Bishop described Brexit as a “reversal of the greatest post-war integrationist project” and US President Donald Trump as “driving an economic nationalist agenda” in a speech delivered to the country's top diplomats. Speaking to 113 ambassadors ...
Julie Bishop warns diplomats of Donald Trump's 'economic nationalist agenda'The Sydney Morning Herald
Envoys hit the road to boost trade ties9news.com.au
Envoys home for foreign policy brainstormNEWS.com.au
MFA China
all 8 news articles »

dailytelegraph.com.au

Palm Beach ocean pool swimmers oblivious to dusky whaler shark swimming underneath them
dailytelegraph.com.au
IT'S not every day you see a shark lapping it up in an ocean swimming pool — but that's exactly what happened on Sydney's northern beaches on Tuesday. Much to the bemusement of local beachgoers, the dusky whaler was spotted swimming about in the ...
Juvenile dusky whaler shark rescued from ocean baths in Palm BeachThe Sydney Morning Herald

all 2 news articles »

Brisbane Times

Fire at XXXX Brewery at Milton
Brisbane Times
Fire crews brought a blaze under control on Tuesday afternoon at Brisbane's iconic XXXX brewery at Milton. A Queensland Fire and Emergency Services statement was issued later stating the fire had been contained and all people accounted for. SHARE
Blaze breaks out at XXXX Brewery in Milton after electrical transformer catches fireABC Online
Queensland's iconic XXXX beer brewery catches fire9news.com.au
XXXX beer brewery in Milton catches fireCourier Mail
NEWS.com.au -Queensland Country Life -SBS -Daily Mail
all 9 news articles »

The Sydney Morning Herald

Ian Turnbull, elderly farmer who murdered environment officer, dies in custody
The Sydney Morning Herald
An 82-year-old farmer who was convicted of murdering a NSW environment officer during a dispute over illegal land clearing has died in custody in Sydney. Ian Turnbull, who had been serving a maximum 35-year jail term at Long Bay Correctional Complex ...
Officer widow speaks on Ian Turnbull deathNEWS.com.au
Ian Turnbull, farmer who fatally shot environmental officer near Moree, dies in jailABC Online
Ian Turnbull, farmer who killed Moree environmental officer Glen Turner, diesdailytelegraph.com.au
The Australian -9news.com.au -Warrnambool Standard -Daily Mail
all 10 news articles »

New York Times

5 Reasons Trump's Promised Tax Overhaul Won't Be So Easy
New York Times
Representative Kevin Brady, seated left, chairman of the tax-writing Ways and Means Committee, and Representative Greg Walden, both Republicans, at a House Rules Committee meeting about health care last week. Credit Stephen Crowley/The New York ...
After Health Care Loss, What's Next for a Divided Republican Congress?NBCNews.com
Does The Health Reform Fail Mean Tax Cuts Are Unlikely? I Strongly Doubt It.Huffington Post
Trump's epic health-care fail offers 5 iconic lessons for dealmakers: Op-EdCNBC
The Sydney Morning Herald -Fortune -ABC News -Washington Post
all 186 news articles »

ABC Online

Frances Bedford points finger at Labor's 'faceless men' as she quits party
ABC Online
Veteran Labor MP Frances Bedford has quit the party following its decision to endorse Health Minister Jack Snelling as its candidate in the seat of Florey at the next election. Ms Bedford said she would remain on as the local MP at least until the ...
SA Labor MP quits the partyThe Australian
Editorial: Faceless men give Frances Bedford voiceThe Advertiser
Banished Bedford quits Labor, with warning to "faceless men"InDaily
Gold Coast Bulletin
all 7 news articles »

The Australian

Harassment on social media pulled into 18C reforms
The Australian
The government will push to amend its shake-up to section 18C of the Racial Discrimination Act to ensure the new definition of “harass” can incorporate bullying behaviour waged over social media or email. The changes — tabled in the Senate last night ...
18C protects Muslim perverts: One NationNEWS.com.au
Q&A recap: Unlikely alliance rubbishes Turnbull Government's proposed changes to Racial Discrimination ActThe Sydney Morning Herald
Free speech should be every journos' cause. So why isn't it?dailytelegraph.com.au
SBS -9news.com.au -The New Daily -The Guardian
all 32 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