|
Development -
HTML
|
|
Written by Rick
|
|
Sunday, 29 June 2008 07:58 |
|
Have you ever noticed, while using a style sheet or other method of absolute positioning in HTML, that position 0,0 is the upper left corner. All references to establish width and height assume the page has no predefined right side or bottom. HTML is in fact designed not to have a right border or page bottom. This becomes a primary consideration for web design. Why worry? |
|
|
Tech Notes -
General
|
|
Written by Rick
|
|
Wednesday, 16 July 2008 17:52 |
As an Ubuntu Linux user, I was under the impression that virtual machines were somehow not as exposed to viruses. Shame on whoever spewed that nonsense, shame on me for hoping it was true. I've got a configuration that's been infected - (K)Ubuntu 8.04 host with a WinXP guest. It's the guest files that are infected, the host is still clean.
|
|
Tech Notes -
Linux
|
|
Written by Rick
|
|
Friday, 12 December 2008 09:43 |
|
For the past day or so I've been working through issues to add/change or delete strings in multiple files. As usual there is plethora of methods to do try. Each have a place in an administrator's arsenal.
Using Perl or SED
These methods are suited for text manipulation where search and replace strings are simple without the need for escape characters;
In the following example we replace the word rabbit with the word blueberry in all html files in the current directory;
| perl -p -i -e "s/rabbit/blueberry/g" *.html |
| sed 's/rabbit/blueberry/g' *.html |
Of course, there are an abundance of switches that can be used to accomplish more tasks like backing up files before actually executing the search replace function. Check the man pages for more details.
Using RPL
|
|
|
Development -
General
|
|
Written by Rick
|
|
Sunday, 04 May 2008 00:00 |
|
I'm not exceedingly fond of perl scripting, but this one is useful for testing the time it takes to download a web page from a site. As there is no cache system employed it provides a raw time to download the specified page and produces the results in terms of seconds. |
|
Development -
Joomla
|
|
Written by Rick
|
|
Friday, 06 June 2008 08:56 |
Many, including myself, do not want the meta generator tag to expose the fact we're using Joomla! as a basis for our web site(s). It's not that we're embarrassed using Joomla!, it's a question of whether it's appropriate in a given environment. Two obvious options exist, change it or remove it;
|
|
|
|
|
<< Start < Prev 1 2 3 4 Next > End >>
|
|
Page 1 of 4 |