Information on the current state of the wifi:
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -I
Scan the available wifis and give a full report:
# Find all ports | |
sudo lsof -i -P -n | grep LISTEN | |
# Find a specific port | |
sudo lsof -i:52698 | |
sudo lsof -i:8080 | |
# Kill the process in a single port | |
fuser -k 52698/tcp | |
fuser -k 8080/tcp |
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
nvm install | |
rm -rf node_modules | |
npm outdated | |
npm install -g npm-check-updates | |
ncu -u | |
npm update |
cd /Library/Preferences/SystemConfiguration | |
sudo mv ./com.apple.airport.preferences.plist _com.apple.airport.preferences.plist | |
sudo mv ./com.apple.network.identification.plist _com.apple.network.identification.plist | |
sudo mv ./com.apple.wifi.message-tracer.plist _com.apple.wifi.message-tracer.plist | |
sudo mv ./NetworkInterfaces.plist _NetworkInterfaces.plist | |
sudo mv ./preferences.plist _preferences.plist | |
sudo shutdown -r now |
Create a .zip file from the git structure | |
``` | |
git archive -o whirlpool_blog.zip HEAD |
# Preview webp images | |
curl -L https://raw.github.com/emin/WebPQuickLook/master/install.sh | sh |
du -hs --apparent-size * | sort -h |
79 lines (61 sloc) 3.27 KB | |
## Start staks | |
echo Start | |
## Install devtools | |
xcode-select --install | |
## Install Homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |