Skip to content

Instantly share code, notes, and snippets.

@sutnistj
sutnistj / ua
Last active January 11, 2023 08:09
ua keyboard
default partial alphanumeric_keys modifier_keys
xkb_symbols "l_jurid" {
name[Group1]= "Ukrainian (L)";
// key <LSGT> { [ ] };
key <BKSL> { [ backslash, bar, brokenbar ] };
key <CAPS> {
type[Group1] = "TWO_LEVEL",
symbols[Group1] = [ Multi_key, Caps_Lock ],
fpm -h
Intro:
This is fpm version 1.8.0
If you think something is wrong, it's probably a bug! :)
Please file these here: https://github.com/jordansissel/fpm/issues
You can find support on irc (#fpm on freenode irc) or via email with
fpm-users@googlegroups.com
@zkiraly
zkiraly / procedure-to-archive-git-branches.md
Last active April 5, 2024 20:09
Procedure to archive git branches.
@chrisroos
chrisroos / gpg-import-and-export-instructions.md
Created September 9, 2011 10:49
Instructions for exporting/importing (backup/restore) GPG keys

Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.

Method 1

Backup the public and secret keyrings and trust database

cp ~/.gnupg/pubring.gpg /path/to/backups/
cp ~/.gnupg/secring.gpg /path/to/backups/
cp ~/.gnupg/trustdb.gpg /path/to/backups/

or, instead of backing up trustdb...