Skip to content

Instantly share code, notes, and snippets.

View sant123's full-sized avatar
🇨🇴

Santiago Aguilar Hernández sant123

🇨🇴
  • Gorilla Logic
  • Colombia
View GitHub Profile
@5ouma
5ouma / longcat.ts
Last active May 11, 2025 03:50
🐈 Loooooooooooooooong cat
import { join } from "jsr:@std/path";
import { Hono } from "jsr:@hono/hono";
import { cache } from "jsr:@hono/hono/cache";
import { logger } from "jsr:@hono/hono/logger";
import { createCanvas, loadImage } from "jsr:@gfx/canvas-wasm";
const baseImageUrl =
"https://raw.githubusercontent.com/mattn/longcat/refs/heads/master/public/themes/longcat";
const imageUrls = {
head: join(baseImageUrl, "data01.png"),
@YourAKShaw
YourAKShaw / namaste_javascript_notes.md
Last active September 13, 2024 09:32
Namaste 🙏 JavaScript is a YouTube playlist by Akshay Saini. These are the notes I've made when I was learning JavaScript from Scratch using the playlist.

How JavaScript Works?

Is JavaScript:

  • Synchronous or Asynchronous?
  • Single-threaded or Multi-threaded?
  • Everything in JavaScript happens inside an Execution Context
    • You can assume this execution context to be a big box or a container in which the whole JavaScript code is executed.
  • This big box has two components in it:
@PCreations
PCreations / rxjs-diagrams.md
Last active September 26, 2024 01:44
Super Intuitive Interactive Diagrams to learn combining RxJS sequences by Max NgWizard K
@1995eaton
1995eaton / readin.c
Created November 8, 2014 23:29
C stdin reader example with dynamic memory allocation
#include <stdio.h>
#include <stdlib.h>
static char *
read_stdin (void)
{
size_t cap = 4096, /* Initial capacity for the char buffer */
len = 0; /* Current offset of the buffer */
char *buffer = malloc(cap * sizeof (char));
int c;