Skip to content

Instantly share code, notes, and snippets.

@foo0x29a
foo0x29a / sort.go
Last active March 17, 2019 05:26
Sorting in Golang
package main
import (
"fmt"
)
func bubbleSort(s[]int) []int {
A := make([]int, len(s))
copy(A, s)
# OPS
## Networking troubleshooting
https://www.redhat.com/sysadmin/beginners-guide-network-troubleshooting-linux
## Slow server
https://www.redhat.com/sysadmin/troubleshooting-slow-servers
## Load
http://www.brendangregg.com/blog/2017-08-08/linux-load-averages.html
https://www.tldp.org/LDP/intro-linux/html/sect_04_03.html#sect_04_03_04
@foo0x29a
foo0x29a / recon_automation
Last active September 2, 2021 19:43
Create links from Sublist3r
python sublist3r.py -n -d domain.com | tee domain.com \
&& awk '{print "<li><a href=\"https://"$1"\">"$1"</a></li>" }' domain.com > links.html
# gitleaks
curl https://api.github.com/orgs/line/repos?per_page=100 | jq ".[].html_url" | tr -d \" > repos.txt