-
InfoQ BR
-
Fuja da escravidão antes que ela te alcance - Nesta palestra, Vinícius Teles nos fala a respeito da realidade de muitos trabalhadores que possuem vidas estáveis, porém repletas de frustrações advindas de suas rotinas e carreiras aparentemente seguras. Vinícius trata do empreendedorismo, com dicas para profissionais de tecnologia que buscam atingir não apenas a estabilidade financeira, mas também a plena satisfação profissional e pessoal.
-
Agile Brazil 2012
-
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 | |
SHORTCUT="[Desktop Entry] | |
Name=Sublime Text 3 | |
Comment=Edit text files | |
Exec=/opt/sublime-text-3/sublime_text | |
Icon=/opt/sublime-text-3/Icon/128x128/sublime-text.png | |
Terminal=false | |
Type=Application | |
Encoding=UTF-8 | |
Categories=TextEditor;" |
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 | |
# Sublime Text 3 install with Package Control (last update: 4 April 2015) | |
# | |
# No need to download this script, just run it on your terminal: | |
# | |
# $ curl -L git.io/sublimetext | sh | |
# | |
# When you need to update Sublime Text, run this script again. |
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 | |
SITES=("www.seusite.com.br" "www.seusite1.com.br") | |
EMAILRECEBIMENTO="[email protected];[email protected]" | |
STATUSCODE=("200" "201" "202" "203" "204" "205" "206" "207") | |
i=0 | |
j=0 | |
CONTROLE=0 | |
RESPOSTASITE=0 |
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 | |
############CONFIGURACAO | |
local=/monitor | |
log=$local/logs/”LOG-`date +%d%m%y`.txt” | |
numero=5498979897 | |
EMAIL_DE=”@gmail.com” | |
EMAIL_PARA=”@outlook.com” | |
EMAIL_PARA2=”” | |
SERVIDOR_SMTP=”smtp.gmail.com:587″ | |
SENHA=’senha’ |
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 | |
intervalo=60 | |
err_log="/var/log/mon_site.log" | |
verifica_porta() { | |
hora=`date +%T` | |
dia=`date | awk '{print $2" "$3}'` | |
PORTA="8080,8081" | |
chk=`netstat -an | grep -c :"$PORTA"` |
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 | |
SITES=("www.seusite.com.br" "www.seusite1.com.br") | |
EMAILRECEBIMENTO="[email protected];[email protected]" | |
STATUSCODE=("200" "201" "202" "203" "204" "205" "206" "207") | |
i=0 | |
j=0 | |
CONTROLE=0 | |
RESPOSTASITE=0 |
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
PING=/bin/ping | |
SITE="hostname ou IP" | |
DATA=`date +%d-%m-%y-%H:%M` | |
LOGFILE=/var/log/monitor | |
$PING -q -c 1 $SITE | grep -w "0%" > /dev/null | |
if [ $? -ne 0 ]; then | |
# Site fora do ar | |
echo "$SITE - $DATA - Não responde..." >> $LOGFILE |
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
\n | |
============= HOST: ==========\n | |
\n | |
local_ip: %{local_ip}\n | |
local_port: %{local_port}\n | |
remote_ip: %{remote_ip}\n | |
remote_port: %{remote_port}\n | |
\n | |
======= CONNECTION: ==========\n | |
\n |
OlderNewer