git format-patch -7 HEAD --stdout > 0001-last-10-commits.patch
git am --keep-cr 000*-*.patch
| function getObjectDiff(obj1, obj2) { | |
| const diff = Object.keys(obj1).reduce((result, key) => { | |
| if (!obj2.hasOwnProperty(key)) { | |
| result.push(key); | |
| } else if (_.isEqual(obj1[key], obj2[key])) { | |
| const resultKeyIndex = result.indexOf(key); | |
| result.splice(resultKeyIndex, 1); | |
| } | |
| return result; | |
| }, Object.keys(obj2)); |
| {"lastUpload":"2021-05-27T13:38:39.441Z","extensionVersion":"v3.4.3"} |
git format-patch -10 HEAD --stdout > 0001-last-10-commits.patch
File -> Settings -> Build, Execution, Deployment -> Compiler -> Annotation ProcessorsRun -> Edit configurations, слева выбираем Spring Boot. Во вкладке Configurations в поле On Update action выставляем Update classes and resources. Подробнее читайте тут.File -> Settings -> Build, Execution, Deployment -> Compiler и ставим галку напротив Build project automaticallyRegistry из выпадающего меню.compiler.automake.allow.when.app.running и ставим галку.Spring Boot.drupal_set_message() -> \Drupal::messenger()->addMessage($message);| UPDATE elysia_cron set running = 0 where name = 'job_name'; |
| <?php | |
| /** | |
| * Скачивание файла. | |
| */ | |
| function downloadBinaryFile(File $file = NULL) { | |
| if (empty($file)) { | |
| return NULL; | |
| } | |