- Create a gist if you haven't already.
- Clone your gist:
# make sure to replace `<hash>` with your gist's hash git clone https://gist.github.com/<hash>.git # with https git clone [email protected]:<hash>.git # or with ssh
This file contains hidden or 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
| composer require "drupal/admin_toolbar" "drupal/block_class" "drupal/ctools" "drupal/devel" "drupal/embed" "drupal/entity_browser:^2.0" "drupal/entity_embed" "drupal/field_group" "drupal/inline_entity_form" "drupal/linkit" "drupal/media_entity_browser:^2.0" "drupal/menu_block" "drupal/paragraphs" "drupal/paragraphs_edit" "drupal/entity_usage" "drupal/pathauto" "drupal/redirect" "drupal/svg_image" "drupal/token" "drupal/video_embed_field:^2.0" "drupal/viewsreference" "drupal/weight" "drupal/entity_reference_revisions" "drupal/chosen" "drupal/menu_link_attributes" | |
| // For development only | |
| composer require --dev "drupal/twig_xdebug" |
This file contains hidden or 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
| composer require "drupal/admin_toolbar" "drupal/block_class" "drupal/ctools" "drupal/devel" "drupal/embed" "drupal/entity_browser:^2.0" "drupal/entity_embed" "drupal/field_group" "drupal/inline_entity_form" "drupal/linkit" "drupal/media_entity_browser:^2.0" "drupal/menu_block" "drupal/paragraphs" "drupal/paragraphs_edit" "drupal/pathauto" "drupal/redirect" "drupal/svg_image" "drupal/token" "drupal/video_embed_field:^2.0" "drupal/viewsreference" "drupal/weight" "drupal/entity_reference_revisions" "drupal/chosen" |
This file contains hidden or 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
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |
This file contains hidden or 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
| name: Remove Comment Tips | |
| type: module | |
| description: Remove the comment tips link beneath comment forms in Drupal 8. | |
| core: 8.x | |
| version: '8.x-1.0' |
This file contains hidden or 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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |