Skip to content

Instantly share code, notes, and snippets.

@joerobot
joerobot / A Spotify Proxy Switcher.md
Last active March 25, 2020 16:18
Making Spotify HTTP Proxy Switching Slightly Less Painful

These are two commands for switching the Spotify proxy on and off, as Spotify doesn't automate it for you. Also bundled are some aliases you can use to switch from the command line.

  • Make sure you have your proxy settings set up and set to 'HTTP' or 'No Proxy'
  • Download the two .command files
  • Save them somewhere sensible
  • Make sure they are executable (Move to the directory you saved them in and chmod +x Spotify_Proxy_Off.command Spotify_Proxy_On.command)

Now you can proxy switch from Spotlight by searching Spotify Proxy On and Spotify Proxy Off 🤗

@evantoli
evantoli / GitConfigHttpProxy.md
Last active April 26, 2024 17:21
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like:

@plentz
plentz / nginx.conf
Last active April 24, 2024 11:15
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@josegonzalez
josegonzalez / readme.md
Last active November 17, 2018 16:16
Example Readme for CakePHP plugins that use MIT license

[PLUGIN NAME] Plugin

[ONE LINE DESCRIPTION OF PROJECT]

Background

[A PARAGRAPH DESCRIBING WHY YOU BUILT THIS]

[ANOTHER PARAGRAPH DESCRIBING YOUR IMPETUS FOR RELEASING THIS]