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.
| # USAGE: | |
| # rails runner rails-models-to-typescript-schema.rb > app/javascript/types/schema.d.ts | |
| Rails.application.eager_load! | |
| models = ActiveRecord::Base.descendants.reject { |i| i.abstract_class? } | |
| belongs_to = true | |
| has_many = true |
| def donut(data, size, thickness, background='#fff') | |
| cx = cy = size / 2 | |
| radius = size / 2 - 2 | |
| sum = data.values.inject(:+) | |
| dx = 0 | |
| dy = -radius | |
| angle = -90 | |
| paths = '' |
| { | |
| "id":"dbauser", | |
| "uid":506, | |
| "comment":"DBA User", | |
| "shell":"/bin/bash", | |
| "groups": [ | |
| "sysadm", | |
| "dba" | |
| ], | |
| "ssh_key": "XXXXXXXXXX" |
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.
| var React = require('react/addons'); | |
| var ReactIgnore = { | |
| displayName: 'ReactIgnore', | |
| shouldComponentUpdate (){ | |
| return false; | |
| }, | |
| render (){ | |
| return React.Children.only(this.props.children); | |
| } |
| <? | |
| function aes128_cbc_encrypt($key, $data, $iv) { | |
| if(16 !== strlen($key)) $key = hash('MD5', $key, true); | |
| if(16 !== strlen($iv)) $iv = hash('MD5', $iv, true); | |
| $padding = 16 - (strlen($data) % 16); | |
| $data .= str_repeat(chr($padding), $padding); | |
| return mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $data, MCRYPT_MODE_CBC, $iv); | |
| } |
| // Doing AES-256-CBC (salted) decryption with node.js. | |
| // This code is based on http://php.net/manual/de/function.openssl-decrypt.php and works with PHP sqAES. | |
| // | |
| // Create your encrypted data with | |
| // echo -n 'Hello world' | openssl aes-256-cbc -a -e | |
| var crypto = require('crypto'); | |
| var password = 'password'; | |
| var edata = 'U2FsdGVkX18M7K+pELP06c4d5gz7kLM1CcqJBbubW/Q='; |
| cd ~ | |
| sudo apt-get update | |
| sudo apt-get install openjdk-7-jre-headless -y | |
| ### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below | |
| # NEW WAY / EASY WAY | |
| wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.1.deb | |
| sudo dpkg -i elasticsearch-1.1.1.deb |
| require 'formula' | |
| class Pngout < Formula | |
| url 'http://static.jonof.id.au/dl/kenutils/pngout-20110722-darwin.tar.gz' | |
| homepage 'http://www.jonof.id.au/kenutils' | |
| md5 'ce70a9d70e08b1920e5ac88d130d0eb9' | |
| version '20110722' | |
| def install | |
| prefix.install Dir['*'] |
| ru: | |
| devise: | |
| confirmations: | |
| confirmed: "Ваша учётная запись подтверждена. Теперь вы вошли в систему." | |
| send_instructions: "В течение нескольких минут вы получите письмо с инструкциями по подтверждению вашей учётной записи." | |
| send_paranoid_instructions: "Если ваш адрес email есть в нашей базе данных, то в течение нескольких минут вы получите письмо с инструкциями по подтверждению вашей учётной записи." | |
| failure: | |
| already_authenticated: "Вы уже вошли в систему." | |
| inactive: "Ваша учётная запись ещё не активирована." | |
| invalid: "Неверный адрес email или пароль." |