Skip to content

Instantly share code, notes, and snippets.

View koenkarsten's full-sized avatar
🔧

Koen Karsten koenkarsten

🔧
View GitHub Profile
@koenkarsten
koenkarsten / gist:7c82414b63f86856269ca2b4c466c100
Last active July 17, 2017 13:53 — forked from Frozenfire92/gist:3627e38dc47ca581d6d024c14c1cf4a9
Install Scala and SBT using apt-get on Ubuntu 16.04 or any Debian derivative using apt-get
## Java
sudo apt-get update
sudo apt-get install apt-transport-https default-jdk
## Scala
sudo apt-get remove scala-library scala
sudo wget http://scala-lang.org/files/archive/scala-2.12.1.deb
sudo dpkg -i scala-2.12.1.deb
sudo apt-get update
sudo apt-get install scala
@koenkarsten
koenkarsten / swagger-yaml-to-html.py
Created April 25, 2019 07:26 — forked from oseiskar/swagger-yaml-to-html.py
Converts Swagger YAML to a static HTML document (needs: pip install PyYAML)
#!/usr/bin/python
"""
Usage:
python swagger-yaml-to-html.py < /path/to/api.yaml > doc.html
"""
import yaml, json, sys
TEMPLATE = """
@koenkarsten
koenkarsten / README-Template.md
Last active May 3, 2019 15:05 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here.

Build Status

If possible include an indication about the build status of the project here, a badge per environment would be sufficient.

Prerequisites

Git (example)

brew install git