Skip to content

Instantly share code, notes, and snippets.

View macmichael01's full-sized avatar

macmichael01 macmichael01

View GitHub Profile
@macmichael01
macmichael01 / yt-bulk-dl.sh
Last active February 14, 2025 20:23
yt-bulk-dl.sh
#!/bin/bash
# A simple script that downloads multiple YouTube videos at once.
# Define the videos to download by adding the link in the list below.
# make sure that you have yt-dlp installed on your machine.
# Link: https://github.com/yt-dlp/yt-dlp
# Define a list of YouTube links
links=(
"<youtube link here>"
#!/bin/bash
# A simple script that makes use of pandoc for converting files between formats.
# Toss this file into a directory to process multiple files at once.
# args --ext <extension to look for> --to <extension to convert to>
# default ext is markdown default to is docx
# Ensure that you have pandoc installed located here: https://pandoc.org/installing.html
ext="md"
to="docx"
#!/bin/bash
# A simple script that takes an mp4, grabs the audio, and converts to an mp3.
# Toss this script into a directory with mp4 to be converted into audio files.
# Ensure that you have ffmpeg installed located here: https://ffmpeg.org/download.html
# Loop through all MP4 files in the current directory
for file in *.mp4; do
# Check if the file exists (to avoid error if no MP4 files)
if [[ -f "$file" ]]; then
@macmichael01
macmichael01 / jekyll-gallery-generator.rb
Created September 3, 2015 23:01
This is a modified version of this: https://github.com/ggreer/jekyll-gallery-generator. Read the comments below for additional details.