Categories
CMS Magento Mastering Development

Make Fonts Available to Subthemes

I have a Magento 2.3.3 instance that has many sites. We have purchased a theme, created a common subtheme that will be used as a parent theme for all sites. To illustate: purchased_subtheme (parent Luma) common_subtheme (parent purchased_subtheme) site_1_subtheme (parent common_subtheme) site_2_subtheme (parent common_subtheme) site_3_subtheme (parent common_subtheme) We are using a custom font for all […]

Categories
CMS Magento Mastering Development

Magento 2 Associate developer Set 2

QUESTION 1 The module MyCompany_MyModule will add a new page to the admin interface at the URL path admin/mycompany/entity_grid. How do you name the file containing the action controller class so the admin router matches the path to the class? A. Controller/Adminhtml/Entity/Grid/Index.php B. Controller/Adminhtml/Mycompany/Entity/Grid.php C. Controller/Adminhtml/Entity/Grid.php D. Controller/Adminhtml/Mycompany/Entity_Grid.php QUESTION 2 You need to add a […]

Categories
CMS Magento Mastering Development

Problem with redirects using similar ulr on routes.yaml

On my routes.yaml file a I have something like this: The problem is that when I go to the page: www.mysite.com/white-product/0004/product-test It redirects me to www.mysite.com/product/color-white.html instead of www.mysite.com/product-test.html but when I go to: www.mysite.com/white-product/0009/product-similar-test It works correctly.. and redirects me to www.mysite.com/product-similar-test.html Why is this happening? I know I have a rule that redirects […]

Categories
Database Development

SQL Server 2019 Core – Always on Availability Group – Availability replica is disconnected

all. (I have read through all the other topics related to this one, and I cannot find anything to is similar to this issue, unless there is one hidden that I have missed.) OK. SQL Server Always On High Availability When going through the Wizard, it completes successfully, all the databases in the joined nodes […]

Categories
Apple User Help

Photos not synching, macOS ‘optimize storage’ suddenly not working, and 100GB+ downloaded for no reason

Suddenly, my Mac stopped synching my photos: I have tons of free space on iCloud, and this is turned on: There’s no way that photos should take up 100+ GB of space: I have tried: Turning this function on and off in Photos.app Rebooting apps and the device Using all available options in the ‘manage […]

Categories
Database Development

How to find the column value with the biggest storage size in the DB?

Is there any way to find out which column value has the largest storage out of all tables in PostgreSQL DB? I’m looking for currently used storage, information_schema.column only shows the length of the datatype. Looking for something like max(pg_column_size()).

Categories
Linux Mastering Development

what is difference between symbolic link file and executable file?

I was exploring the /bin directory. The /bin contains file of two different colours, which according to this answer correspond to: Green indicates executable file Sky blue indicates system link In bash, I can execute files both of category, for example ping (executable) and cat (symbolic link). Should symbolic links also be called executable? How […]

Categories
Linux Mastering Development

How to switch

This is basically the same question as here: How to set ctrl+c to copy, ctrl+v to paste and ctrl+shift+c to kill process in xfce4-terminal?, but not a duplicate, because neither of the answers helped. Respectively, the first (the one not accepted), suggest to modify the ~/.config/xfce4/terminal/accels.scm but I did that: I have changed 2 lines: […]

Categories
Game Creation Mastering Development

How can I instantiate enemies in a 2D game at a set Viewport Position before my camera enters the room? (Or alternative solution!)

I’m currently working on a 2D game where I’m trying to pre-populate my level with encounters, I want the enemies already in the room when the player enters. Right now the encounter is triggered upon entering the room when the camera bumps into the collider and the enemies are instantiated at the Viewport position, however […]

Categories
Game Creation Mastering Development

Debugging Python OpenGL apps

How do I debug OpenGL apps written in python? I tried but I was unable to use standard tools like nvidia nsight or glsl-debugger or renderDoc on python code. Are there any specialized tools for debugging Python OpenGL ?