teleren/devto huggingface dataset:
Open Port
Tags: portforwarding, openport, security
Published: 2021-06-17 13:51:35

In security parlance, the term "open ports" are used to refer to a TCP or UDP port number that accepts packets. In contrast, closed ports reject connections and ignore all packets directed at them.

##Types of Ports:##

Three types of ports are:
1. **Open Port:** A port is open, and someone has left the door unlocked.
2. **Closed Port:** A closed port is a black hole that's open to attack. Administrators should block ports at the [firewall level](https://thecyphere.com/blog/open-ports/), and this could be exploited if an attacker has compromised another system. This can cause problems for networks because they'll have no way of knowing what kind of traffic will come in or out on these vulnerable holes across their firewalls
3. **Filtered Port:** Filtered Port: It's no small feat to filter all requests. This is likely due to a filtering device, so be careful!

##Is Open Port safe?##
Are you concerned about whether or not [it's safe](https://www.purevpn.com/port-forwarding/is-portforwarding-safe) to have an open port? No worries, I've got answers for you. Essentially a port is just the door by which information enters and leaves your computer - like water flowing through a pipe. You might also call this "a hole." The more doors/holes there are in that pipe, the better! However, some of those holes can be closed off if they're filled with dirt (or debris) so as long as all ports remain undisturbed then no harm will come to your device when using them!

Open ports are often unsafe and can put your device at risk. For example, an open port on a gaming console (Xbox or PlayStation) may not be safe if the service listening is misconfigured, has vulnerabilities that hackers could exploit to get access to sensitive data like passwords for email accounts in plain text. Cameras with open ports might also present concerns as you have no way of knowing who will find their way onto it through this route - someone from outside accessing other devices connected via WiFi network without consent?

##How to Open Port?##
One way is by port forwarding at the router level. You will be required for this if you want to play online games because routers are not optimized for gaming purposes and can't handle it well themselves. This service has been especially helpful in environments where there are large IT departments or when accessing administrative panels on your own isn’t possible; these changes may seem pretty daunting without being comfortable with what they do or knowing anything about them!

After port forwarding, [check if your ports](https://www.portforwardinghub.com/open-port-checker/) are open or not by simply using your IP address.
Introducing Perusing the Platform: Discover the Native Capabilities of the Web
Tags: javascript, webdev
Published: 2021-06-17 13:42:26

I'm super excited to announce my latest project, [Per<strong>using</strong> the Platform!](https://perusingtheplatform.com) Join me through a series of demos and articles that will introduce the native JavaScript APIs that are built right into the browser.  

The web as a platform is extremely powerful, not just because of its unparalleled reach, but also due to the decades of work that the language designers and browser vendors have put in to make it a robust runtime for our applications. You can do *so much* with just JavaScript and a web browser and that's why I'm creating a resource to help developers discover and understand just how far they can go with vanilla JS.

I just published the first article on PtP all about the Web Notifications API. I would love for you to check it out and feel free to provide me with any feedback!
VSCode extension "Blockman" to Highlight nested code blocks
Published: 2021-06-17 12:56:07

Check out my VSCode extension - Blockman, took me 6 months to build. Please help me promote/share/rate if you like it. You can customize block colors (backgrounds, borders), depth, turn on/off focus, curly/square/round brackets, tags, python indentation and more.....

https://marketplace.visualstudio.com/items?itemName=leodevbro.blockman

Supports Python, R, Go, PHP, JavaScript, JSX, TypeScript, TSX, C, C#, C++, Java, HTML, CSS and more...

This post in react.js community:
https://www.reddit.com/r/reactjs/comments/nwjr0b/idea_highlight_nested_code_blocks_with_boxes/

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z3wz9o8aq6relxqkpccc.png)
Fully qualified collection names
Tags: ansible, automation, ansiblecollections
Published: 2021-06-17 12:34:54

How does the introduction of the fully qualified collection names (FQCN) affect our Ansible playbooks? 

Up until Ansible 2.10, all module names lived in a single global namespace. To use a module in a playbook, all we needed to know was the module's name, and we were ready to go. 

But things changed with Ansible 2.10. Now each Ansible plugin and module lives in a collection that, in turn, lives in a namespace. For example, the service module's FQCN is *ansible.builtin.service*, which means that the *service* module now lives in the *builtin* collection from the *ansible* namespace. 

Because breaking all existing playbooks was not an option, Ansible 2.10 also introduced a mapping from 2.9 names to corresponding FQCNs. Which is great because we do not have to update our playbooks at all, right? Well, not quite. Because the mapping only covers the content from Ansible 2.9, we will have to start using FQCNs for content that was never part of Ansible 2.9. 

And how to find out where each of the modules moved? Just add a -vv to your *ansible-playbook* run, and Ansible will tell you. You are welcome ;)
macOS themed Portfolio website
Tags: react, javascript, opensource, webdev
Published: 2021-06-17 12:49:54

