teleren/devto huggingface dataset:
CSS Art - Warholizer
Tags: frontendchallenge, devchallenge, css
Published: 2024-06-05 15:30:21

_This is a submission for [Frontend Challenge v24.04.17](https://dev.to/challenges/frontend-2024-05-29), CSS Art: June._

## Inspiration
June is a very lively month, with bright colors, warmth and energy.

For the CSS Art of June contest, I created the "Warholizer", a project that takes ordinary images and transforms them to recreate the iconic, vibrant look of Marilyn Monroe in Andy Warhol's famous pop art paintings. 

Using CSS filters, the Warholizer  transforms any ordinary image into a brightly colored work of pop art to reflect the joyful, festive atmosphere of June.

## Demo 
{% codepen https://codepen.io/alexandrevacassin/pen/rNgwOZp %}

## Journey 
I set out to explore how to colorize specific parts of an image using filters. I incorporated SVG drawings directly into the HTML for various elements: background, hair, face, eyelids, and lips. I learned to blend CSS and SVG filters to create a distinctive look for an image.

To optimize the HTML code, I worked with a single image that is duplicated four times using jQuery. The basic colors are then applied according to the image sequence (1, 2, 3, 4).

I had fun creating functions that allow users to experiment with colors by varying the "hue-rotate" of each image, resulting in a unique artwork. The "Play" button changes the "hue-rotate" of the images randomly, and a "Show Original" button lets users view the original image.

This project was fun and gave me a better understanding of CSS and SVG filters.

<!-- Team Submissions: Please pick one member to publish the submission and credit teammates by listing their DEV usernames directly in the body of the post. -->

<!-- We encourage you to consider adding a license for your code. -->

<!-- Don't forget to add a cover image to your post (if you want). -->

<!-- Thanks for participating! -->
Debouncing in React
Published: 2024-06-05 15:00:07

```JS
npm install lodash.debounce
import debounce from 'lodash.debounce'
```


```JS
const doCityFilter = query => {
  if (!query) return setFilteredCities([])

  const debouncedFilter = debounce(() => {
    console.log('====>', query)
    setFilteredCities(citiesArray.filter(
      city => city.toLowerCase().includes(query.toLowerCase())
    ))
  }, 500)

  debouncedFilter()
}
```
How safe is your prescription information online?
Published: 2024-06-05 15:20:03

https://bit.ly/3yMW1Ru
Ensuring the safety of your prescription information online is crucial. DiRx emphasises the importance of understanding who has access to your health data, how it is used, and the security measures to protect it. With HIPAA compliance and secure database protocols, DiRx guarantees that your private health information remains confidential and safe.
#Onlinepharmacysecurity#ProtectinghealthinformationHIPAA-compliant pharmacy#Secureprescriptioninformation#Onlineprescriptionprivacy#Health informationsecurity# Safeonlinepharmacy#ProtectPHIonline#Securehealthdata#Online pharmacyprivacy#Privacylawpharmacy##ProtectinghealthinformationHIPAA-compliant pharmacy#Secureprescriptioninformation#Onlineprescriptionprivacy#Health informationsecurity# Safeonlinepharmacy#ProtectPHIonline#Securehealthdata#Online pharmacyprivacy#Privacylawpharmacy# HIPAAverifiedpharmacy#LegitScriptcertified pharmacy#Protectingprescriptiondata#Pharmacydataencryption#Confidentialhealth information#Privacyinonlinepharmacies#Secureonlinemedication# Protectedhealth information#Onlinepharmacycompliance
6 Free Tailwind CSS Modal/Dialog Components [Open-Source]
Published: 2024-06-05 15:12:18


We’ve put together a collection of awesome modal component examples, and we’re happy to share them with you. Modals are essential for creating user interfaces, providing a simple way to interact with users - whether you need a simple alert, a detailed form, or more.

These components are coded with **[Tailwind CSS](https://tailwindcss.com/) and [Material Tailwind](https://www.material-tailwind.com?ref=devto)** and the best thing...**they are free and open-source**!

You can copy-paste them directly to your projects. The links to each component's source code can be found below each example.

Happy coding 👨‍💻

## Modal Component Examples
### 1. Small Modal

This component example works perfectly for simple alerts or confirmation messages thanks to its compact size and centered position.

![small tailwind modal](https://i.imgur.com/YXZzl0a.png)
Get the source code of this [small modal example](https://www.material-tailwind.com/docs/html/dialog#dialog-sizes?ref=devto).

### 2. Large Modal

Use this large modal example for displaying extensive content, like detailed information or forms.

![large tailwind modal](https://i.imgur.com/Zi6CuzA.png)
Get the source code of this [large modal example](https://www.material-tailwind.com/docs/html/dialog#dialog-sizes?ref=devto).

### 3. Form Modal

This modal example is designed specifically for forms, containing input fields for user credentials or other data.

![form tailwind modal](https://i.imgur.com/dRkwZeb.png)
Get the source code of this [form modal example](https://www.material-tailwind.com/docs/html/dialog#dialog-with-form?ref=devto).

### 4. Image Modal

Try this modal example for viewing images or graphics in a larger format without leaving the current page.

![image tailwind modal](https://i.imgur.com/uQ1Tech.png)
Get the source code of this [image modal example](https://www.material-tailwind.com/docs/html/dialog#dialog-with-image?ref=devto).

### 5. Web 3.0 Modal

This modal is designed for web 3.0 developers who want to create interfaces for connecting cryptocurrency wallets. It allows users choose from wallet options like MetaMask, Coinbase, and Trust Wallet.

![web 3 tailwind modal](https://i.imgur.com/28PuMYP.png)
Get the source code of this [Web 3.0 modal example](https://www.material-tailwind.com/docs/html/dialog#web-3-dialog?ref=devto).

### 6. Alert Modal

Use this Tailwind CSS block to display important alerts or warnings to the user.

![alert tailwind modal](https://i.imgur.com/ohb2wdW.png)
Get the source code of this [alert modal example](https://www.material-tailwind.com/blocks/modals?ref=devto).

🚀 Looking for even more examples?
Check out our open-source **[Tailwind CSS components library](https://www.material-tailwind.com/?ref=devto)** - Material Tailwind -  and browse through 500+ components and website sections.

🤖 Or you can also generate customized blocks easily using the power of AI. Try now for free [Magic AI Blocks](https://www.material-tailwind.com/magic-ai)!
HOW TO HOST AN APPLICATION USING GITHUB
Published: 2024-06-05 14:46:48

As a beginner I always had the doubt where I can host my application or portfolio freely. With online platform I found out the one of the easiest way to host an application using Github. Today I am going to write about the steps involved in hosting the application using github.

**STEP 1: CREATE A REPOSITORY**

- Login to your github account

- Create a repository

1. Tap on the "New" option on top right corner

2. Provide Repository name.

3. Give the description if you wish.

4. Make your repository public/private based on your choice.

5. Tap on Create Repository on the bottom right corner.


**STEP 2: UPLOAD YOUR APPLICATION FILES**

- Upload all the files that are involved in your application.

- You can refer "https://dev.to/vidyarathna/getting-started-with-github-3a7d" this article from @vidyarathna to upload your files to the github using git.


**STEP 3: ENABLE GITHUB PAGES**

- Open your repository.

- Go to settings and open "Pages" option.

- Select "main" branch from the dropdown under Branch.

- Once you choose the branch save it.


**STEP 4: ACCESSING THE APPLICATION**

- Once you save you the branch you will see a message on the top.

- Message on the top contains the URL to your application which will be in the format "https://your-username.github.io/my-app".

- You can tap on the "Visit site" on the right side of the URL.

- You can visit your application and perform preferred action using this.

You can also select Custom domains to host your applications. You can check Github's documentation for more details. Github's pages site is more suitable for static websites. It is better to use other hosting solutions for dynamic sites.
Device limit reached for this Apple ID - Solution
Tags: apple
Published: 2024-06-05 14:46:28

During the new device onboarding process, if you have been using the Apple ecosystem for a while and have changed multiple devices over time, you may encounter the Device Limit issue that Apple displays when you try to use your device with Apple Music (and likely other media apps as well) but you have a number of devices already associated with your Apple ID.

Apple's instructions for addressing this issue are outdated. They refer to buttons that no longer exist, likely due to previous operating system versions. Additionally, a solution to this problem does not appear to have been posted online prior to [my comment](https://www.reddit.com/r/iphone/comments/1at4bg1/comment/kzcmolp/) on Reddit. It received significant attention, so I decided to cross-post the solution here to help more people find it.

## MacOS solution
Follow these steps to access the interface that allows you to remove old devices from your media limit count.
1. System settings
2. Apple ID
3. Media & Purchases
4. Account - Manage
5. Hidden Items section - Manage Devices
![hidden items](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ii760xgu2ccgom17xzow.png)

6. Click "Remove" on each device you no longer use, allowing you to access Apple Music on your new device.
![manage devices](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eijgz3vrq0f1wvbhskqc.png)

7. Enjoy!
Making Spring Transactions Transparent with Detailed Logging
Tags: java, springboot, spring, programming
Published: 2024-06-05 14:42:39

**TL;DR**
{% embed https://youtu.be/riNWDhiv3fk %}

While working on my latest video on Transactions, I found a very useful logging configuration. By enable/configuring these log levels, you can gain valuable insights into your application’s transaction flow.

This makes Spring Boot to display detailed information related to Spring/JPA Transactions wherein you can see Transactions being created, joined, committed, and rolled back.

**Configuring log levels**

Here’s a quick look at how you can set up detailed logging in your Spring Boot application:

Add these configurations to your application.yml file
>  Note — for application.properties just change the format of keys and corresponding values.

    spring:
      datasource:
        username: root
        password: mysql@123!
        url: jdbc:mysql://localhost:3306/hibdemo
      jpa:
        show-sql: true
        hibernate:
          ddl-auto: create
    logging:
      level:
        org.springframework.orm.jpa.JpaTransactionManager: debug
>  Notice the last section where we’re setting the logging level.

This setting will provide detailed logs that include when transactions are created, committed, and rolled back. This makes it easier to follow the flow and understand what’s happening under the hood.

Here’s how it would look like when you run the application:


![Application logs](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xlcx53uqss1tnjunl4rt.png)

If you’re interested in a more in-depth explanation, including practical examples and best practices, check out my detailed YouTube video on Spring Transactions. In the video, I cover everything you need to know about managing transactions in Spring Boot, from basic concepts to advanced settings.

I hope this post helps you get a better grasp of Spring transactions and logging. If you have any questions or need further clarification, feel free to leave a comment below or reach out on social media.

Happy coding!
Burger king carte prix
Published: 2024-06-05 14:42:15

La [burger king carte prix](https://prixdesmenus.com/burger-king-menu/) comprend également une variété d'options à la carte pour ceux qui préfèrent personnaliser leur repas. Des sandwichs aux salades, en passant par des accompagnements comme les onion rings et les nuggets de poulet, chaque élément est proposé à un prix transparent. Cela permet aux clients de composer leur propre festin selon leurs envies et leur appétit, tout en maîtrisant leur budget.
Menú de Caffenio Precios
Published: 2024-06-05 14:34:14

Consultar el [menú de Caffenio precios](https://mxmenu.org/caffenio-menu/) te permitirá planear tu visita sin sorpresas. Los precios del menú de Caffenio son competitivos y reflejan la calidad de sus productos. Ya sea que busques una opción económica o un capricho, el menú de Caffenio precios tiene algo para ti.
Introducing sudoku-puzzle: Simplify your Sudoku experience with this new NPM Package
Tags: npm, opensource, showdev, codenewbie
Published: 2024-06-05 14:30:00

Hi there 👋

I'm excited to share the release of sudoku-puzzle, my newest npm package! This package is for puzzle lovers who wish to produce and solve Sudoku puzzles programmatically, or for developers who want to incorporate Sudoku puzzles into their applications.

## What makes Sudoku so special?

Numerous millions of individuals worldwide have long considered sudoku to be their favourite past time. It's a great mental workout because of how easy yet difficult it is. Developers can also learn a lot about algorithm design, pattern recognition, and even artificial intelligence through sudoku puzzles.

## Presenting the sudoku puzzle

The goal of the sudoku-puzzle package is to serve as a complete toolkit for anything related to Sudoku. It has many features that facilitate the creation, resolution, and validation of Sudoku problems.

{% embed https://github.com/DhanushNehru/sudoku-puzzle %}

_Feel free to support the repository by starring it ⭐️⭐️⭐️⭐️⭐️_

## How to Get Involved

Check out existing issues or create new ones: [Issue Tracker](https://github.com/DhanushNehru/sudoku-puzzle/issues) 
Provide feedback or suggestions: Either in the comments below or raise [new issues](https://github.com/DhanushNehru/sudoku-puzzle/issues/new) in the repository

## Contributions & Ideas

Its currently opensource and its open for contributions and ideas to enhance the npm project. Whether you're a developer, programmer, or just a coding enthusiast, your input is invaluable!

## Getting Started

Getting started with sudoku-puzzle is a breeze. First, you need to install the package via npm:

```javascript
npm install sudoku-puzzle
```

You can check more on the npm page part on how to use it

{% embed https://www.npmjs.com/package/sudoku-puzzle %}

_Thanks for reading, please give a like as a sort of encouragement and also share this post in socials to show your extended support._

**Connect** ⬇️ 
[**Twitter**](https://twitter.com/Dhanush_Nehru) **/** [**Instagram**](https://www.instagram.com/dhanush_nehru/) **/** [**Github**](https://github.com/DhanushNehru/) **/** [**Youtube**](https://www.youtube.com/@dhanushnehru?sub_confirmation=1) **/** [**Newsletter**](https://dhanushn.substack.com/) **/** [**Discord**](https://discord.com/invite/Yn9g6KuWyA)
The beauty of simplicity
Tags: gamedev, programming
Published: 2024-06-05 14:28:16

_image credit: nintendo.com_

Im watching the TV series “Halt and Catch Fire”📺, and there is an episode featuring the classic Nintendo game Duck hunt🦆🎮, that caught my interest. This was a game I played in my childhood, and I asked myself how I would make the game today from a technical point of view. It probably would involve camera, computer vision and machine learning to determine if you aimed on a target with the gun. However, there were some constraints back then, so I searched online how they did it:

When you press the trigger of the gun, the game screen briefly goes black. Then, each target is displayed as a white box against this black background, one after the other, for just a split second. The gun has a light sensor, and if this sensor detects the bright light from one of these white boxes when it is displayed, the game registers it as a hit.

Sometimes the best way is to keep things simple and effective, even if im surrounded by complicated technology.
Tell me i m right or wrong
Tags: javascript, webdev, beginners, programming
Published: 2024-06-05 14:25:18

<!--   Radio Button Fetch And Display Input-->
	     <!-- <!DOCTYPE html>
	     <html>
	     <body>
	         <input id="male" type="radio" value="Male" name="gender"> Male
	         <input id="female" type="radio" value="Female" name="gender"> Female
	     
	         <button onclick="radio()">Click Me</button>
	         <script>
	             function radio() {
	                 // Using querySelector to find the checked radio button and get its value
	                 let selectedGender = document.querySelector('input[name="gender"]:checked').value;
	                 alert("You Selected " + selectedGender);
	             }
	         </script>
	     </body>
	     </html> -->
	1) Does in this code the  querySelector will check input like radio or text or date anything now are radio than code will see name and after checked will check the checked radio and display with the help of alert I m right
Tell me i m right or wrong
Tags: javascript, webdev, beginners, programming
Published: 2024-06-05 14:25:15

<!--   Radio Button Fetch And Display Input-->
	     <!-- <!DOCTYPE html>
	     <html>
	     <body>
	         <input id="male" type="radio" value="Male" name="gender"> Male
	         <input id="female" type="radio" value="Female" name="gender"> Female
	     
	         <button onclick="radio()">Click Me</button>
	         <script>
	             function radio() {
	                 // Using querySelector to find the checked radio button and get its value
	                 let selectedGender = document.querySelector('input[name="gender"]:checked').value;
	                 alert("You Selected " + selectedGender);
	             }
	         </script>
	     </body>
	     </html> -->
	1) Does in this code the  querySelector will check input like radio or text or date anything now are radio than code will see name and after checked will check the checked radio and display with the help of alert I m right
How I Developed a Recipe Selector App Using Python and Tkinter
Tags: beginners
Published: 2024-06-05 14:23:43

As an enthusiast of both programming and cooking, I've always wanted to merge my passions into a single project. That’s why I decided to develop a recipe selector app that not only helps me organize my favorite recipes but also gave me a chance to dive into the world of GUI development with Python. This post outlines my journey in creating this initial application and explores the broad possibilities for future improvements and expansions.

![Initial Project](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a6n797hkmdacrnse0dta.png)

The "Recipe Selector" app allows users to choose recipes based on the time of day: breakfast, lunch, snack, or dinner. Using a graphical interface developed with Tkinter, the program offers an interactive user experience, enabling easy navigation through options and viewing details for each selected recipe.

To bring this project to life, I used Python for its flexibility and the wealth of supporting libraries. The graphical interface was crafted with Tkinter, a standard Python library that allows for relatively straightforward and effective user interface construction.

During development, I faced several challenges, particularly in integrating the backend logic with the graphical interface seamlessly. One of the biggest hurdles was ensuring that the interface responded appropriately to user interactions. I resolved this by structuring the code so that each GUI component was responsible for a specific function, facilitating maintenance and future updates.

This project was an excellent opportunity to deepen my understanding of Python and explore GUI development with Tkinter in detail. I learned about the importance of interface design in user experience and how thoughtful design can facilitate app usability.

The "Recipe Selector" is in its initial phase, and there is a vast field of improvements that can be implemented, such as:

1. Adding functionality to adjust recipes based on the number of servings.
2. Incorporating a feature to save favorite recipes.
3. Enhancing the interface aesthetics with custom themes and icons.
4. Integrating a more robust database to increase the number of recipes available.

I invite everyone to explore the code on my GitHub repository (https://github.com/codecounsel/recipe-selector) and contribute suggestions for improvements or new features. Your feedback is crucial in helping this project grow and improve!

Developing the "Recipe Selector" was an incredibly enriching journey that united two of my great passions: programming and cooking. I am excited to continue working on this project, expanding its capabilities, and refining its interface. I look forward to any feedback that can help take this project to the next level!

Note: The language used in the code examples is Portuguese because I'm Brazilian, and I'm currently the only one using it, lol! I hope this adds a little local flavor to the programming recipes I share!
Semak Rekod Jenayah Melalui Kad Pengenalan Ketahui Keadaan Keselamatan Anda dengan Mudah
Published: 2024-06-05 14:12:36

Semak rekod jenayah mungkin menjadi salah satu langkah penting dalam memastikan keselamatan diri dan keluarga. Dalam era digital yang semakin canggih seperti sekarang, pelbagai platform telah dibangunkan untuk memudahkan orang ramai semak rekod jenayah mereka.

Salah satu cara yang semakin popular adalah melalui penggunaan kad pengenalan. Dengan hanya menggunakan nombor kad pengenalan seseorang, anda boleh mendapatkan akses kepada maklumat keselamatan mereka dengan mudah dan cepat.

Kelebihan **[Semak Rekod Jenayah Melalui Kad Pengenalan](https://www.hargaemasmy.com/semak-rekod-jenayah-melalui-kad-pengenalan)**
Mudah dan Cepat: Proses semakan rekod jenayah melalui kad pengenalan adalah pantas dan mudah. Anda hanya perlu memasukkan nombor kad pengenalan individu yang ingin disemak, dan dalam beberapa ketikan, maklumat keselamatan mereka akan dipaparkan.

Aksesibiliti: Dengan kemajuan teknologi, platform-platform untuk semakan rekod jenayah melalui kad pengenalan boleh diakses dari mana-mana sahaja, selagi terdapat sambungan internet. Ini membolehkan individu mengakses maklumat keselamatan mereka pada bila-bila masa dan di mana sahaja.

Privasi Terjamin: Meskipun proses semakan rekod jenayah melibatkan penggunaan nombor kad pengenalan, privasi individu dijamin. Data peribadi hanya digunakan untuk tujuan semakan keselamatan dan tidak disalahgunakan untuk tujuan lain.

Bagaimana Untuk Semak Rekod Jenayah Melalui Kad Pengenalan
Semak rekod jenayah melalui kad pengenalan adalah proses yang mudah. Anda boleh melakukannya melalui pelbagai platform dalam talian yang disediakan oleh agensi-agensi penguatkuasa undang-undang atau pihak berkuasa keselamatan.

Untuk memulakan proses semakan, anda hanya perlu mengakses laman web atau aplikasi yang menyediakan perkhidmatan tersebut. Kemudian, ikuti arahan yang diberikan untuk memasukkan nombor kad pengenalan individu yang ingin anda semak. Dalam beberapa ketikan, maklumat keselamatan mereka akan dipaparkan.

Peringatan Penting
Walaupun semakan rekod jenayah melalui kad pengenalan adalah berguna, adalah penting untuk menggunakan maklumat yang diperoleh dengan bijak. Janganlah menyalahgunakan maklumat tersebut untuk tujuan yang tidak bertanggungjawab atau melanggar undang-undang privasi.

Link Berguna
Untuk maklumat lebih lanjut mengenai semakan rekod jenayah melalui kad pengenalan dan kegunaannya, anda boleh mengunjungi laman web **[Harga Jual Emas](https://www.hargaemasmy.com)**. Mereka menyediakan maklumat yang berguna mengenai pelbagai isu keselamatan dan kemasyarakatan, termasuk teknik-teknik untuk menjaga keselamatan diri dan keluarga.

Dengan keselamatan sebagai keutamaan, semak rekod jenayah anda melalui kad pengenalan hari ini juga! Langkah kecil ini mungkin boleh menjimatkan anda dari banyak masalah di masa depan.