Skip to content

Instantly share code, notes, and snippets.

View philoSurfer's full-sized avatar

Mariano Crivello philoSurfer

  • Pantheon
  • Koloa, HI
View GitHub Profile
#!/usr/bin/python
import os
import sys
import argparse
def parse_args():
p = argparse.ArgumentParser()
p.add_argument('--dryrun', '-n', action='store_true')
p.add_argument('search')
@philoSurfer
philoSurfer / multisite-lando-config.yml
Created September 30, 2021 19:43 — forked from kyletaylored/multisite-lando-config.yml
Lando WordPress Network Site / Multisite (WPMS)
# Using the pantheon recipe / wordpress_network framework, we add a config to the
# appserver_nginx service to use our own server and vhost files. Copy the files lando
# uses and on the wordpress_network.conf.tpl and added wp/ to the rewrite
# rules so lando knows where our WP files live within our Bedrock setup.
appserver_nginx:
type: nginx
ssl: true
config:
server: 'private/config/lando/nginx.conf.tpl'
@philoSurfer
philoSurfer / .lando.yml
Created April 6, 2023 07:30 — forked from MatthieuScarset/.lando.yml
Correct settings for XDebug + VSCode + Lando (+3.0)
# Lando version is at least +3.0
name: drupal-nine
recipe: drupal9
services:
appserver:
webroot: web
xdebug: debug
config:
php: .vscode/php.ini