./pdftk-install.sh
To do everything described below in one fell swoop.
import os | |
from autobahn.resource import WebSocketResource, WSGIRootResource | |
from autobahn.websocket import WebSocketServerFactory, WebSocketServerProtocol | |
from flask import Flask, render_template | |
from twisted.application import internet, service | |
from twisted.internet import reactor | |
from twisted.python.threadpool import ThreadPool | |
from twisted.web.server import Site |
.DS_Store |
<html style="width:100%; height:100%; overflow:hidden"> | |
<head> | |
<meta charset="UTF-8"> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script type="text/javascript" src="http://www.parsecdn.com/js/parse-1.2.18.min.js"></script> | |
</head> | |
<body style="width:100%; height:100%; overflow:hidden; margin:0"> | |
<canvas id="canvas" width="640" height="360" style="display:block"></canvas> | |
<script> |
<html style="width:100%; height:100%; overflow:hidden"> | |
<head> | |
<!-- You can include external scripts here like so... --> | |
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.0/zepto.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>--> | |
</head> | |
<body style="width:100%; height:100%; overflow:hidden; margin:0"> | |
<canvas id="canvas" width="640" height="360" style="display:block"></canvas> | |
<script> | |
// Constants |
<html style="width:100%; height:100%; overflow:hidden"> | |
<body style="width:100%; height:100%; overflow:hidden; margin:0" bgcolor="#000"> | |
<script> | |
function main() { | |
if (WS.scriptVersion(1)) return; | |
WS.picarusARTagFactory(function (model) { | |
model.processStream(function (tags) { | |
WS.log(JSON.stringify(tags)); | |
var out = 'Tag'; | |
for (var i = 0; i < tags.length; i++) |
<html style="width:100%; height:100%; overflow:hidden"> | |
<head> | |
<style type="text/css"> | |
body { | |
background: url("http://web.mit.edu/birkanu/www/popdeals-logo.png"); | |
width: 100%; | |
height: 100%; | |
overflow: hidden; | |
margin: 0; | |
} |
<html style="width:100%; height:100%; overflow:hidden"> | |
<head> | |
<!-- You can include external scripts here like so... --> | |
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.0/zepto.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>--> | |
</head> | |
<body style="width:100%; height:100%; overflow:hidden; margin:0"> | |
<canvas id="canvas" width="640" height="360" style="display:block"></canvas> | |
<script> | |
// Constants |
<html style="width:100%; height:100%; overflow:hidden"> | |
<head> | |
<style type="text/css"> | |
body { | |
background: url("http://web.mit.edu/birkanu/www/popdeals-logo.png"); | |
width: 100%; | |
height: 100%; | |
overflow: hidden; | |
margin: 0; | |
} |
/* | |
JSNES, based on Jamie Sanders' vNES | |
Copyright (C) 2010 Ben Firshman | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, |