Skip to content

Instantly share code, notes, and snippets.

View jamezrin's full-sized avatar
:octocat:
Committing

Jaime Martínez Rincón jamezrin

:octocat:
Committing
View GitHub Profile
@jamezrin
jamezrin / stream-autopilot-privacy-policy.md
Created June 4, 2026 22:05
Stream Autopilot Privacy Policy

Stream Autopilot Privacy Policy

Last updated: May 31, 2026

Stream Autopilot does not collect, transmit, sell, or share user data.

Local Storage

The extension stores its settings, scheduler state, campaign progress, managed-tab identifiers, and a compact diagnostic event log locally in the user's browser using extension storage. It also stores a short-lived Twitch "Client-Integrity" token bundle so it can replay the same page-issued headers Twitch requires when claiming a drop; this bundle expires and is refreshed from the user's own Twitch page traffic. All of this data remains on the user's device and is not sent to the developer or to any third-party or analytics service.

@jamezrin
jamezrin / k8s_managens.fish
Last active December 30, 2024 01:15
Fish Shell script to handle the deletion of a namespace stuck at termination
function k8s_managens --description "k8s_managens <namespace> [--delete] [--timeout <timeout>] [--force-finalizers]"
set -l options (fish_opt -s d -l delete --long-only)
set options $options (fish_opt -s t -l timeout --required-val --long-only)
set options $options (fish_opt -s f -l force-finalizers --long-only)
argparse $options -- $argv
if test (count $argv) -eq 0
echo "Usage: k8s_managens <namespace> [--delete] [--timeout <timeout>] [--force-finalizers]"
return 1
end

Keybase proof

I hereby claim:

  • I am jamezrin on github.
  • I am jaime29010 (https://keybase.io/jaime29010) on keybase.
  • I have a public key ASDgBzPFV4p23SY7T8s23Z39YLMzV1NUxBoQsPAV7EBIcgo

To claim this, I am signing this object:

#!/bin/bash
INTERVAL=0.1s
BUTTON_CODE=3
TARGET_WINDOW="Minecraft"
CLICKS=0
RUNNING=true
START_TIMESTAMP="$(date +%s)"
# Spotify AdBlock - Host file
# Blocks all annoying Spotify ads & analytics
# Updated 2018-11-21
# Credits: CHEF-KOCH (original maintainer) and LocalFigurez
# spclient.wg.spotify.com might break Spotify. Commented out by default
# audio-fa.scdn.co might break Chromecast. Commented out by default
# open.spotify.com might break Discord. Commented out by default
0.0.0.0 spclient.wg.spotify.com
# 0.0.0.0 audio-fa.scdn.co
# 0.0.0.0 open.spotify.com
@jamezrin
jamezrin / main.py
Last active April 13, 2019 22:29
Script to map files with nested maps to a flat structure with paths separated by dots
import argparse
import sys
from ruamel.yaml import YAML, YAMLError
yaml = YAML()
yaml.allow_unicode = True
yaml.allow_duplicate_keys = True
@jamezrin
jamezrin / script.js
Created March 15, 2019 23:20
Posicionamiento alternativo de la imagen de la autoescuela
// ==UserScript==
// @name eTestWeb / Estilo mejorado
// @namespace https://jamezrin.name
// @version 0.1
// @description Posicionamiento alternativo de la imagen de la autoescuela
// @author jaime@jamezrin.name
// @match *://www.carnetcnae.com/*
// @grant all
// ==/UserScript==
@jamezrin
jamezrin / script.js
Last active March 15, 2019 23:20
Control de preguntas en tests mediante las flechas de dirección
// ==UserScript==
// @name eTestWeb / Controles por Teclado
// @namespace https://jamezrin.name
// @version 0.2
// @description Control de preguntas en tests mediante las flechas de dirección
// @author jaime@jamezrin.name
// @match *://www.carnetcnae.com/*
// @grant all
// ==/UserScript==
@jamezrin
jamezrin / orphan.py
Last active June 17, 2025 13:34
Python script to create an orphan branch
import requests
def create_orphan_branch(repository, authentication, branch_name,
github_api_path='https://api.github.com'):
res1 = requests.get(
github_api_path + '/repos/{0}/{1}/git/refs/heads/{2}'.format(
repository['owner'],
repository['name'],
branch_name
(env) pi@raspberrypi:~/algo-master $ ./algo
PLAY [Ask user for the input] *****************************************************************************************************************************************************************
TASK [Gathering Facts] ************************************************************************************************************************************************************************
ok: [localhost]
[pause]
What provider would you like to use?
1. DigitalOcean
2. Amazon Lightsail