Wellesley GWC 2016 Git repository
wellesleygwc / 2016 Goto Github PK
View Code? Open in Web Editor NEWWellesley GWC 2016 Thursday Evening Git repository
Wellesley GWC 2016 Thursday Evening Git repository
The code in db.py has the following:
cursor.execute("drop table if exists questions")
cursor.execute("create table if not exists questions("+
"id text primary key" +
", question text not null" +
", answer text not null" +
", day date not null" +
", constraint questions_unique unique (question))")
cursor.execute("insert or ignore into questions values ('Q0', 'What is a function?', 'A', '2017-04-27')")
cursor.execute("insert or ignore into questions values ('Q1', 'What is a loop?', 'B', '2017-04-26')")
cursor.execute("insert or ignore into questions ('question', 'answer', 'day') values ('What is a function?', 'A', '2017-04-27')")
cursor.execute("insert or ignore into questions ('question', 'answer', 'day') values ('What does HTML stand for?', 'A', '2017-04-27')")
cursor.execute("insert or ignore into questions ('question', 'answer', 'day') values ('What is a variable?', 'B', '2017-04-27')")
cursor.execute("insert or ignore into questions ('question', 'answer', 'day') values ('Which would print \"hello world\"?', 'D', '2017-04-27')")
cursor.execute("insert or ignore into questions ('question', 'answer', 'day') values ('What is a loop?', 'B', '2017-04-26')")
It looks like conflicting checkins resulted in not all questions having an ID: some have 'Q0' or 'Q1', while others do not.
Result: TemplateNotFound: answers.html
Home Page side bar.
I keep logging out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.