This file contains hidden or 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
#/usr/bin/env bash | |
# Check if fzf is installed | |
if ! command -v fzf >/dev/null 2>&1 | |
then | |
echo "fzf could not be found" | |
exit 1 | |
fi | |
container=$(docker ps --format '{{.Names}}' | fzf) |
This file contains hidden or 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 | |
# | |
# Run from the drupal root folder | |
# Usage: ./copy_from_static.sh [cc] [<static directory>] | |
# [cc] If the first argument is 'cc', drupal cache will be cleared after update | |
# [static directory] The directory to update and copy content from. Default: ../static | |
# | |
# Examples: | |
# ./copy_from_static.sh | |
# Updates ../static and copies files to website |
This file contains hidden or 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
#!/usr/bin/bash | |
# | |
# Find which feature module tracks a certain Content Type or View | |
function usage { | |
echo " | |
Find which feature module tracks a certain content type or view | |
Usage: | |
./search_features.sh [-c] [-v] [-h] query |