Skip to content

Instantly share code, notes, and snippets.

Neven nkajic

  • Zagreb, Croatia
Block or report user

Report or block nkajic

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nkajic
nkajic / LC_CTYPE.txt
Created Apr 23, 2019 — forked from jampajeen/LC_CTYPE.txt
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
View LC_CTYPE.txt
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
@nkajic
nkajic / misc.xml
Created Oct 20, 2017
.idea/misc.xml is needed for xml namespace recognition for layouts in PhpStorm for default Magento 2.2. (place it in .idea folder and restart PhpStorm)
View misc.xml
<?xml version="1.0"?>
<project version="4">
<component version="2" name="ProjectRootManager"/>
<component name="ProjectResources">
<resource url="urn:magento:module:Magento_Store:etc/config.xsd" location="$PROJECT_DIR$/vendor/magento/module-store/etc/config.xsd"/>
<resource url="urn:magento:framework:ObjectManager/etc/config.xsd" location="$PROJECT_DIR$/vendor/magento/framework/ObjectManager/etc/config.xsd"/>
<resource url="urn:magento:framework:Module/etc/module.xsd" location="$PROJECT_DIR$/vendor/magento/framework/Module/etc/module.xsd"/>
<resource url="urn:magento:module:Magento_Config:etc/system_file.xsd" location="$PROJECT_DIR$/vendor/magento/module-config/etc/system_file.xsd"/>
<resource url="urn:magento:framework:App/etc/routes.xsd" location="$PROJECT_DIR$/vendor/magento/framework/App/etc/routes.xsd"/>
<resource url="urn:magento:module:Magento_Ui:etc/ui_definition.map.xsd" location="$PROJECT_DIR$/vendor/magento/module-ui/etc/ui_definition.map.xsd"/>
@nkajic
nkajic / misc.xml
Created Jan 27, 2017
.idea/misc.xml needed for xml namespace recognition in PhpStorm for default Magento 2 (place it in .idea folder and restart PhpStorm)
View misc.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectResources">
<resource url="urn:magento:framework:Acl/etc/acl.xsd" location="$PROJECT_DIR$/vendor/magento/framework/Acl/etc/acl.xsd" />
<resource url="urn:magento:framework:Api/etc/extension_attributes.xsd" location="$PROJECT_DIR$/vendor/magento/framework/Api/etc/extension_attributes.xsd" />
<resource url="urn:magento:framework:App/etc/resources.xsd" location="$PROJECT_DIR$/vendor/magento/framework/App/etc/resources.xsd" />
<resource url="urn:magento:framework:App/etc/routes.xsd" location="$PROJECT_DIR$/vendor/magento/framework/App/etc/routes.xsd" />
<resource url="urn:magento:framework:Cache/etc/cache.xsd" location="$PROJECT_DIR$/vendor/magento/framework/Cache/etc/cache.xsd" />
<resource url="urn:magento:framework:Config/etc/theme.xsd" location="$PROJECT_DIR$/vendor/magento/framework/Config/etc/theme.xsd" />
<resource url="urn:magento:framework:Config/etc/view.xsd" location="$PROJECT_DIR$/vendor/
You can’t perform that action at this time.