Skip to content

Instantly share code, notes, and snippets.

View sa-tasche's full-sized avatar

Sara Tasche sa-tasche

  • mitgedanken
  • Germany
View GitHub Profile
// Source - https://stackoverflow.com/a/46471739
// Posted by Bimo, modified by community. See post 'Timeline' for change history
// Retrieved 2025-11-25, License - CC BY-SA 3.0
public struct IoCmd_t {
public Key key;
public bool printable;
public char character;
public bool shift;
public bool ctrl;
@sa-tasche
sa-tasche / ANSI-escape-sequences.md
Created September 20, 2025 15:18 — forked from ConnerWill/ANSI-escape-sequences.md
ANSI Escape Sequences cheatsheet

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@sa-tasche
sa-tasche / README
Last active November 12, 2024 13:55
cpercep.c: The CPercep Functions v0.9: 2002-02-10
Adam D. Moss: adam@gimp.org <http://www.foxbox.org/adam/code/cpercep/>
This code module concerns itself with conversion from a hard-coded
RGB colour space (sRGB by default) to CIE L*a*b* and back again with
(primarily) precision and (secondarily) speed, oriented largely
towards the purposes of quantifying the PERCEPTUAL difference between
two arbitrary RGB colours with a minimum of fuss.
Motivation One: The author is disheartened at the amount of graphics
@sa-tasche
sa-tasche / regex-pcre.txt
Created March 25, 2023 17:15
Rewrite - for Apache
^(\w+)([+#~])([0-9]{8,64})$
^(\w+)\.(\w+)$

Keybase proof

I hereby claim:

  • I am sa-tasche on github.
  • I am sara_d (https://keybase.io/sara_d) on keybase.
  • I have a public key ASCAYh9I6-A_DJcfYXRJdWEHKwhlkzDjfvXqR-C6MG_SJAo

To claim this, I am signing this object:

@sa-tasche
sa-tasche / keycode.linux
Created May 20, 2021 09:06 — forked from rickyzhang82/keycode.linux
Key code for Linux
# /usr/share/BasiliskII/keycodes
#
# Basilisk II (C) 1997-2005 Christian Bauer
#
# This file is used to translate the (server-specific) scancodes to
# Mac keycodes depending on the window server being used.
#
# The format of this file is as follows:
#
# sdl <driver string>
@sa-tasche
sa-tasche / hiawatha.sh
Created August 20, 2020 12:38 — forked from ZEROF/hiawatha.sh
Hiawatha web server install script (Hiawatha,PHP-FPM,MariaDB)
#!/bin/bash
# This script will help you to set Hiawatha Server.
# Tested on Devuan 8 32/64bit. Debian Jessie supported as well.
# Script author ZEROF <zerof at backbox dot org>
# If you like Linux and security join http://backbox.org
# Script version 0.6c
# This script is distributed under a DO WHAT THE F*** YOU WANT TO PUBLIC LICENSE.
# http://www.wtfpl.net/txt/copying/
clear
function banner ()
@sa-tasche
sa-tasche / game.txt
Created July 26, 2020 20:01
flickgame
["my game by increpare"]
@sa-tasche
sa-tasche / game.txt
Created July 26, 2020 20:00
flickgame
{"canvasses":[[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"],[7168,"0"]],"texts":["","","","","","","","","","","","","","","","","","","","","","","","",""],"verbs":[[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["",0],["",0],["",0]],[["",0],["",0],["",0],["