Skip to content

Instantly share code, notes, and snippets.

Avatar

Brian Lefler BrianLefler

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am brianlefler on github.
  • I am lefler (https://keybase.io/lefler) on keybase.
  • I have a public key ASCwcsxaZTYwfFOP2NOAkhaKfE9aIYll3kviqzkHGm6_jQo

To claim this, I am signing this object:

@BrianLefler
BrianLefler / memusg
Created Aug 20, 2016 — forked from netj/memusg
memusg -- Measure memory usage of processes
View memusg
#!/usr/bin/env bash
# memusg -- Measure memory usage of processes
# Usage: memusg COMMAND [ARGS]...
#
# Author: Jaeho Shin <netj@sparcs.org>
# Created: 2010-08-16
############################################################################
# Copyright 2010 Jaeho Shin. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
@BrianLefler
BrianLefler / count-matching-lines-driver.sh
Created Aug 20, 2016 — forked from mbland/count-matching-lines-driver.sh
Proof-of-concept bash-only implementation of 'grep -o $exp | sort | uniq -c'
View count-matching-lines-driver.sh
#! /bin/bash
#
# Driver for the count-matching-lines script
#
# Author: Mike Bland <mbland@acm.org>
# https://mike-bland.com/, https://github.com/mbland/
# Date: 2016-08-19
usage() {
local message