teleren/devto huggingface dataset:
ON DEMAND HOME SERVICE
Tags: plumber, painter, electrician, carpenter
Published: 2022-01-28 08:24:05

When someone need aid with small but major household tasks, the trouble arises when service skilled persons are unavailable or the trusted providers are impossible to find, who delivers consistently flawless service on instance.

Our online system for household services provides the most expedient and annoys free way to get your domestic work done.We aim to help in providing optimal solutions to all your household troubles with more efficiency, ease and majorly, a delicate touch.A single click system describes booking highly skilled in-house professionals and gets your service done on time. 

Customers’ overall willingness to pay is significantly and positively correlated with the expectation that fee-based services would be better, and with the belief that “pay for what you get” is the right thing to do.Keeping that in sense our proposed system is basically a marketplace for household services and it is the platform where the rates were standardized and there is no necessitate haggling over prices. 

Several aspects like painting, pest control, home cleaning, plumbing, electrical works and carpentry services are involved in a system to provide happy and healthy home atmosphere in order to satisfy consumers. The primary objective of the online system for household services is about delivering the home services at the door step just by one click.This paper discusses about main theme of the online home services,numerous services provided and how the ordering and delivery of services takes place.
 
Online system for household services can be used by any authorized user intending to seek for household services through an ingenious web based system or a mobile application. 

**OBJECTIVE**
   

- To reduce time

- Easily available best Vendors on one click

- Easy to use

- Reduce Burden of finding service provider

**References**

- Urbanclap

- Housejoy
Automate Whatsapp using Javascript | Spotlight of the day
Tags: codingtutorials, spotlightoftheday, automation, coding
Published: 2022-01-28 08:45:46

---
title: Automate Whatsapp using Javascript | Spotlight of the day
published: true
date: 2022-01-28 08:16:12 UTC
tags: CodingTutorials,Spotlightoftheday,Automation,coding
canonical_url: https://codingislove.com/automate-whatsapp-using-javascript-spotlight-of-the-day/
---

Learn how to automate whatsapp using Javascript (NodeJS) Ex: Automate sending messages/replying to messages, scheduling messages etc. A lot more can be automated!

