teleren/devto huggingface dataset:
DevOps training in gurgaon
Tags: devops
Published: 2021-04-19 07:17:22

It is known that the DevOps thing is ruling the IT area. In this technology world, DevOps is rising as a must-have one for almost every software term.
DevOps is the most demandable technology these days, this field is offering career opportunities to those who want to take their career to greater heights.

Benefits of DevOps Training Course
• Learn the terms of DevOps and the concepts for smooth communication between teams.
• Gain knowledge about all the DevOps tools from code automation, easy accessibility, log maintenance, and quick testing and implementation tools.
• Learn about improved workflows and product deployment.
 
There is a huge demand for DevOps professionals in the industry and a big audience is upskilling in DevOps Technology.
 
I have been in the industry and I would recommend iClass Gyansetu to join for DevOps training in Gurgaon.
 
Training are also available on technologies like-
Big Data, Spark, AWS Cloud, Docker Kubernetes, Data Science
 
Contact
Phone No- +91-8130799520/ 9999201478
Website- www.gyansetu.in
Why should we care about NFT? Here's why
Tags: beginners, nft, blockchain
Published: 2021-04-19 10:35:07

NFT has been a hype for few months but its use case is still not clear to many people. I'll try to explain it using a simple example.

Suppose you made digital art (like painting) and you want to sell it online.

You upload the image file to an e-comm site like OpenSea. This file now has a fancy term called NFT (non-fungible token). You suddenly upped your game amongst your peers.

You set its price (in cryptocurrency like Bitcoin). You can also put a bid amount to do an auction, a good approach if you're Banksy's cousin.

It's listed as a **single** item on the platform so only one person can buy it. This means he can **download** the image file after paying in crypto.

Once sold, you get profit (in cryptocurrency). pop a bottle of champagne.

Whoever buys it now owns it. That means she/he can now sell it at **higher price** on the same platform. He can also put it as wallpaper on his Mac.

He gets profit when somebody else buys it. He pops a bottle of champagne now.

This trading cycle continues.

Few points to remember: 
**Everyone** can see the entire purchase history (sold price, date, buyer, etc) of this image file (aka NFT). **Nobody** can modify the purchase history. This open purchase history is called Public Ledger. Tech behind this public ledger is called Blockchain.

It's not limited to image files. you can sell any digital content (audio, video, pdf, etc).

Copies of content behind NFT can be distributed off-platform.

### Now, why would someone buy an NFT?

I could think of 2 main reasons for someone to buy/sell something as an NFT.
 
1. Suppose, a person named Rick saw an NFT and looked at the purchase history. He noticed that it's going up for ex: $100 -> $200 -> $500 -> $700. He predicts that this would go further up so he buys it at the current price of $700 and puts a selling price of $1000 hoping someone else would buy. Here, the value is not in the file content but the attached **immutable** price history (aka blockchain). In nutshell, the purpose is trading. 

2. Suppose, Morty is a super-fan of Billie Eilish, she uploads her latest album cover as NFT and tweets this is the original. Morty being a nerd bought this NFT asap and gives proof to his other nerd friends by showing the purchase history. The purpose could be to financially support the creator, have (authentic) digital collectibles, etc.
Kings of Leon sold their latest album as NFT and made over $2 million.

