Pete Freitag's Homepage

6 ways to stay connected with other CF developers

Looking for a few ways to stay connected with other ColdFusion developers? Here's a few of my favorites:

CFML Slack Channel - this is a public slack channel that anyone can join for free. It currently has over 3,400 members....

Do you ¿ UTF-8? It's easier than you think

Understanding how UTF-8 works is one of those things that most programmers are a little fuzzy on. I know I often have to look up specific on it when dealing with a problem....

SameSite cookies with Apache

Almost two years ago I wrote about how you can enable SameSite cookies with IIS on cookies that do not have the ability to be written as SameSite....

CFParam for Integer or Empty String

I use the cfparam tag a lot in a view as a way to assert that a variable is of a specific type....

List Logical Names from SQL Server bak file

When restoring a SQL Server database from a bak file you may need to know what the Logical Names of the storage files are in order to restore them....

Solved: Git Clone Large Repo Download Errors

When attempting to clone a large git repository over https, hosted on an on premise GitLab instance, I kept getting the error:

error: RPC failed; curl 18 transfer closed with outstanding read data remaining

fatal:...

Searching for files by file name on Mac or Linux

Have you ever had to find a file by a file name or file extension? Sure you have! Here's how I locate a file when I'm using a Mac or Linux shell....

Running PostgreSQL in Docker for local dev

Recently I blogged about how I'm running SQL Server on Mac with Docker and Oracle on a Mac with Docker, so here's how you can run PostgreSQL locally using Docker... more specifically docker-compose....

Markdown Bullet Lists or UL Lists

Here is a quick guide to creating bullet lists, also known as ul lists or unordered lists with Markdown.

You can use * or -

As long as you start the line with a * or a - markdown will interpret that as a list item....

Is it necessary to cfqueryparam all values?

I had a question today asking why Fixinator does not add cfqueryparam to static values within a query....

How to run Oracle DB on a Mac with Docker

Oracle puts out a Windows and Linux binary for their Oracle Database servers, but what if you want to run it on a Mac? The solution for a while was to use a VM and boot up the linux version. Nowadays using Docker is a little bit easier....

Timing Attacks and the Timing-Allow-Origin Header

I've always found Timing Attacks to be an interesting type of web application vulnerability. You need to understand timing attacks before you can understand how to use the Timing-Allow-Origin http response header....
there is more to this site: sitemap