Posts tagged “code”

PHP and MySQL

PHP and MySQL

Some helpful database links

New Languages

Brinkster is a free web host that supports ASP. You get 30 MB of space and no ads on your site, plus ASP 3.0 support, MS Access databases, a web-based file manager, and control of the ADO & FileSystemObject. How cool is that? There is a great article on / introduction to the syntactical differences

JavaScript Tutorial

Several people have asked me how to add random text strings to a web page, so I thought I’d write a little tutorial. All you need is a text editor and a web site. If you publish your own blog, I’m sure you’ll be able to do this. If you follow these simple instructions, you

Send Entry

If you look at the little bit at the end of each of the entries here, you’ll notice something new. Yep. My first major hack of MovableType has been a success. You can now email an entry to anyone you want through a handy pop-up window. It’s just like the Yahoo! feature. Ben – the

SendEntry

<Montgomery Burns> Excellent! </Montgomery Burns> I’m about 75% done with my mt-sendentry.cgi development. Youshik has been a tremendous help with some of the trickier Perl bits and Ben is the man for being so cool about answering my eMails. I really hope I can finish working on it tonight so I can have v 0.1

flastmod

Ever hear of the flastmod include? Me neither. Here’s what it does. You can use it just like a #include directive server-side include, except instead of including a file, it returns the last modified timestamp of the file you request. If you’re using SSI in your site, add: <!– #flastmod file=”index.shtml” –> to any parsed

MicroPoll

A few people have asked me about the MicroPoll in use on the “FingerTouch” post. I snagged it from Technoerotica! Any time you see anything interesting here at davidgagne.net relating to code or web design or blogging, there’s a better-than-even chance that I’ve described how I did it (or written a tutorial even!) on my

Rebuild Hack

It was a dark and stormy night. I had a rebuild error in my individual archive template. I yelled at my monitor, “What could it be?!” I hadn’t modified that template in weeks! Something was wrong. And it was bad. I couldn’t rebuild all. Ack! What to do? I begged Ben for assistance. “Help!” I

MT fix

Note to self: Remember to change MT/lib/MT.pm line 205 from return $mt->error(“Building entry failed: ” . $entry->title); to return $mt->error(“Building entry failed: ” . $tmpl->errstr); More on this later!

Calendar

Want to add one of those groovy-cool calendars to your blog? MovableType 1.4 lets you! The extended text of this entry shows you the code. How cool is that?

What Is This?

davidgagne.net is the personal weblog of me, David Vincent Gagne. I've been publishing here since 1999, which makes this one of the oldest continuously-updated websites on the Internet.

bartender.live

A few years ago I was trying to determine what cocktails I could make with the alcohol I had at home. I searched the App Store but couldn't find an app that would let me do that, so I built one.

Hemingway

You can read dozens of essays and articles and find hundreds of links to other sites with stories and information about Ernest Hemingway in The Hemingway Collection.