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
╰─$ ddev debug test 1 ↵ | |
Running bash [-c /var/folders/td/m2shfpr11t53mr_bsyrrlpdw0000gq/T/test_ddev.sh] | |
======= Existing project config ========= | |
These config files were loaded for project gsb-d9-1: [/Users/gmercer/Desktop/ddev/locals/gsb-d9-1/public-website/.ddev/config.yaml] | |
name: gsb-d9-1 | |
type: drupal9 | |
docroot: web | |
php_version: 8.0 | |
webserver_type: nginx-fpm | |
webimage: ddev/ddev-webserver:v1.22.3 |
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
diff --git a/modules/system-info/reporters/server.php b/modules/system-info/reporters/server.php | |
index 1be5b890b..6f8d85369 100644 | |
--- a/modules/system-info/reporters/server.php | |
+++ b/modules/system-info/reporters/server.php | |
@@ -318,7 +318,7 @@ class Server extends Base { | |
public function get_write_permissions() : array { | |
$paths_to_check = [ | |
static::KEY_PATH_WP_ROOT_DIR => $this->get_system_path( static::KEY_PATH_WP_ROOT_DIR ), | |
- static::KEY_PATH_HTACCESS_FILE => $this->get_system_path( static::KEY_PATH_HTACCESS_FILE ), | |
+ //static::KEY_PATH_HTACCESS_FILE => $this->get_system_path( static::KEY_PATH_HTACCESS_FILE ), |
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
╭─ ~/Desktop/ddev/locals/gsb-d9-2/public-website (develop ●) | |
╰─$ ddev debug test 255 ↵ | |
Running bash [-c /var/folders/td/m2shfpr11t53mr_bsyrrlpdw0000gq/T/test_ddev.sh] | |
OS Information: Darwin GSB-VK4NXGL4H5 21.6.0 Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:22 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T6000 arm64 | |
ProductName: macOS | |
ProductVersion: 12.5 | |
BuildVersion: 21G72 | |
User information: uid=503(gmercer) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh),400(com.apple.access_remote_ae),702(com.apple.sharepoint.group.2),701(com.apple.sharepoint.group.1) | |
DDEV version: ITEM VALUE |
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
diff --git a/config/authsources.php b/config/authsources.php | |
index 0d8da0e..3aa71c7 100644 | |
--- a/config/authsources.php | |
+++ b/config/authsources.php | |
@@ -318,3 +318,12 @@ $config = [ | |
], | |
*/ | |
]; | |
+ | |
+// Add the GSB specific configuration. |
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
find . -type f -name '*.rb' -exec sed -i '' 's/[[:space:]]*$//' {} \+ |
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
Install Lando | |
On Mac run the following command: | |
brew cask install lando | |
Installing Drupal8 | |
0. start with an empty directory | |
1. lando init |
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
du --block-size=MiB --max-depth=1 | sort -rn |
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
two methods | |
------------------------ | |
git apply --ignore-space-change --ignore-whitespace mychanges.patch | |
patch -p1 < example.patch | |
also use these git configs | |
------------------------------ | |
git config --global core.whitespace trailing-space,space-before-tab | |
git config --global apply.whitespace fix |
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
// https://aws.amazon.com/blogs/mobile/testing-mobile-apps-across-hundreds-of-real-devices-with-appium-node-js-and-aws-device-farm/ | |
var expect = require('chai').expect; | |
var desiredCaps = { | |
// The generated session will be visible to you only. | |
sessionName: 'Automation test session', | |
sessionDescription: '', | |
deviceOrientation: 'portrait', |
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
D8 - Dependency Injection - Controllers | |
Key ContainerInterface method - create() | |
public static function create(ContainerInterface $container) | |
and use of $container->get() | |
... | |
lightning-8/modules/custom/basic/src/Controller/BasicController.php |
NewerOlder