teleren/devto huggingface dataset:
JSON: Que bruxaria é essa?!?!
Tags: javascript, json, object
Published: 2021-09-21 13:51:07

## Começando pela definição...

JSON (***JavaScript Object Notation*** - Notação de Objeto JavaScript) é um modo de representar dados estruturados na linguagem JS. É composto por uma chave (propriedade) e um valor.

```javascript
{
	"nomeDoPokemon": "Pikachu",
	"tipoDePokemon": "Elétrico"
}
```

## Tipos básicos

Os tipos básicos presentes no JSON são:

* Strings (Cadeia de texto ou caracteres)
* Number (Números inteiros ou reais)
* Booleano (Verdadeiro ou falso)
* Nulo (`null`)

```javascript
{
  "nomeDoPokemon": "Pikachu",
  "tipoDePokemon": "Elétrico",
  "numeroDoPokemon": 5,
  "isThisPokemonNormal": false,
  "nullPokemon": null
}
```

## Como eu converto um texto em JSON?

É só usar a função `JSON.parse()` e colocar como parâmetro o texto que será convertido.

```javascript
const texto = '{"atributo1": "valor 1", "atributo2": 23}';

const objeto = JSON.parse(texto);

console.log(objeto);
```

## Como eu converto um objeto JSON em texto?

É só usar a função `JSON.stringify()` e colocar como parâmetro o objeto que será convertido.

```javascript
const objeto = {
	"atributo1": "valor 1",
	"atributo2": 23
};

const texto = JSON.stringify(objeto);

console.log(texto);
```

## Como ler os dados dos atributos de um objeto JSON?

Podemos ler os dados dos atributos de um objeto JSON por ponto ou por colchetes

### Notação de ponto

```javascript
const texto = {
	"atributo1": "valor 1",
	"atributo2": 23
};

console.log(texto.atributo1);
```

### Notação de colchetes

```javascript
const texto = {
	"atributo1": "valor 1",
	"atributo2": 23
};

console.log(texto["atributo1"]);
```

## Adicionar uma nova propriedade

Podemos também incluir uma nova propriedade ao objeto JSON

```javascript
const texto = {
	"atributo1": "valor 1",
	"atributo2": 23
};

texto.atributo3 = null;

console.log(texto);
```

## Excluir uma propriedade

Podemos também excluir uma propriedade com o operador delete.

```javascript
delete texto.atributo3;
```

E aí? Gostaram? Até a próxima anotação! 😊
indonesiacoding
Published: 2021-09-21 13:49:52

indonesiacoding adalah sebuah usaha yang bergerak di bidang IT solution yang sudah ada sejak 2 Agustus 2018 dan kami akan terus berkembang dan meningkatkan pelayanan kami kepada pelanggan. Layanan Yang Kami Tawarkan : Jasa Pembuatan Website dan Konsultasi SEO ( Search engine optimization ) Jasa Pembuatan Aplikasi Android dan IOS Konsultasi Pemasangan SEM Google dan Facebook Ads Maintenence Website mulai dari upgrade speed dan keamanan Training pembuatan website dan aplikasi Training Digital Marketing ( SEO dan SEM ) Training Project Management di Bidang IT Konsultasi Ide Bisnis untuk Usaha yang Baru Memulai Jasa Pembuatan Artikel Website

Baca Selengkapnya di : https://indonesiacoding.com/klik/ | indonesiacoding
Digital Transformation Consulting Services | Data Migration Services | Utthunga
Tags: digital, transformation, services
Published: 2021-09-21 13:49:15

Looking for customer-focused digital transformation consulting services? As the leading digital transformation consulting firm, our digital application development services, data migration service, and data management enable OEMs to leverage emerging technologies to create market-ready solutions. Know more-->https://utthunga.com/product-engineering/digital-engineering/
React: Creating an HTML Class in JSX
Tags: devops, react, beginners, javascript
Published: 2021-09-21 13:47:07

