Skip to content

Instantly share code, notes, and snippets.

View gbrock's full-sized avatar

Greg Brock gbrock

View GitHub Profile
@bradmontgomery
bradmontgomery / install-comodo-ssl-cert-for-nginx.rst
Last active April 1, 2024 11:21
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

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.

Purchase the cert

@nosp4mSnippets
nosp4mSnippets / finalevent.js
Created June 23, 2013 22:10
JS: wait final event
// Here's a modification of CMS's solution that can be called in multiple places in your code:
// Wait for final event example during resize
//
var waitForFinalEvent = (function () {
var timers = {};
return function (callback, ms, uniqueId) {
if (!uniqueId) {
uniqueId = "Don't call this twice without a uniqueId";
}