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.
CREATE TABLE `component_status_logs` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`component_id` int(11) DEFAULT NULL, | |
`build_id` int(11) DEFAULT NULL, | |
`build_flow_id` int(11) DEFAULT NULL, | |
`test_ci_result_id` int(11) DEFAULT NULL, | |
`status` int(11) DEFAULT NULL, | |
`statistic` varchar(255) DEFAULT NULL, | |
`created_at` datetime NOT NULL, | |
`updated_at` datetime NOT NULL, |
CREATE TABLE `build_flows` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`device_id` int(11) DEFAULT NULL, | |
`device_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`job_id` int(11) DEFAULT NULL, | |
`job_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`branch` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`build_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`pbt_sdk` tinyint(4) DEFAULT '0', | |
`pbt_opensource` tinyint(4) DEFAULT '0', |
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.
Ensure regex button is selected and then type this in the search field. | |
\s*console\.log(.*); |
$ ssh-keygen -t rsa | |
$ ssh-copy-id -i ~/.ssh/id_dsa.pub user@machine | |
$ ssh user@machine | |
require 'net/ssh' | |
require 'logger' | |
Net::SSH.start( | |
'host', 'user', | |
:host_key => "ssh-rsa", |
module YourApp | |
class Application < Rails::Application | |
# ... | |
config.middleware.insert_before "Rack::Cache", "SubdomainRedirect" | |
# ... | |
end | |
end |
require 'observer' | |
class CoffeeShop | |
include Observable | |
attr_reader :customers | |
def initialize(name, capacity) | |
@name = name | |
@capacity = capacity | |
@customers = [] |
class Coffee | |
attr_accessor :name | |
attr_accessor :strength | |
def initialize(name, strength) | |
@name = name | |
@strength = strength | |
end | |
def <=>(other_coffee) |
class ReportsController < ApplicationController | |
def group_columns columns, items | |
numitems = items.length | |
rows = numitems / columns | |
rows += 1 if numitems % columns > 0 | |
extras = numitems % rows if rows > 0 | |
1.upto(rows).map { |rownum| | |
# distribute the extras evenly | |
extra = 0 |