petefreitag.com
Performance Tuning Garbage Collection in Java
http://www.petefreitag.com/articles/gctuning
Tuning Garbage Collection Outline. This document is a summary or outline of Sun's document: Tuning Garbage collection with the 1.4.2 Hotspot JVM located here: http:/ java.sun.com/docs/hotspot/gc1.4.2/. For many applications garbage collection performance is not significant. Default collector should be first choice. Most straightforward GC will just iterate over every object in the heap and determine if any other objects reference it. This gets really slow as the number of objects in the heap increase.
petefreitag.com
20 ways to Secure your Apache Configuration
http://www.petefreitag.com/item/505.cfm
20 ways to Secure your Apache Configuration. December 06, 2005. Here are 20 things you can do to make your apache configuration more secure. Disclaimer: The thing about security is that there are no guarantees or absolutes. These suggestions should make your server a bit tighter, but don't think your server is necessarily secure after following these suggestions. First, make sure you've installed latest security patches. So you can come back later, and patch your server. Appears on the bottom of pages ge...
petefreitag.com
AdSense Optimization Tips (from google)
http://www.petefreitag.com/item/413.cfm
AdSense Optimization Tips (from google). July 21, 2005. Google recently held a webinar for AdSense publishers. They gave out some adsense optimization tips that they have gathered over the past few years. The transcript. Is pretty lengthy, so here's the summary:. The middle, above the fold location perform best." Also "if you have an article page with a long body of text, the bottom of that article is actually pretty successful". If the colors stick out too much, readers may immediatly identify them as a...
petefreitag.com
FuseGuard 2.4 Released
http://www.petefreitag.com/item/825.cfm
FuseGuard 2.4 Released. October 31, 2013. I'm pleased to announce the availability of FuseGuard (Web App Firewall For CFML). Version 2.4 today! In addition Ortus Solutions (Luis Majano and the folks behind ColdBox) have also announced. A ColdBox module for FuseGuard. I'm really excited about the partnership with Ortus Solutions, they have really done a great job at building this plugin to make it extremely easy to add FuseGuard to a ColdBox application! What's New in FuseGuard 2.4. Scope Injection in CFML.
petefreitag.com
Archives for 2015
http://www.petefreitag.com/archive/2015/0.cfm
Top entries in 2015. Adding Chrome Custom Search for CFDocs. My CFSummit 2015 Slide Decks. HackMyCF Adds SSL/TLS Scanner. Scope Injection in CFML. IncompatibleClassChangeError after ColdFusion 11 Update 5. Pete is a husband and father located in scenic Central New York. Area He owns a ColdFusion Consulting and Products company, Foundeo Inc.
petefreitag.com
SQL to Select a random row from a database table
http://www.petefreitag.com/item/466.cfm
SQL to Select a random row from a database table. September 14, 2005. There are lots of ways to select a random record or row from a database table. Here are some example SQL statements that don't require additional application logic, but each database server requires different SQL syntax. Select a random row with MySQL:. SELECT column FROM table ORDER BY RAND(). Select a random row with PostgreSQL:. SELECT column FROM table ORDER BY RANDOM(). Select a random row with Microsoft SQL Server:. March 28, 2005.
petefreitag.com
Howto Create an RSS 2.0 Feed
http://www.petefreitag.com/item/465.cfm
Howto Create an RSS 2.0 Feed. September 13, 2005. If you can learn HTML, you can easily learn how to build your own RSS 2.0 feeds. I'll take you through the steps to creating an RSS feed from scratch. Step 1: XML Declaration. Since RSS 2.0 must. Validate as XML, the first. Line in your rss feed must be the XML declaration. Xml version="1.0" encoding="utf-8"? The encoding is optional but recommended. If your using something other than UTF-8 be sure to change the above line. Step 2: RSS Channel. Next we en...
petefreitag.com
IncompatibleClassChangeError after ColdFusion 11 Update 5
http://www.petefreitag.com/item/835.cfm
IncompatibleClassChangeError after ColdFusion 11 Update 5. April 20, 2015. If you use the. Function in ColdFusion 11, you may experience an error that looks like this:. The solution is to clear the. This is done quite easily in the ColdFusion administrator under. Clear Template Cache Now. Button, and it will work. Another way to fix this issue is to simply edit the cfm or cfc file that contains the. Why did this happen? Add to del.icio.us. Download FuseGuard WAF for ColdFusion. Subscribe to this thread.
petefreitag.com
SessionRotate solution for JEE Sessions
http://www.petefreitag.com/item/829.cfm
SessionRotate solution for JEE Sessions. March 28, 2014. As you may know the new ColdFusion 10 function SessionRotate. Works great if you are using ColdFusion sessions (CFID, CFTOKEN), but it doesn't actually rotate the session id or invalidate the underlying J2EE session if you are using JEE sessions. This is documented and by design, because a single J2EE session can span multiple ColdFusion applications on the same domain. Invalidate old session - - cfset req.getSession().invalidate()! Add the followi...
petefreitag.com
Tag: ajax on Pete Freitag's Blog
http://www.petefreitag.com/tag/ajax
May 09, 2011. Blackberry WebWorks AJAX Problems. I recently spent some time debugging AJAX connections for a application I built for a client using Blackberry WebWorks (via PhoneGap) and jQuery Mobile. The app was already working great on iOS and Android, however my AJAX (XMLHTTPRequest's) were not working on Blackberry. January 13, 2011. Quick Google CDN jQuery Tip. Here's a quick tip if your using Google's Content Delivery Network (CDN) for serving up jQuery (or other scripts). January 07, 2010. For me...