Skip to content

Instantly share code, notes, and snippets.

View kellya's full-sized avatar
💭
greatly disliking this status block

Alex Kelly kellya

💭
greatly disliking this status block
View GitHub Profile
#!/bin/bash
# You can call this script like this:
# $./volume.sh up
# $./volume.sh down
# $./volume.sh mute
# $./volume.sh mtoggle
device='default' #audio device
interval='5' #Percentage by which to update the volume
BEGIN MESSAGE.
Ytq1D0i4T6JN8wd 2awIM1hUQ9hitGC EkOkNDMXPABY16n JMLh5V0yLzvm6Y7
u4YfqwlgAYKCr9W 8LwwUVtn9UMTCKq 6Xr2MZHgg6yHouR AJyQbyEvHCj1LlP
VAWHiySHbN6jdcg edL6TR0Vx4n1vEk z220LIunDAAZQNg aJNqAeTC8zOs9go
6ifkLYWCigMgkjb kD5mRn0mcohOcDj ZhaCo21.
END MESSAGE.
@kellya
kellya / taskloop
Created April 26, 2018 18:19
A small script that will keep looping adding tasks to a project in taskwarrior
#!/bin/bash
#Path to task binary
TASK=/usr/local/bin/task
#Flag to break out of the while loop
CONTINUE=1
COUNT=0
TAGS='+work'
#were we given a project name? Nope? Ask for one
if [ -z $1 ];then

Keybase proof

I hereby claim:

  • I am kellya on github.
  • I am kellya (https://keybase.io/kellya) on keybase.
  • I have a public key whose fingerprint is 3379 2019 8A49 AF2D 2EB9 CA0C 6D39 F1A9 5A1F 7B28

To claim this, I am signing this object:

@kellya
kellya / toggletop.py
Created December 18, 2014 19:42
Toggle an Gnome Extension
#!/usr/bin/env python
from gi.repository import Gio
topbar = 'hidetopbar@mathieu.bidon.ca'
settings = Gio.Settings(schema='org.gnome.shell')
extensions = settings.get_strv('enabled-extensions')
if topbar in extensions:
@kellya
kellya / pip_upgrade.sh
Last active September 11, 2015 21:16
#!/usr/bin/env bash
# Defaults to pip2 unless otherwise specified
if [ "$1" = 3 ]; then
PYTHON_VERSION=3
fi
function outdated() {
# List out outdated python packages delimited by newline
pip${PYTHON_VERSION} list --outdated \