This file contains hidden or 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 -l | |
# template.qsub - Template file for Sun Grid Engine (SGE) job submissions | |
# Andrés Bretón, http://andresbreton.com | |
# Template from https://gist.github.com/bretonics/1dc5d0926aefa7787ebf48a0bad5316b | |
#------------------------------------------------------------------------------- | |
# ENVIRONMENTAL VARIABLES AVAILABLE |
This file contains hidden or 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
tap "brewsci/bio" | |
tap "brewsci/science" | |
tap "heroku/brew" | |
tap "homebrew/autoupdate" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/cask-fonts" | |
tap "homebrew/cask-versions" | |
tap "homebrew/core" | |
tap "homebrew/services" |
This file contains hidden or 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 | |
# /etc/cron.weekly/ | |
LIMIT="85" | |
MAILTO="" | |
SUBJECT="Disk Usage Alert!" | |
BODY="WARNING! $(hostname) disk space is currently at ${USED}% capacity." | |
This file contains hidden or 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 | |
# Automate adding new SFTP accounts (chrooted) | |
# -------------------------------------------------------------------------------- | |
# | |
if [ $# == 0 ]; then | |
echo "Usage: add-sftp-user EMAILS " | |
echo "Automates adding a SFTP user account, delagating all tasks and sending confirmation email." | |
else |
This file contains hidden or 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
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
# COLOR OUTPUT (3/4 bit version) | |
NC="\033[0m" # Color reset | |
# Normal (0;) | |
BLACK="\033[0;30m" | |
RED="\033[0;31m" | |
GREEN="\033[0;32m" | |
YELLOW="\033[0;33m" | |
BLUE="\033[0;34m" |
This file contains hidden or 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/sh | |
# | |
# Adapted from original source: https://bitbucket.org/snippets/atlassian/qedp7d | |
# Docs: https://git-scm.com/docs/githooks | |
# git prepare-commit-msg hook for automatically prepending an issue key | |
# from the start of the current branch name to commit messages. | |
COMMIT_MSG_FILE=$1 # $1 is the file name containing log message | |
COMMIT_SOURCE=$2 # $2 is the commit message source (message | template | squash | commit) |
This file contains hidden or 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
tap "brewsci/bio" | |
tap "brewsci/science" | |
tap "heroku/brew" | |
tap "homebrew/autoupdate" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/cask-fonts" | |
tap "homebrew/cask-versions" | |
tap "homebrew/core" | |
tap "homebrew/services" |
OlderNewer