teleren/devto huggingface dataset:
How to Enable Password Authentication in AWS ec2 Instances
Published: 2023-06-08 04:54:25

**The configuration to enable password authentication in AWS instance:-**

1. Log in to the server using ssh client of your choice using 
   the private key.
    ```bash
    ssh -i your-key.pem username@ip_address
    ```
2. Set up a password for the user using passwd command along 
   with the username.
    ```bash
    sudo passwd ec2-user # If machine is Amazon Linux
    sudo passwd ubuntu # If machine is Ubuntu
    ```
3. Open the sshd_config file.
    ```bash 
    sudo vi /etc/ssh/sshd_config
    ```
4. Find the Line containing "PasswordAuthentication" parameter   
   and change its value from "no" to "yes" 
   **PasswordAuthentication yes**
   If you want to set up "root" login, find "PermitRootLogin" 
   parameter and change its value from **prohibit-password** 
   to "yes".
5. Now, restart the "sshd" service using the following 
   command.
    ```bash
    sudo service sshd restart
    ```
6. Now you can log out and log in using the password you set 
   for the user.
    ```bash
    ssh ec2-user@ip_address
    # ssh ubuntu@15.1.25.40
    ```

Note: Although password will be encrypted while communicating with server but it is not recommended to enable the password authentication to connect with EC2 machines using ssh. Easy and common password can be guessed easily using brute force by some malicious user.
Digital Marketing Online Training
Published: 2023-06-08 04:24:24

