Skip to content

Instantly share code, notes, and snippets.

@gpxlnx
gpxlnx / List of API endpoints & objects
Created March 26, 2025 16:01 — forked from yassineaboukir/List of API endpoints & objects
A list of 3203 common API endpoints and objects designed for fuzzing.
0
00
01
02
03
1
1.0
10
100
1000
@gpxlnx
gpxlnx / ambiente-dev-ubuntu-curso-python.sh
Created February 28, 2023 22:04 — forked from luizomf/ambiente-dev-ubuntu-curso-python.sh
Instalação ambiente dev Ubuntu 22 do curso de Python
#!/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
@gpxlnx
gpxlnx / Makefile
Created November 22, 2021 16:01 — forked from luzfcb/Makefile
.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"
@gpxlnx
gpxlnx / gist:fec0ff4e4b8aa85a151baa981001e55f
Created July 14, 2020 13:19 — forked from sfourman/gist:6311334
FreeBSD install script
#!/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...
@gpxlnx
gpxlnx / boot
Last active June 24, 2020 09:13
comandos boot
96 systemd-analyze time
97 systemd-analyze blame
journalctl -x | egrep -i 'fail|erro'
@gpxlnx
gpxlnx / a
Created June 14, 2020 00:07
links
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
#!/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)
@gpxlnx
gpxlnx / Zabbix course
Last active October 22, 2021 22:37
zabbix - Vinicius Murman
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
@gpxlnx
gpxlnx / bin-lock
Last active April 7, 2020 10:56
bin-lock
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
@gpxlnx
gpxlnx / polybar-config
Created April 6, 2020 19:07
polybar-config
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #555
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
linebottom = #115e53