teleren/devto huggingface dataset:
Como criar uma conta gratuita no Microsoft Azure
Tags: azure, cloud, microsoft, database
Published: 2024-05-14 19:28:42

O Microsoft Azure é uma plataforma de computação em nuvem amplamente utilizada que oferece uma variedade de serviços e recursos para desenvolvedores, empresas e organizações. Se você está interessado em explorar o mundo da computação em nuvem ou precisa de uma plataforma confiável para hospedar seus aplicativos e dados, criar uma conta gratuita no Azure é um ótimo ponto de partida. Neste guia mostro passo a passo, como você pode criar uma conta gratuita no Azure. 

## **1. Acesse o site do Azure**

O primeiro passo é acessar o site oficial do Azure em [azure.microsoft.com](https://azure.microsoft.com/). Ao entrar no site,  você verá uma opção com o "Teste o Azure Gratuitamente". Clique nessa opção para iniciar o processo de criação da sua conta gratuita.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n3zb858y2zxecrdnl34u.png)

## **2. Faça login ou crie uma conta Microsoft**

Se você já tiver uma conta Microsoft poderá usá-la para fazer login no Azure. Caso contrário, você precisará criar uma conta Microsoft antes de prosseguir.

## **3. Preencha as informações necessárias**

Após fazer login ou criar sua conta Microsoft, você será direcionado para uma página onde precisará preencher algumas informações básicas, como seu país, nome, endereço de e-mail e número de telefone. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cxyp8pq0fmbnndvkei6r.png)

Você também irá precisar fornecer um número de telefone válido para validar suas informações com o recebimento de um SMS.

## **4. Verificação de identidade**

Após fornecer suas informações, você pode precisar passar por um processo de verificação de identidade. Isso pode incluir a confirmação do seu endereço de e-mail ou número de telefone, bem como a verificação de uma forma de pagamento válida.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r1bbsw66v8ir95rzpyqa.png)

Você não será cobrado no seu cartão por criar uma conta, é apenas uma verificação de identidade que o Azure costuma utilizar.

## **5. Ative sua assinatura gratuita**

Uma vez que sua identidade tenha sido verificada com sucesso, você poderá ativar sua assinatura gratuita do Azure. Isso geralmente envolve aceitar os termos de serviço e escolher um plano de suporte. Lembre-se de que, embora seja uma conta gratuita, pode haver limitações de uso que você precisará estar ciente.

## **6. Comece a usar o Azure**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c3okz56oyhzzll4h6rnb.png)

Com sua conta gratuita ativada, você está pronto para começar a explorar os serviços e recursos oferecidos pelo Azure. Você pode criar máquinas virtuais, implantar aplicativos, armazenar dados, entre outras coisas.

Explore também os serviços sempre gratuitos do portal, pode ser uma ótima iniciar por eles: 

[Serviços gratuitos do Microsoft Azure](https://azure.microsoft.com/pt-br/pricing/free-services)

Espero que este guia seja útil para você começar sua jornada no Azure!
Ubuntu 22.04'de Ansible Kurulumu ve Örnek Playbook Repositorie
Published: 2024-05-14 19:28:25

* sudo apt güncelleme -y && sudo apt yükseltme -y
* sudo apt install ansible sshpass -y
* sudo nano /etc/ansible/hosts

```
[servers]
server1 ansible_host=192.168.56.103
server2 ansible_host=192.168.56.105

[all:vars]
ansible_python_interpreter=/usr/bin/python3
```

* ansible-envanter --list -y

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9sm0d7byz3tp5sekloas.png)


* sudo nano /etc/ansible/ansible.cfg
```
[defaults]
host_key_checking = False
ansible_user = sysadmin
ask_pass = True
ask_become_pass = True
```

* Ping Test:
``` ansible all -m ping -u sysadmin --ask-pass ``` 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sxo7zhozta6no9ffxw2h.png)


* Run Command Playbooks:

``` ansible-playbook -i /etc/ansible/hosts ymlname.yml --ask-pass --ask-become-pass ```

* Playbook Repo:
https://github.com/buusratekiin/ansible_playbook
Unlock the Magic of BSL: Level 1 & 2 Courses Await You!
Tags: bsl
Published: 2024-05-14 19:28:21

