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.
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.
| do ($ = jQuery, window, document) -> | |
| $.widget "namespace.widgetName", | |
| options: | |
| somevalue: null | |
| someCallback: -> | |
| _create: -> | |
| #element creation, apply theming, bind events etc. | |
| _destroy: -> | |
| #cleanup DOM |
| #!/bin/bash | |
| ### BEGIN INIT INFO | |
| # Provides: nginx | |
| # Required-Start: $all | |
| # Required-Stop: $all | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: starts the nginx web server | |
| # Description: starts nginx using start-stop-daemon |
| // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
| // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
| // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
| // MIT license | |
| (function() { | |
| var lastTime = 0; | |
| var vendors = ['ms', 'moz', 'webkit', 'o']; |
| # Because we have some old legacy users in the database, we need to override Devises method for checking if a password is valid. | |
| # We first ask Devise if the password is valid, and if it throws an InvalidHash exception, we know that we're dealing with a | |
| # legacy user, so we check the password against the SHA1 algorithm that was used to hash the password in the old database. | |
| #SOURCES OF SOLUTION: | |
| # http://stackoverflow.com/questions/6113375/converting-existing-password-hash-to-devise | |
| # https://github.com/binarylogic/authlogic/blob/master/lib/authlogic/crypto_providers/sha512.rb | |
| # https://github.com/plataformatec/devise/blob/master/lib/devise/encryptors/authlogic_sha512.rb | |
| alias :devise_valid_password? :valid_password? | |
| def valid_password?(password) |
1. Install the Java JRE and Ant
for ubuntu 8.04
add the following sources to /etc/apt/sources.list
deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse| namespace :load do | |
| ZIP_CODE_DATA_URL = 'http://www.census.gov/tiger/tms/gazetteer/zips.txt' | |
| # Swiped from ActiveRecord migrations.rb | |
| def announce(message) | |
| length = [0, 75 - message.length].max | |
| puts "== %s %s" % [message, "=" * length] | |
| end |
| # 1) Point *.example.com in your DNS setup to your server. | |
| # | |
| # 2) Setup an Apache vhost to catch the star pointer: | |
| # | |
| # <VirtualHost *:80> | |
| # ServerName *.example.com | |
| # </VirtualHost> | |
| # | |
| # 3) Set the current account from the subdomain | |
| class ApplicationController < ActionController::Base |