teleren/devto huggingface dataset:
Encrypted JWT and how to activate Auth::user()
Tags: laravel, webdev, programming, beginners
Published: 2023-11-19 14:19:57

I just had an experience that I found interesting

So the boss asked me to encrypt the JWT token sent to the frontend. However, the problem is that when the token is encrypted, the controller cannot use `Auth()->user()`

What I did was create middleware to decrypt the token sent from the frontend then set to user so that `Auth()->user()` can be used in all controllers in the middleware

```php
$token = str_replace('Bearer ', '', $request->header('Authorization'));
$token = Crypt::decrypt($token);
JWTAuth::setToken($token);
JWTAuth::toUser();
```

Maybe there are more suggestions for friends who are more experienced. Thanks 🌟
How to escape the Tutorial Hell of React in Web Development?
Published: 2023-11-19 14:12:54

When I started learning the web development I used to watch tutorials on Youtube. Also, I bought some courses from Udemy which I hardly completed. 

There are a lot more courses available in Udemy with a very great content. The prices are also very reasonable and it takes a very less amount that is equivalent to buying a pizza for you!

The best form of investment is the one that you do on yourself and learning is the most effective area out of it. So I don't hesitate to buy any course wherever it's available. 

The real problem arises when you go on purchasing the courses and don't complete it anymore. Once you start a specific tutorial you get the most of the resistance to it. 

You don't like to learn it because it's very low dopamine action and our mind is addicted to the cheap dopamine levels that we get from social media. 

Social media including Twitter is the cheapest form of dopamine providers if you don't use it wisely. It's like the slow poison to your mind. 

So here are some of the hacks that you can do it overcome it. 

- Start the tutorial and try to watch it without doing anything
- If you try to write some notes in the first place then your mind is very reluctant to do it and you end up doing nothing.
- So start very slowly to adapt to learning in initial days and keep the resistance lower in your mind. 
- Follow the 4X pattern and don't expect that you'll understand everything in the first iteration.
- Try to follow the four iterations or repetition of the same tutorial back and forth strictly. 
- You would have done it more than 50% of your capacity. 
- Thus you can achieve at least more than half of your potential if you just keep your patience instead of just giving up. 
- After that you can change the gear and accelerate more. Now you'll be fearless about that topic and you'll get self-motivation to do more. 

This has worked really well in my case. You don't need to follow multiple tutorials from every platform or every channel from Youtube. 

Once you get a basic understanding of the concepts, try to build things on your own. Just roll up your sleeves and get your hands dirty. 

No one has ever learned to swim just by reading books or by sitting outside the pool. So just buckle up and get on the ride. 

Hope this is useful! Cheers!
"ESLint was configured to run ... However, that TSConfig does not / none of those TSConfigs include this file"
Tags: eslint
Published: 2023-11-19 14:11:29

Linting with Type Information
Some typescript-eslint rules utilize the awesome power of TypeScript's type checking APIs to provide much deeper insights into your code. To tap into TypeScript's additional powers, there are two small changes you need to make to your config file:

**.eslintrc.cjs**

```js
/* eslint-env node */
module.exports = {
  extends: [
    'eslint:recommended',
    'plugin:@typescript-eslint/recommended-type-checked', // change
  ],
  plugins: ['@typescript-eslint'],
  parser: '@typescript-eslint/parser',
  parserOptions: {
    project: true, // change
    tsconfigRootDir: __dirname,
  },
  root: true,
};
```

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/btytfr9atacaregnsb8r.png)
The Art of Properly Setting a Table: A Step-by-Step Guide
Published: 2023-11-19 13:57:07

