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
# How to force disable interface translation by overriding the locale lookup service to not be added to the translation manager | |
# settings.local.php: | |
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/default/services.local.yml'; | |
# services.local.yml (add this file to .gitignore): | |
services: | |
string_translator.locale.lookup: | |
class: Drupal\locale\LocaleTranslation |
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
git log --since "1 week ago" --oneline|gsed -r 's|#([0-9]+)|<a href="http://drupal.org/node/\1">Issue \1</a>|'|gsed -r 's|^((.*) Issue )|<li>|;s|$|</li>|' |
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
Array | |
( | |
[hook_menu] => 6744 | |
[hook_uninstall] => 4742 | |
[hook_perm(ission)] => 4012 | |
[hook_install] => 3751 | |
[hook_theme] => 3525 | |
[hook_schema] => 3003 | |
[hook_help] => 2465 | |
[hook_form_alter] => 2273 |
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
[alias] | |
fml = reset --hard HEAD | |
hist = log --pretty=format:\"%C(cyan)%h %C(green)%ad%Creset | %s %C(yellow)%d %C(magenta)[%an]\" --graph --date=short | |
s = status | |
st = status | |
sta = status | |
stat = status | |
statu = status | |
stats = status | |
unstage = rm --cached -r |