Skip to content

Instantly share code, notes, and snippets.

View ttk's full-sized avatar

Tom Kaminski ttk

View GitHub Profile
@ttk
ttk / cf-els-goaccess.sh
Created September 21, 2018 22:44
Exports the Cloudflare ELS log file and transforms the format to be consumed by goaccess
#!/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/
@ttk
ttk / services.yaml
Last active May 6, 2020 16:28
A reference Symfony services.yaml file that has many different examples
# 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'