Skip to content

Instantly share code, notes, and snippets.

@loeschzwerg
loeschzwerg / fuzzy-bitwarden-clipboard.md
Created April 8, 2023 14:46
Bitwarden CLI: Interactive Clipboard Selection with fzf

Interactive Bitwarden CLI Clipboard Selection

The Bitwarden CLI bw provides JSON Output. Because I don't like to select Strings from the stdout JSON output:

  • jq redirects the output into selectable snippets
  • fzf selects the entry I need
  • xclip copies the selected entry into your clipboard (e.g. password)

I adjusted the Bash script by Christian Drumm:

  • pbcopy -> xclip, because xclip is more common
@loeschzwerg
loeschzwerg / sonarqube_gist.md
Last active August 20, 2020 13:40
Setting up SonarQube for Clojure

Sonarqube for Clojure

Setup

Pull a sonarqube docker image from DockerHub and run it.

docker pull sonarqube
docker run -d --name sonarqube -p 9000:9000 sonarqube
@loeschzwerg
loeschzwerg / ergodox_config.md
Last active May 16, 2020 14:44
How I configured my Ergodox EZ

Ergodox EZ

This is nothing but a keyboard without compromises in terms of ergonomics. However it is not perfect, yet...

Ergodox EZ

I am a small handed developer, so the keyboard in its delivered state is quite large. However you can easily modify the keyboard to match your needs, head over to and try it yourself. Therefore I will create some hot zone movements on the keyboard and added the restrictions in a visual manner.

@loeschzwerg
loeschzwerg / docker_on_alpine.md
Last active April 15, 2020 15:05
Install docker on Alpine Linux

Install Docker on Alpine Linux

Preliminaries

Open /etc/apk/repositories and uncomment (delete #) the second line, which should then look somehow like

/media/mmcblk0p1/apks
http://.../alpine/v3.11/main
http://.../alpine/v3.11/community
#http://.../alpine/edge/main
...
@loeschzwerg
loeschzwerg / install_windows.md
Last active March 16, 2020 14:40
Setup Raspberry Pi with Alpine Linux [Windows]

Install Alpine Linux

Download

Go to Alpine Linux Downloads and download your desired distro. I'll go with aarch64 for my Raspberry Pi 3B

Extract

Use 7Zip to extract this 'weird' *.tar.gz tarball (looking at you Win 10!). You can do it in Downloads.

Rename usercgf.txt to usercfg.txt and make it look like this