Skip to content

Instantly share code, notes, and snippets.

@russtaylor
russtaylor / utcclock.1s.sh
Created February 5, 2021 15:53
Displays the current UTC in the menu bar, and shows other (configurable) times in the drop down
#!/bin/bash
# Display UTC in the menubar, and one or more additional zones in the drop down.
# The current format (HH:MM:SS) works best with a one second refresh, or alter
# the format and refresh rate to taste.
#
# <bitbar.title>World Clock</bitbar.title>
# <bitbar.version>v1.0</bitbar.version>
# <bitbar.author>Adam Snodgrass</bitbar.author>
# <bitbar.author.github>asnodgrass</bitbar.author.github>
@russtaylor
russtaylor / ticket.1m.sh
Last active February 5, 2021 15:56
BitBar Script to display a Jira ticket in the menu bar
#!/bin/bash
#
# Displays the current Ticket ID in the title bar, with options to
# copy to clipboard or go to the URL.
#
# echo 'PROJ-123' > ~/ticket.txt to update the ticket number, or
# create a bash alias/function to do so.
#
# I have the following bash function in my environment, so I can simply
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDG0j3gZOv1NeB/oHasuGLor73KieQFv2haqfHL+8My2BaliCtdelW8CxLkbZe3tjJ/8Nh2q8wry9nhv7IyRQGRFGpbB+EnUSvqKhuLxzfQav/2Gl8
z0dInuic3DT3BHkfT+RLFZlHk301X8yF+vsWuOd78k9YLNPrd62JiNFn5VuFXmkXpH3tmciWmGu+svCH5I87mXDmJhXH7KRuFUtu+cclgKsHAqidxUXCWObiYTkghKfGHi8AxWh0GL3dXi3UPXJtkJT
FK+x7W6QKAXoxviMO5JbCzG3tOwSRlBQOlzdh84wJZn2VClGEdN2QYqLUUKodUVpJOlP/tlQfONCNJ russ@Mars
@russtaylor
russtaylor / keybase.md
Created November 29, 2016 18:00
keybase.md

Keybase proof

I hereby claim:

  • I am russtaylor on github.
  • I am russjt (https://keybase.io/russjt) on keybase.
  • I have a public key whose fingerprint is 3D5E 86CE 3656 609E CB94 A9AA D556 7E4B EC02 3763

To claim this, I am signing this object:

@russtaylor
russtaylor / delay-off.sh
Created December 3, 2013 01:57
Little script to introduce latency on all outgoing requests from my machine.
#!/bin/bash
tc qdisc del dev eth0 root