* One difference in JSX is that you don't use the word class to define HTML classes. This is because class is a reserved word in JavaScript. Instead, JSX uses className. 
* Also note that HTML attributes and event references in JSX become camelCase.

* Let's Apply a class of `myDiv` to the `div` provided in the JSX code.
```JSX
const JSX = (
  <div className='myDiv'> {/* <--- added a class of myDiv */}
    <h1>Add a class to this div</h1>
  </div>
);
```

#### Self-closing
* In JSX, it's little different, Any JSX element can be written with a self-closing tag, and every element must be closed. The line-break tag, for example, must always be written as <br /> in order to be valid JSX that can be transpiled. A <div>, on the other hand, can be written as <div /> or <div></div>. The difference is that in the first version there is no way to include anything in the <div />. You will see in my later posts why that this syntax is useful when rendering React components.
React: Rendering HTML Elements to the DOM
Tags: javascript, react, beginners, devops
Published: 2021-09-21 13:42:00

* With React, we can render this JSX directly to the HTML DOM using React's rendering API known as ReactDOM.

#### What's ReactDOM?
* ReactDOM offers a simple method to render React elements to the DOM which looks like this: `ReactDOM.render(componentToRender, targetNode)`, where the first argument is the React element or component that you want to render, and the second argument is the DOM node that you want to render the component to.

* Keep in mind that ReactDOM.render() must be called after the JSX element statements.

* Using the ReactDOM.render() method to render this component to the page. You can pass defined JSX elements directly in as the first argument and use document.getElementById() to select the DOM node to render them to.  For this particular example they alread have a div with id='challenge-node' available.

```JSX
const JSX = (
  <div>
    <h1>Hello World</h1>
    <p>Lets render this to the DOM</p> {/* we want to render this entire element JSX to the page */}
  </div>
);

ReactDOM.render(JSX, document.getElementById('challenge-node'))


 {/* Inspect <iframe #document <html> <body> it will have a id='challenge-node' where it currently doesn't have a text, so we're trying to inject this JSX component into the interior of this challenge-node */}
```
How to Remove Underlines From Links with CSS
Tags: beginners, css, html, codenewbie
Published: 2021-09-21 13:39:37

You know how hyperlinks always come with an underline, right? And you want to get rid of it so you can add your style. Well, you can do it by using the `text-decoration` property.

`text-decoration` is a CSS property that will specify how to decorate the text. Since the hyperlink by default has a decoration, all you have to do is remove the text-decoration from the link.

## An example code

Let us take an example of how to remove underline with the `text-decoration` property.

```html
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Example</title>
  </head>
  <body>
    <a href="#">Definitely not a clickbait</a>

    <style>
      a {
        text-decoration: none;
      }
    </style>
  </body>
</html>
```

As shown from the example code above, the `text-decoration: none;` basically tells the CSS not to have any decoration on the hyperlink. That means the hyperlink no longer has an underline.

And that is pretty much it. Quite simple, right?

