Skip to content

Instantly share code, notes, and snippets.

Avatar

Tom Kaminski ttk

View GitHub Profile
@ttk
ttk / services.yaml
Last active May 6, 2020
A reference Symfony services.yaml file that has many different examples
View services.yaml
# config/services.yaml
services:
# default configuration for services in *this* file
_defaults:
autowire: true # Automatically injects dependencies in your services.
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
bind:
# pass this value to any $adminEmail argument
$adminEmail: 'manager@example.com'
@ttk
ttk / cf-els-goaccess.sh
Created Sep 21, 2018
Exports the Cloudflare ELS log file and transforms the format to be consumed by goaccess
View cf-els-goaccess.sh
#!/bin/bash
# Purpose: Exports the Cloudflare ELS log file and transforms the format to be consumed by goaccess.
# Developed by Tom Kaminski <tom@mobilenations.com>
# Requires the following tools:
# wget
# jq - https://stedolan.github.io/jq/
# goaccess - https://goaccess.io/