Spotlight of the day is a library called [whatsapp-web.js](https://wwebjs.dev/)

Checkout [whatsapp-web.js github](https://github.com/pedroslopez/whatsapp-web.js) repo and watch the full tutorial video below

{% youtube iovH8bwSCWY %}

The post [Automate Whatsapp using Javascript | Spotlight of the day](https://codingislove.com/automate-whatsapp-using-javascript-spotlight-of-the-day/) appeared first on [Coding is Love](https://codingislove.com).
Deploy Button - Vercel, Heroku, Netlify, Repl
Tags: vercel, heroku, hosting, sh20raj
Published: 2022-01-28 07:10:29

# Deploy Button

---

## Vercel

Deploy public Git projects with the Deploy Button, providing an easy-to-use flow to set up new projects with Vercel and GitHub, GitLab, or Bitbucket.

Ref. :- https://vercel.com/docs/deploy-button

An example Deploy Button using the following HTML snippet.

Snippets
Use the snippets below in your Git repositories or your dashboards for users to deploy.

Markdown
```Markdown
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fhello-world)
```

HTML
```HTML
<a href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fhello-world"><img src="https://vercel.com/button" alt="Deploy with Vercel"/></a>
```
URL
```URL
https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fhello-world
```

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fhello-world)

---

## Heroku

Ref. :- https://devcenter.heroku.com/articles/heroku-button#adding-the-heroku-button

HTML
```html
<a href="https://heroku.com/deploy?template=https://github.com/heroku/node-js-getting-started">
  <img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy">
</a>
```
Markdown
```markdown
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/heroku/node-js-getting-started)
```
URL
```url
https://heroku.com/deploy?template=https://github.com/heroku/node-js-getting-started
```

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/heroku/node-js-getting-started)


---

## Netlify

The SVG URL for the button: `https://www.netlify.com/img/deploy/button.svg`.

The URL the button takes users to: `https://app.netlify.com/start/deploy`. This link requires the public Git repository as a parameter, for example:

Ref. :- https://docs.netlify.com/site-deploys/create-deploys/

HTML
```html
<a href="https://app.netlify.com/start/deploy?repository=https://github.com/netlify/netlify-statuskit">
  <img src="https://www.netlify.com/img/deploy/button.svg" alt="Deploy">
</a>
```
Markdown
```markdown
[![Deploy](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/netlify/netlify-statuskit)
```
URL
```url
https://app.netlify.com/start/deploy?repository=https://github.com/netlify/netlify-statuskit
```

[![Deploy](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/netlify/netlify-statuskit)

---

## Repl.it

Here is the URL Format `https://replit.com/github/{user}/{repo}`

Example :- 
This link https://replit.com/github/SH20RAJ/SopCss will deploy this repo https://github.com/SH20RAJ/SopCss on Repl.

---
Serendipity 3.0, un skin para tus interfaces favoritas. Incluyendo VS Code
Tags: vscode, spanish
Published: 2022-01-28 08:12:53

**Hola, buenas tardes,**

Pues hace tiempo os enseñe un tema para "Viescoud" VS Code, que se llamaba Serendipity y tal.

Bueno, pues lo he actualizado 100% y tiene un sitio oficial donde puedes ver que interfaces hay disponible y también copiar los colores con la herramienta color picker.
- [Serendipity Theme](https://serendipitytheme.com/)


![serendipitytheme.com color picker](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yam7wsk3kk35d5op61wq.jpeg)

El tema ha pasado las 12 Mil instalaciones, supongo que es buena señal y que a la gente le gusta.

En esta versión he curado los colores como un quisquilloso para que no nos salgan úlceras en los ojos (  si eso es posible) 

Si un suponer alguien utilizaba la versión anterior no os preocupéis, que también está publicada pero es independiente del principal y no la voy a mantener. 

Otra cosa, la versión nueva ya la hemos adaptado para otras interfaces. Si alguien quiere aportar su versión, echen a la n ojo y un brazo a la repo para seguir las pautas de trabajo. 

Les dejo unas imágenes para que puedan apreciar los toques de Salvador Dali. ( aka, yo. Mismo). 

Esta nueva versión viene con 3 alternativas, Midnight, que es oscuro como mi futuro, Sunset, oscuro pero con un chorro de lejía. Y bueno, Morning que es muy, pero que muy blanco. 

Última versión de Serendipity.
- https://marketplace.visualstudio.com/items?itemName=wicked-labs.wvsc-serendipity

Versión antigua. 
- https://marketplace.visualstudio.com/items?itemName=wicked-labs.old-serendipity

Y con esto y un bizcocho me voy a casa que son casi las ocho. 

Que tengan un buen día. 

![serendipitytheme.com midnight](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cl43a2fijtxue2jocoz7.png)

![serendipitytheme.com sunset](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1bdapfob9oighepz83ac.png)


![serendipitytheme.com morning](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2mer479s0v3nl8pwh674.png)

/Mike at [Wicked Templates](https://www.wickedtemplates.com/)
Free and Premium themes, UI Kit's, templates and landing pages built with Tailwind CSS, HTML & Next.js.
Enjoy Programming-Themed Humor? Here's today's daily developer joke!
Tags: jokes, dailydeveloperjokes
Published: 2022-01-28 08:00:26

---
title: "Enjoy Programming-Themed Humor? Here's today's daily developer joke!"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e1258d16351b.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit._

<!--
Joke text:
___Q:___ What do you get when you cross a computer and a life guard?

___A:___ A screensaver!
 -->
Open Source Web SSH
Tags: python, ssh, opensource, linux
Published: 2022-01-28 07:40:54

## [WebSSH](https://github.com/huashengdun/webssh)
<span><strong><i class="fa fa-star">Star 2.7k</i> <i class="fa fa-eye">Watch 74</i> <i class="fa fa-code-fork">Fork 687</i></strong></span>


## Introduction
A simple web application to be used as an ssh client to connect to your ssh servers. It is written in Python, base on tornado, paramiko and xterm.js.

## Features
- SSH password authentication supported, including empty password.
- SSH public-key authentication supported, including DSA RSA ECDSA Ed25519 keys.
- Encrypted keys supported.
- Two-Factor Authentication (time-based one-time password) supported.
- Fullscreen terminal supported.
- Terminal window resizable.
- Auto detect the ssh server's default encoding.
- Modern browsers including Chrome, Firefox, Safari, Edge, Opera supported.

## Preview
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/no9dzre4b0lcug1w1piw.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ned1hlf2easjsk9gm4b.png)

## How it works
```
+---------+     http     +--------+    ssh    +-----------+
| browser | <==========> | webssh | <=======> | ssh server|
+---------+   websocket  +--------+    ssh    +-----------+
```

## Requirements
Python 2.7/3.4+
Didn't Upload Image in Comment Section (Please Solve)
Tags: webdev
Published: 2022-01-28 07:39:55

Hello Dev Team Members Please Solve This Issues that When I paste code of Image The Image is not uploading in comment section. So 
please improve this image comment section bugs.

Here I have posted some Screenshot that I face Problem: 

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

I cannot Upload Image in comment section but when I saw upload image option then I understood that I can upload a image in comment section but when I click on upload image I cannot see my image when I publish it.

Please Solve this Issues #DevTeamMembers
Monitoring dynamic API routes
Published: 2022-01-28 07:39:37

When it comes to monitoring endpoint specific data from your applications, your data can easily become noisy as the amount of your endpoints gets bigger. This is no longer the case with Apilytics as we are rolling out our support for dynamic API routes! Read our announcement about this major new feature at: https://www.apilytics.io/blog/monitoring-dynamic-api-routes
Understand SQL cartisien product !
Tags: sql, mysql, tutorial, beginners
Published: 2022-01-28 07:32:59


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vtvplfaum6xsa2iz7pb1.jpg)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/erqtdo2xf1dvbs2prrvy.jpg)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tbtl9y6ec6g7ov6a6smi.jpg)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/naaykre1jf4z6shdrztp.jpg)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ff2dkcbirwd8iqqn0nws.jpg)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xkgzke753euy56mgx7ih.jpg)

