I hereby claim:
- I am stevenringo on github.
- I am stevenringo (https://keybase.io/stevenringo) on keybase.
- I have a public key whose fingerprint is 0E41 8C49 ED44 3EEA 93B1 4E26 5BF8 BAE4 C37A 2B56
To claim this, I am signing this object:
/usr/local/lib/couchdb: | |
total 16K | |
-drwx------. 4 root root 4.0K Mar 16 15:19 . | |
+drwxr-xr-x. 4 root root 4.0K Mar 16 15:19 . | |
drwxr-xr-x. 3 root root 4.0K Mar 16 15:19 .. | |
-drwx------. 2 root root 4.0K Mar 16 15:19 bin | |
-drwx------. 3 root root 4.0K Mar 16 15:19 erlang | |
+drwxr-xr-x. 2 root root 4.0K Mar 16 15:19 bin | |
+drwxr-xr-x. 3 root root 4.0K Mar 16 15:19 erlang | |
I hereby claim:
To claim this, I am signing this object:
require 'yaml' | |
require 'erb' | |
require 'ostruct' | |
class Settings < OpenStruct | |
# Settings.new(:google_analytics) | |
def initialize(config_file_base_name) | |
super(YAML.load(ERB.new(File.read(Rails.root.join("config", "#{config_file_base_name}.yml"))).result)[Rails.env]) | |
end |
--- | |
- name: Deploy new site release | |
user: deployer | |
hosts: all | |
tasks: | |
- name: Fetch repo updates | |
git: > | |
repo=git@github.com:my/repo.git |
- name: create required directories | |
sudo_user: "{{ deploy_user }}" | |
file: path="{{ item }}" state=directory owner={{ deploy_user }} group={{ deploy_user }} mode=0755 | |
with_items: | |
- "{{ git_repo_path }}" | |
- "{{ shared_path }}" | |
- "{{ archive_path }}" | |
- "{{ releases_path }}" |
// pastie-style syntax colouring for jekyll's syntax highlighter | |
pre | |
color: #ccc | |
font-size: 13px | |
background: #fff | |
line-height: 1.5em | |
border: #aaa 1px solid | |
overflow-x: auto | |
overflow-y: hidden |
%p | |
Blah blah blah blah | |
%a(href='#foo') foo | |
and | |
%a(href='#bar') bar | |
\. | |
-# The problem with the above Haml fragment is that I am left with a space after <a href='#bar'>bar</a> and before the period. | |
-# Haml's whitespace removal does not resolve the issue, because it can either remove ALL whitespace | |
-# around an element or ALL whitespace within an element. Neither option seems to fit the bill. |
/ http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#whitespace_removal__and_ | |
/ Use like so | |
%p | |
Blah blah blah blah | |
%a(href='#foo') foo | |
%a(href='#bar')> bar | |
\. |
***************************************************************** | |
DEPRECATION WARNING: you are using deprecated behaviour that will | |
be removed from RSpec 3. | |
You have set some configuration options after an example group has | |
already been defined. In RSpec 3, this will not be allowed. All | |
configuration should happen before the first example group is | |
defined. The configuration is happening at: |
production: | |
adapter: sqlite3 | |
database: db/production.sqlite3 | |
pool: 5 | |
timeout: 5000 |