teleren/devto huggingface dataset:
How to create an institutional Gmail email?
Tags: github, googlecloud, webdev, wordpress
Published: 2021-08-29 01:47:18

Currently there are many people who are looking for how to create Gmail institutional mail, especially because it brings benefits for educational institutions.

Universal Web Peru, puts at your disposal the steps to activate and create institutional emails in Gmail. Therefore, you must first have a domain and hosting to get your email for your college or university, without further ado let's start.

Steps to create an institutional email in Gmail
Now in order to know the steps to create an institutional Gmail email, you must follow the following steps:

Sign in to your Gmail account.
On the main page go to "Settings" and select the nice display density.
Click on the "Accounts" tab.
Click on "Add a POP3 email account of your property".
A new tab will appear, there you must write the address you want to configure and click on "Next".
The form must be completed verbatim. Then, the word "mail" must be entered followed by the domain of the specific institution or company. And ready!
Universal Web has advisors to help you buy your institutional Gmail and activate it. Therefore, write to us at WhatsApp to help you buy institutional Gmail emails.

That is why creating institutional Gmail emails is very simple and uncomplicated. It is important to mention that a verification email will be sent to the account that was configured in order to confirm and activate it.

Advantages of creating institutional email Gmail
It is surprising the multiple modifications that Gmail has so that its users have many facilities. In addition, there are options that can work very well for work or study activities, especially in a digitization stage. https://webuniversal.pe/cableado-estructurado/

Google Meet
Google Meet is one more Google g-suite application. therefore, it is used by teachers, administrators and students through different devices with internet access using the institutional account.

Zoom
Zoom is a calling and video conferencing tools. Ideal for virtual meetings and classes in times of a pandemic. In addition, this application can include up to 1000 participants in a video call.

Gsuite
In an educational context, it is best to turn to G. Suite for education that Gmail offers and do it through it.

That is why creating an institutional Gmail email is so simple, in reality the steps are few and it is really useful. therefore, the ideal way to obtain results through an online medium.
HNG i8 goals
Tags: hng
Published: 2021-08-18 09:39:57

