Skip to content

Instantly share code, notes, and snippets.

View bendechrai's full-sized avatar

Ben Dechrai bendechrai

View GitHub Profile
@bendechrai
bendechrai / gencert
Last active August 29, 2015 14:01
OpenSSL certificate generation helper script
#!/bin/bash
################################################################################################################
#
# Place this script in /etc/ssl/private and chown it root and chmod 700
#
# This script will generate basic OpenSSL files and self-sign a certificate
#
# Usage is `gencert domain.name` and the result is domain.name.{key,csr,crt,pem}
# If the domain name provided is a wildcard, the asterisk is replaced with an underscore
@bendechrai
bendechrai / entypo.css
Last active December 18, 2015 04:48 — forked from jokka/entypo.css
@font-face {
font-family: 'EntypoRegular';
src: url('font/entypo.eot');
src: url('font/entypo.eot?#iefix') format('embedded-opentype'),
url('font/entypo.woff') format('woff'),
url('font/entypo.ttf') format('truetype'),
url('font/entypo.svg#EntypoRegular') format('svg');
font-weight: normal;
font-style: normal;
}