Skip to content

Instantly share code, notes, and snippets.

from google import genai
from google.genai import types
from PIL import Image
from io import BytesIO
import os
import subprocess
import tempfile
from global_config import global_config
from loguru import logger as log
@eddiewebb
eddiewebb / readme.md
Last active July 7, 2025 09:20
Hugo JS Searching with Fuse.js
@dmnsgn
dmnsgn / WebGL-WebGPU-frameworks-libraries.md
Last active July 7, 2025 20:18
A collection of WebGL and WebGPU frameworks and libraries

A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.

Engines and libraries ⚙️

Name Stars Last Commit Description
three.js ![GitHub
@0x263b
0x263b / colors.md
Last active June 30, 2025 09:26
Random color from string in javascript

Random color from string in javascript

Consider a list of strings you need to permanently assign a random color.

First you should turn the string into a hash.

var string = "string"
var hash = 0
@FrancesCoronel
FrancesCoronel / sampleREADME.md
Last active June 11, 2025 16:32
A sample README for all your GitHub projects.

Repository Title Goes Here

Frances Coronel

INSERT GRAPHIC HERE (include hyperlink in image)

Subtitle or Short Description Goes Here

ideally one sentence >

@jaicab
jaicab / responsive-video.css
Last active December 11, 2024 20:06
Pure CSS solution for embed videos with an aspect ratio of 16:9
.video-container {
position: relative;
padding-bottom: 56.25%; /*16:9*/
padding-top: 30px;
height: 0;
overflow: hidden;
}
.video-container iframe,
.video-container object,