Skip to content

Instantly share code, notes, and snippets.

View MiteshShah's full-sized avatar
💻
Let's Automate it!

Mitesh Shah MiteshShah

💻
Let's Automate it!
View GitHub Profile
{"version":"1","installed":{"vagrant-hostsupdater":{"ruby_version":"2.2.3","vagrant_version":"1.8.6","gem_version":"","require":"","sources":["https://rubygems.org","https://gems.hashicorp.com"]},"vagrant-triggers":{"ruby_version":"2.2.3","vagrant_version":"1.8.6","gem_version":"","require":"","sources":["https://rubygems.org","https://gems.hashicorp.com"]}}}
@MiteshShah
MiteshShah / README.md
Created September 2, 2016 16:39 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


Index:

server {
listen 127.0.0.1:80;
location /nginx_status {
stub_status on;
access_log off;
allow all;
}
location ~ ^/(status|ping)$ {
access_log off;
#!/usr/bin/perl -w
#
# ============================== SUMMARY =====================================
#
# Program : check_mysqld.pl
# Version : 0.94
# Date : Mar 31, 2012
# Author : William Leibzon - [email protected]
# Licence : GPL - summary below, full text at http://www.fsf.org/licenses/gpl.txt
#
#!/usr/bin/perl -w
# check_phpfpm_status.pl
# Version : 0.2
# Author : regis.leroy at makina-corpus.com
# based on previous apache status work by Dennis D. Spreen (dennis at spreendigital.de)
# Based on check_apachestatus.pl v1.4 by
# De Bodt Lieven (Lieven.DeBodt at gmail.com)
# Karsten Behrens (karsten at behrens dot in)
# Geoff McQueen (geoff.mcqueen at hiivesystems dot com )
# Dave Steinberg (dave at redterror dot net)
#!/bin/bash
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#!/bin/sh
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider "virtualbox" do |v|
v.memory = 7168
v.cpus = 6
#!/bin/bash
echo "Enter Array: "
read -a array
echo "Total Element = ${#array[@]}"
IFS=$'\n' sorted=($(sort -n <<<"${array[*]}"))
echo
echo Sorted Array = ${sorted[@]}
for i in $(sort -un <<<"${array[*]}")
<IfModule mod_sftp.c>
SFTPEngine on
Port 2222
SFTPLog /var/log/proftpd/sftp.log
# Configure both the RSA and DSA host keys, using the same host key
# files that OpenSSH uses.
SFTPHostKey /etc/ssh/ssh_host_rsa_key
SFTPHostKey /etc/ssh/ssh_host_dsa_key