Raspberry Pi VS. Netbooks

The Raspberry Pi was released in February after a development period where it was touted as being an affordable computer for schoolchildren, and immediately sold out to a horde of greedy neckbeards. The two companies doing the manufacturing are still making batch after batch to sell to all of the people who backordered it, myself […]

Simple Dropdown List Example in VB.NET

VB.NET and creating dropdown menus are perhaps the two most annoying aspects of the .NET framework, and a close third is trying to track down .NET information that isn’t written in C# or populated with database queries. What if you want an incredibly simple representation of an HTML dropdown menu that is handled through Razor’s […]

Output a Postgres or MySQL Query to CSV

I find myself needing to output CSV from database queries a lot, and like an Alzheimer’s patient I am constantly forgetting how to do it. Here’s the quick run-down on how you get queries from your database into a CSV file. Postgres \f ‘,’ \a \t \o /tmp/output.csv SELECT column_id, column_name FROM table_name; \o \q […]