PS: probonopd is a crybaby who won't maintain x11.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/nu | |
def MENU [ | |
-p: string | |
] { | |
if $env.XDG_SESSION_TYPE == 'wayland' { fuzzel -d -p $p} else { bemenu -p $p} | |
} | |
let subbed_channels = [ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/nu | |
alias MENU = fuzzel -d | |
let subbed_channels = [ | |
chrisbiscardi | |
dreamsofcode | |
fasterthanlime | |
fireship | |
fknight |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<description>Enable select opentype features for JuliaMono.</description> | |
<!-- | |
Typographic features are provided on a per-typeface basis. | |
Tables with all available features are available here: | |
https://en.wikipedia.org/wiki/OpenType_feature_tag_list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- should be in templates/ --> | |
<html> | |
<head> | |
<style> | |
div.mermaid { | |
width:25%; | |
} | |
</style> | |
</head> | |
<body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[email protected] | |
----------------------------- | |
OS: openSUSE Tumbleweed 20230627 x86_64 | |
Host: Nitro AN515-55 (V2.06) | |
Kernel: 6.3.9-1-default | |
Uptime: 1 hour, 12 mins | |
Packages: 3730 (rpm), 84 (flatpak-user) | |
Shell: zsh 5.9 | |
Display: 1920x1080 @ 144Hz | |
WM: river (Wayland) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#compdef mpv | |
# ZSH completion for mpv | |
# | |
# For customization, see: | |
# https://github.com/mpv-player/mpv/wiki/Zsh-completion-customization | |
# | |
# This file is part of mpv. | |
# |
NOTE: The Tree-sitter API and documentation has changed and improved since this guide was created. I can't guarantee this is up to date.
Tree-sitter is the new way Atom is providing language recognition features, such as syntax highlighting, code folding, autocomplete, and more. In contrast to TextMate grammars, which work by regex matching, Tree-sitter will generate an entire syntax tree. But more on that can be found in it's own docs.
Here, we look at making one from scratch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# zypper se --installed-only | grep -E '^i\+' | awk '{print $3}' | |
adwaita-qt5 | |
adwaita-qt6 | |
alacritty | |
alsa-utils | |
apparmor | |
appmenu-gtk3-module | |
atuin | |
bandwhich | |
bat |
NewerOlder