teleren/devto huggingface dataset:
New Features of Windows 11
Tags: windows11
Published: 2021-10-02 09:41:43

Microsoft's New Big Windows 11 Update is on the way.

Microsoft confirmed that Windows 11 is launching on October 5 2021 as a free upgrade, with eligible devices being notified from them on.

## Requirements :

* Processor: 1 gigahertz (GHz) or faster with at least two cores on a compatible 64-bit processor or SoC
* RAM: 4GB
* Storage: 64GB
* System Firmware: UEFI, Secure Boot capable
* TPM: Trusted Platform Module 2.0
* Graphics Card: DirectX 12 or later with WDDM 2.0 driver
* Display: 720p, 8-bit per color channel, at least 9-inch diagonal
* Internet Connection and Microsoft Account: Windows 11 Home requires an active internet connection and a Microsoft Account to complete initial, first-use setup of the operating system, or when switching a device out of Windows 11 Home in S-mode.

## Features :

* A New interface : Clean design with rounded corners, pastel shades and a centered Start menu and Taskbar. 

* Integrated Android apps : Android apps will be coming to Windows 11

* Widgets : Windows Widgets are back in Windows 11, accessible via the dock, with Microsoft touting AI-powered dynamic features that enable widgets, as with the Start menu, to change depending on the apps you're using and the time of day.

* Microsoft Teams integration : Teams will be integrated directly into the Windows 11 Taskbar, making it easier to access.

* Xbox tech for better gaming :  Windows 11 will get certain features found in Xbox consoles, like Auto HDR and DirectStorage, to improve gaming on your Windows PC. 

* Better virtual desktop support : Windows 11 will let you set up virtual desktops in a way that's more similar to MacOS, toggling between multiple desktops for personal, work, school or gaming use. 

* Easier transition from monitor to laptop, and better multitasking : The new OS includes features called Snap Groups and Snap Layouts -- collections of the apps you're using at once that sit in the Taskbar, and can come up or be minimized at the same time for easier task switching.
Awesome Card Design for Website with HTML CSS in 2021
Tags: css, tutorial, webdev, beginners
Published: 2021-10-02 09:41:39

{% youtube g9VdvKx8fuM %}

How to Create Awesome Card Design for Website with HTML CSS

In this video I will show you how to create creative card design with hover effect step by step
Website Component Design

⌛️ | **Are You interested in a certain section? Use Timestamps**
  →  0:00 Demo
  →  0:17 File Structure & Code
  →  8:05 Final Preview

📥 | **Get all images that I used**
  →  https://drive.google.com/file/d/1P31-b58b47553ni8KBQYnxhFLqaihqku/view?usp=sharing (.zip)

🅰️ | **Get the font I used**
  →  Open Sans : https://fonts.google.com/specimen/Ope...

📥 | **Icon Link**
  →  https://ionic.io/ionicons/usage

❤️ | **Interested in seeing more videos? SUBSCRIBE NOW**
  →  https://bit.ly/3m4UgF5

👤 | **Like - Follow & Subscribe Me**
  →  Twitter : https://twitter.com/codewithsadee
  →  Github : https://github.com/codewithsadee
  →  YouTube : https://bit.ly/3m4UgF5
  →  Patreon : https://www.patreon.com/codewithsadee

---