From its practical applications to its potential future developments, it is a field that is worth exploring in greater detail [how to set a table properly](https://malacasa.com/blogs/news/enjoying-labor-day-barbecue-how-to-properly-set-a-table-and-choose-dinnerware?utm_source=dev_to&utm_medium=rankking). 

**How to Set a Table Properly**

Whether for a formal dinner party or a casual family meal, setting a table properly is an important part of making your guests feel welcome. From the placement of the plates and glasses to the folding of the napkins, there are many details to consider. Here's a step-by-step guide to help you get it right.

## Step 1: Placement of Plates and Utensils

The first step to setting a table is to place the plates and utensils in the correct spot. Start by placing the dinner plate in the center of the setting, followed by the salad plate to the left of the dinner plate. Then, the knife should be placed on the right side of the dinner plate, with the blade facing inward towards the plate. Place the fork to the left of the knife, with the tines facing down. The spoon should then be placed to the right of the knife, with the bowl facing up.

## Step 2: Adding Glassware

Once the plates and utensils are in place, it's time to add the glassware. Start by placing a water glass directly above the dinner plate, and a wine glass to the right of the water glass. If you are serving a cocktail, place the cocktail glass to the left of the water glass. If you are serving a dessert, a dessert plate and fork should be placed to the top right of the dinner plate.

## Step 3: Placing Napkins

Napkins can be placed in a few different ways, depending on the look you’re going for. The most common way to fold a napkin is to fold it into a triangle, then place it on the dinner plate. Alternatively, you can also fold it into a square and place it to the left of the dinner plate. If you're feeling extra fancy, you can even roll the napkin like a scroll and place it on the dinner plate.

## Step 4: Finishing Touches

Once all the plates, glasses, and napkins are in place, you can add a few finishing touches. Place salt and pepper shakers in the center of the table, as well as any other condiments such as sugar, honey, or ketchup. You can also add a small flower arrangement or candle to the center of the table for an extra touch of elegance.

With these simple steps, you can easily set a table that is sure to impress your dinner guests. Setting a table properly is an art, and with practice you’ll be an expert in no time.

## References

  * [how to set a table properly](https://www.ksgovjobs.com/Applicants/ThirdPartyLink/1?thirdParty=https://malacasa.com/blogs/news/enjoying-labor-day-barbecue-how-to-properly-set-a-table-and-choose-dinnerware "how to set a table properly")
Merlin Chrome Extension
Tags: ai, chatgpt, openai, chatbots
Published: 2023-11-19 13:16:44

- [Merlin Chrome extension](https://thetechdeck.hashnode.dev/boost-productivity-with-the-game-changing-merlin-chrome-extension) is a personal AI assistant designed to enhance productivity

- It provides one-click access to various AI models such as ChatGPT, Claude, Anthropic, and more through a simple browser extension

- Merlin allows the use of AI seamlessly across popular platforms like Gmail, Google Docs, Twitter, and LinkedIn without switching interfaces or workflows

- No separate Account Needed, Merlin is available to users free of charge, and comes without any subscription costs or hidden fees
- Merlin supports multiple languages including English, Hindi, Spanish, French, and German

- The extension enables productivity surge across everyday tasks and workflows, including email productivity, content creation, research and learning, social media marketing, data entry and management, and administrative tasks

- A step-by-step guide to install and set up the extension is available on the official Merlin Web page

- Users can activate the Merlin icon on the Chrome Web page to activate the extension.
A Beginner's Guide to Using KREA AI
Tags: ai, chatgpt, news, beginners
Published: 2023-11-19 13:19:51

- [KREA AI](https://thetechdeck.hashnode.dev/unlock-your-creativity-a-beginners-guide-to-using-krea-ai) is an AI tool with over 2500 AI models for creative capabilities
- It allows users to generate professional visual content and explore their imagination
- The tool is suitable for artists, marketers, designers, and anyone looking to experiment with AI-generated art
- Key features include a vast selection of AI models, image and video generation, real-time AI training, and mobile compatibility
- To get started, users need to sign up for a free account, browse the model library, craft prompts, and generate content
- Effective prompts require sufficient context and details, balance specificity and brevity, and use descriptive words and phrases
- Real-time training is available to guide the model and provide feedback on improvements
- Creations can be exported and shared on social media, blogs, videos, and more
- Users can collaborate with other users in the community to share and learn new features and techniques.
5 Best Free AI Music Generators
Tags: ai, aitools, beginners, news
Published: 2023-11-19 13:14:31

- [AI music generators](https://thetechdeck.hashnode.dev/unleash-your-creativity-with-5-best-free-ai-music-generators) allow for unlimited music production without breaking the bank
- SOUNDRAW is a personal AI music generator that offers unlimited creative freedom
- Beatoven.ai is a platform designed for video producers, podcasters, and game developers looking to enhance projects with dynamic, original soundtracks
- Loudly generates polished AI music within seconds, allowing for instant music gratification
- Ecrett Music empowers users to shape royalty-free AI music to their creative vision
- Soundful offers a seamless one-click creation for all content types with a vast collection of unique, ready-to-use tracks.
Biggest Crypto Hacks and Scams of 2023
Tags: cryptocurrency, blockchain, web3, news
Published: 2023-11-19 13:13:20

- Cryptocurrency adoption has led to increased criminal activity
- 2023 saw some of the largest crypto hacks and [scams](https://thetechdeck.hashnode.dev/the-biggest-crypto-hacks-and-scams-of-2023)
- Euler Finance was hacked for over $197 million worth of crypto assets
- Mixin lost over $200 million due to a cloud provider hack
- CoinsPaid suffered a phishing attack for $37 million
- Atomic Wallet lost $100 million in stolen assets, possibly due to Lazarus hackers or Ukrainian hacking groups
- Trust Wallet was targeted for $40 million in phishing attacks
- These incidents highlight the ongoing threat of social engineering in the crypto sector.
What is Forefront AI
Tags: ai, programming, beginners, news
Published: 2023-11-19 13:10:57

- [Forefront AI](https://thetechdeck.hashnode.dev/unlocking-the-potential-of-ai-an-in-depth-look-at-forefront-ai) is a platform at the forefront of the AI revolution
- It offers groundbreaking capabilities for natural language processing and provides access to pre-trained large language models
- Users can create customized AI models tailored to their unique needs
- The platform integrates with the internet for more accurate, real-world information and boosts accuracy through web searches
- Image generation tools allow users to create original images that complement their projects
- Custom persona configuration allows users to define characteristics like tone, level of expertise, personality traits, and speaking style
- Shareable chat features foster collaboration and enhance productivity in group settings relying on AI assistance
- Its commitment to granting public access to elite models like GPT-4 has far-reaching implications
- AI platforms of all sizes can leverage cutting-edge models for their own goals and accelerate adoption across diverse use cases.
How Web Browsers are Rewarding Users for Surfing
Tags: browser, webdev, beginners, news
Published: 2023-11-19 13:08:15

- [Web browsers](https://thetechdeck.hashnode.dev/browse-and-earn-how-web-browsers-are-rewarding-users-for-surfing) can now incentivize usage through built-in rewards programs
- Brave rewards users with cryptocurrency for viewing advertisements
- Opera provides cashback on purchases made through the browser
- Microsoft Edge rewards users for using Bing as a search engine, shopping at Microsoft's store, playing Xbox games, and more
- CryptoTab mines bitcoin in the background while users browse
- These browsers create new value for users beyond just accessing the web
- The top options for rewarding web browsers include Brave, Opera, Microsoft Edge, and CryptoTab
- Each browser has its own unique mechanisms for incentivizing usage
- Users can earn cryptocurrency through Brave Rewards, Opera Rewards, or CryptoTab's passive Bitcoin mining
راهنمای خرید انواع یخچال ایستاده از تک درب تا شش درب
Published: 2023-11-19 13:06:05

در ابعاد و اندازه های استاندارد
به کارگیری از بهترین کمپرسور ها و سیستم های سرمایشی پر قدرت
به کارگیری از بهترین و درجه یک ترین متریال و مواد اولیه
برخورداری از کیفیت ساخت بالا و قیمت مناسب
ارسال به سراسر کشور
فروش به صورت تکی و عمده
لینک سایت
[https://yakhchalsazan.com/category/%DB%8C%D8%AE%DA%86%D8%A7%D9%84-%D8%A7%DB%8C%D8%B3%D8%AA%D8%A7%D8%AF%D9%87](https://yakhchalsazan.com/category/%DB%8C%D8%AE%DA%86%D8%A7%D9%84-%D8%A7%DB%8C%D8%B3%D8%AA%D8%A7%D8%AF%D9%87)
Intermediate HTML and CSS Course | Day 1
Tags: webdev, html, tutorial, learning
Published: 2023-11-19 13:02:19

## Introduction
This is the first of the two part course where we dig deeper into HTML and CSS.

Our foundations lessons by design only scratched the surface of what's possible. We wanted to give you all of the bare necessities for getting started so you could move on and be somewhat productive as quickly as possible, but now it's time to slow down and dig in!

You have probably realized by now that there are many more HTML elements than we mentioned in our foundations content. Throughout this course, we'll be hitting the rest of the important elements such as forms and tables.

There is also a lot more that you can do with CSS that you'll learn throughout this course, such as variables, functions, shadows and of course grid layouts! So buckle up! By the time you finish this course, you'll be able to recreate just about any web design you can find on the internet… which is an important skill to carry forward. Even if you are not shooting for a front-end specific job, being able to make your portfolio pieces look nice is important when it comes to making yourself stand out.

You'll learn about animations, accessibility, and responsive design in the second part of this course later in the curriculum.

---


## Assignment

> Read through this [HTML elements reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Element) to get an overview of what other HTML elements are available to you. No need to commit this to memory because you'll be learning the important parts as we go, but having a glance now will help the content stick later.

> Take a glance at a somewhat overwhelming looking [CSS Cheat Sheet](https://htmlcheatsheet.com/css/). Again, we don't need you to learn anything specific, or memorize anything from this list. Just use it to get a feel for what you still have left to learn!

---


## [about channel](https://www.youtube.com/@learnwithdanial417):
if you are interested to start your web development career - check out the videos on [my channel](https://www.youtube.com/@learnwithdanial417). Starting from basic HTML, CSS, JavaScript, and frameworks - you will find complete web development lessons completely free.

{% embed https://www.youtube.com/embed/J8SgskmoUPw %}

{% embed https://www.youtube.com/embed/-V3nh_Kae4U %}

{% embed https://www.youtube.com/embed/_MXEbTc2Ju4 %}

{% embed https://www.youtube.com/embed/vI_eSKkOgYI %}
Brainly's Innovative AI
Tags: ai, webdev, programming, beginners
Published: 2023-11-19 12:57:38

- [Brainly](https://thetechdeck.hashnode.dev/revolutionizing-homework-help-an-in-depth-look-at-brainlys-innovative-ai) is an online homework assistance platform that uses AI to provide personalized, interactive, and enjoyable experiences for students.

- The platform's suite of AI tools includes AI Tutor, AI-powered answers with 'Ginny', and enhanced features like Simplify, Expand, and Dive Deeper to adjust answers as per students' understanding. 

- Test Prep is Brainly's most anticipated offering, which allows teachers and students to create AI-generated practice tests to boost exam readiness by adapting to learning patterns and simulating test conditions. The platform uses advanced generative AI models, extensive knowledge graph, natural language processing, neural networks, and a mixture of experts (MoE) for optimization and iterative improvement. The key differentiators of Brainly AI are its holistic learning experience, adaptability, multimodal engagement, and ability to democratize access to personalized, personalized, and custom-based learning paths.

- In addition to its personalized and interactive nature, Brainly also offers scalability and scalability, making it a game-changer for teachers, students, and parents.
Commercial Kitchen Equipment Manufacturers In Delhi
Tags: commercialkitchen, refrigerationequipment
Published: 2023-11-19 12:50:39

[BRW India](https://www.brwindia.in/) has established itself as a leading manufacturer of commercial kitchen equipment and [commercial refrigeration equipment](https://www.brwindia.in/commercial-refrigeration-equipment.html) in Delhi. With an unwavering commitment to quality and innovation, the company offers a wide range of products that cater to the diverse needs of the foodservice industry. Their state-of-the-art manufacturing facility boasts advanced machinery and technology, ensuring precision and efficiency in every product they create. The team at BRW India comprises highly skilled engineers, designers, and technicians who meticulously design each piece of equipment with careful attention to detail. From cooking ranges, ovens, grills, fryers to refrigerators, freezers, cold rooms - their comprehensive portfolio covers all aspects of commercial kitchen requirements.

At BRW India, their dedication towards customer satisfaction is evident through their emphasis on durability and functionality. Every piece of [commercial kitchen equipment](https://www.brwindia.in/cooking-equipment.html) undergoes rigorous testing procedures to ensure it meets or exceeds international quality standards. By utilizing premium-grade materials sourced from trusted suppliers worldwide along with cutting-edge manufacturing techniques, BRW India ensures that their products are built for longevity while delivering optimal performance.Moreover, the company's deep understanding of the unique challenges faced by food businesses enables them to develop customized solutions tailored specifically for each client's requirements.

Whether it be designing modular kitchen layouts or providing efficient cooling solutions for perishable goods storage - BRW India strives to deliver innovative products that enhance operational efficiency while adhering to stringent safety regulations.In addition to superior product quality and customization options, BRW India also takes pride in its prompt after-sales service
Introduction!!!
Tags: introduction, newbie
Published: 2023-11-19 12:00:04


Hey Dev.io Community,

Thrilled to be here! I'm IntNinja, an aspiring Computer Science and Cyber Security enthusiast from India. Currently juggling the student life, diving deep into the bits and bytes.

Super stoked to join this community of tech wizards and code wranglers. Let's share some knowledge, unravel tech mysteries, and maybe crack a few virtual codes together.

Big thanks to the Dev.io crew for having me in. Excited for the ride ahead!

Cheers,
IntNinja
Switchiify and programming and world and trusted information
Published: 2023-11-19 11:48:50

**WELCOME TO SWITCHIIFY NEW PLACE TO GET ALL INFORMATION ABOUT TECNOLOGY.**
What I want for switchiify and the future of it.
Switchiify is a new platform where users go and visit some information so called HUMAN TRUSTED CONTENT.  You can find there different topics and more about modern science, social life and educational information.

Switchiify is new and growing. It has social media features to connect publishers and content writers with there followers hence making it unique as it has a mobile application only  the social media version we believe to compete with facebook and IG soon.
Kind of dreaming but it is quite true. Am the creator and am no longer the guy thinking how we are gonna grow because everything is planned. We want to collect all the human knowledge in one place since most of the content now days are AI BASED.

**Switchiify future fear of unreal content and fallacy information**

Yes, in feature we will lack some of the useful topics from real people arent you concerned? Please it is a mission for Switchiify.
Switchiify also want to keep it's community connected social we have switchiify social and SwitchChat. All available on web version, for the app wait as we want to supprise every body. We will reach our goal by the end of **2024**.

**Switchiify size.**

Our board of members aren't much big just we want to make difference. We have partnership with other companies and also some companies have some portion of switchiify. We are planning to open  branches abroad so that our mission can be accomplished. Also we have 10 employees and our team all we are in same fields and yeah as I said, my time and I we have a goal to grow and be big.

**Support us for the grow of Switchiif. We will too focus on providing all the best human being  may neeed mainly on connecting the world and preserving the true trusted information on switcchiify**. Those who want to help us you can contact the following emails
mubapitste2005@gmail.com
 batizofht2005@gmai.com


LAST WORDS, I THANK YOU AND HOPE WE WILL REMMEBER THIS ALLTOGETHER

Much love
Mu Baptiste