Recursive Grep

Share

Every now and then you need to know which files contain a string starting from the current directory and all files below. One way to do this on some Unix-like systems is to use something like...

find . -exec grep -l 'phrase to find in your files' {} \;

Comments (0)       
Tags: *nix, code, find, grep, recurse, reference, software, unix-like

themeWeenie Template Pak Added

Share

themeWeenie Template Pak has been added for use with your websites. The Template Pak is based on a design by Bryan Bell.

themeWeenie

Comments (0)       
Tags: added, new, template pak, template paks, themeWeenie

Discussion Conferences

Share

Your websites now have a simple interface to discussion conferences. Conferences allow you to group related topics together. By default your website has four conferences: Files, General, Images, and Webpages. When you add a message that has an image or file attached, the message is automatically routed to the Images or Files conference. There is no requirement to use conferences. You can continue to use your website the way you have been if you don't need conferences.

Comments (0)       
Tags: added, conferences, discussion, feature, hosting, tom's, tom's web hosting, web

MySQL queries to update conference descriptions

Share

Here are MySQL queries for my records with use of a subquery to update empty conference descriptions.

UPDATE `message` SET `content_markup` = IF( `content_markup` = '', 'uploaded files are added here', `content_markup` ), `content` = `content_markup` WHERE `id` = (SELECT `conference_message_id_files` FROM `configuration`);

UPDATE `message` SET `content_markup` = IF( `content_markup` = '', "put the topic here if it doesn't fit elsewhere", `content_markup` ), `content` = `content_markup` WHERE `id` = (SELECT `conference_message_id_general` FROM `configuration`);

UPDATE `message` SET `content_markup` = IF( `content_markup` = '', 'uploaded images are added here', `content_markup` ), `content` = `content_markup` WHERE `id` = (SELECT `conference_message_id_images` FROM `configuration`);

UPDATE `message` SET `content_markup` = IF( `content_markup` = '', 'optionally add webpages here', `content_markup` ), `content` = `content_markup` WHERE `id` = (SELECT `conference_message_id_webpages` FROM `configuration`);

Comments (0)       
Tags: code, mysql, software, sql, subquery

New World-Record Stick Bomb -- 2250 Sticks!

Share

Comments (0)       
Tags: bomb, explosion, stick, tongue depressor

Entering Relative Url Change

Share

The steps for entering a relative url for a message have changed. The relative url is now entered in the Add/Edit Message forms.

Comments (0)       
Tags: change, relative, url

Captcha Links

Share

Some time ago I did some research on the use of Captchas for my previous hosting service. Just capturing some links here for future reference.

Comments (0)       
Tags: captcha, implicit, reference

< Older Entries | Newer Entries >