Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:rfc="urn:sap-com:sap:rfc:functions"
xmlns:tns="http://sap.com/xi/A1S/Global"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
@saplaum
saplaum / micro-mustache.js
Created November 1, 2017 11:24 — forked from topliceanu/micro-mustache.js
John Resig's Micro Template with changed tags from <%=, %> into more mustache-esque {{= and }}
// Simple JavaScript Templating
// John Resig - http://ejohn.org/ - MIT Licensed
(function(){
var cache = {};
this.tmpl = function tmpl(str, data){
// Figure out if we're getting a template, or if we need to
// load the template - and be sure to cache the result.
var fn = !/\W/.test(str) ?
cache[str] = cache[str] ||
@saplaum
saplaum / 0. nginx_setup.sh
Created July 24, 2017 12:01 — forked from mikhailov/0. nginx_setup.sh
Nginx + secure pseudo-streaming
# Nginx can serve FLV/MP4 files by pseudo-streaming way without any specific media-server software.
# To do the custom build we use 2 modules: --with-http_secure_link_module --with-http_flv_module
# This module "secure-link" helps you to protect links from stealing away.
#
# NOTE: see more details at coderwall: http://coderwall.com/p/3hksyg
cd /usr/src
wget http://nginx.org/download/nginx-1.5.13.tar.gz
tar xzvf ./nginx-1.5.13.tar.gz && rm -f ./nginx-1.5.13.tar.gz
@saplaum
saplaum / import-contacts
Created June 7, 2017 12:06
import-contacts
import de.espirit.firstspirit.forms.FormData;
import de.espirit.firstspirit.access.UserService;
import de.espirit.firstspirit.access.store.Store;
import de.espirit.firstspirit.access.store.Store.Type;
import de.espirit.firstspirit.access.store.templatestore.Schema;
import java.io.File;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.FileInputStream;
import java.io.IOException;
@saplaum
saplaum / moment.pipe.ts
Created June 24, 2016 10:14 — forked from bostjanpisler/moment.pipe.ts
angular 2 moment pipe
import {Pipe, PipeTransform} from 'angular2/core';
import * as moment from 'moment';
/*
* Time helper using momentjs
* Usage:
* timestamp | moment:'DD.MM.YYYY'
* Defaults to 'L' - locale ie. '01/24/2016'
*/