Skip to content

Instantly share code, notes, and snippets.

@thiago-scherrer
thiago-scherrer / .md
Last active December 22, 2021 14:31
kops cms

Fix Right mouse instantly clicks first option in Firefox with i3

Go to about:config and set true ui.context_menus.after_mouseup

@thiago-scherrer
thiago-scherrer / luks.md
Last active May 26, 2021 12:46
crypto_LUKS unlock and mount

Install udisksctl:

sudo apt install udisks2

Unlock

sudo udisksctl unlock -b /dev/sdX
@thiago-scherrer
thiago-scherrer / unbound.md
Last active May 26, 2021 12:46
Setup unbound on raspberry PI

Install deps

sudo apt update && sudo apt install libssl-dev

Clone

git clone https://github.com/NLnetLabs/unbound.git
@thiago-scherrer
thiago-scherrer / github-app-jwt.sh
Created May 12, 2021 10:53 — forked from carestad/github-app-jwt.sh
Script to generate JWT for use with Github apps
#!/usr/bin/env bash
# Generate JWT for Github App
#
# Inspired by implementation by Will Haley at:
# http://willhaley.com/blog/generate-jwt-with-bash/
# From:
# https://stackoverflow.com/questions/46657001/how-do-you-create-an-rs256-jwt-assertion-with-bash-shell-scripting
thisdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
@thiago-scherrer
thiago-scherrer / timezone-on-ubuntu.md
Last active December 22, 2021 14:48
How to set timezone on Ubuntu

List all time zones

timedatectl list-timezones

Set a timezone

@thiago-scherrer
thiago-scherrer / keybase.md
Last active February 11, 2020 16:23
keybase.md

Keybase proof

I hereby claim:

  • I am thiago-scherrer on github.
  • I am thiagoscherrer (https://keybase.io/thiagoscherrer) on keybase.
  • I have a public key ASAy3rXZ6YNp1pFy-xJuBzruG6K1TXBzdUCtSGh1ajo9Jwo

To claim this, I am signing this object: