Skip to content

Instantly share code, notes, and snippets.

View AaronFeledy's full-sized avatar
💭
DevOps tooling and Drupal

Aaron Feledy AaronFeledy

💭
DevOps tooling and Drupal
View GitHub Profile
@AaronFeledy
AaronFeledy / highlight.user.js
Last active January 16, 2024 18:54
Highlight LinkedIn Drupal Jobs
// ==UserScript==
// @name LinkedIn Drupal Jobs
// @include https://www.linkedin.com/jobs
// @include https://www.linkedin.com/jobs/*
// @version 1
// @grant none
// ==/UserScript==
const jobsScript = {
searchText: 'Drupal',
@AaronFeledy
AaronFeledy / xdebug_diag.php
Last active August 11, 2023 16:38
Diagnose your Xdebug config
// Place this file in your docroot and access it via browser to help diagnose Xdebug issues.
<?php
echo '<html lang="en">';
echo '<head>';
echo '<title>Xdebug Diag</title>';
echo '<style>';
echo 'body { font-family: sans-serif; }';
echo 'details { margin-left: 1em; }';
echo 'summary { cursor: pointer; color: blue; }';
echo '</style>';
@AaronFeledy
AaronFeledy / mw_secondary_cache.go
Last active February 7, 2023 21:52
PoC Tyk Secondary Cache
package mw_secondary_cache
import (
"github.com/TykTechnologies/tyk/config"
ogctx "github.com/TykTechnologies/tyk/ctx"
"github.com/TykTechnologies/tyk/storage"
"github.com/metrotranscom/511_tyk_api/pkg/"
"github.com/metrotranscom/511_tyk_api/pkg/errs"
"github.com/metrotranscom/511_tyk_api/pkg/log"
"github.com/metrotranscom/511_tyk_api/pkg/mw"
@AaronFeledy
AaronFeledy / .lando.yml
Last active February 5, 2021 10:45
Example .lando.yml with Platform.sh and Drupal 8 / Gatsby Monorepo
name: myapp
# Start with the Drupal 8 recipe
recipe: drupal8
# Configure the D8 recipe to match up closer to a vanilla platform.sh stack
config:
# Lando defaults to Apache. Switch to nginx to match Platform.sh.
via: nginx
# Set the webroot to match .platform.app.yaml.