Wednesday, 8 June 2022
New York drivers: the most important people in the world
Sunday, 8 May 2022
Mars
Another Whole New World (Mars)
While "Earth 2" is out for repairs, I bought a temporary replacement machine on Amazon next day delivery. It's smaller than Earth2, so it's called "Mars".
Winget
Choco is no longer the way to go, so let's try to get everything back in using winget....
Winget
winget install -e -h --accept-source-agreements Google.Chrome
winget install -e -h Microsoft.VisualStudio.2022.Professional
winget install -e -h Microsoft.SQLServer.2019.Express
winget install -e -h Valve.Steam
winget install -e -h Microsoft.VisualStudioCode
winget install -e -h Ditto.Ditto
winget install -e -h Git.Git
winget install -e -h Mozilla.Firefox
winget install -e -h Github.GithubDesktop
winget install -e -h 7zip.7zip
winget install -e -h VideoLAN.VLC
winget install -e -h Notepad++.Notepad++
winget install -e -h Foxit.FoxitReader
winget install -e -h Zoom.Zoom
winget install -e -h Inkscape.Inkscape
winget install -e -h Docker.DockerDesktop
winget install -e -h ShareX.ShareX
winget install -e -h Audacity.Audacity
winget install -e -h Postman.Postman
winget install -e -h Microsoft.PowerToys
winget install -e -h WhatsApp.WhatsApp
winget install -e -h BlenderFoundation.Blender
winget install -e -h Discord.Discord
winget install -e -h KeePassXCTeam.KeePassXC
winget install -e -h PostgreSQL.pgAdmin
winget install -e -h Microsoft.SQLServerManagementStudio
winget install -e -h JanDeDobbeleer.OhMyPosh
winget install -e -h Microsoft.MouseWithoutBorders
REM SysInternals: Process Explorer etc.
winget install -e -h 9P7KNL5RWT25
REM Windows Terminal
winget install -e -h 9N0DX20HK701
winget install -e -h Microsoft.Teams
winget install -e -h Elgato.StreamDeck
winget install -e -h NathanBeals.WinSSH-Pageant
winget install -e -h Toggl.TogglDesktop
winget install -e -h Mirantis.Lens
winget install -e -h Canonical.Multipass
REM FFMPEG
winget install -e -h 9NB2FLX7X7WG
winget install -e -h WinMerge.WinMerge
Other downloads
- Paint.NET
- Fiddler
- KiTTY
- WiX Toolset
- Davinci Resolve
Oh My Posh
- Install CaskaydiaCove Nerd Font
"defaults": {
"font": {
"face": "CaskaydiaCove Nerd Font"
}
},
...
Private key management
ssh-add <keyname>.private.rsa
Docker desktop
First, carefully follow the instructions here:
wsl -d docker-desktop
sysctl -w vm.max_map_count=262144
exit
docker run --name rabbitmq -p 5672:5672 -p 15672:15672 -e RABBITMQ_DEFAULT_USER=<username> -e RABBITMQ_DEFAULT_PASS=<password> -d bitnami/rabbitmq:latest
docker run --name postgres -e POSTGRES_PASSWORD=<mysecretpassword> -e PGDATA=/var/lib/postgresql/data/pgdata -v "C:/users/david/Postgres Data:/var/lib/postgresql/data" -d postgres
Visual Studio Extensions
Get ELK working:
Visual Studio Extensions
Add all the good Visual Studio Extensions:
- Add New File (64-bit)
- Bootstrap Snippet Pack
- Case Converter 2022
- EditorConfig Language Service
- File Icons
- Git Diff Margin
- Inheritance Margin
- Markdown Editor (64-bit)
- Match Margin 2022
- NamespaceFixer
- Hgrok Extensions
- Open Command Line
- Solution Error Visualizer 2022
- SwitchStartupProject for VS 2022
- Time Stamp Margin 2022
- Trailing Whitespace Visualizer
- Viasfora
- Visual Studio Spell Checker (VS2022 and Later)
- Wix Toolset Visual Studio 2022 Extension
- Add New File (64-bit)
- Bootstrap Snippet Pack
- Case Converter 2022
- EditorConfig Language Service
- File Icons
- Git Diff Margin
- Inheritance Margin
- Markdown Editor (64-bit)
- Match Margin 2022
- NamespaceFixer
- Hgrok Extensions
- Open Command Line
- Solution Error Visualizer 2022
- SwitchStartupProject for VS 2022
- Time Stamp Margin 2022
- Trailing Whitespace Visualizer
- Viasfora
- Visual Studio Spell Checker (VS2022 and Later)
- Wix Toolset Visual Studio 2022 Extension
Settings
- Visible white space
- Enable with Ctrl R, Ctrl-W
- Make less harsh on the eyes by moving the saturation to ~50% of its default value
- Set Cascadia Code to be the default Font
- Move the Solution Explorer back to the left hand side
- Visible white space
- Enable with Ctrl R, Ctrl-W
- Make less harsh on the eyes by moving the saturation to ~50% of its default value
- Set Cascadia Code to be the default Font
- Move the Solution Explorer back to the left hand side
Data transfer
Data transfer will be fun - there's so much on my old PC, so I have that running at a second desk in case I need something in a hurry.
HP Console
Saturday, 9 April 2022
Undead LogicMonitor Devices / Resources
Do you have seemingly dead LogicMonitor devices, with skull and crossbones, just because you have written your own DataSources, have applied "NoPing" to system.categories so the usual Host Status DataSource Group doesn't appear?
Simply add the following lines to your DataSource's Groovy collection script (not active discovery) and viola: they're undead.
import com.santaba.agent.live.LiveHostSet
LiveHostSet.getInstance().flag(hostProps.get("system.deviceId").toInteger())
Saturday, 23 October 2021
Sandy Munro gives a design masterclass
Friday, 10 September 2021
Unless...
Building healthy relationships is not an obligation. Single serve makes you happy now. Change is difficult and hard work. The status quo is easier. Taking them for what they can afford, and get rich quick.
This is failure.
- Communicate openly and effectively.
- Be who you are.
- Celebrate them being them.
- Deserve and give respect.
- Connect, don't expect.
- Keep confidences.
- Expect better.
- Listen completely and properly.
- Ask for feedback.
- Trust.
- Respond to concerns.
- Keep promises.
- Apologise when appropriate.
- Don't hide.
Everyone. Not just the good ones. Everyone.
Long term relationships are the only ones with value. Your value to the world is the change you bring. What you bring to others is how they value you.
But don't do this for those that respect you. Do this for everyone.
Those that you benefit may be there when you retire, but the list of those that you love, just for being them... THIS is success.
Wednesday, 14 July 2021
WhatsApp and Discord corrupted QR Codes - Fixed!
Introduction
If your WhatsApp Desktop, WhatsApp Web or Discord app's QR codes are corrupt, like this:
You should temporarily:
- Browser: disable hardware acceleration
- Desktop app: run in compatibility mode
Chrome fix
- Go to Settings / Advanced and toggle "User hardware acceleration when available" to off (see below).
- Restart Chrome
- Go to WhatsApp web and use the (now non-corrupt) QR code
- Go back to settings and re-enable hardware acceleration
- Restart Chrome
- Go back to WhatsApp web - you should still be logged in
App shortcut fix
- Find the WhatsApp/Discord shortcut. This will probably be in: C:\Users\<YOUR USERNAME HERE>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\<App name>
- Right click on the file and select properties
- Click on the "Compatibility" tab.
- Select the Checkbox and select "Windows 7" in the dropdown
- Leave the properties open and click Apply
- Run WhatsApp / Discord. The QR code should work fine now.
- As soon as you have scanned the code, uncheck the checkbox in the properties dialog and click OK.
- Restart the app.
Thursday, 1 July 2021
Earth 2
A whole new world
It's been 8 years since the last upgrade ("Earth"), but now the new PC ("Earth 2") is here - thanks Scan!
Keeping notes here, perhaps useful for other people. I decided to get my own Windows licence, so Scan did not install this for me. Unfortunately, that meant my first attempt didn't have the right BIOS settings and the Windows 11 install failed. Having set up for secure boot, I reinstalled and Windows 11 is now in place.
Choco
Basic items
choco install -y steam-client vscode ditto git github-desktop googlechrome firefox 7zip vlc notepadplusplus visualstudio-installer foxitreader zoom paint.net inkscape microsoft-windows-terminal procexp powershell-core audacity postman greenshot docker-desktop sublimetext3 powertoys fiddler whatsapp blender discord.install kitty keepassxc netfx-4.7-devpack elasticsearch kibana logstash anydesk pgadmin4 streamdeck wixtoolset rabbitmq lightworks sql-server-management-studio
Visual Studio Community Preview
choco install -y visualstudio2019community-preview --pre
Postgresql
choco install postgresql13 --params '/Password:<PASSWORD>'
NET SDK
Windows Terminal
Windows Terminal is the default shell app for Windows 11. However, it needs to be set up for PowerLine.Scott Hanselman to the rescue:
Visual Studio Extensions
Extensions
- 1-Click Docs
- Add New File
- Bootstrap Snippet Pack
- EditorConfig Language Service
- File Icons
- Generate GUID for Visual Studio 2012-2019
- Git Diff Margin
- Inheritance Margin
- Intellisense Extender 2019
- Markdown Editor
- Match Margin
- NamespaceFixer
- Hgrok Extensions
- Open Command Line
- Roslynator 2019
- Security Code Scan
- Solution Error Visualizer
- SwitchStartupPorject for VS 2019
- Time Stamp Margin
- Trailing Whitespace Visualizer
- Viasfora
- Visual Studio Spell Checker (VS2017 and Later)
- Wix Toolset Visual Studio 2019 Extension
Settings
- Visible white space
- Enable with Ctrl R, Ctrl-W
- Make less harsh on the eyes by moving the saturation to ~50% of its default value
- Set Cascadia Code to be the default Font
- Move the Solution Explorer back to the left hand side
- 1-Click Docs
- Add New File
- Bootstrap Snippet Pack
- EditorConfig Language Service
- File Icons
- Generate GUID for Visual Studio 2012-2019
- Git Diff Margin
- Inheritance Margin
- Intellisense Extender 2019
- Markdown Editor
- Match Margin
- NamespaceFixer
- Hgrok Extensions
- Open Command Line
- Roslynator 2019
- Security Code Scan
- Solution Error Visualizer
- SwitchStartupPorject for VS 2019
- Time Stamp Margin
- Trailing Whitespace Visualizer
- Viasfora
- Visual Studio Spell Checker (VS2017 and Later)
- Wix Toolset Visual Studio 2019 Extension
Settings
- Visible white space
- Enable with Ctrl R, Ctrl-W
- Make less harsh on the eyes by moving the saturation to ~50% of its default value
- Set Cascadia Code to be the default Font
- Move the Solution Explorer back to the left hand side


