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
\usepackage{listofitems} % Para usar o array de itens | |
\setsepchar{\\/,/ } | |
\readlist{\participante}{ % Lista de participantes | |
% Posto Grad, Nome Completo, função relacioada ao projeto, função no setor/empresa. | |
Cel, Fulano \textbf{Sauro}, Gerente do \nomeProjeto, Adjunto da Divisão\\ | |
Civil, Ciclano \textbf{Sauro}, Gerente do \nomeProjeto, Adjunto da Divisão | |
} | |
\setsepchar{,} | |
\newcommand{\printSignatures}[1]{% |
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
#!/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 |
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
#!/usr/bin/env python3 | |
import speech_recognition as sr | |
import moviepy.editor as mp | |
import sys | |
clip = mp.VideoFileClip(sys.argv[1]) | |
clip.audio.write_audiofile(r"/tmp/converted.wav") | |
audio = sr.AudioFile("/tmp/converted.wav") | |
r = sr.Recognizer() |
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
#!/usr/bin/env bash | |
arquivos_selecionados=( "$@" ) | |
for filePath in "${arquivos_selecionados[@]}"; do | |
dirName=$(dirname "$filePath") | |
fileBaseName=$(basename "$filePath") | |
fileName="$(echo "$fileBaseName" | rev | cut -d '.' -f2- | rev)" | |
fileExt="$(echo "$fileBaseName" | rev | cut -d '.' -f1 | rev | tr '[:upper:]' '[:lower:]')" | |
on_Accent='öüóőúéáàűíÖÜÓŐÚÉÁÀŰÍçÇãÃõÕâÂêÊôÔªº¹²³' | |
offAccent='ouooueaauiOUOOUEAAUIcCaAoOaAeEoOao123' |
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
//@ExecutionModes({ON_ALL_SELECTED_NODES}) | |
// Author: Otavio Camargo @ameisehaufen | |
@Grab(group='org.apache.pdfbox', module='pdfbox', version='2.0.22') | |
import org.apache.pdfbox.pdmodel.PDDocument; | |
import org.apache.pdfbox.pdmodel.PDPage; | |
import org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation; | |
import org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationMarkup; | |
import org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationText; | |
import org.apache.pdfbox.text.PDFTextStripperByArea; |
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
//see http://www.moriwaki.net/wiki/index.php?[[PDFBox]] | |
//see pdfbox-1.4.0/pdfbox/src/main/java/org/apache/pdfbox/examples | |
@Grab(group='org.apache.pdfbox', module='pdfbox', version='1.3.1') | |
import org.apache.pdfbox.pdfwriter.* | |
import org.apache.pdfbox.pdmodel.* | |
import org.apache.pdfbox.pdmodel.font.* | |
import org.apache.pdfbox.pdmodel.edit.* | |
String writeFile = "d:/xxx.pdf" |