Skip to content

Instantly share code, notes, and snippets.

View tenken's full-sized avatar

David Gurba tenken

View GitHub Profile
<?php // {custom_module}/src/Plugin/migrate/process/CustomFile.php Replace {custom_nodule} with your module's machine name
namespace Drupal\{custom_module}\Plugin\migrate\process; // Replace {custom_nodule} with your module's machine name
use Drupal\migrate\Plugin\MigrationInterface;
use Drupal\file\Plugin\migrate\process\d6\CckFile;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* @MigrateProcessPlugin(
@maximal
maximal / update-eap.sh
Last active April 24, 2019 11:49
Обновление тестовых версий (EAP) сред разработки компании JetBrains для Linux
#!/bin/bash
##
# Обновление тестовых версий (EAP) сред разработки компании JetBrains для Linux.
# В данном случае скачивается PhpStorm и GoLand, но скрипт подойдёт для любой среды разработки,
# выкладываемой компанией JetBrains в EAP.
#
#
# @author MaximAL
# @since 2019-04-24 Добавил опцию командной строки `no-eap` для получения стабильных версий вместо EAP.
# @since 2019-03-18 Сделал получение релизов через официальное JSON API.