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 -e | |
| # Quick start-stop-daemon example, derived from Debian /etc/init.d/ssh | |
| NAME=blink | |
| DIR=/home/pi | |
| PIDFILE=/home/pi/$NAME.pid | |
| DAEMON=/home/pi/pi_gpio_hack.py | |
| DAEMON_ARGS="[[31,0,37,1],[31,1,37,0]]" | |
| STOP_SIGNAL=INT |
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
| console.log('Loading event'); | |
| // Twilio Credentials | |
| var accountSid = ''; | |
| var authToken = ''; | |
| var fromNumber = ''; | |
| var https = require('https'); | |
| var queryString = require('querystring'); |
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
| /** | |
| * @author Karina Mies | |
| * @description Mirrors the input of an textfield, identified by id | |
| */ | |
| jQuery.fn.mirrorValue = function(){ | |
| return this.each(function(){ | |
| var lCurrentText, lId, lMirrorClass; | |
| jQuery(this).keyup(function(e) { | |
| lId = '#'+jQuery(this).attr('id'); | |
| lMirrorClass = '.'+jQuery(this).attr('id')+'-mirror'; |