A list of all the region names and locations for Azure
You can recreate the list anytime using this command:
az account list-locations -o table
# Boilerplate for Drupal 10 projects with existing external source code. | |
name: core | |
# https://docs.lando.dev/config/drupal9.html#getting-started | |
recipe: drupal10 | |
config: | |
# IMPORTANT !!! | |
# | |
# Package drupal/core-recommended will place the web root at docroot/web. |
#!/usr/bin/env bash | |
# ========= LANDO TEST RUNNER ========= | |
# TEST RUNNER FOR PHPUNIT VERSION 10.x | |
# ========= LANDO TEST RUNNER ========= | |
# | |
echo "Your current work directory is $PWD" | |
SITES_PATH=web/sites |
#!/usr/bin/php | |
# In .git/hooks/commit-msg | |
# Make sure to +x hook | |
# https://www.atlassian.com/git/tutorials/git-hooks | |
# See https://www.php.net/manual/en/function.exit.php | |
# https://www.php.net/manual/en/reserved.variables.argv.php | |
# https://www.php.net/manual/en/function.file-get-contents.php | |
# Regex: https://regex101.com/r/uQKPeu/1 |
PCRE 2+
(?x)
# fingerprint and grip records only have about 12 fields,
# so the match can't be too strict with the number of mandatory fields.
^
(?
# src/web/core/lib/Drupal/Core/Theme/ThemeManager.php, line 389 | |
static $c = 1; | |
$filename = '/var/sys/RM26464.log'; | |
if ($c == 1) { | |
$handle = fopen($filename, 'r+'); | |
ftruncate($handle, 0); | |
rewind($handle); | |
// echo fread($handle, filesize($filename)); | |
fclose($handle); |
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
// C++ extension configuration. | |
{ | |
"name": "(Windows) Launch", | |
"type": "cppvsdbg", |
# Staying on version 2.x for performance tuning cpu, memory resources. | |
# Ver. 3.x is meant for swarms and is not 100% backwards-compat. | |
# Secrets are available only on 3.x. | |
version: '3.7' | |
networks: | |
default: | |
external: true | |
name: localenv | |
services: |
# The php files are mounted from the host so access is slow. | |
slow: pull www | |
docker run --rm --name symfony-demo -p 8080:8080 -v $(shell pwd)/www:/var/www djs55/symfony-demo |
nginx: | |
image: alexanderallen/nginx:1.17-alpine | |
tty: true | |
entrypoint: 'su-exec nobody /usr/sbin/nginx -g "daemon off;"' | |
ports: | |
- 80:8080 | |
- 443:443 | |
healthcheck: | |
test: curl --fail -s http://localhost:80 || exit 1 | |
interval: 30s |