Posts Categorized: Code

Configure Honeywell Wifi Thermostat Binding for OpenHab2

Posted by & filed under Code, DIY, Home, Java.

I started working on setting up OpenHab as a home automation hub.  My main requirement is to be able to hook up my thermostat, as everything Z-Wave looks pretty straightforward.  My thermostat is a Honeywell WiFi enabled thermostat, which links up to their My Total Connect Comfort site.  The only binding available so far ins’t […]

Tunneling Slack traffic through ssh tunnels

Posted by & filed under Code, Work.

After using Slack for about a week or so, I was suddenly greeted by a corporate IT policy that blocked the domain… Bored of not having it I found a way this morning to selectively send my traffic through an SSH tunnel, leaving all other traffic to flow through it’s normal routes on VPN.  I’m […]

Check/Read Messages Exchange/Office365 Inbox with Powershell

Posted by & filed under Code, Development, Work.

We have a process by which notifications of new users in another system, that need to get created in ours are sent via Email to a standalone inbox.  The new user emails have to be read and entered into the system based on the information provided (Name, and Email).  We get 10-20 a week, and […]

Parsing Querystring Values in Fiddler Custom Rules

Posted by & filed under Code, Development, Work.

  I’ve been hot-rodding Fiddler for some time now to make my life a lot easier when debugging my site tagging and analytics tracking requests.  You can customize just about anything within the sessions window from the color, background, custom columns to the request it actually makes.  I’d previously created a custom column called “EventType”, which […]

Connect Pentaho/Mondrian Schema Workbench to Amazon Redshift

Posted by & filed under Development, Java, Work.

The more you play with big data technologies, the more you end up circling back to the basic question “How does my end user get access/value?”.  Currently we’re using Amazon Redshift as a down and dirty query window on top of our raw data.  Recently, I’ve started to try and run Mondrian OLAP against redshift. […]

Setup Mondrian on Mac OSX

Posted by & filed under Code, Java, Work.

The Mondrian documentation is terrible, and Java isn’t something you get to easily “dabble” in.  My goal was to setup Mondrian on my Mac OSX machine, starting with Mondrian 3.5.  While trying to set up the initial FoodMart sample dataset I ran into a bunch of java errors, always something like Exception in thread “main” […]

Mysql function to get querystring parameter of url

Posted by & filed under Code, Development, SQL, Work.

Not suprisingly, most google results only returned things for doing this within some kind of PHP application.  Probably because nobody belives in MySQL as a data warehouse, or a place to parse strings… In the do with what you have environment of a startup, I do not have that luxury.  This function so far works […]

Amazon Associates Widget WordPress Plugin

Posted by & filed under Code, Development.

I’m a die-hard Amazon fanatic, and finally looked into Amazon Associates.  As you probably didn’t notice, since you’re a new visitor – I’ve added some links in posts, as well as a nifty widget in my sidebar.  I was surprised to only find a few widgets that offered to do more than just insert specific product links into posts, […]

Start synergy script Mac OSX Client to Windows Host

Posted by & filed under Code, Development, DIY, Work.

I’ve long been a synergy fan, and found that especially at work that multiple monitors work best when spread across extra computers.  It’s like physical distributed computing.  Now, part of learning how to work on a MacBook is being lazy and wanting to control it from my main windows machine, so I don’t have to do […]

Capture form submission buried in ajax/javascript and no easy event handler

Posted by & filed under Code, Development, Javascript, Uncategorized.

When trying to capture a successful form submission or user action, sometimes they are buried deep within Javascript libraries, or on page widgets, with no good way to reliably tie into their events.  These are cases where the typical onclick may not be a good enough proxy if you can’t capture failures, errors, or the […]