Dive into the enchanting world of [British Sign Language](https://studyplex.org/course/british-sign-language-bsl-level-1-2/) (BSL) Level 1 & 2 on Dev. To! Explore the art of visual communication, master the intricacies of signing, and connect with a passionate community of learners. Embrace inclusivity and cultural richness through the language of BSL. Start your journey toward fluent signing today! #BSL #SignLanguage #CulturalInclusivity 🤟🌟📘
Transform Your Brand Presence Globally with Stitchi's Merchandise Solutions
Tags: ai, devops, productivity, database
Published: 2024-05-14 19:20:26

Introducing [Stitchi](https://www.stitchi.co/), your ultimate partner in elevating brand presence globally through premium promotional merchandise. Whether you're organizing corporate events, launching startups, or running fundraisers, [Stitchi ](https://www.stitchi.co/)provides an end-to-end platform for all your merchandising needs.

With [Stitchi](https://www.stitchi.co/), you gain access to a diverse range of high-quality products that can be customized to align perfectly with your brand identity. From sleek corporate gifts to eye-catching event giveaways, our curated selection ensures that your merchandise makes a lasting impression.

But [Stitchi](https://www.stitchi.co/) is more than just a product catalog. Our platform streamlines the entire process, from design conceptualization to product delivery. Seamlessly create and customize your merchandise with intuitive design tools, and let us handle the production and fulfillment logistics.

We understand the importance of integration and convenience, which is why [Stitchi](https://www.stitchi.co/) offers seamless integrations with popular platforms for a hassle-free experience. Whether you're managing orders, tracking inventory, or analyzing performance metrics, our integrations ensure that you have all the tools you need at your fingertips.

At [Stitchi](https://www.stitchi.co/), customer satisfaction is our top priority. That's why we provide dedicated support every step of the way. Our team of experts is ready to assist you with any questions or concerns, ensuring that your experience with [Stitchi](https://www.stitchi.co/) is smooth and successful.

In addition, [Stitchi](https://www.stitchi.co/) offers warehousing and global fulfillment services, allowing you to reach your audience wherever they may be. Whether you're shipping products across the country or around the world, our logistics network ensures timely delivery and customer satisfaction.

In summary, [Stitchi](https://www.stitchi.co/) is your comprehensive solution for all your promotional merchandise needs. With premium products, integrated solutions, dedicated support, and global logistics, [Stitchi](https://www.stitchi.co/) empowers you to elevate your brand presence and make a lasting impact on your audience. Experience the [Stitchi](https://www.stitchi.co/) difference today and take your brand to new heights.
Troubleshooting and Fixing AWS DMS Instance Creation Error
Tags: aws, dms, cdk
Published: 2024-05-14 17:41:17

Are you encountering an error while attempting to create an instance in AWS Database Migration Service (DMS)? Don't fret; you're not alone. Recently, I stumbled upon an issue during DMS instance creation and delved into the solution to share my insights with you.

**The Error:**
You might come across an error message similar to this:

```
**Error**: creating DMS Replication Instance (my-replication-instance1): InvalidSubnet: No default subnet detected in VPC. Please contact AWS Support to recreate default Subnets
```

**Understanding the Error:**
This error crops up when DMS fails to identify a default subnet in the Virtual Private Cloud (VPC). By default, DMS attempts to utilize the default VPC subnet group. However, if the default VPC or its associated subnet group isn't available, the creation process hits a snag.

**Root Cause:**
The crux of the issue lies in the absence of a specified subnet group. Without explicit instructions, DMS defaults to the non-existent default VPC subnet group, resulting in the error.

**Resolution:**
The fix is straightforward. Create a DMS subnet group aligned with the custom subnets provisioned in your VPC. Then, when initiating the replication instance creation, ensure to specify this subnet group explicitly.

**Implementation via AWS CDK:**
Here's a step-by-step guide to achieving the resolution using AWS CDK:

**Import Necessary Libraries:**


```
import { DmsReplicationInstance } from "@cdktf/provider-aws/lib/dms-replication-instance";
import { DmsReplicationSubnetGroup } from "@cdktf/provider-aws/lib/dms-replication-subnet-group";
```
**Define Constants:**

```
const replicationSubnetGroup = new DmsReplicationSubnetGroup(
    stacks.infra,
    "MyReplicationSubnetGroup",
    {
      replicationSubnetGroupDescription: "MyReplicationSubnetGroup",
      replicationSubnetGroupId: "my-replication-subnet-group1",
      subnetIds: _app.privateSubnetIds,
    }
  );
```
**Specify the Subnet:**

```
replicationSubnetGroupId: replicationSubnetGroup.id
```
**Additional Resources:**
For further guidance, refer to the following documents:

[+] Creating a replication instance - https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReplicationInstance.Creating.html 
[+] aws dms - create-replication-instance
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/dms/create-replication-instance.html
NestJS tip: how to use Node.js built-in .env file reader with NestJS CLI
Tags: node, nestjs
Published: 2024-05-14 18:52:43

> for NestJS v8, v9 and v10

Starting from Node.js v20.6.0 you can read dot env files into the `process.env` object using the [`--env-file=path` nodejs option](https://nodejs.org/en/learn/command-line/how-to-read-environment-variables-from-nodejs).

If you're using NestJS's CLI (`@nestjs/cli` package) you can turn on that Node.js option as follows:

```bash
nest start --exec "node --env-file=.env"
```
Nikotiinipussit
Published: 2024-05-14 18:45:41

Denssit ovat viime vuosina nousseet suosioon tupakoinnin vähentämisen tai lopettamisen apuvälineenä. Ne ovat pieniä, pussinmuotoisia tuotteita, jotka sisältävät nikotiinia ja muita ainesosia, kuten kasvikuitua ja makuaineita. Denssit asetetaan yleensä ikenen ja huulen väliin, missä ne vapauttavat hitaasti nikotiinia ja tarjoavat käyttäjälle tupakoinnin kaltaisen tunteen. Vaikka denssit ovat saaneet kannattajia, niiden käyttöön liittyy myös huolia terveysriskeistä ja mahdollisista haitoista. Tässä artikkelissa tarkastelemme denssejä, niiden toimintaa, käyttötarkoituksia, terveysvaikutuksia ja keskustelua niiden turvallisuudesta.

Denssit ja Nikotiinipussit: Mikä Ero?

Denssit ja nikotiinipussit ovat usein samankaltaisia käsitteitä, mutta niiden välillä on hienoja eroja. Nikotiinipussit ovat yleensä täytettyjä pussukoita, jotka sisältävät nikotiinia ja muita ainesosia, kun taas denssit ovat yleensä pieniä, pussinmuotoisia tuotteita, jotka sisältävät nikotiinia ja mahdollisesti muita lisäaineita. Vaikka nämä tuotteet tarjoavat käyttäjilleen samanlaisen nikotiiniannostuksen, niiden koostumus ja käyttötarkoitus voivat vaihdella valmistajan ja tuotteen mukaan.

**_[Nikotiinipussit](https://denssit.fi/nikotiinipussit-tuotemerkit/killa/)_**

Denssit Tupakoinnin Vähentämisen Apuna:

Monet tupakoitsijat ovat kääntyneet denssien puoleen tupakoinnin vähentämiseksi tai lopettamiseksi. Denssit tarjoavat käyttäjilleen nikotiiniannoksen ilman tupakointia liittyviä haittoja, kuten savun hengittämistä ja tupakoinnin hajua. Ne voivat myös auttaa tupakoitsijoita vähentämään tupakointiin liittyviä sosiaalisia tilanteita ja riippuvuutta tupakointiin liittyvistä rituaaleista.

Denssien Terveydelliset Riskit:

Vaikka denssit ovat saaneet kannattajia tupakoinnin vähentämisen apuvälineenä, niiden pitkäaikaisvaikutuksista ja terveysriskeistä on edelleen paljon keskustelua. Erityisesti huolta herättää nikotiinin käyttö, joka voi aiheuttaa riippuvuutta ja vaikuttaa haitallisesti terveyteen. Lisäksi denssien sisältämät lisäaineet ja kemikaalit voivat aiheuttaa haitallisia vaikutuksia käyttäjien terveydelle, etenkin pitkäaikaisessa käytössä.

Sääntely ja Tutkimus:

Denssit ja nikotiinipussit ovat suhteellisen uusia tuotteita markkinoilla, ja niiden sääntely ja tutkimus ovat vasta alkuvaiheessa. Monet maat ovat alkaneet säätää tiukempia lakeja ja määräyksiä nikotiinituotteiden markkinoinnista ja myynnistä, ja tiukennettu sääntely voi vaikuttaa denssien saatavuuteen ja käyttöön tulevaisuudessa. Lisätutkimus denssien ja nikotiinipussien terveysvaikutuksista on myös tarpeen, jotta voidaan ymmärtää paremmin niiden pitkäaikaisia vaikutuksia käyttäjien terveyteen.

Johtopäätös:

Denssit ja nikotiinipussit tarjoavat houkuttelevan vaihtoehdon tupakoinnin vähentämiseksi tai lopettamiseksi, mutta niiden käyttöön liittyy edelleen paljon keskustelua ja huolia terveysriskeistä.
Custom Ordering in Django: Prioritize Your Data
Tags: django, python, coding, backend
Published: 2024-05-14 18:10:12

While Developing an application, there's often a need to prioritize items based on specific criteria. Sometimes, these criteria don't follow a natural alphabetical or numerical order. For Example, ticket statuses like "New," "Open," "Pending," "Resolved," "Closed," and "Reopened" need to be ordered in a way that reflects their priority rather than their alphabetical sequence. In such cases, priority-based ordering becomes essential. This blog will guide you through the process of implementing priority-based ordering in Django, using custom criteria to ensure your items are sorted in the most meaningful way for your application.

**Creating the Model for Ticket**
First, let's define a model for tickets with status choices.
```
# Creating Model for Ticket
STATUS_CHOICES = [
    ('New', 'New'),
    ('Open', 'Open'),
    ('Pending', 'Pending'),
    ('Resolved', 'Resolved'),
    ('Closed', 'Closed'),
    ('Reopened', 'Reopened'),
]

class Ticket(models.Model
    title = models.CharField(max_length=200)
    description = models.TextField()
    status = models.CharField(
        max_length=10,
        choices=STATUS_CHOICES,
        default=NEW,
    )

    def __str__(self):
        return self.title
```
**Annotating and Ordering the Queryset**
To prioritize the ticket statuses, we will use Django's Case and When expressions to annotate the queryset with a custom ordering field. We can then order the queryset based on this custom field.
```
from django.db.models import Case, When, IntegerField
from app.models import Ticket

# Annotate and order the queryset
tickets = Ticket.objects.annotate(
    ordering = Case(
        When(status='New', then=0),
        When(status='Reopened', then=1),
        When(status='Open', then=2),
        When(status='Pending', then=3),
        When(status='Resolved', then=4),
        When(status='Closed', then=5)
        output_field=IntegerField(),
    )
).order_by('ordering')

```
In this code, the Case expression is used to assign a numerical value to each status, allowing us to order the tickets according to our custom priority.

Implementing priority-based ordering in Django is straightforward with the use of Case and When expressions. By annotating the queryset with a custom ordering field, you can ensure that your items are sorted according to specific criteria that reflect their importance or priority within your application. 
With this approach, you can maintain a logical and meaningful order in your application, improving the usability and effectiveness of your application.
A passionate plea to build side projects in service to your community.
Tags: beginners, codenewbie, showdev
Published: 2024-05-14 18:22:45

I would like to encourage software developers to use their skills to create solutions for challenges within their communities. Your community starts with those you can directly touch and influence. Being in service to them means looking beyond ourselves and bringing value to others.

One example that resonates deeply with me is the app I created called "Keeping Up." This app allows multiple individuals to come together and contribute to the care of a loved one, particularly our elderly. Taking care of our elders is not only a privilege but also a means to stay connected with our roots and our values.

Recognizing the challenges faced by individuals balancing the care of elderly relatives with their own families, "Keeping Up" addresses the need for a support system to prevent burnout. It truly does take a village to provide the necessary care, love, and attention for the well-being of a loved one. As software developers, we must ask ourselves how we can serve others with the talents we possess.

"Keeping Up" was designed with key features in mind, such as 

📱 A mobile-first UI/UX 
🗓️ Listing upcoming appointments 
💊 Listing medications
👵🏾 Unique tasks specific to each loved one 

The impact of this app is that everyone involved in the care of a loved one can easily coordinate and support one another. The primary caregiver can also share precious memories and experiences through journal entries, creating a sense of unity and support within the caregiving community. 

Once again, we have the incredible opportunity to truly impact our community with our skills and dedication through building applications. Let's seize this chance to make a difference and create something that will positively impact those around us.

You can check out this full stack side project at: https://elder-two.vercel.app/
Momentum Logistics, to move your business where it needs to go
Published: 2024-05-14 18:10:41

[Momentum Logistics](https://momentumlogistics.com.au/) specialises in providing comprehensive transportation and logistics solutions, tailored to meet the needs of both businesses and individuals. From shipping containers to warehousing and distribution, Momentum Logistics ensures efficient and reliable movement of goods.

We are dedicated to customer satisfaction and professionalism, understanding the crucial importance of timely deliveries. Our goal is to ensure goods reach their destinations on schedule, whether they are being transported locally or internationally. With our expertise and resources, Momentum Logistics can handle a wide range of transportation requirements.

A standout feature of Momentum Logistics is our commitment to sustainability. We acknowledge the environmental impact of transportation and logistics and are committed to implementing eco-friendly practices. From optimising routes to reducing emissions, we strive to minimise our carbon footprint and promote sustainability within the logistics industry.

Momentum Logistics also offers a diverse array of services. Beyond transportation, we provide warehousing and distribution solutions to assist clients in managing their inventory and streamlining their supply chains. Whether it’s temporary storage or distributing goods to various locations, Momentum Logistics delivers flexible and reliable solutions to meet the unique needs of each client.

Overall, Momentum Logistics is a trusted partner for those seeking efficient and dependable transportation and logistics services. With a focus on customer satisfaction, professionalism, and sustainability, we continue to lead the industry, helping clients navigate the complexities of local and global trade and logistics.
How to Easily Implement easily RAG (Retrieval Augmented Generation) with Bedrock!
Tags: cloudcomputing, ai, aws, python
Published: 2024-05-14 17:53:58

🚀 Here’s how to securely provide your own custom data to Large Language AI models in Amazon Bedrock, using a Bedrock Knowledge Base. 

This is an example of how you can easily implement RAG (Retrieval Augmented Generation) with Bedrock! 

It works with lots of different document formats, including CSVs, Microsoft Word, plain text, PDFs, and more! 

See [here](https://dev.to/faye_ellis/using-a-knowledge-base-to-connect-amazon-bedrock-to-your-custom-data-2gd9) for full details of how to do this!
How to manage developers
Published: 2024-05-14 17:47:06

Hey you!

> Me?

Yeah, we need you down here.

> Why?

We need to see how fast you can walk.

> Uh, ok. Let me come down.

Thanks. Can you please walk from here to that cone.

> Sure thing.

Alright, you can walk about 3 miles per hour.

> Why did you need to know that?

I need to tell the board how long it will take you to get to Chicago.

> But why are you measuring me walking?

Well, running will wear you out.

> But, I am a goose, why aren't you measuring how fast I can fly?

We don't know how to measure flight. Now, get walking. we will see you in Chicago.
Common Mistakes to Avoid
Published: 2024-05-14 17:44:32


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cv1lf4s86ixiicpjdjfo.png)


In the pursuit of success in Slot Gacor, many players fall victim to common pitfalls. Avoid chasing losses by sticking to your predetermined budget and resisting the temptation to bet beyond your means. Furthermore, don't overlook the potential benefits of bonus features, as they can significantly boost your winnings. Lastly, approach each session with a well-thought-out strategy, rather than relying solely on luck.

Benefits of Playing [Slot Gacor](bistrolenchanteur.com)
Beyond the thrill of spinning the reels, slot gacor offers a myriad of benefits to players. From its entertainment value to the potential for substantial wins, these games provide a captivating and rewarding experience. Moreover, Slot Gacor can serve as a social activity, allowing players to connect with friends and fellow enthusiasts in online communities.

Regulation and Legality
As with any form of gambling, it's crucial to consider the regulatory landscape surrounding Slot Gacor. While the legal status may vary depending on your location, it's essential to prioritize responsible gambling practices. Many jurisdictions have implemented measures to safeguard players, including age verification requirements and support for problem gambling initiatives.

Conclusion
In conclusion, Slot Gacor offers a thrilling and immersive experience for players seeking excitement and potential rewards. By understanding its mechanics, employing effective strategies, and embracing responsible play, you can enhance your enjoyment and increase your chances of success. So why wait? Dive into the world of Slot Gacor and discover the excitement that awaits!

Unique FAQs
What distinguishes Slot Gacor from other online slot games?
Slot Gacor is known for its high performance and frequent payouts, setting it apart from traditional slot games.

Are there any risks associated with playing Slot Gacor?
Like any form of gambling, playing Slot Gacor carries inherent risks, including the potential for financial loss. It's essential to approach the game responsibly and set limits on your play.

Can I play Slot Gacor on my mobile device?
Yes, many online casinos offer mobile-compatible versions of Slot Gacor, allowing you to enjoy the game on the go.