teleren/devto huggingface dataset:
Creating a Google Account Using Your Work Email
Tags: google, productivity
Published: 2020-03-17 01:10:03

Ever had a colleague invite you to collaborate on a Google Doc using your work email and get prompted to request access using your gmail account? To avoid this, you can create a Google account using your work email (e.g. @xyzcorp.com) instead of the default @gmail.com or subscribing to GSuite. When your work email is a Google account, you can use it to login wherever there is a prompt for a Google account (Google Drive, Google SSO Login - Gitlab, Trello, Airtable, Jira, Clubhouse, etc.).

1. In your browser, set to Incognito mode and go to https://drive.google.com

2. Click on Create account -> For myself

    ![Google Signup](https://dev-to-uploads.s3.amazonaws.com/i/n4mt0pps67slo4bfodu8.png)

3. Click on “Use my current email address instead” and type your work email. Fill in the other fields, then click on next.

    ![Google Create Account](https://dev-to-uploads.s3.amazonaws.com/i/zthwrpbs1u6tlma1k4y0.png)

After doing this, your work email is now a Google account and you can be invited to collaborate on other Google services.
Dashboard to track the Coronavirus Disease (COVID-19) Statistics using the Lightning Web Component. 
Tags: salesforce, javascript, lwc, tutorial
Published: 2020-03-17 00:58:40

---
title: Dashboard to track the Coronavirus Disease (COVID-19) Statistics using the Lightning Web Component. 
published: true
description: I have built an app in the Salesforce playground to track the Coronavirus Disease (COVID-19) Statistics using the Lightning Web Component. 
tags: salesforce, javascript, lwc, tutorial
---

Hi Guys!! I have built a dashboard with a real-time API(of COVID-19) in Salesforce Playground using the Lightning web component.

### Below is the design that I have built.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/s0m5fsb5ldcmwpzal3ex.PNG)

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/8zdqtizqmf4w4xgdwxq6.PNG)

## Demo
[COVID-19 Global Cases Tracking Using LWC](https://developer.salesforce.com/docs/component-library/tools/playground/r03Vo4p4/3/edit)

## Tutorial
I have recorded the video so that you guys can follow and build the awesome stuff. In this tutorial, you will learn how to build a dashboard using lightning web components. we are going to use the following topics
1. Data Binding
2. Component lifecycle
3. Third-party API Integration
4. Looping
5. Filtering
6. Charts - Highcharts
7. Tables
8. SLDS inbuilt CSS classes
9Custom CSS
10. Event handlers
11. getters

{% youtube 6MuvWRJCsK0 %}

## Code and Demo 
GITHUB - https://github.com/karkranikhil/COVID-19-Dashboard-using-lwc
PLAYGROUND - https://developer.salesforce.com/docs/component-library/tools/playground/r03Vo4p4/3/edit
No need to write change handlers for multiple React inputs!
Tags: react, typescript, webdev, tutorial
Published: 2020-03-17 00:32:09

---
title: No need to write change handlers for multiple React inputs!
published: true
description: No need to write change handlers for multiple react inputs.
tags: react, typescript, webdev, tutorial
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/33wsoqs1kv2j416pnkk7.jpeg
---

No need to write change handlers for multiple React inputs! You can create a function that takes both the prop name and the value as arguments. If using Typescript, use generics to narrow the type of the value based on the prop.

```tsx
type User = {
  name: string;
  age: number;
  admin: boolean;
};

function App() {
  const [user, setUser] = useState<User>(defaultUser);

  const setUserProp = <P extends keyof User>(prop: P, value: User[P]) => {
    setUser({ ...user, [prop]: value });
  };

  return (
    <div>
      <input
        onChange={e => {
          setUserProp("name", e.target.value);
        }}
      ></input>
      <input
        onChange={e => {
          setUserProp("age", parseInt(e.target.value));
        }}
      ></input>
      <input
        onChange={() => {
          setUserProp("admin", !user.admin);
        }}
      ></input>
    </div>
  );
}

export default App;

```
Decentralized web and post-blockchain future
Tags: blockchain
Published: 2020-03-17 00:08:26

Hi,
I am new to the site and this is my first post.
I have been dealing with projects related to crypto-currencies and blockchain Dapp-s. I find the blockchain tech pretty cumbersome - it is a step forward towards decentralized web but not yet there.

If there are developers thinking about or working on post-blockchain and decentralized web projects - get in touch with me.
Sincerely,
Paul.
Technical Interview Questions
Tags: interview, tips, career, webdev
Published: 2020-03-17 00:08:08

So it is 2020 and probably the hardest time to get a job in tech. Job requirements are longer than the number of languages that exist and everyone expects you to know front, back and everything in between. Two, three, even four rounds of interviews, hours on site for whiteboarding sessions and even some take home assignments. 

It has all gotten a bit out of control and during this #coronavirus2020 #socialdistancing, I decided to build something to help those in need. It's nothing revolutionary, just another tiny piece of the web to help others get information they may be looking for.

I was listening to one of my favorite podcast [devmode.fm](https://devmode.fm/episodes/interviewing-for-a-webdev-job-in-2020) the other day on this exact topic and it sparked the idea. Guess speaker Paulo, who has years of experience not only in tech but also in leadership talked about his struggles while interviewing for a job in 2020. He goes in depth about the ups and downs of his recent adventure and also touches on some of the technical questions he was asked.

Seeing myself encounter the same struggles at some point in the near future, I thought to myself, there has to be a something out there for this. Right after the podcast was done, I set out to find a resource that would list out some of these questions along with their answers. Something like [code signal](https://codesignal.com/) but with real world examples, answers and maybe even what company asked them.

Nothing. I could not find anything. Maybe I didn't look hard enough. Regardless, I set out to build something to fill this void. Simple UI with informative questions and snippets of code along with what companies are asking (not required).

I truly love that there are so many awesome tools out there that allow me to get an idea from just that, an _idea_ to a finished product in just a few days. Built with [NextJS](https://nextjs.org), [Firebase](https://firebase.google.com/), [Aloglia](https://www.algolia.com) and deployed with [Zeit Now](https://zeit.co).

There isn't much on there now, but hopefully it can one day be a resource for the community.

[Teqnical](https://teqnical.now.sh/)
Cover Image thanks to [Undraw](https://undraw.co/)
What does rc mean in bashr, zshrc, vimrc etc?
Tags: unix, linux, cli
Published: 2020-06-24 14:14:35

---
title: What does rc mean in bashr, zshrc, vimrc etc?
published: true
date: 2020-03-17 00:00:00 UTC
tags: unix, linux, cli
canonical_url: https://tech.serhatteker.com/post/2020-03/what-does-rc-mean/
---

For the meaning of `rc` you have probably seen:

* run commands
* resource control
* run control
* runtime configuration

I'd like to go with `runcom` since as seen in this source: [Unix faqs]:

> rc (as in ".cshrc" or "/etc/rc") = "RunCom"
>
> > "rc" derives from "runcom", from the MIT CTSS system, ca. 1965.
> >
> > 'There was a facility that would execute a bunch of
> > commands stored in a file; it was called "runcom" for "run
> > commands", and the file began to be called "a runcom."
> >
> > "rc" in Unix is a fossil from that usage.'
> >
> >  — Brian Kernighan & Dennis Ritchie, as told to Vicki Brown

Also [ESR] states that in [Run-Control Files]:

> [101] The ‘rc’ suffix goes back to Unix's grandparent, [CTSS]. It had a command-script feature called "runcom". Early Unixes used ‘rc’ for the name of the operating system's boot script, as a tribute to CTSS runcom.

So my mind is set to `runcom`.

All done!


[Unix faqs]: http://www.faqs.org/faqs/unix-faq/faq/part1/section-3.html
[ESR]: http://www.catb.org/
[catb]: http://www.catb.org/
[CTSS]: http://www.catb.org/jargon/html/C/CTSS.html
[rc file]: http://www.catb.org/jargon/html/R/rc-file.html
[Run-Control Files]: http://www.catb.org/~esr/writings/taoup/html/ch10s03.html
aspnetcore 3.1.2 windows hosting bundle caused 503 services unavailable
Tags: aspnetcore, dotnet, iis, 503
Published: 2020-03-17 13:06:02

---
title: aspnetcore 3.1.2 windows hosting bundle caused 503 services unavailable
published: true
date: 2020-03-17 00:00:00 UTC
tags: aspnetcore, dotnet, iis, 503
canonical_url: 
---

Today [NET Core 3.1.200 SDK - March 16, 2020](https://github.com/dotnet/core/blob/master/release-notes/3.1/3.1.2/3.1.200-sdk.md) was installed on my development and production boxes.

With a new release, I tend to also install the Windows hosting bundle associated with each release, and in this case, it was [ASP.NET Core Runtime 3.1.2](https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-aspnetcore-3.1.2-windows-hosting-bundle-installer)

However, on installing it, the next request to the website showed a 503 Service Unavailable error:

![](https://i.imgur.com/le8MZAZ.png)

Debugging the w3 process in Visual Studio showed this error:

```powershell
Unhandled exception at 0x53226EE9 (aspnetcorev2.dll) in w3wp.exe: 0xC000001D: Ilegal Instruction.
```

Event Viewer had entries such as this:

![](https://i.imgur.com/KoDAVk2.png)

I tried `IISRESET` and uninstalling the hosting bundle but that did not help.

I noticed that the application pool was stopped for my website, Restarting it would result in the same unhandled exception as above.

As a troubleshooting exercise, I created a new application pool and pointed my website to that one and deleted the old one.

![](https://i.imgur.com/yqh8IS3.png)

This seems to fixed things for now.

Success? 🎉
Jekyll Nginx Server
Published: 2021-11-19 17:29:54

---
title: Jekyll Nginx Server
published: true
date: 2020-03-17 00:00:00 UTC
tags: 
canonical_url: https://www.weckmann.me/posts/jekyll-nginx-server/
---

Here’s how to mimic the Jekyll Development Server with Nginx for a production environment.

Create a new `sites-available` block (make sure to remove the `default` file, it’s already listening on port 80).

```
$ cd /etc/nginx/sites-available/
$ sudo nano MYSITE

```

Copy and paste the following:

```
server {
  listen 80
  server_name mysite.example.com
  root /YOUR-JEKYLL-SITE-PATH/_site

# Cache controle
  expires 30s
  add_header Cache-Control public
  add_header ETag ""

# Error Pages
  error_page 404 /404.html
  error_page 500 /500.html

# Your static assets that won't need the cache reloaded.
  location ~ ^/assets/ {
    expires max
  }

  location ~ /. {
    return 404
    access_log off
    log_not_found off
  }

# Favicon handler
  location = /favicon.ico {
    try_files /favicon.ico =204
    access_log off
    log_not_found off
  }

# 404 handler
  location / {
    try_files $uri $uri.html $uri/ =404
  }
}

```

Save this file with `ctrl+x` then `Y` and enter. Now we have to link our new configuration file to the `sites-enabled` directory and restart Nginx.

```
$ sudo ln -s /etc/nginx/sites-available/MYSITE /etc/nginx/sites-enabled/
$ sudo service nginx restart

```

You’re all set!

* * *
 

[Reply via email](mailto:arpitbatra123@gmail.com?subject=Reply:%20Jekyll%20Nginx%20Server)
Brent Ozar offering free MSSQL courses
Tags: sql, home, learn
Published: 2020-03-16 23:50:57

[https://mailchi.mp/brentozar/free-sql-server-training-during-the-quarantines?e=207f9bb421]
Free training during the quarantine, even in the EU.

Well, that escalated quickly, huh? Two months ago, I didn't know what a coronavirus was. Since then, it's gone through more name changes than the Microsoft certification program (well, maybe not that many) and we're canceling all our travel plans, restaurant reservations, and wondering why people think toilet paper gives them immunity.

Every business seems to be emailing me their COVID-19 action plan, so I figure I should give y'all one, too. Here's my action plan: give away training to give you something to do.

Fundamentals of Index Tuning:
This class assumes you've already been through my How to Think Like the Engine class, which has always been free. After conquering that one:
Indexing for the WHERE Clause
Indexing for ORDER BY
Indexing for JOINs
Clippy's Index Recommendations
Recap and Next Steps
After finishing that one, you're ready for:

Fundamentals of Query Tuning:
Went live today: Building a Query Plan
Goes live Tuesday: How to Find the Right Queries to Tune
Weds: How Parameters Influence Cached Plans
Thurs: Improving Cardinality Estimation Accuracy
Fri: Common T-SQL Anti-Patterns
Those videos will go away April 1, and if countries are still quarantined, I'll give away more fundamentals classes to keep amping up your skills. We're all in this together.

Stay safe and be well.
Brent
Boston Grease Trap Cleaning
Tags: greasetrapservicesbostonma
Published: 2020-03-16 23:43:03

We are Boston Grease Trap Cleaning located in Boston, Massachusetts. Our company specializes in pumping & cleaning grease traps & grease interceptors. Our mission is to keep your grease traps fully compliant with the City of Boston we are open M-F 5 AM - 5 PM, Sat & Sun 6 AM - 5 PM

We take care of the entire pumping, cleaning, disposal, & documentation process for you. We offer quarterly grease trap services scheduled at times that are convenient for your schedule in order to minimize downtime & disruption to your business our shop is located at 79 Fayston St #2 Dorchester MA 02121

Our fleet of grease pump trucks come in a variety of sizes to access small grease traps located in parking garages & we have large 2000 gallon tankers that can pump out commercial-sized grease interceptors for industrial applications. Give us a call at 617-553-1789 for a free quote for more information email Owen Kimber @bostongreasetraps@gmail.com or visit our website https://greasetrapboston.com/

Social Profiles

https://twitter.com/BostonTrap
https://www.facebook.com/greasetrapboston/
https://www.linkedin.com/in/boston-grease-trap-cleaning-0685581a0/
https://www.pinterest.com/trapboston/
https://www.youtube.com/watch?v=9uMTUjco1qo&feature=youtu.be
WFH tips & tricks
Published: 2020-03-16 23:26:35

From 2009 to 2013 I worked from home for a software company based in Newfoundland Canada. Some 1300 miles away, a days worth of flights, and 2 and 1/2 (yes 1/2) hours of timezone difference. I was also the only one working remote as all of my other colleagues were in the office. 

We tried a few different setups, including leaving a camera on in a cubicle that was in a constant skype call with my camera essentially making it like you could just sit down in front of me at a desk. It turned out to be a little creepy though, because I couldn't always see the people who could see me.

But the hardest part was dialing into a conference room and having to try and listen to the main conversation while every cough, bump and table tap would overpower the speakerphone mic. 

The best conferences were when all the participants were online, AND had their cameras on. It was awkward at first, but became natural after a few days time.

Email and instant messaging was my lifeline. The phone was fine but was usually just with one person and felt more formal than a hallway conversation. 

It was important that we all got to have some in person time once and awhile as well. We'd have company parties and all get drunk and it of course served to bond us and create lasting memories.
Tips for working at home
Tags: home, tips
Published: 2020-03-16 23:25:35

---
title: Tips for working at home
published: true
description: We talk about the requirements for home work and what experiences we have gained working from home for a couple of years.
tags: home, tips
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/i449ahijhuvzvk25x4ji.jpg
---

{% youtube 51tIJGvMquY %}

We talk about the requirements for home work and what experiences we have gained working from home for a couple of years.
Day 95 : Ain’t Got Nothin’
Tags: hiphop, code, coding, lifelongdev
Published: 2020-03-16 22:39:58

_liner notes_:
- Saturday : The station was open so I went to do the radio show. Kind of gives me some time to take my mind off the Coronavirus. Besides, it's Saturday and there's really no one at the college, especially when the school has gone online in face of the pandemic. As usual, had a good time. You can check out the show's recording at https://kNOwBETTERHIPHOP.com

![Radio show episode image with the words March 14th 2020, Because Math](https://dev-to-uploads.s3.amazonaws.com/i/7sezy7dhp8afkmjak8am.jpg)

- Sunday : Woke up feeling kind of sick. Basically stayed in bed, did some light coding on a project and caught up on some anime.

- Professional : Felt pretty tired all day today. Had a meeting with my manager and worked on a ticket and did some more research for a blog post.

- Personal : Still pretty tired...maybe because it's kind of overcast, but I ain't got nothin' haha Going to try and get to bed really early and get some sleep.

![Shot from the top of Cape Perpetua showing the trees with a mist and the setting sun in the distance](https://dev-to-uploads.s3.amazonaws.com/i/wlxjoyhu7rbcnm8sb46d.png)

So yeah, going to bed earlier so I can wake up and vote as soon as the polls open so that there will be less people.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube I9RIf96gd9Y %}
Introspect navbar, Visualize hero | Module Monday 76
Tags: showdev, githunt, webdev, javascript
Published: 2020-03-16 22:34:16

---
title: Introspect navbar, Visualize hero | Module Monday 76
published: true
description: Module Monday 76
tags: showdev, githunt, webdev, javascript
cover_image: https://res.cloudinary.com/component/image/upload/b_rgb:ffffff,c_lpad,h_350,w_800/v1584314830/navbar_uub4zo.gif
canonical_url: https://guide.anymod.com/module-monday/76.html
---

## Mods for any site

Mods are open source and can be used on any website, web app, or anywhere else. There are hundreds more like these built & shared on [AnyMod](https://anymod.com).

Click a mod to see it along with its source code.

## Introspect navbar
Easy-to-add responsive navbar that you can use and reuse.
<a class="btn btn-sm" href="https://anymod.com/mod/collapsible-nav-with-sidebar-alrrnn?preview=true">View mod</a>
<a href="https://anymod.com/mod/collapsible-nav-with-sidebar-alrrnn?preview=true">
<img src="https://res.cloudinary.com/component/image/upload/v1584314830/navbar_uub4zo.gif"/>
</a>

## Visualize hero section
Gradient background intro section with links and image.
<a class="btn btn-sm" href="https://anymod.com/mod/hero-with-icons-ordbln?preview=true">View mod</a>
<a href="https://anymod.com/mod/hero-with-icons-ordbln?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1584314823/intro_pdm5ct.gif"/>
</a>

## Twitter follow button
The official Twitter follow button, but even easier to use.
<a class="btn btn-sm" href="https://anymod.com/mod/twitter-follow-button-mlbao?preview=true">View mod</a>
<a href="https://anymod.com/mod/twitter-follow-button-mlbao?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1553367423/twitter_ypxetw.png"/>
</a>

## Hugrid gallery
A grid-based image gallery. Add to your site and upload your images easily.
<a class="btn btn-sm" href="https://anymod.com/mod/hugrid-grid-template-gallery-nkralm?preview=true">View mod</a>
<a href="https://anymod.com/mod/hugrid-grid-template-gallery-nkralm?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1571034450/grid-gallery_mzyqwp.png"/>
</a>

## Bokeh background
Pre-styled card with swirling bokeh blobs.
<a class="btn btn-sm" href="https://anymod.com/mod/bokeh-modal-llbmrk?preview=true">View mod</a>
<a href="https://anymod.com/mod/bokeh-modal-llbmrk?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1544816110/bokeh_nt7cqf.gif"/>
</a>

<hr>

I post new mods from the community [here](https://dev.to/tyrw) every (Module) Monday -- I hope you find them useful!

Happy coding ✌️
Extending beyond contributing to Github repos
Tags: discuss, opensource, github
Published: 2020-03-16 21:32:15


*Hactoberfest* is what triggered me to start contributing to the open-source rather than being a bystander on the open-source community. Whenever I get some time, I am contributing to open source repositories since I first participated in Hacktoberfest. The goal was to exercise what I know already and learn new things from the open-source repositories.

While working on the open-source repositories, I always try to stick to the contributor guidelines and be conscious of the changes I propose. In the absence of contributor guidelines, I tried to make judgments based on common sense and proposed changes. Most of the time, it worked, and there were few exceptions where the maintainer didn't see the same way as I did. We agreed to ignore the changes and closed the Pull request. Sometimes the repository isn't actively maintained, which results in the pull requests being ignored by the maintainer.

I would like to know the opinions of the community on the below situations. What's the recommended way?

**Note:** For the discussion, please assume the repositories are MIT/apache licensed, and the intention is not getting around licensing.

**Scenario #1:** There's an open-sourced android app 'A.'

- It is released in the play store
- Has less than 50k installs
- Actively maintained by the developer.

You propose a feature/behavior change that adds value to the app but doesn't directly fall in the line of the maintainer's vision. The new feature/behavior change has potential & can still be extended.

Assuming you feel that you would like to continue in your direction, Would you create a clone of the app & release it under a different name?

**Scenario #2:** Same scenario as #1

- It is released in the play store
- Has less than 50k installs
- Not actively maintained by the developer.

You propose a feature/behavior change that adds value to the app but doesn't directly fall in the line of the maintainer's vision. The new feature/behavior change has potential & can still be extended.  

Assuming you feel that you would like to continue in your direction, Would you create a clone of the app & release it under a different name?

**Scenario #3:** There's an open-sourced android app 'B,'

- It is released in the play store
- Has less than 50k installs
- Actively maintained by the developer.

You like the architecture/design/UI of the app and feel it could be a great base code for a different app idea you have in mind.

How would you go about creating your app? Create a new repo and import the code and modify it for your use?