teleren/devto huggingface dataset:
My First Open Source Contribution : Hacktoberfest '20
Tags: hacktoberfest, opensource, github
Published: 2020-10-10 08:25:53

This was my first time participating in Hacktoberfest, as well as first time with open source contribution.

I just completed Hacktoberfest '20 challenge.

I have contributed with my python and machine learning skills.
It's a great experience. 

happyhacking!
Can SPA be used for building a public directory site with SEO support?
Tags: discuss, angular
Published: 2020-10-10 08:19:02

Hi everyone, 

I'm planning to create a directory website similar to [Yelp](https://yelp.com) or [Yellow Page](https://www.yellowpages.com) that support SEO for popular search engines and also social media preview. 

My current SPA (Single Page Application) framework is Angular. I've been building some internal Angular apps (don't care about SEO), but this time I got this initiative to build one for the public. I've explored some options to add SEO support for Angular. 

1. **Angular Universal** => I have done spike for this one but I feel that it will be hard to maintain code for universal rendering. 

2. **Rendertron** => seems great but worry about infrastructure cost and also wondering if it is scalable. [Rendertron link](https://github.com/GoogleChrome/rendertron)

Looking at Yelp and Yellow Page, seems they are not built using SPA, maybe Python or PHP. It questions me whether this kind of public website is not the best case for SPA.

Do you have any suggestions about the approach that I should take? Do we have an example of a successful SPA for a public website? 

Thank you in advance
3 Github repositories every developer should know
Tags: github, codenewbie, beginners
Published: 2020-10-10 08:07:16

Hello! Do you know these awesome three Github repositories ⭐️👇?

1. http://www.github.com/EbookFoundation/free-programming-books
Here you find a lot of different programming books in different languages.📚It also contains links to free online courses and more. The repo is rated with 150k stars!

2. http://www.github.com/kamranahmedse/developer-roadmap
Here you find developer roadmaps for Frontend developers, backend developers and DevOps. 🗺Its good for beginners who dont know what to learn first, but also for more advanced developers who look for inspiration about what to learn next.

3. https://github.com/freeCodeCamp/freeCodeCamp
In the freeCodeCamp repo you find a lot of information and resources about different topics like responsive Web Design, JavaScript Algorithms and Data Structures, Front End libraries, Information Security and more. The repo belongs to the Youtube channel with the same name.

If you liked that post you might also enjoy my YouTube channel:

[![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/g7a4vdrvmtzpem2opm7u.jpeg)](https://www.youtube.com/c/Lumary)

Which are your favorite Github repos and what do they contain? Have a nice day. 🙂
Most Overlooked SEO Fundamentals That You Need To Get It Right

Published: 2020-10-10 07:59:25

Search engine optimization isn't really technical and anybody can get it done. Search engine optimisation involves many methods that have to function together to deliver the proper outcomes. In reality, SEO has become complex because of Google's mechanics of rank algorithms.

We rely on a number of the best practices that we've discovered through trial and error through time. While some SEO Sydney clinics are more evident than others, entrepreneurs have a tendency to skip the fundamentals and begin to concentrate on continuing strategies. For this reason, some principles that are the backbone of this SEO tend to be overlooked.

If you would like to be effective in SEO, then you have to get the fundamentals right. Here are a Few of the very common ignored SEO methods:-

**Keyword Research**

You'll require a fantastic keyword plan since it will dictate your effort. Keyword research and prioritization is essential, but a lot of them do not place a great deal of work into studying. Keywords can break or make your search engine optimization strategy. Keywords continue to be applicable and you need to have a good keyword strategy to direct your effort and attain the desired benefits. In reality, it's the key words that help define your specialty and pick the appropriate topic for your articles promotion in addition to quantify the outcomes.

**User Intent**

User intention supporting the search phrases you've selected is something frequently neglected by entrepreneurs. In reality, it's among those substantial factors for the achievement of any search engine optimization campaign. In the event that you hadn't done the key word research, and corrected based on viewers search behavior, you're probably missing the competitive search phrases which are really worth targeting. The deeper you study, the greater chances you'll be able to find.

**Analytics and Reporting**

What's the usage of investing in SEO Sydney in case you don't examine your results? If you can not receive the accounts of exactly what your effort has achieved, how are you going to make alterations on your search engine optimization plan that's necessary to yield the outcome? That is the reason it's crucial to utilize analytics reporting to quantify your outcomes.

**Website Navigation**

It's vital to structure your website in this way that's SEO-friendly. If your site arrangement is out-of-whack, or inner connection is away, it'll be hard for search engines to crawl your website. 404 errors on your website can hurt indexing and unloading, too. Thus, make sure your site is SEO-friendly.

**Indexing**

While website indexing and navigation are related, they're not mutually exclusive. Things like no indicator can negatively affect indexing.

**Technical SEO**

Whenever you don't operate on specialized SEO, your entire site will endure.

We, Best SEO Canada offer comprehensive [search engine optimization services](https://www.propelguru.com/search-engine-optimization/) in the best cost. Contact for additional information.
Why I Want to Be A Software Engineer
Published: 2020-10-10 07:57:26

     

    






When I first started becoming interested about computer science I very quickly realized that there was very limited resources about it on the Navajo Nation. My own high school didn't have any computer programs and there wasn't anybody I knew that could teach me about this stuff. The internet was the only way I was able to find out what I wanted to do as a career. I was on Youtube trying to pass the time while I waited to be picked up after school one day. A video was recommended to me on my homepage about 'A Day in the Life of a Software Engineer'. It peaked my interest because it was a woman who recorded the hustle and bustle of her daily life. I remember seeing her code and thinking that it looked like the most complicated thing ever, but to her it was like second nature. I admired her work ethic and the techy aesthetic, but what struck out to me the most was her representation. I had never really seen a woman coder ever before and it gave me the opportunity to visualize myself in her shoes and what it would be like if I had become a coder too. Ever since then, I started to watch more videos about coding on Youtube and eventually sprawled out to free online courses and videos. After sometime, I learned about coding bootcamps and decided to apply to Flatiron and well, here I am :). 

    










This school has given me the chance to reach my career goals as a Software Engineer and my personal goal of bringing back what I learned to the Navajo Nation to help those who are interested in the IT industry. Being Native American, I come from the reservation where there aren’t many technological and industrial advances within the community. With the very few infrastructures we have it allows us to have the very basics of society, such as electricity and plumbing systems, but even then there are still families that live without these necessities.  As the world moves closer towards advanced technology my community is falling behind. Being able to provide these services is very important to me because it could save someone’s life and bring peace of mind to my community. More and more children are growing up in this technological world with limited resources and I would like to be that representation for them, as that Youtuber was to me. It could open up their eyes to the world and provide them with endless opportunities. I want to be that bridge that will close the gap between our reservation and the rest of the world. This is what I want to give back to my community and this is my biggest motivation and reason for choosing this career path.
Using your phone as a Webcam on Linux
Tags: android, linux
Published: 2020-10-10 07:52:49

Hi! You can use your Android phone as a webcam on different Operating Systems, Im showing you how I connected it on Manjaro.📱 Install Iriun on your phone and your PC and start it. On Manjaro you might get an error message saying `you may want to run  sudo modprobe v4l2loopback exclusive_gaps=1`. When you run this command in your terminal and get an error message that it doesnt find v4l2loopback you might need to install that package. If the error is still there, for me it worked to install the linux-header matching my current kernel. 
</br >
Find your current kernel with this command: `uname -srm`. In Manjaro I started pamac and searched for linux 56-headers (because my kernel is 5.6. (...)) I then installed the version of the headers matching to the kernel version(❗️make sure All the numbers of the kernel version and header version match because otherwise you might run into serious Operating system problems). Next I ran the command `sudo modprobe v4l2loopback exclusive_gaps=1`. When I then started Iriun on my phone and PC it worked. If you want to do e.g. Streaming you can open OBS and add the camera as a video resource. Have a nice day! :)
Comment bien installer docker ?
Published: 2021-12-27 15:28:22

---
title: Comment bien installer docker ?
published: true
date: 2020-10-06 11:00:00 UTC
tags: 
canonical_url: https://blog.moulard.org/installer-docker/
---

Vu que c’est une question que me revient souvent, voila un petit tutoriel sur comment installer docker proprement et surtout comment le configurer.

# Comment installer docker ?

## Sur windows ou Mac

[Docker Desktop](https://www.docker.com/products/docker-desktop) est pour moi un bon compromis pour l’installation de Docker sur Windows ou Mac.

Le GUI apporte une manière simple de visualiser se qui se passe dans docker.

## Sur une Distro basée sur Debian

```
sudo apt install -y docker docker.io
sudo groupadd docker
sudo gpasswd -a $USER docker
newgrp docker
reboot

```

La commande `newgrp docker` permet d’utiliser docker sans avoir à le préfixer de `sudo`.

## Sur une Distro basée sur Arch

Avec l’user `root` (`sudo su`), faire:

```
pacman -Syu docker docker-compose
groupadd docker
gpasswd -a $USER docker
systemctl enable docker
systemctl start docker
newgrp docker
reboot

```

La commande `newgrp docker` permet d’utiliser docker sans avoir à le préfixer de `sudo`.

## Sur une Distro basée sur Centos

Avec l’user `root` (`sudo su`), faire:

```
yum install -y yum-utils

yum-config-manager \
    --add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo

yum install --allowerasing -y docker-ce docker-ce-cli containerd.io
systemctl enable docker
systemctl start docker

```

# Tester son installation:

```
docker run hello-world

```

# Comment installer docker-compose ?

On peut utiliser la dernière version de `docker-compose`

```
curl -L https://github.com/docker/compose/releases/download/$(curl -Ls https://www.servercow.de/docker-compose/latest.php)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

```

Sinon, il faut utiliser la dernière version présente sur les repository de la distro que vous utilisez.
6 great apps for Linux
Tags: linux, opensource
Published: 2020-10-10 06:59:30

Hello! Lets have a look at some great free apps you can use on Linux.🐧

### 1. Gimp
Gimp is an image editing software with a lot of functionalities. Its the famous free alternative for Photoshop.

### 2. Libre Office
Libre Office is a replacement for Microsoft office, it contains a Writer (word processing), Calc (spreadsheets), Impress (presentations), Draw (vector graphics and flowcharts), Base (databases), and Math (formula editing).

### 3. OBS (Open Broadcaster Software)
OBS (Open Broadcaster Software) is a software for video recording and live streaming.

### 4. VLC
The VLC media player is a cross-platform media player software.

### 5. Kdenlive
Kdenlive is a video editor including features like transition effects, layout customization and multi-track editing.

### 6. Screenkeys
Shows your keys on the screen while you are typing.


If you want to learn about more free Software for Linux, check out this link: [Linux apps] (https://itsfoss.com/essential-linux-applications/)


Which is your favorite Software for Linux? Have a nice day. 🙂
8 Best Math Courses for Machine Learning- Find the Best One!
Tags: machinelearning, datascience, computerscience
Published: 2020-10-10 06:12:21

Hi Folks,

As we know the Knowledge of Mathematics is very important in order to understand how machine learning and its algorithms work?.

Without knowledge of math and statistics, it’s difficult to understand the concepts of machine learning. So, if you want to learn or brush up your math skills, then read this article-https://www.mltut.com/best-math-courses-for-machine-learning/

In this article, I have listed some great online courses for math that are enough for Machine Learning. I hope your search will end after reading this article.

All the Best!

Happy Learning!
GTK Button & Signal – GUI Programming In C
Tags: cpp, linux
Published: 2020-10-10 06:07:17

A Button is a standard GTK Widget, and supports many features like:

1.You can change the label of the Button
2.Change the appearance of the Button
3.Provide a keyboard shortcut for the Button
4.Also, Disable the Button and Activate when a condition is fulfilled
##Creating GTK Button
In the previous blog about GTK, we just created a new window. Now we will create a labeled button and display it on the same window.
```
#include <gtk/gtk.h>

int main(int argc,char *argv[])
{
    gtk_init(&argc,&argv);
    GtkWidget *win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
    GtkWidget *btn = gtk_button_new_with_label("Click Here");
    gtk_container_add(GTK_CONTAINER(win),btn);
    gtk_widget_show_all(win);
    gtk_main();
    return 0;
}
```

`GtkWidget *btn = gtk_button_new_with_label("Click Here");` – In the GTK library, there is a standard function to create buttons i.e gtk_button_new function, but the newer version of GTK provides us with gtk_button_new_with_label allows us to add a text label to the button at the same time we create the button.

`gtk_container_add(GTK_CONTAINER(win),btn);` – The gtk_container_add function places the button inside the window, that we have created.

`gtk_widget_show_all(win);` – Previous blog, we used gtk_widget_show and this time it is replaced by gtk_widget_show_all. This function tells GTK to show all the named widgets and also the widget that the named widget contains.

Learn More about [GTK Button and Signal](https://hackthedeveloper.com/gtk-button-signal/) from the original post. [Read more](https://www.google.com/search?q=gtk+site%3Ahackthedeveloper.com).
Vanilla JavaScript palindrome checker in 3 lines
Tags: javascript, html
Published: 2020-10-10 05:46:12

There comes a time in your life where you need a palindrome checker!

You might now think, what is a palindrome?

It's a word or sentence like `mom` that you can reverse, and it's still `mom`!

If that time comes, think about this article and how to check for palindromes in `JavaScript`.

We will be building this amazing palindrome function, try it out on my Codepen. (See console logs!)

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

## JavaScript palindrome function

To create our function we define a function that accepts one argument, a string.

```js
function palindrome(string) {
	// Code here
}
```

Then we need to convert our input string to lowercase and remove all whitespace.

```js
const original = string.replace(/\s/g,'').toLowerCase();
```

We are using a [regular expression](https://daily-dev-tips.com/posts/vanilla-javascript-replace-all-whitespaces/) to remove all whitespaces.

The next step is to get the reverse of our string.
We we split every character and reverse the array, then we rejoin that array in reversed order.

```js
const reverse = original.split('').reverse().join('');
```

The last step is to check if they are equal.

```js
return original === reverse;
```

The whole function will look like this.

```js
function palindrome(string) {
  const original = string.replace(/\s/g,'').toLowerCase();
  const reverse = original.split('').reverse().join('');
  return original === reverse;
}
```

Awesome, let's see how it works in action.

```js
console.log(palindrome('Mom')); // True
console.log(palindrome('A nut for a jar of tuna')); // True
console.log(palindrome('Not a palindrome')); // False
console.log(palindrome('Taco cat')); // True
console.log(palindrome('Yo banana boy')); // True
```

Great stuff, we now have a palindrome checker in JavaScript!

### 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)
8 Best Data Analyst Online Certification to Become a Successful Data Analyst
Tags: datascience, machinelearning, career
Published: 2020-10-10 05:27:26

Hi Guys,
As we know Today’s age is of the Data age, where lots of data is generated daily. As Data is growing, the demand for Data Analysts is also growing. Data Analyst is a profitable, secure, and most demanding career.

So, if you want to come in the Data Analytics field, and looking for a Data Analyst Online Certification, but unable to choose the best one for you, then, No Worries!

I have selected Top 8 data analyst online certification courses after filtering out thousands of courses.

For more details, read this article-https://www.mltut.com/data-analyst-online-certification-to-become-a-successful-data-analyst/

All the Best!

Happy Learning!
A fun exercise for new web developers
Tags: html, css, beginners
Published: 2020-10-10 05:10:13

Are you a new developer eager to find useful ways to utilize your newly discovered superpowers? One idea is to set your browser's home page to a custom one. 

For example, I use Firefox mostly to listen to white noise or music while working. I created the following page and set it as my Firefox home page -

```html
<!DOCTYPE html>
<html>
<head>
	<meta charset='utf-8'>
	<title>home</title>
	<style>
		* {
			margin: 0;
		}
		div {
			display: flex;
			height: 100vh;
		}
		a {
			display: flex;
			align-items: center;
			justify-content: center;
			flex: 1;
			text-decoration: none;
			font-size: 20px;
			color: #fff;
			box-sizing: border-box;
			transition: font-size 0.5s ease;
		}
		a:hover {
			font-size: 2em;
		}
		a:first-child {
			background-color: #333;
		}
		a:nth-child(2) {
			background-color: #006fff;
		}
	</style>
</head>
<body>
	<div>
		<a href="http://asoftmurmur.com">asoftmurmur</a>
		<a href="https://pandora.com">pandora</a>
	</div>
</body>
</html> 
```
Save the html file somewhere and navigate to it in your file explorer. Right click on the file and open with any browser.

The URL in the address bar will be the path to your html file prefixed by `file://`. In my case it's `file:///home/swhitmore/.mozilla/ffhome.html`.

Set your browser's home page to this new URL and voilà you have a new custom home page! 

![Imgur](https://res.cloudinary.com/dt8yhmbkt/image/upload/v1602306125/Screenshot_from_2020-10-10_00-00-23_hpugps.png)

Not sure how to set the browser's home page? Mozilla has [documentation for Firefox](https://support.mozilla.org/en-US/kb/how-to-set-the-home-page) and Google [has some for Chrome](https://support.google.com/chrome/answer/95314?co=GENIE.Platform%3DDesktop&hl=en) was well.
My Hacktober-Fest 2020 experience
Tags: hacktoberfest, github, opensource
Published: 2020-10-10 04:24:16

Yes, guys, it’s October and we all know the awesome HacktoberFest happens in the month of October. Where people around the globe participate and contribute to open source. At any chance, if you don’t know about HactoberFest let’s take a glimpse:
###__What is HacktoberFest__:
HacktoberFest is an event open for everyone in our global community. Whether you’re a developer, student learning to code, event host, or company of any size, you can help in the growth of open source and make positive contributions to the community. All backgrounds and skill levels are encouraged to complete the challenge.
1.	HacktoberFest is a celebration open to everyone in our global community.
2.	Pull requests can be made in any GitHub-hosted repositories/projects.
3.	You can sign up anytime between October 1 and October 31.

###__RULES__: 
To earn your HacktoberFest tee or tree reward, you must register and make four valid pull requests (PRs) between October 1-31 (in any time zone). PRs can be made to any public repo on GitHub. If a maintainer reports your pull request as spam or behavior, not in line with the project’s code of conduct, you will be ineligible to participate. This year, the first 70,000 participants who successfully complete the challenge will be eligible to receive a prize. You can also grab one, Do sign in:  https://hacktoberfest.digitalocean.com/
##__My Experience__:
As a developer and student, it’s my first event and I enjoyed it a lot. I learned a bunch of new stuff and also improved previous stuff a lot. I understand the power of the open source. It clears lots of my confusions and insecurities related to open source. It told me ‘_why open source is necessary_’. I collaborate with new people. Able to understand the codes of different signatures. Learn many new and professional programming practices. Learn how to merge your code in other’s code which is a plus point for me. I recognized my weak points. Long story short it's a great experience for me. Yesterday, I completed my 4 PRs and I am very happy🥳🥳.    
###__Suggestion__:
It's a humble suggestion to all newbies, go and participate in it no matter what's your skill level. It would be a great experience for you all.