Sunday, February 27, 2005
I just wrote my first check since October 2004. Not sure whether I should order new checks or not. I'm down to my last three checks. But at this rate, they should last me until 2008 or so.
Friday, February 25, 2005
Wednesday, February 23, 2005
Icon Generator
This is pretty handy.
Put this code in the <head> tag:
<link rel="shortcut icon" href="favicon.ico" >
Put this code in the <head> tag:
<link rel="shortcut icon" href="favicon.ico" >
Tuesday, February 22, 2005
More Favorite Colors: Queer Eye Colors
The most tasteful rainbow I've seen. These guys -- or their web designer -- has taste:
• Kyan Red (#B2615A)
• Ted Blue (#526A86)
• Carson Purple (#8C7495)
• Jai Orange (#EA7B0D)
• Thom Green (#759B63)
PERMANENT LINK
• Kyan Red (#B2615A)
• Ted Blue (#526A86)
• Carson Purple (#8C7495)
• Jai Orange (#EA7B0D)
• Thom Green (#759B63)
PERMANENT LINK
Monday, February 21, 2005
Favorite Colours
• Faded Parchment (#f3f1eb)
• Coffee Stain (#b5ad95)
• Oxidized Ink (#2C271B)
• Parchment Gray (#F5F2F7)
• Parchment Blue (#6F7DA2)
• Parchment Ink (#746058)
• Parchment Highlight (#C8AD5B)
• Kinnear Green (#919560)
permanent link
• Coffee Stain (#b5ad95)
• Oxidized Ink (#2C271B)
• Parchment Gray (#F5F2F7)
• Parchment Blue (#6F7DA2)
• Parchment Ink (#746058)
• Parchment Highlight (#C8AD5B)
• Kinnear Green (#919560)
permanent link
Friday, February 18, 2005
Metaphors for Web Hosting
Trying to come up with a metaphor to help explain how webhosting works -- specifically, what someone needs to do to change their webhost. There are three key parts:
1. Domain Name - registered with a company like networksolutions.com
2. Web Site - the folders and html files that make up the site
3. Web Host - the company that hosts the site (e.g. serversanddomains.com)
I was thinking first of using an RV as an example -- but maybe a boat would be a little better, as boats have names. But do you register boats? Assuming you do:
1. You name your ship and register it with a country (like Haiti) so that people know where to get info on it. (Domain registration)
2. You build your ship. (The Web Site)
3. You find a port to dock your boat so people can come and visit it (though that's not really the function of a boat.) (Web Host)
Maybe a business would be a better metaphor:
1. You register your business and take out an ad in Yellow Pages (domain registration)
2. You rent office space (hosting)
3. You move your furniture and employees into the office space (site)
If you want to move you business, you need to lease a new office (the hosting). You need to know where all your furniture and employees currently on (for the analogous small website, this would presumably be on some developers hard drive). And then you need to let the Yellow Pages know your new location.
I guess that works.
1. Domain Name - registered with a company like networksolutions.com
2. Web Site - the folders and html files that make up the site
3. Web Host - the company that hosts the site (e.g. serversanddomains.com)
I was thinking first of using an RV as an example -- but maybe a boat would be a little better, as boats have names. But do you register boats? Assuming you do:
1. You name your ship and register it with a country (like Haiti) so that people know where to get info on it. (Domain registration)
2. You build your ship. (The Web Site)
3. You find a port to dock your boat so people can come and visit it (though that's not really the function of a boat.) (Web Host)
Maybe a business would be a better metaphor:
1. You register your business and take out an ad in Yellow Pages (domain registration)
2. You rent office space (hosting)
3. You move your furniture and employees into the office space (site)
If you want to move you business, you need to lease a new office (the hosting). You need to know where all your furniture and employees currently on (for the analogous small website, this would presumably be on some developers hard drive). And then you need to let the Yellow Pages know your new location.
I guess that works.
Wednesday, February 16, 2005
Retrieving a Web Page Title
Part I: Open Web Page (PHP Classes, credit: Vedanta Barooah)
function get_webpage($url,$use_include_path=0){
$file = @fopen($url, 'rb', $use_include_path);
if ($file){
if ($fsize = @filesize($filename)){
$data = fread($file, $fsize);
}else{
while (!feof($file)){
$data .= fread($file, 1024);
}
}
fclose($file);
}
return $data;
}
The PHP fopen page
Part II: Extract info between title tags (PHP Freaks)
More Web-Fetching scripts: Hotscripts.com
function get_webpage($url,$use_include_path=0){
$file = @fopen($url, 'rb', $use_include_path);
if ($file){
if ($fsize = @filesize($filename)){
$data = fread($file, $fsize);
}else{
while (!feof($file)){
$data .= fread($file, 1024);
}
}
fclose($file);
}
return $data;
}
The PHP fopen page
Part II: Extract info between title tags (PHP Freaks)
More Web-Fetching scripts: Hotscripts.com
Sunday, February 13, 2005
Select Text Button
HTML:
<form>
<textarea name="takeout" rows="2" cols="20">some text</textarea>
<input type=button value="highlight code" onClick="javascript:this.form.takeout.focus();this.form.takeout.select();" name="takeout_button" style="background-color: beige; color: brown; font-family: Arial, sans-serif; font-size: medium; border: 1 outset #FFFFFF">
</form>
Saturday, February 12, 2005
Friday, February 11, 2005
Wednesday, February 09, 2005
Tuesday, February 08, 2005
Friday, February 04, 2005
How I Learned About Google
I was desperately looking for a good search engine at the time this article came along. Except I remember it being 1998. And there was a part about how Google saved all the queries it received that I can't find in it anymore.