Skip to content

Instantly share code, notes, and snippets.

View ameisehaufen's full-sized avatar
🎯
Focusing

Formiko ameisehaufen

🎯
Focusing
View GitHub Profile
@ameisehaufen
ameisehaufen / removeREFACEAPPWatermark.sh
Created March 18, 2021 00:45
Remove the watermark in Refaceapp Videos. You can remove zenity if you do not want graphical progress bar.
#!/usr/bin/env bash
arquivos_selecionados=( "$@" )
for filePath in "${arquivos_selecionados[@]}"; do
ffmpeg -i "$filePath" -vf "delogo=x=20:y=20:w=170:h=70" -c:a copy "nologo-$filePath" | zenity --width 500 --title "$(basename $0 .sh)" --text "Aguarde o término do processo para $filePath" --progress --pulsate --auto-close
done
@todgru
todgru / starttmux.sh
Last active May 27, 2024 08:20
Start up tmux with custom windows, panes and applications running
#!/bin/sh
#
# Setup a work space called `work` with two windows
# first window has 3 panes.
# The first pane set at 65%, split horizontally, set to api root and running vim
# pane 2 is split at 25% and running redis-server
# pane 3 is set to api root and bash prompt.
# note: `api` aliased to `cd ~/path/to/work`
#
session="work"