How it should be:
line1 line2
How it renders nested into a list item (notice the extra tailing blank line):
- list item
# -*- mode: sh; sh-shell: bash; -*- | |
# shellcheck shell=bash | |
# MIT license (c) 2021 https://github.com/slowpeek | |
# Homepage: https://gist.github.com/slowpeek/3e592af3395cfb0e2d20a57c50a87a4b | |
# bye.sh https://gist.github.com/slowpeek/6127166369d8abd230c30c20cc6a9152 | |
# stack.sh https://gist.github.com/slowpeek/3310c2f09b80d0b2e175122e8c8cae64 | |
# This is a wrapper around bash builtin shopt. It can be used to save |
# -*- mode: sh; sh-shell: bash; -*- | |
# shellcheck shell=bash | |
# MIT license (c) 2021 https://github.com/slowpeek | |
# Homepage: https://gist.github.com/slowpeek/3310c2f09b80d0b2e175122e8c8cae64 | |
# bye.sh https://gist.github.com/slowpeek/6127166369d8abd230c30c20cc6a9152 | |
# Simple stack for strings. It operates on var names: | |
# |
# -*- mode: sh; sh-shell: bash; -*- | |
# shellcheck shell=bash | |
# MIT license (c) 2021 https://github.com/slowpeek | |
# Homepage: https://gist.github.com/slowpeek/6127166369d8abd230c30c20cc6a9152 | |
############################################################## | |
############################################################## | |
## THIS GIST IS OBSOLETE AND IS NO LONGER UPDATED. | |
## Use here-bye instead: https://github.com/slowpeek/here-bye |
# -*- mode: sh; sh-shell: bash; -*- | |
# shellcheck shell=bash | |
# MIT license (c) 2021 https://github.com/slowpeek | |
# Homepage: https://gist.github.com/slowpeek/7e2731b620d558f44841da6772743d38 | |
# This script can help you find out which line and why (end of code, | |
# literal exit, 'set -e' violation, bash error) your bash script | |
# finished execution. | |
# |
How it should be:
line1 line2
How it renders nested into a list item (notice the extra tailing blank line):
before some code
after
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
MIT license (c) 2024 https://github.com/slowpeek | |
Homepage: https://gist.github.com/slowpeek/50b5123d23b038d5b06b1452057be0c2 | |
-- | |
Kodi remote control mod for Nokia 8000 |
#!/usr/bin/env bash | |
set -eu | |
bye () { | |
printf '%s\n' "$1" | |
exit 1 | |
} | |
blkid_type= |
#!/bin/sh | |
: <<'README' | |
Make dropbear not start with 'nodropbear' or 'dropbear=no' kernel arg. | |
Put this script under /etc/initramfs-tools/scripts/init-top/ and update | |
initramfs. | |
README |
#!/bin/sh | |
: <<'README' | |
This is a fix for a well-known problem [1] with dropbear-initramfs+netplan | |
combo. | |
When dropbear starts, it enables networking [2]. This results in netplan configs | |
for available ifaces created under /run/netplan. After unlocking, the configs | |
are still there preventing networkmanager from picking ifaces up: by default, |