Skip to content

Instantly share code, notes, and snippets.

View webframp's full-sized avatar

Sean Escriva webframp

View GitHub Profile
@webframp
webframp / test.md
Created September 24, 2019 00:56
a sample md file

Title

Subheading

a url A site was established by CNAME record domain DNS.

A list of long items

  • Create: a really long command line tool example that goes to far past the 80 character limit
@webframp
webframp / zsh_to_fish.py
Created September 4, 2018 22:11 — forked from dvdbng/zsh_to_fish.py
Migrate zsh history to fish
import os
import re
def zsh_to_fish(cmd):
return (cmd.replace('&&', '; and ')
.replace('||', '; or '))
def is_valid_fish(cmd):
@webframp
webframp / ConEmu-gruvbox.md
Created November 22, 2017 03:10 — forked from circleous/ConEmu-gruvbox.md
gruvbox color schemes [ConEmu]

gruvbox dark

gruvbox_dark

@webframp
webframp / Dockerfile
Created October 5, 2017 13:40
webframp/sphinx-doc Dockerfile
FROM alpine:latest
LABEL maintainer="sean.escriva@gmail.com"
ENV SPHINX_VERSION='1.6.4'
RUN apk add --update python3 make bash && \
ln -s /usr/bin/python3 /usr/bin/python && \
ln -s /usr/bin/pip3 /usr/bin/pip && \
rm -rf /var/cache/apk/*
@webframp
webframp / linkerd.yaml
Last active September 29, 2017 17:59
simple starter linkerd k8s objects
---
apiVersion: v1
kind: ConfigMap
metadata:
name: l5d-config
data:
config.yaml: |-
admin:
ip: 0.0.0.0
port: 9990
@webframp
webframp / .tmux.conf
Created August 24, 2017 01:56
Simplistic tmux configs, one themed, one without
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 July 25, 2017 18:14
Signing git commits on github using keybase.io gpg key

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 July 20, 2017 19:03
rubyc testing for a dead simple app
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...
@webframp
webframp / keybase.md
Created February 16, 2017 05:38
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 December 7, 2016 16:29
Functions to recover information from binary Device Guard Code Integrity policies.
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