Verifying my Blockstack ID is secured with the address 16Wermf3EdTj1a5jE47wUtgLXruCNPQugQ https://explorer.blockstack.org/address/16Wermf3EdTj1a5jE47wUtgLXruCNPQugQ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Covert PDF to PNG | |
Requirement: brew install imagemagick ghostscript | |
Possible mapping problems: | |
- convert: no images defined 'mypic.png' @error/convert.c/ConvertImageCommand/3254. | |
- convert: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG `PointOnLine.png' @ warning/png.c/MagickPNGWarningHandler/1744. | |
Resolutions: | |
$ convert -define profile:skip=ICC -density 300 ./input.pdf output.png |
If you happen to throw most things into containers, I think this a handy trick for lazy people like us.
* It is somehow an idea inspiring from Firefox TabContainer
Here is the trick, so Gnome Terminal supports different profile and most terminal apps maybe, too. Inside profile you can execute a different program, this is what I did:
sh -c 'NEW_NAME=AG-$(shuf -n1 /usr/share/dict/words|tr -d [:punct:] ) && lxc launch images:ubuntu/18.04 $NEW_NAME && lxc exec $NEW_NAME bash'
I hereby claim:
- I am kaxing on github.
- I am kaxing (https://keybase.io/kaxing) on keybase.
- I have a public key whose fingerprint is 4254 85DC 3F0B 99A8 D94A F4C1 A6B3 630B 9700 4EAD
To claim this, I am signing this object:
- lxd: 2.18-0ubuntu6
- lxc --version: 2.18
- host distro: Ubuntu 17.10 (Artful) with Kernel 4.13.0-19-generic
- container distro: Ubuntu 16.04.3
Download & install Clightd from https://github.com/FedeDP/Clightd/releases
$ sudo apt install libsystemd-dev ibpopt-dev libgsl-dev libconfig-dev
$ git clone https://github.com/FedeDP/Clight
in src/lock.c:
NewerOlder