teleren/devto huggingface dataset:
FAIRY CAT, GameFI or NFT ?
Tags: nft
Published: 2023-02-12 11:21:26

2.Project Highlights ：
1.It has developed by a cutting-edge technology team composed of former members of Blizzard and Google; 
2.It has successfully obtained financing from well-known institutions US$5 million; 
3.It has diversified game mode of cultivation; 
4.Simple play-ways , rich rewards, and first choice to earning Gold; 
5.Abundant welfare activities: first-generation cat pre-sale, capital-guaranteed IDO competition, TDD airdrop, prop airdrop, etc.; 
6.80% of the capital inflow from the cat pre-sale market will flow into the Fairy Cat liquidity pool;  
7.Projects cats will be used as the IP to release a varity of games to build a decentralized NFT game metaverse ecology: 
8.The DDino NFTs generated by the blind box can be applied to the cat series games and metaverse ecology launched by the platform in the future; 
9.Fairy cat Economic Model: 
TDD：The only token that can be circulated in the world of Cat Kingdom, with a total circulation of 4 million pieces, will never be issued again: 
TDD Project Development Layout
The project will release several games, the first one is “ Fairy Cat”, which will be released in January this year. Cat Football, Pinball cat, Kingdom of Cats, Cat Manor, Fairy Cat (AR Breeding), will be released later to form a digital Fairy Cat metaverse ecology. TDD is committed to building a global decentralized blockchain game with “ Digital Cat” as the IP, further marketing a global scale, expanding the user base, attracting more players , and building a global decentralized blockchain game with “TDD” as the token. The platform finally realizes a completely decentralized NFT game metaverse ecology.  
The Gamefi craze around the concept of the metaverse has launched on, hence the Fairy Cat project has a cutting-edge technology team composed of former members of Blizzard and Google, a rich and diversified new Play-To-Earn model, easy to play, and has successfully obtained more than $5 million in financing.Thus, can Fairy Cat achieve curve overtaking and become the star dark horse project of the first GameFi track in 2022 after AXIE and RACA?
MongoDB vs MySQL
Tags: database, mysql, mongodb, webdev
Published: 2023-02-12 11:20:40

# MongoDB vs MySQL

| **MongoDB**                                                                                                  | **MySQL**                                                                          |
| ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
| 1. MongoDB employs a document-oriented database management system.                                           | 1. It uses Relational Database Management System (RDBMS).                          |
| 2. Data is stored in BSON (Binary JSON) format in collections, with each document                            | 2. Data is stored in tables with defined columns and relationships between tables. |
| 3. It features a query language similar to JSON.                                                             | 3. It uses Structured Query Language (SQL) for database access.                    |
| 4. It is suitable for unstructured and semi-structured data, enabling flexible and scalable data management. | 4. It is suited for structured and organized data.                                 |

**_NOTE:_** If you found this help. Like and share. Thanks, Happy Learning!

---

### Let's connect 💜

