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
| /** | |
| * Constructs a new UserLoginResource object. | |
| * | |
| * @param \Drupal\Core\Flood\FloodInterface $flood | |
| * The flood controller. | |
| * @param \Drupal\user\UserStorageInterface $user_storage | |
| * The user storage. | |
| * @param \Drupal\Core\Access\CsrfTokenGenerator $csrf_token | |
| * The CSRF token generator. | |
| * @param \Drupal\user\UserAuthInterface $user_auth |
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
| path=${1} | |
| if [ $1 ] | |
| then | |
| wget -q -O - $1 | git apply - | |
| else | |
| echo "please enter url" | |
| exit | |
| fi |
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
| git commit -m "Something terribly misguided" (1) | |
| $ git reset --soft HEAD~ |
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
| #http://stackoverflow.com/questions/2668886/git-copy-all-files-in-a-directory-from-another-branch | |
| git checkout master -- dirname |
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
| #https://www.drupal.org/node/645286 | |
| php core/scripts/run-tests.sh --url http://example.com/ --class "Drupal\module_name\Tests\TestClass::testMethod" |
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
| /** | |
| * Enables field_formatter_settings and borealis | |
| */ | |
| function ilr_update_7003() { | |
| variable_set('ilr_test', 'test-value'); | |
| } |
NewerOlder