A collection of programming solutions and tutorials — ones that took more than a few minutes to figure out.