Skip to content

Instantly share code, notes, and snippets.

View ruehowl's full-sized avatar
🏡

Rahul Varghese ruehowl

🏡
  • Qlik.com
  • India
View GitHub Profile
@reachlin
reachlin / prometheus.yml
Created April 19, 2017 07:06
sample prometheus configuration explained
// For all the confusing Prometheus configuration and
// regular expressions,
// explained in examples.
// Remember, there are default values for each item if it's missing.
// regex is (.*),
// replacement is $1,
// separator is ;
// ,and action is replace
@ruehowl
ruehowl / apache_nginx_php_proftpd.sh
Last active October 19, 2016 04:11
This script can be used to compile and install apache2.4.23, nginx, php7.0.11 and proftpd
#!/bin/bash
# This script can be used to compile and install apache2.4.23, nginx, php7.0.11 and proftpd
export PROJ_DIR=`pwd`
export ARCHIVE_DIR="$PROJ_DIR/archive"
export SOURCE_DIR="$PROJ_DIR/src"
export PREFIX=$1
echo "Creating Archive and src....."
mkdir -p "$PROJ_DIR" "$ARCHIVE_DIR" "$SOURCE_DIR"
echo "Done.."
@kwinsch
kwinsch / wildfly-install.sh
Last active October 20, 2017 08:32 — forked from sukharevd/wildfly-install.sh
Script to install JBoss Wildfly 10.x as service in Linux
#!/bin/bash
#title :wildfly-install.sh
#description :The script to install Wildfly 10.x
#more :http://sukharevd.net/wildfly-8-installation.html
#author :Dmitriy Sukharev
#date :2016-06-29T15:45-1600
#usage :/bin/bash wildfly-install.sh
#tested-version1 :10.1.0.Final
#tested-distros1 :Ubuntu 16.04
@pgporada
pgporada / Makefile
Last active August 16, 2022 08:33
Terraform Makefile
.ONESHELL:
.PHONEY: help set-env init update plan plan-destroy show graph apply output taint
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
set-env:
@if [ -z $(ENVIRONMENT) ]; then\
echo "ENVIRONMENT was not set"; exit 10;\
fi