2024

4 min read

Comparing Symfony’s Access Control Methods

A comprehensive comparison of Symfony’s imperative and declarative access control methods, including denyAccessUnlessGranted(), @Security, @IsGranted, and custom voters.

2 min read

Run a PHP script as a daemon

Below is a simple example of a PHP script and guidance on how you could run it as a daemon.

1 min read

Checkout a branch name in all directories

We have a bunch of different repos that all have develop as their main branch. Sometimes I am working in various feature branches and then want to check out develop in all of them.

1 min read

Getting your CSS Changes from DevTools

I’ve been doing a lot of work on my Chrome extension, DayWatch, lately. Having my own extension open up whenever I open a new tab is great because it’s exactly the way I want it, …

2 min read

Y Combinator's Ideas for Future Tech

The startup incubator Y Combinator released an interesting “Request for Startups” document where they have a list of some promising fields in which they’d like to invest in …

3 min read

Control Access with the Proxy Pattern

The Proxy Pattern is a structural design pattern commonly used in object-oriented programming. This pattern provides a surrogate or placeholder object, known as a proxy, to control …

2 min read

Basic Postgres Commands

PostgreSQL commands can be broadly divided into command-line tools and SQL commands or functions you’d use within the psql interface. I’ll provide an overview of both: