Guess what, the latest Microsoft Surface Pro X, isn’t all that ‘Pro’ friendly with it’s ARM based processor that it seems, nobody has a printer driver for. Who knows why Microsoft haven’t been able to add a 4G chip without having to replace the entire processor with a ARM chip. Lenovo and Dell (and probably HP) have been offering 3G/4G connectivity in their business ranges for years.
Rant over, thankfully a handful of generic priter drivers come in the box which might get you out in a pinch.
1) Go to ‘Printers & Scanners’ under Settings.
2) Click on Add a new Printer and wait, after a while a little message pops up saying ‘The printer that I want isn’t listed’
3) The old Add Printer dialogue appears. Select the last option ‘Add a local printer….’
4) Create a new port – Standard TCP/IP port
5) Use the Machines IP address. Untick the ‘Query the printer’ box.
6) Select the ‘Microsoft PCL6’ driver from the list.7) Print off a test page. It seems to work.
Obviously, you lose all the amazing extra bits from the driver, but for basic stuff, it’s good.
The information you’re about to submit is not secure
Because the site is using a connection that’s not completely secure, your information will be visible to others.
Chrome v86 started warning users about insecure forms. An odd configuration where Nginx was sitting in front of an IIS box was throwing the warning to users, seemingly because IIS wasn’t aware of the SSL layer that Nginx was putting on.
The solution. Adding the following line into the location block in Nginx.
proxy_redirect http://$host/ https://$host/;
No more warnings and now the browser stays inside of https land. Excellent.
By using the $host variable, instead of the actual hostname it allows this to be used inside of a snippet and used across multiple websites without having to change anything.
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