teleren/devto huggingface dataset:
Top 5 Tech Gadgets under ₹1000
Published: 2021-04-24 15:56:29

Hello Guys, Welcome back to a new post of **Sai Ansul's Blog**. In this blog, I have got for you some very innovative tech gadgets which will help in our daily lives.

The criteria under which the gadgets are selected is listed below:

-Pocket Safe
- Self-tested
- Good Review
- Easily available

Now let's start,

## 1. SSBright Portable Wooden Speaker

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619274318304/gQBUDGZKJ.png)
This is Bluetooth speaker which has a funky wooden radio reason. This has a good bass, with decent audio quality. This a good one for price around ₹759. This has an input of DC-5V,with 10m coverage. 
Can Directly play music from USB/TF-card/Line-in cable/all kind of audio devices through Line in cable Designed to charge most handheld devices and smartphones. It supports all types of devices.

## 2. Electronics Case Zipper

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619275200255/eH3rQL_Kk.png)
This is a very helpful gadget, it has many pockets to keep all your electronics organized at one place, the gadgets that you can keep are  USB Flash Drives Data Earphone Cable Case Organizer Bag Digital Storage Pouch. For various cable, power bank, flash drive, memory card, SD cards,7.9”pad, USB drive, cellphone, charger, mouse, kindle, tablet and other accessories. This comes with 3 color designs, this is of a good quality, double layered nylon. And its waterproof too. At a price of ₹499 its worth every penny you pay.

## 3. Vlogging Mike

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619276513389/g1YW-sZbJ.png)
This one of the best mike if you want to vlog, and if you are a beginner this one can be for you, this mike has a 20ft cable with aux outlet, you can connect with laptop, mobile, tablet and more. This also has noise cancellation and record crystal clear voice. It just costs ₹759. 

 ## 4. Anti-theft bag

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619276888898/8F4e6nVmm.png)
This is an anti-theft bag, its water proof and has many spaces to keep your electronics organized. It just costs ₹849.
![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619277211215/fV6eMJ_C-.png)
Using this bag you can also charge your phone, it also has many other features. You can check it out.

## 5. Gaming Mouse

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1619277673015/89JbqXpH5.png)
This is USB mouse which is mostly liked by gamers, it has a funky design. It has 7 gaming operational keys. It has a rubber grip at the sides, its sturdy if you are a gamer you can have a look at this one. 
It just costs  ₹499, it gives you a very comfortable fell while having gameplay, it also has lights in it.

This for it today guys, These gadgets are useful if you like you can also buy these.

If you like my content and want to support my efforts please like👍🏻, share📲 & subscribe to the newsletter to be get notified w
JAVA Semester Project | Review Plsss! | GN Tours and Services
Tags: discuss, devops, showdev, devjournal
Published: 2021-04-24 15:51:56

Finally, I have completed our project. This was my first Java project on this scale. Seriously, I had no idea about how far I will make it after I decided on this idea to implement. But at last, I am happy to share that I implemented more utilities than I initially thought!

𝓖𝓝 𝓣𝓸𝓾𝓻𝓼 𝓪𝓷𝓭 𝓢𝓮𝓻𝓿𝓲𝓬𝓮𝓼

𝐅𝐮𝐥𝐥𝐲 𝐋𝐨𝐚𝐝𝐞𝐝 𝐑𝐞𝐚𝐥 𝐖𝐨𝐫𝐥𝐝 𝐀𝐩𝐩𝐥𝐢𝐜𝐚𝐭𝐢𝐨𝐧 𝐭𝐨 𝐝𝐞𝐯𝐞𝐥𝐨𝐩 𝐚 𝐬𝐲𝐬𝐭𝐞𝐦 𝐭𝐡𝐚𝐭 𝐚𝐮𝐭𝐨𝐦𝐚𝐭𝐞𝐬 𝐭𝐡𝐞 𝐩𝐫𝐨𝐜𝐞𝐬𝐬𝐞𝐬 𝐚𝐧𝐝 𝐚𝐜𝐭𝐢𝐯𝐢𝐭𝐢𝐞𝐬 𝐨𝐟 𝐚 𝐭𝐫𝐚𝐯𝐞𝐥.

## Functionalities:

