This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Linux-style keybindings (Ctrl<->Cmd swap, preserve Cmd+Tab)", | |
"rules": [ | |
{ | |
"description": "Alt+Space for Spotlight", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "spacebar", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"reload_style_on_change": true, | |
"layer": "top", | |
"position": "top", | |
"spacing": 0, | |
"height": 26, | |
"modules-left": [ | |
"hyprland/workspaces" | |
], | |
"modules-right": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Minecraft Server Docker Compose Template | |
# This compose file sets up a vanilla Minecraft server environment using Docker | |
# | |
# Usage: | |
# 1. Create a .env file with required variables (see below) | |
# 2. Run with: docker-compose -f docker-compose.yaml up -d | |
# 3. Server will be available on port 25565 by default | |
# | |
# Integration with PlayIt.GG: | |
# - Can be used with PlayIt.GG for port forwarding |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This gist provides a terminal function for dynamically resetting the current Git branch to the merge base with another branch | |
function grb() { | |
if [[ -z "$1" ]]; then | |
echo "Error: Please provide a branch name as an argument." | |
return 1 | |
fi | |
current_branch=$(git rev-parse --abbrev-ref HEAD) | |
merge_base=$(git merge-base "$1" "$current_branch") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run this script to delete all local branches except your main development branch (main or master) | |
git branch | grep -v "master" | grep -v "main" | xargs git branch -D |