I hereby claim:
- I am aljp on github.
- I am aljparr (https://keybase.io/aljparr) on keybase.
- I have a public key ASDhavAgVs-OaXDVBnoD80khXAfk_e1opTvKl0Z_Da_3sAo
To claim this, I am signing this object:
# https://unix.stackexchange.com/a/353639 | |
for ARGUMENT in "$@" | |
do | |
KEY=$(echo $ARGUMENT | cut -f1 -d=) | |
VALUE=$(echo $ARGUMENT | cut -f2 -d=) | |
case "$KEY" in | |
STEPS) STEPS=${VALUE} ;; | |
REPOSITORY_NAME) REPOSITORY_NAME=${VALUE} ;; |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# THE SHELL ACTIVATOR | |
# Provide an "environment" name as the first argument to this script and it will open a python shell to the environment's web tier. | |
if [ -z $1 ]; then | |
echo "First argument must be the environment" | |
exit 1 | |
fi | |
ENV_FILE=$1 |
#!/usr/bin/env bash | |
# I've made changes to this script so it supports a --version argument | |
# which can specify a regular expression for the vcs_tag property on circle | |
# builds. | |
# | |
# sets $branch, $tag, $rest | |
parse_args() { | |
while [[ $# -gt 0 ]]; do |
#!/usr/bin/env python | |
""" | |
Basic SocketIO implementation that waits for orderbook changes from btcmarkets and enqueue's the ask/bid price data. | |
""" | |
import os | |
from decimal import Decimal | |
import re | |
import logging | |
import asyncio |
#!/bin/bash | |
############################################### | |
# To use: | |
# chmod +x install-redis.sh | |
# ./install-redis.sh | |
############################################### | |
version=3.2.0 | |
echo "*****************************************" | |
echo " 1. Prerequisites: Install updates, set time zones, install GCC and make" |
#!/bin/bash | |
############################################### | |
# To use: | |
# https://raw.github.com/gist/2776351/??? | |
# chmod 777 install_postgresql.sh | |
# ./install_postgresql.sh | |
############################################### | |
echo "*****************************************" | |
echo " Installing PostgreSQL" | |
echo "*****************************************" |
#!/bin/bash | |
# Author: Adam Jacquier-Parr | |
GREEN='\033[0;32m' | |
RED='\033[0;31m' | |
NC='\033[0m' | |
# Check script is being run with source | |
if [ "$0" = "$BASH_SOURCE" ]; then | |
echo -e "${RED}You must use 'source test.sh' to run this script.${NC}" | |
exit 1 |
git config --global alias.st status | |
git config --global alias.mff "merge --no-ff" | |
git config --global alias.lg "log --oneline --decorate --all --graph" |
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |