Just tinkering with some layout issues. Move along. Nothing to see here.

Cite-ing

As Harry S. Truman said,
The buck stops here.

More information can be found in [ISO-0000].

Code-ing

Full code block:

<?php
   $req = $_SERVER['REQUEST_URI'];
   // Remove rubbish.
   $newReq = ereg_replace ('index.php[^?]*', 'index.php', $req);
   if (strlen($newReq) < strlen($req)) {
     header ('Location: '.$newReq);
     header ('HTTP/1.0 301 Moved Permanently');
     die;  // Don't send any more output.
   }
   unset($req); unset($newReq);

   ... (rest of the script) ...
?>

Inline code: my $foo = Net::SMTP->new();

Samp-ing

Full sample output:

<samp>Filesystem        Size   Used  Avail Capacity  Mounted on
/dev/ad0s1a       496M    46M   410M    10%    /
/dev/vinum/data   4.8G    71M   4.4G     2%    /data
/dev/ad1s1a       496M    57M   400M    12%    /rootback
/dev/vinum/usr    2.9G   1.9G   781M    71%    /usr
/dev/vinum/var    3.9G   206M   3.4G     6%    /var
/dev/vinum/www     14G   108M    13G     1%    /www
procfs            4.0K   4.0K     0B   100%    /proc
[claco@cypher ~] $</samp>

Inline sample output: 8:21PM up 40 days, 9:27, 1 user, load averages: 0.01, 0.02, 0.00

KBD-ing

grep -i foo /var/log/messages

See more posts about: www | All Categories