Posts

Showing posts from 2022

Outdoor / camping shops in HK

View on Google Maps  

Ways to test port connections & ports occupied by Windows services

Image
Test Port Connection Powershell Host Port Test-NetConnection  localhost -Port 9010       - OR - New-Object System.Net.Sockets.TcpClient(" localhost ", 80 )   Find out the port occupied by which application / service   1. Find out the process ID Netstat -aon | findstr [port]   2. Find the application name by PID Tasklist | findstr [pid]

(Low cost / No Cost) Hario Skerton burr wobble fix / mod

Image
 Photo from Reddit Post   Before modification, Skerton gives an inconsistent grind size and people may look for more expensive grinder for espresso. Long story short, here is the quick fix with low cost / no cost: The inconsistent is caused by the burr wobble - so we need to fix the shaft to make sure the bottom burr stays in position at all time.    All you need is a straw / paper straw as spacer.    Result:  

Visual Studio Code Docker Extension Error-- "Error: Process 'docker context ls --format="{{json .}}"' exited with code 1"

Image
  Fix for Error: Process 'docker context ls --format="{{json .}}"' exited with code 1     The problem was a corrupt meta.json file, (full of null´s inside the file). Quit Desktop Docker Delete %userprofile%.docker Open Docker Destop Problem fixed!   Source

Python Virtual Env - VS Code - .venv Terminal "Activate.ps1 cannot be loaded"

 This is caused by execution policy of PowerShell. We can fix it by adding "-ExecutionPolicy Bypass" in settings.json. Ctrl + Shift + P > type settings.json > Add the below lines "terminal.integrated.profiles.windows" : { "PowerShell" : { "source" : "PowerShell" , "icon" : "terminal-powershell" , "args" : [ "-ExecutionPolicy" , "Bypass" ] } }, "terminal.integrated.defaultProfile.windows" : "PowerShell" , Restart VS Code     https://stackoverflow.com/questions/56199111/visual-studio-code-cmd-error-cannot-be-loaded-because-running-scripts-is-disabl/67420296#67420296 

Luminar4 for FREE 闄愭檪鍏嶈不

Image
https://skylum.com/hans/chip-luminar4