Category: Computers
Best ssh setup for windows
I’ve tried quite a few different setups for administering my various linux boxen from Windows, and this is currently my favourite: Mintty for WSL (aka WSLtty). Here’s how to set it up. Install Windows Subsystem for Linux (WSL): Open Powershell as an administrator Enter this command:Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux When…
QGIS 3.0 Map tips
I’ve been playing with QGIS, and it’s an awesomely powerful piece of software for map making an analyzing geographical data. It has the ability to show HTML map tips when you hover over certain features, but with some restrictions. The containing box (which you can’t style, AFAIK) has white background…
Draftsight Units
I was a little confused by how units work in Draftsight, so now I think I’ve figured it out i thought I’d share. The Model They key thing to understand is that that the model, ie. the lines you’ve drawn, isn’t in mm or inches or feet, it’s just…
Copy Folders without Files
If you want to copy a complete folder structure, but not the files contained in it, use robocopy from the command line: robocopy “A:\Source folder” “B:\Destination folder” /e /xf * This is lifted straight from https://superuser.com/a/873585/178934, I’m just putting it here for my quick reference.
Windows PowerShell – get a recursive list of directories
Like this: dir -Directory -Recurse | % { $_.FullName } > list.txt
SpiderOak Purge Historical versions
I don’t like the default for SpiderOak’s –purge-historical-versions command, which does this: This allows you to remove historical versions of files in your backup set according to the following schedule, which is to keep one version per hour for the last 24 hours, then one version per day for 30…
Gimp Plugin – fixed crop
This is a simple script to crop a plugin with fixed dimensions – I used it to crop out the window border from a VNC Client connected to an industrial touchscreen. (script-fu-register “script-fu-crop” ;func name “Screenshot Crop” ;menu label “Crops an image to a fixed size” ;description “Sandy Scott” ;author…
Stop Windows 10 updates
On Windows 7: These are all in the Important section. They appear as “Update for Windows 7” KB 2952664 KB 3021917 KB 3035583
Sysprep Notes
Sysprep With the OOBE and Generalise options, Will preserve user accounts Drivers will automatically re-install Remembers network keys Forgets network locations (Home/Work/Public) Updates remain installed Windows update need to complete an initial scan Microsoft update is turned off Action Centre items in default state Antivirus starts and works correctly
Best ssh setup for windows
I’ve tried quite a few different setups for administering my various linux boxen from Windows, and this is currently my favourite: Mintty for WSL (aka WSLtty). Here’s how to set it up. Install Windows Subsystem for Linux (WSL): Open Powershell as an administrator Enter this command:Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux When…
QGIS 3.0 Map tips
I’ve been playing with QGIS, and it’s an awesomely powerful piece of software for map making an analyzing geographical data. It has the ability to show HTML map tips when you hover over certain features, but with some restrictions. The containing box (which you can’t style, AFAIK) has white background…
Draftsight Units
I was a little confused by how units work in Draftsight, so now I think I’ve figured it out i thought I’d share. The Model They key thing to understand is that that the model, ie. the lines you’ve drawn, isn’t in mm or inches or feet, it’s just…
Copy Folders without Files
If you want to copy a complete folder structure, but not the files contained in it, use robocopy from the command line: robocopy “A:\Source folder” “B:\Destination folder” /e /xf * This is lifted straight from https://superuser.com/a/873585/178934, I’m just putting it here for my quick reference.
Windows PowerShell – get a recursive list of directories
Like this: dir -Directory -Recurse | % { $_.FullName } > list.txt
SpiderOak Purge Historical versions
I don’t like the default for SpiderOak’s –purge-historical-versions command, which does this: This allows you to remove historical versions of files in your backup set according to the following schedule, which is to keep one version per hour for the last 24 hours, then one version per day for 30…
Gimp Plugin – fixed crop
This is a simple script to crop a plugin with fixed dimensions – I used it to crop out the window border from a VNC Client connected to an industrial touchscreen. (script-fu-register “script-fu-crop” ;func name “Screenshot Crop” ;menu label “Crops an image to a fixed size” ;description “Sandy Scott” ;author…
Stop Windows 10 updates
On Windows 7: These are all in the Important section. They appear as “Update for Windows 7” KB 2952664 KB 3021917 KB 3035583
Sysprep Notes
Sysprep With the OOBE and Generalise options, Will preserve user accounts Drivers will automatically re-install Remembers network keys Forgets network locations (Home/Work/Public) Updates remain installed Windows update need to complete an initial scan Microsoft update is turned off Action Centre items in default state Antivirus starts and works correctly