<li>Fully Secured Authentication i.e. SignUp, Login, logout,Forget Password utilities. Encryption and Decryption of user passwords</li>
<li>Loading Welcome Screen to user</li>
<li>Registration</li>
<li>OTP Email Sending utility.</li>
<li>Confimation Email Sending utility after successfull registration</li>
<li>Update Details if user wants to update</li>
<li>View User Details</li>
<li>Different Packages with different prices and offerings</li>
<li>View Hotels</li>
<li>Book Package Utility</li>
<li>Dynamic Hotels Integration with Database</li>
<li>Book Hotel Utility</li>
<li>View booked Package and Hotel</li>
<li>No of person, AC/Non AC room, food/No food etc all utilities offerings and then dynamically calculation of prices</li>
<li>View Destination</li>
<li>Payment with Stripe</li>
<li>Chat Bot for answering FAQs</li>
<li>Review Us utility includes user rating out of 5 and their comments about our services</li>
<li>About Us</li>

## Used Tech:

<li>Java Swing for UI</li>
<li>MySQL for Database</li>
<li>AES Algorithm for encryption/decryption of passwords</li>
<li>JavaMail for sending email OTP</li>
<li>Stripe API Payment Gateway </li>

## Database Records

### Database == Travel

#### Tables:

<li>account for auth</li>
<li>customer for registration</li>
<li>bookpackage for booking of package</li>
<li>hotel for adding hotels in table and dynamically fetching them in UI</li>
<li>bookhotel for booking hotels</li>
<li>review for reviewing our services</li>

#### If liked feel free to star it!:star_struck:
<a href="https://github.com/GauravSingh9356/GN_Tours_Services/tree/master">Github Code Link</a>

<a href="https://www.linkedin.com/feed/update/urn:li:activity:6785495647555469314/">LinkedIn</a>
Total Hours app
Tags: ios, macos
Published: 2021-04-24 15:46:30

<a href="https://apps.apple.com/app/total-hours/id1554679226">
  <img src="https://raw.githubusercontent.com/darrarski/TotalHours-app/main/Resources/Download_on_the_App_Store_badge.png" alt="Download on the App Store" align="right"/>
</a>

**Measure your events time.**

Total Hours is a utility app that allows summarizing the time of events in your calendar. You can check how much time you're spending on various meetings in different time periods.

- Search your calendar
- Check events interval
- Compare time periods

The application works on your iPhone, iPad and Mac computer. 

Your privacy is respected - Total Hours app does not collect your data or share with anyone.
What exactly is HTML and Why it is called so?
Tags: html, webdev, codenewbie
Published: 2021-04-24 15:02:29


> So basically, **HTML** is a standard *markup language* for documents designed to be displayed in a web browser(Webpage).

###Then, What is a markup language??

Let's understand it through a simple example,

Suppose I asked🙏 you to send *your favorite color* and *your pet's name*, and this is what you responded with -

![Your Response](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jvksb9dalhzjaxru3vfd.jpg)

Looking at the same, I got confused😕 about which of them is what??
So this time, I asked you for the same but with more precision...
and this is what I have got -

![Your Final Response](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8j0c1f3kv66t13oc8jfz.jpg)

Finally! A clear response😌...

---

So what you did the second time is what the job of markup language is...
We mark the text in a document to tell the *Web browser* what exactly is that text about
and in *HTML*, to mark those texts we use something called **HTML Tags**

For example -

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

The above code tells the Web browser that **Mumbai, India** is an *address*

and this is why,
**HTML** stands for _**H**yper **T**ext **M**arkup **L**anguage_

---
###HyperText??

When HTML was first developed, they came up with the concept of **hyperlinks** through which a user can jump from one webpage to another and it was so revolutionary that they named the language after it.
and **HyperText** is just another name for *hyperlinks*
Important Questions of Docker Containerization
Tags: docker, devops, containerization
Published: 2021-04-24 14:58:56

According to the **Stack Over Flow 2020 Developer Survey**: Linux remains the most loved platform and container technologies such as Docker and Kubernetes rank as the second and third most loved.

In this post i have covered some of the important questions  which you can cover in order get started with the Docker Containerization.

1. Glossary: Image, Container, Docker Hub and Repositories ( Private and Public )


2. What is Docker?

3. What is Virtual Machine and Virtualization?

4. Docker Vs VMs

5. Why Do i Need to Use Docker?

6. Features of Docker

7. Drawbacks of Docker

8. Explain Docker Image

9. Explain Docker Engine

10. Explain Docker Registries

11. Knowing the Basic Docker Commands

12. How to start or stop the containers

13. Important Docker Commands in Docker File

14. What is Memory Swap Flag

15. Explain Docker Swarm

16. Monitoring the Docker in Production Environment

17. States of Docker Container

18. Explain Docker Hub

19. Explain some practical examples by writing Dockerfile for python, ASP.net or Java etc

20. Explain Docker Client and Daemon

21. CI/CD in Docker

22. Explain Docker Architecture

