Skip to content

Instantly share code, notes, and snippets.

View PauloGoncalvesBH's full-sized avatar

Paulo Gonçalves PauloGoncalvesBH

  • Portugal
  • 20:54 (UTC)
View GitHub Profile
@bagder
bagder / slop.md
Last active January 30, 2026 14:22
AI slop security reports submitted to curl

Slop

This collection is limited to only include the reports that were submitted as security vulnerabilities to the curl bug-bounty program on Hackerone.

Several other issues not included here are highly suspcious as well.

Reports

  1. [Critical] Curl CVE-2023-38545 vulnerability code changes are disclosed on the internet. #2199174

📱Valet

A Decentralized Automated Testing Network

🙈 tl;dr:

Valet is a decentralized test automation network where developers run tests on real devices (iOS or Android), and device owners get paid for executing them. Using Nostr for discovery, Lightning for payments, and Raspberry Pi nodes for execution, it’s less expensive, more open, and more scalable than traditional test clouds. Built by Jason Huggins (Selenium, Appium, Sauce Labs), Valet is an experiment in P2P testing at scale. 🚀

@0x4f53
0x4f53 / tcl_debloater.sh
Last active January 30, 2026 18:25
TCL TV debloater. I've tried making it as close to stock Android TV as possible without messing up too many core features of Android TV.
#!/bin/bash
bloat=(
"com.tcl.partnercustomizer"
"com.tcl.smartalexa" # Alexa integration for TV controls
"com.tcl.gallery" # Gallery app
"com.tcl.notereminder" # Notes and reminders app
"com.google.android.videos" # Google Play Movies and TV
"com.google.android.play.games" # Google Play Games
# "com.android.vending" # Google Play Store
@felippe-regazio
felippe-regazio / tt-seek-and-destroy.js
Last active August 20, 2024 13:13
Automatically unfollow Twitter users by a given criteria
/**
* ABOUT
*
* This is a Twitter NO-API/Dependency-Free follower sniffer and auto-blocker.
*
* This function performs automatic bulk blocking with NO-API
* and NO-external-dependencies to run. You must run this snippet
* directly on your Console, it will sniff your followers list
* search for previous given keywords, if found on username or description,
* the user will be automatically blocked.
@laurentbel
laurentbel / !Nginx Basic Auth.md
Last active May 21, 2025 12:34
Nginx reverse proxy with basic authentication

Nginx Basic Auth

A simple demo of using Nginx as a reverse proxy to add basic authentication.

@rponte
rponte / using-uuid-as-pk.md
Last active January 19, 2026 17:56
Não use UUID como PK nas tabelas do seu banco de dados

Pretende usar UUID como PK em vez de Int/BigInt no seu banco de dados? Pense novamente...

TL;TD

Não use UUID como PK nas tabelas do seu banco de dados.

Um pouco mais de detalhes

const options = { year: "numeric", month: "long", day: "numeric" };
const date = new Date(2020, 11, 31) // 2020-12-31T03:00:00.000Z
console.log(date.toLocaleDateString("pt-br", options))
// 31 de dezembro de 2020
console.log(date.toLocaleDateString("pt-br", { ...options, month: 'numeric'}))
// 31/12/2020
const regex = /^([0-9]{4})[-](0[1-9]|1[0-2])[-](0[0-9]|1[0-9]|2[0-9]|3[0-1])/gm
const dateRx = new Date(2020, 11, 31) // 2020-12-31T03:00:00.000Z
@khaosdoctor
khaosdoctor / workingwithlucas-en-us.md
Last active May 30, 2025 09:24
Useful info when working with me

Working with Lucas

Creation Date: June 2020

Status: in progress

A collection of stuff that might come in handy when working with me

My personal philosophy:

provider "aws" {
version = "~> 2.0"
region = "eu-west-2"
}
# Providing a reference to our default VPC
resource "aws_default_vpc" "default_vpc" {
}
# Providing a reference to our default subnets