A semantic search engine for source code https://bitshift.benkurtovic.com/
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910111213141516171819202122
  1. """
  2. Module to contain all the project's Flask server plumbing.
  3. """
  4. from flask import Flask
  5. from flask import render_template, session
  6. from bitshift import *
  7. app = Flask(__name__)
  8. app.config.from_object("bitshift.config")
  9. app_env = app.jinja_env
  10. app_env.line_statement_prefix = "="
  11. app_env.globals.update(assets = assets)
  12. @app.route("/")
  13. def index():
  14. return render_template("index.html")
  15. if __name__ == "__main__":
  16. app.run()