I am a Backend Engineering Manager with more than 7 years as a professional
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copy and paste this function into your .zshrc or .bashrc to use. | |
# This function assumes the following: | |
# 1. You have fzf (https://github.com/junegunn/fzf) installed | |
# 2. You have kubectl installed | |
# 3. Your helm managed deployments contain the label 'app.kubernetes.io/instance' | |
# where the value is the name of the helm release | |
# 4. Your active kubeconfig context is already pointing to the cluster |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
git clone https://git.drupalcode.org/project/drupal.git | |
cd drupal | |
git checkout 9.0.3 | |
curl https://gist.githubusercontent.com/mpriscella/be874acf4685e6bf3308732b0162be9b/raw/b4a97943cc99277c2fa2c55ee790c90ca363a247/devcontainer.patch | git apply - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile | |
new file mode 100755 | |
index 0000000000..dfa8f2ae3e | |
--- /dev/null | |
+++ b/.devcontainer/Dockerfile | |
@@ -0,0 +1,51 @@ | |
+FROM php:7.3-fpm-buster as php | |
+ | |
+WORKDIR /var/www/html | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: browser-test down drush install prune ps shell stop unit-test up | |
default: up | |
browser-test: | |
docker exec -ti $(shell docker ps --filter name='drupal_php' --format "{{ .ID }}") bash -c "cd /var/www/html/ && ./vendor/bin/phpunit -c phpunit.xml $(filter-out $@,$(MAKECMDGOALS))" | |
down: stop | |
drush: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
dry_run=false | |
while [[ $# > 0 ]]; do | |
case "$1" in | |
-b|--build) | |
build="$2" | |
shift | |
;; | |
-v|--version) |
I hereby claim:
- I am mpriscella on github.
- I am mpriscella (https://keybase.io/mpriscella) on keybase.
- I have a public key whose fingerprint is D9FE 83E7 9440 65A1 2F35 5E0D 3BF9 56BD 6269 93D8
To claim this, I am signing this object: