Skip to content

Instantly share code, notes, and snippets.

View propagated's full-sized avatar

Peter Williams propagated

View GitHub Profile
@jlengrand
jlengrand / spotiProxy
Created April 22, 2018 17:45
Activating / Deactivating Spotify proxy settings
#!/bin/sh
ON_OFF=$1
SPOTIFY_PREFS="$HOME/Library/Application Support/Spotify/prefs"
PROXY_ON="network.proxy.mode=2" #HTTP Proxy
PROXY_OFF="network.proxy.mode=1" #No proxy
if [ ! -f "$SPOTIFY_PREFS" ]; then
echo "Spotify preference file not found. Exiting"
exit 1
@paragonie-scott
paragonie-scott / crypto-wrong-answers.md
Last active August 17, 2024 06:33
An Open Letter to Developers Everywhere (About Cryptography)