Skip to content

Instantly share code, notes, and snippets.

View luismedel's full-sized avatar
💾
/* You are not expected to understand this */

Luis Medel luismedel

💾
/* You are not expected to understand this */
View GitHub Profile
@luismedel
luismedel / rfc3161.txt
Created September 25, 2025 13:17 — forked from Manouchehri/rfc3161.txt
List of free rfc3161 servers.
https://rfc3161.ai.moda
https://rfc3161.ai.moda/adobe
https://rfc3161.ai.moda/microsoft
https://rfc3161.ai.moda/apple
https://rfc3161.ai.moda/any
http://rfc3161.ai.moda
http://timestamp.digicert.com
http://timestamp.globalsign.com/tsa/r6advanced1
http://rfc3161timestamp.globalsign.com/advanced
http://timestamp.sectigo.com
@luismedel
luismedel / gunicorn_config.py
Created September 1, 2025 13:35 — forked from robotadam/gunicorn_config.py
Gunicorn saturation monitoring
"""gunicorn configuration file to export server metrics
To launch add `-c webapp/gunicorn_config.py` to the gunicorn command line.
Requires statsd to be configured for gunicorn as well, e.g.
`ENV STATSD_HOST=statsd-exporter:9125`
"""
# Python imports
import ctypes
#!/usr/bin/env python
import math
import sys
from moviepy.editor import AudioClip, VideoFileClip, concatenate_videoclips
# Get average RGB of part of a frame. Frame is H * W * 3 (rgb)
# Assumes x1 < x2, y1 < y2
@luismedel
luismedel / fetch-gists.sh
Created September 26, 2024 20:52
Fetch/update all gists from a Github user
#!/bin/bash
USER=${1}
if [ -z "$USER" ]; then
echo "Usage: $0 <username>"
exit 1
fi
API_URL="https://api.github.com/users/$USER/gists"
@luismedel
luismedel / whats-my-ip.md
Created September 16, 2024 19:57
Poor man's "whats my ip"
$ curl -s cloudflare.com/cdn-cgi/trace | sed -nr "s/^ip\=(.+)$/\1/p"
Download the PDF as temp.pdf
$ pip install pdfminer
$ pdf2txt.py temp.pdf > temp.txt
@luismedel
luismedel / octal_x86.txt
Created February 20, 2022 23:44 — forked from seanjensengrey/octal_x86.txt
x86 is an octal machine
# source:http://reocities.com/SiliconValley/heights/7052/opcode.txt
From: [email protected] (Mark Hopkins)
Newsgroups: alt.lang.asm
Subject: A Summary of the 80486 Opcodes and Instructions
(1) The 80x86 is an Octal Machine
This is a follow-up and revision of an article posted in alt.lang.asm on
7-5-92 concerning the 80x86 instruction encoding.
The only proper way to understand 80x86 coding is to realize that ALL 80x86

Keybase proof

I hereby claim:

  • I am luismedel on github.
  • I am lmedel (https://keybase.io/lmedel) on keybase.
  • I have a public key ASCwhzKCbUZPwYXYtEE3JQCDSx616AU_KkIPYbINXABXDAo

To claim this, I am signing this object: