- to build, same as
$ gulp build
. Includes clean, sourcemap, SASS compilation, autoprefixer.
$ gulp
- to watch changes and compile
$ gulp watch
#!/usr/bin/env bash | |
set -eEuo pipefail | |
MARKER_FILE_NAME="${DOCKER_PRUNER_MARKER:-DOCKER-PRUNER-MARKER-FILE}" | |
DOCKER_PATH="${DOCKER_PATH:-/var/lib/docker/overlay2}" | |
function _used_dirs() { | |
for docker_obj in $(docker ps -aq) $(docker image ls -aq); do | |
lowerdir="$(docker inspect "$docker_obj" | jq '.[].GraphDriver.Data.LowerDir' -r)" |
uname -a | |
dpkg --list | egrep -i --color 'linux-image|linux-headers|linux-modules' | awk '{ print $2 }' > kernels.txt | |
grep -v $(uname -r) kernels.txt > kernels_to_delete.txt | |
# Verify current kernal version is not in the list | |
grep $(uname -r) kernels_to_delete.txt | |
cat kernels_to_delete.txt | xargs sudo apt purge -y | |
sudo apt autoremove |
parameters: | |
http.response.debug_cacheability_headers: true | |
twig.config: | |
debug: true | |
auto_reload: true | |
cache: false | |
services: | |
cache.backend.null: | |
class: Drupal\Core\Cache\NullBackendFactory |
# Ignore directories generated by Composer | |
/drush/contrib/ | |
/vendor/ | |
core/ | |
modules/contrib/ | |
themes/contrib/ | |
profiles/contrib/ | |
libraries/ | |
# Ignore paths that contain user-generated content. |
# Original blog post: <https://mnx.io/blog/a-proper-server-naming-scheme/> | |
# Original word list: <http://web.archive.org/web/20091003023412/http://tothink.com/mnemonic/wordlist.txt> | |
# Sample usage: `curl <gist> | tail --lines +4 | shuf | head --lines 1` | |
acrobat | |
africa | |
alaska | |
albert | |
albino | |
album | |
alcohol |
After finding a lot of other posts on the topic that didn't work out for me this one did the trick so I'm reposting for my own sense of self preservation.
Copy the Virtualbox autostart plist template file to your system's LaunchDaemons folder.
sudo cp \
/Applications/VirtualBox.app/Contents/MacOS/org.virtualbox.vboxautostart.plist \
# This file contains .gitignore rules that are often used with Drupal projects. | |
# Because .gitignore is specific to your site and its deployment processes, you | |
# may need to uncomment, add, or remove rules. | |
# Pantheon commits a settings.php for environment-specific settings. | |
# Place local settings in settings.local.php | |
/web/sites/*/settings.local.php | |
/web/sites/*/settings.ddev.php | |
/web/sites/*/services*.yml | |
!/web/sites/*/services.pantheon.*.yml |
<?php | |
/** | |
* Implements hook_drush_command(). | |
*/ | |
function seed_derivatives_drush_command() { | |
$items = array(); | |
$items['seed_derivatives'] = array( | |
'description' => "Create image derivatives", |
#!/bin/bash | |
HOST=$(hostname) | |
function install_postfix() { | |
echo | sudo debconf-set-selections <<__EOF | |
postfix postfix/root_address string | |
postfix postfix/rfc1035_violation boolean false | |
postfix postfix/mydomain_warning boolean | |
postfix postfix/mynetworks string 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 |