Skip to content

Instantly share code, notes, and snippets.

View rulyotano's full-sized avatar
:octocat:

Raul rulyotano

:octocat:
View GitHub Profile
@rulyotano
rulyotano / hector_croudfounding.html
Last active April 30, 2026 07:36
Hector mock croudfounding
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Help Hector escape the Microsoft stack — GoFundMe</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&display=swap" rel="stylesheet" />
<style>
@rulyotano
rulyotano / ZookeeperDistributedConfiguration.cs
Created October 30, 2025 10:20
ZookeeperDistributedConfiguration file, where the main sequence logic lives
using System.Net;
using System.Text;
using org.apache.zookeeper;
using SequenceNode.Application;
using SequenceNode.Infrastructure.Zoo;
namespace SequenceNode;
public class ZookeeperDistributedConfiguration : IDistributedConfiguration
{
@rulyotano
rulyotano / latency.txt
Created January 18, 2023 09:42 — forked from jboner/latency.txt
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD
@rulyotano
rulyotano / _document.tsx
Created September 1, 2022 10:16
NextJs file for Medium article
import React from 'react';
import Document, { Html, Head, Main, NextScript } from 'next/document';
import { ServerStyleSheets } from '@material-ui/core/styles';
import theme from '../src/theme';
export default class MyDocument extends Document {
render() {
return (
<Html lang="en">
<Head>

Keybase proof

I hereby claim:

  • I am rulyotano on github.
  • I am rulyotano (https://keybase.io/rulyotano) on keybase.
  • I have a public key ASBUSFKdzyMx6dSyUpN4rsFdzj7ybKCFhqJZ9i_AoQh9NQo

To claim this, I am signing this object:

import ast
from cStringIO import StringIO
import sys
INFSTR = '1e308'
def interleave(inter, f, seq):
seq = iter(seq)
try:
f(next(seq))