Skip to content

Instantly share code, notes, and snippets.

View trambopoline's full-sized avatar

Devin Dodson trambopoline

View GitHub Profile
@trambopoline
trambopoline / override.css
Created April 12, 2019 17:29
CSS override for Bugzilla 4.4. I implement it with a Chrome custom CSS extension ( "User JavaScript and CSS" ).
/* This is my override CSS for Bugzilla 4.4. It's essentially the "Dusk" skin, with some tweaks to the layout. Just trying to make things a little easier to look at.
*/
html{
height:100%;
}
body {
display: flex;
flex-direction: column;
@trambopoline
trambopoline / pyscript.py
Created March 26, 2019 23:19 — forked from nhoffman/pyscript.py
Python script template
#!/usr/bin/env python
"""A simple python script template.
"""
from __future__ import print_function
import os
import sys
import argparse
@trambopoline
trambopoline / shared.bashrc
Last active September 15, 2018 18:10
A cross-platform .bashrc file that can be placed in a shared location ( Google Drive, Dropbox, etc... ) and loaded from the primary .bashrc. Thanks to https://stackoverflow.com/questions/3466166/how-to-check-if-running-in-cygwin-mac-or-linux/17072017#17072017 for the cross-platform logic.
# To include this file's content in your shell:
# Put the commented out chunk below in your primary .bashrc ( usually located at ~/.bashrc ) and ensure it points to this file
# include shared .bashrc if it exists
# if [ -f ~/path/to/shared.bashrc ]; then
# . ~/path/to/shared.bashrc
# else
# echo "Error: Could not find shared bash file."
# fi
@trambopoline
trambopoline / spotify.desktop
Created June 30, 2017 19:08
Spotify desktop shortcut with media controls. Pretty much identical to the one shown on http://www.omgubuntu.co.uk/2016/03/control-spotify-linux-unity-quicklist, but with icons added.
[Desktop Entry]
Name=Spotify
GenericName=Music Player
Comment=Spotify streaming music client
Icon=spotify-client
Exec=spotify %U
TryExec=spotify
Terminal=false
Type=Application
Categories=Audio;Music;Player;AudioVideo;