[![Buy Me A Coffee](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9kn6vwn4mulhsx6o69is.png)](https://www.buymeacoffee.com/codewithsadee)
So, you want to delete old log files in your Fedora system?
Tags: fedora, log, system, diskspace
Published: 2021-10-02 09:41:25

![Some old hard drives](https://live.staticflickr.com/2448/3765903082_4917c2dd9b.jpg)

In my system the log space was getting big (more than 4Gb). Since nowadays we have these small solid state disks this can be a problem. 

I checked [Can I remove files in /var/log/journal and /var/cache/abrt-di/usr?](https://unix.stackexchange.com/questions/130786/can-i-remove-files-in-var-log-journal-and-var-cache-abrt-di-usr) and this instruction does the magic:

> sudo journalctl --vacuum-size=500M

Moreover, you can activate log rotation with:

> sudo systemctl kill --kill-who=main --signal=SIGUSR2 systemd-journald.service

and you'll need to restart the service:

> sudo systemctl restart systemd-journald.service

Finally, if you want to check the size of your journaling logging space: 

> journalctl --disk-usage

Or, in the old-fashioned (and more 'physical') way:

> du -h /var/log/journal/

No more complaints about the size of the root filesystem, for now.
Why can't I see my post stats on DEV? [solved]
Tags: meta, question, help
Published: 2021-10-02 08:58:14

I see there is a stats section for posts and for my whole account, but they never show anything, they appear blank.

Is there any way of getting access to them? Or should I do something else?


Regards!

### Solved
It was my ad blocker... don't know why it blocked it though
Sorting Algorithm
Published: 2021-10-02 08:04:02

##Bubble Sorting Algorithm

Bubble Sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in wrong order i.e element at ith index is greater than element at jth index where i<j.

#### Bubble Sort Implementation


```
void bubbleSort(int arr[], int n)
{
    int i, j;
    for (i = 0; i < n-1; i++){
        for (j = 0; j < n-i-1; j++){
            if (arr[j] > arr[j+1])
                swap(&arr[j], &arr[j+1]);
        }      
    }    
}
```

## Insertion Sorting Algorithm

Insertion sort is a simple sorting algorithm that works similar to the way you sort playing cards in your hands. The array is virtually split into a sorted and an unsorted part. Values from the unsorted part are picked and placed at the correct position in the sorted part.

######Algorithm 
To sort an array of size n in ascending order: 
1: Iterate from arr[1] to arr[n] over the array. 
2: Compare the current element (key) to its predecessor. 
3: If the key element is smaller than its predecessor, compare it to the elements before. Move the greater elements one position up to make space for the swapped element.

#### Insertion Sorting Algorithm Implementation

```
void insertionSort(int arr[], int n)
{
    int i, key, j;
    for (i = 1; i < n; i++)
    {
        key = arr[i];
        j = i - 1;
        while (j >= 0 && arr[j] > key)
        {
            arr[j + 1] = arr[j];
            j = j - 1;
        }
        arr[j + 1] = key;
    }
}
```

#######Note :- Rest Of the Algorithms will understand in next blog.
JavaScript and its DataTypes
Published: 2021-10-02 07:55:08

JavaScript has data types to hold different types of values. And the two types of data types in JavaScript are:


Primitive data type
Non-primitive (reference) data type

JavaScript is a dynamic type language, means you don't need to specify type of the variable because it is dynamically(accepting in real-time) used by JavaScript engine. We need to use var here to specify the data type. It can hold any type of values such as numbers, strings etc.
 For example:
var a=80; //holds the number
 
var b="Sam";//holds the string

The five type available are:
 tring
number 
boolean
undefined
null
Get started with github
Tags: devops, beginners, html, webdev
Published: 2021-10-02 07:43:13

Hey guys hacktoberfest is started if you don’t know about GitHub or what is GitHub how its use so this is useful post for you.
In this post you learn how to use GitHub and create your 1st pull request with using GitHub. and also after 4 successful pull request you will be get free t-shirt from hacktoberfest event. so learn and participate in event.

### What is GitHub:-

GitHub is a web-based interface that uses Git, the open source version control software that lets multiple people make separate changes to web pages at the same time. As Carpenter notes, because it allows for real-time collaboration, GitHub encourages teams to work together to build and edit their site content.

### GitHub Account and create repo :-

1.go to github.com and simple create your account .
2.Create a new repository
3.To create a new repository, select New Repository from the + sign dropdown menu (you can see I've selected it in the upper-right corner in the image above).
4.Enter a name for your repository (e.g., "portfolio") and click Create Repository).
5.Your 1st repo is created. 😊🎉

#### Now we are moved to next step :-
1.Download git from browser.
2.https://git-scm.com/ .
3.simple download and install the git software

#####Simple now open your command prompt or PowerShell 💻

1.Now we are Create folder for your project folder use this command (mkdir Demo).
2.Change your terminal to the Demo directory with the command (cd Demo).
3.Now create your 1st file readme file and save as (readme.md)

#####yeah 😀 Now its time to add our file in GitHub

1.Use command ( git init  )in terminal .
2.and add that file in git like git add (filename) or git add . there are to add multiple file we are use ( git add . ).
3.add your remote URL 
4.git remote add origin https://github.com/<your_username>/Demo.git
5.then use command for commit the changes ( git commit -m “first commit”
6.After this you can be use git status to check the your files .
if you want to change the branch use this command (git branch -m main)
7.now its time to push your code  or files to GitHub
8.Use git push  -u origin main 

Congratulations! 🎉🎉🎉 You have create your 1st requst to git now if you want to learn more comment git at this post or simple check github docs .


#####Thank You.

A collabration with Geeky4u Did you find it helpful let me know in comments.
Visual Studio Code: 
Published: 2021-10-02 07:39:43

Visual Studio Code: It is an open source-code editor that uses programming languages such as Java, c++, python etc. It uses top extensions like enable additional languages, themes, debuggers, commands, and much more. It allows one to test code, confidently.It is more stream-lined and by providing quick code, debug to full IDE. It also runs on web applications like Windows, Linux, and macOS.

 This helps in understanding the structure of the IDE which can help us understand such platforms better and implement quick code in real-time. Many sections cover different functionalities and help progress our projects with ease and short-cut methods.

The VS Code is divided into five main regions:

The activity bar
The side bar
The Editor groups
The panel
The status bar
Hacktoberfest 2021 is here!
Tags: hacktoberfest
Published: 2021-10-02 07:35:31

### Following are links to get you started:


[Hacktoberfest Website](https://hacktoberfest.digitalocean.com/)
[Register for Hacktoberfest 2021](https://hacktoberfest.digitalocean.com/register)
[Hacktoberfest 2021 - Quality Standards](https://hacktoberfest.digitalocean.com/resources/qualitystandards)
[Values](https://hacktoberfest.digitalocean.com/resources#values)
[Hacktoberfest 2021 - Participation](https://hacktoberfest.digitalocean.com/resources/participation)
[FAQs](https://hacktoberfest.digitalocean.com/faq)
[A great dev post summing up Hacktoberfest 2021](https://dev.to/devteam/hacktoberfest-2021-is-here-4a3l)
blocked by CORS policy? CORS Proxy is Solution 😎
Tags: javascript, cors, webdev, node
Published: 2021-10-02 07:18:27

## ❓ What is CORS?

Cross-Origin Resource Sharing (CORS) is an HTTP-header based mechanism that allows a server to indicate any origins (domain, scheme, or port) other than its own from which a browser should permit loading of resources. CORS also relies on a mechanism by which browsers make a “preflight” request to the server hosting the cross-origin resource, in order to check that the server will permit the actual request. In that preflight, the browser sends headers that indicate the HTTP method and headers that will be used in the actual request.

![CORS Error Example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0kiupwc46knz12xffdvk.png)

---

### 🤔 What is the Solution?

The solution to bypass CORS is to use a **Proxy**. A Proxy server, that forwards your request **as it is**.

But, problems with a Proxy Server is to manage the server, optimize the server, handle traffic, use of Kubernetes to minimize bills, and what not.

😭😭 So what is the solution to this?

---

### ✨ CORS Proxy ✨

[CORS Proxy](https://rapidapi.com/joshirajesh448-emyeudCJ4Y-/api/cors-proxy1) provides **Free Service** to bypass CORS.

CORS Proxy API uses backend technologies to complete your request for any third party resource . You are just required to send all request data (ie. URL, params, body, headers, cookies, etc.) to CORS Proxy API End-Point in the body, CORS Proxy will then forward your request in an optimized manner.

---

### Sample Code

``` javascript
var axios = require("axios").default;

var options = {
  method: 'POST',
  url: 'https://cors-proxy1.p.rapidapi.com/v1',
  headers: {
    'content-type': 'application/json',
    'x-rapidapi-host': 'cors-proxy1.p.rapidapi.com',
    'x-rapidapi-key': 'YOUR-x-rapidapi-key'
  },
  data: {
    url: 'https://api.gymslate.ml/auth/login/',
    method: 'POST',
    params: {},
    data: {
        email: 'user@mail.com',
        password: 'SecurePassword'
    },
    headers: {},
    cookies: {}
  }
};

axios.request(options).then(function (response) {
	console.log(response.data);
}).catch(function (error) {
	console.error(error);
});
```

---

### **Free** to use

CORS Proxy offers **FREEMIUM** pricing model. So Yes, we can start with the [**Free Plan**](https://rapidapi.com/joshirajesh448@gmail.com/api/cors-proxy1/pricing)

![CORS Proxy](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/adfdogvx8ofx9rxhaoe2.png)

Step 1. Create a Free Account at [Rapid API](https://rapidapi.com/)

Step 2. Freely Subscribe to [Basic Plan](https://rapidapi.com/joshirajesh448@gmail.com/api/cors-proxy1/pricing)

Step 3: Test API End Points

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m1lz6k6g823hd2e61gsf.png)

Step 4: Integrate with your Frontend Project

---

### 🥳 No more CORS Errors 🥳

---

Cheers

🤓 Happy Coding
HTMLtoPdf for .net core 3.1 - Converts HTML content to PDF using chrome executable
Tags: pdf, netcore, htmltopdf, chrome
Published: 2021-10-02 06:44:44

Note : Requires Chrome executable
Nuget Link -https://www.nuget.org/packages/Sats.Core.HTMLToPdf


              var url = @"d:\test.html";
              var chromePath = @"C:\Program Files\Google\Chrome\Application\chrome.exe";

        var output = new ChromeOptions().AddOptions(b =>
                            {
                                b.Headless();
                                b.DisableGPU();
                                b.WithoutHeader();

                            }).ToPdf(new ChromeDetails()
                            {
                                ChromePath = chromePath,
                                HtmlPath = url,
                                DeleteOutputFile = true, //optional
                               // OutputPath = @"d:\print.pdf" // (add if Environment.CurrentDirectory does not have access rights)
                            });


        File.WriteAllBytes(@"d:\print.pdf", output.FileDetails.File);
The Encyclopedia of Online Coding Platforms (ebook)
Tags: webdev, education, coding, stem
Published: 2021-10-02 06:39:21

---
title: The Encyclopedia of Online Coding Platforms (ebook)
published: true
description: The The Encyclopedia of Online Coding Platforms is a new .99 cent/free ebook from RealToughCandy.
tags: webdev, education, coding, stem
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h3ak0qehshtl5azpvaau.jpg
---

##When I was doing consultations with aspiring software developers, two of their biggest issues were: 


1) plunking down a TON of money for educational products that weren’t working for them 

and 

2) feeling like they wasted their valuable time on said platforms because they weren’t learning anything.

I don’t do consultations anymore, but I DO write books. (bonus: the book is about $200 cheaper than a consultation). 

###I decided to write _The Encyclopedia of Online Coding Platforms_ not to make decisions for devs, but to offer some extremely important guidance. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h3ak0qehshtl5azpvaau.jpg)

This handbook combines critical technical info + unmatched insights on over 100 different platforms...You could say this is my way of encouraging developers to make their decisions based on research & facts rather than what some random user named FreeBritneyBih69 wrote in a YouTube comment… ¯\_(ツ)_/¯

The bottom line is, I LOVE development education, I LOVE helping developers level up and this book is my way of delivering on that. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uf4p69jm4fqghn2bv7ci.jpg)

Best part? IT’S .99 FREAKING CENTS.(And it’s FREE if you have Kindle Unlimited):

##_The Encyclopedia of Online Coding Platforms_ drops November 1st! 

##Grab your preorder here: https://www.amazon.com/Encyclopedia-Online-Coding-Platforms-Ultimate-ebook/dp/B09HGZR1CQ
falcon-cli 4 post-quantum file sigs
Tags: cybersecurity, tooling, opensource, security
Published: 2021-10-02 06:37:51

Post-quantum cryptography is being developed, benchmarked, tested, discussed, and elaborated... Let me join in on that with a little practical software piece. [`falcon-cli`](https://github.com/chiefbiiko/falcon-cli) is a CLI tool to sign and verify files with the post-quantum signature scheme [FALCON](https://falcon-sign.info/), a round 3 finalist for digital signature algorithms in NIST's post-quantum cryptography standardization competition.

The tool supports keygen, file sign and verify ops, as such it is complete and ready for common file signature use cases. Imagine - now you can sign your Github Releases with (probably) post-quantum safe signatures and chill (4ever)...

Usage should be straightforward when glimpsin' over the [README](https://github.com/chiefbiiko/falcon-cli/blob/main/README.md). The default key location shouldn't be surprisin' as well: `~/.falcon-cli/(public|secret).key`. Also, if explicit input or output files are omitted, the tool falls back to `stdin` and `stdout` for IO.

In case of any issues get at me on [GitHub](https://github.com/chiefbiiko/falcon-cli/issues).
What is a difference between git pull and git fetch?
Tags: beginners, programming, git
Published: 2021-10-02 06:18:57

As we all know that git commands become mandatory if you are software developer. So here today I wanted to share basic understanding of the git two commands. **Git pull vs fetch.**

###Situation:###
If there were some changes recently made to your remote repository and you want to incorporate them into your local copy. then you have basically a 2 options one is git pull and another one is git fetch. 

So, Now question arise what’s the difference between Git pull vs fetch.

Now let’s understand with some diagram so probably you will never forgot the difference :) 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5uwwl60idrpjm4zruse4.png)

As per the above diagram The `git fetch` command downloads commits, files, and refs from a remote repository into your local repo but not update your local repo's working state. Fetching is what you do when you want to see what everybody else has been working on.

`git pull` is the more aggressive alternative; it will download the remote content for the active local branch and immediately execute `git merge` to create a merge commit for the new remote content. If you have pending changes in progress this will cause conflicts and kick-off the merge conflict resolution flow.

### When we should use git fetch?
* If you only want to see all of the current branches and changes in your remote repository without affecting your current local copy then Git fetch can get you all of the information you need.

### When we should use git pull? ###
* when you are ready to get latest updates from your remote repository and adding to your local copy. 

That's all folks, Hope you got the idea regarding Git pull vs fetch. Please like the post if you loved it and please let me know if you have any question in comments.
Increase PageSpeed In Blogger Website (My Tips)
Tags: pagespeed, website, seo, tips
Published: 2021-10-02 06:17:55

Are you a website owner, looking forward to [improve your page speed in your website](https://www.blogtriggers.com/2021/06/boost-your-pagespeed-in-blogger.html) If yes, then this article is for you. After reading this one article, you will be able to significantly improve the page speed in your website that will increase the user satisfaction and will also lead to increased search engine rankings.

1) Use Fast Loading Template like Fletro pro Template, Median UI template, Freebify etc...

2) Make a habit of Using a WebP Image Instead of PNG,JPG.

3) Use CloudFlare CDN to increase PageSpeed & Protect your website from Malware & Randsomware attack etc...

4) Reduced Unused JavaScript script code & Unused JavaScript Library.

5) Avoid Image First In Starting of Posts Paste your Image in Between of Posts.

6) Avoid Too many Ads in Website this will increase your bounce rate & also decrease your User experience.

7) Show Less No of Posts in Homepage to help users to know our more posts of website.

8) Use maximum HTML & CSS Languages because HTML & CSS Language Doesn't decrease your PageSpeed.

9) Don't Use Popup In your Website it decrease your Pagespeed Drastically.

10) Don't Use Stylish Custom Fonts in Blogger template. Use Instead of CSS font-family attribute.

This is the 10 Tips to Increase PageSpeed in Blogger Website. 

I hope you like this article If you like then Please Share with your Friends.
Global Zipcode or Postal code with Latitude and Longitude API
Published: 2021-10-02 06:10:36

---
title: Global Zipcode or Postal code with Latitude and Longitude API
published: true
description: Global Zipcodes API provides the 94 countries' zipcodes data available with latitude and longitude details. You can get the nearby area of pincodes by country, and places, distances between two zip codes, the distance between zip codes, and nearby area by latitude and longitude information. There are more than 4 million zipcodes data available in this API.
tags: 
//cover_image: https://direct_url_to_image.jpg
---

Global Zipcode or Postal code API is a freemium API that is used to autofill the city and state from Pincode or zip code. For example, when the user fills in the Pincode on your website or mobile application this API will return the city and state.

Global Zipcodes API provides the 94 countries zipcodes data available with latitude and longitude details. You can get the nearby area of pincodes by country, and places, distances between two zip codes, the distance between zip codes, and nearby area by latitude and longitude information. There are more than 4 million zipcodes data available in this API.

**Uses and benefits of API:**

These APIs widely using in eCommerce applications, delivery apps, financial apps. Below are the benefits from this API:

1. Helps user checkout faster with autofill state and city.
2. Reduces manual human errors.

**For more information check it from our link:**

https://vigowebs.com/products/global-zipcode-api/

**Try this API with endpoints:**

[Try this API](https://rapidapi.com/vigowebs/api/global-zip-codes-with-lat-and-lng/)

**Our simple pricing is transparent for everyone:**

[Check our pricing](https://rapidapi.com/vigowebs/api/global-zip-codes-with-lat-and-lng/pricing)
Create a Netflix clone from Scratch: JavaScript PHP + MySQL Day 68
Tags: php, javascript, webdev, tutorial
Published: 2021-10-02 05:47:13

Netflix provides streaming movies and TV shows to over 75 million subscribers across
the globe. Customers can watch as many shows/ movies as they want as long as they are
connected to the internet for a monthly subscription fee of about ten dollars. Netflix produces
original content and also pays for the rights to stream feature films and shows.

In this video, we will Resume playing  video where we left off
{% youtube fG-Lqu8ylIc %}

In this video, we will be Refactoring our code
{% youtube UxC0g-24B1I %}


If you like my work, please consider
[![Buy me a coffee](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jm11knj7d8zwcvo150q2.png)](https://www.buymeacoffee.com/cglikpo)
so that I can bring more projects, more articles for you

If you want to learn more about Web Development, feel free to [follow me on Youtube!](https://www.youtube.com/c/ChristopherGlikpo)