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
0 | |
00 | |
01 | |
02 | |
03 | |
1 | |
1.0 | |
10 | |
100 | |
1000 |
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 | |
# Executar comandos a seguir para atualizar os pacotes | |
sudo apt update -y | |
sudo apt upgrade -y | |
# Só o Python | |
sudo apt install python3.10-full python3.10-dev -y | |
# Instalar pacotes a seguir |
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
.DEFAULT_GOAL := help | |
help: ## show help message | |
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m\033[0m\n"} /^[$$()% a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) | |
compile: ## Compile foobar | |
@echo "##### Compiling foobar" | |
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/sh | |
############################# | |
# 2013 Sam Fourman Jr. # | |
# sfourman@gmail.com # | |
# # | |
# My ZFS Install script # | |
############################# | |
#The goal here is to one day, boot Gentoo and FreeBSD from the same zpool via | |
#BeHyve... currently this script only Installs FreeBSD... |
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
96 systemd-analyze time | |
97 systemd-analyze blame | |
journalctl -x | egrep -i 'fail|erro' |
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://ohshitgit.com/pt_BR | |
https://guidooliveira.com/habilite-o-remote-desktop-e-defina-as-regras-de-firewall-usando-powershell/. | |
https://medium.com/code-prestige/como-instalar-plugins-no-vim-4adb56ae38a8 | |
https://cryptsetup-team.pages.debian.net/cryptsetup/encrypted-boot.html | |
https://www.gnu.org/prep/standards/html_node/DESTDIR.html | |
https://adrianolisboa.com/configurando-dotfiles-com-o-gnu-stow/ | |
https://medium.com/@waterkip/managing-my-dotfiles-with-gnu-stow-262d2540a866 | |
https://www.google.com/search?sxsrf=ALeKk01IumdgUzdfoi_qWfq8fbzrkiGT-A%3A1592067322851&source=hp&ei=-gTlXu7TMbOU5OUPtNmciAU&q=gnu+stow&oq=gnu+stow&gs_lcp=CgZwc3ktYWIQAzIFCAAQywEyBQgAEMsBMgUIABDLATIFCAAQywEyBQgAEMsBMgUIABDLATIFCAAQywEyBQgAEMsBMgUIABDLATIFCAAQywE6BAgjECc6BggjECcQEzoFCAAQgwE6BQgAELEDOgIIADoHCAAQChDLAVCXBFjND2CsEWgAcAB4AIABgwGIAY4HkgEDMS43mAEAoAEBqgEHZ3dzLXdpeg&sclient=psy-ab&ved=0ahUKEwjuuPD5oP_pAhUzCrkGHbQsB1EQ4dUDCAY&uact=5 |
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 | |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
FILEX=$(find /jaula-sid/{QA,NMU,SPONSOR,tmp,PKGS} -name '*.dsc' -printf '%T+ %p\n' | \ | |
sort -r | head -n 1 | cut -d" " -f2) | |
# Testa se existe jaula: | |
TEST=$(mount | grep ramdisk) |
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
Criacao dos Itens | |
Criando itens tipo zabbix agent | |
https://www.zabbix.com/documentation/4.0/manual/config/items/item | |
https://www.zabbix.com/documentation/4.0/manual/config/items/itemtypes/zabbix_agent | |
Lab Aula1 | |
1 -Criar o seguinte monitoramento para o host Linux |
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
Primeiro, crie o arquivo /bin/lock: | |
# touch /bin/lock | |
Edite-o e coloque o seguinte conteúdo: | |
#!/bin/bash | |
scrot /tmp/screenshot.png | |
convert /tmp/screenshot.png -blur 0x5 /tmp/screenshotblur.png | |
i3lock -i /tmp/screenshotblur.png |
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
[colors] | |
background = #222 | |
background-alt = #444 | |
foreground = #dfdfdf | |
foreground-alt = #555 | |
primary = #ffb52a | |
secondary = #e60053 | |
alert = #bd2c40 | |
linebottom = #115e53 |
NewerOlder