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
# hide Dock faster | |
defaults write com.apple.dock autohide-delay -float 0; defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock | |
# add Dock spacer | |
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}' && killall Dock | |
# add Dock half spacer | |
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}' && killall Dock | |
# disable eject warning | |
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.DiskArbitration.diskarbitrationd.plist DADisableEjectNotification -bool YES && sudo pkill diskarbitrationd |
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 | |
# author : @CochinoChingon | |
# about : bash script to create new jekyll posts with minimal-music-project theme by @itsMeaga1n | |
# description : This will make a new Jekyll blog post as an md file and open in neovim to complete for the discography section of the above theme. | |
# URL : https://gist.github.com/gChingon/d9b03b8482b899b088b518cf3d08796c | |
# POSTS -- not necessary but a good habit to be in Git dir; alternatively can use variables to post to Git dir regardless of location | |
read -p "did you copy YouTube link? " answer | |
if [ $answer == y ] |
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/local/bin/bash | |
# | |
# Written by ump721 | |
# Based on and inspired by dsl420's original script | |
# | |
# Usage: | |
# mediashot video.mkv [destination_folder] [cap_name] [number_of_caps] | |
# | |
# Defaults: | |
# destination_folder same folder as input 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 | |
# RCLONE UPLOAD CRON TAB SCRIPT | |
# Type crontab -e and add line below (without # ) | |
# * * * * * root /home/gallo/.scripts/rcloneSeries.cron >/dev/null 2>&1 | |
if pidof -o %PPID -x "rcloneCine.cron"; then | |
exit 1 | |
fi | |
LOGFILE="/home/logs/upload-m.cron.log" |
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 | |
# RCLONE UPLOAD CRON TAB SCRIPT | |
# Type crontab -e and add line below (without # ) | |
# * * * * * root /home/gallo/.scripts/rcloneCine.cron >/dev/null 2>&1 | |
if pidof -o %PPID -x "rcloneCine.cron"; then | |
exit 1 | |
fi | |
LOGFILE="/home/logs/upload-m.cron.log" |
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 | |
#### Torrent post-processing script. | |
# This script gets triggered by deluge and moves/extracts a file to another place for further processing (filebot) | |
# The reason this script does not handle the filebot processing itself (which it could) is for flexbility of using multiple methods of downloading (e.g. usenet) | |
# The idea is that a filebot script monitors a folder for new files and deals with them, regardless of the source. | |
# This script puts the files in a central location for processing and allows them to continue seeding. | |
# Uncomment the following line to enable debugging | |
#set -x |
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 | |
#### Seedbox Sync | |
# | |
# Sync various directories between home and seedbox, do some other things also. | |
# | |
# To use rsync, this script requires you have ssh key based logins with no passphrase | |
# set up between the user this script runs as and your seedbox. | |
logdir="/home/gyo/.config/log" | |
xferlog="xferlog.log" |
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 | |
#### Media file processing script for Filebot | |
# This script gets triggered by some means (inotify, auditd, cron, etc.) and processes media files in some locations. | |
# It will run the filebot amc.groovy script against these files and output them into user defined locations for HTPC use. | |
# | |
# Known Limitations: | |
# Not dealing with music files, just video files. I use beets for music tagging. | |
# Not dealing with unique video types just yet, such as comedy specials, concerts, etc. Filebot might match it okay but I am not confident about it. |