teleren/devto huggingface dataset:
How to Remove Duplicates from EML Files ?
Published: 2022-02-04 06:30:47

Have you ever noticed duplicate emails in EML? Sometimes an EML file may contain numerous copies of the same email message. A duplicate article can be anything

**Below are the most typical causes which making duplicate emails in EML data files:**

Typically, we obtain a ton of email messages every day. And occasionally we may obtain multiple copies of the exact email message. Some businesses send email messages (spam) regularly to advertise their creations and services. Since they’re auto-generated email notifications, you may obtain them better than one or multiple times. This will cause duplicate emails in the EML information file.

Visit at  https://www.osttopstapp.com/eml-duplicate-remover.html
Tips for Ionic Developers React / Vue
Tags: ionic, react, vue, programming
Published: 2022-02-04 06:18:13

### Try to avoid mixing Tabs and Menu for Routing

It introduces extra complexity and reduces flexibility. 
If you really think about it do you really need to mix them both?

---

### Changing Mode
By default, when an app is viewed in the browser, Ionic will apply the md mode. However, since Ionic components adapt according to their platform, it is helpful to be able to view what the app will look like on iOS. To do this, add `?ionic:mode=ios` to the URL where the app is being served. For example, if the app is served on port 8100, the url would be: `http://localhost:8100/?ionic:mode=ios.`

---

### Using a Debugger​
The debugger keyword can be used to debug an app. When most browsers encounters a debugger statement, running of JavaScript is stopped, and the browser will load its debugger. This can be used to set "breakpoints" in the app.

For example, if a function is not returning the correct value, the debugger can be used to step through the code and inspect variables.

```
 function myBrokenFunction() {
  debugger;
  // do other stuff
}
```
When an app runs, it will pause at this function. From there, the developer tools can be used to run pieces of JavaScript, line by line, and inspect where exactly the function breaks.

---

### 💡 One of the most fundamental principles of software architecture

Code that change together should stay together.
Remove query string from URL - Get URL Path - JavaScript
Tags: javascript, webdev, programming, tutorial
Published: 2022-02-04 05:59:32

> Below function may be useful for you for removing query string from URL and getting the URL Path only using JavaScript

```javascript
function getPathFromUrl(url) {
  return url.split(/[?#]/)[0];
}
```

or Minified Version

```javascript
let getPathFromUrl =t=>t.split(/[?#]/)[0];
```


Example :-

```javascript
let getPathFromUrl =t=>t.split(/[?#]/)[0];

var url = 'https://pngaaaclone.sh20raj.repl.co/?q=wallpaper&page=2?q=Nba%20Logo';
getPathFromUrl(url) //Output :- 'https://pngaaaclone.sh20raj.repl.co/' ;
```

### Checkout a new WebScrapperJS + WhollyAPI Project

