teleren/devto huggingface dataset:
Mconnect Product Icon Logo Gallery Extension for Magento 2
Published: 2020-08-28 11:15:39

Want to attract customers by giving them a visual treat? One such way to do so is by uploading high-quality image icons or logos of products. Icons and logos provide clarity about the product you are selling via your Magento 2 store. They hold the visual strength of your brand’s products, services, and tools. Researchers from MIT have found that a human mind can process any image or logo as early as 13 milliseconds. The icons or logos of the product or services provide a visual cue to your customers. So, it is essential for you to have multiple appealing product icons/logos that represent the core intent and idea behind the product.

Mconnect Product Icon Logo Gallery Extension for Magento 2 helps you to achieve that in the friendliest way possible. With the extension installed in your Magento 2 store, you can showcase multiple icons/logos for all the products in your inventory list. It will never let you down even for a large inventory and multiple storefronts, it works just fine. The multiple icons/logos of the product you have uploaded provide additional information to users. The extension provides an option to enable/disable each icon from the backend. This Magento 2 product image icon gallery extension will improve the usability of your Magento 2 store and enhances the overall product design.

Features of Mconnect Product Icon Logo Gallery Extension for Magento 2:

Option to add multiple numbers of icons/logos to every single product in your store.

Limit the number of icons to showcase on the frontend of the store.

Customize the icons to give a stylized look by setting the width, height, and border of the logo.

Option to display icons at a random or in a descending order based on their ID at the frontend.

The extension allows you to upload icons in .jpg, .jpeg, .gif, and .png formats. 

Option to enable/disable each of the icon logos from the display at the storefront.

The extension has the option to assign one icon to multiple products.

A tab named Product Icons will be added on the product page once the extension is installed, which will showcase each icon logo assigned to the respective product.

For more such Magento 2 Extensions visit Mconnectmedia.com

Download now: https://www.mconnectmedia.com/product-icon-logo-gallery-m2.html
Mconnect Product Attachment Extension for Magento 2
Published: 2020-08-28 11:03:16

Help your customers make a more informed purchase decision by providing downloadable files in the forms of images, videos, doc, PDF, etc. These files give meaningful information about the product that you are not able to cover in the product page. Sometimes customers have to settle with the information provided on the product page, which for many does not help in their buying journey. Therefore, those customers may leave your site for good due to the insufficient product information. But...

Mconnect Product Attachment Extension for Magento 2 (File Upload) comes to the rescue. The extension allows you to upload and showcase files as a user guide, manual, tutorial, videos, presentation, images, excel, PDF, ZIP, and many other file formats. These files provide information such as installation guides, how-to guides, warranty details, use cases, price lists, privacy policy, return policy, and all other which can not be showcased on the product page. The customers can download such files from product pages itself. 

The extension will help you to give better exposure to the products you sell in your Magento 2 store, which may increase the sales and revenue. You can manage all the product attachment files in one place from the backend of the product file upload grid. Also, the extension comes with a feature to upload more than one file simultaneously. You can control who can see the product attachment ranging from non-logged users to users on specific store views. Once the extension is set up correctly, it will work as a sales booster for your Magento 2 store.

Features of Product Attachment Extension for Magento 2 by Mconnect:

The extension allows you to upload an unlimited number of files for a product. 

Upload files in any format available and using the backend grid you can assign the file to more than one product.

The extension has a feature to manage all the uploaded files in one place for your convenience. 

Integrated with AJAX that helps to upload multiple files simultaneously.

The extension can detect the file type automatically and shows it accordingly with their title, icon, and size.

It provides an option to restrict guest customers to view the file. 

It enables you to attach multiple uploads for a single product and vice versa. 

The extension allows configuring the visibility of product attachment for specific store view or customers group. 

The extension is compatible to work and manage file visibility with multi-stores. 

For more such Magento 2 Extensions visit Mconnectmedia.com

Download now: https://www.mconnectmedia.com/product-attachment-magento-2.html
Being a developer from home; never work in an office again
Tags: wordpress, opensource, github
Published: 2020-08-28 11:01:50

"I wear a suit to look good, not as a daily uniform". Gary Pendergast, one of the WordPress maintainers said this on our recent Open Source Friday live stream.

