This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>Tech Radar</title> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<script src="https://opensource.zalando.com/tech-radar/release/radar-0.5.js"></script> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<!-- https://mermaidjs.github.io/sequenceDiagram.html --> | |
<script> | |
function generateTableOfContents(maxHeaderLevel = 3, styleItem = function (text, level, itemAnchor) { | |
var spaces = " ".repeat(Math.max(0, (level - 1)) * 3); | |
var tocEntry = spaces + '• <a href="#' + itemAnchor + '">' + text + '</a><br/>'; | |
return tocEntry; | |
}) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Collect headers (h1, h2, ..., hx) from html and generates navigatable, stylable table of contents. | |
@param maxHeaderLevel int Define header level depth, defaults to 3. | |
@param styleItem function Function that accepts text:string, level:int and itemAnchor:string to style toc entry, default renderer is set already (check source for usage). | |
@return string HTML table of contents | |
*/ | |
function generateTableOfContents(maxHeaderLevel = 3, styleItem = function (text, level, itemAnchor) { | |
var spaces = " ".repeat(Math.max(0, (level - 1)) * 3); | |
var tocEntry = spaces + '<a href="#' + itemAnchor + '">' + text + '</a><br/>'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# We at WeltN24 were facing the problem that two libraries that we integrated | |
# in our iOS project, used the same sub-library which resulted in naming | |
# conflicts due to the non-existing namespaces in Swift. | |
# | |
# If you know what you are doing you can try to solve this conflict by | |
# extracting the shared sub-library from one of the libraries you want to | |
# integrate. You can even do this if you don't have access to the source code | |
# using the lipo (create or operate on universal files) and ar (create and |