I hereby claim:
- I am benma on github.
- I am benma (https://keybase.io/benma) on keybase.
- I have a public key whose fingerprint is 2260 E482 8888 2C76 AFAA 319D 67A2 B160 F74D B275
To claim this, I am signing this object:
| Most of https://github.com/benma/descriptors-go/pull/5/ was created using the below DeepSeek R1 convo: | |
| Prompt> | |
| policy is of this enum type from miniscript::policy::semenatic::Policy: | |
| ``` | |
| #[derive(Clone, PartialEq, Eq, PartialOrd, Ord)] | |
| pub enum Policy<Pk: MiniscriptKey> { |
| use secrecy::{ExposeSecret, Secret}; | |
| #[derive(Debug)] | |
| struct EncryptionKey(Secret<[u8; 32]>); | |
| fn get_encryption_key() -> EncryptionKey { | |
| let key = EncryptionKey(Secret::new(*b"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")); | |
| println!("Pointer at creation: {:p}", key.0.expose_secret().as_ptr()); | |
| key | |
| } |
| -----BEGIN PGP SIGNED MESSAGE----- | |
| Hash: SHA256 | |
| Hi Daniel, this is benma. 2020-08-26. | |
| -----BEGIN PGP SIGNATURE----- | |
| iQIzBAEBCAAdFiEELYh2gQqwkuRR3KiUgEU4kow36ugFAl9GQ+sACgkQgEU4kow3 | |
| 6uhwgA/6A+eZwuZNFV42usp62lly3xE8liFZIKeG0ZfPtQyO9LYSOB+LaOnp0rwC | |
| tYRYkOTZMEmpMKOx9ZoKdwbwqzRfttXxctsX3mtAWnO2tsXjT6ObOF6JjRH4GLjI |
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "crypto/rand" | |
| "fmt" | |
| "github.com/agl/ed25519" | |
| "github.com/agl/ed25519/extra25519" | |
| "github.com/monetas/gotary/util/enc" | |
| ) |
| cleandocker() { | |
| docker rm `docker ps -a | grep Exited | awk '{print $1 }'` | |
| docker rmi `docker images -aq --filter "dangling=true"` | |
| } |
| #!/bin/bash | |
| DBNAME=dbname | |
| DBUSER=dbuser | |
| N=150 | |
| sql () { | |
| echo $1 | psql -h localhost $DBNAME $DBUSER | |
| } |
| #!/bin/sh | |
| sudo apt-get install zlib1g-dev | |
| sudo apt-get install g++ | |
| sudo apt-get install uuid-dev | |
| export VENV=$VIRTUAL_ENV | |
| curl -O http://oligarchy.co.uk/xapian/1.2.18/xapian-core-1.2.18.tar.xz | |
| curl -O http://oligarchy.co.uk/xapian/1.2.18/xapian-bindings-1.2.18.tar.xz |
| # .... | |
| # in settings.py (oder sonst eine versionierte datei) | |
| import settings_sensitive | |
| class ImproperlyConfigured(Exception): | |
| pass | |
| try: |
| #!/bin/sh | |
| go test -coverprofile=cov.out | |
| go tool cover -html=cov.out |