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
Switch to git mode | |
clone the repo from the pantheon dashboard | |
cd wp-content | |
ln -s ./uploads/wflogs ./wflogs |
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 | |
# set the environment | |
export PANTHEON_SITE_NAME='carey-drupal8' | |
export PANTHEON_ENV='dev' | |
export TERMINUS=~/vendor/pantheon-systems/terminus/bin/terminus | |
# Before updating change to sftp mode | |
$TERMINUS connection:set $PANTHEON_SITE_NAME.$PANTHEON_ENV sftp |
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
Host *.getpantheon.com *.panth.io *.pantheon.io | |
User darwindelimos | |
ServerAliveInterval 60 | |
ServerAliveCountMax 10 |
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
<h1>Pantheon MyISAM to InnoDB engine converter</h1> | |
<?php | |
/* | |
* Use this script ONLY if you are a Pantheon customer. | |
* ONLY RUN THIS SCRIPT IN DEV! | |
*/ | |
$mysqli = @new mysqli($_ENV['DB_HOST'], $_ENV['DB_USER'], $_ENV['DB_PASSWORD'], $_ENV['DB_NAME'], $_ENV['DB_PORT']); | |
if ($mysqli->connect_errno) { |
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
{ | |
"require": { | |
"pantheon-systems/terminus": "^2.0", | |
"squizlabs/php_codesniffer": "^3.5" | |
} | |
} |
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
#!/usr/bin/bash | |
terminus backup:create dayrit.live --element=db | |
terminus backup:create dayrit.live --element=code | |
terminus backup:create dayrit.live --element=files |
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 | |
ini_set('ioncube.loader.encoded_paths', '/'); |
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
TODO |
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 | |
echo date_default_timezone_get(); | |
echo '<br>'; | |
echo date('d-m-Y H:i:s'); |
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
MariaDB 10.0.23-MariaDB | |
Nginx 1.8.1 | |
Fedora 22 |
OlderNewer