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
acionista | |
acompanhante | |
acordeonista | |
açougueiro | |
acrobata | |
acupunturista | |
adivinho | |
administrador | |
advogado | |
aeromoça |
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
# This script removes duplicate lines from .bash_history file. | |
# It preserves the order from the latest usage of each command, | |
# to make it easier to search with ctrl+r | |
from os import path | |
bash_history_path = path.expanduser("~/.bash_history") | |
with open(bash_history_path, "r") as f: | |
lines = f.readlines() |
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
# Adding blurred boxes | |
# - build a layer called b0, a blurred box with size 100x50 and offset 600x50, between 23s and 31s | |
# - build a layer called b1, a blurred box with size 300x80 and offset 190x270, between 37s and 49s | |
# - merge the original video and b0 on ovr0 | |
# - merge ovr0 and b1 to build output | |
ffmpeg -i input.mp4 -filter_complex \ | |
"[0:v]crop=100:50:600:150,boxblur=10:enable='between(t,23,31)'[b0]; \ | |
[0:v]crop=300:80:190:270,boxblur=10:enable='between(t,37,49)'[b1]; \ | |
[0:v][b0]overlay=600:150[ovr0]; \ | |
[ovr0][b1]overlay=190:270[output]" \ |
OlderNewer