Skip to content

Instantly share code, notes, and snippets.

theotherian

Block or report user

Report or block theotherian

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@theotherian
theotherian / Jersey Resource Filters via Custom Annotations
Last active Mar 5, 2018
A DynamicFeature implementation for binding filters to resources with Jersey 2.0, in this case flagging certain resources as not supporting Internet Explorer 6.
View Jersey Resource Filters via Custom Annotations
Files for demonstrating custom binding of Jersey resource filters using annotations
@theotherian
theotherian / Java Constant Gotchas
Last active Dec 19, 2015
Constants and how they can be misleading
View Java Constant Gotchas
Sample code for ways Java Constants may not work as you would expect
@theotherian
theotherian / Toggling Wifi via Applescript
Last active Mar 5, 2019
An AppleScript for toggling wifi on and off
View Toggling Wifi via Applescript
A script for turning wifi on and off on a Mac
View Maven Archetypes Part 1
Files for creating Maven Archetypes - part 1
View Thread Local DNS 1.0-RC3 dependency definition
XML for pom files to declare a dependency on Thread Local DNS
@theotherian
theotherian / Maven Archetypes Part 3
Created Jul 9, 2013
Maven Archetype how tos Part 3
View Maven Archetypes Part 3
Files for creating a Maven Archtype - part 3
View Hibernate WTF - joins and max results
Don't mix eager or subselect joins with max results; the by product is pretty nasty.
Subselects can select all entities in the associated table, and potentially issue an additional select for each parent, while joins often load duplicate entities due to the max results being applied to the row and not the parent.
View Start in-memory HSQLDB server
An example of creating an in-memory HSQLDB server
View Jersey 2.0 servlet dependencies
There are two dependencies that Jersey 2.0 has for adapting its application to a Servlet instance.
You can’t perform that action at this time.