Skip to content

Instantly share code, notes, and snippets.

View steinermatt's full-sized avatar

Matthias Steiner steinermatt

View GitHub Profile
@steinermatt
steinermatt / iterm2-solarized.md
Created November 17, 2019 11:26 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@steinermatt
steinermatt / keybase.md
Created February 18, 2016 10:32
keybase.md

Keybase proof

I hereby claim:

  • I am steinermatt on github.
  • I am steinermatt (https://keybase.io/steinermatt) on keybase.
  • I have a public key whose fingerprint is 8887 F108 8CFC 84FC 3086 002E CDDE 4AAF CBDD C373

To claim this, I am signing this object:

import json
import urllib
import urllib2
import time
""" Nike plus activity log
https://developer.nike.com
Output:
-- May --
@steinermatt
steinermatt / enunciate.xml
Created October 16, 2014 15:06
enterprise-granny: enunciate.xml
<?xml version="1.0"?>
<enunciate label="Enterprise Granny" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://enunciate.codehaus.org/schemas/enunciate-1.28.xsd">
<namespaces>
<namespace id="Addressbook" uri="http://api.enterprise-granny.samples.cloud.sap.com/model" />
</namespaces>
<services>
<rest defaultRestSubcontext="/api/v1" />
@steinermatt
steinermatt / index.html
Created June 24, 2014 07:42
SAP UI5 - Hello World (RDE Getting started)
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Hello World</title>
<script src="resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.ui.commons"
data-sap-ui-theme="sap_goldreflection">
</script>
@steinermatt
steinermatt / dest_sflight.jcoDestination
Last active August 29, 2015 13:59
SAP HANA Cloud Platform - RFC-based connectivity (dest_sflight)
#Tue Apr 15 09:43:56 UTC 2014
Name=dest_sflight
Type=RFC
jco.client.r3name=FLI
jco.client.group=PUBLIC
jco.client.lang=EN
jco.destination.repository.user=DEVELOPER
jco.client.cloud_connector_version=2
jco.client.user=DEVELOPER
jco.client.client=001
@steinermatt
steinermatt / com.sap.cloudlabs.connectivity.sflight.FlightService (extract)
Created April 15, 2014 09:03
SAP HANA Cloud Platform - RFC-based connectivity - FlightService skeleton
@Service("flightService")
@Path("/flight.svc")
@Produces({ "application/json" })
public class FlightService {
@GET
@Path("/flights/{cityFrom}/{cityTo}")
@Produces("application/json")
public String getFlightList(@Context HttpServletRequest req, @PathParam("cityFrom") String cityFrom,
@PathParam("cityTo") String cityTo)
@steinermatt
steinermatt / pom.xml (extract)
Created April 15, 2014 08:56
SAP HANA Cloud Platform - RFC-based connectivity (extract of pom.xml)
<!-- Apache CXF -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>${org.apache.cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${org.apache.cxf.version}</version>
@steinermatt
steinermatt / settings.xml
Created April 14, 2014 07:43
SAP HANA Cloud Platform - Maven proxy configuration in settings.xml
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository/>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
<servers/>
@steinermatt
steinermatt / hello_world_servlet_snippet
Last active August 29, 2015 13:58
SAP HANA Cloud Platform - "Hello World" servlet
/**
* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
response.getWriter().println("Hello World!");
}