Skip to content

Instantly share code, notes, and snippets.

View creatorrr's full-sized avatar
🐕
Chillin

Diwank Singh Tomer creatorrr

🐕
Chillin
View GitHub Profile
@wesinator
wesinator / lookalike_codes.json
Created March 30, 2024 19:28 — forked from J0w03L/lookalike_codes.json
A JSON list of Unicode character lookalikes for a-z, A-Z, based from https://util.unicode.org/UnicodeJsps/confusables.jsp
{
"a": ["\ud835\udf70", "a", "\uff41", "\ud835\udc4e", "\ud835\uddee", "\ud835\udd52", "\ud835\udd86", "\ud835\udcea", "\ud835\ude8a", "\ud835\udfaa", "\u0430", "\u0251", "\u03b1", "\ud835\udd1e", "\ud835\udc82", "\ud835\ude22", "\ud835\udec2", "\u237a", "\ud835\udcb6", "\ud835\ude56", "\ud835\udf36", "\ud835\udefc", "\ud835\udc1a", "\ud835\uddba"],
"A": ["\ud835\ude70", "A", "\ud835\udc34", "\u15c5", "\ud835\udc68", "\ud835\udea8", "\ud835\udd6c", "\ud835\udda0", "\u0410", "\u0391", "\ud835\udee2", "\ud835\udf56", "\ud835\udc9c", "\ud835\udf1c", "\ud81b\udf40", "\ud835\udcd0", "\ud835\udf90", "\uff21", "\ud835\uddd4", "\ud835\ude08", "\u13aa", "\ua4ee", "\ud835\udc00", "\ud835\udd04", "\ud835\udd38", "\ud800\udea0", "\ud835\ude3c"],
"b": ["\ud835\udc4f", "\ud835\uddef", "b", "\u0184", "\ud835\udd53", "\ud835\udd87", "\u042c", "\ud835\udceb", "\ud835\ude8b", "\u13cf", "\u15af", "\ud835\udd1f", "\u1472", "\ud835\udc83", "\ud835\ude23", "\ud835\udcb7", "\ud835\ude57", "\ud835\udc1b", "\ud835\uddbb"]
@ericviana
ericviana / Homoglyphs.md
Created August 3, 2023 15:24 — forked from StevenACoffman/Homoglyphs.md
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@rain-1
rain-1 / LLM.md
Last active July 10, 2025 04:43
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@coltonbh
coltonbh / docker-swarm-gpu.md
Last active June 13, 2025 01:50
Docker Swarm GPU Support

GPU Support For Docker Swarm

Docker compose has nice support for GPUs, K8s has moved their cluster-wide GPU scheduler from experimental to stable status. Docker swarm has yet to support the device option used in docker compose so the mechanisms for supporting GPUs on swarm are a bit more open-ended.

Basic documentation

@tomlankhorst
tomlankhorst / docker-swarm-gpu.md
Last active June 9, 2025 09:05
Instructions for Docker swarm with GPUs
@jspahrsummers
jspahrsummers / AsynchronousGenerators.md
Last active December 19, 2024 06:52
Python asynchronous generator semantics and types

How to use asynchronous generators

The documentation 6.2.9.4. "Asynchronous generator-iterator methods" is phrased really ambiguously. To make matters worse, typing.AsyncGenerator is not specified fully correctly.

Here, I attempt to more clearly capture the actual interface contract, based on what I've read and observed. See also PEP 492 -- Coroutines with async and await syntax and PEP 525 -- Asynchronous Generators.

This might be useful to implement lower-level behaviors than you can with async for, like sending values into the generator function.

TSend = TypeVar('TSend', contravariant=True)
@danilofreire
danilofreire / metropolis.css
Created December 5, 2019 01:47 — forked from vhodges/metropolis.css
A version of the Beamer theme Metropolis for reveal.js
/**
* A simple theme for reveal.js presentations, derived from serif.css
* It's in the spirit of the Metropolis theme for beamer https://github.com/matze/mtheme
*
* This theme is Copyright (C) 2016 Vince Hodges, http://sourdoughlabs.com - it is MIT licensed.
*/
@import url('https://fonts.googleapis.com/css?family=Fira+Sans');
.reveal a {
@danisla
danisla / README.md
Last active November 7, 2022 13:59
GKE GPU Sharing Daemonset

GPU Sharing on GKE DaemonSet

NOTE: This is not a Google supported product.

Example Usage

  1. Create a GKE cluster with a GPU node pool:
gcloud container clusters create gpu-sharing-demo --zone us-central1-c
@lpraat
lpraat / audio.py
Last active May 10, 2023 17:37
Audio(from mic) signal + spectrum visualizer in python
import pyaudio
import numpy as np
import matplotlib.pyplot as plt
from scipy.fftpack import fft
import matplotlib.animation as animation
CHUNK = 1024 # signal is split into CHUNK number of frames
FORMAT = pyaudio.paInt16
@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active June 18, 2025 19:09
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}