This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# I sometimes browse reddit with my browser split to half of the screen. | |
# By default, the side bar (submit new link, submit a new text post, etc.) covers | |
# half the page. I remedied this by injecting my own CSS with the following extension. | |
# https://safari-extensions.apple.com/details/?id=com.sobolev.stylish-5555L95H45 | |
# | |
# Below is the exported style in JSON. | |
# Copy it to a file, save it as file.json, import in stylish. Should be good to go! | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e|--------------------------------| | |
B|--------------------------------| | |
G|--------------------------------| | |
D|--5h7---------------------------| | |
A|------7---5h7-------------------| | |
E|--------------8--7h8---5--------| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# The clock function I got from here: | |
# http://www.linuxandlife.com/2012/08/how-to-create-continuous-digital-clock.html | |
# | |
# And then I wanted a script that would terminate on 'any key' | |
# http://stackoverflow.com/questions/5297638/bash-how-to-end-infinite-loop-with-any-key-pressed | |
# | |
if [ -t 0 ]; then stty -echo -icanon -icrnl time 0 min 0; fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This is sp, the command-line Spotify controller. It talks to a running | |
# instance of the Spotify Linux client over dbus, providing an interface not | |
# unlike mpc. | |
# | |
# Put differently, it allows you to control Spotify without leaving the comfort | |
# of your command line, and without a custom client or Premium subscription. | |
# |
NewerOlder