At the office we needed a list of Postcodes of suburbs affected by the second lockdown of Melbourne, Victoria.
Below is the list. While I believe that this is accurate, assume it’s released under the MIT license. It could have gaps. (Technically it’s licensed under the ‘Creative Commons Attribution 4.0 International (CC BY 4.0)’ license)
UPDATE 16/7/2020 – As pointed out by Michael the list below is missing 3135 & 3136. I’ve included them in the list below.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Background: I was asked to compile a list of postcodes in lockdown in Melbourne, I started by first going through the list of Local Government Area, I got to the second one and decided that their had to be a better way. Thank goodness for the DATA VIC site.
Failed to build pyinstaller Skipping wheel build for altgraph, due to binaries being disabled for it. Skipping wheel build for pefile, due to binaries being disabled for it. ERROR: Could not build wheels for pyinstaller which use PEP 517 and cannot be installed directly
It turns out that Windows Defender (the built in AV in Windows 10) was blocking runw.exe
The real error was a few lines above:
error: could not open 'PyInstaller\bootloader\Windows-32bit\runw.exe': Invalid argument
A quick unblock from Windows Defender and it worked.
Recently I added some headsets (Jabra PRO 9450) to a range of LG LIP-8012D and LG LIP-8024D phones.
The electronic hook switch plugs into the back of the handset, with the coloured strip (usually indicating pin 1) facing up. It’s best to remove the power, add the accessory, then plug it back in, otherwise, the phone won’t recognize the accessory. A second cable for audio is required from the headset port on the back of the phone to the base use of the headset. (only control signals are sent down the electronic hook switch cable)
The handset requires programming to be told to use the handset and not the speakerphone. Trans PGM > 6 > 1. Select 0 for headset then Hold/Save.
The handset requires programming to be told to ring in the headset: Trans PGM > 6 > 2 Select 2 for headset or 3 for both, then Hold/Save
Sometimes you need to move VPS’s, and you don’t want downtime with the SSL certs.
Well it turns out that you can easily run Let’s Encrypt in standalone mode and use DNS verification to do a once-off cert prior to moving the VPS. – Read the Certbot docs.
But once the migration has taken place, you may also want to return to the validation method that you had been using previously. Two options exist, either a) modify the config files by hand (strongly advised against) or to return to the certbot and get it to update the config itself.
For example here is how I generally get a SSL cert on a particular box:
For some reason installing the UFR II/UFRII based printer on Mac OS is strangely complex.
Here’s what to do:
1) Download the correct driver for the Canon Machine / Mac OS from the canon site (I install C2020’s a lot: https://www.canon.com.au/multifunction-devices/imagerunner-advance-c2020/support)
2) Install the Package
3) Within System Preferences > Printers > Add a New Printer.
4) Select ‘IP’ from the top tab. Fill the form in as follows:
Address: IP Address of the Printer
Protocol: Change to Line Printer Daemon
Queue: Insert ‘LP’ < this is the part I always forget.
Name: A logical name for the user
Location: A logical location for the user.
Use: Select the Driver from the one that you just installed, in my case I selected 'Canon iR-ADV C2020/2030
It now should now be setup to print.
If you want to setup the default settings on the printer, you need to use the CUPS web interface.
Visit: http://localhost:631/printers/ on the machine.
You’ll probably get a message about CUPS Web interface not being enabled, follow the prompts to open up ‘terminal’ and paste in cupsctl WebInterface=yes
Then you’ll be able to access the printer UI.
From here you can select the printer, and change the default printer settings.
I always change from 2 sided printing to 1 sided, and from Color to B/W
There you go, installing a Canon Printer or Canon Photocopier on Mac OS X.