Skip to content

Instantly share code, notes, and snippets.

View my-janala's full-sized avatar

Mezbaur Rahman my-janala

View GitHub Profile
@my-janala
my-janala / sqs_example.py
Created September 21, 2016 21:17 — forked from maracuja/sqs_example.py
SQS Playing
# http://boto.readthedocs.org/en/latest/sqs_tut.html
# my aws settings
AWS_ACCESS_KEY_ID=''
AWS_SECRET_ACCESS_KEY=''
# creating my example queue
import boto.sqs
conn = boto.sqs.connect_to_region("eu-west-1", aws_access_key_id=AWS_ACCESS_KEY_ID, aws_secret_access_key=AWS_SECRET_ACCESS_KEY)
q = conn.create_queue('david-test')
@my-janala
my-janala / 0_reuse_code.js
Created September 21, 2016 21:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@my-janala
my-janala / RELK.sh
Last active August 27, 2015 15:55 — forked from adionditsak/RELK.sh
Install the ELK stack (with Redis) with one script for the central log server (CentOS 6.5).
#/bin/bash
##########################################################
### INTRODUCTION
##########################################################
: '
Install and configure R (Redis) + ELK server from scratch on CentOS 6.5.
* Logstash version 1.4.2
* Elasticsearch version 1.3.2