Skip to content

Instantly share code, notes, and snippets.

2013-03-05T00:39:42+00:00 heroku[web.1]: Process exited with status 127
2013-03-05T00:39:42+00:00 heroku[web.1]: State changed from starting to crashed
2013-03-05T00:49:44+00:00 heroku[web.1]: State changed from crashed to starting
2013-03-05T00:49:49+00:00 heroku[web.1]: Starting process with command `./run`
2013-03-05T00:49:49+00:00 app[web.1]: bash: ./run: No such file or directory
2013-03-05T00:49:50+00:00 heroku[web.1]: State changed from starting to crashed
2013-03-05T00:49:50+00:00 heroku[web.1]: Process exited with status 127
2013-03-05T00:59:50+00:00 heroku[web.1]: State changed from crashed to starting
2013-03-05T00:59:52+00:00 heroku[web.1]: Starting process with command `./run`
2013-03-05T00:59:53+00:00 app[web.1]: bash: ./run: No such file or directory
boto development.ini myproject.sqlite README.md runapp.py tutorial
build ENV Procfile README.txt setup.cfg tutorial.egg-info
CHANGES.txt MANIFEST.in production.ini requirements.txt setup.py tutorial.sqlite
import shortuuid
@view_config(route_name='home_page', renderer='templates/edit.pt')
def home_page(request):
if 'form.submitted' in request.params:
name= request.params['name']
input_file=request.POST['stl'].file
vertices, normals = [],[]
for line in input_file:
import struct
normals = []
points = []
triangles = []
bytecount = []
fb = [] # debug list
def unpack (f, sig, l):
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<font size=\"4\"> <b>Colorful Image Colorization - Run-time Demo Code</b><br></font>\n",
"<b>Richard Zhang, Phillip Isola, Alyosha Efros</b><br>\n",
"<a href='http://richzhang.github.io/colorization/'>[Project Website]</a> <a href='http://demos.algorithmia.com/colorize-photos/'>[Online Demo]</a> <a href='http://arxiv.org/pdf/1603.08511.pdf'>[Paper]</a><br>"
]
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<font size=\"4\"> <b>Colorful Image Colorizations - Demo Code</b><br></font>\n",
"Richard Zhang, Phillip Isola, Alyosha Efros</br>"
]
},
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Standard imports"
]
},
{
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Were taking a look at data concerning printers in hospitals. Where are these printers, what types of printers are they, how are they being used. From a sales perspective, we can use this to become more informed on the printing needs of such a hospital. "
]
},
{
class TimelineViewController: UIViewController, UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout{
var tag: Tag!
var tagName: String?
var postTimes: [Date] = []
let timelineCellWidth: CGFloat = 2.5
var currentPost: Post!
var firstTime = true
var firstPostDate: Date?