Here is the shell command for removing all the spam-boxesfind /home/username/mail/ -name *spam* -exec rm ‘{}’ \; -print Note the orange text indicating where you would put your admin user name. This clears all the spam-boxes (spam files that Spam Box generates to hold all the spam as determined by SpamAssassin… if you have used… Continue reading CPanel clean-up/remove spam-box with cron-job script
Category: Programming
MS Vista “showcase site” has work-around for the IE ‘click to use flash’
Microsoft decided to release a critical update several months back that modified Internet Explorer so users cannot directly interact with Microsoft ActiveX controls loaded by the APPLET, EMBED, or OBJECT elements. Users can interact with such controls after activating their user interfaces. Basically, IE blocked flash from running right-away. A dot-border box with the phrase… Continue reading MS Vista “showcase site” has work-around for the IE ‘click to use flash’
Is your site indexed on search-engines?
Google sometimes has problems indexing a site correctly. Or they may not be indexing your site at all. How do you know if your site is indexed? MarketLeap has a wicked tool to help show how many pages have been indexed by what search engines: MarketLeap.com index tool. If HotBot has 100 and Google has… Continue reading Is your site indexed on search-engines?
Online statistics for what users are using
For Flash Player: Visit Adobe Site for stats For OS’s, browser, screen size, colour depth and Javascript: Visit W3C Site for stats It becomes obvious why publishing in Flash Player 7 is a good idea and testing sites to make sure they work on both IE and Mozilla-based(Firefox) browsers is another good idea. And why… Continue reading Online statistics for what users are using
Centered Div, horizontally and vertically in window
Here is a download of a CSS-based vertically and horizontally centered DIV tag. Download Centered Div ZIP file
Best Firefox extension for Web Programmers
FireBug is an extension for the Firefox web-browser. It is amazing for debugging XML, XHMTL, CSS, JS and just to generally inspect your code. Don’t take it too seriously though as IE bug-fixes and workarounds always generate errors. Get FireBug for Firefox.
XML vs. JSON
XML – Looks like this: <user> <name>tom</name> <last_name>jackson</last_name> <email>t.jackson@jackson.com</email> </user> vs. JSON – Looks like this: user{name:tom,last_name:jackson,email:t.jackson@jackson.com} JSON reminds me of how a lighttpd configuration file is able to hold script in it. Meaning the file that hold information, holds simple code so you have less info to process. JSON can send arrays. So instead… Continue reading XML vs. JSON
Dynamic to Static URL. Making URLs SEF to improve SEO.
SEF – Search Engine Friendly SEO – Search Engine Optimization Search engines create their databases from running programs that search the web and scan each web-page, and sometimes, they cache the web-page (Cache ‚Äî meaning they download a copy of it). They sort these pages out, assumingly, by URL (that http://www.whatever.com string in the Address… Continue reading Dynamic to Static URL. Making URLs SEF to improve SEO.