Skip to content

Instantly share code, notes, and snippets.

View cstar's full-sized avatar

Eric Cestari cstar

  • Escape Velocity Operations
  • Paris, France
  • 19:44 (UTC -12:00)
  • LinkedIn in/ecestari
View GitHub Profile
@echarles
echarles / gist:5813448
Created June 19, 2013 10:53
List of ElasticSearch REST commands (retrieved from source code with grep)
DELETE
DELETE _template/{name}
DELETE {index}
DELETE {index}/_alias/{name}
DELETE {index}/_query
DELETE {index}/_warmer
DELETE {index}/_warmer/{name}
DELETE {index}/{type}
DELETE {index}/{type}/_mapping
DELETE {index}/{type}/_query
@mislav
mislav / file.rb
Created December 1, 2008 16:32
Capistrano "push strategy", revisited
## Capistrano "push strategy", take 2
#
# It's based on "remote_cache", but doesn't rely on a central git repository.
# It assumes that the code is already pushed to its "cached-copy".
#
# Usage:
#
# git remote add origin example.com:/path/to/my-app/shared/cached-copy/.git
# cap deploy
#