Skip to content

Instantly share code, notes, and snippets.

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

@joshfinnie
joshfinnie / gist:2040709
Created March 15, 2012 00:32 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@joshfinnie
joshfinnie / gist:1885537
Created February 22, 2012 15:26
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+X delete line
Ctrl+↩ insert line after
Ctrl+⇧+↩ insert line before
Ctrl+⇧+↑ move line (or selection) up
"""Python boilerplate for using Twitter API w/OAuth, based on sixohsix-twitter.
As of 2010-08-31, Twitter has shut down Basic Auth completely.
You must use OAuth instead. This boilerplate does just that.
http://dev.twitter.com/pages/basic_auth_shutdown
This Python script uses the Python twitter package by Mike Verdone et al.
http://pypi.python.org/pypi/twitter
http://mike.verdone.ca/twitter/