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/ruby | |
# | |
# DESCRIPTION: | |
# Given a date will notify if within X days of the date. | |
# Defaults | |
# Warning: 30 days before date | |
# Critical: 15 days before date | |
# | |
# DEPENDENCIES: | |
# sensu-plugin |
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/ruby | |
# | |
# DESCRIPTION: | |
# Simple ruby script for dumping message data from skype to screen | |
# easy to pipe to file and grep later | |
# change USERNAME and SKYPE_USERNAME to your own | |
# | |
# | |
# DEPENDENCIES: | |
# sqlite3-ruby |
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 | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run with admin privileges 'sudo'" | |
echo "exiting...." | |
exit 1 | |
fi | |
echo "*********************************" | |
echo "Installing ffmpeg on Ubuntu 14.04" |
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 | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run with admin privileges 'sudo'" | |
echo "exiting...." | |
exit 1 | |
fi | |
echo "*********************************" | |
echo "*" |
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 | |
echo "hi" | |
mp4Arr=(`find $PWD -maxdepth 1 -iname "*.mp4"`) | |
#Make Fixed Directory | |
mkdir fixed | |
for i in "${mp4Arr[@]}" |
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 | |
# | |
# | |
# This script notifies slack | |
# when this machine starts up | |
# or shuts down | |
# | |
######################################## | |
#This reads in the webhook URL from a file |
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 | |
# | |
# Script to backup local | |
# Postgres database | |
# Run via cron job | |
# | |
########################### | |
########################### | |
# |
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 | |
# | |
# Script to purge old database backups | |
# Run via cron job | |
# | |
######################################### | |
######################################### | |
# | |
# Config section |
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 | |
# | |
# Script to purge old database backups | |
# Run via cron job | |
# | |
######################################### | |
######################################### | |
# | |
# Config section |
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 | |
# | |
# Simple script to install Oracle Java 7 with auto accepting the license | |
# No need to interact with it | |
# | |
###################################### | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run with admin privileges 'sudo'" | |
echo "exiting...." |
OlderNewer