Skip to content

Instantly share code, notes, and snippets.

Avatar

Wolfgang Werner wwerner

View GitHub Profile
View bashplate-1651585983829.sh
#!/usr/bin/env bash
# Like this script?
# Generate boilerplate for similar ones at https://bashplate.wolfgang-werner.net.
set -o errexit # exit on error
set -o nounset # don't allow unset variables
# set -o xtrace # enable for debugging
usage() {
printf "Script Description\n"
View bashplate-1649342941039.sh
#!/usr/bin/env bash
# Like this script?
# Generate boilerplate for similar ones at https://bashplate.wolfgang-werner.net.
set -o errexit # exit on error
set -o nounset # don't allow unset variables
# set -o xtrace # enable for debugging
usage() {
printf "Script Description\n"
View bashplate-1649342223133.sh
#!/usr/bin/env bash
# Like this script?
# Generate boilerplate for similar ones at https://bashplate.wolfgang-werner.net.
set -o errexit # exit on error
set -o nounset # don't allow unset variables
# set -o xtrace # enable for debugging
usage() {
printf "Script Description\n"
View bashplate-1649342079373.sh
#!/usr/bin/env bash
# Like this script?
# Generate boilerplate for similar ones at https://bashplate.wolfgang-werner.net.
set -o errexit # exit on error
set -o nounset # don't allow unset variables
# set -o xtrace # enable for debugging
usage() {
printf "Script Description\n"
View mermaid.md
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
View slack-monokai-pro
Monokai Pro Slack Theme
#2D2A2E,#121016,#FFD866,#2D2A2E,#272822,#D1D2D3,#A9DC76,#FF6188,#2D2A2E,#78DCE8
View bashplate-1638524282446.sh
#!/usr/bin/env bash
# Like this script?
# Generate boilerplate for similar ones at https://bashplate.wolfgang-werner.net.
set -o errexit # exit on error
set -o nounset # don't allow unset variables
# set -o xtrace # enable for debugging
usage() {
printf "Script Description\n"
View bashplate-1638523674289.sh
#!/usr/bin/env bash
# Like this script?
# Generate boilerplate for similar ones at https://bashplate.wolfgang-werner.net.
set -o errexit # exit on error
set -o nounset # don't allow unset variables
# set -o xtrace # enable for debugging
usage() {
printf "Script Description\n"
@wwerner
wwerner / embed gist.md
Created Apr 14, 2021 — forked from Albert-W/embed gist.md
embed gist in iframe
View embed gist.md

Embed gist in iframe

it is used to embed gist to an asynchronously-loaded web pages.

<iframe 
    width="100%"
    height="350"    
    src="data:text/html;charset=utf-8,
 
@wwerner
wwerner / grafana-postgres-datasource.yml
Created Apr 1, 2021
Example grafana datasource provisioning for postgreSQL
View grafana-postgres-datasource.yml
apiVersion: 1
datasources:
- name: Postgres
type: postgres
url: localhost:5432
database: grafana
user: grafana
secureJsonData:
password: "Password!"