Get my [free e-book](https://learn.coderslang.com/free-ebooks/) to prepare for the technical interview or start to [Learn Full-Stack JavaScript](https://js.coderslang.com/)
echoAR nominated for "Best Developer Tool" at The 2021 Auggie Awards - VOTE NOW!
Tags: startup, showdev, auggie, awe
Published: 2021-09-21 13:39:19

![11.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1632231334086/9LQV9NZb7.png)

**GREAT NEWS**! echoAR is nominated for **The Best Developer Tool** at The 2021 Auggie Awards! 

Please visit  [auggies.awexr.com](auggies.awexr.com)  to cast your vote for echoAR! 

Just search for '**echoAR**' and click the '**Vote**' button!

***

> echoAR (http://www.echoAR.xyz; Techstars '19) is a cloud platform for augmented reality (AR) and virtual reality (VR) that provides tools and server-side infrastructure to help developers & companies quickly build and deploy AR/VR apps and experiences.

![222.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1632231375471/qegQL0Kd4.png)
How To Crack The Coding Interview With Little Or No Experience
Tags: career, interview, codenewbie, advice
Published: 2021-09-21 13:28:14

{% youtube WTIm4e3gM-Q %}

Today's video covers the following aspects of the coding interview and applies to beginners and early-career engineers. We'll be going over: 

1. How to do the right research before an interview
2. How to practice the right way before the interview
3. How to go about writing your code during the interview
4. And how to deal with failure during the interview

If you're struggling to get enough interviews, [find us on LinkedIn](https://linkedin.com/company/coding-career-fast-lane) where we help software engineers launch amazing careers every day.
How to create a documentation site & GitHub Page using Docz with NextJs and Typescript
Tags: nextjs, typescript, github, codenewbie
Published: 2021-09-21 13:12:26

# Motivation

Making good documentation can help understand a project better. It also saves much time! Creating good documentation and showcasing is a tedious task for big projects. In this blog, we will be going over how to maintain documentation for big projects. We chose Docz for the documentation. Read the rest of the blog to find out why!

# Prerequisite
- React JS basics
- Typescript basics
- Github basics

# Project Technical Needs
- Node JS - https://nodejs.org/en/
- Visual Studio Code - https://code.visualstudio.com/
- Github account - https://github.com/

# Why Chose Docz for All Your Software Documentation Needs

- It’s powered by Gatsby, so easy to change themes, and we can give a great look to our documentation.
- There is no complex configuration in Docz, it is very straightforward.
- MDX is getting popular and widely used nowadays. In Docz, we have the power to write MDX.
- Finally, the typescript support is available in Docz. Typescript helps a project to maintain easily, and with Docz integration, it becomes super easy to make documentation. Try the blog for more information.


# How to start (initializing the nextjs with typescript)

Initializing a project is super easy. Thanks to nextjs team for this. They already have a typescript boilerplate which will help us to start this quickly. Try
```
npx create-next-app --ts nextdoczts
```
or
```
npx create-next-app --typescript nextdoczts
```

Want to find out the rest? Follow the link - https://aviyel.com/post/824/how-to-create-a-documentation-site-github-page-using-docz-with-nextjs-and-typescript
React: Create a Simple/Complex JSX Element
Tags: react, beginners, javascript, devops
Published: 2021-09-21 12:56:30

* React is a popular JavaScript library for building reusable, component-driven user interfaces for web pages or applications.
React combines HTML with JavaScript features into its own markup language called JSX. React also makes it easy to manage the flow of data throughout the application.
* JSX is a extension of JavaScript, you can actually write JavaScript directly within JSX. To do this, you include the code you want to be treated as JavaScript within curly braces: { 'this is treated as JavaScript code' }. 
* However, because JSX is not valid JavaScript, JSX code must be compiled into JavaScript. The transpiler Babel is a popular tool for this process.
```JSX
const JSX = <h1>Hello JSX!</h1>;
```
* The current code uses JSX to assign a h1 element to the constant JSX and we added the text Hello JSX! inside it.

* The last bit was a simple example of JSX, but JSX can represent more complex HTML as well. One thing to know about nested JSX is that it must return a single element. This one parent element would wrap all of the other levels of nested elements.

* Valid JSX:
```JSX
const JSX = 
<div>
  <h1>This is the start.</h1>
  <p>This is just text.</p>
  <ul>
  <li>Cookies</li>
  <li>Milk</li>
  <li>Eggs</li>
  </ul>


</div>

{/* <ul>: The Unordered List element. The <ul> HTML element represents an unordered list of items, typically rendered as a bulleted list */}
```
* Here the current code is defined with a constant JSX that provides a div which contains the following elements in order: An h1, a p, and an unordered list that contains three li items.

#### Adding comments to JSX:

* You might be wondering, this is simple it's the same as JavaScript. Not necessarily, To put comments inside JSX you use the syntax `{/* */}` to wrap around the comment text.
Announcement: Hasura Cloud Achieves SOC2 Type 2 Certification
Tags: graphqlsecurity, api, enterprise
Published: 2021-09-24 13:00:32

---
title: Announcement: Hasura Cloud Achieves SOC2 Type 2 Certification
published: true
date: 2021-09-21 13:12:04 UTC
tags: GraphQLSecurity,APIs,Enterprise
canonical_url: https://hasura.io/blog/announcement-hasura-cloud-achieves-soc2-type-2-certification/
---

 ![Announcement: Hasura Cloud Achieves SOC2 Type 2 Certification](https://hasura.io/blog/content/images/2021/09/has_cloud_soc2_type2.png)

Following on from our last SOC2 Type 1 announcement in December 2020, we are happy to announce that Hasura Cloud has achieved SOC2 Type 2 certification. This further emphasizes our continued commitment to security for our users and our community to enable mission-critical workloads to be run on Hasura.

If you'd like to read more about our SOC2 Type 1 certification (and HIPAA compliance attestation) [you can find that post at this link](https://hasura.io/blog/hasura-cloud-achieves-hipaa-soc2/).

## About the certification:

The SOC (Service Organization Controls) 2 Type 2 examination was conducted by an independent, third-party accounting and auditing firm, which evaluated Hasura's processes, procedures, and controls for security, availability and confidentiality (together known as the Trust Services Criteria).

The examination was conducted by an independent third party accordance with the American Institute of Certified Public Accountants (AICPA) attestation standards and assurance standards issued by the International Auditing and Assurance Standards Board (ISAE 3000) and can be trusted by US and international customers.

### What does this mean for our customers?

This certification means that Hasura Cloud has been independently verified to have implemented a secure platform, and has a verified track record of maintaining this implementation.

By undergoing this rigorous scrutiny of our security practices, we demonstrate our commitment to protecting our customers and the trust you place in us. You can read more about our security practices at [hasura.io/security/](https://hasura.io/security/).

### Paving the way for platforms built on Hasura Cloud

An additional benefit for customers building their own SaaS offerings with Hasura Cloud – SOC2 Type 2 is within your grasp, too! Secure platforms need to be built with secure tools, and this latest certification removes that extra hurdle on your own way to delivering exceptional security to your customers.

Whether you are building in FinTech, Health Tech, SaaS, PaaS, or more – Hasura Cloud provides the stability and security you need to deliver secure apps, faster.

_Customers with compliance requirements may request Hasura’s SOC 2 Type 2 report as part of their compliance strategy. The report will be shared under an NDA._

Let us know if you have any questions! You can hit us up on [github discussions](https://github.com/hasura/graphql-engine/discussions) / [discord](https://hasura.io/discord) if you need any help!
Nguyen lieu lam tra sua Abar.Vn
Tags: nguyenlieulamtrasua, nguyenlieuphache, dungcuphache, nguyenlieulambanh
Published: 2021-09-21 13:03:47

Công Ty Thương Mại Dịch Vụ & Xuất Nhập Khẩu Hải An
Công Ty Thương Mại Dịch Vụ & Xuất Nhập Khẩu Hải An là đơn vị chuyên cung cấp các loại nguyên liệu pha chế như nguyên liệu pha chế café take away, nguyên liệu làm trà sữa, nguyên liệu làm bánh, và các loại máy móc, thiết bị, dụng cụ cho lĩnh vực pha chế. Dưới sự quản lý và điều hành của CEO Lã Xuân Hòa, Hải An đang ngày càng phát triển và mở rộng thị trường từ Hà Nội, Tp Hồ Chí Minh và các tỉnh, thành phố trong toàn quốc.
 
Giới thiệu công ty Hải An
Thông tin liên hệ Hải An
	Văn phòng giao dịch: 54 Mạc Thị Bưởi, Vĩnh Tuy, Hai Bà Trưng, Hà Nội
	Điện thoại: 0988.687.820 – 0868.700-499
	Email: haian.hotro@gmail.com
	Website: https://abar.vn

Công ty Hải An được thành lập tháng 11/2017 từ cơ sở kinh doanh và chế biến thực phẩm Hải An với văn phòng tại Minh Khai, Hai Bà Trưng, Hà Nội (2013). Trải qua hơn hơn 7 năm xây dựng và phát triển, Hải An đã cung cấp nguyên liệu, máy móc, thiết bị và dụng cụ cho hàng chục nghìn khách hàng cá nhân, doanh nghiệp khắp mọi miền tổ quốc.
	Tên doanh nghiệp: Công Ty Thương mại dịch vụ & Xuất nhập khẩu Hải An 
	Trụ sở: Số 8 Ngõ 23, Phố 8/3, Phường Minh Khai, Quận Hai Bà Trưng, Thành phố Hà Nội
	Mã số thuế: 0108066831
	Đại diện pháp luật: Lã Xuân Hòa
	Ngày hoạt động: 11/03/2021
	Giấy phép kinh doanh: 0108066831
	Lĩnh vực: Thực phẩm, nguyên liệu pha chế, nguyên liệu trà sữa, café, máy móc, thiết bị pha chế, đèn chiếu sáng…

 
Tầm nhìn và sứ mệnh
Tầm nhìn
Không ngừng đổi mới sáng tạo để cung cấp các sản phẩm, dịch vụ hàng đầu, vượt trội cho khách hàng, góp phần phát triển xã hội văn minh, hiện đại. 
Sứ mệnh
•	Năng động – Sáng tạo
•	 Nhiệt huyết – Kiên trì
•	Cộng đồng bền vững
Lĩnh vực hoạt động
Hải An hoạt động thương mại dịch vụ tập trung vào các 7 mũi nhọn sau đây

	Cung cấp nguyên liệu pha chế café take away
	Cung cấp nguyên liệu làm trà sữa
	Cung cấp nguyên liệu làm bánh (bánh ngọt, bánh mỳ…), đồ ăn vặt
	Nhà phân phối các thiết bị, máy móc, dụng cụ phục vụ cho pha chế
	Đào tạo pha chế đồ uống
	Dịch vụ sửa chữa máy móc, thiết bị pha chế
	Nhà phân phối đèn trang trí gia đình, chung cư, quán café, trà sữa, nhà hàng, khách sạn…
Nguyen lieu lam tra sua Abar.Vn
Published: 2021-09-21 13:01:12

Abar: Công ty cung cấp nguyên liệu pha chế & làm bánh, nguyên liệu làm trà sữa, dụng cụ pha chế và máy pha chế 

#nguyenlieuphache #nguyenlieutrasua #nguyenlieulambanh #mayphache #dungcuphache

Website: https://abar.vn/

Phone: 0988687820

Address: Số 54 Mạc Thị Bưởi, Vĩnh Tuy, Hai Bà Trưng, Hà Nội 11622
Top 5 free Figma UI kits to use in your projects
Tags: figma, ux, design, resource
Published: 2021-09-21 13:01:02

Figma has become one of the most essential tools for designers, it has a huge community of users that share lots of free [Figma resources](https://www.figmabox.com).

In this post, I will share with some of my favorite Figma UI kits which you can use it in your projects or just for practicing purposes 

##[Landify](https://www.figma.com/community/file/894552273937682724)
![Landify UI Kit](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w2lg9czvludbs7mutmb8.png)
 
Landify is one of the best Figma resources out there. It comes with more than 90 pre-made blocks divided into 13 different categories based on use cases. 

##[Material Baseline Design Kit](https://www.figma.com/community/file/778763161265841481)
![Material Baseline Design Kit](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ojdvfgmfuj95gtdli98z.png)
This is the official material design kit for Figma, which contains premade components and a set of styles that are easy to use and customize.

##[Webpixels Design System](https://www.figma.com/community/file/1017379818245262817)
![Webpixels Design System](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e07d00d6az215948iuwz.png)
Webpixels Design System is a collection of beautiful styles, components, and templates for Figma designed to allow you to build modern user interfaces at an accelerated pace

##[Marvie IOS UI Kit Dark theme](https://www.figma.com/community/file/827876058453173134)
![Marvie IOS UI Kit Dark theme](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xmzpudqmk7r1w43l2u32.png)
 
This mobile UI kit has bright, friendly colors and can be used for any purpose. Easy-to-use and fully featured. It contains well-named and organized components and symbols. 


##[iOS 15 UI Kit for Figma](https://www.figma.com/community/file/984106517828363349)
![iOS 15 UI Kit for Figma](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3aas8yx5hbozbnczc00a.png)
 
A fully featured IOS 15 UI kit that is designed based on apple design guidelines. It includes hundreds of components, text, and colors styles. And comes with light and dark mode.


These were some of my favorite Figma UI kits and I hope you will find them useful. Thanks for reading
.NET 6
Tags: dotnet, dotnet6, csharp
Published: 2021-09-21 12:28:00

 O novo .NET chegou junto com o C# 10, cheio de novidades que simplificam o desenvolvimento e com muito mais performance para essa versão estável do .NET 6 LTS (_Long Time Support_).
 
Neste artigo vamos configurar a nova versão do .NET no Visual Studio 2022.

**Instalação**
- [Visual Studio 2022](https://visualstudio.microsoft.com/pt-br/vs/preview/) - É tudo o que precisa.

.NET 6 foi testado com Visual Studio 16.9 Preview 4 e Visual Studio 2022 Preview. Tente usar essas compilações se quiser experimentar o .NET 6.

**Criando um projeto .NET 6**

Com seu Visual Studio instalado, crie um novo projeto do tipo ASP.NET Core Web App:

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/no7acarq35krh91ubqa5.png)
 
Em seguida escolha o nome do seu projeto e selecione o .NET 6 como _Framework_:

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

O projeto em .NET 6.0 está muito mais limpo e simples de codificar. Um ponto bem legal é a possibilidade de utilizar o _GlobalUsings_, o que permite, em um único arquivo arquivo, ter todos os _using_ do projeto.

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pbi9zqqvr69grlb6cr4j.png)
 
Os detalhes completos das novidades do .NET 6.0 e C#10 você encontra no meu GitHub:
https://github.com/hgmauri/sample-dotnet6
booooks... for feed your head ;)
Published: 2021-09-21 12:21:08


![woman reading painter](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nakoobpwjtmy2ozedm8m.jpg)
dear readers, for not  be mentioned like who never posting more here...
while i don't post more dev tips...
i decided post 3 special books for you devs or unicorns or newbie designers.  ![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tlxn2b7xjepq61yaj3x5.png)

so let's get lost 3 seconds :
1.Mapping Experiences: this book of 'o'reilly', introduce you in UX tools and explains the kind it, and your applicability. 


2.This is Service Design Doing: this book is about, design service, and the best way to pactice it.

3.User-Centered Design: Amazing book for devs and designers and other stakeholders. its give you one other outlook, about the important question which is this UCD, and how this makes impact of the social question and design.


3 little pills about this 3 books, more curiosity?
Read them !!!
Cull out employment opportunities with Uber for Mechanics

Tags: uberformechanics, uber
Published: 2021-09-21 12:14:35

There are multiple self entrepreneurship opportunities blooming in the market. And this Uber for mechanics is to support the Mechanics and the automobile sector service providers to push their business to a new horizon. Through this app, the users get to experience professional services and get their timely needs in emergency situations tackled. By developing your Uber for Mechanics with us at INORU, we help you launch a fully-featured app with advanced technical support. Our white label solutions help you launch a unique app under your banner. Utilize this opportunity and get yourself established as a successful service provider with Uber for Mechanics.