This file contains 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/sh | |
# Patch OpenHAB Bluetooth Binding For Linux | |
# | |
# Description: Patches the bluetooth binding compiled for OpenHAB with the | |
# libraries needed to run on Linux. You should change the path to Java below | |
# in the JAVA_BIN enviornmental variable. | |
# | |
# PLACE THIS SCRIPT IN AN EMPTY DIRECTORY WITH THE OPENHAB BLUETOOTH BINDING! | |
# |
This file contains 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__ = 'richbeales' | |
from datetime import datetime, timedelta | |
import unittest | |
DATE_FORMAT = "%d/%m/%Y %H:%M:%S" | |
SHORT_FORMAT = "%d/%m/%Y" | |
class TimeParser(object): | |
def setup(self): | |
# 1 = unlock |
This file contains 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
(Inner Exception) | |
Date and Time: 13/03/2012 12:10:59 | |
Machine Name: VM1 | |
IP Address: 1.2.3.4 | |
Current User: MYCO\account-test | |
Application Domain: MyCompany.MyProgram.exe | |
Assembly Codebase: file:///C:/Program Files/MyCompany/MyProgram/MyCompany.MyProgram.exe | |
Assembly Full Name: MyCompany.MyProgram, Version=7.2.8.0, Culture=neutral, PublicKeyToken=null | |
Assembly Version: 7.2.8.0 |