This is just some stencils I created for myself to draw FMC (http://www.fmc-modeling.org/) diagrams with draw.io.
Here is how they look:
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""[application description]""" | |
__appname__ = "[application name]" | |
__author__ = "[author]" | |
__version__ = "0.0" | |
__license__ = "GNU GPL 3.0 or later" | |
import logging, argparse |
#!/usr/bin/env python | |
import csv | |
import itertools | |
import os | |
import subprocess | |
import sys | |
import termios | |
import tty | |
import logging |
/* | |
Return JSON from url, use browser's localStorage as cache | |
JQuery extension, returns a promise. | |
'cacheInvalidMs' indicates the milliseconds after which the cache is invalidated. | |
Default is 24 hours. | |
'cacheDelayMs' indicates the milliseconds after which data from the cache is returned. | |
Can be used to simulate the delay of normal requests. | |
Default is 0. | |
*/ | |
//Adapted from https://gist.github.com/contolini/6115380 |
\documentclass[10pt,english,landscape]{article} | |
\usepackage{multicol} | |
\usepackage{calc} | |
\usepackage[landscape]{geometry} | |
\usepackage{color,graphicx,overpic} | |
\usepackage[T1]{fontenc} | |
\usepackage[bitstream-charter]{mathdesign} | |
\usepackage[utf8]{inputenc} | |
\usepackage{url} |
sudo apt install libresample1 | |
http://mirrors.kernel.org/ubuntu/pool/universe/liba/libav/libavutil52_9.20-0ubuntu0.14.04.1_amd64.deb | |
sudo gdebi libavutil52_9.18-0ubuntu0.14.04.1_amd64.deb | |
http://security.ubuntu.com/ubuntu/pool/universe/liba/libav/libswscale2_9.20-0ubuntu0.14.04.1_amd64.deb | |
sudo gdebi libswscale2_9.18-0ubuntu0.14.04.1_amd64.deb | |
# Download clickshare deb | |
# https://drive.google.com/drive/folders/0B9IKZqXvLKM_Yno1UmpGLVRXNDg | |
# https://drive.google.com/file/d/0B9IKZqXvLKM_QzF4aTlRNVV5Wk0/view | |
sudo gdebi clickshare_01.07.01-79_amd64.deb |
# taken from user Albert's answer on StackOverflow | |
# http://stackoverflow.com/questions/5292204/macosx-get-foremost-window-title | |
# tested on Mac OS X 10.7.5 | |
global frontApp, frontAppName, windowTitle | |
set windowTitle to "" | |
tell application "System Events" | |
set frontApp to first application process whose frontmost is true | |
set frontAppName to name of frontApp |
This is just some stencils I created for myself to draw FMC (http://www.fmc-modeling.org/) diagrams with draw.io.
Here is how they look: