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/sh | |
# This is usually run by the d_install script (https://gist.github.com/treall/240b8408cd944c17551a) | |
# This script will: | |
# make sure you're in the correct directory, | |
# download the latest drupal 7 release, | |
# install our frequently used modules, | |
# setup the admin account, | |
# create an Aurora subtheme, | |
# update the .htaccess file for use on our outdated dev server, |
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/sh | |
#to run this command type: sh install.sh sitename | |
if [ -e $1 ]; | |
then | |
echo "ERROR: please supply site name ie: thewiredmouse" | |
exit 1 | |
fi |
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/sh | |
# | |
# Read Me: To run this command type: sh setup.sh sitename cms | |
# | |
# Author: Dustin Harrell (The Wired Mouse) | |
# Version: 2.0.dev | |
# Description: Running this script will configure a new custom website for development within our development environment | |
# | |
if [ -e $1 ]; |
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/sh | |
#to run this command type: sh install.sh sitename | |
if [ -e $1 ]; | |
then | |
echo "ERROR: please supply site name ie: thewiredmouse" | |
exit 1 | |
fi |
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/sh | |
#to run this command type: sh install.sh sitename | |
if [ -e $1 ]; | |
then | |
echo "ERROR: please supply site name ie: thewiredmouse" | |
exit 1 | |
fi |
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/sh | |
# | |
# Read Me: To run this command type: sh archive.sh sitename | |
# | |
# Author: Dustin Harrell (The Wired Mouse) | |
# Version: 1.0.dev | |
# Description: Running this script will create archived zip files for deployment on Pantheon.io | |
# | |
if [ -e $1 ]; |
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 this shell script to resolve drupal npm issues for the project | |
# | |
# Author: Dustin Harrell - https://github.com/doostinharrell/ | |
# Version: 1.0 | |
# | |
# Resolving issues with Drupal looking at node_module info files |
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
# This file should be placed in ~/.config/fish/functions/fish_notify.fish | |
function fish_right_prompt | |
if test $CMD_DURATION | |
# Store duration of last command | |
set duration (echo "$CMD_DURATION 1000" | awk '{printf "%.3fs", $1 / $2}') | |
# OS X notification when a command takes longer than notify_duration | |
set notify_duration 10000 | |
set exclude_cmd "zsh|bash|less|man|more|ssh|drush php" |
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
<?php | |
// Database configuration. | |
$db_host = 'database'; | |
$db_username = 'drupal6'; | |
$db_password = 'drupal6'; | |
$db_database = 'drupal6'; | |
$db_url = 'mysql://' . $db_username . ':' . $db_password . '@' . $db_host . '/' . $db_database; | |
// Update settings.php for local lando dev. |
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
<?php | |
// Database configuration. | |
$databases = array(); | |
$databases['default']['default'] = array( | |
'driver' => 'mysql', | |
'host' => 'mysql', | |
'username' => 'mysql', | |
'password' => 'mysql', | |
'database' => 'data', |
OlderNewer