Skip to main content

Recently Updated Pages

Migrate Github Repository to Gitea

Linux Git

GITHUB_AUTH_TOKEN=1234 GITEA_AUTH_TOKEN=5678 GITEA_URL=https://git.example.com _payload=$(mktemp...

Updated 1 year ago by Dave Conroy

Rebuild Python Packages

Linux Arch

When new versions of python is released there are packages that are needing to be rebuilt. yay -S...

Updated 1 year ago by Dave Conroy

Web

Bash Snippets

Working with remote APIs Check status of a website that is locked behind an authorization cookie....

Updated 1 year ago by Dave Conroy

Gitlab

Bash Snippets

Working with the API Get CSV of all open issues on instance #!/bin/bash TOKEN=get_your_token URL=...

Updated 1 year ago by Dave Conroy

Import / Export

Matrix Media Repository

Export Data from Synapse Make sure that there is access to the Synapse DB and the Synapse media_s...

Updated 1 year ago by Dave Conroy

YAML

Files

Scratchpad 1 yq -n ' .listeners =[ { "type": "htt...

Updated 1 year ago by Dave Conroy

XML

Files

Updated 1 year ago by Dave Conroy

JSON

Files

Updated 1 year ago by Dave Conroy

Variables

Bash

Uppercase VAR="vaRiAbLe" echo "Uppercase ${VAR^^}" VARIABLE Lowercase echo "Lowercase ${VAR,,}" ...

Updated 1 year ago by Dave Conroy

Delete older than..

Bash File Operations

Find directories and delete recursively find /path/ -mtime +7 -type d -exec rm -rf {} + Find file...

Updated 1 year ago by Dave Conroy

Dates

Bash Date & Time

date +'%Y-%m-%d' 2023-02-28 date --date='2 days ago' +'%Y-%m-%d' 2023-02-26 date +'%s' 1677607151...

Updated 1 year ago by Dave Conroy