$ mkdir /media/spotdlsync
$ cd /media/spotdlsync
$ mkdir "Life is Strange"
$ cd "Life is Strange"| #!/bin/sh | |
| rg '"totp": "' ~/Downloads/bitwarden_export_20250920162136.json | \ | |
| sed -E 's/.*"totp": "(.*)".*/\1/' | \ | |
| while IFS= read -r x; do | |
| echo "$x" | |
| echo -ne "$x" | qrencode -t UTF8 -o - | |
| echo | |
| done |
| echo hello who is there | rage -R <(age-plugin-yubikey -l --slot 1) -o - | rage -d -i <(age-plugin-yubikey -i --slot 1) |
| # Start server with | |
| sudo docker run -it --rm -e POSTGRES_PASSWORD=mysecretpassword postgres | |
| # Connect to server either with | |
| sudo docker exec -it 938645c5a5d9 psql -U postgres | |
| # or with | |
| sudo docker exec -u postgres -it 938645c5a5d9 psql |
| # Referred from: | |
| # https://element-hq.github.io/synapse/latest/admin_api/register_api.html | |
| import requests | |
| import hmac | |
| import hashlib | |
| import json | |
| # Fill these variables in. | |
| DOMAIN = "example.com" |
| # Replace "192.168.2.{}" as per your gateway address. | |
| seq 1 254 | xargs -I {} "echo" "192.168.2.{}" | parallel -j 254 "ping -t 1 -c 1 {} > /dev/null && (timeout 1 avahi-resolve -a {} || echo {})" 2> /dev/null | sort -V |
| import network | |
| sta_if = network.WLAN(network.STA_IF) | |
| sta_if.active(True) | |
| sta_if.connect("ssid", "pass") | |
| sta_if.isconnected() | |
| sta_if.ifconfig() | |
| import urequests | |
| response = urequests.get("http://ipinfo.io") | |
| ip_info = response.json() |
| # Generate SSH keys for Bob and add them to ssh-agent | |
| # Write it to `~/.ssh/bob.id_rsa`. | |
| ssh-keygen -t ed25519 | |
| ssh-add ~/.ssh/bob.id_rsa | |
| git config --local user.name Bob | |
| git config --local user.email "[email protected]" | |
| git config --local credential.username bobxyz | |
| git config --replace-all --local core.sshCommand "ssh -i ~/.ssh/bob.id_rsa" |
Hi Everyone! I am Ritiek Malhotra (ritiek on IRC) and recently completed my undergraduate degree in Computer Science and Engineering. I participated in Google Summer of Code '21 and worked on musicbrainz_rs, a library wrapper on the MusicBrainz Web-API written for the Rust programming language.
When the program was announced, I was not familiar with MetaBrainz. I've heard about MetaBrainz quite a few times before this but hadn't used any of their products. I'd been looking for Rust projects through the GSoC organizations page, and that's how I stumbled on MetaBrainz. I learnt about the MusicBrainz project and the entire concept seemed very interesting to me (and it still does!). Initially, I was a little intimidated by all the Rust concepts that musicbrainz_rs made use of - macros, traits, generics and lifetimes. I knew how to write basic Rust but not so much about these intermediate concepts. Nonetheless, I tried to learn more about the librar