Skip to content

Instantly share code, notes, and snippets.

@szeidler
szeidler / 0.DRCMD.README.md
Created May 4, 2022 14:27 — forked from esolitos/0.DRCMD.README.md
Drush command "executor" on alias pattern. Built for Wodby aliases naming standard, but can work on other setups.

DrCmd - DrushComander

drush command runner for Wodby aliases

0. Install

Save the file in /usr/local/bin/ (or anywhere else as long as it is in your $PATH) and verify that it is executable.

a. Right click on "Raw" button (for drcmd) and copy the URL.

@szeidler
szeidler / docker-cleanup-resources.md
Created July 18, 2017 15:05 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@szeidler
szeidler / Mysql Commands
Created March 6, 2017 16:31
MySQL: Create User and grant priv to wildcard DB
.
@szeidler
szeidler / nginx-drupal7-xml.conf
Created December 2, 2016 10:29 — forked from pprishchepa/nginx-drupal7-xml.conf
Docker4Drupal Nginx + XML
server {
server_name SERVER_NAME;
listen 80;
root /var/www/html/;
index index.php;
fastcgi_keep_conn on;
fastcgi_index index.php;
fastcgi_param QUERY_STRING $query_string;