Command: heroku pgbackups:capture --remote production
Response: >>> HEROKU_POSTGRESQL_COLOR_URL (DATABASE_URL) ----backup---> a712
Command: heroku pgbackups:url [db_key] --remote production
background #e8e9ec | |
foreground #33374c | |
selection_background #d2d4dd | |
selection_foreground #33374c | |
cursor #33374c | |
cursor_text_color #e8e9ec | |
# white |
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.
# | |
# This file is the units database for use with GNU units, a units conversion | |
# program by Adrian Mariano [email protected] | |
# | |
# March 2014 Version 2.10 | |
# | |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006 | |
# 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 | |
# Free Software Foundation, Inc | |
# |
CarrierWave.configure do |config| | |
if Rails.env.development? || Rails.env.test? | |
config.storage = :file | |
else | |
config.storage = :fog | |
config.fog_credentials = { | |
:provider => 'OpenStack', | |
:openstack_auth_url => 'https://auth.selcdn.ru/v1.0', | |
:openstack_username => Rails.application.secrets.openstack_username, | |
:openstack_api_key => Rails.application.secrets.openstack_api_key |
// ---- | |
// Sass (v3.3.0.rc.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
// Counts the number of occurrences of each value of $list | |
// ------------------------------------------------------------------------------- | |
// @param $list [List] : list | |
// ------------------------------------------------------------------------------- | |
// @return [Map] |
<div></div> |
def to_i(w) | |
r = 0 | |
w.each_char { |ch| r = r | (1 << ch.ord - 96) } | |
r | |
end | |
@dict_word_letters = {} |
class KoModel | |
indexed_error_for: (property_name, index, nested_property = null) => | |
ko.computed => | |
return unless @errors() and error_property = @errors()[property_name] | |
error = jQuery.grep error_property, (item) -> | |
item.index == index | |
return '' unless error and error.length |