Skip to content

Instantly share code, notes, and snippets.

View anmichai's full-sized avatar

Andrey anmichai

View GitHub Profile
@m3rkus
m3rkus / proxy.sh
Last active March 1, 2024 17:52
Script for convenient enabling/disabling proxy settings on your Mac OS machine.
#!/bin/bash
NETWORK_SERVICE_NAME="Wi-Fi"
if [ "$#" -ne 1 ]; then
echo "Argument missing [on/off]"
exit 0
fi
if [ $1 == "on" ]; then