An Ember application starts with its main template. Put your header, footer, and any other decorative content in application.handlebars
.
<header>
<img src="masthead">
</header>
<footer>
I'm a big fan of the Ops School idea. I've struggled for years about how to "train up" someone coming into this field. So much of our skill set is forged in the fire of outages and troubleshooting.
One of the things that is both good and bad about system administration and operations is that we tend to see patterns. It's good in that we immediately see things that stand out. The downside is we tend to superimpose that pattern recognition in inappropriate ways.
We had an interesting issue happen yesterday at the dayjob. I won't go into exactly what it was here but I had an idea based on some graphs I was looking at. It's part social experiment but it's also part problem solving skills.
Given the following image with no context, what do you think happened? What are some of the key indicator points that jump out and what pattern do they call to mind?
_(Since it may not be clear simply from an image resolution perspective, there are 4 me
#!/bin/sh | |
# Usage: . testlib.sh | |
# Simple shell command language test library. | |
# | |
# Tests must follow the basic form: | |
# | |
# begin_test "the thing" | |
# ( | |
# set -e | |
# echo "hello" |
# For Varnish NewRelic Tracking | |
# https://gist.github.com/2820068 | |
C{ | |
#include <stddef.h> | |
#include <stdio.h> | |
#include <sys/time.h> | |
}C | |
sub vcl_recv { |
$stack, $draws = [], {} | |
def method_missing *args | |
return if args[0][/^to_/] | |
$stack << args.map { |a| a or $stack.pop } | |
$draws[$stack.pop(2)[0][0]] = args[1] if args[0] == :< | |
end | |
class Array | |
def +@ |
source :rubygems | |
gem 'sinatra' |
require 'base64' | |
def public_base64(key) | |
["ssh-rsa", Base64.encode64(ssh_public_key_conversion(key)).gsub("\n", "")].join(" ").strip | |
end | |
def ssh_public_key_conversion(public_key) | |
out = [0, 0, 0, 7].pack("C*") | |
out += "ssh-rsa" |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <ruby.h> | |
#include <node.h> | |
#include <oboe/oboe.h> | |
oboe_reporter_t udp_reporter; | |
#ifdef RUBY_GC_EVENT_ALL | |
// requires https://github.com/tmm1/brew2deb/blob/master/packages/ruby/patches/gc-hooks.patch |