Skip to content

Instantly share code, notes, and snippets.

@jonarchist
jonarchist / wuerfelware.py
Last active September 5, 2020 17:25
Better diceware lists for German
#!/usr/bin/python3
"""Better diceware lists for German
Diceware (http://world.std.com/~reinhold/diceware.html) is a great way to
generate random, yet memorizable passphrases.
This Python script is designed to read a "Grundformliste" (list of base forms)
of German words in the format published by the Institut für deutsche Sprache
(Institute for German Language). It parses the list, selects the best words, and
outputs a word list compatible with diceware.
@jonarchist
jonarchist / Export Safari passwords.md
Last active April 13, 2023 20:00
Exporting Safari website passwords to a CSV file (1Password-compatible)

I'm a new 1Password user and recently tried to export all my passwords saved in iCloud Keychain to import them in 1Password. Unfortunately, none of the existing recipes worked for me, because moving the saved passwords from iCloud Keychain to a local keychain seems to be broken as of today (28 Aug 2018). So I came up with a different method.

This method works entirely using AppleScript, and only for website passwords (not for other kinds of logins such as file servers, etc.). Basically, the script toggles back and forth between Safari's Preferences window and TextEdit, copying each username and password combination via the clipboard.