Skip to content

Instantly share code, notes, and snippets.

View elvisimprsntr's full-sized avatar

Elvis elvisimprsntr

View GitHub Profile
@elvisimprsntr
elvisimprsntr / siriproxy
Last active December 21, 2017 23:53
SiriProxy init.d script. 1. Copy to /etc/init.d directory 2. chmod a+x siriproxy 3. update-rc.d siriproxy defaults 4. reboot Use the siriproxylog version if you want to enable logging to a file.
#!/bin/bash
#
# This starts and stops SiriProxy
#
### BEGIN INIT INFO
# Provides: siriproxy
# Required-Start: $all
# Required-Stop:
# Short-Description: SiriProxy
# Description: SiriProxy Server
@elvisimprsntr
elvisimprsntr / siriproxy-isy99i
Last active December 15, 2015 07:49
Add Kyle's ISY plugin the easy way
- Create a plugins directory
`mkdir ~/plugins`
`cd ~/plugins/`
- Get the latest repo
`git clone git://github.com/kylethedude/siriproxy-isy99i`
@elvisimprsntr
elvisimprsntr / siriproxy-raspberrypi.txt
Last active January 4, 2019 00:45
SiriProxy running on a Raspberry Pi computer.
# $Header: /root/RCS/siriproxy-raspberrypi.txt,v 1.9 2013/11/09 08:11:00 root Exp $
# $Log: siriproxy-raspberrypi.txt,v $
# Revision 1.9 2013/11/09 08:11:00 root
# updated for latest RVM which installs dependencies and Ruby by default
#
# Revision 1.8 2013/03/22 20:41:20 root
# updated for Ruby 2.0.0 and SiriProxy 0.5.2
#
# Revision 1.7 2012/12/31 04:42:57 root
# shorter URL for newark and typos
@elvisimprsntr
elvisimprsntr / elk_interrogate.sh
Created November 10, 2012 21:14
Bash scripts for the REST interface for the ISY99i
#!/bin/bash
read -p "Enter ISY IP address or hostname: " ISYIP
read -p "Enter ISY user ID: " USER
read -p "Enter ISY password: " PASS
read -p "Enter Elk code: " CODE
@elvisimprsntr
elvisimprsntr / siriproxy-dreamplug.txt
Created November 9, 2012 14:49
SiriProxy running on a Marvell DreamPlug computer.
# $Header: /root/RCS/siriproxy-dreamplug.txt,v 1.2 2012/08/01 14:03:34 root Exp $
# $Log: siriproxy-dreamplug.txt,v $
# Revision 1.2 2012/08/01 14:03:34 root
# add rvm install step
#
# Revision 1.1 2012/08/01 13:44:56 root
# Initial revision
#
#
# DESCRIPTION: SiriProxy running on a Marvell DreamPlug computer.
@elvisimprsntr
elvisimprsntr / siriproxy-ubuntu-server.txt
Created October 31, 2012 07:09
SiriProxy running on Ubuntu Server 12.10
# $Header: /root/RCS/siriproxy-ubuntu-server.txt,v 1.6 2012/11/05 04:09:10 root Exp $
# $Log: siriproxy-ubuntu-server.txt,v $
# Revision 1.6 2012/11/05 04:09:10 root
# updated dns redirect
#
# Revision 1.5 2012/11/03 10:10:08 root
# moved root pw section again
#
# Revision 1.4 2012/11/02 08:55:23 root
# added step to remove user account
@elvisimprsntr
elvisimprsntr / redeye_interrogate.sh
Created October 26, 2012 21:48
Bash script for the REST interface of Thinkflood's RedEye
#!/bin/bash
read -p "Enter RedEye IP address or hostname: " REIP
# define variables
RESTURL=http://$REIP:8080/redeye
RESTLOG=redeye_interrogate.log
# define function
@elvisimprsntr
elvisimprsntr / siriproxy-sheevaplug.txt
Created October 14, 2012 21:38 — forked from plamoni/gist:1428474
SiriProxy running on a Marvell SheevaPlug computer
# $Header: /root/RCS/siriproxy-sheevaplug.txt,v 1.9 2012/10/31 07:18:22 root Exp $
# $Log: siriproxy-sheevaplug.txt,v $
# Revision 1.9 2012/10/31 07:18:22 root
# removed rvmsudo
#
# Revision 1.8 2012/10/21 01:52:02 root
# added steps to install apache web server
#
# Revision 1.7 2012/10/18 03:33:27 root
# added missing apt-get package and updated steps for libyaml warning message