Skip to content

Instantly share code, notes, and snippets.

View wolfkarl's full-sized avatar

Karl Wolf wolfkarl

View GitHub Profile
@tempire
tempire / swift_draw_image_on_pdf.swift
Created April 25, 2015 09:24
swift draw image on pdf
func drawOnPDF(path: String) {
// Get existing Pdf reference
let pdf = CGPDFDocumentCreateWithURL(NSURL(fileURLWithPath: path))
// Get page count of pdf, so we can loop through pages and draw them accordingly
let pageCount = CGPDFDocumentGetNumberOfPages(pdf);
// Write to file
UIGraphicsBeginPDFContextToFile(path, CGRectZero, nil)
@wolfkarl
wolfkarl / wordcount.py
Last active November 1, 2016 15:52
Lazy Lover Python Word Count
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
import glob
import os
# (C) 2015 Ich konzentriere mich völlig auf meine Bachelorarbeit GmbH
# v2: now mildly recursive (depth of 1)
# v3: sortiert die meisten Latexbefehle aus
@wolfkarl
wolfkarl / msa-demos.md
Last active August 5, 2024 15:06
Microservice Demos

Public Demo Microservice Applications

Relevant demos on Github:

Demo Description Status
Sock Shop It is built using Spring Boot, Go kit and Node.js and is packaged in Docker containers. This repository is a multiarchitecture compute version of the microservices demonstration. ✅ Maintained
Istio Bookinfo Python, Java, Ruby, Node.JS ✅ Looks maintained
DNC-DShop A simple, cross platform, modulith ecommerce system built on .NET Core ✅ Looks Maintained
Online Boutique Google uses this application to demonstrate how developers can modernize enterprise applications using Google Cloud products, including: Google Kubernetes Engine (GKE), Anthos Service Mesh (ASM), gRPC, Cloud Operations, Spanner, Memorystore, AlloyDB, and Gemini. This