Skip to content

Instantly share code, notes, and snippets.

View gabrielfalcao's full-sized avatar
👨‍💻
probably writing tests

Gabriel Falcão gabrielfalcao

👨‍💻
probably writing tests
View GitHub Profile
@gabrielfalcao
gabrielfalcao / AP_4035654584
Last active December 27, 2024 20:37
Unknown Access Point in my current vicinity
This file has been truncated, but you can view the full file.
1MOyoQIABAAAAAAAAAAAAAAgAABpAAAAzf1uZwAmCQDGAAAAxgAAAIAAAAD///////8w6ucYHRww
6ucYHRzQXocBywwAAAAAZAAxhAANQVBfNDAzNTY1NDU4NAEIgoSLlgwSGCQDAQkqAQAyBDBIYGwF
BAABAADdGABQ8gIBAQAAA6QAACekAABCQ14AYjIvADAUAQAAD6wEAQAAD6wEAQAAD6wCAAAtGm4Q
H/8AAAABAAAAAAAAAAAAAAAGAAAAAAAAPRYJCAAAAAAAAAAAAAAAAAAAAAAAAAAAPgEASg4UAAoA
LAHIABQABQAZAM39bmc8JwkAxgAAAMYAAACAAAAA////////MOrnGB0cMOrnGB0c4F6FkcwMAAAA
AGQAMYQADUFQXzQwMzU2NTQ1ODQBCIKEi5YMEhgkAwEJKgEAMgQwSGBsBQQAAQAA3RgAUPICAQEA
AAOkAAAnpAAAQkNeAGIyLwAwFAEAAA+sBAEAAA+sBAEAAA+sAgAALRpuEB//AAAAAQAAAAAAAAAA
AAAABgAAAAAAAD0WCQgAAAAAAAAAAAAAAAAAAAAAAAAAAD4BAEoOFAAKACwByAAUAAUAGQDN/W5n
6ScJAMYAAADGAAAAgAAAAP///////zDq5xgdHDDq5xgdHPBegiHODAAAAABkADGEAA1BUF80MDM1
NjU0NTg0AQiChIuWDBIYJAMBCSoBADIEMEhgbAUEAAEAAN0YAFDyAgEBAAADpAAAJ6QAAEJDXgBi
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gabrielfalcao
gabrielfalcao / www.bannister.org.pem
Created August 30, 2024 02:43
Invalid Certificate Authority for www.bannister.org 2024-08-30T024252@UTC
-----BEGIN CERTIFICATE-----
MIIE8jCCA9qgAwIBAgISA6rh5N6GnruMhHayEhlY0OVfMA0GCSqGSIb3DQEBCwUA
MDMxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQwwCgYDVQQD
EwNSMTAwHhcNMjQwNzI1MTczMTA4WhcNMjQxMDIzMTczMTA3WjAcMRowGAYDVQQD
ExF3d3cuYmFubmlzdGVyLm9yZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBALTc9hRTR260UeIPQIC0kA2JVJZC+aQzet+4KorihR0ryf2pHtElPT9b2MNn
2XOwa/64H2xAJUwDg4Trdc9GmgEwRsc5TNytqa7xCvFI9p5IE39wHquVNmyJro/O
zZMXwXyFOBeS5+txPGgYaKQQ7EzsXx9cRvnBtO04kfl8pNjx5WUEIZK/GcwJhhUv
zAU2m3efS9VJzCPLJ/QK6srmoZc+de2aSYksop9c3qh0avtpjZzbyt/jgREFu1go
XgCqNMwK80GLwRKVbCwpyEXMsLfEVpgaBZpWIohPmP7pgint6UpkgXC3WpQOXGHP
@gabrielfalcao
gabrielfalcao / to-cast-away-nonrequested-adjectives.md
Created July 17, 2024 03:21
On The Problem of one's genuine effort to sit at the middle of the spectrum between the extremes of Praise and Criticism

On The Problem of one's genuine effort to sit at the middle of the spectrum between the extremes of Praise and Criticism

The first appearance within or, emergence at the surface of one's consciousness is that of the nondeniable physiological chain-of-events arising from somewhat inherently social and behavioral aspects of us mammals. It would appear to me at, in terms of evolutionary psychology, we mammals as standing within an imaginary wenn diagram intersecting human-beings in terms of Aristotelian or Kantian qualities, have within our biological systems emitters and receptors of substances such as enzymes, hormones and so on which at varying levels of mixture, vulgarly speaking, brings us at an extreme case to sense physiological patterns which are uniquely identifyable to each of one of us and impervious to external prediction in terms, say, of "sentiment analysis", eye tracking and other schemes of marketing tools which seem to be progressively abused as though weapons wielded by those who appa

#######b. ### ### .d####b.########################b d##############
### Y##b### ###d##P Y##b ### ### ####b d#### ###
### ###### ###Y##b. ### ### #####b.d##### ###
### d##P### ### "Y###b. ### ####### ###Y#####P### ###
#######P" ### ### "Y##b. ### ### ### Y###P ### ###
### T##b ### ### "### ### ### ### Y#P ### ###
### T##b Y##b. .d##PY##b d##P ### ### ### " ### ###
### T##b "Y#####P" "Y####P" ### ### ### ### ###
# ignore = [] # Skip formatting the specified files and directories
@gabrielfalcao
gabrielfalcao / kubectl-forward-all-service-ports.sh
Created June 14, 2023 08:06
shell script to forward all the kubernetes service ports to localhost while automatically handling port numbers < 1024 (e.g.: 443 to 8443)
#!/usr/bin/env bash
for json in $(kubectl get svc -o json | jq -c '.items[] | select(.kind == "Service") | {name:.metadata.name, port:.spec.ports[0].port}'); do
service=$(echo "${json}" | jq .name | tr -d '"')
remote_port=$(echo "${json}" | jq .port | tr -d '"')
local_port=$((remote_port))
if [ $((local_port)) -lt 1024 ]; then
local_port=$((local_port + 8000))
fi
echo kubectl port-forward "service/${service}" "${local_port}:${remote_port}"
done
--ignore-dir=node_modules/
--ignore-dir=.venv/
--ignore-dir=.venv
--ignore-dir=*.egg-info
--ignore-dir=...
--ignore-dir=.caches
--ignore-dir=man
--color-colno=137
--type-add=rs=.rs
#!/usr/bin/env bash
set -exu
>>> from signal import Signals
>>> possible_signals = [(name, getattr(signal, name)) for name in dir(Signals) if name == name.upper()]
>>> valid_signals = [(name, signal) for name, signal in possible_signals if isinstance(signal, Signals)]
>>> len(valid_signals)
41
>>> [(name, signal.real) for name, signal in valid_signals]
[('SIGABRT', 6),