Skip to content

Instantly share code, notes, and snippets.

View pmlopes's full-sized avatar
🏠
Working from home

Paulo Lopes pmlopes

🏠
Working from home
View GitHub Profile
@bryanjswift
bryanjswift / UAgentInfo.java
Created March 1, 2010 09:43
User Agent detection in Java
/* *******************************************
// LICENSE INFORMATION
// The code, "Detecting Smartphones Using PHP"
// by Anthony Hand, is licensed under a Creative Commons
// Attribution 3.0 United States License.
//
// Updated 01 March 2010 by Bryan J Swift
// - Remove un-needed if statements instead just returning the boolean
// inside the if clause
//
@xlson
xlson / pom.xml
Created September 30, 2011 10:11
Example pom: GMaven with Groovy 1.8
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated from archetype; please customize. -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.xlson.example</groupId>
<artifactId>gmaven-example</artifactId>