Skip to content

Instantly share code, notes, and snippets.

View i9or's full-sized avatar
πŸ•
Focusing

Igor Pelekhan i9or

πŸ•
Focusing
View GitHub Profile
#pragma once
#include <inttypes.h>
#include <stddef.h>
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
typedef int8_t i8;
@i9or
i9or / typesafe.css
Created May 22, 2022 13:42 — forked from bradleytaunt/typesafe.css
TypeSafe CSS
*{box-sizing:border-box;}body{font:16px/1.5 "Georgia",serif;margin:0 auto;max-width:66ch;padding:1rem;}h1,h2,h3,h4,h5,h6{font-family:"Helvetica Neue","Helvetica","Arial",sans-serif;margin:2.5rem 0 1rem;}ul li, ol li{margin-top:0.5rem;}a,a:visited{color:black;}a:hover{color:dodgerblue;}img{height:auto;max-width:100%;}pre{border: 1px solid lightgrey;overflow:auto;}code{color:orangered;display:inline-block;}pre code{padding:1rem;}blockquote{border-left:5px solid lightgrey;font-size:120%;font-style:italic;margin:2rem 0;padding:1rem;}table{border-collapse:collapse;margin:2rem 0;text-align:left;width:100%;}tr{border-bottom:1px solid lightgrey;}th,td{padding:0.5rem;}hr{background:lightgrey;border:0;height:1px;margin:2rem 0;}
@i9or
i9or / typesafe-sans.css
Created May 22, 2022 13:41 — forked from bradleytaunt/typesafe-sans.css
TypeSafe Sans CSS
*{box-sizing:border-box;}body{font:16px/1.5 "Helvetica Neue","Helvetica","Arial",sans-serif;margin:0 auto;max-width:66ch;padding:1rem;}h1,h2,h3,h4,h5,h6{font-family:"Georgia",serif;margin:2.5rem 0 1rem;}ul li, ol li{margin-top:0.5rem;}a,a:visited{color:black;}a:hover{color:dodgerblue;}img{height:auto;max-width:100%;}pre{border: 1px solid lightgrey;overflow:auto;}code{color:orangered;display:inline-block;}pre code{padding:1rem;}blockquote{border-left:5px solid lightgrey;font-size:120%;font-style:italic;margin:2rem 0;padding:1rem;}table{border-collapse:collapse;margin:2rem 0;text-align:left;width:100%;}tr{border-bottom:1px solid lightgrey;}th,td{padding:0.5rem;}hr{background:lightgrey;border:0;height:1px;margin:2rem 0;}
@i9or
i9or / cloudflare-tunnels.md
Created January 23, 2022 21:31 — forked from Chaphasilor/cloudflare-tunnels.md
A short guide on how to use Cloudflare Tunnels to securely expose your services to the internet in just a few minutes πŸ₯³

How to create a Cloudflare (Argo) Tunnel

Cloudflare Tunnels are a great way to securely expose local services to the internet indefinitely, without releaving your IP address or poking holes in your firewall.
It's basically a reverse ssh tunnel on steroids, free, and offers a rock-solid connection.
Once set up (takes 10 mins tops), you can easily add another exposed service in just 30 seconds by editing a config file and restarting the tunnel.

Requirements:

  • Cloudflare account (free)
  • A domain added to your CF account
@i9or
i9or / sdl-opengl-example.c
Created November 22, 2021 21:22 — forked from gcatlin/sdl-opengl-example.c
Minimal C SDL2 OpenGL example
//
// cc main.c glad.c -lSDL2
//
#include "glad.h" // https://glad.dav1d.de/
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#include <stdbool.h>
int main()
{
@i9or
i9or / skills
Last active January 7, 2025 15:43
Procrastination β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘
Loafing out β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘
Tea breaks β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