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.
| class Address < ActiveRecord::Base | |
| attr_accessible :postcode | |
| validates_format_of :postcode, :with => /^([A-PR-UWYZ]([0-9]{1,2}|([A-HK-Y][0-9]|[A-HK-Y][0-9]([0-9]|[ABEHMNPRV-Y]))|[0-9][A-HJKS-UW])\s?[0-9][ABD-HJLNP-UW-Z]{2}|(GIR\ 0AA)|(SAN\ TA1)|(BFPO\ (C\/O\ )?[0-9]{1,4})|((ASCN|BBND|[BFS]IQQ|PCRN|STHL|TDCU|TKCA)\ 1ZZ))$$/i, :message => "invalid postcode" | |
| end |
| # If you meet install errors, see abid-hussain's comment | |
| sudo apt-get --force-yes install build-essential openssl libreadline6 libreadline6-dev curl git-core \ | |
| zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev \ | |
| libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison | |
| && | |
| \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled |
| #!/bin/sh | |
| # System update | |
| sudo apt-get update | |
| # Curl | |
| sudo apt-get -y install curl | |
| # Git | |
| sudo apt-get -y install git-core |
| # GitHub configuration to push same repository into different services | |
| [core] | |
| repositoryformatversion = 0 | |
| filemode = true | |
| bare = false | |
| logallrefupdates = true | |
| # git push all | |
| [remote "all"] | |
| url = git@github.com:<login>/<repository>.git | |
| url = git@bitbucket.org:<login>/<repository>.git |
| #!/usr/bin/env bash | |
| # This script should be named (or symbolically linked) as git-all so that | |
| # it can be run as a git command (if it is in the path). The repo location should | |
| # be set in REPOLOC. Can be relative if this script is also in a repo! | |
| # Standard bash stuff to get the current directory | |
| unset CDPATH | |
| SOURCE="${BASH_SOURCE[0]}" | |
| while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink | |
| DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" |
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.
| #app/inputs/collection_check_boxes_input.rb | |
| class CollectionCheckBoxesInput < SimpleForm::Inputs::CollectionCheckBoxesInput | |
| def item_wrapper_class | |
| "checkbox-inline" | |
| end | |
| end |
| #app/inputs/collection_check_boxes_input.rb | |
| class CollectionCheckBoxesInput < SimpleForm::Inputs::CollectionCheckBoxesInput | |
| def item_wrapper_class | |
| "checkbox-inline" | |
| end | |
| end |
| defaults write com.apple.LaunchServices LSHandlers -array-add '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.sublimetext.3;}' |
| .fa-lg{font-size:1.3333333333333333em;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;vertical-align:middle;} | |
| .nav [class^="fa-"],.nav [class*=" fa-"]{vertical-align:inherit;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;}.nav [class^="fa-"].fa-lg,.nav [class*=" fa-"].fa-lg{vertical-align:-25%;} | |
| .nav-pills [class^="fa-"].fa-lg,.nav-tabs [class^="fa-"].fa-lg,.nav-pills [class*=" fa-"].fa-lg,.nav-tabs [class*=" fa-"].fa-lg{line-height:.75em;margin-top:-7px;padding-top:5px;margin-bottom:-5px;padding-bottom:4px;} | |
| .btn [class^="fa-"].pull-left,.btn [class*=" fa-"].pull-left,.btn [class^="fa-"].pull-right,.btn [class*=" fa-"].pull-right{vertical-align:inherit;} | |
| .btn [class^="fa-"].fa-lg,.btn [class*=" fa-"].fa-lg{margin-top:-0.5em;} | |
| a [class^="fa-"],a [class*=" fa-"]{cursor:pointer;} | |
| .fa-glass{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} | |
| .fa-music{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} | |
| .fa-se |