if you liked the post please help us grow by subscribing to our youtube channel and our instagram
youtube: https://www.youtube.com/channel/UCZ2xCxsUyY-Nt4fKGA-eAUw/videos
intagram:https://www.instagram.com/sh_atud



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bnaqomiblr92irlki392.jpg)
Undo a merge or a rebase
Tags: git, beginners, tutorial
Published: 2022-01-28 07:32:46


Have you merged the wrong branch into your branch? or maybe you rebased your branch on the main branch but something 
went wrong during the process? Don't worry! You can undo a merge/rebase process fairly easily.

Before doing a dangerous operation, like merging or rebasing, Git saves your previous `HEAD` location in a special 
variable called `ORIG_HEAD`. This way you can always go back to where `HEAD` was before you started the operation.

Let's say I have a branch called `feature_1`. I have accidentally merged the wrong branch into it. Instead of merging
`main`, I merged `develop` to it (commit `af735d2`). I would like to undo this operation.

```text
*   af735d2 (HEAD -> feature_1) Merge branch 'develop' into feature_1
|\
| * db7d7a6 (develop) add login button
| * 2f0ae72 (main) add test fixtures
* | 2d487f5 create user profile page
|/
* 2f591bd fix bug #1
* 290fc8b add db config file
```

Before I did the merge, Git saved the value of the previous HEAD location to the `ORIG_HEAD` variable. In this case,
`2d487f5`.
To remove the last commit I can instruct Git to reset to the location of `ORIG_HEAD` like this:

```text
(feature_1)$ git reset --hard ORIG_HEAD
```

Now my commit tree is clean, and I am back to where I was before the wrong merge. 
Notice that the merge commit is removed:

