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
<?php | |
error_reporting(0); | |
ini_set('display_errors', 'Off'); | |
ini_set('display_startup_errors', 'Off'); | |
//Bootstrap Drupal | |
chdir(getcwd() . '/../'); | |
define('DRUPAL_ROOT', getcwd()); | |
require_once(DRUPAL_ROOT . '/includes/bootstrap.inc'); | |
drupal_override_server_variables(); |
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
var webdriver = require('selenium-webdriver'), | |
chromeDriver = require('selenium-webdriver/chrome'), | |
By = require('selenium-webdriver').By, | |
until = require('selenium-webdriver').until; | |
var options = new chromeDriver.Options(); | |
options.addArguments('start-maximized'); | |
options.addArguments('incognito'); | |
options.setUserPreferences({'download.default_directory' : '/path/to/your/download/directory'}); |
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/sh | |
# | |
# Script to migrate databases from prod | |
# | |
REMOTE_HOST=<your-remote-hostname> | |
REMOTE_USER=<your-remote-username> | |
# get remote password |