Testing HTTP Basic Auth in Flask

I created a quick & dirty admin page for a flask-based website I'm working on, and I had to add HTTP authentication support for it. Doing this is easy.

In the app, I add:

import auth

# ...

@app.route('/admin/', methods=['GET'])
def admin_page():
    # ... code to fetch info from ...

12 Little Projects in 2013

As I mentioned in 12 New Languages, I'm learning a new programming language each month in 2013. To go along with this effort, I need a dozen things worth building -- one for each language.

I'm going to try to play to the strengths of each language. Here's ...

12 New Languages in 2013

I'm setting a personal goal in 2013 to learn a new programming language each month. Obviously, I won't be able to learn any of them in depth, but I plan on completing a small project in each language.

  • January: Icon
  • February: Go
  • March: Common Lisp
  • April: Scala
  • May ...

« Page 3 / 19 »