##Symbol Legend
Symbol | Abbreviation | Name |
---|---|---|
⌥ | Opt | Option |
^ | Ctrl | Control |
⌘ | Cmd | Command |
⇧ | Shift | Shift |
[Definition] | |
actioncheck= | |
actionstart = | |
actionstop = | |
actionban = /bin/bash /etc/fail2ban/slack_notify.sh "Banned _country_ <ip> in the jail <name> after <failures> attempts" "<ip>" > /dev/null 2>&1 | |
actionunban = /bin/bash /etc/fail2ban/slack_notify.sh "Unbanned _country_ <ip> in the jail <name>" "<ip>" > /dev/null 2>&1 |
for f in *; do mv "$f" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done |
brew install youtube-dl | |
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools | |
#or... | |
#--with-faac | |
#but replaced with fdk-aac for licensing reasons |
var path = require('path'), | |
config; | |
config = { | |
// ### Production | |
// When running Ghost in the wild, use the production environment | |
// Configure your URL and mail settings here | |
production: { | |
url: 'http://my-ghost-blog.com', | |
mail: { |
while read word; do git clone $word; done < infile.txt | |
#use github token to delete text file of repos | |
#each line in username/repo format | |
while read repo; do curl -X DELETE -H "Authorization: token 40_character_token" "https://api.github.com/repos/$repo"; done < repos.txt |
#--delete allows for files to be deleted | |
#--dry-run goes through the process but doesn't actually do anything | |
rsync -h -v -r -P -t --delete --exclude='.DS_Store' --exclude='._*' ~/Documents/classes/ENGIN112/ /Volumes/Lexar/college/Subjects/Engineering/ENGIN112/ | |
rsync -h -v -r -P -t --delete --exclude='.DS_Store' --exclude='._*' ~/Documents/classes/PHYS151/ /Volumes/Lexar/college/Subjects/Physics/Classes/PHYS151/ | |
rsync -h -v -r -P -t --delete --exclude='.DS_Store' --exclude='._*' ~/Documents/classes/MATH131/ /Volumes/Lexar/college/Subjects/Mathematics/Classes/MATH131/ | |
#----- |
#repo.txt in form of username/repo | |
#one repo per line | |
while read repo; do curl -X DELETE -H "Authorization: token 67868765a6ls88hlklkjgljfalsd" "https://api.github.com/repos/$repo"; done < repos.txt |