Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason Travis corburn

View GitHub Profile
View keybase.md

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 Sep 19, 2018 — forked from mlafeldt/postmortem.md
Example Postmortem from SRE book, pp. 487-491
View postmortem.md

Shakespeare Sonnet++ Postmortem (incident #465)

Date

2015-10-21

Authors

  • jennifer
  • martym
View streamingHttpResponseBodies.js
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 Dec 5, 2017
Installing Arch Linux with an encrypted btrfs root, GPT, and UEFI
View archlinux.sh
#!/bin/bash
# UEFI Shell
mount fs01 usb
usb:
shell.x64.efi
# LUKS
dd if=/dev/urandom of=/dev/nvme0n1
@corburn
corburn / pre-commit
Created Jan 24, 2017
git pre-commit hook to lint .travis.yml using api.travis-ci.org/lint
View pre-commit
#!/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
View Arch Linux step-by-step installation on btrfs
= 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)
View README.md

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.
View react.js
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) {
View BioNotes.md

DNA-DNA Hybridization

TODO

Restriction Enzyme Digestion Profiles

TODO

Genetic Mapping

View GolangPatterns.md
You can’t perform that action at this time.