Skip to content

Instantly share code, notes, and snippets.

View anakojm's full-sized avatar
🎲
something

Anako Jeannin-Mallet anakojm

🎲
something
View GitHub Profile
@anakojm
anakojm / dircord.user.css
Last active February 3, 2024 12:12 — forked from ivan/discord.fix_styles.js
Fix Discord / discord.com to use an aligned xchat/hexchat-like nick gutter. Gives an irc like feeling to compact mode
/* ==UserStyle==
@name ircord
@description Discord: use xchat-like aligned nick gutter. Gives an irc like feeling to compact & cozy mode
@namespace discord.com
@version 4.1.1
@author anakojm
@license CC0
==/UserStyle== */
[class*="messageListItem"] > [class*="message"] > [class*="contents"] > [class*="header"],
/* First message of a thread */
@anakojm
anakojm / anakojm.c
Last active January 24, 2024 13:58 — forked from mmalex/pngencode.cpp
anakojm
/* gcc -lz anakojm.c && ./a.out 1 1 */
#include <zlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <arpa/inet.h>
uint8_t* CompressPNG(void *img, int w, int h, int numchans, unsigned int* len_out) {
int p = w * numchans;
z_stream z = {0};
@anakojm
anakojm / leftist-quote.png
Last active January 29, 2024 00:14
showcase
leftist-quote.png