Saturday, November 18, 2017

Build a Feed Reader in Python (Parts 2 & 3)

Part 02

Installing and configuring MySQL, flask, and SQLAlchemy.

Part 03

Modeling our feed reader data using SQLAlchemy.

Friday, November 17, 2017

Build a Feed Reader in Python (Part 1)

Adding the feedparser module to the project and using it to extract information about feed sources and articles.

Thursday, November 16, 2017

Write a Feed Reader in Python

I just started a new video tutorial series. This time it'll cover the entire process of writing an RSS feed reader in Python from start to finish using the feedparser module, flask, and SQLAlchemy. Expect to see about 3-4 new videos a week until this thing is finished!

Friday, October 27, 2017

Write a Web App in Go

I've recently started a small series of video tutorials with the first one being Write a Web App in Go. Each tutorial will have its own Github repo here where the commits will be in sync with the tutorials for anyone following along.

After this Go tutorial I'm thinking that I'll cover something involving Python3. Maybe a start-to-finish project using flask, tornado, django...? Or just an in-depth tour of a common library like requests, numpy, pandas, or pygame?

Any suggestions?

Tuesday, August 2, 2016

Web scanning / weird HTTP headers

So there I was, scanning the web with a little Python script, looking for servers and other connected devices (you know, typical Tuesday night stuff) when I found a response that had an HTTP header with the key "X-hacker".

I've never seen that one before so I opened it up to see what the value was, thinking that surely it'll be something awesome...
X-hacker: If you're reading this, you should visit and apply to join the fun, mention this header.
That's right. They're in our meetups, and discussion boards, and now recruiters are even lurking in HTTP headers.

To anyone interested in the scanning script, it's basically a modified version of this: You need a MongoDB instance for it to insert the scans into. Then you can query that MongoDB instance. I use a small web interface that groups them for quick statistics on common responses, popular server versions, etc. Yes, you'd have much better performance if you put something like ZMap in front of a parser, but this works well enough for my needs. Don't do anything I wouldn't do.

Saturday, July 30, 2016

WebGL terrain tutorial

Today I put together a quick tutorial on how to build a 3d terrain in Javascript, from setting up three.js to loading a heightmap and texture. More will be added later (controls and collision).

Each step is organized as a release in the Github repo so you can download them all individually or browse through the commit diffs to see each change being made.

The Github project is here:

And, if course, there's a demo of it here: