create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
| <?php | |
| /** | |
| * @file contains \Drupal\africa_tanzania_base\Trait\LoadTermsTrait; | |
| */ | |
| namespace Drupal\africa_tanzania_base; | |
| use Drupal\taxonomy\TermInterface; | |
| use Drupal\Core\TypedData\Exception\MissingDataException; | |
| use Drupal\Component\Plugin\Exception\PluginNotFoundException; | |
| use Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException; | 
| /** | |
| * Get taxonomy terms sorted by weight. | |
| * | |
| * @param int $vid | |
| * The vocabulary id. | |
| * | |
| * @return array | |
| * Returns an array of term id | name. | |
| * | |
| * @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException |