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.
# Nginx+Unicorn best-practices congifuration guide. Heartbleed fixed. | |
# We use latest stable nginx with fresh **openssl**, **zlib** and **pcre** dependencies. | |
# Some extra handy modules to use: --with-http_stub_status_module --with-http_gzip_static_module | |
# | |
# Deployment structure | |
# | |
# SERVER: | |
# /etc/init.d/nginx (1. nginx) | |
# /home/app/public_html/app_production/current (Capistrano directory) | |
# |
Model.new.foo |
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.
module ActionMailer | |
class Base | |
class_inheritable_accessor :view_paths | |
def self.prepend_view_path(path) | |
view_paths.unshift(*path) | |
ActionView::TemplateFinder.process_view_paths(path) | |
end | |
def self.append_view_path(path) |
# Helper functions that allow string arguments for dplyr's data modification functions like arrange, select etc. | |
# Author: Sebastian Kranz | |
# Examples are below | |
#' Modified version of dplyr's filter that uses string arguments | |
#' @export | |
s_filter = function(.data, ...) { | |
eval.string.dplyr(.data,"filter", ...) | |
} |
# encoding: utf-8 | |
# Russian for Yandex. Based on: | |
# (c) Yaroslav Markin, Julian "julik" Tarkhanov and Co | |
# https://github.com/yaroslav/russian/blob/master/lib/russian/transliteration.rb | |
# WARN я не очень согласен с правилом для буквы Щ (SHH)- поэтому используется SCH | |
# SAVE IT HERE: | |
# :rails_root/config/locales/yandex_translit.rb |
fix for hotkeys not functional in non-latin keyboard layout in 13.10 / 14.04 | |
tested on ubuntu 14.04, jvm7 and rubymine 6.3 | |
sudo add-apt-repository ppa:attente/java-non-latin-shortcuts | |
sudo apt-get update | |
sudo apt-get dist-upgrade | |
restart unity-settings-daemon | |
now ctrl+c, ctrl-v etc should work in most java applications like IDEA, RubyMine IDE even on russian keyboard layout |
require 'benchmark' | |
require 'benchmark/memory' | |
require 'dry-struct' | |
require 'dry-initializer' | |
require 'virtus' | |
require 'shallow_attributes' | |
require 'active_data' | |
require 'active_model' | |
require 'benchmark/ips' |