2018-01-30
root# dd if=/dev/zero of=/dev/vbd0 bs=32k count=16
root# fdisk -IB /dev/vbd0| import matplotlib as mpl | |
| import matplotlib.pyplot as plt | |
| # %matplotlib inline | |
| # Matplotlib Customization | |
| # References: https://matplotlib.org/users/customizing.html | |
| # refresh the font cache: | |
| #mpl.font_manager._rebuild() |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| # | |
| # Generate version information based on Git tags/commits. | |
| # | |
| # License: Public Domain | |
| # | |
| # URL: https://gist.github.com/liweitianux/9fce0fc404c41b8f28512e87fbca1562 | |
| # | |
| dirty_mark='+' |
| # | |
| # Nginx reverse proxy to Google Search (with images and webcache)) | |
| # | |
| # Credit: | |
| # * Nginx rewrite append a parameter at the end of an URL | |
| # https://serverfault.com/a/311660/387898 | |
| # * https://github.com/tracycool/Reverse-Proxy-for-Google | |
| # * https://github.com/caiguanhao/nginx-bypass-gfw/blob/master/google.conf | |
| # | |
| # References: |
| /*- | |
| * Read Ed25519 public and private keys in DER format. | |
| */ | |
| #include <stdio.h> | |
| #include <openssl/err.h> | |
| #include <openssl/evp.h> | |
| #include <openssl/x509.h> | |
| #include "private.h" /* generated by 'pem-to-c.sh' */ |