Intellimindz provides a online training for digital marketing. [**digital marketing Online training**](https://intellimindz.com/digital-marketing-online-training/) offers several advantages, including flexibility in terms of time and location, as participants can access the training materials and resources from anywhere with an internet connection. It also allows individuals to learn at their own pace and often provides interactive elements like quizzes, assignments, and discussion forums to enhance the learning experience. hands-on training will be provide by our experts. Hit the link to know more about the course!!!
****
How to Create Contact Form using HTML and CSS
Published: 2023-06-08 04:17:42

Today we are going to create a contact form using Html and Css but first, let me introduce what exactly a contact form is.
A **[Contact For](https://www.codewithrandom.com/2023/01/01/how-to-create-contact-form-using-html-and-css-contact-form-code-codewithrandom/)**m is a short web-based form published on a website. Any visitor can fill out the form and submit it to send a message to the site owner.
Publishing a contact form makes it easy for new customers to get in touch.

## HTML Code For Contact Form
```   
<!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>Document</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="main">
<h2>Contact Us</h2>
<form enctype="multipart/form-data" method="POST">
<input
type="text"
size="33"
placeholder="Enter Your Name"
id="firstname"
autofocus
/>
<input
type="email"
id="eid"
placeholder="Enter Your Email"
size="33"
/>
<div id="numb">
<select name="telcode" width="5">
<option selected>+91</option>
<option>+61</option>
<option>+54</option>
<option>+32</option>
<option>+33</option>
</select>
<input
type="tel"
size="25"
placeholder="Contact Number"
id="mobno"
maxlength="10"
/>
</div>
<textarea cols="20" rows="6" id="msg" name="msag" placeholder="Enter a Message"> </textarea>
<input id="submit" type="submit" value="Send Message" />
</form>
</div>
</body>
</html>
```
This is the basic structure of our Contact form but this is not looking good as you see, so let's style it using css.

## CSS Code For Contact Form
```
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "gilroy";
}
html,
body {
height: 100%;
width: 100%;
background-image: url("https://images.unsplash.com/photo-1619190223471-53ac698b13c6?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8MTY0fHxibHVlJTIwYWVzdGhldGljfGVufDB8fDB8fA%3D%3D&auto=format&fit=crop&w=500&q=60");
background-position: center;
background-size: cover;
}
#main {
height: 500px;
width: 500px;
background-color: rgba(100, 148, 237, 0.103);
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 2%;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.815);
}
h2 {
color: white;
text-shadow: 0px 2px 4px black;
font-weight: bold;
letter-spacing: 4px;
}
#msg {
width: 250px;
margin-left: 5%;
margin-top: 3%;
background: transparent;
}
#submit {
padding: 8px 15px;
background-color: #0a64ce;
color: white;
margin: 3% 25%;
}
select option,selected{
color: black;
font-size: 30px;
}
input,
select {
Padding: 20px;
margin-top: 3%;
margin-left: 5%;
height: 35px;
background: transparent;
color: #ffff;
}
input#mobno {
margin-left: 2%;
}
::placeholder {
color: #ffff;
font-size: 20px;
}
```
written by @cannycoder_7

Thanks For Reading!
What front-end have you used when using C# as your back-end?
Tags: discuss, frontend, webdev
Published: 2023-06-08 03:53:17

---
title: What front-end have you used when using C# as your back-end?
published: true
tags: discuss
---
I have used Angular and React as my front ends professionally and for side projects. I am wondering if anyone has used anything else and what your experience has been.
How to Configure Magento 2 Payment Failed Email
Tags: magento, magento2, magento2tutorial
Published: 2023-06-08 03:47:21

Ensuring a smooth checkout process for your customers is vital when managing an online store. However, there may be instances where customers face difficulties during the payment process. As a store owner, it is crucial to stay informed about these issues and take appropriate measures to address them. Fortunately, Magento offers various built-in features, such as the payment failed email notification system, to assist you in this aspect. This article will provide a comprehensive guide on **_How to Configure Magento 2 Payment Failed Email_** and explain its significance for the success of your online store.

When a customer places an order on Magento 2, you will receive a notification informing you of the successful order placement. Additionally, if a customer encounters any challenges while completing the transaction, it is important for you to be aware of them. This knowledge will enable you to resolve any issues on your side and take necessary actions accordingly. Thankfully, Magento is equipped with numerous built-in features that can provide assistance in such situations.

For more information , please visit this :- **_[https://webguru.dev/how-to-configure-magento-2-payment-failed-email/](https://webguru.dev/how-to-configure-magento-2-payment-failed-email/)_**
100 Days Coding Challenge - Day 19: System information with PHP, JS, MySQL and CSS/HTML
Tags: webdev, javascript, php, 100daysofcode
Published: 2023-06-08 03:45:44

## Day 19

I was working in the project that I mentioned on the previous posts, now I understand better the structure of the project and how to do it, and I don't have much done, but little by little I will make it :D

If you wanna see the project, visit my GitHub
 
https://github.com/AlexMGP7/web-funeraria

Probably tomorrow I will continue freecodecamp :P
binary tree
Published: 2023-06-08 03:02:20

` #include <iostream>
#include <queue>
using namespace std;
class Node{
  public:
    int data;
    Node* left;
Node* right;

Node(int data){
  this->data = data;
  this->left = NULL;
  this->right = NULL;
  
}
};


Node* buildtree(Node* root){
  cout<<"plz enter the data"<<endl;
  int data;
  cin>>data;
  root = new Node(data);

  if(data == -1){
    return NULL;
  }
  cout<<"Enter data for inserting into left"<<endl;
  root ->left = buildtree(root->left);
    cout<<"Enter data for inserting into right"<<endl;
  root ->right = buildtree(root->right);

  return root;
  
}

void Levelordertraversal(Node* root){
  queue<Node*> q;
  q.push(root);


   
  while(!q.empty()){
    Node* temp = q.front();
    cout<< temp->data<<" ";
    q.pop();

    
      if(temp->left){
      q.push(temp->left);
      
    }
    if(temp ->right){
      q.push(temp ->right);
    }
    



    

  }
}

void inorder(Node* root){
  //lnr
  if(root == NULL){
    return;
  }

  inorder(root->left);
  cout<<root->data<< " ";
  inorder(root->right);
  
}
void preorder(Node* root){
  //lnr
  if(root == NULL){
    return;
  }
  cout<<root->data<< " ";
  preorder(root->left);

  preorder(root->right);
  
}
void postorder(Node* root){
  if(root == NULL){
    return;
  }

  postorder(root->left);
  postorder(root->right);
  cout<<root->data<< " ";
}

int main() {
  Node* root = NULL;
  root = buildtree(root);
//1 3 7 -1 -1 11 -1 -1 5 17 -1 -1 -1
  cout<< "inorder traversal :" ;
  postorder(root);
  return 0;
}`
linked list;
Published: 2023-06-08 03:01:51

```
class Node {
    public:
    int data;
    Node* next;
    
    Node(int data){
        this ->data = data;
        this -> next = NULL;
    }
};

void InsertAtHead(Node* &head, int d){
    //new node create
    Node* temp = new Node (d);
    temp -> next = head;
    head = temp;
}
void InsertAtTail(Node* &tail, int d){
    Node*temp = new Node (d);
    tail ->next = temp;
    tail = temp;
    
}

void print(Node* &head){
    Node* temp = head;
    while(temp != NULL){
        cout <<temp ->data;
        temp = temp ->next;
        }
}


int main() {
    cout << "Hello world!";
    Node* node1 = new Node(10);
    cout<< node1 ->data << endl;
    cout << node1 -> next <<endl;
    return 0;
}
```
TOP 6 AI Video Upscaling Online Tools in 2023
Published: 2023-06-08 02:58:24

Smart devices (TVs, phones, etc.) can upscale video quality according to display resolution. However, is it okay to watch SD or HD videos on a 4K resolution TV? Absolutely not. Instead, you can use video enhancers to improve your archived videos professionally. This method benefits the old footage or cinematic frames. And if you want to generate automatic results, AI video upscaling tools are available online. But what is video upscaling?

[HitPaw Online AI Video Enhancer](https://online.hitpaw.com/online-video-enhancer.html)

If you are looking for an intuitive online video enhancer, look no further than itPaw Online AI Video Enhancer. This cutting-edged AI video enahncer offers you a smooth experience in enhancing and upscaling your video up to 1080P/4K/8K with just a few simple clicks.

<u>Cutout.Pro</u>
Cutout.Pro is a great AI video enhancer that improves video resolution from low to as much as 4K. Supporting multiple formats, it lets you upscale any video with WebM, MP4, GIF, and MOV formats. You can upload up to 2GB file size for processing.

<u>Neural.love</u>
Besides audio and image enhancement tools, Neural.love also offers an AI video upscaling online tool. So you can increase your video resolution to 720p, 2k, and 4k at 60fps. Slow-motion videos can also be created by reducing the playback speed to half.

<u>Flixier</u>
If your video seems blurry, an AI video upscaling online tool can help, like Flixier. It assists you in enhancing the video resolution along with adding transitions and effects. You can import videos from any platform like Cloud, Dropbox, Twitch, Zoom, etc..

<u>Aimages</u>
Aimages is a fantastic AI image and video enhancer that upscales your videos online using advanced AI technology. Its AI Upscale filters will not leave your video with any artifact after processing. With its GPU-accelerated technology, you can perform the task of changing the resolution to 4K at a quick rate.

<u>Kokoon</u>
Are you looking for a completely free AI upscaling video tool online? If yes, Kokoon proves to be a perfect choice. It works over its AI super-resolution algorithm, offering the best video quality without compromising the details. Even you can select any of the two resolution modes, i.e., Remastering and Super Resolution.

To conclude, video resolution is a must for the best-watching experience. Using the recommended AI video upscaling tools online, you can quickly upscale your video to 1080p, 4K, or 8K. You are allowed to pick the one that suits you best. In this case, we recommend you HitPaw Online AI Video Enhancer. Click now to experience the best online video enhancer in 2023!
Setting up Next.js 13 with Vitest
Tags: test, nextjs, vitest, javascript
Published: 2023-06-08 02:57:13

In this tutorial, we will demonstrate how to set up a Next.js 13 application with Vitest.

## Prerequisites
Before getting started, make sure you have the following installed on your machine:

- Node.js
- npm

## Step 1: Creating a Next.js application

First, let's create a new Next.js application using the create-next-app command. Open your terminal and run the following command:

```
npx create-next-app my-app --yes
```

This command will create a new Next.js application in the my-app directory. When prompted, choose No for TypeScript and No for the experimental app/ directory. Next, navigate to the project directory:

```
cd my-app
```

## Setting up Vitest

Now, we need to install Vitest as a dev dependency for our Next.js application. Run the following command:

```
npm install --save-dev vitest
```

Once the installation is complete, open the package.json file in your project and add a new script called "test" under the "scripts" section:

```
"scripts": {
  "dev": "next dev",
  "build": "next build",
  "start": "next start",
  "lint": "next lint",
  "test": "vitest"
}
```

We have now configured the test script to run Vitest for our application.

Next, create a configuration file called `vitest.config.js` in the root directory of your project and paste the following code into it:

```
import { defineConfig } from "vitest/config";

export default defineConfig({
  test: {},
});
```

## Step 3: Test the setup

To test if everything is set up correctly, create a new file named index.test.js in the root directory of your project and paste the following code into it:

```
import { describe, expect, test } from "vitest";

const add = (a, b) => {
  return a + b;
};

describe("test add function", () => {
  test("should return the sum of two numbers", () => {
    const result = add(2, 3);
    expect(result).toBe(5);
  });

  test("should return zero when adding zero to a number", () => {
    const result = add(10, 0);
    expect(result).toBe(10);
  });

  test("should return a negative number when adding a negative and a positive number", () => {
    const result = add(-5, 8);
    expect(result).toBe(3);
  });
});
```

To run the tests, open your terminal and run the following command:

```
npm run test
```

You should see the test results displayed in your terminal:

```
✓ index.test.js (3)

 Test Files  1 passed (1)
      Tests  3 passed (3)
   Start at  10:43:04
   Duration  414ms (transform 29ms, setup 0ms, collect 18ms, tests 6ms, environment 0ms, prepare 91ms)
```
7 differences you must know to design simple systems
Tags: programming, devjournal, systems, software
Published: 2023-06-08 01:31:00

If you think Simple and Easy are the same thing. You are wrong. 

Here are the seven differences you must know to design simple systems:


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

1. Simple is often used to describe a design that is easy to understand, while easy is used to describe a design that is effortless to implement.

2. Simple refers to a lack of unnecessary complexity, while easy refers to a lack of effort required to complete a task.

3. Simple is an attribute of the solution, while easy is an attribute of the experience.

4. Simple is often achieved through careful design, while easy is often achieved through conventions and defaults.

5. Simple allows for flexibility and adaptability, while easy creates a dependency on conventions and defaults.

6. Simple is often associated with minimalism, while easy is associated with convenience.

7. Simple is often a trade-off for ease of use, while easy is often a trade-off for flexibility and adaptability.



Thanks for reading this.

If you have an idea and want to build your product around it, schedule a call with [me](https://calendly.com/pragyanatvade).

If you want to learn more about DevOps and Backend space, [follow me](https://dev.to/pragyanatvade).

If you want to connect, reach out to me on [Twitter](https://twitter.com/pragyanatvade) and [LinkedIn](https://www.linkedin.com/in/pragyanatvade/).
🏖️ Noumea's beach water quality data as git revisions, in DuckDb 🦆
Tags: python, datascience, opendata, tutorial
Published: 2023-06-08 01:30:32

## 🏝️ About

Ever wanted to get your favorite beach's water quality like this : 

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

With this article you'll learn how I could:

1. **Get** (scrap) the data
2. **Load** data into a database
3. **Backup & export** (`csv` & [`Apache parquet`](https://parquet.apache.org/))
4. **Commit** data to GitHub
5. **Query from any terminal** from `duckdb`

## 🧫 About water quality

{% embed https://la1ere.francetvinfo.fr/nouvellecaledonie/province-sud/noumea/comment-sont-surveillees-les-eaux-de-baignade-a-noumea-1359918.html %}

## 🍿 Demo

{% youtube M9JAPYhNCVs %}

## 🔖 Source code

{% embed https://github.com/adriens/odata-eaux-baignade-noumea %}
My quantum leap: blogging while learning
Tags: quantumcomputing, learning, programming, physics
Published: 2023-06-08 01:29:20

Hey there! So I've got some news to share. Hitting my mid-twenties I decided that it's time to take the plunge into programming, and not just any programming - but quantum computing. This is kind of crazy but with a bit of physics background I decided it's a good a time as any to start learning about the world of quantum! As I dive headfirst into all things quantum, I've decided to write about it right here on this blog. 

Think of this blog as my personal diary, where I scribble down all my quantum adventures. It's a reminder of how far I've come and how far I've yet to go. Blogging while learning has some serious perks:

1. **Making Stuff Stick**: When I write about something, I've got to really get it. It's one thing to read about spooky quantum stuff, and another to put it in my own words!

2. **Thinking Cap On**: Blogging is my thinking cap. It helps me ponder, figure out what's working and what's not, and tweak my learning game.

3. **Chit-chat**: My blog's a great place to meet and chat with other quantum buffs. I'm hoping to learn from their stories and maybe even make some friends along the way.

4. **Show and Tell**: Over time, this blog could be my show and tell, a way to show off my quantum chops. It's proof that I can hang tough in the quantum world.

5. **Sharing is Caring**: I'm a big fan of the saying, "When you teach something, you learn it twice." By sharing my quantum escapades, I hope to help other quantum newbies feel a little less lost.

6. **Standing Out**: Blogging's a neat way to stand out in a crowd. It's my chance to put my own spin on things and make my mark.

So, there you have it. This blog is my promise to myself to dive deep into quantum computing and come out the other side. I've got my keyboard, I've got my curiosity, and I'm all in.

Care to join me? Let's make quantum computing less of a mystery together. Bring on the qubits!
Devs, Assemble! Here's Why You Don't Need to Hate SEO Anymore 🚀
Tags: contentwriting, seo, founder, productivity
Published: 2023-06-08 01:27:31

![Spiderman Pointing at Spiderman](https://i.imgflip.com/1tkjq9.jpg)

Hey there, fellow devs! If you're anything like me, the mere mention of "SEO" or "content marketing" probably leaves a bad taste in your mouth. 😝 But what if I told you there's now an AI-driven solution that can handle all that SEO mumbo jumbo for us? Introducing **SeoBOT** - an AI so powerful it might just make Thanos snap twice!

## Seo-What Now?

![Confused Math Lady Meme](https://i.imgflip.com/1j9mml.jpg)

As developers, we love building amazing stuff but let's be real – most of us would rather eat a bag of nails than sit through another boring SEO meeting (*amirite*?).

Enter **SeoBOT**, the self-driving AI SEO agent designed specifically for busy makers like ourselves who loathe spending countless hours on content optimization and keyword research.

## The Infinity Stones...Errr..Key Features of SeoBOT 🔑

### 1. Keyword Analysis: Google-Fu Master

![Kung Fu Panda GIF](https://media.giphy.com/media/Rr6J53cRIwdBS/giphy.gif)

Forget manual keyword research – our new overlord SeoBOT has got our backs! It analyzes keywords from Google and targets the most relevant ones with pinpoint accuracy. Say hello to organic traffic growth without breaking a sweat.

### 2. Content Optimization & Creation: Goodbye Writers' Block ✍️ 

![Typewriter Monkey Meme](https://i.imgflip.com/gh162.jpg)

With SeoBOT, we don't need to spend sleepless nights staring at a blank screen. It optimizes existing articles and even creates *brand new* content that ranks highly in search results. Who needs copywriters when you've got the power of AI?

### 3. Automated Traffic Growth: SEO Avengers Assemble 📈

![Captain America Elevator GIF](https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExY2Q5MWQ4YWUyZDRmZmY1NzllNjUxYTIzNzUxMmU1MGMwZTAzMzIxNSZlcD12MV9pbnRlcm5hbF9naWZzX2dpZklkJmN0PWc/txCo7WXCwZpmM/giphy-downsized-large.gif)

Let's face it – devs are busy people! With SeoBOT taking care of driving organic traffic from Google, we can finally focus on what truly matters: building awesome projects!

## So Long, Hated SEO Meetings! 👋

![Saying Goodbye Meme](https://i.imgflip.com/6ag33.jpg)

So there you have it – **SeoBOT** is here to save us all from the dreaded world of SEO and content marketing.

Give yourself a pat on the back for making it through this article without falling asleep (a true miracle!), and let's raise our glasses to a future where developers no longer need to fear SEO meetings.

_Cheers! 🍻_

P.S.: No marketing BS was harmed in the making of this article 😉

[The link to SeoBot](https://seobotai.com)

P.S. I've built the landing page using [Unicorn Platform](https://unicornplatform.com/), took me just 5min!
Secrets to Boost your Software Development Career
Tags: webdev, softwareengineering, developer, javascript
Published: 2023-06-08 01:25:37

🔥 Revealing the Secrets to Supercharge Your Software Development Career! 💻🚀


Are you a passionate software developer looking to skyrocket your career to new heights? 🚀✨ Look no further! I've compiled the ultimate list of insider tips and tricks to help you thrive in the ever-evolving world of software development. 😎🌟

🔹 Discover the must-have programming languages and frameworks that will make you an invaluable asset to any team.

🔹 Unleash your creativity with innovative software development methodologies and best practices that set you apart from the competition.

🔹 Stay ahead of the curve by exploring cutting-edge technologies and tools that can supercharge your productivity and efficiency.

🔹 Master the art of problem-solving and debugging, turning challenges into opportunities for growth.

🔹 Learn how to effectively collaborate and communicate with stakeholders, ensuring smooth project execution and client satisfaction.

But wait, there's more! 🎉📚

💡 I've also curated a handpicked collection of comprehensive online resources and courses tailored specifically for software developers like you. Whether you're a beginner or a seasoned pro, these gems will further sharpen your skills and propel your career forward.

🔥 Don't miss out on this golden opportunity to level up your software development journey! 🌟🚀

Join the discussion and let's unlock the secrets together. 👉🔗

https://visitdominicazuka.com/blog

#SoftwareDevelopment #CareerGrowth #TipsAndTricks #MustRead #UnlockYourPotential