I hereby claim:
- I am catsby on github.
- I am catsby (https://keybase.io/catsby) on keybase.
- I have a public key whose fingerprint is A9E3 2F18 B535 5BDB AA6D 0A1D D468 181B 2818 F49A
To claim this, I am signing this object:
<% | |
require 'cgi' | |
require 'uri' | |
def attribute(name, value, force_string = false) | |
if value | |
value_string = | |
if force_string | |
'"' + value + '"' | |
else |
module Octopus | |
def self.shards_in(group=nil) | |
config[Rails.env].try(:[], group.to_s).try(:keys) | |
end | |
def self.followers | |
shards_in(:followers) | |
end | |
class << self | |
alias_method :followers_in, :shards_in | |
alias_method :slaves_in, :shards_in |
<% | |
require 'cgi' | |
require 'uri' | |
def attribute(name, value, force_string = false) | |
if value | |
value_string = | |
if force_string | |
'"' + value + '"' | |
else |
preload_app! | |
min_threads = Integer(ENV['MIN_THREADS'] || 0) | |
max_threads = Integer(ENV['MAX_THREADS'] || 5) | |
threads min_threads, max_threads | |
workers Integer(ENV['WORKER_COUNT'] || 3 ) | |
on_worker_boot do | |
ActiveSupport.on_load(:active_record) do |
$ curl -i https://api.github.com/repos/rails/rails/issues\?per_page\=2 ⏎ | |
HTTP/1.1 200 OK | |
Server: GitHub.com | |
Date: Thu, 23 Jan 2014 20:29:14 GMT | |
Content-Type: application/json; charset=utf-8 | |
Status: 200 OK | |
X-RateLimit-Limit: 60 | |
X-RateLimit-Remaining: 55 | |
X-RateLimit-Reset: 1390512520 | |
Cache-Control: public, max-age=60, s-maxage=60 |
I hereby claim:
To claim this, I am signing this object:
curl -X POST -d '{"text":"===== ===== ======= \n A B A and B \n===== ===== ======= \nFalse False False \nTrue False False \nFalse True False \nTrue True True \n===== ===== ======= \n"}' https://api.github.com/markdown | |
<p>===== ===== =======<br> | |
A B A and B<br> | |
===== ===== =======<br> | |
False False False<br> | |
True False False<br> | |
False True False<br> | |
True True True<br> | |
===== ===== ======= </p>% |
package etl | |
import ( | |
"strings" | |
) | |
func Transform(input map[int][]string) map[string]int { | |
m := make(map[string]int) | |
for k, v := range input { |
I hereby claim:
To claim this, I am signing this object:
From adc36385f91aeba390f3e095f2b584e792ba4399 Mon Sep 17 00:00:00 2001 | |
From: clint shryock <clint@ctshryock.com> | |
Date: Thu, 8 Jun 2017 17:17:43 -0500 | |
Subject: [PATCH 1/2] provider/aws: Add tag support for ebs_volume_snapshot | |
--- | |
builtin/providers/aws/resource_aws_ami_test.go | 7 +++++++ | |
builtin/providers/aws/resource_aws_ebs_snapshot.go | 14 ++++++++++++++ | |
website/source/docs/providers/aws/r/ebs_snapshot.html.md | 7 ++++++- | |
3 files changed, 27 insertions(+), 1 deletion(-) |