He says working from home allows you to get more done because you're not commuting and you're not distracted by other things. Check out our full video interview with Gary over on our [GitHub YouTube channel](https://youtube.com/c/GitHub). You can also tune into the [GitHub Twitch channel](https://twitch.tv/GitHub) live on our Open Source Friday streams.

Open Source Friday is a series bringing you tips and tricks from maintainers. Learn how to get involved in open source and understand what maintainers are looking for. What does it mean to contribute to open source projects, and occasionally some other fun questions... like what we have here; what's it like working from home?

We look forward to having you on our next Open Source Friday stream.
Must-have payment methods in a P2P Cryptocurrency exchange
Tags: blockchain
Published: 2020-08-28 10:59:13

![P2P Cryptocurrency exchange](https://dev-to-uploads.s3.amazonaws.com/i/8lrygz3vqle8i583cjs3.jpg)

Since P2P cryptocurrency exchanges are fastly growing in the market, the need for integrating multiple payment methods is more important now. It will enhance the trading experience and help in attracting global crypto traders. 

Some of the popular payment methods to be integrated mandatorily in a P2P Cryptocurrency exchange are

* **Debit card/ Credit card** - Card-based transactions are convenient as it avoids the need for carrying cash everywhere. It directly sends money from your bank account while purchasing crypto assets. It permits both crypto-to-fiat trading and fiat-to-crypto trading. 

* **Bank transfer** - It comes as a useful tool in countries where card-based transactions are restricted. Of late, more traders are relying on this measure to complete their crypto transactions due to the presence of institutional credibility. 

* **PayPal** - It is an online wallet accepted internationally. PayPal permits the transfer of funds, deposit, withdrawal and storage of funds. It accepts most of the fiat currencies and is most suitable for a fiat-to-crypto P2P cryptocurrency exchange. It uses two-factor authentication that adds an extra layer of security for its users. 

* **Mastercard/ Visa** - The two dominant companies in the digital payments space act as networks between the banks and the merchants on a crypto exchange to complete a transaction. They provide a lot of exclusive offers for users to purchase crypto coins and tokens. It is compatible in regions where buyers and sellers claims are legal. Transaction fees would be levied to complete the payments process. 

* **Digital coins** - All P2P cryptocurrency exchanges would be compatible with the leading crypto coins such as Bitcoin, Ethereum and Litecoin. The developers of exchange should also provide various trading pairs for users to exchange different cryptocurrencies seamlessly. 

The above payment methods must be incorporated in a [P2P cryptocurrency exchange](https://www.blockchainappfactory.com/p2p-exchange-development?utm_source=microblog&utm_medium=dev.to&utm_campaign=kiruthika) for satisfying the interests of crypto traders and investors. It will enhance the overall trading experience irrespective of whether a new exchange is being set up or an existing platform is going to be modified. 

Team up with Blockchain App Factory for getting reliable payment solutions at an affordable cost to fulfill your business objectives smoothly. We make sure to follow all the relevant guidelines and our platform comes with multi-layer security, KYC and AML verification, technical support in multiple languages and swift dispute redressal.
Node.js Monitoring in Production - Revised eBook
Tags: node, javascript, devops, showdev
Published: 2020-08-28 10:51:11

Hey!

Not so long ago I wrote my first ever eBook called [Node.js Monitoring in Production](https://hubs.ly/H0hZ8rp0).

A few months ago I wrote another chapter and added it to the eBook. Now I want to share the revised version with all of you!

Lots of love peeps! 🥰

[Here's the official download link!](https://hubs.ly/H0hZ8rp0)

Hope you like it! Feel free to let me know your thoughts in the comments below. Happy coding. :)
Mconnect Out of Stock Notification Extension for Magento 2
Published: 2020-08-28 10:42:39

Want your customer to get notified when the product they need is not in stock? Operating the Magento eCommerce store is not a thing everyone can do. Because there are so many jobs and so many things to take care of simultaneously. And one of those things is to take care of your product inventory. Many times, it just so happens that your products may go out of stock and it may be one of the best sellers on your Magento 2 store. It may take a few days to make that product available back in your store. Now, your customers may have to wait without any notice when it will come back. But you can resolve that uncertainty by integrating a module that notifies when products are back in stock.

Mconnect Out of Stock Notification Extension for Magento 2 is useful when admin of the store has to notify their customers about out of stock products and when they will be back in stock via an email notification. The extension helps acknowledge customers when there is any movement for out of stock products. This makes it easy for customers to track the product they are looking to buy. Whenever any product goes out of stock, the extension will notify it on the product page and provides a facility to customers to subscribe for more updates. And when the product comes back in stock, it will send out a notification to all the subscribed customers. Also, the extension has feature that informs the admin of the store about out of stock products via an email notification.

Features of Mconnect Out of Stock Notification Extension for Magento 2:

The extension will show the availability of the product to users on the frontend.

It is a subscription-based extension, that will notify your customers when out of the stock product is available for purchase.
 
It works with all product types such as simple, grouped, virtual, bundled, downloadable, and configurable as well. 

Manually add a subscription at any time.

Manage your customers by giving them the details about out of stock products when they are in stock.

Subscribed users will get an instant notification via email once the product is available for purchase.

The extension will also send a notification to admin when the stock of products gets low.

For more such Magento 2 Extensions visit Mconnectmedia.com

Download now: https://www.mconnectmedia.com/out-of-stock-alert-magento2.html
Can you tell me interesting Asp.Core WebApi project to contibute?
Tags: csharp, aspnetcore, github
Published: 2020-08-28 10:39:25

I want to update my asp.net core web api skills. I try to find some interesting web api project (on github), but can not.
I try to find some games, web servers (about games or so on).

So, may be you know some interesting projects on github? Games not necessary.
Please, tell me some :)
What are current limitations of search engines?
Tags: discuss, computerscience, nlp
Published: 2020-08-28 10:35:57

For example, what do you find hard to find on Google search engine, or some other custom search engines (e.g. on e-commerce websites)?

Not to mention that although [popular search engines should largely the same](https://www.google.com/search/howsearchworks/algorithms/), they are slightly different in relevancy. (And somehow Google Search is slightly better...)

Perhaps this topic is also about full-text indexing and NLP in general.

There are also other aspects in relevancy, like indexing the images' meaning? videos? colors itself?
*testing in GO
Published: 2020-08-28 10:28:34

Recently I have been learning Golang and of all the plethora of features this language offers one specifically caught my eye.

Golang has a package `testing` which provides support for automated testing of Go packages.

So we will go through a simple problem of reversing a string in-place and write a unit test to test the reverseString function.

The solution to reverse a string is simple enough.

**reverse_string.go**
```
package devto

func reverseString(list []string) []string {

	start := 0
	end := len(list) - 1

	for start < end {
		// swap the values at indices
		common.Swap(list, start, end)

		start++
		end--
	}
	return list
}
``` 

For testing purpose, we will first import the testing package.

```
import "testing"
```

>Testing functions in go looks like **TestXxx** 

So let's define a function for our reverseString function.

```
func TestReverseString(t *testing.T) {
}
```
Next, we will be defining an anonymous array of structs which contains the input & expected values (string array).

```
tests := []struct {
		in       []string
		expected []string
	}{
		{[]string{}, []string{}},
		{[]string{"a"}, []string{"a"}},
		{[]string{"a", "b"}, []string{"b", "a"}},
		{[]string{"a", "b", "c"}, []string{"c", "b", "a"}},
		{[]string{"a", "b", "c", "d"}, []string{"d", "c", "b", "a"}},
	}
```
We have initialized the struct with input & expected values,
to test all of these values and checking if the result is what we expected we do something like

```
import "reflect"

...

for _, tt := range tests {
		result := reverseString(tt.in)
		if !reflect.DeepEqual(result, expected) {
		    t.Errorf("should be %v instead of %v", expected, result)
	}
	}
```
we have imported the reflect package to check if the result that we got from the reverseString function is deepEqual to the expected value

so the final test file looks like

**reverse_string_test.go**
```
package devto

import (
	"testing"
        "reflect"
)

func TestReverseString(t *testing.T) {

	tests := []struct {
		in       []string
		expected []string
	}{
		{[]string{}, []string{}},
		{[]string{"a"}, []string{"a"}},
		{[]string{"a", "b"}, []string{"b", "a"}},
		{[]string{"a", "b", "c"}, []string{"c", "b", "a"}},
		{[]string{"a", "b", "c", "d"}, []string{"d", "c", "b", "a"}},
	}

	for _, tt := range tests {
		result := reverseString(tt.in)
		if !reflect.DeepEqual(result, expected) {
		    t.Errorf("should be %v instead of %v", expected, result)
	}
	}
}
```

> all the test file names are of format **xxx_test.go**

Now to run our test file we use the command

```
go test devto/reverse_string_test.go
``` 
& the output would be

```
Running tool: /usr/local/bin/go test -timeout 30s -run ^TestReverseString$

PASS
ok  	***/devto	0.005s
```
I setup to `fish-shell` for my default shell
Tags: fishshell
Published: 2020-08-28 10:22:28

---
title: I setup to `fish-shell` for my default shell
published: true
description: 
tags: fishshell
//cover_image: https://direct_url_to_image.jpg
---

I usually used to zsh as default shell between 5,6 years ago. And my .zshrc and .zshenv are very chaos. I think these are not good. I have two think. First: I clean up to .zshrc and .zshenv, Second: I change the shell. I choice Second think, change the shell. It is good to change the environ and I see [fish-shell](https://github.com/fish-shell/fish-shell) at sometime.

My machine is Mac OSX (10.15.6).

# Install/Setup the shell

Simply !!

```
> brew install fish
```

# Change the default shell

I try `chsh -s /usr/local/bin/fish` . That was not work. Fish-shell is not default shell, Well so I add fish-shell path for `/etc/shells`.

```
> sudo sh -c 'echo /usr/local/bin/fish >> /etc/shells'
Password:
> tail -1 /etc/shells
/usr/local/bin/fish 
```

One more try the chsh.

```
> chsh -s /usr/local/bin/fish
```

## Install Plugin -- autojump --

I always use [autojump](https://github.com/wting/autojump) command. `j work`, `j Docu`, `j Desk`,... I setup to `autojump`.

```
> brew reinstall autojump
```

and I write Fish configure.

```
> echo '[ -f /usr/local/share/autojump/autojump.fish ]; and source /usr/local/share/autojump/autojump.fish' >> ~/.config/fish/config.fish;

```

## Theme

The fish-shell has theme-controll-plugin (Oh-MyFsh)[https://github.com/oh-my-fish/oh-my-fish]

OK, I install.

```
> curl -L https://get.oh-my.fish | fish
```

It's done! Well, So let's try install the some themes. 

```
<~>-> omf i ocean
Updating https://github.com/oh-my-fish/packages-main master... Done!
Error: ocean already installed.
 ⚓  ~  
```

## How do i change the font color?

I use to light terminal. So I did not see the commands.


I do to `fish_config` command And change the font color. This is Good :-)

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jw7b3ufhtvniu2vss5et.png)


- I read : [Colour of partial matched suggestion in light terminal theme is un-readable #3412
](https://github.com/fish-shell/fish-shell/issues/3412)


# I see these

- [fishshell](https://fishshell.com/)
- [fish の始め方](https://nkon.github.io/Fish/)
- [Fisher](https://github.com/jorgebucaran/fisher)
- [omf / oh-my-fish](https://github.com/oh-my-fish/oh-my-fish)
- [OMF Theme List](https://github.com/oh-my-fish/oh-my-fish/blob/master/docs/Themes.md#uggedal)
Apprenticeship with Radiologist project open (UK)
Tags: watercooler, be
Published: 2020-08-28 10:12:10

Hi everyone,

An opportunity for apprentices age 16 to 20 has come up.

We're looking for up to 10 UK based python developers who would like to work on a project which helps diagnose covid-19 using AI and AWS services.

If you're interested reply with a comment.
Angular Material tabs - custom body BG color + animation issue (SOLVED)
Tags: angular, css, html
Published: 2020-08-28 09:44:16

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/tf98k8vo9dyzjdrinocm.png)

Do you want to set a custom background color for your `mat-tab`'s body section?
Set it for `mat-tab-body-wrapper` element only.
If you set it for `mat-tab-body` element, it will break the animation between the tabs - it has to stay transparent.
Chirag Nayyar on Getting Started with Cloud
Tags: cloud, beginners, techtalks
Published: 2020-08-28 09:31:19

I had a really good talk with [Chirag Nayyar](https://www.linkedin.com/in/chiragnayyar) sir on how beginners can get started with Cloud.

I learnt a lot in the two hour session, so I summarized the key points into a two minute read.

## Getting Started with Cloud

Sir strongly believes in a bottom to top approach.

-   Focus on the fundamentals
    -   Networking
    -   Relational Databases (SQL)
    -   Storage
    -   Compute
-   Choose ANY Cloud Platform. (They all have a generous free tier.)
-   Explore the platform.
-   Understand their services. (Co-relate with your foundational knowledge.)
-   Buy a domain.
-   Make a portfolio.

## Important Concepts

-   Networking
-   Relational Databases (SQL)
-   Storage
-   Compute
-   Virtualization (Need & role)
-   Understand '[Software Defined Everything](https://www.webopedia.com/TERM/S/software-defined_everything.html)'.
-   Know the purposes of services.

## General Tips

-   Don't follow too many resources.
-   Build a strong foundation.
-   Grow step by step.
-   Nothing is a race.
-   Build things that you like and try to test them in other environments.
-   Try and fail as soon as possible.
-   Share your learning with the community.
-   Own a domain and an e-mail with it.
-   Your portfolio site does not have to be the most beautiful one out there.
-   Put a target date (may be months).
-   [Reddit](https://www.reddit.com) and [StackOverflow](https://stackoverflow.com) are gold mines.
-   Certifications don't matter. Only the official ones matter and in the case of cloud they have a certain validity, so do them at the right time and use them properly. Learn, don't run after certificates.

## Connect with Chirag sir

[Watch the session.](https://www.youtube.com/watch?v=TRjOhBSZKY0)

Connect with Chirag sir via [LinkedIn](https://www.linkedin.com/in/chiragnayyar) and [Twitter](https://twitter.com/chiragnayyar).

Sir also has his own YouTube Channel '[Chirag Nayyar - Data Center on Cloud](https://www.youtube.com/channel/UChrh2T1B7-h0cnijAGUy7Cg)' and web site '[dconcloud.com](https://www.dconcloud.com)'.
More Sound Design for my game (Indie Game Devlog)
Tags: unity3d, devlog, sounds, indie
Published: 2020-08-28 09:26:12

This is the 6th episode in this devlog series, where I document the entire game making processת
this is my first android game that I want to actually publish to the Play Store.

In this episode I continue to add sounds for my game, what called sound design, the sounds are pretty pretty pretty nice :)

{% youtube xHHRTsUSISU %}

> Like this post? 
> Consider Support me via [Patreon](https://www.patreon.com/eranelbaz)
> Or Subscribe to my [YouTube Channel](https://www.youtube.com/channel/UCVUNeBGM5wZJKcOx0QwAaTA?sub_confirmation=1)
> You can also follow me on [Twitter](https://twitter.com/elbaz_eran)
saferm - A tool to safely remove files on CLI
Tags: go, showdev, productivity
Published: 2020-08-28 09:15:49

---
title: saferm - A tool to safely remove files on CLI
published: true
description: A tool I developed using Golang to understand more about the language, TDD and GitHub Actions
tags: go, showdev, productivity
//cover_image: https://direct_url_to_image.jpg
---

### Introduction
I started this toy project to learn about Golang and have some experience using it. Test-Driven Development and GitHub Actions were side learning points for this project.

I have been doing development in the past which did not prioritise automated testing. As a result, extensive manual testing at the end of each development iteration was required and it definitely was a pain. I wanted to take a different approach and learn the methodology behind **TDD** so that each iteration of the development process can go through automated testing and can be published with confidence.

I decided to go into GitHub Actions by submitting my first GitHub Action - [Newbiefy](https://dev.to/dansyuqri/newbiefy-make-your-repo-beginner-friendly-again-12ck) (Wacky Wildcards Category) - as part of the [DEV x GitHub Actions Hackathon](https://dev.to/devteam/announcing-the-github-actions-hackathon-on-dev-3ljn). This toy project builds on the knowledge from that experience.

### What is `saferm`?
You know when you want to delete a repository from GitHub, they ask for the name of the repository as confirmation of the deletion so that they know it is by choice, not accident? `saferm` does exactly that when you are trying to remove files from a directory using the command-line. Each file it discovers will prompt the user to input the filename before deletion.


### Why `saferm`?
Apart from the learning reasons as mentioned before, there is one thing that I found in the `rm` command.

The conventional `rm` command does have an interactive mode using the `-i` flag. However, this only prompts the user for a `Y/y + Enter` response.

The purpose of `saferm` is to make the deletion process more painstaking so that the user will take ownership of the deletion.


### Check it out here
{% github dansyuqri/saferm %}


### Conclusion
Definitely open to feedback and suggestions, be it on the code or TDD methodology that I was trying to adopt. Leave them below thank you!