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
<%-- | |
Place this file in /apps/foundation/components/page to use the new Google Analytics async | |
tracking code as described here: | |
http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html | |
--%> | |
<%@page session="false"%> | |
<script type="text/javascript"> | |
(function() { | |
var ga = document.createElement('script'); | |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
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
<%@include file="/libs/wcm/global.jsp" %><% | |
%><head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<meta http-equiv="keywords" content="<%= WCMUtils.getKeywords(currentPage) %>"> | |
<cq:include script="/libs/wcm/init/init.jsp"/> | |
<% currentDesign.writeCssIncludes(out); %> | |
<title><%= currentPage.getTitle() == null ? currentPage.getName() : currentPage.getTitle() %></title> | |
<%-- The queue of page events described here --> | |
<cq:include script="/apps/foundation/components/analytics.google.queue.jsp"/> | |
</head> |
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
<%-- | |
Place this file in /apps/foundation/components/page/ to use the new Google Analytics async | |
tracking code as described here: | |
http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html | |
--%> | |
<%@page session="false"%> | |
%><script type="text/javascript"> | |
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', '<%= request.getAttribute("analyticsSnippet") %>']); | |
_gaq.push(['_trackPageview']); |
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
package uk.co.diffa.cq.qrcode; | |
import java.io.IOException; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
/** | |
* |
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
import org.junit.Test; | |
import org.junit.runner.RunWith; | |
import org.junit.runners.JUnit4; | |
import static org.junit.Assert.*; | |
@RunWith(JUnit4.class) | |
public class TestNullify { | |
@Test |
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
import java.util.Map; | |
import javax.ws.rs.core.MediaType; | |
import javax.ws.rs.core.MultivaluedMap; | |
import com.fasterxml.jackson.annotation.JsonCreator; | |
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | |
import com.fasterxml.jackson.annotation.JsonProperty; | |
import com.sun.jersey.api.client.Client; | |
import com.sun.jersey.api.client.WebResource; |
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
package com.sample.osgi; | |
import java.util.Map; | |
import org.apache.felix.scr.annotations.Activate; | |
import org.apache.felix.scr.annotations.Component; | |
import org.apache.felix.scr.annotations.Modified; | |
import org.apache.felix.scr.annotations.Property; | |
@Component(label = "Service Label", description = "Service Description", metatype = true, immediate = true) |
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
package com.test; | |
import java.io.File; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.ie.InternetExplorerDriver; | |
public class SeleniumTest { |
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
libraries.add( | |
{ text: 'My Libraries', | |
scripts: [ {text: 'h5validate', url: 'https://raw.github.com/dilvie/h5Validate/master/jquery.h5validate.js' } ] | |
} | |
); |
OlderNewer