Skip to content

Instantly share code, notes, and snippets.

@athalhammer
athalhammer / .config#terminator#config
Last active Dec 1, 2022
"Ubuntu Yaru" or "Gnome Adwaita" Terminator theme
View .config#terminator#config
[global_config]
[keybindings]
[profiles]
[[default]]
background_color = "#2c001e"
cursor_color = "#aaaaaa"
foreground_color = "#f3f3f3"
scrollback_infinite = True
palette = "#171421:#c01c28:#26a269:#a2734c:#12488b:#a347ba:#2aa1b3:#d0cfcc:#5e5c64:#f66151:#33d17a:#e9ad0c:#2a7bde:#c061cb:#33c7de:#ffffff"
[layouts]
@athalhammer
athalhammer / qrank_danker.sh
Last active Nov 10, 2022
Spearman correlation: Wikidata QRank and Wikidata PageRank (danker)
View qrank_danker.sh
#!/usr/bin/env bash
export LC_ALL=C
if [ ! -f "qrank_sorted.tsv" ]; then
wget -O - https://qrank.toolforge.org/download/qrank.csv.gz | \
gunzip -c | \
tail -n+2 | \
sed "s/,/\t/" | \
sort -k1,1 \
> qrank_sorted.tsv