Skip to content

Instantly share code, notes, and snippets.

Avatar

Sean Escriva webframp

View GitHub Profile
@webframp
webframp / linkerd.yaml
Last active Sep 29, 2017
simple starter linkerd k8s objects
View linkerd.yaml
---
apiVersion: v1
kind: ConfigMap
metadata:
name: l5d-config
data:
config.yaml: |-
admin:
ip: 0.0.0.0
port: 9990
@webframp
webframp / .tmux.conf
Created Aug 24, 2017
Simplistic tmux configs, one themed, one without
View .tmux.conf
set -g default-terminal "screen-256color"
setw -g xterm-keys on
# start window numbering at 1
set -g base-index 1
set -g mouse on
setw -g monitor-activity on
# use C-j instead of C-b
@webframp
webframp / keybase.md
Created Jul 25, 2017
Signing git commits on github using keybase.io gpg key
View keybase.md

Probably one of the easiest things you'll ever do with gpg

Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH

First get the public key

keybase pgp export | gpg --import

Next get the private key

@webframp
webframp / log_linux.txt
Created Jul 20, 2017
rubyc testing for a dead simple app
View log_linux.txt
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
Beginning configuration for readline-7.0 for x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
View keybase.md

Keybase proof

I hereby claim:

  • I am webframp on github.
  • I am sme (https://keybase.io/sme) on keybase.
  • I have a public key ASA9asReenv-2MESOFOZ8UTYEBZI2olORsj-gyXB8N6LWAo

To claim this, I am signing this object:

@webframp
webframp / CIPolicyParser.ps1
Created Dec 7, 2016 — forked from mattifestation/CIPolicyParser.ps1
Functions to recover information from binary Device Guard Code Integrity policies.
View CIPolicyParser.ps1
function ConvertTo-CIPolicy {
<#
.SYNOPSIS
Converts a binary file that contains a Code Integrity policy into XML format.
Author: Matthew Graeber (@mattifestation)
License: BSD 3-Clause
.DESCRIPTION
@webframp
webframp / windows.md
Created Nov 28, 2016
Minimum Viable Windows
View windows.md

A Mostly usable Windows workstation for macOS or Linux users

Especially starting with Windows 10, it isn't all that bad to work on day to day. It just requires a bit of setup out of the box to make it behave better just like those other platforms, and is sufficiently different so as to be non obvious to experienced Linux or macOS users.

Pick and choose what to do from below that fits your needs.

Note: I use emacs, like emacs keybindings and do a bit of Chef development,

@webframp
webframp / service-checklist.md
Created Sep 13, 2016 — forked from acolyer/service-checklist.md
Internet Scale Services Checklist
View service-checklist.md

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?
@webframp
webframp / gist:06a6eb6ff039146f3d551abfd9f0956e
Last active Jul 15, 2016
sfn debug vs batali debug true
View gist:06a6eb6ff039146f3d551abfd9f0956e
C:\src\chef\infra-repo [master ≡ +1 ~4 -1 !]> $env:DEBUG="true"
C:\src\chef\infra-repo [master ≡ +1 ~4 -1 !]> be sfn list
I, [2016-07-15T09:37:50.311312 #54452] INFO -- : Lock aquired for stack update. Requesting stacks from upstream. (#<Thread:0x2464248>)
I, [2016-07-15T09:37:53.843429 #54452] INFO -- : Stack list has been updated from upstream and cached locally
Name Created Updated Status Template Description
...
C:\src\chef\infra-repo [master ≡ +1 ~4 -1 !]> be batali resolve
View conkerorrc.js
// -*- mode: javascript -*-
/// SETTINGS
url_remoting_fn = load_url_in_new_buffer;
url_completion_use_history = true;
var click_in_new_buffer_target = OPEN_NEW_BUFFER_BACKGROUND;
// let xkcd-mode put the funny alt text into the page.
xkcd_add_title = true;
// user prefs