Skip to content

Instantly share code, notes, and snippets.

View lynxluna's full-sized avatar
🎯
Focusing

Didiet lynxluna

🎯
Focusing
View GitHub Profile
@lynxluna
lynxluna / device.sh
Created July 6, 2012 00:26
Build Script for ZZiplib
NM=ntoarmv7-nm LD=ntoarmv7-ld STRIP=ntoramv7-strip RANLIB=ntoarm7-ranlib OBJDUMP=ntoarm7-objdump AR=ntoarmv7-ar CC=qcc -Vgcc_ntoarmv7le_gpp CFLAGS=-I${QNX_TARGET}/usr/include -I${QNX_TARGET}/usr/include/cpp/c -I${QNX_TARGET}/usr/include/cpp ./configure --build x86_64 --host arm --target arm --prefix=${HOME}/Projects/qnx-bin/device
(defmacro def-if
"Define a symbol when one condition is met"
([condition sym true-expr]
(if condition `(def sym ~true-expr)))
([condition sym true-expr false-expr]
(if condition `(def sym ~true-expr) `(def sym ~false-expr))))
@andersevenrud
andersevenrud / alacritty-tmux-vim_truecolor.md
Last active July 12, 2024 19:54
True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

True Color (24-bit) and italics with alacritty + tmux + vim (neovim)

This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).

Testing colors

Running this script should look the same in tmux as without.

curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh