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
/* | |
____ _ _ _ _ _ _ _ | |
/ ___|| |_ _ __(_)_ __ ___ | | | | |_(_) |___ | |
\___ \| __| '__| | '_ \ / _ \ | | | | __| | / __| | |
___) | |_| | | | |_) | __/ | |_| | |_| | \__ \ | |
|____/ \__|_| |_| .__/ \___| \___/ \__|_|_|___/ | |
|_| | |
Purpose: |
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
:root { | |
--min-item-width: 28ch; | |
--max-item-width: .5fr; | |
--grid-spacing: .25rem; | |
--item-padding: .25rem; | |
} | |
/* Let items expand on small screens */ | |
@media (max-width: 600px) { | |
:root { |
This is a bash script that will automatically turn your wifi off if you connect your computer to an ethernet connection and turn wifi back on when you unplug your ethernet cable/adapter. If you decide to turn wifi on for whatever reason, it will remember that choice. This was improvised from this mac hint to work with Yosemite, and without hard-coding the adapter names. It's supposed to support growl, but I didn't check that part. I did, however, add OSX notification center support. Feel free to fork and fix any issues you encounter.
Most the credit for these changes go to Dave Holland.
- Mac OSX 10+
- Administrator privileges
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
#!/usr/bin/env python | |
""" | |
Script to poll grabaseat.co.nz for cheap flights to and from conferences | |
Written by Sam Collinson ([email protected]) on 19/08/10 | |
** Updated 17/07/12 with new URL | |
""" | |
import urllib, urllib2 | |
from datetime import datetime, date | |
from sys import version_info |