Skip to content

Instantly share code, notes, and snippets.

* Manual post-deploy steps
** rake data_bags:update_env_load_balancer_ips
*** knife data bag from file dns data_bags/dns/${ENV}_load_balancers.json
*** reconverge all load_balancer nodes
** rake server_list:update
** On one safe node, safectl util promote-to-master
* Post-deploy sanity check
** http://lb.${ENV}.sa2s.us:8080/stats
** http://monitoring.${ENV}.sa2s.us/
cookbooks/elasticsearch/recipes/default.rb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/cookbooks/elasticsearch/recipes/default.rb b/cookbooks/elasticsearch/recipes/default.rb
index ec482af..2212046 100644
--- a/cookbooks/elasticsearch/recipes/default.rb
+++ b/cookbooks/elasticsearch/recipes/default.rb
@@ -146,7 +146,8 @@ template "#{node.elasticsearch.home}/config/elasticsearch.json" do
:refresh_interval =>
node.elasticsearch[:index].engine.robin.refresh_interval
--- git-up.rb.orig 2011-06-22 00:37:46.000000000 -0400
+++ git-up.rb 2011-06-22 00:37:41.000000000 -0400
@@ -24,18 +24,17 @@
base = merge_base(branch.name, remote.name)
if base == remote.commit.sha
- puts "ahead of upstream".green
+ puts "ahead of upstream".blue
next
end
require 'mixlib/cli'
EXIT_CODES = {
'OK' => 0,
'WARNING' => 1,
'CRITICAL' => 2,
'UNKNOWN' => 3,
}
class Sensu
.promoted-account, .promoted-trend {
display: none !important;
}
.global-nav-inner > .container, #page-outer > .wrapper {
width: inherit !important;
}
.content-main {
float: none !important;
width: inherit !important;
margin-left: 315px !important;
$ dig 20D35B617C9C5689815C82D2A19584BA.playpen3.abdemo.com.
; <<>> DiG 9.8.3-P1 <<>> 20D35B617C9C5689815C82D2A19584BA.playpen3.abdemo.com.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 4574
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;20D35B617C9C5689815C82D2A19584BA.playpen3.abdemo.com. IN A

Disc 1: intro, ceremony, cocktail hour [79:50]

  1. Oval - Do While ⌘ X [4:50]
  2. Brian Eno & Cockpit Ensemble - Fullness of Wind [9:57]
  3. Alberto Iglesias - Ya No te Oye [2:37]
  4. The xx - Angels [2:17]
  5. Peter Bjorn & John - Objects of my Affection [4:50]
  6. Beach House - Lover of Mine [3:24]
  7. Sunday Brunch - Midsummer Night [5:56]
  8. Mos Def - Umi Said [4:23]
  9. Pepe Bradock - Deep Burnt [4:51]
#!/bin/sh
today="$(date +%F)"
for f in followers friends; do
case "$f" in
followers) q='.users[].screen_name';;
friends) q='.users[] | .screen_name + "\t" + .name';;
esac
twitpull -v "/$f/list?count=200" "$q" > "$f.$today"
wc -l "$f.$today"
On firefox 29 and 30 visitors to our site secure.actblue.com are seeing this error:
##########
Secure Connection Failed
An error occurred during a connection to secure.actblue.com. The OCSP server found the request to be corrupted or improperly formed. (Error code: sec_error_ocsp_malformed_request)
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.
##########
GriffinPowerMate.registerInputPackets = function() {
// The PowerMate only sends one kind of packet, which is 6 bytes:
//
// - Byte 0: pushed (0 or 1). Updates immediately on push or release.
//
// - Byte 1: turn (signed 8-bit value). +1 or -1 for every 3 degrees
// or so of rotation. May require turning a few degrees before you
// get to the next "tick" (there are no physical detents; the motion
// is very smooth). If you turn very quickly, a single packet will
// be sent with value of greater magnitude (2 ticks = -2 or +2, etc;