Skip to content

Instantly share code, notes, and snippets.

View proh14's full-sized avatar
💭
I may be slow to respond.

Hoorad Farrokh proh14

💭
I may be slow to respond.
View GitHub Profile

Start by getting the correct theme name to use in the next steps:

cat .icons/Breeze-Hacked/index.theme
[Icon Theme]
Name=Breeze-Hacked

So you need

@fnky
fnky / ANSI.md
Last active May 9, 2026 00:12
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@attractivechaos
attractivechaos / getopt.c
Created February 18, 2018 13:28
Implementation of getopt() and getopt_long() from musl
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include "getopt.h"
char *optarg;
int optind=1, opterr=1, optopt, __optpos, optreset=0;
#define optpos __optpos