```text
* db7d7a6 (develop) add login button
* 2f0ae72 (main) add test fixtures
| * 2d487f5 (HEAD -> feature_1) create user profile page
|/
* 2f591bd fix bug #1
* 290fc8b add db config file
```

You can use the same command for undoing a rebase.

<a href="https://chipper-musician-9131.ck.page/fc2d4720ba">
![signup](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/97ydrey0skt5rq5gbht6.png)</a>
Day 4/100 Java
Tags: 100daysofcode
Published: 2022-01-28 07:31:42

Another day, another problem.

**Language:**
JAVA

**Time Period Spent:**
1hr 30mins

**Course Taken:**
Udemy: Java Programming Masterclass - Tim Buchalka

**Todays Learning:**
- Code Challenges:
	- Speed Converter
	- Megabytes Converter
	- Barking Dog 

**Additional Notes:**
Today has been a lot of fun, I've focused on pure coding challenges provided in the course, a lot of head scratching / calculations but hey... that's what coding is at the end of the day pure problem solving. Speed converter was simple, Miles to Kilometres. Data Converter was complied of outputting MB and its remining KB. Lastly the barking dog was a straightforward if else statement.
Calling inVAT Consultants Early Can Help You with Your VAT Requirements
Published: 2022-01-28 07:26:03

If you are a first-timer, you must essentially realise that VAT Consultants are subject matter specialists in the field of Value Added Tax (VAT). You must hire a qualified **[VAT consultant ](https://www.accountantdubai.ae/vat-consultants
)**if you need assistance in applying VAT, VAT procedures, and VAT rates- that essentially tend to change from state to state. 

If you are looking for a reliable and qualified VAT consultant, you may find it useful to call us today at Accountant Dubai. You will have genuine support from us in VAT registration; VAT return filing, VAT hearings, VAT audits, VAT consultations, and more with professional **[VAT consultants.](https://www.accountantdubai.ae/vat-consultants

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5xq1pytem4n2vkudbuz8.jpg))**
How to create simple group chats using Rails
Tags: rails, react
Published: 2022-01-28 07:14:06

Hey! Have you ever thought about implementing group chats in your project? Well, you're in the right place. I'm going to walk you step by step through the process of creating simple group chats using Rails backend. Let's get right into it.

To start off you're going to want to setup the controllers, models and serializers for your backend using something like:
```
rails g resource User name
rails g resource Group name
rails g resource Message text references:user references:group
```
Once you have that setup you want to go over to your User and Group models to make sure to add has_many :messages to their models. After doing that here's what your models should look like.

User:
```
class User < ApplicationRecord
  has_many :messages
end
```
Group:
```
class Group < ApplicationRecord
  has_many :messages
end
```
Message:
```
class Message < ApplicationRecord
  belongs_to :user
  belongs_to :group
end
```

Next you're going to want to setup your Messages Controller with an index and create and it should look like:

```
class MessagesController < ApplicationController
    def index
        render json: Message.all, status: :ok
    end
    
    def create
        new_message = Message.create!(message_params)
        render json: new_message, status: :created
    end

    private

    def message_params
        params.permit(:group_id, :text, :user_id)
    end
end
```

Now on your frontend when you fetch('/messages') with a get request it will return and array of objects (messages) that are already put in order of creation. From here you can filter this on your frontend to figure out what group/user the message belongs to. (on the other hand you can also do this on the backend with setting up custom routes and serializers to allow you to fetch to a route that will return messages that belong to a specific group). When creating a new message you just send a post request to your '/messages' with the user_id, group_id and text in the body object.

Hope this helped you a bit to get started on setting up some group chats!
Using setTimeout in JavaScript
Tags: javascript, beginners
Published: 2022-01-28 06:53:03

When working with JavaScript, there will be a point where you'll want to wait a certain amount of time to run a function.

This can be to animate something after a specific time, for instance.

