• Using a Meross Wi-Fi switch with OpenHab2

    The aim of this article to set up and configure a Meross Wi-Fi switch (I’m using an MSS310) with OpenHab2 to work in offline mode — with MQTT and no dependency on the Meross online services.

  • Oracle Data Modeler Get Logical DataType Usage

    Shows the usage of Logical DataTypes within Oracle Data Modeler:

  • Example Oracle Data Modeler Extension

    Data Modeler, along with SQL Developer and JDeveloper, has a powerful extension SDK; this allows bespoke extensions to be developed. These extension can modify workflows and access/update the internal data models of the application.

  • Oracle Data Modeler CSV Transformation Script

    Exports a subiew in a logical model to a CSV file.

  • Access your Bonjour printer over VPN from your iOS device

    Bonjour automatically locates devices such as printers, other computers, and the services that those devices offer on a local network - but only on a local network. If you need to access a device that requires Bonjour for discovery, and you are not on the same network, Bonjour needs a little help.

  • Oracle Data Modeler Transformation Script to get Logical Type by Name

    If you ever needed to change the logical data types via a transformation script, you’ll need to get the type by name. The lines below will get the logical type and place it in a variable for reuse.

  • Oracle Data Modeler Transformation Framework

    Data Modeler has a powerful javascript engine to programatically view and change items within the model. Below is a simple framework for processing the logical model.

  • Change all data types in logical models from domain to logical

    Data Modeler transformation script to change all data types in logical models from domain to logical.

  • Finding classes and methods in jar

    Recursively list every class in every jar:

  • Change Meeting Notification Time in Outlook

    Below is some sample code to automatically change the notification time of a meeting - this will overwrite what the sender has set.

  • Auto Reject Meeting Request in Outlook

    Below is some sample code to automatically reject Outlook Meetings requests at certain times.

  • Happens-Before relationship in Java

    The Happens-Before relationship is rarely properly understood, but is a vital part to parallel, or multi-threaded, programming. It explains the “how could that happen” problem that can happen with multiple running threads.

  • Add latitude and longitude coordinates to iPhone contacts

    Apple maps address searches are not great outside the US; most of the addresses I have in my contacts don’t work or are not accurate.

  • Quickly Access settings on your Mac

    Handy Tip: If you hold down the option key, while pressing a function key, the relevant Settings panel will appear. For instance if you hold option and press the volume function key, the Sounds setting will appear, if you hold option while pressing the Brightness function key, the Display settings will appear.

  • Direct Download link from Google Drive

    Sharing files with Google Drive can be very convenient, but the link that google generates, something like this:

  • Monitor Redmine, Hudson and Review Board with Growl

    A quick and dirty bash/xsl combination to allow you to watch changes in Redmine, Hudson and Review Board via Growl; this should work with any local RSS/ATOM feed.

  • Advanced scheduling of Mac OS Wake and Sleep Time

    Mac OS has a settings panel that allows you to schedule the Wake, Sleep and Shutdown time for your Mac, but there is only one schedule allowed; e.g everyday, or every Friday, or every weekend, and so on. I wanted a different wake and shutdown time for the weekend and weekdays. This is possible using cron, and the command line tool pmset.

  • XSL to re-number sequences

    Say you have an XML file, some of the elementa have attributes with sequence numbers, and you want to re-number them all consecutively, try this XSL:

  • WSDL or XSD Documenter

    Some time ago I needed to produce some documentation describing existing soap webservices. I looked into other tools that already do this, but none of them produced the output in a format that suited me, also the schema for the webservice has literally hundreds of options that were rarely or never used, or were never or no longer supported. I thought that using the existing tools would make the reader even more confused.

  • Get to the Apple Menu with keyboard shortcuts

    To get to the menu bar on a Mac, press Ctrl-F2 (Ctrl-Fn-F2 on a laptop) from there you can use the arrow keys and letter keys to open menus.

  • Get a US iTunes Account

    Firstly, you need to buy an iTunes gift card for the US store, I recommend:

  • Spring and WS-Security Example

    I recently had to put in place a public facing soap web service with Spring and WS-Security. While the tutorials on Spring Source are great, if you requirements deviate from the sample tutorials it is difficult to track down any extra information needed.

  • Simple xsl for eztz rss format

    Below is a simple xsl that accepts the xml from an eztv.rss type stream and converts this stream into a flatter structure for handling by scripting languages, such as bash etc. Currently the xsl only exports the url, and the file name, but could be altered to export more data.

subscribe via RSS