::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-144-44-17.compute-1.amazonaws.com
IP: 54.144.44.17
Port: 53365
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

Find and remove duplicate files in Linux
Monday 22nd of May 2017 11:12:00 PM

After maintaining data for years and guessing I have terrabytes of duplicated data. I couldn't find a great solution so I made my own using fdupes.


Firstly, use eyeballs to ensure there will not be any problems:


fdupes -rnm .

If all seems well then remove the duplicates:


fdupes -rndN .

I'm sure this can be approved on. The fundamental concept here is to determine if there is going to be any problems before automatically deleting a bunch of files.




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


Latest xkcd

xkcd.com

Anti-Drone Eagles
Thursday 25th of May 2017 10:00:00 PM
It's cool, it's totally ethical--they're all programmed to hunt whichever bird of prey is most numerous at the moment, so they leave the endangered ones alone until near the end.


Google Australian News

Nation - Google News

ABC Online

Police officer dies after shooting west of Brisbane
ABC Online
A police officer has died after being shot at by a gunman in the Lockyer Valley, west of Brisbane. Key points: Male QPS officer killed in shooting after attempting to intercept a car at Seventeen Mile; Queensland Premier pays her respects; Local ...
Policeman shot dead in Queensland ambushThe Australian
Slain cop named, gunman in stand-offCourier Mail
Police officer shot dead near BrisbaneNEWS.com.au
Brisbane Times -9news.com.au -SBS -The New Daily
all 31 news articles »

SBS (satire)

Journalist Shaking Uncontrollably After Two Hours Without Talking About Schapelle Corby
SBS (satire)
An Australian journalist is undergoing monitoring this morning after suffering extreme withdrawal symptoms as a byproduct of attempting to go two whole hours without reporting on Schapelle Corby. According to witnesses, the journalist had made a bold ...

and more »

The Age

Kylie Maybury's killer trapped by mix of new-age science, old-fashioned policing
The Age
When Gregory Keith Davies, 74, finally confessed that he was an opportunistic child killer he did so not because of one shred of remorse but because he knew he had been trapped by a combination of new-age science and old-fashioned policing.
Killer Gregory Keith Davies' shameful secretHerald Sun
Kylie Maybury's killer, Gregory Keith Davies, pleads guilty to rape, murder of Melbourne girlABC Online
Guilty plea finally brings justice for Kylie MayburyNEWS.com.au
9news.com.au -The New Daily -Starts at 60 -Yahoo7 News
all 18 news articles »

NEWS.com.au

This is what an ice-fuelled rampage looks like
NEWS.com.au
WARNING: GRAPHIC. A SYDNEY man has been jailed over an ice-fuelled rampage during which he randomly attacked seven strangers, including a musician whose head he repeatedly stomped on. CCTV footage showed “the astounding ferocity” of the five ...
Sydney man jailed over violent ice rampage9news.com.au
Ricky Hema jailed for ice-incited rampage at PunchbowlYahoo7 News
Ice addict hit man before stamping on his head 5 timesDaily Mail

all 5 news articles »

The Sydney Morning Herald

Turnbull tears up secret hospital funding plan
The Sydney Morning Herald
The Turnbull government has doubled down on its support for private health insurers after rejecting a radical health department hospital funding proposal that would have dismantled the $6 billion taxpayer-funded rebate. Labor accused the Coalition of ...
Hospital funding overhaul examinedNEWS.com.au
No secret plan for hospitals: ministerSBS
Government denies hospital funding overhaulSky News Australia
Xinhua
all 7 news articles »

The Age

Camberwell High School becomes second target of major privacy breach in two weeks
The Age
Police are investigating a second major privacy breach at a Melbourne high school which saw the personal information of families illegally accessed by a student. The breach at Camberwell High School follows a similar but unrelated incident at Blackburn ...
Second Melbourne school hit by information hackHerald Sun
Vic school IT breach after password theftThe Australian
​Victorian student gained unauthorised access to school's IT networkZDNet
3AW
all 6 news articles »

The Sydney Morning Herald

Three siblings from travelling show family killed in highway crash near Boggabilla
The Sydney Morning Herald
Three siblings travelling home from a NSW fair have been killed in a "split second" in a horrific crash between two trucks and a car in northern NSW. Play Video. Replay Video. Play Video Don't Play ...
Three people killed in fiery fuel tanker collision on highway in northern NSW9news.com.au
Boggabilla crash: Three people dead after collision in northern NSWABC Online
Three people killed in Boggabilla following fuel tanker crashNEWS.com.au
Courier Mail -TripleM Sydney -Yahoo7 News -Moree Champion
all 22 news articles »

ABC Online

Lindt Cafe siege: Trigger decisions, terror negotiation, subjects of inquest submissions
ABC Online
The death of a hostage would not necessarily "trigger" police to enter a siege situation, the Commonwealth said in its submission to the Sydney Lindt Cafe inquest. Key points: Submissions were made by the Dawson and Johnson families, the Commonwealth, ...
'I shot till Monis was no longer a threat'The Australian
'Police mismanaged Lindt siege'dailytelegraph.com.au
Dawson family takes aim at psychiatristNEWS.com.au
SBS -The New Daily -Daily Mail -Echonetdaily
all 11 news articles »

NEWS.com.au

Police hope T-shirt will help identify body discovered in bin
NEWS.com.au
A WHEELIE bin was sitting right beside the footpath. People on their morning walks would have passed it, neighbours would have dragged their bins out next to it. It's a normal setting for a suburban street, but nobody knew there was something sinister ...
Body in a wheelie bin: Korean boy-band T-shirt key clue after grisly Preston findThe Age
Victorian police release image of T-shirt to identify body found in wheelie bin at PrestonABC Online
Mystery surrounds unidentified body found stuffed into recycling bin9news.com.au
Herald Sun -Sky News Australia -Yahoo7 News -Ten Eyewitness News
all 13 news articles »

ABC Online

Navy warships' faults being scrutinised during Senate Estimates hearings
ABC Online
Over the past weekend two French warships quietly slipped into Darwin harbour where they'll soon show off their amphibious capability to the Australian Navy. Unfortunately Australia's two main amphibious warships, HMAS Canberra and HMAS Adelaide, ...
Warships to be back in service by OctoberThe Australian
Senate Estimates probes into LHD pod issuesAustralian Defence Magazine

all 5 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