teleren/devto huggingface dataset:
Attitude quotes in Urdu and Hindi
Tags: poetry, quotes, status
Published: 2023-03-19 18:21:53

Attitude is a powerful force that can make or break your success in life. Your attitude shapes the way you approach challenges and opportunities, and ultimately determines the level of fulfillment you achieve. Here are some inspiring [attitude quotes](https://statussworld.com/attitude-quotes-hindi/) that can help you cultivate a positive mindset and achieve your goals.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vxizr7199soh2axa49oa.png)
"Your attitude, not your aptitude, will determine your altitude." - Zig Ziglar
This quote highlights the importance of attitude over talent or ability. A positive attitude can take you further in life than raw talent alone. Your mindset determines how you approach challenges and setbacks, and whether you give up or keep pushing forward.

"Attitude is a little thing that makes a big difference." - Winston Churchill
This quote emphasizes the power of a positive attitude. Even a small shift in your mindset can have a big impact on your life. By cultivating a [positive attitude](https://statussworld.com/urdu-quotes-about-life/), you can transform your outlook and approach to life.

"Your attitude is like a box of crayons that color your world. Constantly color your picture gray, and your picture will always be bleak. Try adding some bright colors to the picture by including humor, and your picture begins to lighten up." - Allen Klein
Como descrever imagens nos slides feitos no Canva
Tags: braziliandevs, acessibility
Published: 2023-03-19 18:18:34

Muitas pessoas usam o Canva como alternativa para construir slides para suas apresentações. Mas infelizmente essa ferramenta tinha vários pontos em relação a acessibilidade. Agora que liberaram essa função, vamos aprender como ela funciona.

## Dica de ordem de descrição
Isso já foi relatado nos artigos anteriores e, se você está chegando aqui por este artigo, te convido a conhecer a [série sobre acessibilidade](https://dev.to/morgannadev/series/19418) que tenho construído por aqui. Mas, segue novamente algumas dicas de como deixar a descrição de maneira que fique mais fácil compreender:

> o ideal é que a descrição da imagem seja feita da esquerda para a direita e de cima para baixo.

## Adicionando descrição nas imagens no Canva
Após você adicionar a imagem na apresentação que pretende usar, clique com o botão direito em cima dessa mesma imagem.
Irão aparecer algumas opções em relação ao que pode ser feito. Identifique a função que diz "Texto alternativo".

![Print de um slide modelo em que há uma foto de uma mulher mais velha fazendo bolinhas de sabão. No print, mostra o menu que se abra ao clicar com o botão direito.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xzfq9t6gr5wq6xihfx3k.png)

Após clicar na opção "Texto alternativo", uma nova opção se abrirá. Nessa pequena janela estará disponível um campo com 250 caracteres para você usar para fazer a descrição.

![Print da imagem da janela que se abre para fazer a descrição. Está escrito em cima "Texto alternativo" e logo abaixo há uma caixa de texto disponível. No canto inferior direito dessa caixa, está escrito 0/250 caracteres.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ux6cfwrz54ohcqvp71tr.png)

O próprio Canva já pode ter uma sugestão de descrição, mas pode ser que ela esteja em inglês e você tenha que disponibilizar o material para pessoas que falem em português. Também pode acontecer da sugestão ser o nome do arquivo que você fez upload na ferramenta para usar.

Talvez valha mais a pena que você faça a descrição dessa imagem. Lembre-se das dicas que deixamos no começo deste artigo.

---

Espero que as dicas sejam úteis e, caso você também tenha dicas de acessibilidade que podem ajudar, compartilhe! Pretendo trazer outras dicas também que tenho aprendido no dia-a-dia, então continue acompanhando as próximas postagens.

Obrigada por ter lido o artigo e deixo o canal aberto para troca de ideias e feedbacks.
You Don't know JS
Tags: youdontknowjs, tutorial, javascript, learn
Published: 2023-03-19 18:08:45

Hi everybody! My name is Jur'atbek, I am web developer from Uzbekistan. Since this moment, i will start to post the main lessons of javascript from the book called **_You don't know JS_** 

author: **Kyle Simpson**

If you prefer to read this book on pdf format, you can download it from here: >> [LINK ](https://xiaoguo.net/~books/Program/You_Dont_Know_JS_Up_and_Going.pdf)<<

- 
note: `I am sharing this book here in order to make easier reading, beacuse doing this by pdf files, sometimes is going to be difficult and unconfortable, but [dev.to](https://dev.to), I guess, is the best place to learn and read, that is because, I chose this platform, there is no any commercial and financial purposes!`

**This book mainly consists of 3 chapters:**

> **CHAPTER 1:**
 Into Programming

> **CHAPTER 2:**
 Into Javascript

> **CHAPTER 3:**
 Into YDKJS


- _Day by day I will try to share all of the lessons from this book on my dev.to account! To find out more, visit my profile and check out related posts to this book!_

_Let's start..._
Git commands every developer should know!
Tags: git, github, devops, beginners
Published: 2023-03-19 17:55:46

## What is git?

Git is a powerful tool that developers use to manage their code changes. It is widely used in software development to help manage code versions and collaborate with other developers. Git can be complex, and it can be difficult to remember all the commands and options available. This is where a Git command cheat sheet can be helpful.

## What is a Git Command Cheat Sheet?

A Git command cheat sheet is a handy reference guide that lists all the essential Git commands and their options. It is a useful tool for beginners who are just starting with Git, as well as for experienced developers who need to refresh their memory on certain Git commands.

## Git Command Cheat Sheet:

1. `git init`: `git init` initializes a new git repository in the current directory.

2. `git add`: `git add filename.txt` adds the changes in the `filename.txt` file to the staging area.

3. `git commit`: `git commit -m "commit message"` commits the changes in the staging area to the repository with a message.

4. `git status`: `git status` shows the current status of the repository, including the files that have been modified, added, or deleted.

5. `git diff`: `git diff` shows the difference between the working directory and the repository.

6. `git log`: `git log` shows the commit history of the repository, including the author, date, and commit message.

7. `git branch`: `git branch` lists all the branches in the repository.

8. `git checkout`: `git checkout branch-name` switches to the `branch-name` branch.

9. `git merge`: `git merge branch-name` merges changes from the `branch-name` branch to the current branch.

10. `git push`: `git push origin main` pushes changes to the `main` branch of the remote repository named `origin`

11. `git pull`: `git pull origin main` pulls changes from the `main` branch of the remote repository named `origin`.

12. `git clone`: g`it clone https://github.com/username/repository.git` clones the remote repository located at `https://github.com/username/repository.git` to the local machine.

## Conclusion

A Git command cheat sheet can be a valuable tool for developers who use Git to manage their code changes. It can help them remember the essential Git commands and their options, and can save them time and effort when working with Git. Whether you are a beginner or an experienced developer, a Git command cheat sheet can be a helpful reference guide to keep by your side.
Why use graph database?
Tags: apacheage, postgres, neo4j, opensource
Published: 2023-03-19 17:53:32

Graph database uses nodes/vertices to store entities and edges to store relationships between these entities. Most of the value of graph databases are derived from these relationships. These relationships represent complex interconnected relations between the nodes. 

Examples of graph databases include Neo4j. Examples of relational databases are postgreSQL, MySQL, Oracle etc.

We use graph databases because it provides:

- **Flexibility**
Graph databases are _schema-free_ and thus any change in the properties (attributes) of a node or edge does not require the entire schema to be altered. This is quite unlike relational databases such as postgreSQL where if one record has a different set of attributes, you need to change the entire schema of the relation/table. 

- **Agility**
Graph databases being time-efficient are a great choice in agile development where there is a need for efficient data storage and management under a time constraint.

**Size vs Complexity Relation**
There is a _size vs complexity relation between the graph and relational database_. It is a fact that the graph databases perform the best when the complexity of relationships between the entities is to be scaled whereas relational databases perform best when size of the database needs to be scaled.

**References**
- [Neo4j](https://neo4j.com/)
- [postgreSQL](https://www.postgresql.org/docs/)
Get Network Passwords
Tags: hacking, network
Published: 2023-03-19 17:52:02

Welcome to this blog post where I will walk you through the process of retrieving the Wi-Fi password saved on your PC. But before we proceed, we would like to issue a warning for educational purposes only. I do not condone or promote the unauthorized access of any Wi-Fi network without the owner's consent. The method we are going to discuss should only be used for educational purposes, to help you understand how Wi-Fi passwords are stored on your PC and to enable you to better protect your network from potential security breaches.

With that said, let's dive into the process of retrieving the Wi-Fi password saved on your PC. Many of us have experienced a situation where we want to connect a new device to our Wi-Fi network, but we can't remember the password. Fortunately, your PC stores the Wi-Fi password for each network that you have connected to in the past, and it's relatively easy to retrieve it.

## Linux
```
#!/bin/bash

meta_data=$(netsh wlan show profiles)
data=$(echo "$meta_data" | iconv -f "windows-1251" -t "utf-8" | sed -n "s/    All User Profile     : //p")
profiles=($data)

printf "%-30s| %-s\n" "Wi-Fi Name" "Password"
printf "______________________________________________\n"

for i in "${profiles[@]}"
do
    results=$(netsh wlan show profile "$i" key=clear)
    password=$(echo "$results" | sed -n "s/    Key Content            : //p")

    if [ -z "$password" ]
    then
        password=""
    fi

    printf "%-30s| %-s\n" "$i" "$password"
done
```
Save this file with a suitable name, such as "wifi-passwords.sh". Make sure you set the executable bit for the file by running the following command:

```
chmod +x wifi-passwords.sh
```
You can then run the script using:

```
./wifi-passwords.sh
```
This will display a list of all saved Wi-Fi networks and their passwords. Note that this script may not work on all systems or may require modifications to work properly.

## Windows
To convert the shell script to a batch file, you can create a new file with a .bat extension and add the following code:
```
@echo off
setlocal enabledelayedexpansion

for /f "tokens=2 delims=: " %%a in ('netsh wlan show profiles ^| findstr "All User Profile"') do (
    set "profile=%%a"
    set "profile=!profile:~1,-1!"
    set "password="
    for /f "tokens=2 delims=: " %%b in ('netsh wlan show profile "!profile!" key^=clear ^| findstr "Key Content"') do (
        set "password=%%b"
        set "password=!password:~1!"
        echo !profile! | powershell -Command "$input | Out-Host"
        echo !password! | powershell -Command "$input | Out-Host"
        echo "______________________________________________"
    )
)
```
Save this file with a suitable name, such as "wifi-passwords.bat". You can then run the batch file by double-clicking on it. This will display a list of all saved Wi-Fi networks and their passwords.

Note that the batch file may not work on all systems or may require modifications to work properly. Also, the batch file may display some non-ASCII characters incorrectly due to differences in character encoding between Bash and Windows Command Prompt
Unlocking New Possibilities: Applications of Apache AGE Extension Part 3(Conclusion)
Published: 2023-03-19 17:48:03

**Conclusion **
To further emphasize the importance of the Apache AGE extension, it's worth noting that graph data is becoming increasingly prevalent in many industries. With the rise of social media, e-commerce, and other digital platforms, organizations are generating vast amounts of graph data that can be used to gain insights and make better decisions.

However, working with graph data can be challenging due to its complex nature and the need to analyze relationships between entities. The Apache AGE extension simplifies this process, making it easier for data analysts to work with graph data and extract valuable insights.

Moreover, the extension is open source and free to use, which means that organizations of all sizes can take advantage of its capabilities without incurring significant costs. This makes it an accessible tool for small startups and large enterprises alike, democratizing access to advanced data analytics capabilities.

In conclusion, the Apache AGE extension is a powerful tool that is transforming the way organizations work with graph data. By enabling faster and more efficient analysis of large-scale graph databases, it's helping organizations to gain new insights, make better decisions, and drive innovation. We encourage readers to explore the Apache AGE extension further and discover how it can help them unlock the full potential of their data.



[Apache-Age:-https://age.apache.org/](https://age.apache.org/)
[GitHub:-https://github.com/apache/age](https://github.com/apache/age)
Unlocking New Possibilities: Applications of Apache AGE Extension Part 2
Published: 2023-03-19 17:46:59



The Apache AGE extension has numerous applications across different industries and sectors. Here are some of the most common use cases:

**Social Network Analysis**
Social network analysis involves studying the relationships between individuals or organizations to identify patterns, influencers, and other insights. With the Apache AGE extension, data analysts can use SQL-like syntax to query large-scale graph databases and extract insights from social networks. This can be used in a variety of applications, including marketing, social media analysis, and public health.
**Fraud Detection**
Graph databases can be used to detect fraud by analyzing patterns in transaction data, social connections, and other variables. The Apache AGE extension makes it easier for data analysts to query and analyze large-scale graph databases to identify suspicious activity, fraudulent behavior, and other anomalies. This can be used in industries such as banking, insurance, and e-commerce.
**Recommendation Engines**
Recommendation engines are used to suggest products, services, or content to users based on their preferences, behavior, and other variables. Graph databases can be used to model user behavior and preferences, and the Apache AGE extension can be used to query and analyze this data to make personalized recommendations. This can be used in industries such as e-commerce, media, and entertainment.
**Graph-Based Machine Learning**
Graph-based machine learning involves using graph data to train machine learning models. With the Apache AGE extension, data analysts can use SQL-like syntax to extract features from graph data and use these features to train machine learning models. This can be used in industries such as healthcare, finance, and logistics.

Overall, the Apache AGE extension can be used in a wide range of industries and sectors to extract insights from large-scale graph databases. By making it easier for data analysts to work with graph data, the Apache AGE extension is helping organizations to unlock new insights and develop innovative solutions.



[Apache-Age:-https://age.apache.org/](https://age.apache.org/)
[GitHub:-https://github.com/apache/age](https://github.com/apache/age)
How to use a hex color in Material App theme?
Tags: flutter
Published: 2023-03-19 17:41:20

You may have this:

```
theme: ThemeData(
        primarySwatch: Colors.green,
      ),
```

And you may want to use a hex color. You can do it like that:

```
theme: Theme.of(context).copyWith(
        colorScheme: Theme.of(context).colorScheme.copyWith(
              primary: const Color(0xFFC0CDB5),
            ),
      ),
```
Making of Among Us in Discord - DEVBLOG 1 - Embeds
Tags: python, discord, 100daysofcode, gamedev
Published: 2023-03-19 17:38:57

{% embed https://twitter.com/MrStiK101/status/1637507895880187904?s=20 %}

Heya, this is Mr.StiK, again.

So, as mentioned on the tweet, I did some embed test which I'll use a lot in the final bot. And yes, I migrated from PyCharm to Thonny because I lost all my files from PyCharm because **I JUST RENAMED THE PROJECT OUTSIDE PYCHARM ARE YOU KIDDIN**~ ok, ok, you know what I'm saying.

This was my progress so far because it took me so long to do this, about an hour and half, but I'm happy with the result.

SO, see you in the next DEVBLOG, I might not be able to post it in next 24 hours because I've exams going on, this is study leave I'm utilizing XD.

Alright, that's it.

Toodles!
Como adicionar banco de dados em uma aplicação .NET 7 [PT-BR]
Tags: braziliandevs, chsarp, beginners, database
Published: 2023-03-19 17:12:10

# Criação do projeto

Vamos começar criando o projeto. Antes disso, precisamos verificar se a versão do .NET instalada corresponde à do tutorial, executando o comando `dotnet --version`. No meu caso, a versão é `7.0.102`.

Em seguida, execute o comando para encontrar as opções de templates disponíveis:
`dotnet new list`

No meu caso vou criar uma aplicação Web API:
`dotnet new webapi`

Vamos executar o projeto para garantir que tudo está funcionando:
`dotnet run`

# Configuração do SQLite

Vamos dicionar os pacotes:
`dotnet add package Microsoft.EntityFrameworkCore.Sqlite`
`dotnet add package Microsoft.EntityFrameworkCore.Design`

E instalar a ferramenta:
`dotnet tool install --global dotnet-ef`

O arquivo .csproj mostrará a inclusão da referência ao pacote Microsoft.EntityFrameworkCore.Sqlite:
`<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.4" />`

Agora é hora de criar a classe DbContext:
`dotnet ef dbcontext scaffold "Data Source=bancoDeDados.sqlite" Microsoft.EntityFrameworkCore.Sqlite -o Models`

No arquivo "appsettings.Development.json", adicione a seção "ConnectionStrings" com a string de conexão correspondente:
`"ConnectionStrings": {
  "MeuBancoDeDados": "Data Source=bancoDeDados.sqlite"
}`

No arquivo "Models\BancoDeDadosContext.cs" remova o método "OnConfiguring", pois já colocamos a string de conexão no arquivo appsettings.

Na classe "Program.cs" adicione o seguinte para configurar o uso do DbContext e da string de conexão criada:
`builder.Services.AddDbContext<BancoDeDadosContext>(options =>
options.UseSqlite(builder.Configuration.GetConnectionString("MeuBancoDeDados")));`

# Crie uma tabela de teste

Apenas para garantir que esta tudo certo vamos criar uma tabela no banco de dados.

Crie uma classe "Pessoa" na pasta "Models" com uma propriedade "Id".

No arquivo "Models\BancoDeDadosContext.cs", adicione o código:

`public DbSet<Pessoa> Pessoas { get; set; }`

Execute o comando para adicionar uma migration e revise os novos arquivos gerados na pasta Migrations:
`dotnet ef migrations add AdicionaPessoa`

E finalmente, execute o comando `dotnet ef database update` para criar a tabela no banco de dados.

# Conclusão

A tabela "Pessoas" está criada no banco de dados e tudo está funcionando como esperado. Verifique se tudo foi executado corretamente e prossiga com o desenvolvimento do projeto.
What does app.use(bodyParser.urlencoded({ extended: false })); mean
Published: 2023-03-19 17:05:32

app.use(bodyParser.urlencoded({ extended: false })); is a middleware function in a Node.js application that uses the body-parser package to parse incoming HTTP request bodies.

The body-parser package allows you to extract data from the request body, which is useful when you're building web applications that need to handle form data or other types of user input.

The urlencoded method of body-parser is used to parse URL-encoded form data. When you submit a form on a website, the data is usually sent in the form of key-value pairs in the URL-encoded format, which looks something like this:

```
name=John+Doe&email=john%40example.com
```
The bodyParser.urlencoded() middleware function will extract this data from the request body and make it available as a JavaScript object in req.body.

The { extended: false } option in bodyParser.urlencoded() is used to configure the middleware to use the classic encoding algorithm for URL-encoded data. When set to false, the URL-encoded data will be parsed using the querystring library included with Node.js. When set to true, the URL-encoded data will be parsed using the qs library, which allows for more complex data structures to be encoded in the URL-encoded format.

In summary, `app.use(bodyParser.urlencoded({ extended: false }));` sets up the middleware for parsing URL-encoded form data in a Node.js application using the body-parser package.
Java - A Language That Changed the Programming World
Tags: java, technologyhistory, programming, softwaredevelopment
Published: 2023-03-19 16:54:58

Java is one of the most widely used programming languages in the world. It has been instrumental in building some of the most complex and sophisticated software systems, including enterprise-level applications, mobile apps, and smart card systems. But have you ever wondered about the origins of Java?

Java was developed by James Gosling and his team at Sun Microsystems in 1995. It was originally called Oak, after the oak tree that stood outside Gosling's office. However, it was later renamed to Green and finally Java, inspired by Java coffee. The Java logo also represents a coffee cup with steam.

There are four editions of Java for building different kinds of applications. The Java Standard Edition (SE) is the core Java platform that contains all the libraries a Java developer needs to learn. Java Enterprise Edition (EE) is used for building very large scale and distributive systems, and it provides additional libraries for building fault-tolerant, distributed multi-tier software. Java Micro Edition (ME) is a subset of Java SE designed for mobile devices, while Java Card is used in smart cards.

The latest version of Java is Java SE 12, which was released in March 2019. Java has close to 3 billion devices running it, including phones, TVs, and Blu-ray players. According to indeed.com, the average salary of a Java developer is just over $100,000 per year in the US, making it a highly lucrative career choice.

Here's a simple code snippet to get started with Java:

```java
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, world!");
    }
}
```

This code will print `"Hello, world!"` to the console when executed. As you can see, Java is a beginner-friendly language that is easy to learn, yet powerful enough to build complex systems.

In conclusion, Java has revolutionized the programming world since its inception. Its widespread use across different devices and systems has made it an indispensable skill for developers. Whether you're a beginner or an experienced programmer, learning Java is a great investment in your career.