Skip to content

Instantly share code, notes, and snippets.

View awaxa's full-sized avatar

Greg Kitson awaxa

View GitHub Profile
curl -i -H "Authorization: token deadbeef" https://api.github.com/repos/awaxa/diabot/hooks
curl -i -H "Authorization: token deadbeef" https://api.github.com/repos/awaxa/diabot/hooks/2832846
curl -i -H "Authorization: token deadbeef" -X PATCH -d '{"events":["*"]}' https://api.github.com/repos/awaxa/diabot/hooks/2832846
curl -i -H "Authorization: token deadbeef" -X POST https://api.github.com/repos/awaxa/diabot/hooks/2832846/tests
class included {
file { '/tmp/testfile':
ensure => 'file',
}
}
class my::one {
File {
mode => '0440',
}
include included
@awaxa
awaxa / -
Created August 21, 2014 23:39
.
├── .3.0.0
│   ├── ubuntu-12.04.1-pe-3.0.0-vbox.zip
│   ├── ubuntu-12.04.1-pe-3.0.0-vbox.zip.md5
│   ├── ubuntu-12.04.1-pe-3.0.0-vmware.zip
│   └── ubuntu-12.04.1-pe-3.0.0-vmware.zip.md5
├── .3.0.1
│   ├── centos-6.3-pe-3.0.1-ovf.zip
│   ├── centos-6.3-pe-3.0.1-ovf.zip.md5
│   ├── centos-6.3-pe-3.0.1-vbox.zip
@awaxa
awaxa / -
Created August 24, 2014 22:37
> hubot-diabetes@1.0.2 test /Users/awaxa/src/hubot-diabetes
> script/test

 diabetes
 ✓ registers a respond listener for "estimate a1c" 
 ✓ registers a hear listener for glucose readings 
home = /opt/boxen/homebrew/Cellar/python3/3.4.1_1/Frameworks/Python.framework/Versions/3.4/bin
include-system-site-packages = false
version = 3.4.1
@awaxa
awaxa / -
Created August 30, 2014 16:30
Whois Server Version 2.0
Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
Domain Name: GARYKITSON.COM
Registrar: ENOM, INC.
Whois Server: whois.enom.com
# Description
# Grabs the current forecast from Dark Sky
#
# Dependencies
# None
#
# Configuration
# HUBOT_DARK_SKY_API_KEY
# HUBOT_DARK_SKY_DEFAULT_LOCATION
# HUBOT_DARK_SKY_SEPARATOR (optional - defaults to "\n")
@awaxa
awaxa / README.md
Last active August 29, 2015 14:05

Hubot Dark Sky

A script to grab the forecast information from Dark Sky for Hubot

Build Status

Installation

Run npm install --save hubot-darksky

# Description:
# Allows hubot to answer almost any question by asking Wolfram Alpha
#
# Dependencies:
# "wolfram": "0.2.2"
#
# Configuration:
# HUBOT_WOLFRAM_APPID - your AppID
#
# Commands:
vendor