Intentionally answers are not provided and it is up to readers who can frame the answers by going through the different resources and by practicing in your local development Environment.

Please feel free to add more questions to it , looking forward for the suggestions thanks in advance
Text Shadows Using Shine.js
Tags: css, html, webdev, uiweekly
Published: 2021-04-24 14:58:11

There have so many libraries to make beautiful effects a couple of times. So here we made shine effects in Shine.js which is DomElement library and help of CSS.

In these pretty shadows effects which we just follow the shine.js documentation with config value. Here we used shine.js CDN from cloud flare and for effects we declare parameters.

Make it yours now by using it, downloading it, and please share it. we will design more elements for you.

[Source Code](https://w3hubs.com/text-shadows-using-shine-js/)
Kotlin Firebase Authentication – Send Reset Password Email / Forgot Password | Android
Tags: kotlin, firebase, android, authentication
Published: 2021-04-24 14:40:07

https://grokonez.com/android/kotlin-firebase-authentication-send-reset-password-email-forgot-password-android

Kotlin Firebase Authentication – Send Reset Password Email / Forgot Password | Android

In previous <a href="https://grokonez.com/android/kotlin-firebase-authentication-how-to-sign-up-sign-in-sign-out-verify-email-android">post</a>, we have known way to implement Sign up, Sign in/out, Verify Email. Today, we continue to take a look at way to send Reset Password Email in case User forgot Password.

*Note: This tutorial bases on code in related post:
<a href="https://grokonez.com/android/kotlin-firebase-authentication-how-to-sign-up-sign-in-sign-out-verify-email-android">Kotlin Firebase Authentication – How to Sign Up, Sign In, Sign Out, Verify Email | Android</a>

We just add an Activity to App for handling Reset Password Email and some statements to old code for logic.

<!--more-->
<h2>I. Way to do</h2>
<h3>1. Add Firebase Auth to Android App</h3>
Read <a href="https://grokonez.com/android/kotlin-firebase-authentication-how-to-sign-up-sign-in-sign-out-verify-email-android">Kotlin Firebase Authentication – How to Sign Up, Sign In, Sign Out, Verify Email | Android</a> and follow steps to enable and implement Firebase Auth in your Android App.
<h3>2. Send a password reset email</h3>
Use <code>sendPasswordResetEmail()</code> method:
<pre><code class="language-java">
private var mAuth: FirebaseAuth? = null
//...
mAuth = FirebaseAuth.getInstance()

mAuth!!.sendPasswordResetEmail(email)
        .addOnCompleteListener { task ->
            if (task.isSuccessful) {
                // successful!
            } else {
                // failed!
            }
        }
</code></pre>
We can customize the email template in Firebase console:
<img src="https://grokonez.com/wp-content/uploads/2017/08/firebase-auth-email-password-mail-template-reset.png" alt="firebase-auth-email-password-mail-template-reset" width="699" height="420" class="alignnone size-full wp-image-7121" />
<h2>II. Practice</h2>
<h3>1. Goal</h3>
We will build an Android App that can:
- create Account, sign in/sign out, send email verification.
- display current status/user information with verified email status.
(all things above are from previous tutorial)
- send reset password email in case user forgot password.

More at:

https://grokonez.com/android/kotlin-firebase-authentication-send-reset-password-email-forgot-password-android

Kotlin Firebase Authentication – Send Reset Password Email / Forgot Password | Android
Popular string functions in MySQL - Replace and Reverse
Tags: sql, mysql
Published: 2021-04-24 14:37:46

---
title: Popular string functions in MySQL - Replace and Reverse
published: true
description: Popular string functions in MySQL (prt2)
tags: #sql #mysql
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/em23zwkghyz8hyq28d00.png
---

###REPLACE
The replace string function replaces a part of a string with another string. This function is case sensitive.
```
select replace('hello world', 'wor', '$$$');
```
Can you guess what the result of this would be? 
Result: hello $$$rld
In the example above, we have replaced **'wor'** with **'$$$'**. 
The below screenshot uses replace on the "title" column in the books table and replaces all lower letter e's with the number 3
<img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dy8y4arz4sdski9zp0gz.png">

You can also combine the replace string function with other string functions:
```
select substring(replace(title, 'e', '3'),1,5) As weird_title from books;
```
The screenshot below shows the results: All the lowercase e's have been replaced by the number 3 and the substring function has been used to extrapolate the first 5 characters from the data.
<img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e052xlk27sphsb66bhz4.png">

###REVERSE
The reverse string accepts one argument (the string to be reversed) and the reverses it.
```
select reverse('hello world');
```
Result is: dlrow olleh

That's the end of this article. Hope you found it useful!
CSS Battle #7 level 37 
Tags: css, html, webdev, tutorial
Published: 2021-04-24 14:25:13

Link: https://cssbattle.dev/play/36

```
<div><p><p b>
<style>
  *{
    background: #1A4341;
    position: fixed
  }
  p{
    width: 50;
    height: 250;
    background: #F3AC3C;
    margin: 92 17;
    border-radius: 100px;
    -webkit-box-reflect: right 100px
  }p[b]{
    background: #998235;
    margin: -58 92;
    -webkit-box-reflect: right 100px
  }div{
    -webkit-box-reflect: right 534px
  }
```
CSS Battle #7 level 33
Tags: css, html, tutorial, webdev
Published: 2021-04-24 14:21:08

Link: https://cssbattle.dev/play/33

```
<p a><p b>
<style>
  *{
    background: #1A4341;
    position: fixed
  }
  p[a]{
    width: 75;
    height: 150;
    background: #998235;
    margin: 67 117;
    border-radius: 100px 0 0 100px
  }p[a]:before{
    content: "";
    background: #0B2429;
    width: 30;
    height: 30;
    border-radius: 100%;
    position: absolute;
    margin: 30
  }
  p[b]{
    width: 100;
    height: 100;
    background: #F3AC3C;
    border-radius: 0 100px 0 0;
    margin: 42 192
  }
```
【Redis Week】 - 7 Days Best Practice With Alibaba Cloud ApsaraDB - Day05
Tags: database, redis, webmonetization, bigdata
Published: 2021-04-24 14:19:27

### Day 5 - Take Benefits From Redis Ecosystem
[Watch Now (40 mins)>](https://www.youtube.com/watch?v=b2PhmhD4qgo)

> This video is in Chinese, and it's free. The contents are suitable for all developers, DBAs and database enthusiasm. For English speakers, we recommended to click the playlist in the end of the video or you can click the link below to start learning directly.
[Best Practice of Redis (EN)>](https://www.youtube.com/playlist?list=PL54EFTJJZrwgfve8XuYSKTnIfve08WmfN)

### Main Contents

1. What are the Redis Shake, DTS, DMS, DBS and DAS? How they can be used for Redis migration, synchronization, backup, restoration, data management and automatic O&M?
2. How Redis can be a cache for RDS to decrease the query workload of relational database? 
How to sync data from your relational database to Redis?
How Redis Stream can be embed to a Spark solution to do page click statistics?
Sizin İçin En Uygun Filmler ve Diziler Hangileri ?
Tags: movie, series, cinema, sinema
Published: 2021-04-24 14:12:41

Birçoğumuz film ve dizileri izlemekten hoşlanır. Peki, sizin en sevdiğiniz film ve dizi türü hangisi ? 
Bazı insanlar aksiyonu damarlarına kadar hissetmek isterken, bazıları ise aksiyondan ziyade acıklı ve trajedik olayların yaşandığı hikayelere bayılırlar. Burada karar vermek için izlediğiniz filmlerin ve ya dizileri gözden geçirin. 

1) Inception, Interstellar, Prestige tarzındaki yapımları mı seviyorsunuz ? 
Cevap: O zaman siz çılgın bir bilim-kurgu hayranısınız.

2) Extraction, 6 Underground, John Wick tarzındaki yapımları izlemekten daha mı çok zevk alıyorsunuz ? 
Cevap: İşte siz yerinizde duramayan tam bir aksiyon canavarısınız.

3) Esaretin Bedeli, Marriage Story, Hayat tarzındaki yapımları mı seviyorsunuz ? 
Cevap: O zaman siz acıklı hikayelerle eğlenen dram psikopatısınız.

