Skip to content

Instantly share code, notes, and snippets.

View jerrycattell's full-sized avatar

Jerry Cattell jerrycattell

View GitHub Profile
@jerrycattell
jerrycattell / global-protect.sh
Created July 10, 2017 20:50 — forked from kaleksandrov/global-protect.sh
Simple script that starts and stops GlobalProtect.app on Mac OSX.
#!/bin/bash
case $# in
0)
echo "Usage: $0 {start|stop}"
exit 1
;;
1)
case $1 in
start)
@jerrycattell
jerrycattell / easy_install-chef-client.log
Created May 28, 2014 16:33
undefined method `module_name' for Chef::Resource::Package
================================================================================
Error executing action `install` on resource 'easy_install_package[simplejson]'
================================================================================
NoMethodError
-------------
undefined method `module_name' for Chef::Resource::Package
Resource Declaration:
---------------------
#This is the "site config" for nginx
upstream django {
# Distribute requests to servers based on client IP. This keeps load
# balancing fair but consistent per-client. In this instance we're
# only using one uWGSI worker anyway.
ip_hash;
server unix:/tmp/uwsgi.sock;
}
server {