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
# | |
# Fully documented Vagrantfile available | |
# in the wiki: https://github.com/josenk/vagrant-vmware-esxi/wiki | |
vm_name = File.basename(Dir.getwd) | |
vm_cpus = '2' | |
vm_ram = '4' | |
if vm_name.include? "web" | |
vm_ram ='2' | |
end |
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 | |
# Script requirements lastb, diff, touch, whois, mail. | |
# To succesfully send an email it will require a working mail configuration | |
# Tested on Ubuntu 16.04 | |
recipient="[email protected]" | |
if [ ! -f /root/failed ]; then | |
touch /root/failed | |
fi |
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 | |
# rev 4 - changes suggested by KownBash https://www.reddit.com/r/bash/comments/5cxfqw/i_wrote_a_simple_video_to_gif_bash_script_thought/da19gjz/ | |
# rev 5 - made the script more verbose | |
# rev 6 - fixed an issue with a variable not displaying correctly | |
# rev 7 - added option to change dither level | |
# rev 8 - rewrote usage function | |
# Usage function, displays valid arguments | |
usage() { | |
echo "Usage: $(basename ${0}) [arguments] inputfile" 1>&2 |
NewerOlder