{% github https://github.com/SH20RAJ/pngaaaclone %}

> Demo :- [https://pngaaaclone.sh20raj.repl.co/](https://pngaaaclone.sh20raj.repl.co/)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uc8s7bmghotagfdv3wep.PNG)
Python Beginners Guide - Conditional Statements
Tags: python, programming, tutorial, productivity
Published: 2022-02-04 05:43:21

Just like any other programming language python also supports use of conditional statements also known as decision making statements. They are used to determine if given condition is true or false.

But first before we take a look at some of the most common ones, let's begin by going through some of the basic comparison operators and how they are used:
* Equals (==)
* Not Equal (!=)
* Less than (<)
* Less than or equal to (<=)
* Greater than (>)
* Greater than or equal to (>=)

All of these comparison operators can be leveraged in the conditional statements mostly in **if statements** and **loops**.

## Types of Condition Statements

### 1. If Statement
It is the most commonly used, It's main purpose is to check if a statement is true or false.
*Syntax*
```python
if expression:
    statement
```
*example*
```python
x=10
y=15
if y>x:
   print("Y is greater")
```

### 2. If else Statement
It is a conditional statement that compares between two conditions. The **else** keyword helps you add some additional statements to your condition clause.
*Syntax*
```python
if (condition):
   #statement
else:
   #statement
```
*example*
```python
x=10
y=15
if y==x:
   print("Values are equal")
else:
  print("Values are not equal")
```

### 3. Elif Statement
Used to compare one or more statements, it is a shortcut of the *else if* condition.
*Syntax*
```python
if(condition):  
  statement    
elif(condition):  
  statement   
else:  
  else statement    
```
*example*
```python
x = 15  
y = 15  
if a < b:  
  print("a is greater")  
elif a == b:  
  print("a and b are equal")  
else:  
  print("b is greater")  
```

### 4. If-Not Statement
It let's  you check  for the opposite  condition to  verify whether thee value is Not True. The statements passed will execute if the value passed is False.
*Syntax*
```python
if Not value:
   statement
```
*example*
```python
list1 = [2,4,6,8]
y = 10
if y not in list1:
   print("Y is missing in the list")
```

### 5. Nested Statements
This is when an if statement is used inside another if statement.
*Syntax*
```python
if condition1:
   if condition2:
     statement
```
*example*
```python
x = 15
if x >= 0:
    print("Zero")
    if x == 0:
        print("Zero")
```

In this article we have gone through some of the common conditional statements we have in python, in the article I share more on loops and how they are used in python.

See you in the next one!

<a href="https://www.buymeacoffee.com/lary" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>

Connect With me at [Twitter](https://twitter.com/larymak1) | [GitHub](https://github.com/larymak) | [YouTube](https://www.youtube.com/channel/UCrT1ARRZfLOuf6nc_97eXEg) | [LinkedIn](https://www.linkedin.com/in/hillary-nyakundi)  |
How to Develop Apps with Flutter
Published: 2022-02-04 05:11:25

Flutter is a free and open-source mobile UI framework created by Google and released in May 2017. In a few words, it allows you to create a native mobile application with only one codebase. This means that you can use one programming language and one codebase to create two different apps (for iOS and Android).

Flutter developers are seeing the demand of a lifetime with entrepreneurs and businesses looking to develop cross-platform applications to expand or create a new business stream. Due to this reason, a lot of entrepreneurs are looking to find how to develop flutter apps.

If you have decided to develop an app with flutter then we would like to appreciate your choice because flutter solves a majority of the problems faced by entrepreneurs and developers. 

**The popular hiring models for flutter developers are:**
1. Hourly Developer 
2. Part-time Developer 
3. Full-time Developer

Based on the options you choose to hire a flutter developer the cost of hiring will vary. The approximate cost of the flutter developers I had hired was in the range of $15 - $40 per hour and in my opinion, it is quite reasonable in terms of the quality of the work and results I got.

Also, the most important thing to notice with the experience I had with the flutter developer is he delivered me the final result 2 days before the actual delivery date.

So, I hope this post helps you get a clear picture to develop an app in flutter or you can get in touch with experts at **WebClues Infotech** for more details on hiring a dedicated flutter developer.
Help! I have useEffect dependency array warnings
Tags: react, useeffect, javascript
Published: 2022-02-04 04:51:01

Running into issues when using useEffect in a React component is nothing new. How to understand and properly use useEffect (including my current issue) has been extensively covered by people like [Dan Abramov](https://overreacted.io/a-complete-guide-to-useeffect/#dont-lie-to-react-about-dependencies).

And yet, here I am! This is a short, hopefully clear explanation for the benefit of my future self when I inevitably forget what I've just learned. 

**The problem:**
Including an object as a dependency in my useEffect dependency array causes infinite looping. 

```
const params = {name: 'myName', id: 1}
<MyComponent params={params}/>

const MyComponent = ({ params }) => {
  const [nodes, setNodes] = useState([]);
  
  useEffect(() => {
    const res = axios.get('/my/request/url', params );
    setNodes(res);
  }, [params]);
}
```

And removing those dependencies from my useEffect dependency array brings up this warning:
`React Hook useEffect has a missing dependency: 'params'. Either include it or remove the dependency array.`

**The solution(s):**
1. Think about whether or not I actually need the object in my useEffect block (answer: probably yes or I wouldn't have put it in the dependency array in the first place, but good to be thoughtful).
2. If I do need the object, try to specify the values I am using, don't just reference the object or the array as whole. 
```  
useEffect(() => {
    const res = axios.get('/my/request/url', { name: params.name, id: params.id, });
    setNodes(res);
  }, [params.name, params.id]);
```
Another option is to suppress the linter warning, but this is generally *not* best practice, and may hide other bugs in the future): 
```  
useEffect(() => {
    const res = axios.get('/my/request/url', params);
    setNodes(res);
// eslint-disable-line react-hooks/exhaustive-deps
  }, [params]);
```


**Why this issue occurs:**
Basically, object equality in Javascript is confusing.
``` 
const object1 = { id: 1 };
const object2 = { id: 1 };
object1 === object2 // returns false
```
Objects (including arrays, dates, and plain objects) are compared by their reference. The comparison by reference checks to see if the objects given refer to the same location in memory...and here, they don't. 

For my case, `params' does not change between renders, but the useEffect only 'sees' the `params` object it has on a given render and compares it to the previous `params` object from the previous render. And comparing two objects as equal will return false, so the code inside the useEffect will execute again and again. 

**Other related issues and possible solutions:**
I read about another solution using refs explained well in ([this article](https://betterprogramming.pub/stop-lying-to-react-about-missing-dependencies-10612e9aeeda)). 
It didn't work for my particular situation since I needed the useEffect to execute with the initial props I was passing, but it seems like a useful idea for other scenarios. 

Hope this is helpful to someone else!
Two Easiest way to reverse the string in python👍🤪
Tags: beginners, python, devops, programming
Published: 2022-02-04 04:30:38

1)USING FOR LOOP❤️

def reverse(string):
    rev_string=""
    for i in string:
       
        rev_string= i+rev_string
    print("reversed string:",rev_string)

string="kishan" 
reverse(string)


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


2) USING RECURSION🚇

def reverse(s):
	if len(s) == 0:
		return s
	else:
		return reverse(s[1:]) + s[0]

s = "hello brain"

print ("The original string is : ",end="")
print (s)

print ("The reversed string(using recursion) is : ",end="")
print (reverse(s)

output:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gzlf93kzvzk0fxqhdeml.png)
Factorial in python using recursion and for loop
Tags: python, tutorial, beginners, factorial
Published: 2022-02-04 04:15:49

1) #USING FOR LoOp 😍😍

n=int(input("enter the number:"))
result=1

for i in range(n,0,-1):
    result=result*i

print(result)

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

2)# using recursion 😀😁
def fact(n):
    if n==0:
        return 1
    else:
        return n*fact(n-1)

print(fact(5))

output:![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bygscas7c8vfz3l0n8q2.png)
Self-Taught Developer Journal, Day 53: TOP Building Rock Paper Scissors UI cont.
Tags: webdev, beginners, codenewbie, devjournal
Published: 2022-02-04 04:13:54

Today, I'm still working on the JavaScript code. I began updating the elements in the UI for the selection, score, and result.

*"Remember that JavaScript does not alter your HTML, but the DOM - your HTML file will look the same, but the JavaScript changes what the browser renders."*

Tested computer and player selection output with the console.
![Console](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1vu8ee6xm2jqbprvwny9.png)
![JS Test](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hgd2cy706es99znj2mnt.png)

Tested updating elements in the UI. I want to ideally move location of the element in the center. I might need to create another div.
![UI Choices](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4x6aasmp8quuea1xvj92.png)

Tested updating round result and score.
![Default](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c8toqzw7mjf8xlx13co7.png)
![Test Result](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fo493fq4n79u8ixb1ryl.png)
 
## Resources
[The Odin Project](https://www.theodinproject.com/paths/foundations/courses/foundations/)
[Revisiting Rock Paper Scissors](https://www.theodinproject.com/paths/foundations/courses/foundations/lessons/revisiting-rock-paper-scissors)
How to Send E-mail Using Queue in Laravel 7/8
Tags: laravel8, email, php, queue
Published: 2022-02-04 03:40:11

In this tutorial, I will show you how to send e-mail using queue in laravel 7/8, many time we can see some processes take more time to load like payment gateway, email send, etc. 

Whenever you are sending email for verification then it load time to send mail because it is services. If you don't want to wait for the user to send an email or other processes on loading server side process then you can use queue.

In laravel 7/8 send mail using queue example we will set up mailtrap for sending an email. Laravel queues provide a unified queueing API across a variety of different queue backends, such as Amazon SQS, Redis, or even a relational database.

So, let's see send mail using queue in laravel 7/8 and laravel 7/8 mail queue example.

```
Step 1 : Install Laravel

Step 2 : Create Mail Setup

Step 3 : Configuration of Queue

Step 4 : Create Queue Job

Step 5 : Test Queue Job
```

---

> **_[Read More : How to Send E-mail Using Queue in Laravel 7/8](https://techsolutionstuff.com/post/how-to-send-e-mail-using-queue-in-laravel-7-8)_**
Make beautiful traffic-attracting websites w/ ‘WordPress Bible’.
Published: 2022-02-04 03:32:14

Hi,
Very few things have disrupted the digital marketing scene as greatly as WordPress has in the last decade.
Thanks to the platform’s free and simple content management system made it possible for anyone, regardless of levels of technical knowledge, to create impressive websites.
This possibility is boosted further by the seemingly endless library of themes and plugins.
Thus, makes it possible even for small businesses to compete with large, global companies that enjoy massive marketing budgets.
Therefore to help you get started, we had put together all the resources and created a ground-breaking “WordPress Bible” HD Video Training Course that will provide you the all the essential tips about how to use WordPress to increase your site profits.
Take a Look at what you are going to get inside…
Module #1 – Learning WordPress Basics
Module #2 – Mastering WordPress
Module #3 – Building Landing Pages With Elementor
Module #4 – Building Ecommerce Sites
Module #5 – Building Membership Sites
Module #6 – Building LMS Sites
Module #7 – Make Money With WordPress
And so much more… (133 Video Tutorials In TOTAL)
==>It’s One of a Kind Training Course, [Check it out Yourself](https://tinyurl.com/2p93xva9))
Here are just a few reasons why WordPress Bible Premium Membership is intrinsic for any business’ growth and success:
[+] WordPress has a 60.8% market share in the CMS market
[+] WordPress powers 14.7% of the world’s top websites
[+] 500+ sites are built each day using WordPress while only 60-80 per day are built on platforms like Shopify and Squarespace
[+] The WordPress Plugin Directory features 55,000+ plugins
[+] WooCommerce powers 22% of the top 1 million ecommerce sites in the world
And these facts understate the blooming popularity of WordPress.
Surely, by now you are jumping on your seats to get your hands on this Exclusive “WordPress Bible Premium Membership” HD Video Training course…..
So without much ado, let us present A Key to your Success.
==>Book your copy of this Training.. **[click here](https://tinyurl.com/2p93xva9)**
Sincerely,
AR onlines
P.S. According to Jim Cathcart, ‘Become the person who would attract the results you seek.’ This is your chance to be that person…Don’t let it slip away!
==> Save your price by clicking here **[Click to Check](https://tinyurl.com/2p93xva9)**
Make Profit-Pulling WP Sites!
Tags: webdev, java, typescript, android
Published: 2022-02-04 03:18:06

Very few things have disrupted the digital marketing scene as greatly as WordPress has in the last decade.
Thanks to the platform’s free and simple content management system made it possible for anyone, regardless of levels of technical knowledge, to create impressive websites.
This possibility is boosted further by the seemingly endless library of themes and plugins.
Thus, makes it possible even for small businesses to compete with large, global companies that enjoy massive marketing budgets.
Therefore to help you get started, we had put together all the resources and created a ground-breaking “WordPress Bible” HD Video Training Course that will provide you the all the essential tips about how to use WordPress to increase your site profits.
Take a Look at what you are going to get inside…
Module #1 – Learning WordPress Basics
Module #2 – Mastering WordPress
Module #3 – Building Landing Pages With Elementor
Module #4 – Building Ecommerce Sites
Module #5 – Building Membership Sites
Module #6 – Building LMS Sites
Module #7 – Make Money With WordPress
And so much more… (133 Video Tutorials In TOTAL)
==>It’s One of a Kind Training Course,[ Check it out Yourself…](https://bit.ly/3onvEto )
Here are just a few reasons why WordPress Bible Premium Membership is intrinsic for any business’ growth and success:
[+] WordPress has a 60.8% market share in the CMS market
[+] WordPress powers 14.7% of the world’s top websites
[+] 500+ sites are built each day using WordPress while only 60-80 per day are built on platforms like Shopify and Squarespace
[+] The WordPress Plugin Directory features 55,000+ plugins
[+] WooCommerce powers 22% of the top 1 million ecommerce sites in the world
And these facts understate the blooming popularity of WordPress.
Surely, by now you are jumping on your seats to get your hands on this Exclusive “WordPress Bible Premium Membership” HD Video Training course…..
So without much ado, let us present A Key to your Success.
==>Book your copy of this Training.. [click here ](https://bit.ly/3onvEto )   Your Name
P.S. According to Jim Cathcart, ‘Become the person who would attract the results you seek.’ This is your chance to be that person…Don’t let it slip away!
==> [Save your price by clicking here ](https://bit.ly/3onvEto )
Two best tools to create a more visual content
Tags: tooling
Published: 2022-02-04 03:03:47

Here are the two tools that are my favorite. I use them to share contents on social media.

**1. carbon**

Create and share beautiful images of your source code.
Start typing or drop a file into the text area to get started.
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a4vi41fs6irz1xafqyej.png)

**2. Poet.so**

Capture and share Twitter posts as beautiful images. Get the tweet url and we can generate more visual and attention grabbing twitter posts.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vl9vinrdx60ntp4wulrw.png)
Aniko An Open Source
Tags: anime, opensource, python, pypi
Published: 2022-02-04 02:27:37

Introducing Aniko As Open Source

Excellent, Powerful Anime SEARCHER with Many Features.. 

~ Easy To Host
~ Many Options..
~ Customizable
~ Open Source

Now You Are Allowed Only TO Star And Fork and Deploy
> Read Readme For Deploy instructions..
URL:

https://github.com/Rohith-sreedharan/Aniko/

Our Channel Has Only 1k Subs...
I Hope We will soon Reach 1.5k

Till Then Cya

Blushes
Subscribe
Cheers 🥂

(C) @SPRINGREENOFF
UI Redesign
Tags: css, html, testing
Published: 2022-02-04 02:25:33

Hello!

I recently created a post introducing my website ([The TinkerTechLab](https://tinkertechlab.com)) to you. 

This time, I wanted to showcase some of the amazing progress I have made in making the site look so much better. 

Shout out to @DiegoFranco2001 for the contact form suggestion!

Spending a total of 1hour and 5minutes (Hey, I wanted it perfect), I redesigned my search bar and contact form, let me know what you think!

CONTACT FORM
————-———————
Before:
![Contact Form Before](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w8t9mpdxk2kh9z5n6b6v.png)

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

SEARCH BAR
——————————
Before:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vk88h4tu36c2772dw6hq.png)

After:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3snj102s0vlg0dd8vc8t.png)
Sorry for the blurry image. 

The search bar is responsive, so please check out the site to see it in action!