teleren/devto huggingface dataset:
Create modern readme in Github
Tags: github, tutorial, git, webdev
Published: 2022-12-19 17:31:51



## To create a modern GitHub profile README, you can follow these steps:



1. Sign in to your GitHub account and navigate to your profile page.

2. Click the "Edit" button on your profile page.

3. In the "Repositories" section of your profile, click the "Add" button next to "Repositories you contribute to."

4. In the "Name" field, enter **`username.github.io`**, replacing username with your GitHub username.

5. In the "Description" field, you can enter a brief description of your profile.

6. Under "Add a license," select the "MIT License" option.

7. Click the "Create repository" button.

8. Your new repository will be created and you can use it to create your modern GitHub profile README. 

---

## To do this:

1. In the repository, create a new file called **`README.md`**.

2. Use Markdown syntax to add content to your README file. You can include text, links, images, and more.

3. Preview your README file to see how it will look on your profile page.

4. When you're satisfied with your README file, commit your changes and push them to the repository.

Your modern GitHub profile README will now be displayed on your profile page. You can customize the appearance and content of your profile by adding and modifying files in your repository. For example, you can include a link to your website, a list of your projects, or your social media profiles. 

---


## Two of my favorite github Readme generator:👇🏼

[ProfileMe.dev](https://www.profileme.dev/)
Just click create profile and start customizing your readme right away

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

[GPRM](https://gprm.itsvg.in/)
Just put your github username and click right arrow and start customizing your readme
 
![gprm-img](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/haq3d3snzsdliozfzdbc.png) 

---

Thanks for Reading🙏

I hope this helps! Let me know if you have any other questions related to it.
Day #15: My best and simplest AI startup ideas to start in 2023
Tags: ai, chatgpt, startup, entrepreneurship
Published: 2022-12-19 17:31:17

Everyone is talking about ChatGPT, AI online products, images generated by AI, etc… As I explained in this article, one of the ways for a solopreneur to succeed is to develop a product in a trending industry.

I really believe the next big ideas for 2023 will be based on AI. We finished 2022 getting really surprising AI progress through the conversational capabilities of ChatGPT and the realistic draws of Lensa app. But I think that it’s just the beginning, for 2023 we will see how AI will really solve problems in the routines of humans but mostly, how AI will be applied to small and large businesses in their daily routines.

So, it’s a great opportunity for a solopreneur to develop some easy but useful products using AI. Here is my list of the 3 tools I will develop for 2023 using AI:

https://medium.com/@journeypreneur/day-15-my-best-and-simplest-ai-startup-ideas-to-start-in-2023-b29daab3ec95
To set up a Node.js server with an Express web framework and a PostgreSQL database using Sequelize, you can follow these steps:
Tags: node, postgres
Published: 2022-12-19 17:29:05

1.First, make sure you have Node.js and PostgreSQL installed on your system. If you don't have them already, you can download and install them from their respective websites.

2.Create a new Node.js project by running the following command in your terminal:

```
npm init -y

```
3. Install the required dependencies by running the following command:

```
npm install express sequelize pg

```
4. Create a new file called server.js and add the following code to it:

```
const express = require('express');
const Sequelize = require('sequelize');

const app = express();

// Connect to the database
const sequelize = new Sequelize('database_name', 'username', 'password', {
  host: 'localhost',
  dialect: 'postgres'
});

// Test the connection to the database
sequelize
  .authenticate()
  .then(() => {
    console.log('Connection to the database has been established successfully.');
  })
  .catch(err => {
    console.error('Unable to connect to the database:', err);
  });

// Define your model(s)
const User = sequelize.define('user', {
  firstName: {
    type: Sequelize.STRING
  },
  lastName: {
    type: Sequelize.STRING
  }
});

// Create a table for the model(s)
sequelize.sync()
  .then(() => {
    console.log('Tables created successfully');
  })
  .catch(err => {
    console.error('Error creating tables:', err);
  });

// Start the server
app.listen(3000, () => {
  console.log('Server listening on port 3000');
});

```
5. Replace database_name, username, and password with the appropriate values for your PostgreSQL database.

6. Run the server by executing the following command:

```
node server.js

```
7. Your server should now be up and running, and you should be able to interact with the database using Sequelize. You can use the User model to create, read, update, and delete records in the users table.
For example, you can add the following code to your server file to create a new user in the users table:

```
app.post('/users', (req, res) => {
  User.create({
    firstName: 'John',
    lastName: 'Doe'
  })
    .then(user => {
      res.send(user);
    })
    .catch(err => {
      res.status(500).send(err);
    });
});

```
So for testing of your endpoints, you can make use of tool such postman for. I hope this helps.
3D Plank
Tags: codepen, css, html
Published: 2022-12-19 17:02:53

<p>The 3D Plank was made by Amiru Weerathunga. My original design was a box, but I decided to turn it into a plank after I made it. </p>

{% codepen https://codepen.io/Amiru-Weerathunga/pen/XWBWrBE %}
Error with Submitting the form
Published: 2022-12-19 16:51:45

I'm having issues with my code and was hoping someone could help me out. I'm trying to [How Should Work Boots Fit](https://www.workbootsweb.com/how-should-work-boots-fit/) create a simple login form for my website about [teaching laptops](https://www.mytechpulse.com/best-laptops-for-teachers/) and [facial treatment benefits](https://dailymakeuptip.com/facial-treatment-benefits/) using PHP and MySQL, but I keep getting an error when I try to submit the form. Here is the [Zee5 mod apk](https://apkarte.com/zee5-mod-apk/) and [geo tv](https://dramasonline.us/tag/geo-tv/) error message I'm receiving:

'Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in /var/www/html/login.php on line 10'.

Here is the code, I'm using:

```
<?php

// Connect to the MySQL database
$db = mysql_connect('localhost', 'root', 'password');
if (!$db) {
    die('Could not connect: ' . mysql_error());
}

// Select the database
mysql_select_db('users', $db);

// Check if the form has been submitted
if (isset($_POST['submit'])) {
    // Escape the user input to prevent SQL injection attacks
    $username = mysql_real_escape_string($_POST['username']);
    $password = mysql_real_escape_string($_POST['password']);
    
    // Query the database to check if the user exists
    $query = "SELECT * FROM users WHERE username='$username' AND password='$password'";
    $result = mysql_query($query);
    
    // If a result is returned, the user is logged in
    if (mysql_num_rows($result) == 1) {
        // Start a session and redirect to the dashboard
        session_start();
        $_SESSION['username'] = $username;
        header('Location: dashboard.php');
    } else {
        // If the user doesn't exist, display an error message
        echo "Invalid username or password.";
    }
}

?>

```

I've tried a few different things to fix this issue, but nothing seems to be working. I've checked to make sure that my MySQL username and password are correct, and I've also tried connecting to the database using mysql_connect() with and without the password parameter. I'm not sure what else to try.

Does anyone have any ideas on how I can fix this issue? Any help would be greatly appreciated. Thank you!
Technology Choices
Tags: go, linux, programming
Published: 2022-12-19 16:51:22

---
title: Technology Choices
published: true
description: 
tags: golang, linux, programming
canonical_url: 'https://kevwe.com/weekly/202251'
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wunh6vl30snibvtc8b06.png
# Use a ratio of 100:42 for best results.
# published_at: 2022-12-15 17:41 +0000
---
Every choice has consequences, and technology is no exception.

To influence our future, it is good to have more choices or - arguably - better choices available.

The technology we choose has the power to influence the future, in terms of depending on some entity rather than some other; or even depending on someone else at all.

When you want a page to be beautiful and snappy, you have also to ponder whether depending on a CDN is a good thing. You have to ponder cautiously if depending on a full ecosystem of build tools and frameworks is actually something that will keep working years down the line or if it'll keep increasing costs for you.

Also, are you going to still be around for fixes when dependencies will break your application ?

Shiny packages might be a luxury you can't really afford, if you calculate the costs in the right way.

https://kevwe.com/weekly/202251
9 Most Common Types of Password Attacks and How to Stop Them
Tags: passwords, authntication, passwordattacks, phishing
Published: 2022-12-19 16:45:01

**Passwords are a common form of authentication and are used to grant access to online accounts, devices, and other resources. However, passwords are also a common target for attackers, who may use a variety of techniques to try to guess or capture them. This article explains different types of password attacks and password attack prevention.**


Passwords are vulnerable to attack because they are often the only barrier standing between an attacker (who uses various types of password attacks) and access to a person’s sensitive information or accounts. Because of this, attackers will often try to discover or guess a person’s password to gain access to their accounts and information.

**Passwords are vulnerable to attack for several reasons:**

  

- First, many people use weak, easily guessable passwords that can be easily cracked by an attacker. For example, a password that consists of a single dictionary word or personal information (such as a name or date of birth) can be easily guessed by an attacker using a dictionary attack or brute-force attack.

- Second, many people reuse the same password for multiple accounts, which makes it easy for an attacker to gain access to multiple accounts if they can crack just one password. This is particularly dangerous because many people use the same email address for all of their accounts, so once an attacker has access to one account, they may be able to use the “forgot password” feature to reset the password on other accounts.

- Third, passwords can be vulnerable to theft through various means, such as keyloggers, phishing attacks, and social engineering. These attacks can trick users into revealing their passwords, allowing the attacker to gain access to their accounts.

Password attacks are a common and highly effective way for attackers to gain unauthorized access to computer systems and networks. These attacks can take many forms, and they can range from simple to complex.

Top 9 Types of Password Attacks and How to Prevent Them
Below are the types of password attacks (in no particular order) that you should be aware of and tips on preventing those password attacks. The section later also talks about alternative ways to effectively prevent these password attacks by taking care of a single aspect.

1. Dictionary Attacks
2. Brute Force Attacks
3. Rainbow Table Attacks
4. Social Engineering Attacks
5. Password Spraying Attacks
6. Keylogger Attacks
7. Man-in-the-middle Attack
8. Credential Stuffing
9. Phishing

Read more about each password attack in detail and the way of their prevention in [our Blog.](https://mojoauth.com/blog/password-attacks/)
Luos is competing in the Trophées de l'embarqué
Tags: startup, community, opensource, luos
Published: 2022-12-19 16:34:25

Luos is nominated to compete in the “Trophées de l’embarqué” by  L'embarqué!
▶️ Read more about the competition [here] (https://www.lembarque.com/article/les-entreprises-et-projets-nommes-pour-les-trophees-de-lembarque-2022-sont-connus) 

Thank you to the team at **L'embarqué** for nominating us, we are looking forward to seeing the results!
shirates-core 2.0.0 released
Published: 2022-12-19 16:26:44

## Shirates (shirates-core)
Shirates is an integration testing framework that makes it easy and fun to write test code for mobile apps.
shirates-core is core library.

[shirates-core 2.0.0](https://github.com/ldi-github/shirates-core/releases)

Now you can set up devices with profile naming convention.
This is very easy and useful.

New Feature
- [Automatic device detection](https://github.com/ldi-github/shirates-core/blob/main/doc/markdown/basic/parameter/automatic_device_detection.md)
How To Get Your DevOps Certification In Record Time
Tags: devopscertification, devops, certification
Published: 2022-12-19 16:10:42

The average person takes about four months to study for and earn their DevOps certification. However, if you’re looking to get your certification in a shorter period of time, there are a few things you can do to speed up the process. 

In this article, we’ll give you our top tips on how to get your [DevOps certification](https://www.igmguru.com/cloud-computing/devops-certification-training/) in record time. We’ll cover everything from choosing the right certification to studying effectively. By the end, you’ll have all the tools you need to earn your certification in a fraction of the time it would normally take.

The demand for DevOps talent is skyrocketing. In fact, a recent survey found that 78% of organizations believe that DevOps improves business performance. DevOps is a set of practices that automates the processes between software development and IT operations.

If you’re looking to get ahead in your career, then you need to get certified in DevOps. But with so many different options available, it can be hard to know where to start.

In this blog post, we will give you a step-by-step guide on how to get your DevOps certification in record time. We will also share our top tips on how to make sure you pass your exam and land a job in DevOps.
The Benefits of DevOps Training: How To Stay Ahead of The Curve
Tags: trainingfordevops, devops, training
Published: 2022-12-19 16:01:53

The benefits of DevOps training are vast and far-reaching. DevOps is a set of software development practices that aim to shorten the software development life cycle and increase the speed of delivery. DevOps training can help you stay ahead of the curve in an ever-changing landscape. 

There are a number of benefits of [training for devops](https://www.igmguru.com/cloud-computing/devops-certification-training/), including increased collaboration between development and operations teams, shorter development cycles, increased productivity, and more. DevOps training can help you learn the tools and techniques you need to stay ahead of the curve in the world of software development.

The IT industry is constantly evolving, and it can be difficult to keep up with the latest trends. DevOps is one of the most popular trends in the industry right now, and it is only going to become more popular in the future. 

But what is DevOps? DevOps is a set of practices that emphasize the collaboration and communication between software developers and IT operations professionals. The goal of DevOps is to increase the speed and quality of software delivery. 

If you want to stay ahead of the curve, it is important to get training in DevOps. DevOps training can help you learn the skills you need to be successful in this fast-paced industry. In this article, we will discuss the benefits of DevOps training and how it can help you stay ahead of the curve.
How to implement TailwindCSS in your NextJS project ?
Published: 2022-12-19 16:00:36

In this short article, I will show you how to add TailwindCSS in your NextJS project easily. I hope you will find it very useful!

**First step**
Let's begin by creating a NextJS project:
`npx create-next-app tailwindcss-nextjs`

**Second step**
Now that the project is created, we need to add the Tailwind dependency in order to use it.
`npm install -D tailwindcss postcss autoprefixer`

**Finals steps**
Let's go to the last step which is to configure Tailwind to be used. To do this, let's create the configuration file for Tailwind :
`npx tailwindcss init -p`

Then check that the file contains :

```js
/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    "./pages/**/*.{js,ts,jsx,tsx}",
    "./components/**/*.{js,ts,jsx,tsx}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}
```
If not, add it yourself.

Once the command is executed, go to the file `./styles/globals.css` and replace with the following content:
```css
@tailwind base;
@tailwind components;
@tailwind utilities;
```

Now you just have to start the NextJS project and you're done!

Thanks for having the article, have a nice day!
New Pybrake Framework Packages Are Here
Tags: news, python
Published: 2022-12-19 16:00:32

With everyone talking about ChatGPT and the amazing things that AI is capable of, Python is having a moment (not that it wasn’t pretty popular before 😉). But that’s not the only reason why we’re hyped about Python. 

We’re happy to announce new [Airbrake Error Monitoring](https://www.airbrake.io/error-monitoring) support for the following Python frameworks: 

[Falcon](https://docs.airbrake.io/docs/platforms/framework/python/falcon/)

[Hug](https://docs.airbrake.io/docs/platforms/framework/python/hug/)

[Starlette](https://docs.airbrake.io/docs/platforms/framework/python/starlette/)

[Tornado](https://docs.airbrake.io/docs/platforms/framework/python/tornado/)

[Turbogears](https://docs.airbrake.io/docs/platforms/framework/python/turbogears/)

Now you can use Airbrake Error Monitoring right out of the box with the frameworks mentioned above. 

For additional information, check out our [Python docs page](https://docs.airbrake.io/docs/platforms/python/). There, you’ll find the full list of Python frameworks we do support along with installation instructions. 

Want to stay up to date with the latest Airbrake news? Take a moment and give us a follow on [Twitter](https://twitter.com/airbrake), [LinkedIn](https://www.linkedin.com/company/airbrake-io), and/or [Facebook](https://www.facebook.com/airbrake.io/). You can also join the [Airbrake Dev Community Discord](https://bit.ly/Airbrake-Discord)! Our discord community features Airbrake announcements, office hours, programming help, and more!
Guys! Do you think this is correct about “Code Refactoring”
Tags: codenewbie, refactorit, help
Published: 2022-12-19 15:57:07

How correct is this?

Code refactoring is the process of restructuring and optimizing existing code in order to improve its quality and maintainability. It involves making changes to the codebase that do not alter its functionality, but that makes it easier to understand, maintain, and modify.

Code refactoring is important because it helps to prevent technical debt and other issues that can arise when code becomes difficult to understand or maintain. By regularly refactoring code, developers can ensure that their projects remain scalable, reliable, and easy to work on.

Was this insightful? Let me know guys! Let me see those replies
Technical Skills
Tags: resume, hidedescription
Published: 2022-12-19 15:52:18

## Back end development

Languages: PHP (senior), Java, GoLang (junior)
Frameworks: Laravel, NodeJS

## Front end development

Languages: Javascript, Typescript.
JS Frameworks: Alpine, React, Vue.
CSS Frameworks: Tailwind.
Mobile development: Ionic Framework.

## Data Science and Artificial Intelligence

Languages: Python.
Libraries: Numpy, Pandas, Scikit, Tensorflow.
Tasks: Data preprocessing, data analysis, data visualization, classification and regression models.

## Software Engineering

Microservices and service oriented architectures. Domain-driven design. Good knowledge on algorithms and data structures.

## Web3

Languages: Solidity
Tasks: Deployed some smart contracts on Rinkeby test network. Created a DAO with Javascript and React.
Used Hardhat as development environment.
Building Real-Time Requires a Team: Tim Spann, Developer Advocate @ Stre...
Published: 2022-12-19 16:41:16

---
title: Building Real-Time Requires a Team: Tim Spann, Developer Advocate @ Stre...
published: true
date: 2022-12-19 15:39:00 UTC
tags: 
canonical_url: 
---

<iframe frameborder="0" height="360" src="https://youtube.com/embed/k8Eey16OQMg" style="background-image: url(https://i.ytimg.com/vi/k8Eey16OQMg/hqdefault.jpg);" width="480"></iframe>

{% embed https://youtube.com/embed/k8Eey16OQMg %}

https://youtube.com/embed/k8Eey16OQMg
CodePen Designs - 5 : Snowball Preloader
Tags: codepen, codependesigns, css, design
Published: 2022-12-19 15:38:32

### We are excited to introduce our new series that will explore the best design ideas from the Codepen community. 

We will be publishing these each day and hope you find them insightful and inspiring as we showcase some of the most talented designers in this space.

---


#### Codepen Design - 5

<p>Hm… a snowman in progress?</p>

{% codepen https://codepen.io/jkantner/pen/wvXbboe %}


---
## For more information

1. Check my GitHub profile
[https://github.com/amitSharma7741](https://github.com/amitSharma7741)

2. Check out my Fiver profile if you need any freelancing work
[https://www.fiverr.com/amit_sharma77](https://www.fiverr.com/amit_sharma77)

3. Check out my Instagram
[https://www.instagram.com/fromgoodthings/](https://www.instagram.com/fromgoodthings/)

4. Linktree
[https://linktr.ee/jonSnow77](https://linktr.ee/jonSnow77)

5. Check my project

- EVSTART: Electric Vehicle is the Future
[https://evstart.netlify.app/](https://evstart.netlify.app/)
-  News Website in react
 [https://newsmon.netlify.app/](https://newsmon.netlify.app/)
-  Hindi jokes API
 [https://hindi-jokes-api.onrender.com/](https://hindi-jokes-api.onrender.com/)


---
---
XML External Entity (XXE) Vulnerability - Part 1 (XML Basics)
Tags: security, webdev, tutorial, xml
Published: 2022-12-19 15:30:00

XML External Entity (XXE) Vulnerability is an important security issue to understand. Knowing the basics of XML can help you identify and prevent potential risks associated with XXE attacks.
In the first part of the XXE vulnerability blog, I have explained some basics concept of XML, like structure, DTD (Internal and External), and entity (Internal and External)
 

{% embed https://blogs.appsecworld.com/2022/12/xml-external-entity-xxe-part-1-xml-basics.html %}