I hereby claim:
- I am auhau on github.
- I am auhau (https://keybase.io/auhau) on keybase.
- I have a public key whose fingerprint is 2EB6 3CBF 3667 DECC BE61 CAFE E87B 404D 2A06 1A3C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
from PIL import Image | |
from django.db.models import ImageField | |
# Hacking ImageCropping to display correct widget | |
try: | |
from image_cropping import widgets | |
from image_cropping.backends.base import ImageBackend | |
ImageBackend.WIDGETS['OverlaidImageField'] = widgets.ImageCropWidget | |
except ModuleNotFoundError: |
site_name: 'Single-page documentation' | |
extra_css: | |
- 'stylesheets/one-page.css' |
{"id": "67baf7ffd3644806405fd498b6e40e8cd5a53b0936baacff851db700bf39078544a096c156797353b88319340a6a424dd721f931d0310c41744f8bfddb6d626d"} |
This is my workflow and might not be applicable to yours. I am not rotating subkeys but only extending their expiration.
export GNUPGHOME="$(pwd)"
gpg --list-keys
export KEY="<<KEYID>>"
gpg --edit-key $KEY
key 1
and repeat for 2
and 3
import { Bee } from '@ethersphere/bee-js' | |
const BEE_URL = process.env.BEE_URL || 'http://localhost:1633' | |
const BEE_STAMP = process.env.BEE_STAMP | |
async function main(): Promise<void> { | |
if(!BEE_STAMP) throw new Error ('You have to configure Postage Stamp env. variable BEE_STAMP!') | |
const bee = new Bee(BEE_URL) | |
const result = await bee.uploadFile(BEE_STAMP, 'Hello world Swarm!') |
function gpg-encrypt-me | |
if not set -q GPG_ME | |
echo "No your's GPG key set in GPG_ME variable!" | |
end | |
set recipients (gpg --list-keys --with-colons --fast-list-mode $GPG_ME | awk -F: '/^sub/{if ($12 == "e") {printf "-r 0x%s! ", $5}}') | |
gpg -r $recipients --armor --encrypt $argv | |
end |