In terminal.app, install ffmpeg through homebrew
brew install ffmpeg
Validate the installation:
The official installation instructions for pgModeler recommends installing Xcode and the Enterprise DB distribution of Postgres to fulfill its build requirements. Luckily, Homebrew's got us covered!
Checkout the source
git clone https://github.com/pgmodeler/pgmodeler.git
from flask import Flask | |
from flask import json, make_response, render_template_string, request | |
from flask_wtf import Form | |
from wtforms import IntegerField, SelectField | |
from wtforms.validators import DataRequired | |
template = """ | |
<html> | |
<head> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> |
// Kudos to Grumdrig | |
// http://stackoverflow.com/questions/1207008/how-do-i-lock-the-orientation-to-portrait-mode-in-a-iphone-web-application | |
$(document).ready(function () { | |
function reorient(e) { | |
var portrait = (window.orientation % 180 == 0); | |
$("body > div").css("-webkit-transform", !portrait ? "rotate(-90deg)" : ""); | |
} | |
window.onorientationchange = reorient; | |
window.setTimeout(reorient, 0); |