teleren/devto huggingface dataset:
WhatsApp Quick_reply and List Buttons (baileys library). Buttons Patch and Message Filterization
Published: 2024-05-18 11:14:58


Today, I am going to explain WhatsApp's new buttons introduced in April 2024, which can be sent via Baileys.

1. About WhatsApp:
WhatsApp is a cloud messaging application that allows users to chat, call, and connect online virtually. With its global reach, WhatsApp serves as a reliable means to connect with people worldwide.

2. About WhatsApp Business API:
Meta Inc., the parent company of WhatsApp, introduced a business API enabling companies and small businesses to conduct mass broadcasts, along with specialized buttons (such as text copy buttons, sendable quick reply buttons, call buttons, set reminder buttons, hydrated linked buttons, and list buttons), providing them with a simple and efficient way to interact with their customers. It's important to note that this API is a paid service.

3. About Baileys:
Baileys is a library that allows you to send messages on WhatsApp, including mass broadcasting along with buttons. Developed by Adhiraj Singh during his time at CS-2362 at Ashoka University, Baileys was initially created for educational purposes. Due to high demand, Adhiraj began maintaining this library for public use. However, WhatsApp later requested him to cease development and remove Baileys, as it violated their policies. Despite Adhiraj deleting the library, its open-source nature led to other developers, including Team Whiskeysockets, continuing its maintenance and updates.

4. About Old Buttons (WhatsApp Buttons):
Initially, WhatsApp attempted to patch the buttons sent via Baileys, but their efforts were unsuccessful as Baileys utilized a similar system to WhatsApp's API. Subsequently, WhatsApp tried to remove Baileys from GitHub and NPM, but their attempts failed due to its open-source nature. Eventually, WhatsApp managed to patch the buttons by making minor changes to their Business API and filtering Baileys buttons. However, developers managed to decrypt WhatsApp Web's system and restore the buttons. Afterward, WhatsApp removed the buttons from their Business API and introduced a new button system, effectively patching Baileys buttons. After 1-2 years, a developer decrypted and found a way to restore the buttons, allowing users to once again send buttons via Baileys as of February 2023.

5. About New Buttons Patching:
As mentioned earlier, WhatsApp introduced a new button system after being unable to patch the old Baileys buttons. It is anticipated that this new system will also face challenges, and WhatsApp may introduce further updates in the future.

6. About Baileys Message Filterization (Extra Information):
It is currently impossible to filter messages sent via Baileys unless WhatsApp undergoes a complete overhaul of its messaging system, as Baileys uses the same messaging system as WhatsApp Business API and WhatsApp Web.

Thank you for reading this article.

Note: All information provided is based on my knowledge, and some details may be subject to inaccuracies.

Written by Shizo The Techie (Yugesh Singh),
Developer of S.AI (formerly known as Sang-MD)
How Dogecoin Works?
Tags: dogecoin, cryptocurrency, asic, bitcoin
Published: 2024-05-18 11:13:56

