Use of the coral ui - markup from http://dev.day.com/docs/en/cq/current/touch-ui/coral-ui/index.html
A Pen by Chris Pilsworth on CodePen.
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
Use of the coral ui - markup from http://dev.day.com/docs/en/cq/current/touch-ui/coral-ui/index.html
A Pen by Chris Pilsworth on CodePen.
<?xml version="1.0" encoding="UTF-8"?> | |
<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.day</groupId> | |
<artifactId>cq5-parent</artifactId> | |
<packaging>pom</packaging> | |
<version>0.0.1-SNAPSHOT</version> | |
<dependencyManagement> | |
<dependencies> |
I hereby claim:
To claim this, I am signing this object:
<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>uk.co.diffa</groupId> | |
<artifactId>tokenize</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>Tokenize</name> | |
<dependencies> |
<!doctype html> | |
<html> | |
<body> | |
<pre id="server_events"></pre> | |
<script> | |
var socket = new WebSocket("ws://" + window.location.hostname + ":8888/"); | |
var code = document.getElementById("server_events"); | |
var msgs = 0; | |
socket.onopen = function(){ |
<%-- | |
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'; |
<%@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> |
<%-- | |
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']); |
package uk.co.diffa.cq.qrcode; | |
import java.io.IOException; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
/** | |
* |