I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| package main | |
| import ( | |
| "crypto/tls" | |
| "crypto/x509" | |
| "fmt" | |
| "io" | |
| "log" | |
| ) |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """Solarized theme for pantheon-terminal | |
| see http://ethanschoonover.com/solarized | |
| """ | |
| import posixpath | |
| import sys | |
| from gi.repository import Gio |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| # VI bindings in iex: | |
| brew install rlwrap # on OSX | |
| echo "alias iex='rlwrap -a foo iex'" >> ~/.bash_profile | |
| echo "set editing-mode vi" >> ~/.inputrc | |
| source ~/.bash_profile | |
| # To run iex WITHOUT rlwrap | |
| \iex |
| function countCSSRules() { | |
| var results = '', | |
| log = ''; | |
| if (!document.styleSheets) { | |
| return; | |
| } | |
| for (var i = 0; i < document.styleSheets.length; i++) { | |
| countSheet(document.styleSheets[i]); | |
| } | |
| function countSheet(sheet) { |
| input { | |
| elasticsearch { | |
| hosts => [ "HOSTNAME_HERE" ] | |
| port => "9200" | |
| index => "INDEXNAME_HERE" | |
| size => 1000 | |
| scroll => "5m" | |
| docinfo => true | |
| scan => true | |
| } |