Skip to content

Instantly share code, notes, and snippets.

View chrisgeo's full-sized avatar

Chris George chrisgeo

  • San Francisco, CA
View GitHub Profile
@chrisgeo
chrisgeo / toggle_airplay
Created March 18, 2015 20:26
Enable and Disable Airplay Script
#! /bin/sh
#######
#
# Script to enable and disable airplay in OS X
#
#########
AIRPLAY=/System/Library/CoreServices/AirPlayUIAgent.app/Contents/MacOS/AirPlayUIAgent
disable() {
@chrisgeo
chrisgeo / localhost.com
Created August 16, 2012 16:56
nginx config
server {
listen 80 default;
server_name www.localhost.com localhost.com *.localhost.com;
server_name_in_redirect off;
port_in_redirect off;
access_log /var/log/nginx/nginx.access.log;
location ~* ^/$ {
proxy_set_header CIP-NETSCALER $remote_addr;
proxy_set_header X-True-Origin $remote_addr;
@chrisgeo
chrisgeo / LeadGeniusAPI.markdown
Last active January 9, 2022 02:36
LeadGenius API

LEADGENIUS API

Welcome to the leadgenius API. Below is the layout and relevant use cases.

RESPONSE CODES

STATUS CODES DESCRIPTION
200 OK Request processed successfully, look at response object for details
202 Accepted Means the request has been put in a queue for processing
@chrisgeo
chrisgeo / ifame.html
Created September 13, 2017 13:15
iframe test
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
THIS IS SOME HTML
</body>
</html>
node_modules*

Keybase proof

I hereby claim:

  • I am chrisgeo on github.
  • I am chrisgeorge (https://keybase.io/chrisgeorge) on keybase.
  • I have a public key whose fingerprint is 9DCD 0E7D 385C 8247 E2F5 E7FC 2C43 EBC0 2D8C 8781

To claim this, I am signing this object:

@chrisgeo
chrisgeo / HTML (Jinja2).tmLanguage
Created September 13, 2012 22:29
jinja2 textmate
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>htm.j2</string>
<string>html.j2</string>
<string>xhtml.j2</string>
<string>xml.j2</string>
@chrisgeo
chrisgeo / ch.json
Last active February 25, 2016 18:11
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chrisgeo
chrisgeo / Custom.css
Last active December 14, 2015 14:29
Chrome Custom.css file
/*
Chrome Developer Tools - Monokai Color Theme
Author: Béres Máté Csaba / bjmatt.com / @bjmatt / beres.mate@bjmatt.com
-----------------------------------------------------------------------------------------------------------
Installation:
1. Find your Chrome's user stylesheet's directory, for example in win7:
"c:\Users\***YOUR USERNAME***\AppData\Local\Google\Chrome\User Data\Default\User StyleSheets\"

CINNAMON BEEF STEW

AMOUNT UNIT INGREDIENT
2-3 LBS Beef Stew Meat
To taste - Salt & Pepper
3 TBSP Coconut Oil
1 Medium - Carrot
1 Medium - Onion