Skip to content

Instantly share code, notes, and snippets.

View stephanfuchs's full-sized avatar

Stephan Fuchs stephanfuchs

View GitHub Profile
@stephanfuchs
stephanfuchs / mouse-keyboard-tweaks.sh
Last active November 3, 2025 04:39
Ubuntu mouse tweaks
#!/usr/bin/env bash
# Tweak trackpad & keyboard behaviour to more “macOS-like” on Ubuntu
# Usage: run as the regular user (for gsettings) and with sudo where prompted
# Make sure you back up any existing config files before applying.
# 1) Enable tap-to-click and natural scroll via GNOME settings
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true
gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll true
# Fine-tune pointer speed (range approx −1.0 … +1.0)
gsettings set org.gnome.desktop.peripherals.touchpad speed 0.3
@stephanfuchs
stephanfuchs / awscli_jq_tricks.sh
Created June 10, 2024 07:06 — forked from weyderfs/awscli_jq_tricks.sh
AWS CLI JQ Tricks - Outputs likes to export for CSV file
#List EC2 AMI's group by ID and TagName handling with null values
aws ec2 describe-images --owners <owner-id> --region sa-east-1 | jq '.Images[] | [.ImageId,.Tags[]?.Value] | join(";")'
#List EC2 Instances group by Tag Name and InstanceType
aws ec2 describe-instances --region sa-east-1 | jq '.Reservations[].Instances[] | [.InstanceType,.Tags[].Value] | join(";")'
#List EC2 Snapshots
aws ec2 describe-snapshots --region <the-region> --owner-id <123456789> | jq -r '.Snapshots[] | [.SnapshotId,.Description] | join(" ")' | sort
#List ECS Clusters by Name

Keybase proof

I hereby claim:

  • I am stephanfuchs on github.
  • I am stephanfuchs (https://keybase.io/stephanfuchs) on keybase.
  • I have a public key ASDqgTAjry3COCxEDaZ6Iy0GzP55zMjFv7P_HWVYiXR1LQo

To claim this, I am signing this object: