Skip to content

Instantly share code, notes, and snippets.

@elsewhat
elsewhat / shell.html
Created April 25, 2012 10:41
sapui5 beta - Shell component running on phonegap
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>sap.ui.ux3.Shell Test</title>
<script src="sapui5/resources/sap-ui-core.js"
type="text/javascript"
id="sap-ui-bootstrap"
@elsewhat
elsewhat / shell_min.html
Created April 27, 2012 08:28
SAPUI5 beta - Simple Shell component
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Simple sap.ui.ux3.Shell</title>
<script src="/sapui5/resources/sap-ui-core.js"
type="text/javascript"
id="sap-ui-bootstrap"
@elsewhat
elsewhat / thing_min.html
Created April 27, 2012 12:20
SAPUI5 beta - Simple Thing Inspector component
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>SalesOrder sap.ui.ux3.ThingInspector</title>
<script src="/sapui5/resources/sap-ui-core.js"
type="text/javascript"
id="sap-ui-bootstrap"
@elsewhat
elsewhat / feed_min.html
Created April 27, 2012 13:07
SAPUI5 beta - Simple feed
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>SAPUI5 sap.ui.ux3.Feed</title>
<script src="/sapui5/resources/sap-ui-core.js"
type="text/javascript"
@elsewhat
elsewhat / contacts.html
Created April 30, 2012 10:38
sapui5 beta - databinding
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>sapui5 databinding</title>
<script src="/sapui5/resources/sap-ui-core.js"
type="text/javascript"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.ui.commons,sap.ui.table"
data-sap-ui-theme="sap_goldreflection">
@elsewhat
elsewhat / index.html
Created May 11, 2012 13:39
PhoneGap and SAPUI5 index file
<html>
<head>
<title></title>
<script type="text/javascript" charset="utf-8" src="phonegap/cordova-1.6.0.js"></script>
<script id="sap-ui-bootstrap"
type="text/javascript"
src="sapui5/resources/sap-ui-core.js"
data-sap-ui-theme="sap_platinum"
@elsewhat
elsewhat / FeedResource.java
Created May 19, 2012 14:10
FeedResource (Jersey REST API)
package no.bouvet.sap.neo.rest;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.naming.InitialContext;
import javax.naming.NamingException;
@elsewhat
elsewhat / curl.txt
Created May 19, 2012 14:14
CURL FeedResource Output
$ curl -i http://localhost:8080/feed_stream/api/feed/
HTTP/1.1 200 OK
Content-Type: application/json
Transfer-Encoding: chunked
Date: Sat, 19 May 2012 14:10:50 GMT
Server: SAP
{"feedEntry":[{"id":"1","isComment":"false","senderEmail":"dagfinn.parnas@bouvet
.no","senderName":"Dagfinn","text":"First!"},{"id":"2","isComment":"false","send
erEmail":"dagfinn.parnas@gmail.com","senderName":"Dagfinn","text":"This is an ex
@elsewhat
elsewhat / gist:4525762
Last active December 11, 2015 01:48
Ingress Pontifax code testing Output can be found here: https://docs.google.com/document/d/1Z2Baw94tlcoRODV_g89nOy2FgI6Dvx-vy6eV8Wpwpus/edit
// SolitaireCipher.java
// Copyright (C) 1999 Jeff Gold
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation; either version 2 of the
// License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
<!DOCTYPE HTML>
<html>
<head>
<title>Tree Event</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script src="resources/sap-ui-core.js"
type="text/javascript"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.ui.commons"
data-sap-ui-theme="sap_goldreflection">