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
# Layer7 [mode http] | |
global | |
log /dev/log local0 | |
log 127.0.0.1 local1 notice | |
maxconn 4096 | |
user haproxy | |
group haproxy | |
daemon | |
defaults |
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
https://mallinson.ca/osx-web-development/ | |
https://alexcican.com/post/osx-apps/ |
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
[+] Network internals: | |
chrome://net-internals/#dns | |
chrome://net-internals/#bandwidth | |
chrome://net-internals/#modules | |
chrome://net-internals/#httpCache | |
chrome://net-internals/#http2 | |
chrome://net-internals/#sockets | |
chrome://net-internals/#timeline | |
chrome://net-internals/#events | |
chrome://net-internals/#waterfall |
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
# Install docker | |
yum -y update | |
yum -y install docker docker-registry | |
systemctl enable docker.service | |
systemctl start docker.service | |
systemctl status docker.service | |
# Install docker-composer | |
yum install epel-release -y | |
yum install -y python-pip |
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
#!/bin/bash | |
LSB=/usr/bin/lsb_release | |
# | |
CHECK_DPKG=$(which dpkg) | |
CHECK_RPM=$(which rpm) | |
# Show warning if server load average is below the limit for last 5 minute | |
LOAD_WARN=5 | |
# font colours |
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
#!/bin/bash | |
timestamp=$(date +"%d-%m-%Y") | |
export MAILFROM="[email protected]" | |
export MAILTO="[email protected],[email protected]" | |
export SUBJECT="[ EMPRESAIt ] Linux ATI - Relatorios diarios da rede x.y.z.x" | |
export BODY="/home/EMPRESAit/Scripts/CheckDiarioTodasMaquinas/xyzx-dailycheck/body/build.html" | |
export ATTACH="/var/www/relatorio-xyzx/CheckDiario-REDExyzx-$timestamp.zip" | |
export MAILPART=`uuidgen` ## Generates Unique ID | |
export MAILPART_BODY=`uuidgen` ## Generates Unique ID |
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
<!DOCTYPE html PUBLI'C "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html lang="pt-BR"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<!-- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> --> | |
<!-- <meta charset="UTF-8"> --> | |
<!-- <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> --> | |
<!-- <meta http-equiv="Content-Language" content="pt-br"/> --> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- So that mobile will display zoomed in --> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- enable media queries for windows phone 8 --> |
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
################################# | |
# SCRIPT 01 | |
################################# | |
#!/bin/bash | |
# -x for debug | |
#set -x | |
user='user' | |
sshport='22' |
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
#!/bin/bash | |
### sudo apt-get install cifs-utils | |
#set -x | |
LinuxLocalUser=$(whoami) | |
Base="/home/$LinuxLocalUser" | |
BaseSub="/home/$LinuxLocalUser/WinShare" | |
Download="/home/$LinuxLocalUser/Downloads" | |
File="SysinternalsSuite.zip" |
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
#!/bin/bash | |
# Created by Richardson Lima | |
# set -x | |
Vlan="10x" | |
AllFilesDir="RuleEnv/$Vlan/allfiles" | |
FinalFileDir="RuleEnv/$Vlan/finalfile" | |
function createEnvDir(){ | |
echo -e '\033[1;32m [+] Creating a Env dir , waiting a moment ... \033[0m'; sleep 5 |