This file contains hidden or 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
# MySQL in PythonAnywhere with Flask -SQLAlchemy.py | |
# A very simple Flask Hello World app for you to get started with... | |
from flask import Flask | |
from flask_sqlalchemy import SQLAlchemy | |
# import MySQLdb | |
app = Flask(__name__) | |
app.config["DEBUG"] = True |
This file contains hidden or 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
// for tombloo 0.3.13 | |
models.register( | |
{ | |
name : 'Howm', | |
ICON : 'chrome://tombloo/skin/local.ico', | |
check : function(ps) { | |
switch (ps.type) { | |
case 'regular': | |
case 'quote': | |
case 'link': |