Skip to content

Instantly share code, notes, and snippets.

@athalhammer
athalhammer / qrank_danker.sh
Last active November 10, 2022 22:07
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
@athalhammer
athalhammer / ubuntu-dell-xps-9520.md
Last active January 3, 2023 16:05
Ubuntu on Dell XPS 9520
View ubuntu-dell-xps-9520.md

Ubuntu on Dell XPS 9520

Before installing Ubuntu:

  1. For dual boot, disable Bitlocker in Windows
  2. Update BIOS (and everything else that Dell recommends) via Windows
  3. Switch from RAID to AHCI in Bios
  4. Use Windows recovery to fix new disk setup
  5. Disable Fast Startup in Windows
  6. Disable secure boot in BIOS (or make sure it's disabled)
  7. Shrink main partition in Windows
@athalhammer
athalhammer / .config#terminator#config
Last active January 3, 2023 16:05
"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:#3584e4:#a347ba:#2aa1b3:#d0cfcc:#5e5c64:#f66151:#33d17a:#e9ad0c:#99c1f1:#c061cb:#33c7de:#ffffff"
[layouts]