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
import json, codecs, mistune | |
from collections import defaultdict | |
def trello_json_to_html(jsonfile, outfile): | |
markdown = mistune.Markdown() | |
trello = json.load(open(jsonfile)) | |
cards = defaultdict(list) | |
for card in trello['cards']: | |
cards[card['idList']].append(card) |
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
//Experiment with rendering L-Systems in OpenJSCAD | |
// (see https://en.wikipedia.org/wiki/L-system#Example_2:_Pythagoras_tree) | |
//Production rules | |
var rules = | |
{ | |
"1": "11", | |
"0": "1[0]0", | |
}; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/knockout/3.1.0/knockout-min.js"></script> | |
<script src="js/jquery.mmenu.min.all.js"></script> | |
<link rel="stylesheet" href="css/jquery.mmenu.all.css"> |
NewerOlder