Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am corburn on github.
  • I am corburn (https://keybase.io/corburn) on keybase.
  • I have a public key ASDF87yJtiwEqaVsCUCJBKN5Xxyo4lekGrK_8Ra4b7fMxAo

To claim this, I am signing this object:

@corburn
corburn / postmortem.md
Created September 19, 2018 04:38 — forked from mlafeldt/postmortem.md
Example Postmortem from SRE book, pp. 487-491

Shakespeare Sonnet++ Postmortem (incident #465)

Date

2015-10-21

Authors

  • jennifer
  • martym
var query = 'gopher';
fetch('/large.csv').then(function(response) {
var reader = response.body.getReader();
var partialRecord = '';
var decoder = new TextDecoder();
function search() {
return reader.read().then(function(result) {
partialRecord += decoder.decodde(result.value || new Uint8Array, { stream: !result.done });
// query logic...
@corburn
corburn / archlinux.sh
Last active December 5, 2017 17:02
Installing Arch Linux with an encrypted btrfs root, GPT, and UEFI
#!/bin/bash
# UEFI Shell
mount fs01 usb
usb:
shell.x64.efi
# LUKS
dd if=/dev/urandom of=/dev/nvme0n1
@corburn
corburn / pre-commit
Created January 24, 2017 00:56
git pre-commit hook to lint .travis.yml using api.travis-ci.org/lint
#!/bin/sh
#
# A hook to check for lint warnings when .travis.yml is modified
# by uploading it to api.travis-ci.org/lint.
#
# A similar result could be achieved by uploading the configuration
# to https://lint.travis-ci.org/ before commiting.
# Redirect output to stderr.
exec 1>&2
= Arch Linux step-by-step installation =
= http://blog.fabio.mancinelli.me/2012/12/28/Arch_Linux_on_BTRFS.html =
== Boot the installation CD ==
== Create partition ==
cfdisk /dev/sda
* Create a partition with code 8300 (Linux)
@corburn
corburn / README.md
Last active November 6, 2016 21:26

to obtain all the diagnostics required by the standard, you should also specify -pedantic (or -pedantic-errors if you want them to be errors rather than warnings). See Options Controlling C Dialect.

An amendment to the 1990 standard was published in 1995. This amendment added digraphs and __STDC_VERSION__ to the language, but otherwise concerned the library. This amendment is commonly known as AMD1; the amended standard is sometimes known as C94 or C95. To select this standard in GCC, use the option -std=iso9899:199409 (with, as for other standard versions, -pedantic to receive all required diagnostics).

Conforming Freestanding Library

// https://gcc.gnu.org/onlinedocs/gcc-6.2.0/gcc/Standards.html#Standards
// The ISO C standard defines (in clause 4) two classes of conforming implementation.
@corburn
corburn / react.js
Last active October 31, 2016 06:17
function ListOfTenThings() {
return (
<Repeat numTimes={10}>
{(index) => <div key={index}>This is item {index} in the list</div>}
</Repeat>
);
}
// Calls the children callback numTimes to produce a repeated component
function Repeat(props) {

DNA-DNA Hybridization

TODO

Restriction Enzyme Digestion Profiles

TODO

Genetic Mapping