When you plug your charger into your iPhone or iPad you get a little chime (or two short vibrations if it’s in silent mode) to let you know its connected.
You can activate that same chime on your MacBook when you connect your charger with one simple step.
If someone is connected to the wifi but can’t remember the code to share with you (maybe they lost that little card with the details you need or perhaps the router with the password printed on it is hidden behind a pile of books etc) you can just run the commands below in Terminal (Mac) or Command Prompt (PC):
security find-generic-password -wa YourWiFiNetworkNameHere
netsh wlan show profile name=YourWiFiNetworkNameHere key=clear