Skip to content

Instantly share code, notes, and snippets.

@juanpaulo
juanpaulo / calendar.xml
Created April 8, 2016 03:57
OPTIONS /rest/calendar-services/1.0/calendar HTTP/1.1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<application xmlns="http://research.sun.com/wadl/2006/10">
<doc xmlns:jersey="http://jersey.java.net/" jersey:generatedBy="Jersey: 1.8-atlassian-16 03/23/2015 10:20 PM"/>
<resources base="https://{confluence host}/rest/calendar-services/1.0/">
<resource path="calendar">
<resource path="events">
<method name="DELETE" id="deleteEvent">
<response>
<representation mediaType="application/json"/>
</response>
@derhuerst
derhuerst / _.md
Last active April 9, 2024 11:06
List of HAFAS API Endpoints
@mdaniel
mdaniel / git-svn-revmap.awk
Created March 1, 2012 21:40
regenerate git-svn .rev_map file
#! /usr/bin/env gawk -f
# git --no-pager log | gawk -f this-script > revmap.txt
# xxd -c 24 -r revmap.txt \
# .git/svn/refs/remotes/trunk/.rev_map.cfe28804-0f27-0410-a406-dd0f0b0b656f
# 0000000: 0000 0001 cce6 285e 48e1 e3cc 0d7d 0617 beb0 4e88 a126 8634
# 0000018: 0000 0006 6e4f ada4 bed4 6660 c987 dc74 1243 8973 16cc c810
BEGIN {
FS=" "
# this number comes from ``git --no-pager log | grep ^commit | wc -l``
# and is ZERO-indexed because the last xxd will begin with 0000