**[Dogecoin](https://asicmarketplace.com/blog/what-is-dogecoin/)**, a blockchain-based digital coin, has a rich history. Dogecoin was created as a fork from Luckycoin. Luckycoin had split from Litecoin (a modified version Bitcoin), which itself was a fork. Dogecoin is a fork of Luckycoin.

Dogecoin is a cryptocurrency that uses a "supplementary proof of work" technique. This allows miners the opportunity to mine Dogecoin free while simultaneously working on other crypto currencies with proof-of work, notably Litecoin.

The transaction request from the owner is the first step in the working process. All Dogecoin miner are informed to continue the process after the request has been sent. The miners compete to solve mathematical puzzles and validate transactions as quickly as possible to earn DOGE coins.

The network validates a block after the miners have used all of their computational resources. The block rewards are given to the miners after the validation. The miners get 10,000 Dogecoins per block that they successfully mine.
Build an awesome developer portfolio website.
Tags: portfolio, devpolio, webdev, nextjs
Published: 2024-05-18 11:08:29

As a software developer, it's important to have a robust portfolio website that can display our abilities and experiences. To assist other developers, I have designed a portfolio website using Next, Tailwind CSS, and EmailJS. In this article, I will provide a step-by-step guide on the setup process, along with the GitHub link.

**Here is the live preview:**
[Live preview url](https://itzmesalamu.netlify.app/)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fu1rx19lmn7stbusp0db.png)
**STEP 01:**
Clone the Repository using GitHub link and change the directory to the developer-portfolio.

```
git clone https://github.com/itzmesalamu/who-is-salamu.git
cd developer-portfolio
```
**STEP 02:**
Now install all packages using npm or yarn.

```
npm install
# or
yarn
```
After installation, all packages, Now change all data on utils/data/* according to you. For example:

```
export const personalData = {
  name: "Salamu",
  profile: "/profile.png",
  designation: "Full-Stack Software Developer",
  description: "My name is Salamu....",
  email: 'itzmesalamu123@gmail.com',
  phone: '8709611320',
  address: 'Chennai,TamilNadu,India ',
  github: 'https://github.com/itzmesalamu',
  facebook: 'https://www.facebook.com/itzmesalamu/',
  linkedIn: 'https://www.linkedin.com/in/itzmesalamu/',
  twitter: 'https://twitter.com/itzmesalamu',
  stackOverflow: 'https://stackoverflow.com/users/itzmesalamu',
  leetcode: "https://leetcode.com/itzmesalamu/",
  devUsername: "said7388",
  resume: "https://itzmesalamu.netlify.app"
};
```
The devusername properties replace it with your dev.to username and it will fetch all blogs from your dev.to website.

**STEP 03:**
Now we will make a .env file and set up our Email.JS credential in a .env file. I am using EmailJs in this project for the user to send mail to me and It's free. The .env file will be the following:

```
NEXT_PUBLIC_EMAILJS_SERVICE_ID =
NEXT_PUBLIC_EMAILJS_TEMPLATE_ID =
NEXT_PUBLIC_EMAILJS_PUBLIC_KEY =
```
First of all, go to Emailjs.com and sign up for an account.

Make a email service using Gmail and take the Service ID and add it .env file as REACT_APP_YOUR_SERVICE_ID value.

Then make a Email template and take Template ID from the template setting and use it .env.

Then go to Account and take Public Key and use it in .env.

**STEP 04**:
Now the portfolio website is ready for the run. You can run it using npm or yarn.

```
npm run dev
# or
yarn dev
```
If you like the portfolio project Please give it a star on the GitHub Repository.
You can connect with me on Linkedin: https://www.linkedin.com/in/itzmesalamu/
LED screen maintenance services
Tags: led, screen, display, maintenance
Published: 2024-05-18 11:00:00

HOW TO MAINTAIN LED DISPLAY SCREEN?

1. Software updates
To Keep the software of the LED display screen up to date fix bugs, and introduce new features. You need to regularly check for updates and install them as recommended. To guarantee continued compatibility and functionality, update the display’s operating system according to the manufacturer’s instructions.

2. Cleaning and Dust removal
Our team is equipped with specialized cleaning tools and solutions to remove dirt, dust, and debris. By delicately cleaning every inch of the screen, we ensure that its display quality remains crystal clear and vibrant.

3. Pixel Testing and Replacement
Dead pixels can significantly impact your LED screen’s image quality. Our experts will detail test each pixel and replace any that are defective.

4. Temperature and Ventilation
To protect the LED screen components, keep the operating temperature and humidity within the specified range.

5. Content Management
At the time of maintenance, we completely manage and optimize content perfectly. you need to ensure that the content being displayed is optimized for the screen’s resolution and format to maintain visual clarity and impact.

Visit to know more Information: https://volkanoo.com/service/led-screen-maintenance-services/
Ibuprofeno.py💊| #110: Explica este código Python
Tags: python, spanish, webdev, learning
Published: 2024-05-18 11:00:00

## **<center>Explica este código Python</center>**
#### <center>**Dificultad:** <mark>Fácil</mark></center>

```py
def f(d):
    r = {}
    for key, value in d.items():
        r[value] = key
    return r
        
print(f({"a":1, "b":2, "c":3}))
```

👉 **A.** `{1: "a", 2: "b", 3: "c"}`
👉 **B.** `{"a":1, "b":2, "c":3}`
👉 **C.** `[1: "a", 2: "b", 3: "c"]`
👉 **D.** `(1: "a", 2: "b", 3: "c")`

---

{% details **Respuesta:** %} 

👉 **A.** `{1: "a", 2: "b", 3: "c"}`

Podemos hacer un sencillo intercambio de llaves por valores y regresar un nuevo diccionario iterando con el método `items()` y desempaquetando tanto llaves como valores. 

{% enddetails %}
How to Choose the Right Skincare Products for Your Skin Type
Published: 2024-05-18 10:46:33

Choosing the right skincare products is essential for maintaining healthy and radiant skin. With countless options available in the market, it can be overwhelming to find products that suit your skin type. At Kuts & Make, renowned as the best beauty parlour in Varanasi, we understand the importance of personalized skincare. Here's a guide to help you select the right skincare products for your specific skin type:
 1. Determine Your Skin Type
Before selecting skincare products, it's crucial to identify your skin type:
- Normal: Balanced skin with few imperfections.
- Oily: Excess oil production, prone to acne and shine.
- Dry: Lack of moisture, often feels tight or flaky.
- Combination: Both oily and dry areas on the face.
2. Understand Your Skin Concerns
Identify any specific skin concerns you want to address, such as acne, aging, hyperpigmentation, or sensitivity.
 3. Read Product Labels
Look for products that are formulated for your skin type and address your concerns. Pay attention to key ingredients and avoid harsh chemicals or fragrances that may irritate your skin.
4. Choose Gentle Cleansers
For all skin types, opt for a gentle cleanser that effectively removes dirt and impurities without stripping away natural oils.
 5. Moisturize According to Your Skin Type
- Normal to Oily Skin: Choose lightweight, oil-free moisturizers that hydrate without clogging pores.
- Dry Skin: Look for richer, emollient moisturizers that provide intense hydration and nourishment.
- Combination Skin: Use different moisturizers for oily and dry areas of the face, or opt for a lightweight, hydrating formula.
6. Incorporate Targeted Treatments
Select treatment products, such as serums or spot treatments, that address your specific skin concerns. For example, use salicylic acid for acne-prone skin or vitamin C for brightening and anti-aging benefits.
 7. Don't Forget Sun Protection
Regardless of your skin type, always use a broad-spectrum sunscreen with SPF 30 or higher to protect your skin from harmful UV rays.
8. Patch Test New Products
Before fully incorporating a new skincare product into your routine, perform a patch test to ensure it doesn't cause any adverse reactions or allergies.
9. Consult a Skincare Professional
For personalized recommendations and professional advice, visit Kuts & Make, the [best beauty parlour in Varanasi](https://g.co/kgs/QksEpbf
). Our experienced skincare experts can assess your skin type and concerns, and recommend products and treatments tailored to your needs.
Conclusion
Choosing the right skincare products is essential for achieving healthy and glowing skin. By understanding your skin type, concerns, and ingredient preferences, you can create a personalized skincare routine that effectively addresses your needs. For expert guidance and top-quality skincare products, visit[ Kuts & Make](https://g.co/kgs/QksEpbf
) in Varanasi, where beauty meets expertise.
Sanobar The Midtown Hotel
Tags: hotelsanobarthemidtown, hotelsinmussoorie, hotelsinuttarakhand, sanobarthemidtowninmussoorie
Published: 2024-05-18 10:33:01

[Sanobar The Midtown Hotel](https://staybook.in/hotels/staybook-sanobar-the-midtown-hotel-mussoorie), a haven for travelers seeking comfort and luxury. With a blend of modernity and traditional charm, Sanobar exudes elegance in everything from its stunning architecture to impeccable service

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/szlckx1mf01mykyiorv1.jpg)
As guests walk into Sanobar, they are greeted by a large, ornately decorated balcony, which provides an enjoyable experience. Every corner of the hotel showcases careful attention to detail, from meticulous artwork to soothing colors that create a sense of tranquility

The accommodations at Sanobar are designed as luxurious retreats, giving guests a pampered and relaxed feel. With comfortable beds, spacious living areas and panoramic views of Chandigarh, every room and room offers unparalleled comfort and convenience

Foodies will enjoy Sanobar’s culinary offerings that celebrate a variety of flavors from the region and beyond. Whether guests are tasting Indian delicacies or international dishes, there are culinary masterpieces to tempt the taste buds.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mv3ief7rdpoytq5pq0v9.jpg)
For relaxation and youth, Sanobar offers a range of wellness facilities, including a tranquil spa offering holistic treatments, a refreshing pool and a modern gym

In addition to wealth, Sanobar is committed to sustainability and community engagement, striving to make a positive impact on the environment and society.

**Sanobar in particular:** The Midtown Hotel is more than just a place to stay; It is a place where luxury meets hospitality. With personalized service and a commitment to excellence, every moment at Sanobar is unforgettable, ensuring that guests feel like royalty throughout their stay.
Safe Work Method Statements
Tags: swms
Published: 2024-05-18 09:09:10

[SWMS](https://service.farm/fm-farm/why-choose-fmfarm/), or Safe Work Method Statements, are important documents that outline the necessary safety measures and procedures for specific tasks in the workplace. While SWMS management is crucial for ensuring a safe working environment, managing an effective work safety regime depends on various factors


SWMS Activities
Complexity of Work: If a facility involves complex or high-risk activities, the creation and management of detailed SWMS can be time-consuming and require a deep understanding of the specific risks associated with each task. This complexity can make SWMS management more challenging.

Regulatory Compliance: Depending on the industry and location, there may be strict regulatory requirements regarding SWMS. Keeping up with these regulations and ensuring that all SWMS are in compliance can be a challenge for facility managers and service providers.


Regulatory Compliance
Documentation and Record Keeping: Managing and organizing a large number of SWMS documents, ensuring they are up to date, and maintaining records for compliance purposes can become a significant administrative burden.


Version control
Changes in Work Processes: As work processes evolve or change, SWMS need to be updated accordingly. Managing these changes and ensuring that the documentation reflects the current state of operations can be time-consuming.

Technology and Tools: The use of technology and specialised tools for SWMS management can either alleviate or exacerbate the challenges. A lack of suitable tools or outdated systems can contribute to the complexity of SWMS management.

Introducing FM Farm Compliance, a comprehensive tool that is fully integrated with the workorder and job management system.
Vue 3: Extending entire CSS/SCSS files to the children of a scoped parent component using :deep()
Tags: vue, javascript, css, nuxt
Published: 2024-05-18 10:32:27

Lets say for some reason you have now come to the realisation that you know have to isolate the CSS in a specific component from rest of the your project. Then, like the great Vue developer that you are you confidently scroll to your component's opening style tag and add the `scoped` attribute then call it a day. You check the project to confirm that your fix worked but you forgot that your component has its own child components which no longer inherit the CSS from the parent component because its now `scoped`. How do we fix this?

Enter the `:deep()` pseudo-class

The deep selector allows us to share CSS classes between a scoped parent and its child components. Today I am going to show you how to do it with entire CSS/SCSS files.

First install SASS into your project with the following code in your terminal `npm i -D sass sass-loader`

Here is an example of how a parent component will extend its imported CSS files to its child components:

```
<template>
   <Child-1 />
   <Child-2 />
   <Child-2 />
</template>

<style lang="scss" scoped>
  :deep() {
    @import "./css/style-1";
    @import "./css/style-2";
  }
</style>
```

Important Note. Remember in SASS when importing a CSS/SCSS file you don't add the `.css`, `.scss` or `.sass` extension.
Hotel Pride Chandigarh
Tags: hotelsinchandigarh, hotelpridechandigarh, hotelpride, hotelschandigarh
Published: 2024-05-18 10:25:01

[Hotel Pride Chandigarh](https://staybook.in/hotels/staybook-hotel-pride-chandigarh) is a relaxing resort located in the heart of the city. With its warm hospitality and luxurious amenities, it is the perfect destination for travelers looking for relaxation. The hotel features modern rooms and suites, each designed with your comfort in mind, providing a peaceful night’s sleep.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bwautxlllq4fpjhc33wp.jpg)
Upon entering Hotel Pride, you are greeted by a friendly staff ready to assist you during your check-in. The entrance of the hotel offers a welcoming atmosphere, which adds to the experience.

For dining, Hotel Pride offers a variety of culinary delights, from local favorites to international dishes, served in a relaxed atmosphere. Whether you enjoy a hearty breakfast or a relaxed dinner, the hotel’s restaurants cater for every taste.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2qbltlusm1wa15wxt84x.jpg)
For relaxation, Hotel Pride offers facilities such as a swimming pool and fitness center where you can relax and rejuvenate. Whether you are traveling for business or leisure, Hotel Pride Chandigarh ensures a comfortable and memorable stay for every guest.
DIY Beauty Tips: Simple Home Remedies for Glowing Skin
Published: 2024-05-18 10:13:10

In the quest for radiant skin, you don't always need to break the bank or schedule frequent visits to a beauty parlour. Simple home remedies can work wonders in enhancing your skin's natural glow. At Kuts & Make, recognized as the best beauty parlour in Varanasi, we understand the importance of both professional treatments and easy DIY solutions for skincare. Here are some quick and effective DIY beauty tips to achieve glowing skin:
 1. Honey and Lemon Mask
Ingredients:
1 tablespoon of honey
1 teaspoon of lemon juice
Instructions:
1. Mix honey and lemon juice thoroughly.
2. Apply the mixture to your face.
3. Leave it on for 15-20 minutes.
4. Rinse off with lukewarm water.
Benefits: Honey moisturizes, while lemon brightens and exfoliates.
 2. Turmeric and Yogurt Mask
Ingredients:
- 1 tablespoon of yogurt
- 1 teaspoon of turmeric powder
Instructions:
1. Mix yogurt and turmeric to form a paste.
2. Apply it evenly on your face.
3. Let it sit for 10-15 minutes.
4. Rinse with lukewarm water.
Benefits: Turmeric reduces redness, while yogurt soothes and hydrates.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1h4pp1zutsmaulavishk.jpg)
3. Cucumber and Aloe Vera Gel
Ingredients:
 1/2 cucumber
 2 tablespoons of aloe vera gel
Instructions:
1. Blend cucumber into a puree.
2. Mix with aloe vera gel.
3. Apply the mixture to your face.
4. Leave it on for 20 minutes.
5. Rinse with cool water.
Benefits: Cucumber cools and hydrates, while aloe vera promotes healing.
4. Oatmeal and Milk Scrub
Ingredients:
2 tablespoons of oatmeal
1 tablespoon of milk
Instructions:
1. Mix oatmeal and milk to form a paste.
2. Gently massage onto your face.
3. Leave it on for 10-15 minutes.
4. Rinse off with lukewarm water.
Benefits: Oatmeal exfoliates, while milk softens and brightens.
 5. Tomato and Sugar Exfoliant
Ingredients:
- 1 ripe tomato
- 1 tablespoon of sugar

Instructions:
1. Dip the cut side of the tomato in sugar.
2. Rub gently on your face.
3. Leave juice on for 10 minutes.
4. Rinse with lukewarm water.
Benefits: Tomato's antioxidants fight free radicals, while sugar provides gentle exfoliation.
Incorporating these DIY beauty tips into your skincare routine can help you achieve a luminous complexion. While these remedies are effective, for more personalized treatments and expert advice, visit [Kuts & Make](https://g.co/kgs/QksEpbf), the best beauty parlour in Varanasi. Our skilled professionals offer a range of services that complement these DIY solutions, ensuring you shine with confidence. Experience the perfect blend of natural and professional skincare at Kuta & Make.
Hotel Ratangarh Palace
Tags: hotelsinratangarh, hotelsinjaipur, hotelratangarhplace, hotelinrajasthan
Published: 2024-05-18 10:13:07

Located in Jaipur, [Hotel Ratangarh Palace](https://staybook.in/hotels/staybook-hotel-ratangarh-palace-jaipur) is a luxurious retreat centered in the breathtaking surroundings of the pink city. The royal atmosphere and luxurious accommodations make for a pleasant stay here for travelers looking for a blend of comfort and luxury

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qb4erab6tw2b8mjksjm2.jpg)
Upon entering the Hotel Ratangarh Palace, you will be struck by the magnificence of its architecture and its warm atmosphere. The lobby of the hotel provides a relaxing experience, with beautiful decor and friendly staff ready to assist you.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c5ajh8ld3j6c15f0dber.jpg)
The rooms and villas of Hotel Ratangarh Palace are designed to provide a relaxing sanctuary after a day of exploring the sights of Jaipur. Each room is tastefully decorated and equipped with modern amenities to ensure guests have a comfortable stay.

When it comes to food, Hotel Ratangarh Palace offers a culinary tour with a restaurant serving local and international delicacies. Whether you fancy traditional Rajasthani delicacies or global flavours, the restaurant caters to your tastes.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wh6xthls4734gswf2oaj.jpg)
When relaxing, guests can relax by the hotel’s enjoy tranquil. With a relaxed atmosphere and professional service, Hotel Ratangarh Palace promises a memorable stay in Jaipur’s cultural richness
Automating React Project Setup with Bash Scripting
Published: 2024-05-18 10:11:29

As developers, we often face repetitive tasks when setting up new projects. Bash scripting, a powerful scripting language in Unix-like systems, allows us to automate these tasks efficiently.

In this post, I'll guide you through automating the setup of a React project with Tailwind CSS using Vite and pnpm. Check out the full guide [here](link-to-full-blog) for detailed steps and a sample Bash script to streamline your project setup.

Read more: [Full Blog Post](https://jaygupta.hashnode.dev/scaffolding-react-project-using-bash-scripting)