Skip to content

Instantly share code, notes, and snippets.

View featuriz's full-sized avatar
🪄
Let me see it

Sudhakar Krishnan featuriz

🪄
Let me see it
View GitHub Profile
// Drupal 9 Custom Moduel Form file field with upload, validate and move and save.
<?php
namespace Drupal\careerjobs\Form;
use Drupal\Core\Database\Database;
use Drupal\Core\Entity\EntityStorageException;
@featuriz
featuriz / ReactJS-Redux.md
Last active December 8, 2021 17:36
ReactJS Redux
:: echo %HOMEPATH%
FOR %%y IN ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") DO (
FOR /D %%z IN ("C:%HOMEPATH%\AppData\Roaming\JetBrains\%%y*") DO (
rmdir "%%z\eval" /s /q
del "%%z\options\other.xml"
)
)
:: cd "C:%HOMEPATH%\AppData\Roaming\JetBrains\IntelliJIdea*\"
:: rmdir "eval" /s /q