Skip to content

Instantly share code, notes, and snippets.

View imbrianj's full-sized avatar
🕴️

Brian Johnson imbrianj

🕴️
  • Free Agent
  • Seattle
View GitHub Profile
@imbrianj
imbrianj / SmarterThermostat.groovy
Last active August 29, 2015 14:20
Smarter Thermostat
/**
* Smarter Thermostat
*
* Copyright 2015 Brian J.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@imbrianj
imbrianj / pushover.js
Last active March 2, 2018 06:06
Half-working library-less Pushover function.
/*
* To use:
* require('pushover').send({token: 'xxxx', userKey: 'xxxx', text: 'message', payload: myRawImage});
*/
module.exports = (function () {
'use strict';
return {
/**
* Prepare a request for command execution.