Skip to content

Instantly share code, notes, and snippets.

@nfekete
nfekete / add shairplay user
Last active January 29, 2022 19:35
Shairplay init script and default config
#which nologin >> /etc/shells
useradd -s /usr/sbin/nologin -r -M -d /etc/shairplay --groups audio,pulse,pulse-access shairplay
@nfekete
nfekete / git-rename-branch.sh
Last active December 14, 2016 01:09 — forked from lttlrck/gist:9628955
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
### Keybase proof
I hereby claim:
* I am nfekete on github.
* I am nandor_fekete (https://keybase.io/nandor_fekete) on keybase.
* I have a public key whose fingerprint is CC37 302F 48E0 D0F6 CE60 BCD6 6672 72DB D5E3 1C89
To claim this, I am signing this object: