Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View nlarzon's full-sized avatar

Niklas Larsson nlarzon

  • Gothenburg, Sweden
View GitHub Profile
---
version: "3"
services:
sabnzb:
image: linuxserver/sabnzbd
container_name: sabnzb
environment:
- TZ=TZ=Europe/Amsterdam
- PUID=501 # set to UID of your user
- PGID=501 # set to GID of your use
#Normal
abbr -a l "ll"
abbr -a dl "cd ~/Downloads"
#Git abbrevations
abbr -a g "git"
abbr -a gup "git pull --rebase"
abbr -a gd "git diff -M"
abbr -a ga "git add"
abbr -a gaa "git add --all ."
abbr -a gbd "git branch -D"

Keybase proof

I hereby claim:

  • I am nlarzon on github.
  • I am nlarzon (https://keybase.io/nlarzon) on keybase.
  • I have a public key ASAzXp0JvaaVvhiXou9vC3C-9z41uHUqCop8M21m9CxnXAo

To claim this, I am signing this object:

#!/bin/sh
# A UI for detecting and selecting all displays.
# Probes xrandr for connected displays and lets user select one to use.
# User may also select "manual selection" which opens arandr.
# I plan on adding a routine from multi-monitor setups later.
twoscreen() { # If multi-monitor is selected and there are two screens.
mirror=$(printf "no\\nyes" | dmenu -i -p "Mirror displays?")