teleren/devto huggingface dataset:
EmoniNail Does This Fungus Treatment Work,Is It Safe
Tags: health
Published: 2022-01-24 07:58:52

This is all well and good but what I have is a persuasion appropriate for that quantum leap. That shows how much confidence most teachers have in their scheme. I may need to break new ground. It's putting it mildly. I'm just attempting to be neighborly. You can come up with your own way to do this if you want. It isn't prohibited. I was then the proud owner of that stuff so I went to a [EmoniNail](https://ipsnews.net/business/2021/12/16/emoninail-nail-fungus-treatment-really-effective-or-waste-of-money/) school like that. Everything I have done with using this has worked that well. Doing that is sort of in the background. I spilled the beans referring to doing this and I've tossed in everything but the kitchen sink at that moment. That will probably not lead you to rethink your EmoniNail approaches. That object is surely not like this anymore. I think I can get that across. In my next installment I'm planning to reveal to you my thought process when is shows correspondence to it. Consequently, I have mentioned doing that as part of that. 

[https://ipsnews.net/business/2021/12/16/emoninail-nail-fungus-treatment-really-effective-or-waste-of-money/](https://ipsnews.net/business/2021/12/16/emoninail-nail-fungus-treatment-really-effective-or-waste-of-money/)
Free alternative to GSuite
Tags: devjournal, devops, productivity, shortandtothepoint
Published: 2022-01-24 07:53:47

Google closes GSuite and from now all accounts will be transferred to Google Workspace, and therefore will cease to be free. Many people used GSuite only because it was a free service and you could connect your own domain to it. Probably some of you have asked yourself what to do in this situation - buy a paid account or look for another solution.

If for some reason you don't want to pay for Workspace, I am here to help. You can look for other email provider that allows you to connect your own domain. I used to use Yandex mail - but some emails ended up in spam, so I gave up. This time I would like to use GMail so I decided to use an alias. I just need to put a contact on the website and it's nice if it's on the mayann.app domain. I know that if I answer an email, it will be from the GMail domain, but that is not so important to me.

This solution gives me all the advantages of GMail and I use my domain. This is definitely not a perfect solution, the message passes through additional servers, so someone can know the content of the email and we are addicted to this intermediary. However, this does not discourage me, initially I used [improvmx.com](https://improvmx.com/) and everything worked great, but after some time I decided to move to Cloudflare for two reasons - it is a large company, so there is less risk of a failure and I have everything in one place. Both sites are free, so you can try them out and choose a better solution.

Setting up [Cloudflare Email Routing](https://developers.cloudflare.com/email-routing/enable-email-routing) is easy. You enter the alias and the address to which the email will be redirected, and basically that's it.

![Cloudflare Email Routing page screenshot](https://blog.mayann.app/assets/images/cloudflare_email_routing.png)

This is an article from the series on how to maintain an indie startup at a minimum cost, in the next episode I will write how I keep a blog for free. Everything I write about is tested on my [random data generator](https://mayann.app) indie startup.

#### #shortAndToThePoint
Luna one : new metaverse project about to make millionaires | presale is live | get in now
Published: 2022-03-11 08:49:38

---
title: Luna one : new metaverse project about to make millionaires | presale is live | get in now
published: true
date: 2022-01-24 07:47:22 UTC
canonical_url: https://coinmarketdo.com/shitcoin/luna-one-new-metaverse-project-about-to-make-millionaires-presale-is-live-get-in-now/
---

[LunaOne](https://coinmarketdo.com/shitcoin/luna-one-new-metaverse-project-about-to-make-millionaires-presale-is-live-get-in-now/) Decentralized
LunaOne is one of the first Metaverses to allow Earning,
Shopping, Socializing, Creating, Studying, and Gaming all in
a seamless Web 3.0 environment.
Multiple File Selection and Drag Drop Operations in a Blazor File Manager Component
Tags: blazor, webdev, dotnet, csharp
Published: 2022-01-24 07:41:17

Learn how to disable multiple file selection and enable drag-drop operations in a Syncfusion [Blazor File Manager component](https://www.syncfusion.com/blazor-components/blazor-file-manager) easily. Also, this video explains how to disable drag and drop for a particular file type in the File Manager. 

Other drag-drop events Example project: https://github.com/SyncfusionExamples... 

Explore tutorial videos: https://bit.ly/3fAz0Ch

Product overview: https://www.syncfusion.com/blazor-components/blazor-file-manager

{% youtube KU3RwdzDvJ0 %}
42 hours of talking about .NET memory management, why?
Tags: dotnet, programming, memory, webinar
Published: 2022-01-24 07:39:26

{% youtube _dPExlLKtwY %}

Exactly, WHY?

That's a lot of hours to spend... 

And **[Konrad Kokosa](https://twitter.com/konradkokosa?s=20)** is here to expain to you why it's totally worth to do it!

Expect an overview of WHAT is in the course, HOW it looks like and prepare yourself for some examples & some spicy stories from the course work!

Curious about the course? Link to the page below

⬇️

https://dotnetmemoryexpert.com/
Leetcode diary: 62. Unique Paths
Tags: javascript, algorithms, devjournal, motivation
Published: 2022-01-24 07:27:04

This is a new series where I document my struggles of leetcode questions hoping seeing however small of an audience I get gives me the motivation to continue.  

[link](https://leetcode.com/problems/unique-paths/)  

This one I gave up on the first time and looked at  solution. After a week I came back today and was happily able to solve it pretty fast. It really means that I understood the problem at hand and did not just straight up memorize the solution.

The question is given a m by n matrix, how many unique ways you could go from the top left to bottom right of the matrix. Note that you could only go down or right each time you make a move.

So this is pretty similar to the previous questions I have done recently. So the first thing we should do is see if we can break down the problem to subproblems and see if incremental progression can lead to a solution. 

The trick at hand is that:
1.) for the first row, matrix[0], all of the values are 1. This is because once we move out of the first row, we can't go back; only down and right moves are allowed. So there is only one way to get to any of the first row: by moving right constantly.
2.) similarly, first index of any row, matrix[i][0] is 1 as well.
3.) For any matrix[i][j] the number of ways we can get to it is by down or right move. This means that we can only get to (i,j) from (i-1,j) OR (i,j-1). The or statement, if you recall from math a long time ago, means additions in the context. 
Therefore the number of ways to get to (i,j) = #(i-1,j) + #(i,j-1).

Starting at (1,1), this means #(i-1,j) + #(i,j-1) = #(0,1) + #(1,0) = 2. You can try it out yourself. We can progress forward in this fashion until the bottom right of the matrix:

```
var uniquePaths = function(m, n) {
    const memo = new Array(m);
    for (let i=0; i < m; i++) {
        memo[i] = new Array(n);
        memo[i][0] = 1;
    };
    
    memo[0].fill(1);
    
    for (let i=1; i <m; i++) {
        for (let j=1; j<n; j++) {
            memo[i][j] = memo[i-1][j] + memo[i][j-1];
        }
    }
    
    return memo[m-1][n-1]
}
```

Let me know anything on your mind after reading through this, THANKS!
HTML to PDF
Published: 2022-01-24 07:19:51

---
canonical_url: https://ironpdf.com/examples/using-html-to-create-a-pdf/
---

**C#:**
```
// PM> Install-Package IronPdf
 
using IronPdf;
 
var Renderer = new IronPdf.ChromePdfRenderer();
Renderer.RenderHtmlAsPdf("<h1>Html with CSS and Images</h1>").SaveAs("pixel-perfect.pdf");
 
 
/****** Advanced ******/
 
// Load external html assets: images, css and javascript.
// An optional BasePath 'C:\site\assets\' is set as the file location to load assets from 
var PDF = Renderer.RenderHtmlAsPdf("<img src='icons/iron.png'>", @"C:\site\assets\");
PDF.SaveAs("html-with-assets.pdf");
```

**VB:**
```
' PM> Install-Package IronPdf
 
Imports IronPdf
 
Private Renderer = New IronPdf.ChromePdfRenderer()
Renderer.RenderHtmlAsPdf("<h1>Html with CSS and Images</h1>").SaveAs("pixel-perfect.pdf")
 
 
'''**** Advanced *****
 
' Load external html assets: images, css and javascript.
' An optional BasePath 'C:\site\assets\' is set as the file location to load assets from 
Dim PDF = Renderer.RenderHtmlAsPdf("<img src='icons/iron.png'>", "C:\site\assets\")
PDF.SaveAs("html-with-assets.pdf")
```
## HTML to PDF

IronPDF allows developers to create PDF documents easily in C#, F#, and VB.Net for .NET Core and .NET Framework.

In this example we show that a PDF document can be rendered using HTML.

You can choose simple HTML like the above, or incorporate CSS, images and Javascript.

IronPDF's rendering is "[pixel perfect](https://ironpdf.com/tutorials/pixel-perfect-html-to-pdf/)" to desktop versions of Google Chrome.
Hide and Show Elements using JavaScript Css | Explained toggle() function
Tags: javascript, css, beginners, webdev
Published: 2022-01-24 07:19:15

Explained how to hide and show Element using JavaScript in detail and how to use toggle() function and how it works.

Timeline :
00:00 Introduction
00:45 Hide element using JavaScript
01:12 Hide on button click
01:48 Hide and show using js
02:55 Why toggle() function ?
04:21 How toggle() works ?
05:37 Toggle() with boolean parameter

{%youtube R-_TZb0_oJA%}
Perfect Player IPTV Full 1.6.0.1 APK 2022 Download
Published: 2022-01-24 07:14:01

Download Perfect Player IPTV Premium Full Version 1.6.0.1 APK 2022 – Due to the adding expansion of the Internet in the different corridor of the world, we’re witnessing the development of colorful software on the Internet, which fluently meet numerous of our requirements and their services are active 24 hours a day.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jxcedl3lneka2cs653f8.jpg)
You can get this apk file from Direct Link : [Rahim-Soft](https://rahim-soft.com/perfect-player-iptv-full-1-6-0-1-apk-2022-free-download/) or Home page: [Rahim-Soft home page](https://rahim-soft.com/).
Compilation Process of C Program
Tags: programming, beginners, tutorial, productivity
Published: 2022-01-24 07:12:19

## What is a compilation?
The compilation is the process of converting source code into object code. Your c compiler helps to do so. The compilation process is composed of 4 steps.

- Preprocessor
- Compiler
- Assembler
- Linker


![Source Code.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1642948325092/DZgAiYc5_.png)
### Preprocessor
Your source code is passed to the preprocessor, now the preprocessor expands this code. Later this expanded code is passed to the compiler.
### Compiler
Compiler converts your expanded code to the assembly code.
### Assembler
Now assembler converts assembly code into the object code.
### Linker
Every c program use library functions. These library functions are pre-compiled and the object code of these files is stored with `.lib` or `.a` extension. The linker combines the object code of library files with object code or our program. Linker also helps us to connect functions defined in some other files. After all the processing linker gives us executable file. Executable files are OS dependent e.g `.exe` for DOS and `.out` for unix based system.

## Consider this example 
Let say we have a code `hello.c`


```
#include <stdio.h>  
int main()  
{  
    printf("Hello from CodeWithRish");  
    return 0;  
}  
``` 
It's flow will be as shown in the diagram.

![C Program.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1643006043214/szrTgsE13.png)

## Generate all files
Type following commands
`gcc -c -save-temps hello.c` will generate `hello.i`, `hello.o` and `hello.s` now type `gcc -o hello hello.c` this command will generate `hello.exe` finally just type `.\hello.exe` will give program out i.e. `Hello from CodeWithRish!`

That's how you a C Program is compiled in background.
Convert XML to PDF in C# and VB Dot NET
Published: 2022-01-24 07:06:28

---
canonical_url: https://ironpdf.com/docs/questions/xml-to-pdf/
---

C# XML to PDF directly can be a complex challenge. We've found that to convert XML to PDF in C# it is best to start with XSLT. XML may be rendered to PDF via HTML(5) using _XLST_ transformations. These documents define how XML from a given schema may be converted to an accurate HTML representation and are a well established standard.

[https://docs.microsoft.com/en-us/dotnet/standard/data/xml/using-the-xslcompiledtransform-class](https://docs.microsoft.com/en-us/dotnet/standard/data/xml/using-the-xslcompiledtransform-class)

The resultant HTML string or file may then be rendered as a PDF using the [.NET PDF Generator](https://ironpdf.com/use-case/net-pdf-generator/):

**C#:**
```
    XslCompiledTransform transform = new XslCompiledTransform();
    using(XmlReader reader = XmlReader.Create(new StringReader(XSLT))) {
        transform.Load(reader);
    }
    StringWriter results = new StringWriter();
    using(XmlReader reader = XmlReader.Create(new StringReader(XML))) {
        transform.Transform(reader, null, results);
    }
IronPdf.ChromePdfRenderer Renderer = new IronPdf.ChromePdfRenderer();
// options, headers and footers may be set there
// Render our XML as a PDF via XSLT
Renderer.RenderHtmlAsPdf(results.ToString()).SaveAs("Final.pdf");
```

**VB:**
```
Dim transform As New XslCompiledTransform()
	Using reader As XmlReader = XmlReader.Create(New StringReader(XSLT))
		transform.Load(reader)
	End Using
	Dim results As New StringWriter()
	Using reader As XmlReader = XmlReader.Create(New StringReader(XML))
		transform.Transform(reader, Nothing, results)
	End Using
Dim Renderer As New IronPdf.ChromePdfRenderer()
' options, headers and footers may be set there
' Render our XML as a PDF via XSLT
Renderer.RenderHtmlAsPdf(results.ToString()).SaveAs("Final.pdf")
```
Returning JSON from a PHP Script - Create Rest API in Php
Tags: javascript, json, sh20raj, api
Published: 2022-01-24 06:41:01

While you're usually fine without it, you can and should set the `Content-Type` header:
```php
<?php
$data = [];/** whatever you're serializing **/;
header('Content-Type: application/json; charset=utf-8');
echo json_encode($data);
?>
```
Palindrome Number Leetcode Python – Python Solutions
Tags: python, leetcode, leetcodesolutions, algorithmsolutions
Published: 2022-01-24 06:37:23

LeetCode has an Easy coding Problem in Its’ Algorithm Section in Python “Palindrome Number Leetcode Python”. Today We are going to solve this problem. LeetCode Link of the Problem is HERE.

Palindrome Number Leetcode Python
Question
Given an integer x, return true if x is palindrome integer.

An integer is a palindrome when it reads the same backward as forward.

For example, 121 is a palindrome while 123 is not.
Examples

Input: x = 121
Output: true
Explanation: 121 reads as 121 from left to right and from right to left.
Input: x = -121
Output: false
Explanation: From left to right, it reads -121. From right to left, it becomes 121-. Therefore it is not a palindrome.

 
Input: x = 10
Output: false
Explanation: Reads 01 from right to left. Therefore it is not a palindrome.
Constraints:

-231 <= x <= 231 - 1
Solution to Palindrome Number Leetcode Python

https://hecodesit.com/palindrome-number-leetcode-python-python-solutions/
Emerging Web Dev Trends for 2022
Published: 2022-01-24 06:36:49

In a highly competitive market such as the digital one, it is important to foresee changes and learn how to adapt to them.
In this [video,](https://dev.to/hetashik/emerging-web-dev-trends-for-2022-43e) we have covered the top 5 trends that will prepare you to build exceptional websites that are appealing, engaging, and secure.
Before you Make a Big MIS Software Investment.
Tags: mis, printing
Published: 2022-01-24 06:08:42

Market trends and the ability to deliver on customer requirements are fluid constructs that need reliable innovative partners.

Business-critical technology investments such as print management software will have various levels of multi-function, and often multi-location stakeholders. Ensuring all parties have a clear understanding of what the objectives, expectations and targets entail will be the key to everybody’s success. [Read more](https://printiq.com/printiq-think-tank-blog/before-you-make-a-big-mis-software-investment/)
Best settings for using i3 window manager with HiDPI displays.
Tags: archlinux, i3wm, beginners
Published: 2022-01-24 06:08:13

### Step 1. Add `Xft.dpi` to `~/.Xresources`
```bash
# touch ~/.Xresources
vim ~/.Xresources
```
Add the following: 
```.Xresources
Xft.dpi: 144
```
### Step 2. Use `xlayoutdisplay` to set a custom DPI value
[alex-courtis/xlayoutdisplay - GitHub](https://github.com/alex-courtis/xlayoutdisplay)
```bash
# install xlayoutdisplay
xlayoutdisplay -p HDMI-0 -d 144
```
Then, copy and run the command like 
```
xrandr \
 --dpi 144 \
 --output DVI-D-0 --off \
 --output HDMI-0 --mode 3840x2160 --rate 60 --pos 0x0 --primary \
 --output HDMI-1 --off \
 --output DP-0 --off \
 --output DP-1 --off \
 --output DP-2 --off \
 --output DP-3 --off \
 --output DP-1-3 --off \
 --output HDMI-1-3 --off \
 --output HDMI-1-4 --off \
 --output HDMI-1-5 --off \
 --output DP-1-4 --off

echo "Xft.dpi: 144" | xrdb -merge
```
### Step 3. Change the `rofi`'s DPI value
```bash
vim ~/.config/i3/config
```

```diff
- bindsym $mod+d exec --no-startup-id "rofi"
+ bindsym $mod+d exec --no-startup-id "rofi -dpi 144"
```
### EOF
Laravel 8 Find Nearest Location By Latitude and Longitude
Tags: laravel
Published: 2022-01-24 06:03:12

Laravel 8 – find nearest location by latitude and longitude. In this tutorial you will learn How to find nearest location using latitude and longitude in laravel.

Sometimes, you may find the nearest location using latitude and longitude in laravel 8,7,6 app . So, this tutorial will help you step by step to find nearest location using your current latitude and longitude in laravel 8 app.

As well as, fine neareby place using latitude and longitude query in laravel eloquent. you can use the following example for get nearest geolocation by mysql radius query in laravel 5, laravel 6, laravel 7 and laravel 8.

[Laravel 8 Find Nearest Location By Latitude and Longitude](https://www.codecheef.org/article/find-your-nearest-location-using-llatitude-and-longitude-in-php-laravel)
Create Beautiful GitHub Profile ReadMe
Tags: github, webdev, codenewbie, beginners
Published: 2022-01-24 05:57:53

## We Will Create Amazing Github Profile ReadMe

Use Can Use The Websites Below To Create Your Github Profile ReadMe :-

1 ) [Github Readme Generator](https://rahuldkjain.github.io/gh-profile-readme-generator/)

2) [Github ReadMe Generator](https://arturssmirnovs.github.io/github-profile-readme-generator/)

{% github cyberstain/cyberstain %}
Best Practices for designing an UI
Tags: beginners, tutorial, codenewbie, ux
Published: 2022-01-24 05:56:57

User Interface or UI for short and User experience UX for short.User Interface is the part the user sees or interacts with often called frontend.It doesn't matter if you use node or python as backend language.The only thing users care about is how your website feels,how easy is it to use your site ,they describe it by looking at and using your website.

Best Practices for Designing an Interface
1.Keep the interface simple
2.Create consistency and use common UI elements
3.Be purposeful in page layout
4.Strategically use color and texture
5.Use typography to create hierarchy and clarity
6.Make sure that the system communicates what's happening
7.Think about the defaults.
8.Think like an user:
Like you don't know how anything works, you just want good experience and get things done when needed

[Buy me a coffee](https://www.buymeacoffee.com/tawhid)
Day 16 of 100 - Java: Multi-threading
Published: 2022-01-24 05:29:09

Multithreading

`volatile` helps facilitate atomic operation

sample code to trigger multiple threads

```java
class Runner extends Thread {

    public void run() {
        for(int i=0; i<10; i++) {
            System.out.println("Hello" + i);
        }
    }

}

public class App {

    public static void main(String[] args) {
        Runner runner1 = new Runner();
        runner1.start();

        Runner runner2 = new Runner();
        runner2.start();
    }
}
```

`synchronized` keyword to use intrinsic lock to wait till one thread completes.

```java
    // Second thread have to wait until the first thread completes the
    // execution due to instrinsic lock
    public synchronized void increment() {
        count++;
    }
```

Intrinsic locks

Intrinsic locks play a role in both aspects of synchronization: enforcing exclusive access to an object's state and establishing happens-before relationships that are essential to visibility.

Every object has an intrinsic lock associated with it.


Project exercise repo - https://github.com/j143/java-threading-example

https://www.udemy.com/course/java-multithreading
Leetcode diary: 198. House Robber
Tags: javascript, algorithms, devjournal, motivation
Published: 2022-01-24 04:28:48

This is a new series where I document my struggles of leetcode questions hoping seeing however small of an audience I get gives me the motivation to continue.  

[link](https://leetcode.com/problems/house-robber/)

HUZZAH!!!!!!! Today started out well with easily solving this DP problem the DP way straight up!!!!!! 

For those who struggles with DP problems like this one, I recommend reading through my [agonizing pain](https://dev.to/kevin074/leetcode-diary-983-minimum-cost-for-tickets-3m0g).

the first thing I did was determine whether we can solve this problem via some kind of progression with incremental sub-problems. Let's say given [1,2,3,1]:
[1]: rob 1
[1,2]: rob 2
[1,2,3]: rob 1 and 3
[1,2,3,1]: rob 1 and 3
As we can see that it is possible to solve it via progression, so we can for loop on the array and get some kind of O(N) solution. 

The second thing is to understand what are our choices:
1.) rob house 1 and house 3
2.) rob house 2 
These two are our only choices, but at house 1 we don't have 3 houses to choose from.
This is when we need a bit of ingenuity to prepend two 0s at the beginning at start at index 2 instead. This way we can approach the problem as 
1.) rob house at index i and i-2
2.) rob house at index i-1

the code is as below: 
```
var rob = function(nums) {    
    const memo = [0,0,nums[0]]; 
    
    nums.forEach(function(_, index){
        const memoIndex = index+2;
        memo[memoIndex] = Math.max(
            memo[memoIndex-2] + nums[index],
            memo[memoIndex-1]
        );
    })
    
    return memo[memo.length-1];
};

```
Now the question we should answer is why does the memoization work. 
let's say for [a,b,c,d]
d >>> a >> b > c
in other words at the end of the algorithm we'd expect a+d to be the answer, since:
(a+d) > (b+d) > (a+c)
the memo[] looks like:
[a, a, a+c, a+d]
at the fourth index, what we are really choosing is really
(a+c) vs (a+d), which in English can be rephrased as 
"the biggest value before i-1 + nums[i-1]" vs "the biggest value before i-1 + nums[i]".
note that in consideration of just the about statement, "a" does not have to be an element in nums, it can be a summation of numbers travelled thus far in nums. 

So what we are really choosing at each step is "the maximal value plus i or maximal plus i-1", since those are the only possible choices given the question constraints, an incremental subproblem approach is appropriate to find the solution.

Let me know anything on your mind after reading through this, THANKS!