Skip to content

Instantly share code, notes, and snippets.

View sbakker's full-sized avatar

Steven Bakker sbakker

View GitHub Profile
@sbakker
sbakker / gfontscale
Created March 1, 2022 14:54
gfontscale - control GNOME font scaling from the command line
#!/usr/bin/perl
# ============================================================================
#
# File: gfontscale
#
# Usage: See POD at end.
#
# Description: Get/set X/Wayland font scaling factor.
#
# Notes: ---
@sbakker
sbakker / pod-metacpan.css
Last active September 30, 2020 17:30
pod-metacpan.css
/*
* ========================================================================= *
* pod-metacpan.css
* ========================================================================= *
*
* CSS styles for pod2html output.
*
* Closely mimics the setup of METACPAN.
*
* ========================================================================= *
@sbakker
sbakker / git_tricks.md
Last active July 14, 2020 14:38
Some git stuff to remember.
@sbakker
sbakker / system-sleep-pci-scan.sh
Last active February 26, 2018 18:54
Hook for systemd's system-sleep to rescan PCI bus on wake-up.
#!/bin/sh
#
# 27.feb.2018 - sb -
#
# Some PCI devices are "gone" after a waking up from
# suspend/hibernate. Forcing a PCI bus scan seems to
# help...
#
# Noticed this on a Dell XPS 13 9360 with a Qualcomm
# Atheros QCA6174 adapter.
@sbakker
sbakker / keybase.md
Created April 27, 2017 16:09
Keybase.IO Validation

Keybase proof

I hereby claim:

  • I am sbakker on github.
  • I am sbakker (https://keybase.io/sbakker) on keybase.
  • I have a public key whose fingerprint is 462A 5DD8 CA0B 24E8 2C91 0F61 29D7 400B 3996 0BB9

To claim this, I am signing this object: