Disable smart dashs or smart quotes on Mac

# Disable just smart dashes
defaults write -g NSAutomaticDashSubstitutionEnabled 0

# Disable just smart quotes
defaults write -g NSAutomaticQuoteSubstitutionEnabled 0

# To re-enable, set either back to 1.

How to test remote port on Windows 10

  • Start PowerShell: Open command prompt and type
  • Type the following command in PowerShell:
    Test-NetConnection -ComputerName RemoteHost -Port PortNumber
    For example:
    Test-NetConnection -ComputerName -Port 445