Skip to content

Instantly share code, notes, and snippets.

View FestplattenSchnitzel's full-sized avatar

FestplattenSchnitzel

View GitHub Profile
@moreati
moreati / ansible_playbook_keywords_table.rst
Last active September 15, 2024 12:13
Table showing Ansible playbook keywords that can be used at play, role, block, or task level

Generated using development version of Ansible on 15 Sep 2024. Details may differ from released versions.

@n696395
n696395 / sml.md
Last active October 21, 2023 11:57
SECS Message Language (SML) highlight for notepad++

sml

<NotepadPlus>
    <UserLang name="SML" ext="sml" udlVersion="2.1">
        <Settings>
            <Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
            <Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comments">00* 01 02 03 04</Keywords>
" ~/.vim/after/syntax/python.vim or ~/.config/nvim/after/syntax/python.vim
syn match pythonEscape +{{+ contained containedin=pythonfString,pythonfDocstring
syn match pythonEscape +}}+ contained containedin=pythonfString,pythonfDocstring
syn region pythonfString matchgroup=pythonQuotes
\ start=+[fF]\@1<=\z(['"]\)+ end="\z1"
\ contains=@Spell,pythonEscape,pythonInterpolation
syn region pythonfDocstring matchgroup=pythonQuotes
\ start=+[fF]\@1<=\z('''\|"""\)+ end="\z1" keepend
\ contains=@Spell,pythonEscape,pythonSpaceError,pythonInterpolation,pythonDoctest
@kevinoid
kevinoid / .bashrc
Created July 31, 2019 16:31
GnuPG pinentry script for terminal or graphical interface based on $PINENTRY_USER_DATA.
# ~/.bashrc: executed by bash(1) for non-login shells.
# If file exists (likely) copy fragment below into existing script:
# If stdin is a terminal
if [ -t 0 ]; then
# Set GPG_TTY so gpg-agent knows where to prompt. See gpg-agent(1)
export GPG_TTY="$(tty)"
# Set PINENTRY_USER_DATA so pinentry-auto knows to present a text UI.
export PINENTRY_USER_DATA=USE_TTY=1
@ouroborus
ouroborus / draconic-evolution-energy-crystals.md
Last active October 20, 2023 01:52
Draconic Evolution Energy Crystal stats
Capacity (MRF) Range¹ Links²
Basic Energy Relay Crystal 4 32 8
Wyvern Energy Relay Crystal 16 64 16
Draconic Energy Relay Crystal 64 127 32
Basic Energy I/O Crystal 4 32 2
Wyvern Energy I/O Crystal 16 64 3
Draconic Energy I/O Crystal 64 127 4
Basic Wireless Energy Crystal 4 32 4
Wyvern Wireless Energy Crystal 16 64 8
@abritinthebay
abritinthebay / consoleColors.js
Last active August 9, 2025 14:55
The various escape codes you can use to color output to StdOut from Node JS
// Colors reference
// You can use the following as so:
// console.log(colorCode, data);
// console.log(`${colorCode}some colorful text string${resetCode} rest of string in normal color`);
//
// ... and so on.
export const reset = "\x1b[0m"
export const bright = "\x1b[1m"
export const dim = "\x1b[2m"