Pete Freitag

Pete Freitag @pfreitag

About: A developer focused on CFML & web application security

Location:
NY
Joined:
May 23, 2019

Pete Freitag
articles - 18 total

How I cut AWS Lambda Java Cold Start Times in Half

It is rare that a simple JVM argument change can have a dramatic impact on execution times, but in...

Learn More 7 0Apr 12 '22

Replacing Twitter Share / Follow Widget Buttons with CSS

While looking at the PageSpeed Insights for my blog I noticed that the Twitter widgets I was using to...

Learn More 3 2Sep 3 '21

Bash Script to log file modifications with osquery

Here's a bash script that uses osquery to log which files in a specific folder have been modified...

Learn More 1 1Jul 29 '21

One liner to download a Browser with PowerShell on Windows Server

It would be nice if Windows Server 2019 came with Microsoft Edge Browser, but it still comes with...

Learn More 0 0Sep 3 '21

SameSite cookies with Apache

Almost two years ago I wrote about how you can enable SameSite cookies with IIS on cookies that do no...

Learn More 3 0Apr 1 '20

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 k...

Learn More 1 0Apr 1 '20

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...

Learn More 7 0Mar 5 '20

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 Docke...

Learn More 7 0Dec 19 '19

Everything I know about Markdown Bullet Lists

My goal here is to create a quick guide to creating bullet lists, also known as ul lists or unordered...

Learn More 8 0Nov 22 '19

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...

Learn More 8 1Nov 5 '19

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...

Learn More 6 0Oct 28 '19

Counting IP Addresses in a Log File

I've been using grep to search through files on linux / mac for years, but one flag I didn't use much...

Learn More 7 0Oct 14 '19

Recursively Counting files by Extension on Mac or Linux

Back in 2004 I wrote up a blog entry showing how to get a count of files by a specific extension. For...

Learn More 10 0Oct 11 '19

Hacktoberfest Tips for Contributors

It never ceases to amaze me how many people will emerge out of the woodwork to earn a free T-Shirt ea...

Learn More 4 0Oct 8 '19

How to Run SQL Server on a Mac

You use a Mac, but you need to run Microsoft SQL Server. I never thought this would be so easy (I sta...

Learn More 7 0Oct 21 '19

The difference between cd - vs cd ~-

The other day I posted one of my old (from 16 years ago) blog entries on twitter, Backtracking with B...

Learn More 55 6Sep 27 '19

Why is my Apache httpd Alias Not Working?

Ran into this today, so I thought I would blog it. I had an alias in my httpd.conf such as: Alias...

Learn More 6 0Nov 13 '19

Passing Environment Variables with Sudo

Suppose you have a bash script that sets an environment variable, and then invokes something with sud...

Learn More 8 0Oct 4 '19