Skip to content

Instantly share code, notes, and snippets.

View mecograph's full-sized avatar
🌿
building something...

Tobias Wolfram mecograph

🌿
building something...
View GitHub Profile
@mecograph
mecograph / check-storyblok-components.sh
Last active July 22, 2024 15:37
This script provides a user-friendly interface for interacting with an API, offering options to check for unused elements or search for specific element usage, complete with progress indicators and graceful interruption handling.
#!/bin/bash
# ANSI color codes
green="\033[32m"
bright_black="\033[90m"
red="\033[31m"
blue="\033[34m"
reset="\033[0m"
# Set OAuth token and space ID
@mecograph
mecograph / cleanup-branches.sh
Created January 16, 2024 17:34
A script for conveniently cleaning up both local and remote branches, helping to keep the working directory organized and uncluttered
#!/bin/bash
# Define ANSI color codes
green="\033[32m"
bright_black="\033[90m"
red="\033[31m"
blue="\033[34m"
reset="\033[0m"
# Utility Functions
@mecograph
mecograph / Nextcloud Icon Add.reg
Created February 16, 2020 18:03 — forked from realslacker/Nextcloud Icon Add.reg
Add or remove Nextcloud/OwnCloud icon to Explorer file navigation (like Dropbox/OneDrive/G-Drive) for a shortcut to your Nextcloud folder.
Windows Registry Editor Version 5.00
; NOTE, this file uses a GUID generated here
; https://www.guidgenerator.com/online-guid-generator.aspx
; IF you are going to have multiple Nextcloud folders in your tree you
; will need to make a new GUID for each folder and find/replace the
; value "38d6662b-09f4-4e73-bf61-b0e512ec41e1" with your unique GUID
[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\\{38d6662b-09f4-4e73-bf61-b0e512ec41e1}]
; Name of the folder, also see last line below