Skip to content

Instantly share code, notes, and snippets.

@mando
mando / hoot.md
Last active November 10, 2023 17:13
4 months into working at GW and I thought I knew what I was doing. I think Jenn asked if I could write something for the blog about the engineering org, so I came up with this. It's still a little right, just mostly incomplete.

AUSTIN, SIX MONTHS INTO A GLOBAL PANDEMIC

Hayes:

Ben Affleck quote from The Town: "I need your help.  I can't tell you what it is..."

Me:

Jeremey Renner quote from The Town: "Whose car are we gonna take?"

@mando
mando / README.md
Last active July 22, 2020 18:06
how to cleanup your Opera tabs from the CLI

how to cleanup your Opera tabs from the CLI

If you're like me, you have many, many tabs open. Sometimes, you might like to close all the stupid tabs you don't need, like those ding-dang leftover zoom tabs or all the jira tabs you opened in anger the night before.

This one kinda got away from me, not gonna lie.

Special thanks to https://gist.github.com/rentzsch/1047967 for the starting point

Examples

@mando
mando / OTDC.md
Last active December 12, 2023 14:40
Old Timer Drinking Club

Y'all, I'm feeling awful wistful and nostalgic these days.

For a bit, I thought I missed the old days of Austin on Rails but, just between you and me, I just miss y'all. I miss spending an evening at the pub with you folks, dishing that hot goss and planning schemes and dreaming big dreams.

It's no secret what happened - life and kids and work and shifts in priority. I get it. We all get it.

You can't step into the same river twice, said Heraclitus. I say we prove that jerk wrong.

Let's get together and sit and drink and talk and think and scheme and dream - add a comment if you're interested along with dates and times that work for you. This ain't a democracy but we can do our best to accomodate the most we can. This also ain't exclusionary - if you're reading this and don't feel like you were a part of the OG AoR scene but for some reason want to join us, you're heckin invited too. I've got a drink and a smile for all y'all.

Don't Fear The Reaper by B.O.C
Black Magic Woman by Santana
Evil Woman by ELO
Hungry Like The Wolf by Duran Duran
Howlin' For You by The Black Keys
Running With The Devil by Van Halen
Dragula by Rob Zombie
Zombie by the Cranberries
Sympathy For The Devil by the Rolling Stones
Lucifer by Jay Z
@mando
mando / decimal_degree.rb
Last active January 21, 2016 00:51
Decimal degrees to minute/seconds degrees
class DecimalDegree
# logic from http://mathforum.org/sarah/hamilton/ham.degrees.html
attr_accessor :decimal
def initialize(decimal)
@decimal = decimal.to_f
end

This is a test. How will this show up?

$ head pg98.txt | ruby -ne 'puts $_.split(" ")'
Book
the
First--Recalled
to
Life
I.

The

@mando
mando / gist:d2941c0a6d11c34b828c
Last active August 29, 2015 14:04
Diffy diff OS X
bash-3.2$ diff -B <( sort A | tr [:lower:] [:upper:] ) <( sort B | tr [:lower:] [:upper:] )
2a3
> HARMONY
bash-3.2$ bash --version
GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)
Copyright (C) 2007 Free Software Foundation, Inc.
bash-3.2$ uname -a
Darwin Socrates 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
@mando
mando / vampire.rb
Created May 5, 2014 15:35
IM A VAMPIRE!
require 'pry'
class Vampire < RTanque::Bot::Brain
NAME = 'VAMPIRE'
include RTanque::Bot::BrainHelper
attr_accessor :mah_bot
def tick!
@mah_bot = nil
# Find myself

Keybase proof

I hereby claim:

  • I am mando on github.
  • I am mando (https://keybase.io/mando) on keybase.
  • I have a public key whose fingerprint is 483F 3CAA E2E4 A208 1869 C970 FB95 C90D 84F2 AABF

To claim this, I am signing this object:

Gaming with kids

For the past 6 months, the kids and I have been having a great time playing the Pathfinder RPG. We've got some awesome characters going and a great DM (ht to the imimitable Ben Kimball, but we've been looking for some games to play in-between our Pathfinder sessions.

I asked on Twitter and FB for some recommendations and was pretty over-whelmed