This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run me with: | |
# | |
# $ nginx -p /path/to/this/file/ -c nginx.conf | |
# | |
# All requests are then routed to authenticated user's index, so | |
# | |
# GET http://user:password@localhost:8080/_search?q=* | |
# | |
# is rewritten to: | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sketch of a Ruby API for ElasticSearch [http://elasticsearch.com] | |
require 'rubygems' | |
require 'curb' | |
require 'rest_client' | |
require 'yajl/json_gem' | |
module Slingshot | |
def http |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ===================================================== | |
# Installation instructions for a clean Mac OS X system | |
# ===================================================== | |
# | |
# <https://gist.github.com/747336> | |
# | |
# Keep only `.ssh` and `.profile.local` files from backup | |
# + Clean up Apple Ruby |
NewerOlder