I hereby claim:
- I am zachselby on github.
- I am rambler (https://keybase.io/rambler) on keybase.
- I have a public key whose fingerprint is E04C 15AD 5DE5 FC20 0F84 CEC6 BB88 9D84 2E6D 9055
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Create a new group, brew | |
sudo dseditgroup -o create brew | |
# Change owner to brew group on brew assets | |
sudo chgrp -R brew $(brew --prefix)/* | |
# Change permissions to brew group | |
sudo chmod -R g+w $(brew --prefix)/* |
#!/usr/bin/python | |
# Source copied from: https://leancrew.com/all-this/2014/06/cleaning-up-my-markdown-table-cleanup-script/ | |
# Usage - stdin from file: | |
# $ cat sample.md | |
#| Column 1 | Column 2 | Column 3 | | |
#|--|:--:|--:| | |
#| first | second | third | | |
#| column | column | column | |
#! /bin/bash | |
# Batch Convert Script by StevenTrux | |
# The Purpose of this Script is to batch convert any video file to mp4 or mkv format for chromecast compatibility | |
# this script only convert necessary tracks if the video is already | |
# in H.264 format it won't convert it saving your time! | |
# Put all video files need to be converted in a folder! | |
# the name of files must not have " " Space! | |
# Rename the File if contain space |
After facing issues with Big Sur on an M1 Mac, the following approach was implemented via
launchctl
and osascript
to ensure an app is restarted if found to not be running.
This particular app was running stable on Catalina, and this approach is a temporary workaround until the root cause can be addressed. YMMV.
#!/bin/bash | |
# Adjust Frame Rate | |
# | |
# Input File | Video Filter | Output File | |
ffmpeg -i "video-001.mov" -vf "fps=12" "video-001.mp4" | |
# ^ Lower framerate for smaller file | |
#!/bin/bash | |
################# | |
# Usage: # | |
################# | |
# Create an unprotected copy of XLSX file with suffix "-unprotected.xlsx". | |
# The following command produces `my-workbook-unprotected.xlsx` | |
# $ ./unprotect-xlsx.sh my-workbook.xlsx | |
# This is accomplished by removing from all workbook sheets the `sheetProtection` and `protectedRanges` XML elements. |