The HNG internship is a free 8 week training opportunity organized by hotels.ng/[zuri training] (https://internship.zuri.team) based in Nigeria and open to both local and international participants. The internship simulates a real world working environment and scenarios with the goal of getting participants acquainted with working in the tech industry, and also provides opportunities for developers to expand their network.

As a frontend developer, my goals for joining this internship are to expose myself to new tech, expand my network, and gain more experience. 

###Thinking of starting web development? Here are some helpful links

* [git] (https://youtu.be/USjZcfj8yxE)

* [html and css] (https://youtu.be/QMnv3QrjZoU)

* [JavaScript] (https://youtu.be/W6NZfCO5SIk)

* [Figma] (https://youtu.be/FTFaQWZBqQ8)
Como corrigir erro de execução do Nodemon - Node.js
Tags: help, node, javascript, nodemon
Published: 2021-08-18 21:43:38

Recentemente, adentrei no mundo do Back-end e optei por fazê-lo com Node.js.
Entre meus estudos, me deparei com o Nodemon, que é um módulo utilizado para monitorar todas as alterações nos arquivos de sua aplicação e reiniciar automaticamente o servidor quando for necessário. Facilitando muito a vida do desenvolvedor, pois não será necessário rodar a aplicação a cada alteração.
Porém, muitos como eu podem se deparar com este erro de execução:

<code>O termo 'nodemon' não é reconhecido como nome de cmdlet, função, arquivo de script ou programa operável. Verifique a grafia do nome 
ou, se um caminho tiver sido incluído, veja se o caminho está correto e tente novamente.</code>

Que pode facilmente ser resolvido com o seguinte comando:

<code>npm install nodemon -g</code>

Porém, se o erro persistir, o problema pode estar nas permissões do servidor para executar o script que deve estar desabilitada.

Portanto siga os seguintes passos:
1° - Execute o cmd do PowerShell como administrador;
2° - Execute os comandos:
<code> Get-ExecutionPolicy</code>
E veja o que ele retorna;
3° - Caso o retorno seja <code>Restricted</code>, dê o comando:
<code>Set-ExecutionPolicy RemoteSigned</code> e escolha a opção <code>yes</code> apertando a letra <code>y</code> e após um <code>enter</code>;

Agora no terminal <code>VS CODE</code>, dentro da pasta em que estão os arquivos a serem rodados, execute os comandos:
1° - <code>npm install nodemon -g</code>
2° - <code>npm install nodemon --save-dev</code>

Caso ainda não funcione, você ainda pode utilizar o método forçado, que é feito pelo JSON da aplicação.

No arquivo <code>package.json</code>
```json
"scripts": {
    "dev": "nodemon",
    "start": "node index.js",
    "test": "echo "Error: no test specified" && exit 1"
  },

```
Se fizer uso deste método, lembre-se de quando for rodar o arquivo, você apenas deve dar o comando <code>npm start</code>. 

Dê um <code>save</code> com <code>CTRL+ S</code> e reinicie o terminal.

<a href="https://answers.microsoft.com/pt-br/windows/forum/all/iniciar-o-powershell-no-windows-10-pelas-teclas-de/2482445c-6266-4876-bc7a-d8e19e563cf3" target=_blank>Veja os 5 possíveis métodos aqui.</a>

Espero ter ajudado e até a próxima !
What's the Best Mesh Router for 2021?
Tags: discuss, routers, hardware
Published: 2021-08-19 00:58:21

I have a Google Home mesh router that I've had for a few years and it's been working well, but I'm looking to upgrade to something faster and probably add a fourth node.

Yes I've Googled and found some, but curious what folks here think. What mesh router would you recommend in 2021?

Photo by <a href="https://unsplash.com/@rgaleria?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Ricardo Gomez Angel</a> on <a href="https://unsplash.com/s/photos/mesh-router?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
Make readable string formatting
Tags: python, strings, codeclean, refactorit
Published: 2021-08-19 09:31:05

I run into this example some days ago while reading someone's else code (variable names were modified to `some...` or `var...`):

```python
somejob = "{}{}{}{}{}{}{}{}".format(
    rundir,
    "/",
    fileroot,
    "_",
    someobj.somemethod(run["run_dir"]),
    "_",
    str(some_var),
    "w"
    )
```

**What is wrong with this example?**

First, can you actually understand the final shape of the `somejob` string? For me it is just utterly cryptic. *How many `{}` are there?*

So, what is wrong with this case and how can we improve it?

The problem with this string formatting example is that **constants** are being passed as **variables**, hiding the shape of the string. It becomes much easier to read if the developer defines the constant sub-strings in the main string:

```python
somejob = "{}/{}_{}_{}w".format(
    rundir,
    fileroot,
    someobj.somemethod(run["run_dir"]),
    str(somevar),
    )
```

Still, because in this particular case we are using `paths`, I would go further and advocate for using `pathlib.Path` instead of the hardcoded `/`:

```python
# reduce the long call to a short temporary variable
_tmp = someobj.somemethod(run["run_dir"])
somejob = Path(
    rundir,
    f'{fileroot}_{_tmp}_{somevar}w',
    )
```

I truly believe these modifications improve code reading and facilitates the life of maintainers. What do you think? Does the last example reads better than the first one?

Cheers,
Why Should You Use A VPN?
Tags: vpn, security, ip, protection
Published: 2021-08-19 12:11:38

A VPN is a Virtual Private Network, in many of my guides I will always recommend using a VPN Service for the ultimate online protection. But, what does it actually do? I’ve been asked this question many times so I’ll explain it here.

A VPN will essentially masks your IP Address and location when browsing the web. When you visit a website in the headers (this is like what it requests) it will send a host IP which will either be your Home IP if your on your Home Network or Mobile Sim IP Address. Every network has its own IP Address, it’s the internet’s way of sending and receiving packets. It’s like your Home Address, so people can send and receive parcels they need the Address. When your VPN is active all it does is instead of talking directly to your Router it will forward the request via one of there servers (usually this is there nearest one, you can in there app) and you will look like your sending that packet form there server, this will make your IP completely hidden. But beware, if you don’t choose a “safe” VPN Service they will be able to see any of your traffic these are the ones I recommend below:
- VyperVPN - Paid
- ProtonVPN - Paid, Free Plan Very Limited

There are many more out there just these 2 are great ones I recommend.. For anymore help you can contact me on my [discord server](https://discord.gg/FzsJMSRYDD)!
Operadores Aritméticos (Parte 1)
Tags: soma, subtracao, multiplicacao, divisao
Published: 2021-08-22 13:10:19


Usamos operadores aritméticos para... fazer cálculos (duh de novo!). Os operadores aritméticos são:

```javascript
/* + adição */
/* - subtração */
/* * multiplicação */
/* / divisão */
/* % módulo */
```

##Epa... o que é esse `%`?!?!

Para ficar um pouquinho mais fácil, `%` é o resto da divisão. Por exemplo, o resto da divisão de 5 por 2 é igual a 1, portanto ficaria representado assim:

```javascript
5 % 2 = 1; // 1 é o resto da divisão
```

##Mas temos outros tipos de operadores...

Temos também o incremento `++` e o decremento `--` que indicam adicionar 1 ou diminuir em 1.

```javascript
i++; // O mesmo que i + 1
i--; // O mesmo que i - 1
```

Podemos usar esses operadores junto com o `=` para criarmos operadores de atribuição.

```javascript
a += b; // O mesmo que a = a + b
a -= b; // O mesmo que a = a - b
a *= b; // O mesmo que a = a * b
a /= b; // O mesmo que a = a / b
```

E aí? Gostaram? Até a próxima anotação!
Is It Possible to Use Typescript in an AngularJS application?
Tags: angular, typescript, android, computerscience
Published: 2021-08-23 09:41:48

Yes, it is very much possible to use typescript in an Angular JS application. You will have to install the typings for Angular. You can do this with the <b>TypeScript</b> Definition Manager. Basically what this does is tell typescript how Angular is (strict) typed.

<b>Using NPM:</b>

npm install -g tsd
tsd install angular

AngularJS is an undisputed champion among all the front end <b>web development frameworks</b>, well I am no expert to say that since honestly I have not worked much with other popular libraries like Knockout, backbone, amberJS etc. but for last few months I have been exploring the AngularJS and I am loving it.

AngularJS brings several goodies to the table, it's very well designed, robust and well thought framework. In my opinion if you are a web developer, it’s totally worth it to invest your time learning angularJS even if you do not work much on the front end and do not plan to use it in your project in near future.

With the announcement in ng-conf about angularJS and TypeScript collaboration and “Angular 2: built on typescript” anouncement, there seems to be a lot of momentum shift in the developers community from JavaScript to TypeScript for angularJS projects. 

You can go through all the <a href="https://codersera.com/blog/typescript-vs-javascript/">TypeScript VS JavaScript</a> comparisons to get a clear understanding of things.
How to start with i18next in the node application
Tags: javascript, i18n
Published: 2021-08-23 17:55:49

This article will show how to start [i18next](https://www.i18next.com/) in a node project.

# i18next
i18next is one of the libraries I included in my list of [5 interesting internationalization libraries](https://how-to.dev/5-javascript-internationalization-libraries-that-look-interesting). On the project page, it's called *internationalization-framework*, and indeed it looked the most complete from the libraries I checked.

# Package
To start, let's create a new package:
```
$ npm init -y
```

To make sure we can use es modules, let's add to `package.json`:
```JSON
...
  "type": "module",
...
```

# Dependecy
We can install i18next as a normal dependency with:
```
$ npm install --save i18next
npm WARN i18next-vanilla@1.0.0 No description
npm WARN i18next-vanilla@1.0.0 No repository field.

+ i18next@20.4.0
added 1 package from 1 contributor and audited 3 packages in 0.658s
found 0 vulnerabilities
```

# Code
The minimal code needed to experiment with the library is `index.js`:
```JS
import i18next from "i18next";

i18next
  .init({
    lng: "en",
    resources: {
      en: {
        translation: {
          hello_world: "hello world",
        },
      },
    },
  })
  .then((t) => {
    console.log(t("hello_world"));
  });
```

# Running
The code works as expected:
```shell
$ node index.js 
hello world
```

# Links
* [repository](https://github.com/how-to-js/i18next-vanilla)
* [branch](https://github.com/how-to-js/i18next-vanilla/tree/node-start)

# Summary
In this article, we have started playing with i18next. Stay tuned for the following parts!
O que é uma Gem?
Tags: braziliandevs, ruby, rails
Published: 2022-01-01 18:38:52

## O que é uma Gem?

Gem é um pacote que oferece funcionalidades a fim de resolver uma necessidade específica de um programa Ruby. Pense como o conceito de biblioteca em outras linguagens de programação.

Para instalar uma gem execute em seu terminal.

```ruby
gem install cpf_cnpj
```

Podemos listar todas as gems instaladas

```ruby
gem list
```

Vamos usar a gem que instalamos como exemplo...

```ruby
require "cpf_cnpj"

CPF.valid?(number)    # Check if a CPF is valid
CPF.generate          # Generate a random CPF number
CPF.generate(true)    # Generate a formatted number

cpf = CPF.new(number)
cpf.formatted         # Return formatted CPF (xxx.xxx.xxx-xx)
cpf.stripped          # Return stripped CPF (xxxxxxxxxxx)
cpf.valid?
```

### RubyGems - Repositório (site) de gems

[RubyGems.org](http://rubygems.org/) é o serviço de hospedagem de gem da comunidade Ruby. Onde você também pode criar e publicar suas gems (em breve irei fazer um post passo a passo para criar uma gem).

**Contato:**
Email: contato@diegonovais.com.br
LinkedIn: https://www.linkedin.com/in/diegonovais/
Github: https://github.com/dnovais
5 VSCode Extensions I Use Every Day
Tags: webdev, beginners, vscode, codenewbie
Published: 2021-08-27 16:35:46

Here are five VSCode extensions I like and use daily 😀 

## 1. Peacock

This lets you change the colour of individual VSCode windows. Great for when you have many open and want to easy differentiate between Frontend, Backend and Types for example. It puts the settings in you .vscode file so if you're on a team make sure to add that to your .gitignore.
![Peacock VSCode extension](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9btqsd9umtkp28hcbpfv.jpg)

## 2. Code Spell Check

My spelling isn't great and my typing tends to have typos, [this extension](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) puts a little blue squiggle under each misspelt word so you can see. It's subtle because unlike normal prose it's very common for developers **toWriteThingsInAnOddWay** that are actually valid, spelling errors aren't as important as linting errors and the extension maker knows that.
![Code Spell Check extension](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8lmpous0t4b31xs7h5ee.png)

## 3. Material Icon Theme

The stock icon theme is a bit dull I think, jazz it up a bit with [this extension](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme). Thanks to [Maximilian Schwarzmüller](https://twitter.com/maxedapps) for using this in his videos and recommending it.
![Material UI Icons](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m68gyc7sl98pp9xhnbes.png)

## 4. Rainbow CSV

I don't know about you but I don't trust Excel or Numbers with CSVs, I prefer to look at them in plain text, but my eyes hate me for it! [This extension](https://marketplace.visualstudio.com/items?itemName=mechatroner.rainbow-csv) makes each column in your CSV the same colour so it's easier for your brain to parse what I going on.
![Rainbow CSV VSCode Extension](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8l88esoovg0lqooi59oa.png)

## 5. Serendipity Theme

I love this [theme](https://marketplace.visualstudio.com/items?itemName=wicked-labs.wvsc-serendipity), it launched on Product Hunt in July and it think it's beautiful, so did everyone else as it was product of the day! It also sorted out the flickering issues I was having with VSCode which is a nice relief on my eyes as well.
![Serendipity VSCode theme](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v1zjsu9254tdtrnc4qos.png)

## Reel time

I made this as a reel a while back on Instagram as well!

{% instagram CSJwyV3jlp7 %}
#100daysofcode [Day-14]
Tags: 100daysofcode, javascript, beginners, webdev
Published: 2021-08-27 17:18:56

#100daysofcode [Day-14]

I'm trying to gain more knowledge about ES6 and today I've learnt es6 filter, destructuring, map, forEach and something more. 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/axhgij23gt4hg0lgiu95.png)
¿Qué es un algoritmo?
Tags: algoritmo, algorithms
Published: 2021-08-27 18:06:44

¿Sabías que muchas de las funciones que realizamos en nuestro día a día es un algoritmo? Por ejemplo, el seguir los pasos para preparar la receta de algún postre, instalar una impresora en la oficina, lavar los utensilios sucios, levantarse temprano todos los días para preparar el desayuno, o cualquier otra función que contemple una secuencia de pasos, vendría a ser un algoritmo. ¡Que no te sorprenda que tu vida esté llena de algoritmos! Y en este primer tema les voy a explicar el porqué de ello y lo que tal vez estés pensando, qué tiene que ver el preparar una receta o el instalar una impresora con los algoritmos y la programación.

¡Comencemos!

Al escuchar la palabra “algoritmo”, seguramente viene a nuestra cabeza los algoritmos que veíamos en el colegio como, por ejemplo: el algoritmo de Euclides para calcular el máximo común divisor de dos números, la misma multiplicación es un algoritmo para obtener un producto, o la división para determinar el cociente de dos números. Yendo un poco más a nivel universitario, tenemos el método simplex para la optimización de problemas que lo enseñan en el curso de IOP (Investigación de Operaciones). Todos estos son algoritmos, pues siguen una serie de operaciones para obtener un resultado.

Así como estos algoritmos puedo mencionarles muchos otros que son de gran utilidad para la educación, para el trabajo, para las empresas y para la vida misma, ya que nos facilitan las cosas y nos permiten solucionar diferentes tipos de problemas.
 
Creo que ya te vas dando una idea de para qué sirve un algoritmo, sino pues definamos de manera muy sencilla qué es un algoritmo.

**¿Qué es un Algoritmo?**

Un algoritmo es una secuencia ordenada y finita de pasos que permiten resolver un problema. Dicho de otro modo, es un método que será expresado en un conjunto de pasos para resolver un problema.

¿Y qué tiene que ver esto con la programación? Pues que dicho método puede ser implementado en un programa de computadora que satisfaga las necesidades de las personas.

**¿Qué es un programa de computadora?**

Un programa de computadora es la implementación de un algoritmo en un determinado lenguaje de programación como, por ejemplo: Java, C, C++, .NET, PHP, GO, etc.

En la siguiente imagen se puede ver la relación clara que existe entre problema, algoritmo y programa. 

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s92bglazkby1fnbj074z.png)

Espero que este pequeño post haya sido de su agrado, nos vemos en una siguiente oportunidad. Saludos y que tengan un buen día.
Git vs. GitHub: What's the difference? 
Tags: git, github
Published: 2021-08-27 20:37:20

###Git or GitHub.
 Are they the same/equal thing? If not, are they connected/related. The veracity is that Git and GitHub are connected far more closely than you think they're, but with some key differences setting them apart. 


What's the difference between Git and GitHub? Well to know that first we will take a deep-examine at each one. But before we do that you need to know the  concept of *version control*. 

###So now what is Version control?

Version control is *like a correction tape* for your program. It's work is to save program for your project. It tracks and logs the changes you make to your file sets over time, it gives you the power to review and even restore your earlier versions of your work. If you notice that your text is misaligned so rather than crawling back through every line of your code, you'll  use the version control to reload earlier version of your code, until you find it satisfactory or correct.

######Now let's flow directly to *Git*.


###What is Git?

It was first developed back in 2005. Git is immensely popular and high-quality version of control system.  Git is installed on your *local system* and keeps all the record of your ongoing program versions. you do no need any internet access to use it except if you want to download it. Git is extremely easy to use and it is not  paid, hence inexpensive. It also has a branching model which allow user to make their own independent local branches, so that you can try out new ideas but without making changes in your main branch and you can anytime merge, delete and recall them.

###What is GitHub?
GitHub is Git repository hosting service. It is entirely *cloud-based*, totally distinct from git which only allows you to control your projects in your local server/computer.  GitHub is like  an online storage of git , in technical words the database of projects you are working on in your local server it is being saved on the cloud in GitHub. Which allows you and any authorized  person by you to see the work or contribute in that project. Like Git, GitHub also has the branching system which makes it smooth to try different approach's and distinct the work of other person from you so that it does not create any heap. You can excess your work from anywhere in the world just with connectivity of internet. 

###Conclusion
To conclude Git is a version control system installed on your local system and it keep track of all your work and stores it on local device storage whereas GitHub is a solely cloud-based and a Git repository hosting service. You can push your work from local storage to cloud through internet and access the data from anywhere.