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
| " Takes some settings | |
| " g:puppet_command The location of the puppet command | |
| if !exists('g:puppet_command') | |
| let g:puppet_command = 'puppet' | |
| endif | |
| " g:puppet_doc_widown - The type of puppet doc window to open | |
| if !exists('g:puppet_doc_window') | |
| let g:puppet_doc_window = 'split' | |
| endif |
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/sbin/nfsiostat 2012-04-09 13:21:11.000000000 +0100 | |
| +++ nfsiostat 2013-01-03 16:28:11.564087330 +0000 | |
| @@ -22,6 +22,8 @@ | |
| """ | |
| import sys, os, time | |
| +import socket | |
| +from datetime import datetime | |
| from optparse import OptionParser, OptionGroup | |
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/sbin/nfsiostat 2012-04-09 13:21:11.000000000 +0100 | |
| +++ nfsiostat.collectd 2013-01-16 16:23:24.020173069 +0000 | |
| @@ -22,6 +22,8 @@ | |
| """ | |
| import sys, os, time | |
| +import socket | |
| +from datetime import datetime | |
| from optparse import OptionParser, OptionGroup | |
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 upload the human calendar to an lcdstatus screen | |
| # Requires the python lcdstatus screen library at: | |
| # https://github.com/dangardner/pylcdsysinfo | |
| # Written by John Cooper 2013 | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or |
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 | |
| import scraperwiki | |
| import requests | |
| import lxml.html | |
| import sys | |
| from datetime import datetime | |
| base_url='http://www.environment-agency.gov.uk' |
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 | |
| import time | |
| from time import sleep | |
| import Adafruit_Nokia_LCD as LCD | |
| import Adafruit_GPIO.SPI as SPI | |
| import Adafruit_BBIO.GPIO as GPIO | |
| import Image |
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 | |
| import time | |
| from time import sleep | |
| import Adafruit_Nokia_LCD as LCD | |
| import Adafruit_GPIO.SPI as SPI | |
| import Adafruit_BBIO.GPIO as GPIO | |
| import Image |
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
| Verifying myself: My Bitcoin username is +choffee. https://onename.io/choffee |
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
| /* | |
| Rainbowduino v3.0 Library examples : Mood Lamp | |
| */ | |
| #include <Rainbowduino.h> | |
| // HSV to RGB array generated using the following perl script |
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
| // This #include statement was automatically added by the Spark IDE. | |
| #include "MQTT/MQTT.h" | |
| // Define the pins we're going to call pinMode on | |
| const int led_red = A5; | |
| const int led_green = A4; // This one is the built-in tiny one to the right of the USB jack | |
| const int led_blue = A6; | |
| const int number_of_inputs = 4; | |
| int inputs[] = { D1, D2, D3, D4}; |