Installing python packages from git via pip
It may happen that you need to install a python project with pip from git(hub). That’s pretty easy:
…It may happen that you need to install a python project with pip from git(hub). That’s pretty easy:
…It’s really simple to copy your private GPG keys to another machine of yours. Let’s do public key first: $ gpg --export --armor KEY | ssh me@my-other-machine 'gpg --import' gpg: keyring `/home/me/.gnupg/secring.gpg' created gpg: keyring `/home/me/.gnupg/pubring.gpg' created gpg: /home/me/.gnupg/trustdb.gpg: trustdb created gpg: key 4937B925: public key "KEY" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) It worked! Now the private: $ gpg --export-secret-key --armor KEY | ssh me@my-other-machine 'gpg --import --allow-secret-key-import' gpg: key 4937B925: secret key imported gpg: key 4937B925: "KEY" not changed gpg: Total number processed: 1 gpg: unchanged: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 (--armor is optional, it’s just for sake of checking the output first before piping it to ssh)…
It’s not that hard, here are a couple pain points:
GOPATH is right — you want to compile against your checked out docker, not master dockerUpdate (October 13th): The encoding mismatch is made on purpose as described in this issue. The current work is present in this repo.
So I needed to get a digest of a manifest. Manifest is a text file in JSON format which contains metadata for a docker image. Manifest is part of v2 docker registry API.
We want to have this functionality (f(manifest) → digest) in pulp so I needed to do that in python. I guess it would pretty easy to do in Go because I would be able to use code from distribution directly.
So I migrated my blog to hugo and am hosting it on netlify.
All I can say is…
…Tall software engineer, teacher, speaker, coder, linux enthusiast, gardener, hiker.…
I’ve just managed to dockerize chromium. The package itself is taken from spot’s copr repo. Jessie Frazelle’s blog post helped me a lot!
It looks like this:
…Using postgres for fuzzy searches.
We’ll try to match arbitrary beer names to ones in our DB. Let’s create table first:
…I’ve just updated to kernel 3.17. I compiled the kernel, installed it, generated initramfs, updated grub.cfg and rebooted my PC. I was unpleasantly surprised by: