Skip to content

Instantly share code, notes, and snippets.

@simon0191
simon0191 / hybrid-default-bundle.json
Created April 6, 2026 12:44
Hybrid E2E debug bundle (PR #91) - desyncs under asymmetric rollback
{
"version": 1,
"generatedAt": "2026-04-06T12:33:36.092Z",
"config": {
"p1FighterId": "simon",
"p2FighterId": "jeka",
"stageId": "beach",
"seed": 42,
"speed": 1,
"aiDifficulty": "medium"
@simon0191
simon0191 / debug-bundle-2.json
Created March 31, 2026 08:26
Debug bundles for P1-never-rollbacks issue (laptop wifi vs iPhone 5G)
{"version":2,"source":"debug-combined","collectedBy":"p1","collectedAt":"2026-03-30T23:31:18.404Z","local":{"version":2,"generatedAt":"2026-03-30T23:31:18.404Z","source":"debug","debugMode":true,"sessionId":"51339b14","config":{"p1FighterId":"migue","p2FighterId":"mao","stageId":"metro","seed":null,"speed":1,"aiDifficulty":"medium"},"confirmedInputs":[{"frame":0,"p1":0,"p2":0},{"frame":71,"p1":4,"p2":0},{"frame":79,"p1":6,"p2":0},{"frame":82,"p1":2,"p2":0},{"frame":110,"p1":0,"p2":0},{"frame":118,"p1":1,"p2":0},{"frame":133,"p1":5,"p2":0},{"frame":139,"p1":4,"p2":0},{"frame":141,"p1":6,"p2":0},{"frame":144,"p1":2,"p2":0},{"frame":202,"p1":66,"p2":0},{"frame":203,"p1":2,"p2":0},{"frame":216,"p1":66,"p2":0},{"frame":217,"p1":2,"p2":0},{"frame":226,"p1":66,"p2":0},{"frame":227,"p1":2,"p2":0},{"frame":237,"p1":66,"p2":0},{"frame":238,"p1":2,"p2":0},{"frame":246,"p1":66,"p2":0},{"frame":247,"p1":2,"p2":0},{"frame":251,"p1":6,"p2":0},{"frame":255,"p1":4,"p2":0},{"frame":256,"p1":5,"p2":0},{"frame":257,"p1":133,"p2"
@simon0191
simon0191 / Brewfile
Created September 16, 2025 11:08
Brewfile
cask "iterm2"
cask "slack"
cask "raycast"
cask "1password"
cask "1password-cli"
cask "spotify"
cask "visual-studio-code"
cask "claude-code"
cask "claude"
cask "whatsapp"
@simon0191
simon0191 / README.md
Last active September 24, 2018 10:23
Docker RUN vs CMD

Docker RUN vs CMD

RUN

  • creates a layer, it actually modifies the image during the build.
  • it's executed during "build time"
  • you can specify multiple RUNs in a Dockerfile

CMD

  • doesn't create a layer
  • specifies the command that will be run by default when the container is run if no command is passed to the docker run instruction
@simon0191
simon0191 / vote.rb
Created October 27, 2016 23:16
¿Cómo hacer que Esperanza Gomez gane los premios Shock?
# https://medium.com/@simon0191/c%C3%B3mo-hacer-que-esperanza-gomez-gane-los-premios-shock-8bb0044ec074
require 'date'
require 'cgi'
require 'curb'
TOKEN_REGEX = /.*'(.*)'.*/
def vote(account_id, poll_id, vote_id, site_url, user_agent)
timestamp = DateTime.now.strftime('%Q')
token_url = "https://polldaddy.com/n/#{account_id}/#{poll_id}?#{timestamp}"

Estamos usando Pins para compartir, guardar y tener una forma fácil de encontrar ofertas de trabajo

Compartiendo ofertas de trabajo

  1. Comparta la oferta de trabajo idealmente incluyendo descripción, habilidades requeridas, habilidades deseadas, salario, si es remota o no y cómo aplicar a la oferta.

Por ejemplo:

Desarrollador Full Stack en Medellín.
@simon0191
simon0191 / index.html
Created November 12, 2015 16:24
Template para taller UPTC
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Super Tienda</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css">
</head>
<body>
<h1>Hola Mundo</h1>
require 'thread'
require 'pp'
def download_time(url)
`curl --silent -w "%{time_total}" --output /dev/null #{url}`.to_f
end
def compare_download_times(urls,opts={})
tests = opts[:tests] || 1000
concurrency = opts[:concurrency] || 1
@simon0191
simon0191 / index.html
Created April 14, 2015 19:19
Todo List
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Todo List</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="wrapper">
<h1>Todo List</h1>
function main(str) {
var ssT = /[\*\+\-\/]/;
var nsT = /\d/;
var ns = str.split(ssT).filter(function(s) {
return s !== '';
});
var ss = str.split(nsT).filter(function(s) {
return s !== '';
});