KNOWLEGE BASE

archives


Tuesday, January 06, 2004

 
http://www.dynamicdrive.com/dynamicindex17/dropinbox.htm
posted by Scales and Pom 8:16 PM


Monday, November 24, 2003

 
http://www.phpbuilder.com/columns/tim19990117.php3?page=1
posted by Scales and Pom 8:09 PM


Monday, September 29, 2003

 
hosts.allow & hosts.deny

to let in email use sendmail: ALL : ALLOW as well as SMTP: all


posted by Scales and Pom 8:51 PM


Tuesday, May 13, 2003

 
Mysql REGEX to update a field based upon a valid email

UPDATE USERS SET IS_VALID_EMAIL='Y' WHERE EMAIL regexp '^[a-zA-Z0-9._-]+@([a-zA-Z0-9._-]+\.)+([a-zA-Z0-9_-]){2,3}$'

or to not match a@a..com

^([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)$
posted by Scales and Pom 12:46 PM


Friday, November 22, 2002

 
Link crazy times http://webmasterbase.com/article/379/5
posted by Scales and Pom 5:57 PM


Thursday, October 03, 2002

 
How to target (jump) to a specific page in a PDF on the web if you don't want viewers to open on page 1

URL/PDFDOCUMENT.PDF#page=[pagenumber]

ex:http://www.machinedesign.com/content/7535/501_52527.pdf#page=6
posted by Scales and Pom 12:01 PM


Tuesday, October 01, 2002

 
Wireless 802.11b with Linksys WPC11 card
First check http://www.linux-wlan.org/docs/linux-wlan-FAQ.html - FAQ and the '
HP WLAN site http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/ and download the newest wireless tools from this site also.
Next download the drivers http://www.linux-wlan.org/index.html check the FAQ in side this tarball
and the updated PCMCIA card source (2.4.19 kernel is up to date)

Compile new kernel with pcmcia and linux_net_radio
Compile wireless tools
follow instutions on setting up card before using iwconfig (/etc/pcmcia/wlan-ng.opts & /etc/pcmcia/wlan-ng.opts && ldconfig)

Now restart your pcmcia & networking (/etc/rc.d/init.d/pcmcia restart && /etc/rc.d/init.d/network restart) and you should now have a device visiable via iwspy (wireless tools) called wlan0.




posted by Scales and Pom 6:50 PM


Sunday, September 29, 2002

 
PHP Accelerator
posted by Scales and Pom 9:41 PM

 
The TEMPLATE problem is back again on blogger.com.

XML-RPC running at roundrobin.icleveland.com. Sending an email to NO_roundrobbinSPAM@icleveland.com will fire off procmail which intern will fire off a PHP script to connect to the main blogger site and update and publish the email. Most of the script is pretty simple. The PROCMAIL script took about 2 hrs! Code in a week or so. I currently have it subscribed to all the newsletters at www.newsforindustry.com.

Next on the list is a stock quote email bounce for the cell phones
posted by Scales and Pom 4:10 PM


Saturday, September 14, 2002

 
find ./ -name '*.zip' -exec unzip -o '{}' *.diz *.DIZ *.nfo *.NFO ';'

This will unzip all zip files under the current directory but only unzip the DIZ & NFO files so you can clean up all the source crap that you've downloaded from sourceforge and else where.

posted by Scales and Pom 2:40 PM


Sunday, August 18, 2002

 
Possible way to speed up searching databases for text see MySql

posted by Scales and Pom 10:37 AM


Friday, August 16, 2002

 
CBT's Galore... only first chapters or two but very well done http://www.vtc.com/dealerproductlist.lasso
posted by Scales and Pom 4:23 PM


Thursday, August 15, 2002

 
XML & PHP great book http://www.xmlphp.com
posted by Scales and Pom 7:16 PM


Wednesday, August 14, 2002

 
PHP Newbie website http://www.phpbeginner.com/
posted by Scales and Pom 12:46 PM


Thursday, August 08, 2002

 
XML & RSS/RDF news feeds avaiable from Moreover.com & Klipfarm
posted by Scales and Pom 1:40 PM


Monday, July 08, 2002

 
How to mount a Windows SMB drive from a linux box.

  1. Linux Box must be on same subnet
  2. must have identical account on Windows share and Linux (ie:dmiyares must be setup on the Windows NT share and the linuxbox as a valid user)
  3. login to the linux box using the account name that you have on the SMB machine. Change to root (since you can't mount as a user)
  4. issue the command mount -t smbfs //hubble/DEMG /mnt/DEMG This will then mount a share on Hubble called DEMG to a local linux mount called /mnt/DEMG. This assumes that both are valid directories and the user name you are logged into on the linux box is valid
  5. You'll be prompted for a password. This is what ever password you use to log into the Penton Netowrk

You can get a list of shares on any computer by issuing the command
  smbclient -L servername

More info HERE

UPDATE:mount -t smbfs //audiobox/DOWNLOADS /mnt/DOWNLOADS/ -o username='username',password=password
This will mount a share called Downloads on a box called Audiobox using the username (on the remote box) of username & password of password. This works VERY nicely

posted by Scales and Pom 2:10 PM


Tuesday, June 18, 2002

 
DEMG Server stats page http://demg.penton.com/admin/stats/
posted by Scales and Pom 7:40 PM

 
Possible PDF2HTML link http://freshmeat.net/projects/pdftohtml/?topic_id=849
posted by Scales and Pom 6:57 PM

 
Linux Cookbook

http://www.dsl.org/cookbook/
posted by Scales and Pom 11:56 AM

 
Duplicating a table structure from a database into the same database

CREATE TABLE NEW_TABLENAME SELECT * FROM OLD_TABLE WHERE 1=0;

The new table will not keep any autoincrement values or indexes
posted by Scales and Pom 10:38 AM


This page is powered by Blogger. Isn't yours?