Sizde MRG Film Rulosu gibi sitelerde <a href="https://mrgfilmrulosu.com/film">Film İncelemeleri<a/> ve Dizi İncelemelerine bakarak, size göre en uygun olan film ve diziyi kolayca karar verebilirsiniz.
Git - How to fix a bad commit
Tags: git, beginners, productivity
Published: 2021-04-24 14:01:35

Oh no, this commit is a mess! 🤦‍♂️

We all have a bad day sometimes. We can forget to include a file, leave some comments, or a merge didn't go as expected. Fortunately, Git has some commands to deal with these common situations and I want to show you some of them.

**Modify commit message**

Oops... You found a spelling mistake in the commit message. No worries, you can modify it:

``` bash
git commit --amend -m "new message"
``` 

**Add files to last commit**

You already have committed the changes but forgot to add some files. No problem, you can still add them to the commit:

``` bash
git add <file_name>
git commit --amend HEAD~1
``` 

**Undo commits**

If you want to undo the last commit but keep the changes:
``` bash
git reset --soft HEAD~1
``` 

If you want to undo both commit and changes: ⚠️ Be sure that you want to lose the changes:

``` bash
git reset --hard HEAD~1
``` 

Alternatively, if you want to undo all your local changes, you can reset to the origin version of the branch:

