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
diff --git a/src/Plugin/views/Entity/Render/TranslationLanguageRenderer.php b/src/Plugin/views/Entity/Render/TranslationLanguageRenderer.php | |
index d14d8a5..4c055fb 100644 | |
--- a/src/Plugin/views/Entity/Render/TranslationLanguageRenderer.php | |
+++ b/src/Plugin/views/Entity/Render/TranslationLanguageRenderer.php | |
@@ -58,7 +58,7 @@ class TranslationLanguageRenderer extends DefaultLanguageRenderer { | |
/** | |
* {@inheritdoc} | |
*/ | |
- public function getLangcode(ResultRow $row) { | |
+ public function getLangcode(ResultRow $row, $relationship = NULL) { |
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
SELECT table_name AS "Tables", | |
round(((data_length + index_length) / 1024 / 1024), 2) "Size in MB" | |
FROM information_schema.TABLES | |
WHERE table_schema = "___DB_NAME___" | |
ORDER BY (data_length + index_length) DESC; | |
-- Here's a query you can run to see the size per DB table: | |
SELECT | |
TABLE_SCHEMA, |
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
pv sqlfile.sql | mysql -uxxx -pxxxx dbname |
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
drush @SITE sql-dump --gzip | zcat | drush sql-cli |
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
drush rsync LOCALPATH @SITEALIAS:REMOTEPATH |
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
diff --git a/src/Plugin/DsField/BundleField.php b/src/Plugin/DsField/BundleField.php | |
index 460cc62..ef9ff50 100644 | |
--- a/src/Plugin/DsField/BundleField.php | |
+++ b/src/Plugin/DsField/BundleField.php | |
@@ -47,10 +47,8 @@ class BundleField extends DsFieldBase { | |
* {@inheritdoc} | |
*/ | |
public function build() { | |
- $config = $this->getConfiguration(); | |
$entity = $this->entity(); |
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
SELECT table_name, table_rows FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'wodby' ORDER BY table_name; |
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
diff --git a/core/lib/Drupal/Core/Routing/RouteProvider.php b/core/lib/Drupal/Core/Routing/RouteProvider.php | |
index 5d92e77..725d64c 100644 | |
--- a/core/lib/Drupal/Core/Routing/RouteProvider.php | |
+++ b/core/lib/Drupal/Core/Routing/RouteProvider.php | |
@@ -167,7 +167,7 @@ public function getRouteCollectionForRequest(Request $request) { | |
'query' => $query_parameters, | |
'routes' => $routes, | |
]; | |
- $this->cache->set($cid, $cache_value, CacheBackendInterface::CACHE_PERMANENT, ['route_match']); | |
+// $this->cache->set($cid, $cache_value, CacheBackendInterface::CACHE_PERMANENT, ['route_match']); |
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
DELETE FROM key_value WHERE collection='update_fetch_task'; |
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
const http = require("http"); | |
const querystring = require('querystring'); | |
const hostname = "0.0.0.0"; | |
const port = 3000; | |
const server = http.createServer((req, res) => { | |
console.log(`\n${req.method} ${req.url}`); | |
console.log(req.headers); |
OlderNewer