To use different ssh key depending on the repository
git config core.sshCommand "ssh -o IdentitiesOnly=yes -i ~/.ssh/id_rsa -F /dev/null"
git config core.sshCommand "ssh -o IdentitiesOnly=yes -i ~/.ssh/id_rsa -F /dev/null"
I recall a friend of mine asking me: "As an IT guy.
git reset HEAD~1
git config --global help.autocorrect 1
Having a status like this:
$ git status
modified: composer.json
modified: composer.lock
deleted: config/webform.webform.foo.yml
deleted: config/webform.webform.bar.yml
deleted: config/webform.webform.bazyml
modified: config/core.extension.yml
If I want to revert only `webform` changes by running something like,
$ git checkout config/webform.webform.*
It won't work because those are deleted files, then I can use `awk` to create `checkout` statements,
Do you know what pages have links pointing to `.pdf` files? Kinda nice question, right! Well it might be easy (not really) if you do not have thousand of nodes.
Adding keywords might be useful for search results perhaps if we include synonymous however there is not just yet a way to include Metatag keywords out of the box into Search API index then guess w
Once upon a time I was asked to use `Facets` module to expose new facets based on content types.
/** @var \Drupal\Core\Database\Query\SelectExtender $query */
echo $query->__toString();
var_dump($query->getArguments());
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}