You can follow me on [Twitter](https://twitter.com/MrDanishSaleem), [Instagram](https://www.instagram.com/mrdanishsaleem/), [LinkedIn](https://www.linkedin.com/in/mrdanishsaleem/) & [GitHub](https://github.com/mrdanishsaleem/)

### Support Me

If you like this post. Kindly support me by [Buying Me a Coffee](https://www.buymeacoffee.com/mrdanishsaleem)
Polaris bank code 2023
Published: 2023-02-12 11:14:44

[https://www.bankfanz.com/polaris-bank-transfer-code/](https://www.bankfanz.com/polaris-bank-transfer-code/#utm_source=backlinks&utm_medium=search&utm_campaign=darry+ring+us&utm_content=Michelle)
https://plaza.rakuten.co.jp/polarisbankcode1/diary/202302120000/
https://peatix.com/user/15930249/
https://www.provenexpert.com/polaris-bank-code-to-check-balance-20233/
https://www.producthunt.com/@polarisbank6
https://www.divephotoguide.com/user/polarisbankcode6
https://wakelet.com/@Polarisbankcodetocheckbalance555
https://vocal.media/authors/polaris-bank-code-to-check-balance-vas2yh0rcv
https://www.lifeofpix.com/photographers/polarisbankcode6/
https://seedandspark.com/user/polaris-bank-code-to-check-balance-4
https://rosalind.info/users/Polarisbankcode6/
http://phillipsservices.net/UserProfile/tabid/43/userId/198674/Default.aspx
https://app.roll20.net/users/11621565/polaris-bank-code-to-check-balance-2
https://speakerdeck.com/polarisbankcode6
https://social.msdn.microsoft.com/profile/polaris%20bank%20code%20to%20check%20balance%202023%206/
https://camp-fire.jp/profile/polarisbank6
https://plazapublica.cdmx.gob.mx/profiles/Polarisbankcode6/activity
https://www.metal-archives.com/users/polarisbankcode6
https://storium.com/user/polarisbankcode6
https://trabajo.merca20.com/author/polarisbankcode6/
https://www.intensedebate.com/people/Polarisbank6
https://www.mifare.net/support/forum/users/polarisbankcode6/
https://pinshape.com/users/2572997-polarisbank6
http://foxsheets.com/UserProfile/tabid/57/userId/120722/Default.aspx
https://www.kompasiana.com/polarisbankcode6
https://www.credly.com/users/polaris-bank-code-to-check-balance-2023.7d2a271c/badges
https://www.myminifactory.com/users/polarisbankcode6
https://www.sqlservercentral.com/forums/user/polarisbankcode6
https://www.longisland.com/profile/polarisbankcode6
https://guides.co/a/polaris-bank-1730
https://myanimelist.net/profile/Polarisbankcode6
Add Role and Permissions based authentication to Laravel API
Tags: laravelframework, php, webdev, laravel
Published: 2023-02-19 17:42:33

---
title: Add Role and Permissions based authentication to Laravel API
published: true
date: 2023-02-12 11:12:31 UTC
tags: laravelframework,php,webdevelopment,laravel
canonical_url: https://blog.devgenius.io/add-role-and-permissions-based-authentication-to-laravel-api-ec2b539aa470
---

[![](https://cdn-images-1.medium.com/max/2600/0*YiM_syDYKwHXtla8)](https://blog.devgenius.io/add-role-and-permissions-based-authentication-to-laravel-api-ec2b539aa470?source=rss-17217f29618a------2)

Laravel creates an Admin API from scratch — Part 3

[Continue reading on Dev Genius »](https://blog.devgenius.io/add-role-and-permissions-based-authentication-to-laravel-api-ec2b539aa470?source=rss-17217f29618a------2)
How to create an HTML-to-PDF converter?
Tags: javascript, html, webdev, beginners
Published: 2023-02-12 11:03:07

In this post, I am mainly discussing a simple JavaScript library that helps us to create PDFs from HTML. I have created an awesome-looking PDF processor using the JavaScript library. 


## HTML to PDF JS library
html2pdf is the library that we are discussing. This library converts HTML to PDF by converting HTML into canvas (image) with the help of html2canvas and converting the image to pdf through jsPDF another javascript library with contacts the image into pdf. 

There are several libraries are available to do this function. You can also use the jsPDF library. I am using the html2pdf library to do this project. If you want a tutorial on other HDMI to PDF converter libraries, comment in the comment section.https://www.youtube.com/embed/p0DBDoT3jKY


```
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>HTML-to-PDF Example</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <!-- html2pdf CDN link -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"
        integrity="sha512-GsLlZN/3F2ErC5ifS5QtgpiJtWd43JWSuIgh7mbzZ8zBps+dvLusV+eNQATqgA/HdeKFVgA5v3S/cIrLF7QnIg=="
        crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
 
<body>
    <center>
        <h1>hello world</h1>
        <h2>HTML TO PDF TUTORIAL FLURATECH.COM</h2>
    </center>
    <p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Adipisci, voluptatibus. Itaque assumenda quia quis
        temporibus vero voluptatum velit ex, quod earum! Modi iste laboriosam blanditiis soluta nisi iusto amet
        excepturi.</p>
 
    <button id="download-button">Download as PDF</button>
    <script>
        const button = document.getElementById('download-button');
        function generatePDF() {
            // Choose the element that your content will be rendered to:here i am choosing BODY tag
            const element = document.querySelector('body');
            // Save the PDF for your user.
            html2pdf().from(element).save();
        }
 
        button.addEventListener('click', generatePDF);
    </script>
</body>
 
</html>

```

[Rich text editor using HTML CSS and JavaScript](https://fluratech.com/web-dev/rich-text-editor-using-html-css-and-javascript/)

[Author box HTML CSS](https://fluratech.com/web-dev/author-box-using-html-and-css/)
Year summary & plans
Tags: motivation, devjournal
Published: 2023-02-12 11:00:47

January is an ideal time to summarize the past year and to set plans and goals for the coming year. In my experience, it's helpful to divide this into two categories: personal and career.

### 1. Personal
Last year was a big change for me. The most important thing is that I have purchased a home with my fiancee. 

The war in Ukraine began after less than a month of living there. We felt compelled to offer assistance to the Ukrainian people. As a result, we decided to share our home with a Ukrainian family. They lived with us for about three months, and then we helped them find their own flat. I will never forget the moment when they were first reunited with their father and husband. That was a huge lowliness lesson.

Another significant realization for me last year was visiting a new, exotic country. My girlfriend and I spent two wonderful weeks on one of the most well-known paradise islands: the Dominican Republic. It was an amazing experience.

Plans for 2023
- wedding
- asian / south america travel

### 2. Career

Last year was very intensive, and I learned a lot. I was able to keep up with my self-development routine system that I started at the beginning of the year. At work, I begun to work more independently with more complex projects, e.g., the progress measuring module for the financial controller.This experience has allowed me to see the value I bring to the company and it's incredibly fulfilling.


Plans for 2023
The main goal is crystal clear here. I want to increase my salary. There are two options to achieve this. First, get a raise in my current company. This is a better option according to the fact that I like this project - tech stack, and I'm learning a lot there.

### Conclusion
I'm excited about 2023 as well. This year, I've made a commitment to improving my skills and competencies as a software engineer. I'm working hard and am confident that the results will be positive. Here's to a great year ahead!
Detect browser using JavaScript – with source code
Tags: javascript, webdev, html, css
Published: 2023-02-12 10:54:35


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

Hello guys, welcome back to the source code tutorial series of fluratech.com. Today I am going to share with you the source code of an awesome-looking browser detector using javascript. 

This code will help you to get a browser name even if it is Chrome, Firefox, Safari, Opera and Edge with font-awesome icons. Else it will show “We can’t able to find the name of your browser”. 

```
<!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>speaker</title>
    <link rel="stylesheet" href="/font-awesome-4.7.0/css/font-awesome.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        body {
            background-image: linear-gradient(45deg, rgb(229, 255, 0), rgb(255, 81, 0));
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
        }
 
        h1 {
            color: rgb(255, 255, 255);
            text-shadow: 6px 5px 4px black;
        }
    </style>
</head>
 
<body onload="browserDetect()">
    <h1>hello</h1><br>
    <script>
        function browserDetect() {
 
            let userAgent = navigator.userAgent;
            let browserName;
 
            if (userAgent.match(/chrome|chromium|crios/i)) {
                browserName = "chrome <i class='fa fa-chrome'></i> ";
            } else if (userAgent.match(/firefox|fxios/i)) {
                browserName = "firefox <i class='fa fa-firefox'></i>";
            } else if (userAgent.match(/safari/i)) {
                browserName = "safari <i class='fa fa-safari'></i>";
            } else if (userAgent.match(/opr//i)) {
                browserName = "opera <i class='fa fa-opera'></i>";
            } else if (userAgent.match(/edg/i)) {
                browserName = "edge <i class='fa fa-edge'></i>";
            } else {
                browserName = "No browser detection";
            }
 
            document.querySelector("h1").innerHTML = "You are using " + browserName + " browser";
        }
    </script>
</body>
 
</html>
```
Auto-Scaling with Network Load Balancer
Tags: aws, cloud, awscommunity, 100daysofcloud
Published: 2023-02-12 10:49:00

[43/100] #100DaysOfCloud Today, I created an Auto-Scaling Group with Network Load Balancer.

Network Load Balancer operates at the connection level (Layer 4), routing connections to targets (Amazon EC2 instances, microservices, and containers) within Amazon VPC, based on IP protocol data. Ideal for load balancing of both TCP and UDP traffic, Network Load Balancer is capable of handling millions of requests per second while maintaining ultra-low latencies. Network Load Balancer is optimized to handle sudden and volatile traffic patterns while using a single static IP address per Availability Zone. It is integrated with other popular AWS services such as Auto Scaling, Amazon EC2 Container Service (ECS), Amazon CloudFormation, and AWS Certificate Manager (ACM).

You can try do it by yourself by following the steps from the link below: [GitHub](https://github.com/aaditunni/100DaysOfCloud/blob/main/Journey/043/Readme.md)
Will ChatGBT break the internet?
Published: 2023-02-12 10:07:04

It feels now they every other article is about ChatGPT, so many use cases, particular in my space LowCode. 
But with all ground breaking technology I think there is going to be some turbulence, and not in the job market that most people think.

We have already seen the question around who owns the data training AI models, with Getty suing Stable Diffusion https://www.theverge.com/2023/1/17/23558516/ai-art-copyright-stable-diffusion-getty-images-lawsuit, but with the launch of Bing search with ChatGBT we moved to another level.

Recently Google has had run ins with news agencies, particularly in France and Australia. With the news companies (rightfully or wrongly) wanting a cut of advert revenue Google was making from showing their news articles. With Bing and ChatGBT we now have every website on the internet used to deliver search information, not only bypassing the host site (and it's chance for advert revenue) but not even recognising the author. I write my blogs to share knowledge and not for profit, but would I be happy others sharing it without crediting me, no.

If Bing search with ChatGBT takes off, and it looks like it will, suddenly the whole internet could easily become one or two websites. And if this happens then why would any add based information site continue? 

I see 4 possible outcomes:

1. Sharing model similar to news, with Bing (or Google with Bard) showing all the adverts and sharing revenue with the sites. Having a handful of businesses controlling the internet doesn't sound good (it's bad enough now), never mind how difficult it would be to create that payment model.

2. Every site would go behind a payroll, no more free sites paid for by adverts. Another  very unpleasant thought, as the barrier to entry for new sites would be high.

3. Encryption/Captcha used to stop all web scraping. This would protect the status quo the most, but would impact discovery massively.

4. Exit from the internet (admittedly most unlikely), with the internet no longer profitable companies would move back to news letter/ paper / digital streaming.

What's everyone's thoughts?
Minimize the scope of secrets and permissions in GitHub Actions
Published: 2023-02-12 09:49:20

In this post, I introduce two practices to improve GitHub Actions security and a CLI for them.

Practices:

1. Only minimum `permissions` should be set per job. The default `permissions` should not be used, and `permissions` othar than `{}` should not be set to workflow
1. `secrets` should be set per step and should not be set to job and workflow

These practices are primary and not unique, but many workflows don't conform to them.

Almost workflows depend on tools such as reusable workflows, actions, and CLIs, so they always have risks that malicious codes are executed via tampered dependent tools.
So it is essential to minimize the damage by restricting `GITHUB_TOKEN`'s `permissions` and the scope of `secrets`, even if malicious codes are executed .

`GITHUB_TOKEN` has too strong permissions by default, so you should set minimum `permissions` explicitly.
`permissions` all jobs require should not be set to workflows because unnecessary permissions are given to jobs.
`read-all` and `write-all` permissions should not be used because they are too strong.

[You can use the following syntax to disable permissions for all of the available scopes](https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs):

```yaml
permissions: {}
```

`secrets` should not be set to workflows or jobs' `env` because steps that don't need those `secrets` can also access them.

## ghalint - Check if workflows conform to practices

I've developed a CLI to check if workflows conform to above practices.

https://github.com/suzuki-shunsuke/ghalint

About the usage, please see the document.
nyc school remote 2023
Published: 2023-02-12 08:48:20

[https://multischolar.com/school-calendar-nyc/](https://multischolar.com/school-calendar-nyc/#utm_source=backlinks&utm_medium=search&utm_campaign=darry+ring+us&utm_content=Michelle)
https://plaza.rakuten.co.jp/chenlee/diary/202302120000/
https://www.provenexpert.com/nyc-school-remote/
https://www.producthunt.com/@nycschoolremote
https://www.divephotoguide.com/user/nycschoolremote/
https://vocal.media/authors/nycschoolremote
https://www.lifeofpix.com/photographers/nycschoolremote/
https://seedandspark.com/user/nycschoolremote
https://rosalind.info/users/nycschoolremote/
http://phillipsservices.net/UserProfile/tabid/43/userId/198613/Default.aspx
https://app.roll20.net/users/11618222/nycschoolremote
https://speakerdeck.com/nycschoolremote
https://social.msdn.microsoft.com/Profile/nycschoolremote
https://camp-fire.jp/profile/nycschoolremote
https://plazapublica.cdmx.gob.mx/profiles/nycschoolremote/activity
https://www.metal-archives.com/users/nycschoolremote
https://storium.com/user/nycschoolremote
https://leanin.org/circles/nycschoolremote
https://trabajo.merca20.com/author/nycschoolremote/
https://www.intensedebate.com/people/nycschoolremote
https://www.mifare.net/support/forum/users/nycschoolremote/
https://pinshape.com/users/2572679-nycschoolremote
http://foxsheets.com/UserProfile/tabid/57/userId/120682/Default.aspx
https://www.kompasiana.com/nycschoolremote
https://www.credly.com/users/nyc-school-remote/badges
https://www.myminifactory.com/users/nycschoolremote
https://www.sqlservercentral.com/forums/user/nycschoolremote
https://www.longisland.com/profile/nycschoolremote
https://guides.co/a/nyc-school-remote/
https://myanimelist.net/profile/nycschoolremote
https://www.iheart.com/podcast/269-nyc-school-remote-108743608/
Challenge #4: ⚖️ Build a DEX Challenge
Tags: web3, blockchain, solidity, javascript
Published: 2023-02-12 07:26:41

## Tasks to be done

This challenge will help you build/understand a simple decentralized exchange, with one token-pair (ERC20 BALLOONS ($BAL) and ETH).

## My Review

This was a very interesting challenge, although most of the code was pre provided this challenge helped me understand how DEXs work. Such a simple mathematical formula that makes sure that the liquidity pool never empties and also balances the cost of the tokens based on the liquidity available ⚖️ Also my first time using the SafeMath by openzeppelin 📈

## Important links

- [Speed Run Ethereum](https://speedrunethereum.com/challenge/minimum-viable-exchange)
- [Deployed webapp](https://kevinj-sre-c4.surge.sh/)
- [Deployed contract](https://goerli.etherscan.io/address/0xf8f64a21e78c8d5d5f9883Cc76Ad38848333f3d5)
- [Project source code](https://github.com/kevinjoshi46b/speedrunethereum/tree/master/challenge-4-dex)
pandas, a Python library for data manipulation
Tags: pandas, python, machinelearning, ai
Published: 2023-02-12 07:20:34

**How can a panda manipulate data?**

When i first heard the name 'pandas' i wondered "how can these chubby animals work with data?". okay...i know that you are thinking how dumb i was. So now, if in Python 'pandas' are not some chubby entities then what is it???
pandas is a Python library which helps us to work with data. As we know that a code library is a collection of modules or functionalities which can be used by any programmer. Python is one of the languages which provide a huge variety of code libraries. pandas is one of the most helpful and important feature of Python which has made data manipulation way much easier for the tech-people who has to work with bulky datasets. 


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

**Why pandas?** 

Fields like Machine Learning, Artificial Intelligence, Deep Learning, Natural Language Processing, Data Science require a huge amount of data. These data can either be raw or organized data. pandas help us to visually represent the data in a comprehensible format. 


**Some fundamentals of pandas**

Using pandas we can present a data set in a tabular format where all of the data are presented in rows and columns with corresponding row and column headings. In pandas this tabular format of data is called a DataFrame. We can pass CSV files,excel files or even dictionaries as a pandas Dataframe. 
We can import pandas just like other python libraries with the import keyword. Here i am inporting pandas as pd( the most convenient abbreviation for pandas). 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ueqxxcnuqsdayv8kbof0.jpg)
When we pass a dictionary inside a pandas DataFrame the keys correspond to the column names and values are the column elements.
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cr6tfwyv93zlszdlq76j.jpg)

Now we are going to pass the dictionary named "dict" inside a DataFrame and store the DataFrame in a variable named "df" (you can give any name to the variable). And we'll print the DataFrame df to see the output. 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gqivma8qaif4hgq3phw1.png)
Yeeeyyyy! We have successfully created our first DataFrame.
Fix FinalizationRegistry undefined on NodeJS
Tags: node, nodej, debugging, errors
Published: 2023-02-12 06:11:39

If you are running into the following error with your node application 
```console
ReferenceError: FinalizationRegistry is not defined
```
Chances are that your current node version doesn’t have `FinalizationRegistry` natively yet (e.g. if you are using Node 12).

You will then have to upgrade Node version to **v14** or higher to have `FinalizationRegistry` supported.