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 | |
# This script uses ffmpeg to transcode video files into one of a few formats suitable for | |
# editing in either DaVinci Resolve or Lightworks on a Linux machine. It's purpose is to | |
# simplify my life and relieve me from having to look up and enter the same very long | |
# command over and over. | |
# | |
# If run with argument "all", the script will prompt for a directory containing video files, and | |
# transcode all video files in the directory into the selected format. If run with a file as an | |
# argument, it will transcode only that file, and will provide the additional option of |
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 | |
# PLEASE NOTE: I started learning Bash scripting 4 weeks ago, so if this somehow | |
# breaks your system and opens a wormhole to the Gamma Quadrant, | |
# I'm sorry. | |
# | |
# This is a setup script for Debian-based computers. It is highly customized | |
# for my personal use; I made it public because I think it could be a good | |
# starting point for someone else. It will need to be customized for anyone | |
# else's use. |
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 | |
# This is a script for switching between Intel and NVIDIA graphics modes | |
# on System 76 Oryx Pros. It was written because I installed KDE Plasma, | |
# thereby losing the graphics-switching functionality built into Gnome. | |
# But it should work just fine under Gnome, as well, if you're into that. | |
# | |
# It uses a modified version of Dave Miller's excellent ask.sh script, | |
# which can be found here: | |
# https://gist.github.com/davejamesmiller/1965569 |
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 | |
# This is a script that defines a list of basic colors for use with | |
# text formatting in other scripts. It does not cover all possible colors, | |
# but it's a solid starting point. | |
# | |
# Usage: include this line at the top of any script that uses these colors: | |
# source [path to script]/colors.sh | |
# Then format like this: | |
# echo -e "This color is ${GREEN}green${RESET}." |