Skip to content

Instantly share code, notes, and snippets.

View nshki's full-sized avatar

Nishiki nshki

View GitHub Profile
@izzqz
izzqz / nerd-font-in-chromeos-terminal.md
Last active May 21, 2025 18:01
How to setup JetBrains Mono Nerd Font with ligatures to use is inside crostini terminal

Setup Nerd Fonts in Chrome OS terminal

Press Ctr + Shift + j to open devtools console in crostini terminal.

Paste this to use Jetbrais Mono with ligatures:

term_.prefs_.set('font-family', 'JetBrains Mono Nerd Font, monospace');
term_.prefs_.set('user-css-text', '@font-face {font-family: "JetBrains Mono Nerd Font"; src: url("https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/JetBrainsMono/Ligatures/Regular/JetBrainsMonoNerdFont-Regular.ttf"); font-weight: normal; font-style: normal;} x-row {text-rendering: optimizeLegibility;font-variant-ligatures: normal;}')
@mlanett
mlanett / rails http status codes
Last active May 20, 2025 19:08
HTTP status code symbols for Rails
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing