Skip to content

Instantly share code, notes, and snippets.

@janbrohl
janbrohl / rechner.html
Last active June 26, 2018 11:59
Eingeschränkter Rechner
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Eingeschränkter Rechner</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/4.4.2/math.min.js"
integrity="sha256-EQV4YufMtvIwabqDMp7fTc4CKjbfB9NPYzYbabeNClI="
crossorigin="anonymous"></script>
@janbrohl
janbrohl / ckan-editor-schema.html
Last active June 2, 2016 10:52
CKAN Editor from Schema
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Basic CKAN Editor</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.js" type="text/javascript">
</script>
<link crossorigin="anonymous" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" rel="stylesheet">
<link crossorigin="anonymous" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" rel="stylesheet">
@janbrohl
janbrohl / ksp-avc.schema.json
Created June 2, 2016 08:35
KSP-AVC version file JSON-Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "AVC-File",
"description": "A KSP-AVC Version file's content",
"type": "object",
"properties": {
"NAME": {
"description": "The display name for the add-on.",
"type": "string"
},
@janbrohl
janbrohl / id_name.json
Created May 25, 2016 07:23
KSP-CKAN licenses id-name mapping
{
"Apache": "Apache License",
"Apache-1.0": "Apache License 1.0",
"Apache-2.0": "Apache License 2.0",
"Artistic": "Artistic License",
"Artistic-1.0": "Artistic License 1.0",
"Artistic-2.0": "Artistic License 2.0",
"BSD-2-clause": "BSD 2-clause \"Simplified\" License",
"BSD-3-clause": "BSD 3-clause \"New\" or \"Revised\" License",
"BSD-4-clause": "BSD 4-clause \"Original\" or \"Old\" License",
@janbrohl
janbrohl / gist:a8543721de2ac10f0a07
Last active December 21, 2016 13:54
Metalink generator
#!/usr/bin/python2
from urlparse import parse_qsl
from xml.sax.saxutils import escape,quoteattr
__version__="0.9"
__author__="Jan Brohl <janbrohl@t-online.de>"
__license__="BSD-3-Clause"
def _first_qst(qst,key):