teleren/devto huggingface dataset:
Configuring GitHub in IntelliJ IDEA CE
Tags: setup, beginners, github, ide
Published: 2020-01-25 02:08:07

Hey folks!

Today I gonna show you how to configure GitHub on IntelliJ IDEA CE.

It's quite simple.

The first step is to open IntelliJ and, on the Welcome screen, click on "Configure", at the bottom right.
![IntelliJ Welcome Screen](https://thepracticaldev.s3.amazonaws.com/i/42oedybm4uqt78fjl5mf.png)<figcaption>IntelliJ Welcome Screen</figcaption>

Choose the option "Preferences"
![Preferences option](https://thepracticaldev.s3.amazonaws.com/i/ogsj6e2v6ettmwr8jwzd.png)<figcaption>Preferences option</figcaption>

Open the Version Control section by clicking on the triangle at its left
Click on "GitHub"
Click on "Add account" at the center of the window
![Preferences window](https://thepracticaldev.s3.amazonaws.com/i/zvm6hzg8lhfuajjotd8z.png)<figcaption>Preferences window</figcaption>

Insert your credentials and click on "Log In" button
![Credentials](https://thepracticaldev.s3.amazonaws.com/i/1x0lh6r8hi10blar7qux.png)<figcaption>Credentials</figcaption>

If you have the two-factor authentication activated, a window will open asking your authentication code. Insert it and click in OK.
![Authentication code](https://thepracticaldev.s3.amazonaws.com/i/ydpzs6xedm3lvu94dmkg.png)<figcaption>Authentication code</figcaption>

Now, just click OK to close the Preferences window.

Now your GitHub account is configured.
If you want to download a hosted code, click on "Get from Version Control" in the Welcome screen and select your repository by clicking at GitHub on the left side of the window.

But, if you want to upload a project, open it, click in VCS menu and choose Import into Version Control > Share Project on GitHub
![Share Project](https://thepracticaldev.s3.amazonaws.com/i/ul36tcvdzg2ku2j96fwx.png)<figcaption>Share Project</figcaption>

Fill in the requested information and click on the "Share" button.
![Share window](https://thepracticaldev.s3.amazonaws.com/i/iheioxo28kbeiq5tgfjt.png)

In the next window, select the files you want to upload, fill in the Commit Message and click on the "Add" button.
![Selected files](https://thepracticaldev.s3.amazonaws.com/i/8zmioigk94id35ncoe3k.png)<figcaption>Selected files</figcaption>

The next edited files can be committed by clicking on VCS menu > Commit.
Check the desired files, fill in the Commit Message and, on the bottom left click on the triangle next to the "Commit" button and click on the "Commit and Push"  option. 
![Commit changes](https://thepracticaldev.s3.amazonaws.com/i/wml86i2jdgkwi3lrax6t.png)<figcaption>Commit changes</figcaption>

That way, the files will be versioned in your local machine and on the GitHub server as well.

Confirm the push on the following screen and you are done.
![Push Commits](https://thepracticaldev.s3.amazonaws.com/i/wq12xw1x10udbk0epztv.png)<figcaption>Push Commits</figcaption>

Happy coding.
theportfolio - Portfolio for Everyone
Tags: opensource, html, css, github
Published: 2020-01-25 01:52:02

Hi everyone, I just released an open source Portfolio design on GitHub.

I've named it **'theportfolio'** and it's a nice and clean layout for a personal website. It's 100% responsive!

Live Preview - [Click Here](http://thevipinmishra.github.io/theportfolio)

If you are looking forward to get a portfolio, please consider this one & if you got any suggestions, please let me know :)

GitHub (Please add a ⭐) - [Click Here](https://github.com/thevipinmishra/theportfolio)
Everything Table
Tags: tablerows, tabledata, tableheader, thtdtr
Published: 2020-01-25 01:10:04


The number of table columns in a table is determined by the table cells placed in the table rows.

If I were to write a code to create a table row with three header cells containing Tompkins, Ramirez, and David as the text, it would look something like this;
    <tr> 
            <th> Tompkins </th>
            <th> Ramirez </th>
            <th> David </th>
    </tr>

Now, if I was writing a code to create a table row with three data cells containing the same text, it would look something like this;
    <tr>
           <td> Tompkins </td>
           <td> Ramirez </td>
           <td> David </td>
   </tr>

A style rule in order to display all table elements with collapse borders is 
  Table { border-collapse: collapse; }

If two table cells had adjacent borders with one cell having a 5-pixel-wide double border and the other cell having a 6-pixel-wide solid border, if the table borders were to be collapsed, the result would be that the cells now share the border with the larger with. In this case that is the 6-pixel-solid border.

A table data cell containing the text Monday stretching across two rows and three columns would look like this;
	<td rowspan = “2” colspan = “3”> Monday </td>

In order to adjust a table when a cell spans multiple columns so that it may stay aligned, one needs to reduce the number of cells following the spanning cell.

Now, to adjust a table when a cell spans multiple rows so that it may stay aligned, one would have to reduce the number of cells in the rows following the spanning cell.

The style rule to display all table captions at the lower-left corner of the table is;
	Caption { caption-side: bottom; }
Interested in learning a new technology? Read this
Tags: todayilearned
Published: 2020-01-25 00:46:40

In today's world, tech are changing everyday, programming fields included, new tech comes to the light, and you may be pressured to learn it because others are using it, but should you really learn it too?

I have been wondering that myself for a long time, and I actually felt bad for not knowing the new tech or the new programming languages, but I found out that it really doesn't matter. 


<b>If you don't need it, don't learn it.</b>

Is this new tech going to make your life easier? Are your clients interested in using it? does it have a potential market? 

If all of the above questions are no, then you shouldn't really bother learning it, at least right now. 



<b>Take a grip of your current tech first.</b>

How good are you in using the tech you have? Are you really ready to add a new tech to your list of skills? 


<b>Don't rush it.</b>

You may be inclined to learn any new tech that comes to light, but if you decided to learn every new tech that comes out, you won't be able to concentrate on the current ones you have. so before learning a new tech make sure to take it slow first. 



This is the end of the post, this is my first post ever, so I am sorry if it isn't that organized, with that being said, what do you guys think? have you ever been in a situation were you felt inclined to learn new tech to find out that you didn't really need it? All comments and discussions are appreciated!
Confused Developer: Burger or Pizza?! #EmojiToggle
Tags: codepen
Published: 2020-01-25 00:29:56

<p>When I can't decide what to eat. I eat <a href="https://codepen.io/CodePen" target="_blank">@CodePen</a></p>

{% codepen https://codepen.io/ahmadawais/pen/ZEYPyqJ %}
Lesson 12 Discussion
Published: 2020-01-25 00:26:19

1. A method is to a function is as a variable is to a Property...

 Such as you can assign a value to a variable you can also do the same for a property, but instead when you get or set a value within a property it is part of an instance. Instances can have  different values within each property. Methods can be repeated and provides behavior specific to each instance, such as functions.

A function is useful for providing behavior that can be repeated as needed. A method works in the same way, providing behavior specific to that instance.

2. What is the difference between a type and an instance?
A Type is a String and an instance is the result of this type.
Coding Boot Camps - Getting Advice from Zan Rosenthal about Life After Bootcamp
Tags: beginners, watercooler, career
Published: 2020-01-25 00:16:13

## YouTube

{% youtube _9PlP2zGb-0 %}

---

## Twitch

[https://www.twitch.tv/videos/541262768](https://www.twitch.tv/videos/541262768)

---

In this edition of the Zeal stream, I had a chat with Zan Rosenthal about life after Coding Boot Camps. Zan is an alum for Hack Reactor and has been doing web development professionally for the past 3+ years. I took some time to talk to him about his experience going through a Coding Boot Camp, what it was like looking for work after graduating, and advice for aspiring new developers.

I hope you enjoy this interview and thank you for the support.

---

### Questions covered:

- What were you doing before your development career?
- When looking for a boot camp, what were your search criteria?
    - What sorts of things would you recommend others to look for?
- What did you learn in your boot camp program?
- How difficult was it to land your first job?
- What didn't the boot camp school prepare you for once you did start working?
- What life tips would you give to those looking to switch to a career in software development?

### Check out the stream live on [Twitch CodingZeal](https://www.twitch.tv/codingzeal)
JavaScript, stuff you've never heard of (probably): labeled loops?
Tags: javascript
Published: 2020-01-24 23:29:19

I have been in the JavaScript scene for maybe 6 years and I love it when I find that I really ought to know about something fundamental especially something that isn't exactly bleeding edge.

You know this guy?
``` js
for (...) {}
```

The for loop is a loyal companion that reminds me of my dog, it's always there when I need it, it's finite attention span and predictable loyalty is commendable. For convenience to distinguish my dog from other less firmiliar dogs, I gave my dog a name, so instead of shouting 'dog' and getting all the dogs coming to bring my slippers I just get my dog. Ace!

My goodness if only I could name my for loops then I could address them by name and give the commands to do tricks like `break` and `continue` and `kill` okay that last one is not so easy to teach a for loop or a dog to do.

```js
lizie: for (let paws of dogs) {}
```

Sooo, is that valid? ^^^

Yup, 

What's it for? 

A nested loop can break it's parent using the name `break lizie` or continue that works as well. But if you break Lizzie I will send you the bill.

I hope you are as shocked as I was.
a list of railway tunnels !
Tags: datasets, api, trainspotting, watercooler
Published: 2020-01-24 23:20:44

[WhatDoTheyKnow](https://www.whatdotheyknow.com/) is a UK organisation that obtains and publishes datasets under the freedom of information act 

It is a *site to help anyone submit a Freedom of Information request. WhatDoTheyKnow also publishes and archives requests and responses, building a massive archive of information.*

an example of such a dataset is [a list of railway tunnels in the UK](https://www.whatdotheyknow.com/request/427674/response/1041856/attach/html/5/FOI%20request%20Tunnels%20FOI201701032.xls.html) 

If you are interested in FOI and have some spare time you can [volunteer to help](https://www.mysociety.org/2018/10/19/help-keep-whatdotheyknow-running-with-your-time-or-expertise/)
Vscode extensions 2020 
Tags: vscode, productivity, extensions, webdev
Published: 2020-01-24 23:03:53

---
title: Vscode extensions 2020 
published: true
description: 
tags: #vscode #productivity #extensions #webdev
---

List of extensions I find helpful for day to day coding:

###Prettier 

Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. Helps keep the code clean and maintains code styling in team consistent.

  Link: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

###Vscode-icons

Brings icons to vscode.

Link: https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons

###Css peek

This extension extends HTML and ejs code editing with Go To Definition and Go To Symbol in Workspace support for css/scss/less (classes and IDs) found in strings within the source code.
In addition, it supports the Symbol Provider so you can quickly jump to the right CSS/SCSS/LESS code if you already know the class or ID name

Link: https://marketplace.visualstudio.com/items?itemName=pranaygp.vscode-css-peek

###Bracket Pair Colorizer

This extension allows matching brackets to be identified with colours. The user can define which characters to match, and which colours to use.

Link: https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer

###Turbo Console log 

This extension make debugging much easier by automating the operation of writing meaningful log message.

Link: https://marketplace.visualstudio.com/items?itemName=ChakrounAnas.turbo-console-log

###Live Server

Launch a local development server within vscode with live reload feature for static & dynamic web pages.

Link: https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer

Comment your favorite vscode extensions.
What was your win this week?
Tags: discuss, weeklyretro
Published: 2020-01-24 23:02:23

---
title: What was your win this week?
published: true
description: Got to all your meetings on time? Started a new project? Fixed a tricky bug?
tags: discuss, weeklyretro
cover_image: https://cl.ly/188e843c2985/download/Image%202019-02-15%20at%202.36.37%20PM.png
---

👋👋👋👋

Looking back on your week -- what was something you're proud of?

All wins count -- big or small 🎉

Examples of 'wins' include:

- Getting a promotion!
- Starting a new project
- Fixing a tricky bug
- Cleaning your house...or whatever else that may spark joy 😄

![](https://media.giphy.com/media/KiXl0vfc9XIIM/giphy.gif)

Happy Friday!
Eager Force - Kells is finally learning ReactJS
Tags: react, javascript, diary
Published: 2020-01-24 22:45:12

have you ever been in the Situation where (you) and your friends talked about something and you didn't know anything what they was talking about?
Well I thought so. Me too 😅

####But what did my friends talk about?
It's that little big thing where everyone's arguing about whether it's a framework or a library. 🤓 So, now you know what they're talked about, right ? Oh Come on, it can't be that hard... 🤪

Well, I'll tell you.

They was talking about ReactJS, the Framework **`Oops, an error occurred! `** of course I meant the library, that was introduced by Facebook in 2013. 

Now it's 2020 and I finally decided to get onto that train and learn ReactJS. But I want to get the most out of it and because I'm a Visual learner, I love video tutorials. The thing about them is, during watching  you're mostly not get in touch in coding yourself. Then I found this platform called "Scrimba", where you can watch a video and also code inside the video sequences yourself. 🤯

Because I wanted also to try myself in writing blog posts, I decided to combine those two things and start the journey of learning ReactJS with a blog series. In this series I like to recap every episode that I watched dedicated with a blog episode, where I try to explain what happened and what I learned out of it.

I would love to get your thoughts and feedback along this learning journey. Its exited and and together we would definitely have more fun and also learn from each other.


I'm gonna post 2 episodes every week. Because there are some short explanation videos, I will merge certain video episodes together inside one blog post episode. You can see which episode/s will be covered in the next post by looking into the attached scheduler. If you like to ride along, just enroll on [Scrimba](https://scrimba.com/g/glearnreact) and take this free ReactJS course so we can share our feedback on every lessons-episode.

If this Series gets enough attention we could also implement a Open Source GitHub Repository where we can help each other even more. 

If you have any ideas or suggestion to make this journey even better, let everyone know about it.

Happy Coding 💻🖱

Kevin-Kelly

###Scheudule/Timetable

{% codesandbox eager-force-episode-schedule-49xw9 %}


<!--{% post kkroeger93/eager-force-kells-is-finally-learning-reactjs-dfm-temp-slug-4649971 %}!-->
BETT 2020 Day 2 - edmodo SLMN, minority report style touch tables - had another #nocode day (hehe)
Tags: edtech, edutech, education
Published: 2020-01-24 22:37:35

featuring

some great talks on
* accessibility 
* inclusion

edmodo SLMN
* edmodo.com

minority report style touch tables 
* touchtables.com
are codepen and devto the only startups who know how to code OAUTH properly
Tags: security, privacy, oauth, watercooler
Published: 2020-01-24 22:28:29

the [EDMODO](https://new.edmodo.com/?sso_error=1) (OAUTH !) signup SAYS
```
This will allow EDMODO to:
See, edit, create, and delete all of your Google Drive files
See and download all of your contacts
```
NO NO and NO

i will have to use your plain old email signup (POES) fallback
Dev Journal 1/24/2020
Tags: linux, awk, cron, devjournal
Published: 2020-01-24 22:15:11

---
title: Dev Journal 1/24/2020
published: true
description: Crontab, awk, grep, and getent
tags: 
- linux
- awk
- cron
- devjournal
canonical_url: https://www.assertnotmagic.com/devjournal/2020/01/24/dev-journal/
---

Today I wrote a bunch of scripts to bootstrap a computer and setup dotfiles!  Here are some things I learned.

## Making cron jobs

You can edit your crontab file with the command `crontab -e`.  This brings up a file with your cronjobs, which follow the pattern:

```crontab
# min hou dom mon dow command
0 5 * * * echo "Hi!" >> ~/hi.log
23 12 4 6 * echo "SUPER HI" >> ~/hi.log
```

The first line is a comment to show the pattern.  Comments are ignored.  The second line runs every day at 5:00 AM.  Since it is run from your home directory as you, a file should show up with all of the "hi" logs tomorrow morning!  The third line schedules a SUPER HI at 12:53 PM (just after noon) on June 4.

Your crontab can be found in /var/spool/cron/crontabs/$USER (although only root can actually see into the crontabs directory).

`crontab -l` outputs the entire current crontab to STDOUT (or an error message to STDERR if the user doesn't have one yet).

You can overwrite the crontab by using a single - to specify the crontab reads from stdin: `echo "0 0 * * 1 ls" | crontab -`

## Checking for unstaged changes

You can use

```bash
git diff --quiet
```

and the exit code will be 1 (failure) if there are unstaged changes and 0 (pass) if the working directory is clean.

## Checking for upstream changes

After running a `git fetch`, you can use

```bash
git diff origin/master --quiet
```

The same way as above.  The only difference is that it also checks unstaged changes, so if you want to only check against your current master branch, you have to `git stash` your changes first.  You can `git stash pop` them back when you're done.

## Sending variables to awk

You can input variables to awk!  This is really good for passing shell variables into awk, which should really be single quoted.

```bash
$ awk -F: -v user=$USER '$1 ~ user {print $7}' /etc/passwd
/usr/bin/zsh
```

Looks like you can't use them in regular expressions for patterns.

## Checking a user's default shell

Granted, I ended up finding a much easier check to see if my default shell was zsh or not:

```bash
$ grep '^ryan.*zsh$' /etc/passwd
ryan:x:1000:1000:,,,:/home/ryan:/usr/bin/zsh
```

Apparently, after some research, there is a command `getent` that lets you query the various system databases for specific info.  So this works:

```bash
$ getent passwd ryan
ryan:x:1000:1000:,,,:/home/ryan:/usr/bin/zsh

# And thus:
$ getent passwd ryan | awk -F: '{print $7}'
/usr/bin/zsh
```

*Also neat* is that if there is no key present that matches, it will do exit code of 2, so:

```bash
if getent passwd florpnorp > /dev/null; then
    echo "Found that user"
else
    echo "Not present"
fi
# => Not present
```
Can I learn JavaScript and Node.js simultaneously?
Tags: javascript, node, codenewbie, webdev
Published: 2020-01-24 21:33:40

So I only started learning JavaScript this month, on the 1st to be precise. Previously, I was learning Python (my first programming language) for about 3 months, but stopped because the market didn't exist where I live and instead switched to JavaScript where I intend to do backend, and maybe in future become full stack. 
I already know some basics in programming, which I learned from Python (loops, functions, etc) and can relate it to what I'm learning in JavaScript. Now, I want to begin with Node.js. I already bought two courses on Udemy, One on Node.js and the other on JavaScript, and have already begun with the Node course (still in introduction), so I want to know if this is counterproductive or not. Does it matter if I learn both courses side by side, or are they so intertwined that I have to learn JavaScript fully first? I'm working with a deadline (June) so I really don't want to waste any time. Sorry for the long post
Job Posting Question: If you have your way, how would you design a chicken?
Tags: career
Published: 2020-01-24 21:14:41

The job announcement is for a web application developer with knowledge of front-end development languages to be used in the state government enterprise.

This has to be a trick question, right?

Or is it what I expect, where I go into a concise answer making sure I use all the important terms: class, interface, properties, methods, encapsulation, inheritance, abstraction, polymorphism?
Unit Testing for Dummies
Tags: csharp, tdd, testing
Published: 2020-01-24 20:45:04

Hello all, 

I'm looking to get an introduction into Unit Testing and TDD, specifically for applications written in C#. 

I work at an agency where unit tests and TDD isn't a focal point in the development of our applications. Personally, I want to begin writing programs at home and gain confidence then move to bring it into the ecosystem at work. 

Any suggestions on approaching this? 
I purchased this book on Amazon as well hopefully it has some great insight.  
https://www.amazon.com/Art-Unit-Testing-examples/dp/1617290890/ref=sr_1_3?crid=22TWBOBSN48H7&keywords=tdd+c%23&qid=1579805170&s=books&sprefix=tdd%2Cstripbooks%2C157&sr=1-3
User secrets management in .net core 3.1
Published: 2020-01-24 20:21:11

Is there any way we can use the user secrets created/stored in a common library (.net Core 3.1)across multiple projects in the same solution?
Here is the scenario:
Solution A has Projects AA, AB, AC and a Common Library (CL) project. AA, AB, AC are API projects. I have User Secrets in CL project which I want to access in AA, AB, AC at run time.
Framework: .Net Core 3.1
Friday Night Deploys: #9 The Startup From Hell Part 1
Tags: podcast, jokes, webdev
Published: 2020-01-24 19:57:00

Last week the DevPlebs talk about: Keith's old band names! Attempting to pronounce Harry Potter spells! Microphone windscreens! Tuxedo shirts! Wearing pajama pants to your job interview! How Phil got his job at Forever 21! The woes of minimum wage! Getting paid in theoretical dollars! 2 chains (not the rapper)! Motivating unhappy workers with a pizza party! Costco trail mix! Building an app on sad, old technology! Feeling bitchy! Emotional baggage! Our eventual Raid: Shadow Legends sponsorship! A really bad startup!

## Listen to The Full Episode!
{% spotify spotify:episode:3bdO2M7sjYhajiDW6Wxfbq %}

**We're also on...**
**Apple Podcasts:** https://podcasts.apple.com/us/podcast/9-the-startup-from-hell-part-1/id1485252900?i=1000462941041

**Google Music Podcasts:** https://play.google.com/music/m/Dfqdfjnyzk66gm456wms6nq6rhy?t=9_The_Startup_From_Hell_Part_1-Friday_Night_Deploys

**Our Website:** https://www.devplebs.tech/friday-night-deploys/9-the-startup-from-hell-part-1/

## Get In Touch With Us!
If you would like to share your crappy startup stories that you want us to read out in the next episode you can reach us at the following...

**Twitter:** [@DevPlebs](https://twitter.com/DevPlebs).
**Email:** deadbeats@devplebs.tech

## Follow Our Twitters... If You Want!
[DevPlebs](https://twitter.com/DevPlebs).
[Keith Brewster](https://twitter.com/brewsterbhg).
[Phil Tietjen](https://twitter.com/phizzard).

You can also ask questions or give us some feedback about the show!