Magento 2.3 Extensions on Ubunu 18.04

I installed Magento 2.3 successfully on my Ubuntu Maschine and tried to start to make my first own module. I followed this tutorial: https://www.cloudways.com/blog/create-module-in-magento-2/.

But I quickly ran into a problem as the php bin/magento module:status command is not working.

The problem is that: “There are no commands defined in the “module namespace.

Any Idea how i can save this problem?

enter image description here

Bulk change file extensions

I have a folder with ~30 files. The are already BitTorrent metafiles that lack a .torrent suffix. I want to change all those files to .torrent files. How would I do that? In windows it was as easy as typing

ren *.* *.torrent 

while being inside the folder with all those files.

I am not sure what the current file extension of those 30 files is.

Appreciate any help!

how to compare files with diffrent extensions and delete extra files?

I have 2 folders one contains images files and the second contains text files each text file have the same name as the image file and contains information about the image.eg:

   -Labels:      -1.txt      -2.txt      -3.txt      -6.txt    -Images:      -1.jpg      -2.jpg      -3.jpg      -4.jpg      -5.jpg      -6.jpg 

I want to delete images who has not a text file(in this example:4.jpg,5.jpg), I found a method how to determinate the different files but I can’t delete them.

   diff <(ls -1 ./Images | sed s/.jpg//g) <( ls -1 ./Labels | sed s/.txt//g) 

Recommendation for Free Lazy Loading Extensions Magento 2

i’m looking for recommendation for free lazy loading extension that is likely works for magento 2.2.9 with infortis ultimo theme.

here are some list i found:

-welt MAGENTO 2 LAZY LOAD PRODUCTS AND IMAGES.

-bss Magento 2 Lazy Load

-magezon Magento 2 Lazy Load Extension

-Magento 2 Image Lazy Load Extension

have anyone try any of them, and recommended or not recommended?

terminal – count how many types of (file) extensions exist with their associated files in current directory

I’ve about 0.1 million images in a directory with all kinds of extensions (gif, jpeg, png, tiff, etc).

Now I want to find out how many types (of extensions) are there in the current directory, possibly with total number of images associated with them using a terminal command, something like this:

some-command  png  - 11010 jpeg - 1134 jpg  - 145 tiff - 555 

P.S: I do not want to count files with specific extension but rather want to count types of extensions with their associated files.

To enable extensions, verify that they are enabled in your .ini files

Any Help

    To enable extensions, verify that they are enabled in your .ini files:     - /opt/cpanel/ea-php72/root/etc/php.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-bcmath.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-calendar.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-ctype.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-curl.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-dom.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-ftp.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-gd.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-iconv.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-imap.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-intl.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-json.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-mbstring.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-mysqlnd.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-pdo.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-phar.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-posix.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-simplexml.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-sockets.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-sqlite3.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-tokenizer.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-xml.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-xmlwriter.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-xsl.ini     - /opt/cpanel/ea-php72/root/etc/php.d/20-zip.ini     - /opt/cpanel/ea-php72/root/etc/php.d/30-mysqli.ini     - /opt/cpanel/ea-php72/root/etc/php.d/30-pdo_mysql.ini     - /opt/cpanel/ea-php72/root/etc/php.d/30-pdo_sqlite.ini     - /opt/cpanel/ea-php72/root/etc/php.d/30-wddx.ini     - /opt/cpanel/ea-php72/root/etc/php.d/30-xmlreader.ini     - /opt/cpanel/ea-php72/root/etc/php.d/zzzzzzz-pecl.ini   **You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.** 

Gnome extensions and Ubuntu versions

I updated to 19.04 from 18.10 in April/May but some of my Gnome extensions failed to appear in the task-bar and so I reverted back to a Clonezilla copy of my 18.10 installtion. I now have more time to play around with 19.04 and so intend to try again. I have one question before I take the plunge.

I have backed up my Gnome Extensions with:

/usr/bin/dconf dump /org/gnome/ > /media/steve/6363-6333/Gnome-Backups/gnome-backup cp -r ~/.local/share/gnome-shell/extensions  /media/steve/6363-6333/Gnome-Backups/extensions-bkup 

And thought if I have problems I could do:

dconf load /org/gnome/ < /media/steve/6363-6333/Gnome-Backups/gnome-backup cp -r /media/steve/6363-6333/Gnome-Backups/extensions-bkup ~/.local/share/gnome-shell/extensions 

Would this work between Ubuntu versions?

Can standard H(without extensions) create a quine?

I am refering to Standard H that I copied to my user page; the official website has an unclear documentation.

I have been working on Quine programs in H, and I have these programs implemented in an extension of H that is really close to Standard H:

(From my user page)

def n="def n=%%;print(n%n);";print(n%n);

The new operator is x%y, which means to replace all occurences of %% in the string x to the string y.

Here is another quine via adding [], the long string grouping operator.

def x=[\"def x=["+x+"];print("+x);];print("def x=["+x+"];print("+x);

Here is another quine that barely adds anything to H(note that numbers represent the ASCII value here):

def s="print(100+101+102+32+115+61+34+s+34+59+s);";print(100+101+102+32+115+61+34+s+34+59+s);

It is unclear whether standard H (without any extensions) can implement a Quine program, though.

Extensions of rings

Let $ K$ be a not necessarily unital, commutative ring. Let $ C$ be a unital commutative ring.

An extension is the data of a unital commutative ring $ R$ , a homomorphism $ \phi:K\rightarrow R$ , a unital homomorphism $ \psi:R\rightarrow C$ such that $ \mathrm{Im}\:\phi=\mathrm{Ker}\:\psi$ . Two extensions are said to be isomorphic if there is an isomorphism $ R_1\approx R_2$ making the rhomb-like diagram commute.

Is there a standard name for the algebraic gadget parametrizing the isomorphism classes of extensions? Is there a textbook or an article where I can read about it?

Magento 1.9.4.2 known issues: compatibility with third-party checkout extensions

Anyone encountered a problem with a third party checkout extension like Amasty OPC or IWD OPC? I haven’t upgraded yet to Magento 1.9.4.2 because I read in the release notes that:

“Third-party checkout extensions and closed security cases will either not not work securely or will not work at all.”

https://devdocs.magento.com/guides/m1x/ce19-ee114/ce1.9_release-notes.html#ce19-1942