Skip to content

Instantly share code, notes, and snippets.

View ricma's full-sized avatar

Martin Richter ricma

  • University of Nottingham
  • Nottingham, United Kingdom
View GitHub Profile
@ricma
ricma / index.html
Last active March 15, 2017 12:05
Sapui5 NavigationBar ToolTip Issue http://scn.sap.com/thread/3594866
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<script src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.ui.commons,sap.suite.ui.commons"
data-sap-ui-theme="sap_bluecrystal"
@ricma
ricma / index.html
Last active August 29, 2015 14:04
SAPUI5 Rendering problem: sap.m.Table inside sap.m.Page (see also this question: http://scn.sap.com/thread/3595325)
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<script src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m,sap.me,sap.ui.ux3"
data-sap-ui-theme="sap_bluecrystal"
@ricma
ricma / oDataBindingTest.html
Last active August 29, 2015 14:05
Demonstrate issue with binding in ODataModels in sapui5/openui5: Binding aggregations to properties, see http://scn.sap.com/thread/3613164
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
<script src='https://openui5.hana.ondemand.com/resources/sap-ui-core.js'
id='sap-ui-bootstrap'
data-sap-ui-libs='sap.ui.commons'
data-sap-ui-theme='sap_goldreflection'
@ricma
ricma / 16472053.Dissertation_Steve_main.pdf.xml
Last active August 29, 2015 14:06
Annotations for Steve's Dissertation
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE documentInfo>
<documentInfo url="/home/martin/Dissertation_Steve_main.pdf">
<pageList>
<page number="3">
<annotationList>
<annotation type="1">
<base creationDate="2014-09-20T15:43:02" uniqueName="okular-3-1" author="Martin Richter" contents="etwas nüchtern - vielleicht anders beginnen:&#xa;&#xa;In recent years a special kind of solids, aliminum nitrides (AlN), were shown to have very interesting properties ... blabla ... Therefore, this work concentrates on AlN compounds with special focus on ..." modifyDate="2014-09-20T15:43:02" color="#ffff00">
<boundary l="0.779736" r="0.809736" b="0.180717" t="0.159502"/>
<window width="0" flags="-1" title="" left="0" height="0" summary="Note" top="0"/>
@ricma
ricma / exampleWebSocket.html
Created November 21, 2014 00:35
Example Websocket usage with Sapui5
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<script src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.ui.commons,sap.ui.table"
data-sap-ui-theme="sap_bluecrystal"
@ricma
ricma / Readme.md
Last active August 29, 2015 14:19
Test binding in Clojure App using Seesaw

Problem

In this other app I keep getting a IllegalStateException: Attempt to mutate in notification. Maybe this simplified example helps me solving it!

Running it

Simply type lein run.

@ricma
ricma / bashrc.sh
Created October 8, 2015 21:07 — forked from wadouk/bashrc.sh
Maven console in color
PURPLE=$(echo -en "\033[35m")
GREEN=$(echo -en "\033[32m")
RED=$(echo -en "\033[31m")
YELLOW=$(echo -e "\033[33m")
BLUE=$(echo -e "\033[1;34m")
NORMAL=$(echo -e "\033[0m")
mvn2() {
mvn $* | sed \
-e "s/^\(.ERROR. .*\)$/$RED\1$NORMAL/ ; #contain ERROR start 2nd char
@ricma
ricma / 2022_mch_badge.org
Created July 25, 2022 14:58
First steps with MCH2022 Badge