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
setxkbmap -layout br -variant nativo |
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
snx -s 000.000.000.000 -u nelson@domain.com |
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
sudo update-alternatives --config java |
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
export hoje=`date +%Y-%m-%d` |
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
wmname LG3D |
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
arquivo=$1 | |
pdf2htmlEX $arquivo; | |
sed -f juntador.sed "${arquivo%.*}.html" \ | |
| sed -e 's/class=\"[^"]*\"//g' \ | |
| sed -e 's/<img [^>]*>//g' \ | |
| sed -e 's/.*\(RELAÇÃO DE INTERDIÇÕES ATIVAS\)/\1\r\n/' \ | |
| sed -e 's/<head>[^>]*<\/\s*head\s*>//' \ | |
| sed -e 's/\(<div\s*>[0-9]\{1,2\}:[0-9]\{1,2\}:[0-9]\{1,2\}\)</\1\n\r</g' \ | |
| sed -e 's/\(span>DURAÇÃO<\/\s*div>\)/\1\n\r/g' \ | |
| sed -e 's/\s*data-data=.*[0-9]\{1,2\}\/[0-9]\{1,2\}\/[0-9]\{2,4\}\s*[0-9]\{1,2\}:[0-9]\{1,2\}:[0-9][0-9]//' \ |
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
feh --bg-scale /usr/share/backgrounds/gnome/Icescape.jpg |
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
wmname LG3D | |
export ANDROID_HOME=$HOME/Android/Sdk | |
export PATH=$PATH:$ANDROID_HOME/tools |
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/bash | |
prompt=">>>"; | |
echo "Informe o arquivo que contém a lista de módulos (um por linha). | |
Se deixar em branco, modulos.csv será utilizado"; | |
file_list="modulos.csv"; | |
read file_list | |
history_url="http://updates.drupal.org/release-history/" | |
prefixo="DrupalScript"; | |
echo "Informe a pasta a salvar os arquivos. |
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/python | |
# -*- coding: utf-8 -*- | |
import codecs | |
import smtplib | |
import re | |
import os | |
import sys | |
import time | |
from email.header import Header | |
from email.mime.multipart import MIMEMultipart |