Please checkout my first ever macOS themed Portfolio website https://sharansrj567.ml
Explanation-
https://www.linkedin.com/posts/sharan-jamanani_macos-reactjs-webdev-activity-6810067195977187328-29Im
Code-
https://github.com/Sharansrj567
🛠  Authorization for ASP.NET Web APIs
Tags: asp, dotnet, security
Published: 2021-06-17 12:43:34

#### 📘 Learn how to secure an ASP.NET Web API by granting access only to authorized users through Auth0 authentication and authorization services.

Having control over who can access your API is a necessary requirement to make your application secure. This article will show you how to restrict access to your ASP.NET Web API to authorized users only.

## Setting up the Web API Application

Let's start by setting up the ASP.NET Web API application to be protected. You can download a glossary Web API from [this GitHub repository](https://github.com/auth0-blog/glossary-web-api-aspnet/tree/starter) by running the following command in a terminal window:

```bash
git clone --branch starter --single-branch https://github.com/auth0-blog/glossary-web-api-aspnet.git

```

This ASP.NET application provides you with a CRUD Web API to manage a glossary of terms. You can learn the details of its implementation by reading [this article](https://auth0.com/blog/building-aspnet-web-api).

Once you download the application, move to the `glossary-web-api-aspnet` folder and launch it by typing `dotnet run` in a terminal window. By pointing your browser to `https://localhost:5001/swagger`, you should see a page like the following to interactively test the APIs:

![Swagger UI for Web API](https://images.ctfassets.net/23aumh6u8s0i/39X3FZbdleAybhhvH5hCV7/b0276f9319a0a8110fcffc1dd583f602/webapi-swagger-ui.png)

The Web API application allows you to get a list of term definitions or a single term definition. It also lets you create a new definition and modify or delete an existing one.

The current implementation of this glossary Web API allows anyone to perform all the available operations on the glossary. Most probably, you want to allow everyone to get a single glossary item or the full glossary. Still, only authorized users should be enabled to create, update, and delete glossary items.

Let's go and see how to protect these three actions by integrating your ASP.NET Core Web API with [Auth0](https://auth0.com) services.

[Read more...](https://auth0.com/blog/aspnet-web-api-authorization/?utm_source=facebookgroup&utm_medium=sc&utm_campaign=aspnet)
Traduisez du texte avec google translate dans votre application PHP/Laravel avec 5 lignes de codes !
Tags: french, php, laravel, beginners
Published: 2021-06-17 12:39:24

---
title: Traduisez du texte avec google translate dans votre application PHP/Laravel avec 5 lignes de codes !
published: true
description: 
tags: french, php, laravel, beginner
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/wewsf8f90zjztyddb2ki.jpg
---
Si vous désirez plus de contenu francophone comme celui-ci, cliquer <strong>Follow<string> ou <a href="https://twitter.com/EricLeCodeur" class="twitter-follow-button">suivez-moi sur Twitter</a>
<hr>

Salut,

Voici un moyen rapide de traduire facilement du texte dans votre application php Laravel. PAS BESOIN D'AVOIR UNE CLÉ API GOOGLE !

Vous devez d'abord installer le package PHP Google Translate.

Vous pouvez le faire en exécutant dans votre dossier de projet
```
$ composer require stichoza/google-translate-php 
```

Après l'installation, vous pouvez l'utiliser n'importe où dans votre code comme ceci.

```php
use Stichoza\GoogleTranslate\GoogleTranslate;

$tr = new GoogleTranslate(); 
$tr->setSource('en'); // Translate from English
$tr->setTarget('fr'); // Translate to French

echo $tr->translate('Hello World!'); // Bonjour le monde!
``` 

C'est tout ! Ça ne peut pas être plus facile que ça :-)

Si vous souhaitez utiliser plus d'options comme la détection automatique de la langue, etc. Vous pouvez lire la doc : https://github.com/Stichoza/google-translate-php


CONCLUSION

Si vous aimez ce genre de petits conseils, vous pouvez me suivre, j'en ai d'autres à venir.

À plus tard...
Shopicoin ICO Started 

Published: 2021-04-28 09:36:36


ShopiCoin (SPC) is a cryptocurrency . Shopicoin - endorsing the future of true trading with ICO and IEO. Shopicoin is the cryptocurrency, brings products and services to millions of people around the world,leveraging the revolutionary technology of blockchain and cryptocurrency ecosystems.Shopicoin can be exchanged for fiat money/digital currencies/ more established cryptocurrencies. 

Shopicoin will be based on ERC 20 standard Ethereum-based public blockchain technology.Shopicoin wallet, Shopicoin Pay are vital platforms that will make the transactions significantly easy for our customers.
Using Shopicoin tokens to access the services of open API platforms will prove extremely beneficial to consumers.

Features of Shopi coin
Crypto Exchange : Shopicoin can be exchanged for fiat money/digital currencies/ more established cryptocurrencies.

Blockchain Technology : Shopicoin will be based on ERC 20 standard Ethereum-based public blockchain technology.
Shopicoin Wallet : Shopicoin wallet, Shopicoin Pay are vital platforms that will make the transactions significantly easy for our customers.
Rewards : Shopicoin will revolutionize the rewards industry as consumers will have the full advantage of redeeming their rewards.
API Platform : Using Shopicoin tokens to access the services of open API platforms will prove extremely beneficial to consumers.
Banking System Integration : Customers will be able to buy Shopicoin tokens through linked bank accounts.

Coin Details : 
ICO Time Period  : 90 DAYS
Name of Coin : Shopicoin
Accepting Currency : ETH
Public sale start : 20 /1/2021
End Date : 20/4/2021
Accepting Currency : ETH
1 ETH: 5,000 SPC
 Soft Cap : 25,000 ETH
 Hard Cap : 1,00,000 ETH
Total Supply : 100,00,00,000 SPC
 Public Sale : 50%
 Bonus : 25%
 Founders and Team Members : 10%
 Advisors : 5%
Marketing : 10%
Visit: https://shopicoin.in/
How to read price for token from blockchain?
Tags: discuss
Published: 2021-06-17 12:25:35

At the website https://defiprime.com/exchanges you find many different Dexes, every Dex have little bit different price for the same Token.

I want to know now how i can code it to read the price for the same token from different Dexes.

Normaly i did find a example, but it just dont work, i have download this example: https://github.com/dappuniversity/price-bot  but after starting it, i see it stops after one console.log, you can see the error which happen here: https://github.com/dappuniversity/price-bot/issues/29
Error response from daemon: Ports are not available: listen tcp 0.0.0.0:1433: 
Tags: upmfaq, docker, sqlserver
Published: 2021-06-17 12:22:56

Error response from daemon: Ports are not available: listen tcp 0.0.0.0:1433: bind: An attempt was made to access a socket in a way forbidden by its access permissions.


Try this baby.... try this:
`net stop winnat`
Why should I use GatsbyJS instead of WordPress and Ghost CMS for my site
Tags: gatsby, wordpress, ghost
Published: 2021-06-17 12:18:46



I had questions about using the Gatsby blogging platform instead of WordPress or Ghost CMS and others, so I thought I would do my full experience and why I chose it in boring detail so that others can benefit from this reference and know in its next guide which platforms to choose and the advantages and disadvantages of each.
I will try to simplify the post in a language that everyone with a simple technical background can understand. Later, if I see a response, I will make a separate post explaining the combinations of Gatsby and Ghost with a technical software explanation start with some.

## Introduction

In the last decade, many software platforms have spread that help you build your website, blog or whatever you want to build, and these platforms are keen on your ease of use and guarantee you many plug-ins with one click that will work for you within seconds, and among this software:
**Joomla**: A popular platform that has spread for some time and then died out in the last five years.
**WordPress**: A well-known and well-known platform became famous as a blogging platform and later developed to serve a broader field, such as electronic stores and others.
Many have disappeared, but they all flow into one stream, which is content management. They provide a ready-made control panel and pre-installed tools (built-in). All of them require at least hosting with certain specifications to work (some of these platforms provide free hosting with conditions), but we are talking about the platform you host yourself.
With the tremendous development of the web, these platforms have expanded to serve larger areas such as WordPress, turning from a blogging platform to a software platform that builds for you any site you want and expanded its functions. The person who wants to build his blog becomes lost amidst complete chaos of plug-ins, tools and explanations that do not interest him!
Bloggers are looking for alternative software that is easy to use and serves a specific purpose in itself. More than that, it does not need all the features that WordPress contains. It is also interested in the ease of use experience. With simple clicks, pages or ready-made codes are published for it, which later appeared platforms that received great admiration and use by bloggers and even companies that You want to build a network of newsletters or updates, including the Ghost CMS platform, and then catch up with Gatsby to do the same thing, although each has a different storyline.

read more in Medium:
[Why should I use GatsbyJS instead of WordPress and Ghost CMS for my site](https://abdelhadi.medium.com/why-i-use-gatsby-for-my-site-instead-of-wordpress-and-ghost-cms-520895d6a836)
JavaScript API Automation Testing Course
Tags: javascript, webdev, testing, tutorial
Published: 2021-06-17 12:09:30

How to do API Automation Testing using Javascript with Supertest & Mocha? In this course, I’ll walk you through step-by-step to get your Javascript API Automation framework ready.

{% youtube yuRCVJAuhfA %}

### We will be covering the following topics:
- What technologies we will be using for API testing
- Installation / Configuration
- Write API automation tests with Javascript using Mocha, Chai JS, and SuperTest HTTP Library
- Scale API automation test framework
  - Learn how hooks work and when to use it
  - Write some negative tests to increase our test coverage
  - Generate fake test data to make tests more dynamic
  - Generate HTML reports using Mochawesome reporter
- Integrate tests with Jenkins
- and a lot more exciting stuff…

---

📧 Subscribe to my [mailing list] (https://automationbro.com/mailing-list) to get access to more content like this as well as free access to Private Facebook community

👍 You can follow my content here as well - 
- [Twitter](https://twitter.com/automationbro)
- [LinkedIn](https://www.linkedin.com/company/automation-bro)

...

I love coffees! And, if this post helped you out and you would like to support my work, you can do that by clicking on the button below and buying me a cup of coffee -

<a href="https://www.buymeacoffee.com/automationbro">![Buy me a coffee](https://dev-to-uploads.s3.amazonaws.com/i/4aw2ub3f4qkyjk0ivwt4.png)</a>

You can also support me by liking and sharing this content.

Thanks for reading!
Day 29/30 : Awesome CSS Card Hover Effects Using HTML and CSS
Tags: html, css, webdev, tutorial
Published: 2021-06-17 12:01:53

Welcome to Day 29 of this [Challenge](https://dev.to/somanathgoudar/30dayschallenge-30-days-extreme-html-css-challenge-50k1). This is what I created today. 

**➜ Here is the Demo :**
![Awesome CSS Card Hover Effects Using HTML and CSS](https://1.bp.blogspot.com/-Ub1l5kGcRr4/YKom3l5GSgI/AAAAAAAAAJA/Y2UJUgqhbAIfYkjf7FDfPWcMlSUdxTOqQCLcBGAsYHQ/s600/p29.gif)

**➜ Video Tutorial :**

{% youtube htGvFqVmkUQ %}
**➜ Source Code :**
https://www.futurecodersweb.com/2021/06/awesome-card-hover-effects-using-html.html


**➜ Instagram Post and Reel for Day 29 :**
[See Post and Reel](https://www.instagram.com/future_coderss/)

------------------------------------------------------------------

Hey, If You don't know what is happening here. Don't Worry, I am doing a crazy challenge 😅. Read More about it from the post below.

{% link https://dev.to/somanathgoudar/30dayschallenge-30-days-extreme-html-css-challenge-50k1 %}

**Support Me :**
👉 Buy me a Coffee: https://www.buymeacoffee.com/somanathgoudar
👉 [Follow Me on Instagram](https://www.instagram.com/somanath_goudar/)
👉 [Follow Future Coders on Instagram](https://www.instagram.com/future_coderss/)
👉 [Subscribe to My Main Channel](https://www.youtube.com/channel/UC_nTrhTr5fnBGjOxnkPUmmA)
👉 [Subscribe to Channel Created for this Challenge](https://www.youtube.com/channel/UCzGSyMOf2jPt1MkNBB3SJ3g)

------------------------------------------------------------------
GitHub Repo - {Faster, Easier, Smarter Social Coding}
Tags: github, git
Published: 2021-06-17 11:58:07

A Repo might sound small or  insignificant, however, it can do a great deal in helping every developer's work.

### What is all this about???
## What is all the Repo, Repo, Repo?

> **REPO** is short-form of **REPOSITORY**.

A Repository is a kind of a shelter or bank for storing and housing codes, where the owner of the code or permitted visitors can always look-up, edit, or make use of the code.

Surfing the internet, I came across a tool - **[GitHub](https://github.com)** which helps maintain projects in the open source community.

**GitHub** allows developers to manage some kind of cloud/online servers that house their codes in repositories.

![images.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1607365879944/Q6E70T6dJ.png)

> ## How to create a repository:

- Sign up for a **GitHub** account **[https://github.com](https://github.com)**
- After log-in, in the upper-right corner of any page, find the **"+"** drop-down menu and select **"New Repository"**.
- Give your repository a short, memorable and descriptive name.
- Optionally, add a description of your repository.
- Choose the visibility option for you repository, this will determine who has access to whatever is stored in the repository.
- Optionally, you can choose to initialize the repository with a **README** file. This file contains summary or guide on how the content of the repository work.
- Create the repository.

> Meet me : joeladewole3@gmail.com
How Ensemble Learning works? -Infographics
Tags: machinelearning, ai, deeplearning, datascience
Published: 2021-06-17 11:56:05

visit my website for [original post](https://buggyprogrammer.com/what-is-ensemble-learning/)
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/12o0tb0qjpo4raf24z3g.png)
Realtime Polling web application with Python FastApi WebSockets, PyMongo, HTML & JavaScript
Tags: fastapi, websockets, python, realtime
Published: 2021-06-17 11:55:59

---
title: Realtime Polling web application with Python FastApi WebSockets, PyMongo, HTML & JavaScript
published: true
tags: fastapi, websockets, python, realtime
canonical_url: https://medium.com/nerd-for-tech/polling-web-application-with-python-fastapi-websockets-pymongo-html-javascript-832c931eca59
cover_image: https://miro.medium.com/max/5690/1*2-wEuz6-nQ8kJURaGWxHGw.jpeg
---


Want to know, how I build a real time polling web application with these 5 elements
1. Python’s FastApi
2. Websockets.
3. PyMango
4. HTML, CSS, JavaScript.
5. chart.js (For polling graph, we are going to use).

Here's the link of my original [article](https://medium.com/nerd-for-tech/polling-web-application-with-python-fastapi-websockets-pymongo-html-javascript-832c931eca59)