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
""" | |
A really stupid python template language inspired by coffeekup, markaby. | |
Do not use this code, it will ruin your day. A byproduct of insomnia. | |
TL;DR | |
----- | |
This module defines a template language that allows us to do: | |
d = Doc() |
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 tornado.ioloop | |
import tornado.web | |
import tornado.escape | |
import tornado.options | |
import tornado.httputil | |
import jinja2 | |
import pyjade.compiler | |
import coffeescript | |
import markdown |
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 attr | |
import numpy as np | |
import attr._make | |
original_make_cmp = attr._make._make_cmp | |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
""" | |
Backbone.js handler and mongodb based handler for Tornado. | |
`BackboneHandler` handles the sync protocol for Backbone.js. Inherit | |
from the class and implement the model methods: | |
* create_model | |
* update_model | |
* get_model | |
* delete_model | |
* get_collection |
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
(xdress)~/S/xdress git:clang ❯❯❯ python setup.py build ⬆ ✱ | |
XXXXXXX XXXXXXXDDDDDDDDDDDDD | |
X:::::X X:::::XD::::::::::::DDD | |
X:::::X X:::::XD:::::::::::::::DD | |
X::::::X X::::::XDDD:::::DDDDD:::::D | |
XXX:::::X X:::::XXX D:::::D D:::::D | |
X:::::X X:::::X D:::::D D:::::D | |
X:::::X:::::X D:::::D D:::::D | |
X:::::::::X D:::::D D:::::D |
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
(xdress)~/S/xdress git:clang ❯❯❯ python setup.py build ⬆ | |
XXXXXXX XXXXXXXDDDDDDDDDDDDD | |
X:::::X X:::::XD::::::::::::DDD | |
X:::::X X:::::XD:::::::::::::::DD | |
X::::::X X::::::XDDD:::::DDDDD:::::D | |
XXX:::::X X:::::XXX D:::::D D:::::D | |
X:::::X X:::::X D:::::D D:::::D | |
X:::::X:::::X D:::::D D:::::D | |
X:::::::::X D:::::D D:::::D |
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
(xdress)~/S/xdress git:clang ❯❯❯ unset CPPFLAGS | |
(xdress)~/S/xdress git:clang ❯❯❯ unset LD_LIBRARY_PATH | |
(xdress)~/S/xdress git:clang ❯❯❯ python setup.py build | |
XXXXXXX XXXXXXXDDDDDDDDDDDDD | |
X:::::X X:::::XD::::::::::::DDD | |
X:::::X X:::::XD:::::::::::::::DD | |
X::::::X X::::::XDDD:::::DDDDD:::::D | |
XXX:::::X X:::::XXX D:::::D D:::::D | |
X:::::X X:::::X D:::::D D:::::D |
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 sys | |
import os | |
import re | |
import logging | |
import collections | |
import pprint | |
from funcparserlib.lexer import make_tokenizer, Spec | |
from funcparserlib.parser import (maybe, many, eof, skip, fwd, name_parser_vars, SyntaxError) | |
from funcparserlib.contrib.common import const, n, op, op_, sometok |
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
<html> | |
<body> | |
<h1>hi</h1> | |
</body> | |
</html> |
NewerOlder