Skip to content

Instantly share code, notes, and snippets.

View egrath's full-sized avatar
😁
I may be slow to respond.

Egon A. Rath egrath

😁
I may be slow to respond.
View GitHub Profile
@egrath
egrath / lbForth.c
Created October 10, 2023 18:12 — forked from lbruder/lbForth.c
A minimal Forth compiler in ANSI C
/*******************************************************************************
*
* A minimal Forth compiler in C
* By Leif Bruder <leifbruder@gmail.com> http://defineanswer42.wordpress.com
* Release 2014-04-04
*
* Based on Richard W.M. Jones' excellent Jonesforth sources/tutorial
*
* PUBLIC DOMAIN
*
@egrath
egrath / scale-gnome
Created December 28, 2020 17:54 — forked from maxmil/scale-gnome
#!/bin/bash
#
# scale-gnome: Utiltity for HDPI screens. Gnome settings only support integer scale values. This uses xrandr to scale to fractional values.
#
usage() {
cat << EOF
Usage: scale-gnome [-o|--output <output>] [-d|--dry-run] <scale>
-o, --output: The xrandr output of the display to update. If not provided the output for the first connected screen found is used.