Skip to content

Instantly share code, notes, and snippets.

@chr4
chr4 / bootstrap.css
Created May 7, 2020 12:29
This is used to hunt down a performance issue with ap/vim-css-color
/*!
* Bootstrap v4.0.0-beta (https://getbootstrap.com)
* Copyright 2011-2017 The Bootstrap Authors
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
@media print {
*,
*::before,
*::after {

Keybase proof

I hereby claim:

  • I am chr4 on github.
  • I am chr4 (https://keybase.io/chr4) on keybase.
  • I have a public key ASAC2cWqMZFJHH54RN9scNgsEz09RfULwCePquEv7pwIqAo

To claim this, I am signing this object:

@chr4
chr4 / freebsd-image.md
Last active July 19, 2023 03:24
OpenStack FreeBSD image creation

FreeBSD 12.0 OpenStack image creation

This was adapted from this document

ISO image creation

Download ISO image, then run:

openstack image create --file ~/Downloads/FreeBSD-12.0-RELEASE-amd64-disc1.iso --disk-format iso --container-format bare "FreeBSD-12.0-RELEASE-amd64-disc1.iso"
@chr4
chr4 / openssl -hash
Created June 18, 2013 13:26
openssl -hash doesn't hash correctly on debian squeeze?
# Console applications keep failing when accessing cacert.org HTTPS resources on Debian Squeeze.
# When setting the link manually, it works
squeeze$ openssl x509 -hash -noout -in /etc/ssl/certs/cacert.org.pem
5ed36f99
wheezy$ openssl x509 -hash -noout -in /etc/ssl/certs/cacert.org.pem
99d0fa06
raring$ openssl x509 -hash -noout -in /etc/ssl/certs/cacert.org.pem