Skip to content

Instantly share code, notes, and snippets.

View snasirca's full-sized avatar

Shahriyar Nasir snasirca

View GitHub Profile
# ----------------------------------------------------------------------------------------------------------------
# Elasticsearch-Toronto Meetup: The Power of Mapping (part 1 of 3)
# ----------------------------------------------------------------------------------------------------------------
# My presentation at the first elasticsearch meetup in Toronto
# January 19, 2015
# http://www.meetup.com/ElasticSearch-toronto
# http://www.meetup.com/Elasticsearch-Toronto/events/218903340
# ----------------------------------------------------------------------------------------------------------------
# Demo with elasticsearch 1.4.2 and Marvel/Sense
# Installation: http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_installing_elasticsearch.html
# ----------------------------------------------------------------------------------------------------------------
# Elasticsearch-Toronto Meetup: The Power of Mapping (part 1 of 3)
# ----------------------------------------------------------------------------------------------------------------
# My presentation at the first elasticsearch meetup in Toronto
# January 19, 2015
# http://www.meetup.com/ElasticSearch-toronto
# http://www.meetup.com/Elasticsearch-Toronto/events/218903340
# ----------------------------------------------------------------------------------------------------------------
# Demo with elasticsearch 1.4.2 and Marvel/Sense
# Installation: http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_installing_elasticsearch.html
# ----------------------------------------------------------------------------------------------------------------
# Elasticsearch-Toronto Meetup: Zero Downtime (part 1 of 3)
# ----------------------------------------------------------------------------------------------------------------
# My presentation at the second elasticsearch meetup in Toronto
# April 21, 2015
# http://www.meetup.com/ElasticSearch-toronto
# http://www.meetup.com/Elasticsearch-Toronto/events/220384588/
# ----------------------------------------------------------------------------------------------------------------
# Demo with elasticsearch 1.5.1 and Marvel/Sense
# Installation: http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_installing_elasticsearch.html
@snasirca
snasirca / put_s3.sh
Last active May 1, 2017 02:35 — forked from chrismdp/s3.sh
Uploading to S3 using just Bash
#!/usr/bin/env bash
# Originally copied from: https://gist.github.com/chrismdp/6c6b6c825b07f680e710
# Required Environment Variables:
# - AWS_ACCESS_KEY_ID
# - AWS_SECRET_ACCESS_KEY
if [ $# -ne 3 ]; then
echo "Usage: put_s3.sh DIRECTORY_TO_PUT S3_BUCKET S3_DIRECTORY_PATH"