This covers the basics of NFT.  I hope you enjoyed reading. Connect with me on [Twitter](https://twitter.com/GorvGoyl) and [LinkedIn](https://www.linkedin.com/in/gorvgoyl/).
Java 8 CompletableFuture Handle Exception
Tags: java, java8, completablefuture, exception
Published: 2021-04-19 10:28:54

https://grokonez.com/java/java-8/java-8-completablefuture-handle-exception

Java 8 CompletableFuture Handle Exception

Exception handling is important in software development, Java 8 <strong>CompletableFuture</strong> also provides methods to handle errors when they occurs.

Related article: 
- <a href="https://grokonez.com/java/java-core/java-future">Java Future</a>
- <a href="https://grokonez.com/java/java-advanced/java-8-completablefutures">Java 8 CompletableFuture</a>
- <a href="https://grokonez.com/java/java-8-multiple-completablefutures">Java 8 Multiple CompletableFutures</a>

<!--more-->
<h2>I. Ways to handle exception</h2>
<h3>1. Using exceptionally method</h3>
<pre><code class="language-java">
CompletableFuture<T> exceptionally()
</code></pre>
For the example in previous post, we should use <code>exceptionally()</code> after chain of <code>thenApply()</code> methods:
<pre><code class="language-java">
future = future.thenApply(Integer::parseInt) // input String: "not detected"
				.thenApply(r -> r * 2 * Math.PI)
				.thenApply(s -> "apply>> " + s)
				.exceptionally(ex -> "Error: " + ex.getMessage());
</code></pre>
Run the code, the result will be:
<pre><code class="language-java">
Error: java.lang.NumberFormatException: For input string: "not detected"
</code></pre>
<code>"not detected"</code> is the <strong>String</strong> we return to <strong>future</strong> object before call the first <code>thenApply()</code> method.
<h3>2. Using handle method</h3>
Another way to handle exception is using <code>handle</code> method:

https://grokonez.com/java/java-8/java-8-completablefuture-handle-exception

Java 8 CompletableFuture Handle Exception
Java 8 Base64
Tags: java, java8, base64
Published: 2021-04-19 10:20:12

https://grokonez.com/java/java-8/java-8-base64

Java 8 Base64

Java 8 Base64 provides a standard way to do <strong>Base64</strong> encoding and decoding.
There are three types of Base64 encoding:
- <strong>Basic</strong>: Encoder produces a set of characters within <strong>A-Za-z0-9+/</strong>. Decoder rejects any character NOT mapped to A-Za-z0-9+/.
- <strong>URL</strong>: Encoder produces a URL or safe filename which is set of characters within <strong>A-Za-z0-9+_</strong>.
- <strong>MIME</strong>: Output is mapped to MIME friendly format.

<!--more-->
<h2>I. Basic</h2>
<pre><code class="language-java">
String original = "Learn Java at javasampleapproach is great";

// Encode using basic encoder
String base64encodedString = Base64.getEncoder().encodeToString(original.getBytes("utf-8"));
System.out.println(base64encodedString);
// Result: TGVhcm4gSmF2YSBhdCBqYXZhc2FtcGxlYXBwcm9hY2ggaXMgZ3JlYXQ=

// Decode
byte[] base64decodedBytes = Base64.getDecoder().decode(base64encodedString);
System.out.println(new String(base64decodedBytes, "utf-8"));
// Result: Learn Java at javasampleapproach is great
</code></pre>
<h2>II. URL</h2>

More at:

https://grokonez.com/java/java-8/java-8-base64

Java 8 Base64
What Are Sim-Swap Attacks?
Tags: security, cybersecurity, mobile, linkability
Published: 2021-04-19 10:10:45

What is one cybersecurity attack that is growing and is one of the more potent attacks? Check out the discussion in the video [What Are Sim-Swaps (Sim-Swap Attacks)](https://www.youtube.com/watch?v=0H_zWaTGJOQ)? As a caution, be careful about cybersecurity professionals who are quick to discover one attack when in reality the attack they discovered is a diversion. Sim-swap attacks are not the diversion in this case, but given few people are aware of them, they can usually stay hidden if the attacker diverts by other means.

Some points that we discuss in the video:

- Why is sim-swapping even allowed in the first place?
- What is one fact about sim-swaps that's described as "spooky" and should be a major warning to everyone?
- What are some example targets early of sim-swap attacks?
- What does convenience mean in security?

Because hackers have a variety of techniques surrounding swim-swap attacks, they can directly attack the user or mobile company and perform these. Thanks to linkability, hackers can easily get information on you that makes it easy to attack you with sim-swaps - whether through social engineering, server attacks, or other means. Keep in mind with mobile spoofing (another attack type), they may not need to even go as far as a sim-swap attack.
Some small Css tips #015
Tags: webdev, css, html, beginners
Published: 2021-04-19 09:56:56

---
title: Some small Css tips #015
published: true
description: I try to tweet a small css tip every day. Here is a collection of some of them.
canonical_url: https://since1979.dev/some-small-css-tips-015/
cover_image: https://since1979.dev/wp-content/uploads/2021/04/small-css-tips-015jpg.jpg
tags: webdev, css, html, beginners
---

To continue on my [previous post](https://dev.to/vanaf1979/some-small-css-tips-014-85o) here are some more tweets with little Css tips that might help you in your projects. 

### Unit less custom properties.
{% twitter 1372530319807680512  %}

--- 

### Position sticky for more then just navigations.
{% twitter 1373973010265292808 %}
{% codepen https://codepen.io/Since1979/pen/NWbQera %}
Css position docs: https://developer.mozilla.org/en-US/docs/Web/CSS/position

--- 

### Css background-clip.
{% twitter 1374341846021894148 %}
{% codepen https://codepen.io/Since1979/pen/NWbQZYr %}
Background-clip docs: https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip

--- 

### Limit number of text lines.
{% twitter 1374696442430951424 %}
{% codepen https://codepen.io/Since1979/pen/OJbKrrz %}
Css-tricks almanac: https://css-tricks.com/almanac/properties/l/line-clamp/

--- 

### Subscribe and Follow

**[Subscribe to my Youtube channel.](https://www.youtube.com/channel/UCeyqA3y26RlnfUSx3ufgFoA)**

**[Follow me on Twitter](https://twitter.com/Vanaf1979)**

**Thanks for reading/watching and stay safe**
Daftar SBOBET Judi Bola Online
Tags: judi, bola
Published: 2021-04-19 09:51:38

Kami merupakan sebuah situs judi bola online resmi terpercaya di Indonesia dan dapatkan keuntungan yang besar sekarang juga, Untuk itulah bagi kalian yang ingin mendapatkan keuntungan dari bermain judi bola online Daftar judi bola online sekarang juga bersama Agen5758 dan kunjungi http://98.143.148.155
What is the best way to activate a Cash App card?
Tags: activatecashappcard, cashpphelp, cashapp, howtoactivatecashappcard
Published: 2021-04-19 09:48:56

The Cash App card is a free debit card for all those users, it might be customized as a customer choice, and there are no additional charges. This card could be utilized from the retail stores wherever a VISA card was accepted, and consumers can also withdraw money with it.

However, the integral part of it is the Cash card activation process. All users need to know the way to activate the Cash App card. For Cash App card activation, there are primarily two approaches you have to be aware of. As a User, you might select whichever method is suitable for you. In this guide, you can learn about the two procedures of Cash App card activation. It's possible to activate a Cash App card by using the QR code also without it.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/saw85jqym77vbmbeinkq.png)

<b><H2>How to activate a Cash App card using a QR code?<H2/><b/>
 
Following are the steps you need to take to <a href="https://www.thecashapphelp.com/how-to-activate-cash-app-card/">Activate Cash App Card</a> using a QR code:

• Open the Cash App on your mobile phone or computer.

• On the right side of the, click the cash card icon.

• Here, you have to decide on the selection of the Activate Cash App card.

• For tripping cards with the QR code, you want to utilize the mobile camera for QR code scan.

• You need to align the camera with the QR code carefully, for activating the Cash App card

<b>How to activate a Cash App card without using a QR code?<b/> 
 
If you do not have the QR code, you can still activate the Cash App card without using the QR code:

• Open the Cash App on your mobile phone or the web browser.
• On the right side of the, click the Cash card icon
• Here, you have to choose the option of <a href="https://sites.google.com/view/thecashapphelp/">Activate the Cash App card</a>.
• As you do have the QR code, you have to opt to use CVV instead.
• After this, enter the CVV from the backside of your Cash App card to activate it. 

For any query regarding activating my cash app card, you can connect with the <a href="https://www.thecashapphelp.com/">technical team</a> of professionals. Technical executives ensure instant help to users with a precise solution.
Trending NFT marketplace
Published: 2021-04-19 09:43:30

NFT marketplaces enable users both to share their original pieces and also buy the work of others, which is additionally an excellent adventure.
Moreover, watching the sort of labor others are selling will offer you an honest sense of what’s popular immediately .
Let’s now discuss intimately the three hottest NFT marketplaces.
OPENSEA
OpenSea is that the most democratic and easy-to-use platform of the three. No sort of verification is necessary; anyone can create an account and begin minting NFTs. You’ll flick through countless collections to seek out particular artists or peruse rankings by sales volume to get interesting pieces.
OpenSea also makes submitting your own art or digital collectibles easy. Simply click on Create -> Submit NFTs then you’ll be ready to create a replacement collection and begin adding new pieces.
Even better, there’s no coding needed, therefore the barrier to entry is low. It takes three minutes to submit your first piece of digital art, and therefore the whole process is free.
Because it’s so simple and therefore the cost is so low, many collections on OpenSea tend to be composed of digital collectibles instead of individual artworks.
https://nft-learning.io/
Build a Responsive Grid CSS Website Layout From Scratch
Tags: html, css, beginners, devops
Published: 2021-04-19 09:41:45

Build a Responsive Grid CSS Website Layout From Scratch

Demo == > https://codepen.io/Bilal1909/pen/BapJXgx?editors=0100

<img src="https://i.postimg.cc/8c966TfF/screenshot-codepen-io-2021-04-19-14-42-34-424.png">
Laravel Validation Required Example
Tags: laravel, php, validation
Published: 2021-04-19 09:36:26

Hi Guys,
Today, I will learn you to create validation required in laravel.we will show example of laravel validation required.
The field under validation must be present in the input data and not empty. 
more
https://itwebtuts.blogspot.com/2021/04/laravel-validation-required-example.html
Improving Magento Using Kubernetes

Tags: aws, magento, kubernetes
Published: 2021-04-19 09:33:48

After some tough beginning, we managed to properly add Magento to our EKS Cluster. Here is a guide about how we did it and the kind of issues you might face too

https://medium.com/the-love-bonito-tech-blog/improving-magento-using-kubernetes-be90a9e87b6c
Remember: you're an expert
Tags: junior, career, webdev
Published: 2021-04-19 09:29:02

It's easy to forget that you're an expert.

Even if you're a junior.

You look at the problems you've got to solve.

You spend so much of your time searching for answers.

You feel like you don't deserve to charge for the stuff you do.

But you're still an expert.

You know more than your client.

You are fixing their problems.

You can do stuff that most people can't even begin to imagine.  

I've been a Ruby developer for 15 years - and I still have to google how to generate a CSV every couple of weeks.

It doesn't matter if you don't remember it all.

It only matters that you make a difference.
Azure B2B Collaboration
Tags: azure, cloud, cloudskills, tutorial
Published: 2021-04-19 09:20:46

{% medium https://luketylerwilliams.medium.com/azure-b2b-collaboration-e593f32c05ef %}

Short and sweet article on Azure B2B collab:

*"*
*B2B collaboration is the backbone of most business’, whether that may be as a result of deep rooted Managed Service Providers (MSP’s), Contractor presence or quite simply and most often real business use-cases.*

*In this article, we will explore what settings we can configure for use with Azure B2B collaboration and highlight some security considerations.*
*"*
Best diagnostics company in india

Published: 2021-04-19 08:57:29

Agappe is the leading diagnostic manufacturer and IVD company in India. Agappe is committed to the research and manufacturing of IVD Reagents and Equipment to meet the needs of every laboratory. It offers the best quality medical laboratory equipment at an affordable cost. The products include areas like clinical chemistry and biochemistry analyzers, hematology analyzers, electrolyte analyzers, nephelometry analyzers in automated, semi automated and fully automated categories.

https://www.agappe.com/swiss/
Embedded Dev 2021
Tags: opensource, embedded, rtos, iot
Published: 2021-04-19 08:42:54

We’re thrilled to Launch EmbeddedDev 2021! Develop a project running Opensource [RT-Thread Real-time Operating System](https://www.rt-thread.io/).

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z8rdac8ysvgoqgx9brz2.png)

##Your participation and valuable input will make this event a true success!

- Submit the project you want to achieve with RT-Thread and the dev board you need by filling out this application form to [Enter EmbeddedDev2021](https://forms.gle/9rtxKcLDvXwZ39Qy7). RT-Thread will offer you a Free dev board! Opening on April 19, 2021, to May 19, 2021.

- We will choose the TEN most fitting projects submitted (if there are a large number of applicants, we’ll open more seats), and RT-Thread will buy the dev boards required for the ten chosen applicants to develop their projects!

- Applicants must submit their completed projects before July 19. The code and documentation related to your projects should be public and open source (on GitHub and [Electromaker Platform](https://www.electromaker.io/) ). RT-Thread’s engineering team will support this event by providing technical guidance.

- RT-Thread review: July 20 to July 25

- Winners’ awards: July 26


##Awards: First Prize — $500 cash

##Timeline:
- The application form opens from April 19 to May 19, 2021
- Dev boards shipped: May 19, 2021
- Submissions deadline: July 19, 2021
- Winners announced: July 26, 2021


**RT-Thread Contact Info:**

[Website](https://www.rt-thread.io/)  |  [Github](https://github.com/RT-Thread)  | [Twitter](https://twitter.com/rt_thread) |  [Facebook](https://www.facebook.com/RT-Thread-IoT-OS-110395723808463)   |   [Youtube](https://www.youtube.com/channel/UCdDHtIfSYPq4002r27ffqPw
)
Lint your commits
Tags: git, tutorial, javascript, bestpractice
Published: 2021-04-19 08:34:22

---
title: Lint your commits
published: true
description: The "conventional" way
tags: git, tutorial, js, bestpractice
cover_image: https://images.unsplash.com/photo-1556075798-4825dfaaf498?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1355&q=80
---

If you are using [Conventional Commits](https://www.conventionalcommits.org) (and if you don't, *you should* 😜) it is very useful to have something that tells you if you are committing the right way.
This topic will be focused on **JavaScript projects**.

As you know, conventional commits are composed this way:
```
type(scope?): subject
body?
footer?
```
It's easy to do a commmit message that don't represent this standard so linting comes in our help!

We are going to use two packages: `commitlint` and `husky`

### [commitlint](https://commitlint.js.org)
This package checks if the commit messages are in the form showed above, or at least in a form `type: subject`. It's easily configurable through file so its configuration is shareable.

```javascript
module.exports = {
  extends: ['@commitlint/config-conventional']
}
```
With the package installed and configured we are telling the code that we would like our commits to be "conventional".
But we need to ask commitlint to lint our messages.
Can we do this automatically everytime we make a new commit?

### [husky](https://typicode.github.io/husky/#/)
Husky is a package that interact with the hooks exposed by git to trigger some custom actions: linters, error checking, scripts running, etc...
In this case we would like to trigger a `commitlint` check everytime we do a commit wothout the needing of launch the lint manually.
Fortunately the community comes in our help and we need to launch only two commands
```
yarn husky install

npx husky add .husky/commit-msg 'npx --no-install commitlint --edit $1'
```
---
At the end this setup will make sure that everytime we commit, the linter gets called and all checks are made.

And if we commit without following the rules, this happens (VSCode example)
![alt text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/odex4wga2zapm2fowbaq.png)
```bash
⧗   input: test commit
✖   subject may not be empty [subject-empty]
✖   type may not be empty [type-empty]

✖   found 2 problems, 0 warnings
```
Moving from Arch to Fedora 34
Tags: linux, archlinux, fedora
Published: 2021-04-19 08:33:15

After 4 years of using Debian with no troubles, I decided, back in last November to try Arch as my daily driver on a new work laptop I just got. Installing Arch was painful, making all my programs work under Wayland on a 4k screen took me a lot of time, and they were a lot of small annoying things that I did not have time to fix, making the whole experience irritating.

I started with a big to-do list of all the things I wanted to set up on the new laptop, but used so much time fixing things, that I gave up on many of my to-do list items, one being system backups. Fast-forward 4 months later and the obvious happened, my system broke after an upgrade.

My choice was simple, try and fix it, or start again. After 4 months of pain, I felt that it was probably a good sign for me to drop Arch, go back to something that just works, and spend my time doing more useful things. I've learned a lot of doing the entire Arch installation from scratch, setting up Ethernet and Wi-Fi, creating custom keyboard layouts, and many other things. I would probably recommend the process to anyone that want to improve its Linux skills, but I personally had enough.

Debian was the obvious choice to go back to, being my distribution of choice for a long time and my number one choice for all my servers, but the release system is not on pace with today's web development. 

After some research I decided to try Fedora 34 with the new shiny Gnome 40, and I was not disappointed! Everything worked right after the installation, 4k resolution on all the programs, it's fast, looks nice, Wayland without glitches, and no need to do a Google search every time I need to set up a new Wi-Fi connection. I was reluctant to go back to Gnome after 3 years of I3 and Sway, but some carefully chosen key maps made the transition easy, and my workflow was not impacted at all.

I still had to learn how to use DNF, Fedora's package manager, SELinux that come by default and will prevent you from doing shady stuff like running Docker, and rebuild my dotfiles almost from scratch, but it's a small investment to have a featureful and stable desktop environment.

Overall I'm really happy with the switch, it feels like I'm using a desktop environment made in the future. My Fedora install is not as bare bone and take a bit more resources, but it's well worth it, considering all the time that I do not need to spend fixing programs behavior on Sway.

If you're interested in trying Fedora 34, you can take a look at [my dotfiles](https://github.com/nicolasbeauvais/.dotfiles) which set up a working PHP / JS development environment and get rid of a lot of not so useful things that come with Fedora.

Finally, if like me, you have a Windows dual boot and went a bit too fast during the installation of Fedora 34, [here is how to repair a broken Windows EFI partition](https://dev.to/nicolasbeauvais/repair-windows-efi-partition-after-a-linux-installation-157o).