teleren/devto huggingface dataset:
😺Review 4: Personal portfolio, Developer: Jatin | #elefDoesCode
Tags: review, code, design, freecodecamp
Published: 2020-03-14 15:56:11

⬇️I will review your... 

🤓The process:
1. Every week I will do a live stream on my youtube channel reviewing your site
2. I will give feedback and suggestions according to your needs. 
3. If I have a way to contact you, I'll gladly do so :)
4. If you have any question don't hesitate to contact me!

Take part [here](https://forms.gle/9AxiCUQ8YudTVYzs9) (I only need a URL and your name).

It doesn't matter if you are a beginner or more advanced. 
You can submit as many sites as you want.

🙏Thank you for taking part with your website into my live streams.
It takes courage to let someone you don't know to review your work...
But remember feedback is important and all of us need it...
 
🤗The review is FREE. You don't pay for anything. I won't be paid by anyone.

----------------------------

In particular, in this video you'll find:

🤓The developer: Jatin Rio | https://twitter.com/jatinn_r/
💪The project:  https://codepen.io/jatinrao/full/abzRLGj

⌨Previously 
- [review 1](https://dev.to/eleftheriabatsou/review-1-tribute-page-by-freecodecamp-developer-kyle-elefdoescode-4006)
- [review 2](https://dev.to/eleftheriabatsou/review-2-personal-portfolio-developer-diego-elefdoescode-4g36)
- [review 3](https://dev.to/eleftheriabatsou/review-3-portfolio-and-airshare-project-developer-rajitha-elefdoescode-3gop)

----------------------------

👋Hello, I' m Eleftheria, an app developer, master student, freelancer, public speaker, and chocolate lover.


😎Top 3 list:
- How to stay motivated | A developer's edition | @BatsouElef: https://youtu.be/qMvEtb5OxNo
- How to be a Better Problem Solver | Tips and solutions: https://youtu.be/dELt7yKIxIA
- Simple Tips to Build a Personal Brand as a Developer (+ personal examples): https://youtu.be/7s0o1gi0iP0

🥰If you liked this video please share

🍩Would you care about buying me a coffee? You can do it here: [paypal.me/eleftheriabatsou](paypal.me/eleftheriabatsou) but If you can't that's ok too!


**************************************

🙏It would be nice to subscribe to my [Youtube](https://www.youtube.com/c/EleftheriaBatsou) channel. It’s free and it helps to create more content.

🌈[Youtube](https://www.youtube.com/c/EleftheriaBatsou) | [Codepen](https://codepen.io/EleftheriaBatsou) | [GitHub](https://github.com/EleftheriaBatsou) | [Twitter](https://twitter.com/BatsouElef) | [Site](http://eleftheriabatsou.com/) | [Instagram](https://www.instagram.com/eleftheriabatsou/)
Kali Linux Inside Docker
Tags: security, linux, docker, tech
Published: 2020-03-14 15:54:03

---
title: Kali Linux Inside Docker
published: true
description: My notes examining Kali Linux inside the Rolling Docker Image ... Installation and Usage (this means to use the Docker Image, rather than Kali Linux tooling).
series: EDJE Notes
tags: Security, Linux, Docker, Tech
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/zpwdhe0gzd7lt9zh7vz3.png
---

# Kali Linux

I went to a talk recently on security. Kali Linux was mentioned and I started looking at what this meant.

I was thinking of setting up a machine to explore when a co-worker mentioned building a Docker Container with Kali Linux inside it. With some quick searching I found that they already had Kali Linux dockerized ... I settled on the "ROLLING" version.

**THIS ARTICLE IS INTENDED PRIMARILY FOR MYSELF**.

Here are the abbreviated notes I put together ...

## From ... [Kali Containers Docker](https://www.kali.org/docs/containers/official-kalilinux-docker-images/)

## Docker Installation and Update

$ docker pull kalilinux/kali-rolling

$ docker run -ti --rm -v /Users/bob.fornal/Projects/pentest/root:/root -v /Users/bob.fornal/Projects/pentest/postgres:/var/lib/postgresql kalilinux/kali-rolling /bin/bash

\# apt-get update && apt-get install metasploit-framework

The steps from this point forward ***should*** be re-run each time you start Kali Linux in this Docker Container (the run command below).

\# apt update

\# apt upgrade

\# apt dist-upgrade

\# apt autoremove

\# apt clean

## Tooling (that I still need to explore in more detail)

\# msfconsole

## Commit Changes from Update Above

### Image Information

$ docker ps -l

$ docker images -a

### Commit Commands

$ docker commit \[id\] kalilinux/kali-rolling

$ docker run -t -i kalilinux/kali-rolling /bin/bash

## Conclusion

These notes are kind of rough and based on much of my exploration. They will be updated as I learn more or change the process.

<a href="https://dev.to/leading-edje">
  ![Smart EDJE Image](https://dev-to-uploads.s3.amazonaws.com/i/5uo60qforg9yqdpgzncq.png)
<a/>
How to install Prettier in VS Code. The easy way.
Tags: vscode, prettier, javascript
Published: 2020-03-14 15:30:38

---
title: How to install Prettier in VS Code. The easy way.
published: true
description: 
tags: vs code, prettier, javascript
---

Simple guide to get Prettier in Visual Code quick, simple and easy

Open the extesion panel and search Prettier

<img src="https://dev-to-uploads.s3.amazonaws.com/i/wgg3jfyvq7kfoq92wy2i.png"/>



Then open settings and click on formatting and check the options that works better for you.

<img src="https://dev-to-uploads.s3.amazonaws.com/i/dh730sqbpr53w8c3efkb.png"/>

That's it! Hope it's helpful!
Daily Challenge #205 - Consonant String Value
Tags: challenge
Published: 2020-03-14 15:30:22

---
title: Daily Challenge #205 - Consonant String Value
published: true
series: Daily Challenge
description: Find the strongest consonant string
tags: challenge
---
Given a lowercase string that has alphabetic characters only and no spaces, implement a function that will return the highest value of consonant substrings. Consonants are any letters of the alphabet except "aeiou".

We shall assign the following values: a = 1, b = 2, c = 3, .... z = 26.

For example, for the word "zodiacs", let's cross out the vowels. We get: "z, d, cs". The values are z = 26, d = 4 and cs = 3 + 19 = 22. The highest is 26.
solve("zodiacs") = 26

For the word "strength", solve("strength") = 57
-- The consonant substrings are: "str" and "ngth" with values "str" = 19 + 20 + 18 = 57 and "ngth" = 14 + 7 + 20 + 8 = 49. The highest is 57.

###Tests 
solve("chruschtschov") => 80
solve("khrushchev")
solve("strength")
solve("catchphrase")
solve("twelfthstreet")
solve("mischtschenkoana")

Good luck!
***
_This [challenge](https://www.codewars.com/kata/59c633e7dcc4053512000073) comes from KenKamau on CodeWars. Thank you to [CodeWars](<https://codewars.com/>), who has licensed redistribution of this challenge under the [2-Clause BSD License](<https://opensource.org/licenses/BSD-2-Clause>)!_

_Want to propose a challenge idea for a future post?  Email **yo+challenge@dev.to** with your suggestions!_
How to Redirect After Login
Published: 2020-03-14 15:07:25

I have this code:
BrowserRouter
Switch
      Redirect from="/" exact to={verificarLogueo ? "/dashboard" : "/login"} /

      Route exact path="/login" component={Login} /
      Route exact path="/dashboard" component={Dashboard} /
    /Switch
/BrowserRouter

How to redirect  at my Dashboard Component after Login using Router when verificarLogueo change the value at true?
Interesting links that I found - vol. 1
Tags: links, webdev, react
Published: 2020-03-14 16:27:01

---
title: Interesting links that I found - vol. 1
published: true
date: 2020-03-14 14:17:03 UTC
tags: links,webdevelopment,react
canonical_url: https://krzysztofzuraw.com/blog/2020/links-1
---

This is the first of my series about things that I found on the internet this week.

# Coding

- [When to useMemo and useCallback](https://kentcdodds.com/blog/usememo-and-usecallback/). This is oldpiece by Kent but I’ve got it in his weekly newsletter. Reading through examples requires some workbut I’ve got this phrase: _Do not bother with optimization unnecessary_. To be honest (maybe) I’m lucky but I don’t yet need to use `useMemo` or `useCallback`.
- I’ve read two pieces about HTML numeric inputs: [Why the GOV.UK Design System team changed the input type for numbers](https://technology.blog.gov.uk/2020/02/24/why-the-gov-uk-design-system-team-changed-the-input-type-for-numbers/) & [HTML attributes to improve your users’ two factor authentication experience](https://www.twilio.com/blog/html-attributes-two-factor-authentication-autocomplete) and I’ve learned about `inputmode="numeric"`.I’ve to try it at work where we use `type="tel"` for better postal code experience on mobile.
- I learned that you can have CSS Grid inside your buttons too! I’ve made a quick codepen [example](https://codepen.io/krzysztofzuraw/pen/xxGWMMz). [Source](https://twitter.com/argyleink/status/1236161977845567488?prefetchtimestamp=1584179587454).

# Other

- Interesting piece on how to [work from home](https://nesslabs.com/working-from-home) & about [asynchronous communication](https://nesslabs.com/asynchronous-communication).
[Tutorial Git] gitignore: Ignorando arquivos no Git
Tags: git, ignore, github, braziliandevs
Published: 2020-03-14 14:48:56

Caso você queira que o git não enxergue determinados arquivos dentro do seu diretório que está sendo rastreado, precisamos criar o seguinte arquivo:

```
$ touch .gitignore
```

- **$** indica que você deve usar o **usuário comum** para fazer essa operação.
- o comando **touch** serve para criar arquivos no Linux pelo terminal.
- **.gitignore** deve ser o nome do nosso arquivo de texto.

Abrindo esse arquivo, vamos digitar dentro dele o que queremos deixar de fora do repositório.

Exemplo:

![editando arquivo .gitignore](https://thepracticaldev.s3.amazonaws.com/i/mz4qut8jn2mkhav9r3p1.png)

Assim temos: 

- uma **pasta como primeiro item**, pois ela termina com a **barra**.

- um **arquivo sem extensão** no **segundo item**.

- no **terceiro item** estamos adicionando na lista qualquer arquivo que **termine com a extensão txt**.

É importante notar que devemos informar **um tipo de arquivo por linha**.

Os arquivos descritos dentro do arquivo **.gitignore** não aparecem no **Working directory**.

- **Working directory**: é onde estão seus arquivos que serão trabalhados. Onde ficam os arquivos que ainda não receberam o comando *commit*.

Agora basta **[adicionar](https://dev.to/womakerscode/tutorial-git-adicionando-arquivos-no-git-3a0o)** o arquivo **.gitignore** e fazer o **[commit](https://dev.to/womakerscode/tutorial-git-enviando-arquivos-para-o-repositorio-git-1k91)** dele.

![gitignore no fluxo do git](https://dev-to-uploads.s3.amazonaws.com/i/g4a9e0h69gc1ivcc37go.png)
I developed a Windows 95 theme Pokédex with React
Tags: javascript, node, react, showdev
Published: 2020-03-14 14:35:17

While surfing the React community, I managed to see this beautiful Windows 95 style UI components called [react95](https://github.com/arturbien/React95). The nostalgia is real with this one.

I've been playing with APIs and got interested with [PokeAPI](https://pokeapi.co/) so I thought of combining both, that's why I built [poke95](http://poke95.now.sh/).

The app is developed with these technologies
+ React
+ [react95](https://github.com/arturbien/React95)
+ [PokeAPI](https://pokeapi.co/)
+ [Basscss](https://basscss.com/)

The app is still a work in progress but here's the current output.

![Demo image](https://i.imgur.com/i4VXOku.png)

I added the windows 95 startup sound to make it more nostalgic.

It's trending on [r/reactjs](https://www.reddit.com/r/reactjs/comments/fibnwh/a_windows_95_style_pok%C3%A9dex_built_with_react/) with 400+ upvotes!

Url: https://poke95.now.sh/

Feel free to clone the app [here](https://github.com/sorxrob/poke95).
Kubernetes Ingress Tutorial for Beginners 🙌🏼
Tags: kubernetes, devops, docker, tutorial
Published: 2020-03-14 14:30:26

**Complete Kubernetes Ingress Tutorial**, in which I explain what Ingress and Ingress Controller is, when you need Ingress and how to configure Ingress in your Kubernetes cluster.

In detail the video covers the following topics:
 ✅ What is Ingress? External Service vs. Ingress
 ✅ Example YAML Configuration Files for Ingress and Internal Service
 ✅ How to configure Ingress in your cluster?
 ✅ What is Ingress Controller?
 ✅ Consideration about environment on which your cluster is running (Cloud provider or bare metal)
 ✅ **Demo**: Configure Ingress in Minikube
 ✅ Ingress Default Backend
 ✅ Routing Use Cases
 ✅ Configuring https


{% youtube 80Ew_fsV4rM %}

-----------------

I'm happy to connect with you on 
- [Twitter](https://twitter.com/Njuchi_)
- [YouTube](https://www.youtube.com/channel/UCdngmbVKX1Tgre699-XLlUA?sub_confirmation=1)
- [Instagram](https://www.instagram.com/techworld_with_nana/)
How to write API Tests using REST-Assured and OkHTTP?
Tags: testing, beginners, java, github
Published: 2020-03-14 14:30:19

## :question: What is REST-Assured?

REST Assured is a Java library that provides a domain-specific language (DSL) for writing powerful, maintainable tests for RESTful APIs.

## :question: What is OkHttp?

OkHTTP is an open source project designed to be an efficient HTTP client:
- HTTP/2 support allows all requests to the same host to share a socket.
- Connection pooling reduces request latency (if HTTP/2 isn’t available).
- Transparent GZIP shrinks download sizes.
- Response caching avoids the network completely for repeat requests. 

## :question: How to write API Tests using REST-Assured/ OkHttp?

As many of you know that REST-Assured and OkHttp are currently in demand for writing automation tests for APIs. I was learning about Rest-Assured and OkHttp, an idea just popped into my mind, why not save the code on github so it would serve as a learning material for beginners.

Hence, I created and posted the code which I wrote, on github, in the following repository. It has API testing example codes for GET, POST, PUT, PATCH and DELETE requests using REST-Assured as well as OkHttp:

[OkHttpRestAssuredExamples][githubrepo]

## :bulb: REST-Assured or OkHttp?

Interesting question! While I was running the tests, I found an interesting thing which caught my attention. The execution speed of OkHttp when compared to Rest-assured was far better. 
Checkout the following blog for more details about REST-Assured and OkHttp performance with reference to execution time:

[REST-Assured or OkHttp?] [wordpressblog]

In the end, I would like to mention that it all depends on the project and your requirement for choosing the framework to write and execute the tests. Everything has something unique, its up to you how you choose!!

[wordpressblog]: https://iamfaisalkhatri.wordpress.com/2020/03/10/rest-assured-or-okhttp/
[githubrepo]: https://github.com/mfaisalkhatri/OkHttpRestAssuredExamples
How to compare two ArrayList in Java?
Tags: java
Published: 2020-03-14 14:24:53

Learn to compare two ArrayList in Java with simple examples. We will first test if two ArrayList are equal or not. If both lists are not equal, we will find the difference between lists.

The difference in the list equals another third list which contains either additional elements or missing elements.

Also, learn to find common elements between two ArrayList.

See the original post: https://www.java8net.com/2020/03/compare-two-arraylist-in-java.html

Compare two ArrayList for equality

With the help of the equals() method, we can compare two ArrayList in java and check whether they are the same or not. But, here is a condition, the order of the elements of both the ArrayList must be the same. Otherwise, it won't work. To be sure, we can sort the ArrayList (sorting can be ascending or descending) and then apply the equals() method for comparison.

Read Article to learn how to sort ArrayList in Java: https://www.java8net.com/2020/02/how-to-sort-arraylist-in-java.html


import java.util.ArrayList;

public class ArrayListExample {
   public static void main(String[] args) {
      ArrayList<String> list1 = new ArrayList<String>();
      list1.add("A");
      list1.add("B");
      list1.add("C");
      list1.add("D");
      ArrayList<String> list2 = new ArrayList<String>();
      list2.add("A");
      list2.add("B");
      list2.add("C");
      list2.add("D");
      System.out.println(list2);
      System.out.println(list1.equals(list2));
   }
}

If you want to learn in detail: https://www.java8net.com/2020/03/compare-two-arraylist-in-java.html

Further Reading:
https://www.java8net.com/2020/03/java-arraylist-common-program-examples.html
https://www.java8net.com/2020/03/java-sublist-from-arraylist.html
https://www.java8net.com/2020/03/how-to-remove-duplicates-from-arraylist-in-java.html
https://www.java8net.com/2020/03/iterate-arraylist-in-java.html
https://www.java8net.com/2020/03/arraylist-to-array-in-java.html
What is the favorite thing you keep on your desk?
Tags: discuss, workstations, watercooler
Published: 2020-03-14 14:24:44

Keeping figurines, rubber ducks, alarm clocks and other kinds of decoration on ones desk seems to be quite common these days.

It's not hard to get that you'd like to pimp out the place where you spend roughly eight hours every day.

**I'm curious as to what you keep on your desks, and more specifically; which one your favorite is, and why?**

My favorite? A little vault boy bobblehead that I bought at a carnival. Why? He's happy, always seems to dig the music I play (he's a bobblehead after all) and always prepared to take on whatever life throws at him. 

![Vault Boy figurine](https://dev-to-uploads.s3.amazonaws.com/i/geyvy8kc9tctmsstr0s7.jpg)
</Introducing Myself>
Published: 2020-03-03 08:25:15

Hey Folks,
My name is Houeibib Elmoustapha based in Nouakchott, Mauritania. I'm 27 years old fullstack developer entrepreneur and tech enthusiast.
I posted recently my first post, without introducing myself, and it was about the Gitkraken. I started lately working on my own startup called Binary Warriors, in order to empower students, professionals, or any other one who want to become a junior web developer and help them getting jobs in Mauritania or any other country in Africa. 

Here in Mauritania don't have a boot-camp, that focuses on coding and learning new technologies and that's, why i decided to start this journey so youth can learn the most in demand skills, and become a professional junior developer in 3 months. 

Our country is currently developing and there are a lot of companies that are coming here so here at binary warriors our mission's prepare an environment full of developers.

I'm currently looking for co-founders and volunteers that'd like to be part of this mission.

Greetings
Create cookbooks for your tips
Tags: organisation, cookbook
Published: 2020-03-14 13:50:18

---
title: Create cookbooks for your tips
published: true
description: Quick tip to organise those commands you’ve been collecting.
canonical_url: https://blog.gnclmorais.com/create-cookbooks-for-your-tips
tags: organisation, cookbook
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/2vytfyxnhszgvcf3oly5.jpg
---

We all have collections of random tips, console commands and bulleted lists we keep around — some with a better organisational system than others to keep them.

For several years, I didn’t really know where to store these small tokens of knowledge in a way that I could easily find them. They ended up in weird documents on Evernote without any structure, or written somewhere on a notebook, or maybe even on _another_ note taking system, like Notion or Simplenote.

However, I think I cracked it — at least I’ve found a system that seems to work for me. Inspired by the idea of [O’Reilly’s _cookbooks_](https://ssearch.oreilly.com/?q=cookbook), I’ve started compiling my own set:

![List of all the cookbooks I have at the moment](https://dev-to-uploads.s3.amazonaws.com/i/viupf3wg619j4cjyez48.png)

Whenever I run into a useful Git command, or want to keep around a handy VS Code keyboard shortcut, I put them into their respective cookbooks. They don’t even have to be techy; I’ve found this structure easy to organise and _easy to search_ with any kind of topic. Keeping a flat structure (no folders, only files) and relying on Evernote search seems to do the trick.

I’m quite bad at remembering things I don’t do often — not sure if I’ve always been like this or if I got worse after reading [Getting Things Done](https://www.goodreads.com/book/show/1633.Getting_Things_Done). One of the tenets of the book is to get things out of your head into some kind of storage (physical or digital). This system has been working for me, at least for utilities like one-line commands that you need to run occasionally, or lists of steps on how to do something.


_Photo by [NeONBRAND][0] on [Unsplash][1]_

[0]: https://unsplash.com/@neonbrand?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
[1]: https://unsplash.com/s/photos/cookbook?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
Daily Developer Jokes - Saturday, Mar 14, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-03-14 13:00:03

---
title: "Daily Developer Jokes - Saturday, Mar 14, 2020"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Saturday%2C%20Mar%2014%2C%202020"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e1259169f6cb.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*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:___ A SQL developer walked into a NoSQL bar.

___A:___ They left because they couldn't find a table.
 -->