For instance, in this [copy text to clipboard script](https://daily-dev-tips.com/posts/vanilla-javascript-copy-text-to-clipboard-with-clipboard-api/), we use a timeout to change the text back to what it was before.

## JavaScript setTimeout function

In it's most basic form the function looks like this:

```js
setTimeout(() => {
  // Run after 100 milliseconds
}, 100);
```

You see, the number `100` refers to the milliseconds it will wait to run.

As you can see, the basic example uses an arrow functions array that will be invoked.
You can also pass your function in the following way.

```js
const coolFunc = () => {
  console.log('do a trick');
};

setTimeout(coolFunc, 200);
```

And again, this will do the same as the above one.

But let's say your function takes parameters. We can even do that with this setup.

```js
const coolFunc = (name, age) => {
  console.log(`Hi ${name} you are ${age} years old?`);
};

setTimeout(coolFunc, 200, 'Chris', 32);
```

As you can see, the props are passed after the timeout parameter.

I see you thinking!
What will happen when we set the time to 0?

Good question, and it will be executed immediately.

But! This will only be invoked after all the other functions finish, even if they come later in the script.

```js
setTimeout(() => {
  console.log('zero wait timeout');
}, 0);

console.log('first');

const otherFunction = () => {
  console.log('The other function');
};

otherFunction();
```

Which will result in:

- first
- The other function
- zero wait timeout

So as you can see, the setTimeout, even though it has zero milliseconds, will only fire last.

## Cancel the setTimeout function

There are these times where you might want to abort the timeout you had planned.

We can define the timeout as a function, which gives us the option to clear it.

```js
const timer = setTimeout(() => {
  console.log(`I'll explode! 💣`);
}, 2000);

clearTimeout(timer);
```

Oef, luckily this bomb didn't go off! 👀

And there you go, we covered all the basics of the setTimeout function.

If you are keen to see some more real-world examples, here is a list of articles using them.

- [Double click to like Instagram effect](https://daily-dev-tips.com/posts/double-click-to-like-instagram-effect-in-javascript/)
- [How is your year loading](https://daily-dev-tips.com/posts/how-is-your-year-loading/)
- [Redirect a web page](https://daily-dev-tips.com/posts/redirecting-a-web-page/)

Or you can check out this CodePen and have a play with it.

{% codepen https://codepen.io/rebelchris/pen/oNGORyN %}

### Thank you for reading, and let's connect!

Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on [Facebook](https://www.facebook.com/DailyDevTipsBlog) or [Twitter](https://twitter.com/DailyDevTips1)
Command to list docker containers
Tags: docker, commands, codever, snippets
Published: 2022-01-28 06:51:44

To list the docker **running** containers use the following command:


```shell
docker ps
```

To show **all** running containers use the `-a` (`--all`) option:

```shell
docker ps -a
```

If you want to filter, by name for example you can use the `--filter` option with the `name=containing_text` value

```shell
$ docker ps --filter "name=codever"
8a01ae8ef526   jboss/keycloak:6.0.1   "/opt/jboss/tools/do…"   3 days ago      Exited (255) 10 hours ago   0.0.0.0:8480->8080/tcp     codever-keycloak
f7c51c81dc4f   mongo:3.4              "docker-entrypoint.s…"   3 days ago      Exited (255) 10 hours ago   0.0.0.0:27017->27017/tcp   codever-mongo
5b2f88b9fe57   postgres               "docker-entrypoint.s…"   3 days ago      Exited (255) 10 hours ago   5432/tcp                   codever-postgres
```

You could also obtain similar results if piping the `docker ps` command to `grep` - `docker ps -a | grep codever`

<span style="font-size: 0.9rem">
  <strong>Reference - </strong>
  <a href="https://docs.docker.com/engine/reference/commandline/ps/" target="_blank" style="font-weight: lighter">
     https://docs.docker.com/engine/reference/commandline/ps/
  </a>
</span>

<hr/>

> Shared with :heart: from [Codever](https://www.codever.dev/snippets/60bc572a5eeee76d9163b692/details). Use :point_right: [**copy to mine**](https://www.codever.dev/snippets/60bc572a5eeee76d9163b692/details) functionality to add it to your personal snippets collection.