Skip to content

Instantly share code, notes, and snippets.

View dpausp's full-sized avatar

Tobias Stenzel dpausp

View GitHub Profile
def convert_textile_to_markdown(textile)
require 'tempfile'
# Redmine support @ inside inline code marked with @ (such as "@git@github.com@"), but not pandoc.
# So we inject a placeholder that will be replaced later on with a real backtick.
tag_code = 'pandoc-unescaped-single-backtick'
textile.gsub!(/@([\S]+@[\S]+)@/, tag_code + '\\1' + tag_code)
# Drop table colspan/rowspan notation ("|\2." or "|/2.") because pandoc does not support it
# See https://github.com/jgm/pandoc/issues/22
@dpausp
dpausp / ekklesiaid.md
Last active August 7, 2018 12:04
OAuth2 Web Flow Ekklesia-ID-Server
import sys
import logging
logging.basicConfig(level=logging.DEBUG)
from IPython.core.display import display, HTML
from requests_oauthlib import OAuth2Session
from oauthlib.oauth2 import LegacyApplicationClient

Keybase proof

I hereby claim:

  • I am dpausp on github.
  • I am escap (https://keybase.io/escap) on keybase.
  • I have a public key ASDpZ10qX_56fEjGB3dxImgzJPqrjoNj9e3I38pKlOLeYwo

To claim this, I am signing this object:

PLEASE DON'T GIVE UP
(1) DO ,1 <- #11
DO COME FROM (2)
DO ,1SUB#6 <- #198
DO ,1SUB#7 <- #34
DO ,1SUB#8 <- #56
PLEASE DO ,1SUB#9 <- #128
DO ,1SUB#10 <- #136
(3) DO ,1SUB#11 <- #30

Bla

  • rogkrog
  • rokrokgr
  • wrflwrg

Text