- https://medium.com/making-instapaper/instapaper-outage-cause-recovery-3c32a7e9cc5f#.8wd4ufmw5
- https://blogs.dropbox.com/tech/2014/01/outage-post-mortem/
- https://groups.google.com/forum/#!topic/google-appengine/p2QKJ0OSLc8
- https://about.gitlab.com/2017/02/10/postmortem-of-database-outage-of-january-31/
- https://blog.cloudflare.com/todays-outage-post-mortem-82515/
- https://github.com/blog/1759-dns-outage-post-mortem
- https://blog.travis-ci.com/2017-02-07-jan-31-macos-outage-postmortem
- http://stackstatus.net/post/147710624694/outage-postmortem-july-20-2016
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
/* Keybindings for emacs emulation. Compiled by Jacob Rus. | |
* | |
* This is a pretty good set, especially considering that many emacs bindings | |
* such as C-o, C-a, C-e, C-k, C-y, C-v, C-f, C-b, C-p, C-n, C-t, and | |
* perhaps a few more, are already built into the system. | |
* | |
* BEWARE: | |
* This file uses the Option key as a meta key. This has the side-effect | |
* of overriding Mac OS keybindings for the option key, which generally |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Russian Tea HOWTO | |
Dániel Nagy <nagydani@fazekas.hu> | |
v1.0, April 1, 2002 | |
Caffeine is essential for keeping the brain active during nightly | |
hacking sessions. There are, however, many ways to satisfy a hacker's | |
need for caffeine. Drinking Canned Capitalism (Coke) contradicts the | |
very principles of the open source movement, for it is a closed | |
source product, manufactured by a huge, evil corporation. This sweet | |
brown fizzy water is unhealthy and does not leave any space for cre |
Y = Base64URLEncode(Header) + ‘.’ + Base64URLEncode(Payload)
JWT = Y + ‘.’ + Base64URLEncode(HMACSHA256(Y))
The steps called out here should work on a Mac as well. The only thing that might be different is the
sed
command used below. Instead of using-E
, you will have to use-r
to runsed
with extended regular expression support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// You use the `ResourceVersion` when making the initial query. So keep track | |
// of that upon successful reads and when you need to recreate the watcher from | |
// the last known point, pass in the `ResourceVersion` in the query. | |
const fs = require('fs') | |
const http = require('http') | |
const K8S_HOST = process.env['K8S_HOST'] || '10.100.0.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"fmt" | |
"os" | |
"github.com/jackc/pgtype" | |
"github.com/jackc/pgx" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A small SSH daemon providing bash sessions | |
// | |
// Server: | |
// cd my/new/dir/ | |
// #generate server keypair | |
// ssh-keygen -t rsa | |
// go get -v . | |
// go run sshd.go | |
// | |
// Client: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
listen [::]:80; | |
root /opt/cds/dist; | |
index index.html; | |
location /assets/worker/cdsapi/events { | |
gzip_static off; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# require 'active_support/core_ext/class/attribute' | |
module ActiveModel | |
# == Active Model YAML Serializer | |
module Serializers | |
module YAML | |
extend ActiveSupport::Concern | |
include ActiveModel::Serialization | |
included do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"errors" | |
"fmt" | |
"os" | |
"time" | |
"github.com/cenkalti/backoff" |
NewerOlder