du -s *|sort -hr|cut -f 2-|while read a;do du -hs $a;done
- get sorted sizes of all subdirectories
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Listen for Xdebug", | |
"type": "php", | |
"request": "launch", | |
"port": 9000, | |
// server -> local | |
"pathMappings": { |
rm .git -rf
or
for dir in find . -name ".git"; do rm -rf $dir;
git rm --cached directory
git add directory
or
git add .
-
Список доступных обновлений
composer outdated "drupal/*"
-
Проверить, что используется:
composer show drupal/core-recommended
2.1 если drupal/core-recommended
composer update drupal/core "drupal/core-*" --with-all-dependencies
2.2 Если нет
If you should encounter the problem that some translations are wrongly translated with the equal source language string (for example in our case there were German translations for "Author" translated with "Author" or "Published" with "Published"), you may use the following snippet to list them.
SELECT s.lid,s.source, t.translation FROM `locales_source` s
INNER JOIN locales_target t
WHERE s.lid=t.lid AND CONVERT(s.source USING utf8) = CONVERT(t.translation USING utf8)
AND t.customized=1
To finally delete them, you may use something like this, but make a backup before and know what you're doing!
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
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
version: "2" | |
services: | |
mariadb: | |
image: wodby/mariadb:10.1-2.1.0 | |
environment: | |
MYSQL_ROOT_PASSWORD: password | |
MYSQL_DATABASE: drupal | |
MYSQL_USER: drupal | |
MYSQL_PASSWORD: drupal |
NewerOlder