-
extensionChanger.pl · Dec 18, 2005
This script will rename all files with one extension to another extension. Example: all files in a given directory that end with .php will be renamed to end with .txt.
-
enqueue and dequeue · Nov 15, 2005
Source for enqueue() and dequeue() functions to add and remove data from a queue in a class.
-
Makefile · Nov 15, 2005
In a Unix environment when working with C++ or C, a Makefile can be a very handy thing. Instead of typing several separate commands each time you update a file and want to recompile, you can just type
make
and the Makefile is executed. -
neat code · Jun 23, 2005
One of the easiest ways to keep your code easy to update, read, and debug is to keep it neat. That means indentation, documentation, consistency, and logic need to be applied. These are basics in any programming class, and they are just as applicable with coding HTML as they are with C++ or any other programming language.
-
random quotes with PHP · Jun 8, 2005
So you want to display a randomly selected quote on your page, and you want to use PHP to do it; you’ll need PHP support on your server. An easy way to test this is to stick
<?php phpinfo(); ?>
into a .php file, upload that file to your server, and load it in your browser. If you get a huge table with information about your PHP setup, then you know you have PHP support. If you get a blank page, then you don’t have PHP. :( -
more dynamic sites through PHP · Jun 8, 2005
A couple of reasons to use PHP in your site:
- Separation of content from design–when you want to change the look of your page, you can update a few files and every page of your content will be updated with those changes.
- You have more power than if you used some language such as JavaScript, because it doesn’t matter what the visitor has enabled in his browser.
-
measuring volume in C++ · Sep 29, 2004
This is a program I wrote earlier while killing time in the Multilab.