Apache-style Wildcard Hostname Rewrite Rules in IIS (finally)


webdev - 29 October, 2013 @ 08:52

Something I've wanted to do for a long time is to use wildcard site binding in IIS, which has only limited support for it. True, you can use a blank hostname in a site's IIS config, and it will respond to all requests at that IP address. But if you have more than one site you want to set up this way, you're out of luck unless you buy extra IP addresses and use a blank host header for each IP. Or so I thought. I finally found a way to do it!

Single-Page App That Behaves Like a Multi-page App


webdev, javascript - 7 October, 2013 @ 01:46

Most dynamic websites use server-side includes so that the layout and common elements don't have to be repeated on every page. Something like:

Logical Fallacies Cheat Sheet


philosophy - 5 June, 2013 @ 07:09

Critical reasoning is the most important skill an individual can master. Logic is the foundation of critical thinking. Logical fallacies are the most commonly found errors in debate. It behooves us, therefore, to be intimately familiar with the forms of logical fallacy so that our faculties are better equipped to properly evaluate logical assertions, both in our own critical thinking and in debate with others.

Here is a quick reference guide (cheat sheet) of logical fallacies

5 Minute Guide to HTML, CSS and Jquery


webdev, design, javascript - 10 May, 2013 @ 03:27

So you want to be a front-end developer, eh? HTML5, CSS3, javascript, ajax, canvas, websockets, UX, TDD, MVC frameworks like Angular/Ember/Backbone/etc, APIs of every stripe and color imaginable... Being a "webmaster" isn't as easy as it used to be in "the before time, the long long ago" of the internet (15 years ago). Yet even though there's a ton of stuff to learn, a lot of the basics haven't changed.

If you're a tech person, this is probably all kid's stuff. Maybe you're very young and r...

Additional 3GB free space at Dropbox


tools, technology - 8 May, 2013 @ 01:10

This isn't exactly news; I just noticed it. Dropbox is again offering additional free space as a promotion... You can get 3 gigs of bonus space, in addition to the 2gb that comes with a free account, this time for using their auto-camera-uploads feature.

I only noticed because I happened to see that I was awarded space for it, because I love pic-uploading. In fact, for a time I had been using the Dropin android app as a way to automatically move pictures I took with my phone over t...

Parsing Markdown in Under 100 Lines of Javascript


webdev, javascript - 6 May, 2013 @ 08:28

HTML is verbose. Plaintext is unwieldy. WYSIWYG is inconsistent. Markdown to the rescue!

Oh wait, my blog runs on a custom script I wrote myself. Great, that means I can implement any feature I want with it. Crap, that means I have to implement any feature I want with it.

Okay, how hard can markdown be, right? The point is to simplify text entry, and any programming problems whose stated goal is simplification must also have a simple implementation. Right?

Well, it's half-rig...

Free File Upload Component for Classic ASP


webdev, classic asp - 25 April, 2013 @ 10:40

If anyone has any Classic ASP / vbscript websites still hanging around, I ran across this file upload script that replaces the need for a COM component. It's totally free, requires no installation/configuration on the server, other than just including the right code in your ASP files.

I Really Want to Like Mozilla Persona


webdev - 23 April, 2013 @ 09:31

I desperately want to like Persona, the decentralized login system created by Mozilla, but it needs to evolve. It's such an awesome and long-overdue concept: who wouldn't want a relatively secure way to use one login/password for all their web services? If it became popular enough, it could even put password managers out of business.