Long form project description
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[docker-ce-stable] | |
name=Docker CE Stable - $basearch | |
baseurl=https://download.docker.com/linux/fedora/29/$basearch/stable | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=https://download.docker.com/linux/fedora/gpg | |
[docker-ce-stable-debuginfo] | |
name=Docker CE Stable - Debuginfo $basearch | |
baseurl=https://download.docker.com/linux/fedora/29/debug-$basearch/stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
# Enablig debug if DEBUG environment variable | |
${DEBUG:+set -x} | |
declare -a OVERRIDE_VALS | |
# Define script file path | |
REALPATH="$(dirname "$(realpath "$0")")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SERVER="$2" | |
USER="$1" | |
mprint(){ | |
MESSAGE="$1" | |
echo "===================== $MESSAGE ============================" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# AWS Scripting functionality | |
####################################################### | |
if type "aws" > /dev/null; then | |
complete -C aws_completer aws; | |
fi | |
AWSCONFPATH="$HOME/.aws/config" | |
if [ -f "$AWSCONFPATH" ]; then | |
export AWS_ACCESS_KEY_ID=$(awk -F "=" '/aws_access_key_id/ {print $2}' $HOME/.aws/config) | |
export AWS_SECRET_ACCESS_KEY=$(awk -F "=" '/aws_secret_access_key/ {print $2}' $HOME/.aws/config) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
MAIN=$(pwd) | |
for NAME in */; do | |
echo "==== Processing user $NAME ======" | |
cd "$NAME" | |
for PROJECT in */; do | |
if [[ -d "$PROJECT" ]]; then | |
echo "Compiling $PROJECT" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Restify Server CheatSheet. | |
// More about the API: http://mcavage.me/node-restify/#server-api | |
// Install restify with npm install restify | |
// 1.1. Creating a Server. | |
// http://mcavage.me/node-restify/#Creating-a-Server | |
var restify = require('restify'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 'Makefile' | |
MARKDOWN = pandoc --from markdown_github --to html --standalone | |
all: $(patsubst %.md,%.html,$(wildcard *.md)) Makefile | |
clean: | |
rm -f $(patsubst %.md,%.html,$(wildcard *.md)) | |
rm -f *.bak *~ | |
%.html: %.md | |
$(MARKDOWN) $< --output $@ |
NewerOlder