This domain of mine has had stuff on it for a long, long time — before WordPress or MovableType or even Blogger. The original davidgagne.net is, sadly, lost forever. Some pieces of it have been kicking around on my various hard drives and FTP locations for a decade now. One file that I could never… Read more »
Posts Categorized: Programming
Disable WordPress File Upload
Although I can appreciate that it’s a really nifty feature, I am likely never going to use the built-in File Upload feature in WordPress. What has bugged me is that it’s in an IFRAME in the Write Post panel; I think it slows the page load. I was trying to get rid of it, but… Read more »
LIMIT and OFFSET in MS SQL Server
How to Hack MySQL Paging Functionality into Microsoft SQL Server Web developers using PHP and MySQL have a crucial piece of functionality that classic ASP developers working with Microsoft SQL Server don’t. It’s pagination. Using MySQL’s LIMIT and OFFSET commands you can very easily add pagination to recordsets that you want to display on web… Read more »
DropCaps, Amazon Tags for WordPress
I have finally updated two of my WordPress hack tutorials so that they are compliant with v. 2.04. The first one — DropCaps — allows you to put that nifty “dropcap” into a post. This post begins with a dropcap I. The second one — Amazon Tags — adds two new buttons to your editing… Read more »
MySQL Triggers Tutorial
Jon is one of my developers at work. He recently started a WordPress blog called Rusty Razor Blade. I’m guessing that most of what he’ll be posting is going to be fairly technical stuff about MySQL, LAMP, AJAX, and JSON. So far his first really interesting post is a MySQL Triggers Tutorial. It’s actually a… Read more »
Dot Don’t
What system are people using to create web sites that have .do files? It seems that every site I visit that employs this coding is slow, slow, slow. Men’s Health and Capital One both have sites built with tons of .do files and redirects and both of them drive me nuts.
Business Days
(Q) How do I calculate total number of working days between two dates? (A) Use this function.
ASP FTP
Lewies Blog Update: Lewies used to have a good article on how to execute FTP processes via ASP. It is apparently no longer there.
IIS Auto Restart
Does anybody know of any way to have IIS automatically restart itself every few hours? Do tell.
PHP / DAO
Code 10x More Efficiently Using Data Access Objects and PHP …
Rotating Ad Banner
Great tutorial for beginners: Rotating Banner Ads using a Database
Scrolling Ticker Headline
After hours and hours of googling, I finally found the only javascript horizontal text scroller that doesn’t suck. If anyone knows of a better one, please let me know. While we all wait I’ll be re-coding this to accept input from an external database and building an ASP front-end for editing it …