Skip to content

Instantly share code, notes, and snippets.

View madhuakula's full-sized avatar
I may be slow to respond.

Madhu Akula madhuakula

I may be slow to respond.
View GitHub Profile
@madhuakula
madhuakula / devops_training.txt
Created October 4, 2016 18:04 — forked from ssmythe/devops_training.txt
Training materials for DevOps
======
Videos
======
DevOps
What is DevOps? by Rackspace - Really great introduction to DevOps
https://www.youtube.com/watch?v=_I94-tJlovg
Sanjeev Sharma series on DevOps (great repetition to really get the DevOps concept)
@madhuakula
madhuakula / terminal.md
Created October 7, 2016 17:15 — forked from ryansechrest/terminal.md
Shortcuts for Mac terminal.

Shortcuts

Command Description
Ctrl + A Jump to beginning of line
Ctrl + E Jump to end of line
Ctrl + U Delete text before cursor
Ctrl + K Delete text after cursor
Ctrl + W Delete word before cursor
Ctrl + T Swap last two characters before cursor
@madhuakula
madhuakula / configuration-files.md
Created October 7, 2016 17:16 — forked from ryansechrest/configuration-files.md
RedHat/CentOS configuration files and paths of interest.

Apache

TXT /etc/httpd/conf/httpd.conf — Main Apache server configuration file.

TXT /etc/httpd/conf.d/ssl.conf — Apache server configuration file providing SSL support.

DIR /etc/httpd/vhosts.d/ — Virtual host configuration files.

DIR /var/log/httpd/ — Apache logs.

@madhuakula
madhuakula / Vagrantfile
Created November 29, 2016 05:45 — forked from sailor/Vagrantfile
Vagrantfile for Rails development environment
VAGRANTFILE_API_VERSION = '2'
$install = <<SCRIPT
curl -L https://github.com/docker/fig/releases/download/1.0.1/fig-`uname -s`-`uname -m` > /usr/local/bin/fig
chmod +x /usr/local/bin/fig
SCRIPT
$build = <<SCRIPT
cd /vagrant
fig build
@madhuakula
madhuakula / README.md
Created January 1, 2017 13:40 — forked from magnetikonline/README.md
Using Dnsmasq with Ubuntu 16.04LTS/14.04LTS/12.04LTS for virtual machine web application testing.

Using Dnsmasq with Ubuntu for VM web application testing

When running virtual machines under a Linux host system for testing web apps in various browsers (e.g. Internet Explorer), I found it rather tedious having to continually tweak the hosts file within each VM for the purpose of adding entries pointing back to the host machine's development web server address.

Instead the steps below will setup Dnsmasq on a Ubuntu 16.04LTS, 14.04LTS or 12.04LTS host machine for the purpose of serving both it's own DNS queries and that of virtual machine guests. Dnsmasq will parse the /etc/hosts file on your host machine where we will keep a single set of DNS entires to our test web application(s).

@madhuakula
madhuakula / postmortem.md
Created January 3, 2017 17:46 — forked from mlafeldt/postmortem.md
Example Postmortem from SRE book, pp. 487-491

Shakespeare Sonnet++ Postmortem (incident #465)

Date

2015-10-21

Authors

  • jennifer
  • martym
# Author : Madhu Akula (madhu@appsecco.com)
# Date : 7th Nov 2016
# https://github.com/appsecco/alldaydevops-aism
from chalice import Chalice
import boto.vpc
app = Chalice(app_name='inframonitor')
# app.debug = True
allowed_ip = 'xxx.xxx.xxx.xxx'
@madhuakula
madhuakula / influxdb-setup.md
Created January 21, 2017 18:14 — forked from travisjeffery/influxdb-setup.md
Guide to setting up InfluxData's TICK stack

Guide to setting up InfluxData's TICK stack

InfluxData's T.I.C.K. stack is made up from the following components:

Component Role
Telegraf Data collector
InfluxDB Stores data
Chronograf Visualizer
@madhuakula
madhuakula / ansible.cfg
Created February 14, 2017 04:55 — forked from krigar/ansible.cfg
Bastion Playbook
[ssh_connection]
ssh_args = -F ssh.cfg
control_path = ~/.ssh/mux-%r@%h:%p
@madhuakula
madhuakula / list_monitoring_configuration.py
Created March 10, 2017 07:14 — forked from cktricky/list_monitoring_configuration.py
List Configuration of Monitoring Services in AWS
import boto3
import pprint
pp = pprint.PrettyPrinter(indent=5, width=80, compact=False)
#http://docs.aws.amazon.com/general/latest/gr/rande.html
regions = ['us-east-1', 'us-west-2', 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', 'ap-northeast-1', 'eu-central-1', 'eu-west-1']
'''