Skip to content

Instantly share code, notes, and snippets.

View Zifius's full-sized avatar

Alexander Turiak Zifius

View GitHub Profile
### USAGE
###
### ./ElasticSearch.sh 1.5.0 will install Elasticsearch 1.5.0
### ./ElasticSearch.sh 1.4.4 will install Elasticsearch 1.4.4
### ./ElasticSearch.sh will fail because no version was specified (exit code 1)
###
### CLI options Contributed by @janpieper
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch
### ElasticSearch version
@Zifius
Zifius / get-gallery-images.sql
Last active March 24, 2016 00:16 — forked from tegansnyder/get-images-for-sku.sql
Query to get all gallery images with position and disabled flag
location / {
index index.php index.html index.htm;
try_files $uri index.php$uri;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /opt/local/share/nginx/html;
}