Pete Freitag's Homepage
Java LTS Version Roadmap and Guide
December 8, 2020
People often download and install the latest version of Java, rather than the latest LTS version of java. In most cases, especially if it is on a server you probably want to be using the LTS version of java....
ColdFusion Summit Fall 2020
November 18, 2020
Thanks to all who attended my talk today on Securing ColdFusion Applications. You can find the slides here....
One liner to download a Browser with PowerShell on Windows Server
October 20, 2020
It would be nice if Windows Server 2019 came with Microsoft Edge Browser, but it still comes with good old IE 11, and on a Windows Server, you have to jump through hoops to let IE download anything due to its default security settings....
CFML Left and Right Functions can Accept Negative Counts
September 9, 2020
Here is a handy trick I saw in some code recently. It turns out you can use a negative integer in the count argument of the left() and right() functions in CFML....
Setting Lucee Admin Password with CommandBox
September 2, 2020
One of the recent changes to Lucee is that no longer allows you to enter an admin password from the web based lucee admin if one had not been set yet....
Cleaning up Development Disk Space CommandBox
August 21, 2020
I've been using CommandBox to startup CF servers on my dev laptop and desktop for several years, maybe even since the first version was released! CommandBox does a great job of hiding its internal magic, and thus the amount of disk space it consumes ...
Creating a Symbolic Link with ln -s What Comes First?
July 13, 2020
One thing I've had to google more times than I'd like to admit is the path argument order for the ln command. What comes first in the ln -s command on linux or Mac? So I thought I'd write a little blog entry for future me to find....
ColdFusion 2020 Developer Week - Securing CF
May 22, 2020
Yesterday I spoke at the Adobe ColdFusion Developer Week online event. There was a great turnout (several hundred attendees), so my thanks to Adobe and Carahsoft for organizing a great event....
Writing a GitHub Actions Workflow that Uses a Docker Image
May 14, 2020
When working with Github Actions there are a few different ways to write a workflow yaml that uses a docker image or a docker container....
Slides: Continuous Integration Zero to Infinity
May 8, 2020
It was great to be able to present at the Into The Box 2020 conference again this year. Here are the slides for my talk: Continuous Integration Zero to Infinity....
Dumping HTTP Servlet Request Attributes and Parameters in CF
April 27, 2020
Here's a little code snippet I wrote many years ago to dump out all the http servlet request attributes or parameters from ColdFusion / Lucee (CFML):
<cfset pageContext = getPageContext()>
<cfset httpReq = pageContext....
<cfset pageContext = getPageContext()>
<cfset httpReq = pageContext....
Scan CFML for Security Issues from VS Code
April 21, 2020
Thanks to the new commandbox vscode extension, it is now really easy to scan your CFML code for security issues from VS Code with Fixinator:
Here's how:...
Here's how:...