Skip to content

Instantly share code, notes, and snippets.

View JJL772's full-sized avatar
:shipit:

Jeremy L. JJL772

:shipit:
View GitHub Profile
//ValveGames/rel/swarm/game/bin/AdminServer.dll#8 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/Dist2alpha.exe#9 - edit change 6019183 (binary+x)
//ValveGames/rel/swarm/game/bin/Dist2alpha.pdb#9 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/FileSystemOpenDialog.dll#7 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/FileSystemOpenDialog.pdb#7 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/FileSystem_Stdio.dll#12 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/MaterialSystem.dll#10 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/QC_Eyes.exe#7 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/QC_Eyes.pdb#7 - edit change 6019183 (binary)
//ValveGames/rel/swarm/game/bin/SDKLauncher.exe#15 - edit change 6019183 (binary)
@Albert221
Albert221 / JetBrains-Mono.css
Last active November 8, 2024 18:58
CSS for using JetBrains Mono on the Web. Simply copy&paste it to your stylesheet.
@font-face {
font-family: 'JetBrains Mono';
src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Bold-Italic.woff2') format('woff2'),
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Bold-Italic.woff') format('woff');
font-weight: 700;
font-style: italic;
font-display: swap;
}
@font-face {
@baines
baines / freetype-atlas.c
Created July 15, 2016 13:32
minimal freetype texture atlas example
#include <stdio.h>
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#include <ft2build.h>
#include FT_FREETYPE_H
#define NUM_GLYPHS 128
struct glyph_info {
int x0, y0, x1, y1; // coords of glyph in the texture atlas