Skip to content

Instantly share code, notes, and snippets.

View xplshn's full-sized avatar
🇦🇷
Otra coronacion de la gloria

xplshn

🇦🇷
Otra coronacion de la gloria
View GitHub Profile
@eznix86
eznix86 / alpine-remove-desktop.sh
Last active August 5, 2024 18:21
This is the inverse of setup-desktop in Alpine Linux
# copy and paste to /sbin/remove-desktop
#!/bin/sh
PREFIX=
: ${LIBDIR=$PREFIX/lib}
. "$LIBDIR/libalpine.sh"
usage() {
cat <<-__EOF__
@x0nu11byt3
x0nu11byt3 / elf_format_cheatsheet.md
Created February 27, 2021 05:26
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@CMCDragonkai
CMCDragonkai / TrueColour.md
Created August 30, 2018 14:05 — forked from XVilka/TrueColour.md
True Colour (16 million colours) support in various terminal applications and terminals

Colours in terminal

It's a common confusion about terminal colours... Actually we have this:

  • plain ascii
  • ansi escape codes (16 colour codes with bold/italic and background)
  • 256 colour palette (216 colours + 16 ansi + 24 gray) (colors are 24bit)
  • 24bit true colour ("888" colours (aka 16 milion))
printf "\x1b[${bg};2;${red};${green};${blue}m\n"
@jonschlinkert
jonschlinkert / markdown-cheatsheet.md
Last active September 3, 2024 08:34
A better markdown cheatsheet.