``` bash
git reset --hard origin/<branch_name>
``` 

If you want to undo the commit without altering the existing history. You can use `git revert`, this command undoes a commit by creating a new commit:

``` bash
git revert HEAD
``` 

If you have just resolved some conflicts, finished the merge, and push to origin. But wait, something went wrong...

The safe way to undo a merge commit that has already pushed to the remote branch is using the `git revert` command:

``` bash
git revert -m 1 <commit_id>
```
`commit_id` is the merge commit id that you want to revert.

**Notes:** 

- You can also undo any number of commits. E.g:

 - `git reset HEAD~3` (going back three commits before HEAD).
 - `git reset --hard <commit_id>` (going back to a specific commit).

- Use `git reset` if the commit is not pushed yet and you don't want to introduce a bad commit to the remote branch.

- Use `git revert` to revert a merge commit that has already pushed to the remote branch.

- Use `git log` to review the commit history.

- If you prefer, you can also create a new commit with the fix.

I hope you find these commands as useful as I do and can use them. If you already knew these or think one is missing, please let me know in the comments. Thanks for reading!

<a href="https://www.buymeacoffee.com/guivern"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=guivern&button_colour=40DCA5&font_colour=ffffff&font_family=Comic&outline_colour=000000&coffee_colour=FFDD00"></a>
The layers of OSI model
Published: 2021-04-24 13:43:22

Computer Network is a group of computers connected with each other through wires, optical links so that various devices can interact with each other through a network. Computer network is for sharing of resources among various devices .There are different models in computer networking :*OSI model *TCP/IP model.
There are seven layers in OSI model.
1.Physical layer : this layer provides a physical medium through which the bits are transmitted.
Functions of physical layer are: line configuration, data transmission, topology, signals.
2.Data link layer: it is used for error free transfer of data frames.
Functions: Framing, Physical addressing , Flow control, access control.
3.Network layer: it is responsible for moving packets from source to destination.
Functions: Internetworking, Addressing, Routing , packetizing.
4.Transport layer: it provides reliable reliable message delivery from process to process .
Functions: Service-point, addressing, segmentation and reassembly, connection control, error control.
5.session layer: it is used to establish, manage and terminate the sessions.
Functions: Dialog control, Synchronization.
6.Presentation layer: it is responsible for translation , compression and encryption .
Functions: translation, Encryption, Compression.
7.Application layer: This layer provide the services to the user.
Functions: File transfer, access and management(FTAM), mail services.
How to Earn money online

Published: 2021-04-24 13:40:25

With a situation involving more time at home and/or more free time in general, maybe fewer working hours for some, some of you might have some free time on hands. 
Here are a few online platforms that can help you earn money online :

Freelancing :

Freelancing has always been a popular way to earn money online and the Internet has several options. There are several websites offering freelance tasks for people with varying skills. All you need to do is to create an account, browse through the listings, and apply for the task that suits you. Some websites may even require you to create a personal listing with the details of your skillset, so that interested clients can contact you directly. But remember, you will only get paid once you successfully complete the given task and it has been approved by your client. This may even mean revising the work several times unless the requirements of your clients are met.

Affiliate marketing :

Once your website is up and running, you could opt for affiliate marketing by allowing companies to insert web links on to your site. This is like a symbiotic partnership. When visitors to your site buy products or services by clicking on such links, you earn out from it.

Virtual assistantship :

Doing all the corporate stuff from one's home is what a virtual assistant (VA) does. VAs basically work remotely with their clients and manage the aspects of their business that they are too busy to handle themselves. When you work as a virtual assistant, you can choose to work as an employee or you can set up your own business.
VAs are skilled, home-based professionals that offer companies, businesses, and entrepreneurs administrative support. Some of the major areas of work includes making phone calls, email correspondence, Internet research, data entry, scheduling appointments, editing, writing, book keeping, marketing, blog management, proofreading, project management, graphic design, tech support, customer service, event planning, and social media management.

Starting your own website :

There is enough material available online to help you put together a website. This includes choosing the domain, templates, layout and the overall design for your website. Once ready to service the visitors with the relevant content, sign up for Google AdSense, which when appear on your website and clicked on by visitors, help you make money. The more traffic you get on your website, the more will be the potential for higher earnings.