Skip to content

Instantly share code, notes, and snippets.

View awmv's full-sized avatar

Robert Richter awmv

  • autoSense AG
View GitHub Profile
@awmv
awmv / README.md
Last active January 20, 2024 18:16
These scripts dynamically adjust the permissions of League of Legends game settings based on whether a game is running. This ensures consistent settings across multiple League of Legends accounts while allowing adjustments during gameplay, without the need for manual permission changes.

League of Legends Global Settings for Mac

These scripts dynamically adjust the permissions of League of Legends game settings based on whether a game is running. This ensures consistent settings across multiple League of Legends accounts while allowing adjustments during gameplay, without the need for manual permission changes. The game state monitoring begins with the starting script and automatically terminates upon closing the Riot client or stopping the script manually.

Usage examples:

chmod +x start_lol.sh
chmod +x monitor_game_state.sh
./start_lol.sh
./start_lol.sh -d
@awmv
awmv / README.md
Last active September 18, 2023 19:32
Git hooks to auto-detect Jira ticket numbers and offer a fuzzy finder or GUI for semantic commit prefixes

WIP

Install

/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/awmv/9c268c224135ed848574d9b8f0cb8a0f/raw/90368c8a5e7d6a65c413f165beaaf41b7e1848f6/install.sh)"

Uninstall

/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/awmv/9c268c224135ed848574d9b8f0cb8a0f/raw/10339b25330d83e5cc9402fdfc6ca8ef60a5d6db/uninstall.sh)"
@awmv
awmv / README.md
Last active September 13, 2023 21:48
Semantic commit fuzzy finder with Jira support

The script will automatically extract the Jira ticket number from the branch name and incorporate it into the commit message in this format:

prefix: [JIRA-1337] I use arch btw

Installation on Mac OS

  1. Run brew install fzf
  2. Save ci.sh somewhere
  3. Add git alias e.g. ci = "!~/ci.sh"
@awmv
awmv / main.go
Created April 21, 2021 08:34
Convert CSV to XLSX
package main
import (
"bufio"
"encoding/csv"
"errors"
"flag"
"fmt"
"io"
"math"