Skip to content

Instantly share code, notes, and snippets.

Andrey Chernih andreychernih

Block or report user

Report or block andreychernih

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
andreychernih / log.txt
Created Aug 19, 2012 — forked from steveklabnik/log.txt
IAMA shorthand junkie
View log.txt
$ history | awk {'print $2, $3, $4'} | sort | uniq -c | sort -k1 -rn | head -n 30
681 gs
84 ll
84 gc
80 gd
80 gca
66 ga .
60 gb
48 cd ..
43 gp
View application_with_config.rb
# needs the "hashie" gem in Gemfile
require 'erb'
module Movies
class Application < Rails::Application
settings ='../settings.yml', __FILE__))).result
mash =[Rails.env.to_s])
mash.each do |key, value|
You can’t perform that action at this time.