Skip to content

Instantly share code, notes, and snippets.

View stmllr's full-sized avatar
🏴‍☠️

Steffen Müller stmllr

🏴‍☠️
View GitHub Profile
@dudo
dudo / intrumentation.rb
Last active February 22, 2022 20:32
Tracing via a macro
module Instrumentation
DEFAULT_OPERATION = 'method.execution'
def self.trace(operation: DEFAULT_OPERATION, resource:, **options)
options.merge!(resource: resource).compact!
Datadog.tracer.trace(operation, options) do |span|
Datadog::Analytics.set_measured(span)
yield
end
rescue StandardError
@helhum
helhum / composer.json
Last active February 12, 2024 10:54
The (currently) ideal TYPO3 composer setup
{
"require": {
"typo3-console/composer-auto-setup": "^0.1",
"georgringer/news": "^6.1",
"helhum/typo3-secure-web": "^0.2.5",
"typo3/cms-introduction": "^3.0"
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
@rachellawson
rachellawson / .circleci_config.yml
Created July 7, 2017 21:28
CircleCI for Drupal 8 and Behat
version: 2
jobs:
build:
docker:
- image: circleci/php:7.1-apache-browsers
working_directory: ~/working
steps:
- checkout
- run:
@kraftb
kraftb / rewrite-staticfilecache.conf
Created November 20, 2013 20:36
TYPO3 apache htaccess supporting realurl and nc_staticfilecache
######################################################################
# Copyright notice
#
# (c) 2013 webconsulting business services gmbh (office@webconsulting.at)
# All rights reserved
#
# Based on work of various TYPO3 authors.
#
# This script is part of the TYPO3 project. The TYPO3 project is