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
gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sFONTPATH=xfonts;. -sPDFPassword= -dPDFSETTINGS=/prepress -dPassThroughJPEGImages=true -sOutputFile=new.pdf old.pdf |
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
perl -MHTML::TreeBuilder::XPath -0777 -e 'print HTML::TreeBuilder::XPath->new_from_content(<>)->as_XML_indented' |
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
#!/bin/sh | |
BACKUP_PART=/backup | |
/sbin/mount ${BACKUP_PART} | |
/usr/local/bin/rdiff-backup --print-statistics --terminal-verbosity 5 \ | |
--exclude ${BACKUP_PART} \ | |
--exclude /db/ \ | |
--exclude /tmp/ \ |
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
AuthUserFile /etc/apache2/htpasswd | |
AuthGroupFile /dev/null | |
AuthName "Senha" | |
AuthType Basic | |
require valid-user | |
order deny,allow |
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
find . -type f -print|perl -ne 'chomp;s%\.m4a$%%;s%^./%%;print"ffmpeg -i \"$_.mp3\" -acodec aac -map_meta_data outputfile:inputfile -strict experimental \"$_.m4a\"\n"' > batch.sh |
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
rtmpdump --host 187.45.227.58 --app oflaDemo --playpath ci101c2fa90a4ac9a8123b8d26bf0ebd0e10.mp3 -o ci101c2fa90a4ac9a8123b8d26bf0ebd0e10.mp3 | |
ffmpeg -i ci101c2fa90a4ac9a8123b8d26bf0ebd0e10.flv -f mp3 -vn -acodec copy ci101c2fa90a4ac9a8123b8d26bf0ebd0e10.mp3 |
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
perl '-F/\s*,\s*/' -lane 'BEGIN{$,="\t"};chomp;print @F[0,2] if $_ && !m%^/%' /home/stas/oracle/product/10.2.0/db_1/rdbms/mesg/oraus.msg |
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
print(unpack"B*",pack("h*",$_)) |
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
#!/usr/bin/perl | |
use strict; | |
# Para ter certeza absoluta de que nenhum warning de 'Wide character' escapou | |
use warnings 'all'; | |
# Somente indica que este arquivo .pl está na codificação UTF-8!!! | |
use utf8; | |
# Ignora codificação de entrada |
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
mencoder -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -vf flip,mirror,scale=480:272 IMG_0021.MOV -o IMG_0021.avi |