Skip to content

Instantly share code, notes, and snippets.

View ernierasta's full-sized avatar

Leszek Cimała ernierasta

  • zori.[cz|pl|sk]
  • Czech Republic
View GitHub Profile
@ernierasta
ernierasta / gencsv-from-items.sh
Created March 17, 2021 06:47
Generata csv file for countersheet Inkscape extension based on image files in specified directory.
#!/bin/bash
# generates csv for all given asset files
ipath="$1"
back="$2"
file="out"
out=""
@ernierasta
ernierasta / sway-record
Last active August 18, 2022 19:36
Swaywm screen and audio recording
#!/bin/bash
# Sway WM screen + audio recorder
# original author: Aaron D. Fields
# blog post: https://blog.spirotot.com/2017/08/21/a-dirty-hack-to-enable-acceptable-sway-wm-screen-recording/
# currently error 503 :-(
#
# Updated version: ernierasta
# Repo: https://gist.github.com/ernierasta
#
# Changelog:
@ernierasta
ernierasta / main.go
Last active April 25, 2023 09:21
golang github.com/tdewolff/canvas example of text overflowing TextBox
package main
import (
"log"
"github.com/tdewolff/canvas"
"github.com/tdewolff/canvas/renderers"
)
func main() {