Tips & Tricks

Here's a bunch of things that I need to know and always forget:

See the connections to your machine for a specific ip

netstat -n | findstr 10.100.20.200

Get to a console for an Azure website

Go to {website-name}.scm.azurewebsites.net then select 'Debug Console' and then 'CMD'
To get the hostname, just type hostname

Globally store git credentials

git config --global credential.helper store The next time you run a git command it will ask for your username and password, and then will never do it again!

Pin cmder to the taskbar in windows 10

Right click on the taskbar icon
Right click on ConEmu and open the Properties.
Change the Target to <path to cmder>\Cmder.exe and Start in: to <path to cmder>.
Restart explorer.exe.

Start an admin powershell from powershell

start powershell -verb runas

Disable windows beep

Can't stand powershell beeping when you hit backspace too many times? Run these from an admin powershell and then restart your computer.
Disable: set-service beep -startuptype disabled
Enable: set-service beep -startuptype automatic
Note: this will disable the beep throughout all of Windows.

comments powered by Disqus