This file contains 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
# | |
# Proportional | |
# | |
[buildPlans.iosevka-custom-proportional] | |
family = "Iosevka Custom Proportional" | |
slopes = { upright = "normal", italic = "italic" } | |
widths = { normal = { css = "normal", menu = 5, shape = 500 } } | |
ligations = { inherits = "jspt" } | |
quasiProportionalDiversity = 1 |
-
Remove waypoints and imprecise points with [GPSBabel]:
gpsbabel \ -i 'gpx' -f 'original/2021-08-23T21-35-41Z Mary Avenue Trail.gpx' \ -x 'nuketypes,waypoints' \ -x 'discard,hdop=2' \ -o 'gpx' -F '/tmp/2021-08-23T21-35-41Z Mary Avenue Trail.gpx'
This file contains 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/env bash | |
set -Eeuo pipefail | |
sudo --validate | |
concurrently \ | |
--names 'apt,docker,node,ruby,rust' \ | |
--prefix-colors 'yellow,blue,green,red,cyan' \ | |
'sudo apt-get update && sudo apt-get upgrade --yes' \ | |
'docker system prune --force --volumes' \ |
To use the JOSM Scripting Plugin on NixOS, replace OpenJDK with GraalVM:
josm.override { jre = graalvm17-ce; }
This file contains 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/env bash | |
set -Eeuo pipefail | |
if [[ ! ( "${1-}" =~ ^([-_[:alnum:]]+)/([-_.[:alnum:]]+)$ ) ]]; then | |
echo "Usage: ${0##*/} <owner>/<repo>" >&2 | |
exit 1 | |
fi | |
owner="${BASH_REMATCH[1]}" | |
repo="${BASH_REMATCH[2]}" |
This file contains 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
_: pkgs: | |
let | |
unstable = import <unstable> { overlays = [ ]; }; | |
overrideUntilVersion = p: v: (if pkgs ? ${p} && pkgs.lib.versionAtLeast pkgs.${p}.version v then pkgs else unstable).${p}; | |
in | |
builtins.mapAttrs overrideUntilVersion { | |
aws-sam-cli = "1.52.0"; | |
darktable = "4.0.0"; | |
efficient-compression-tool = "0.9.1"; | |
kitty = "0.25.2"; |
This file contains 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
;;; Non-interactively save all selected regions as separate files | |
(define (script-fu-export-selected-regions image drawable) | |
;; Start | |
(gimp-image-undo-group-start image) | |
;; If there are selections | |
(when (= 0 (car (gimp-selection-is-empty image))) | |
(let ((number 1) (prefix "") (suffix "")) | |
;; Construct filename components | |
(let* ((parts (strbreakup (car (gimp-image-get-filename image)) ".")) |
GNU C Library locale definition derived from en_US
with aspirational changes:
- SI units
- 24-hour time
- IETF RFC 3339 dates
- ITU-T E.164 international phone numbers
- ten-digit dialing domestic phone numbers
- weekbeginnings instead of weekends