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 | |
# License: Eclipse Public License - v 2.0 (https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html) | |
# Updated on January 30, 2023 | |
if [[ $EUID -ne 0 ]]; then | |
echo -e "\nThis script must be run as root. Exiting. . . .\n\n" | |
exit 1 | |
fi |
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 | |
# License: Eclipse Public License - v 2.0 (https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html) | |
# Updated on January 11, 2023 | |
# Doesn' work yet. . . . | |
# From https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-later/upgrading-a-composer-based-site | |
if [[ $EUID -eq 0 ]]; then | |
echo -e "\nThis script may not be run as root. Exiting. . . .\n\n" |
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
/** | |
* Updated October 25, 2020 | |
*/ | |
h1.title | |
{ | |
display: none; | |
} | |
#main-wrapper |
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
[CmdletBinding()] | |
param( | |
[Parameter(position=0, Mandatory=$true)] | |
[String]$lcFolder | |
) | |
$lcDate = Get-date -Format MM/dd/yyyy" "HH:mm:ss | |
echo "Setting timestamp for $lcFolder" | |
$loFiles = Get-ChildItem -recurse "$lcFolder" |
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 | |
# License: Eclipse Public License - v 2.0 (https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html) | |
# Updated on November 7, 2022 | |
if [[ "$EUID" -ne 0 ]] | |
then | |
echo -e "\nThis script must be run as root. Exiting. . . .\n\n" | |
exit 1 | |
fi |
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 | |
# License: Eclipse Public License - v 2.0 (https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html) | |
# Updated on November 7, 2022 | |
if [[ $EUID -ne 0 ]]; then | |
echo -e "\nThis script must be run as root. Exiting. . . .\n\n" | |
exit 1 | |
fi |
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 | |
# License: Eclipse Public License - v 2.0 (https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html) | |
# Updated on November 7, 2022 | |
if [[ $EUID -eq 0 ]] | |
then | |
echo -e "\nThis script may not be run as root. Exiting. . . .\n\n" | |
exit 1 | |
fi |
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 | |
# Updated on August 14, 2017 | |
# If not exactly 3 arguments. . . . | |
if [ ! $# == 3 ] | |
then | |
echo -e "\nOne must pass the Drupal folder name under /var/www, the new subtheme machine name and new subtheme title.\n\n" | |
echo -e "For example, $0 Fred.com adminimal_child 'Adminimal Child'\n\n" | |
echo -e "Exiting. . . .\n\n" |
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 | |
# Updated on August 7, 2019 | |
# If not exactly 3 arguments. . . . | |
if [ ! $# == 3 ] | |
then | |
echo -e "\nOne must pass the Drupal folder name under /var/www, the new subtheme machine name and new subtheme title.\n\n" | |
echo -e "For example, $0 Fred.com bstrap_child 'BStrap Child'\n\n" | |
echo -e "Exiting. . . .\n\n" |
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 | |
# License: Eclipse Public License - v 2.0 (https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html) | |
# Updated on November 7, 2022 | |
if [ -z "$1" ] | |
then | |
echo -e "\nOne must pass the folder name under /var/www to be set. Exiting. . . .\n\n" | |
exit 1 | |
fi |
NewerOlder