teleren/devto huggingface dataset:
Introduction to Git Branching and Standup
Published: 2022-02-04 08:18:11



####GIT BRANCHING
  
Git branching allows developers to create a copy of the original code, fix bugs on the original code or add a specific feature. This feature is what differentiates Git from all other source code management tools.
Git basically stores data as a series of snapshot
The main branch is created when you initialize the Git inn it command
What happens when you create a new branch? Well, it creates a new pointer for you to move around. Let’s say you want to create a new branch called testing. You do this with the git branch command:
 git branch testing

Git knows the branch you are currently on by keeping by keeping a special pointer called HEAD.
In Git, it is a pointer to the local branch you’re currently on. Even you’re still on master. The git branch command only created a new branch — it didn’t switch to that branch.
To switch to an existing branch, you run the git checkout command. Let’s switch to the new testing branch:
$ git checkout testing
This moves HEAD to point to the testing branch.


####STANDUP 

In agile software development, a stand-up is a daily progress meeting, traditionally held within a development area. Business customers may attend to gathering information. Stand-ups are sometimes referred to as "daily scrums."
The term "standup" is derived from the way it is run all attendees must remain standing to keep it short and the team engaged.
Git standup is an open-source tool that helps you to track  and monitor what you have been working on and what your team has been working on. It comes with various options that you can play with it. It aids collaboration and errors can be minimized with this method




#####References
(https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell)
(https://levelup.gitconnected.com/how-to-use-git-as-a-standup-tool)
People Are Talking About 
Your Site
Tags: webdev, beginners, programming, react
Published: 2022-02-04 08:03:51

Hi,
 

 Does your website look Dull, Tired or just plain Ugly?
Do your visitors think WOW! Or get me the HELL out of here?
Is your site Out of Date, Not Working, or Never Worked Properly?
 
Today we can fix it,  and fix it good.
The solution is a brand new "Mighty Mini Website"
The Mighty Mini Website is a template based website package that
allows you to quickly and easily build a high quality website that
scream a top quality professional look.
It's provided with everything you need to setup a professional looking
website, all files, html, graphics, psds... and it also includes some
awesome step by step videos showing you how to whip up a top site in minutes.

[Get Your New Website Now!](https://tinyurl.com/2p8njx63)
 
 Kind Regards
How To Reset MySQL Root Password?
Tags: linux, mysql, ubuntu
Published: 2022-02-04 08:03:14

Everyone is their life have forgotten tons of password and I'm one of those too. However, resetting the password isn't a hard task at all. This article will teach you to reset the [MySQL Root Password](https://thedroidgenome.com/how-to/reset-the-mysql-root-password/) with ease. You can learn about it in detail here on TheDroidGenome.

## Pre-requisites

You must have root access to your server before you can start resetting it. You can obtain it easily with the help of sudo command.

## Reset MySQL Password

- 
First things first, stop the MySQL Server.
`sudo service mysql stop`

- 
Once the server is stopped, restart it  the —skip-grant-tables option
`mysql_safe --skip-grant-tables &`

- 
Connect to MySQL by the following command
`mysql -uroot`

- Setup new password using following command
`UPDATE mysql.user SET Password=PASSWORD('updated-password') WHERE User='root';`

- Now, Restart you server to take it in effect.
`sudo service mysql restart`

## Wrapping Up

That's how you can reset your MySQL password easily. Let me know if you get any errors or queries. I will be more than happy to help you out.
A Nice Developer Joke For Today
Tags: jokes, dailydeveloperjokes
Published: 2022-02-04 08:00:26

---
title: "A Nice Developer Joke For Today"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

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

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

---

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

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

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

<!--
Joke text:
___Q:___ Why was the computer freezing?

___A:___ It left its Windows open!
 -->
The Easiest & Most Cost-Effective Page Builder You Will Ever Use
Tags: pagebuilder, beginners, programming, tutorial
Published: 2022-02-04 07:57:58


If you're one of those people that hate using page builders as they are so complicated then I have some good news for you as I have just discovered one of the fastest and easiest page builders you will ever use and the cost will blow you away.

You see, we all know that a LOT of people want to stick with what they already know and keep things as simple as possible because we all know that time is money.

So, the creators have come up with a simple and easy to use page builder using an extremely simple interface. Just click where you want to edit and you're done, there's literally nothing Faster or Easier!

Yes, this really could not get any simpler, if you can point a mouse, click and type, then you've already mastered Easy Page Buildr.
[
Check out the video on this page](https://bit.ly/3roN0aZ) and you'll see why it's called 'Easy Page Buildr'

Plus right now you grab this for a single payment and you can get started for under $10 (I was shocked at the price too) but I am told that they will be switching to recurring billing soon so now is the time to check this out.

Regards,
Amit
Prevent Lazy Loading - Laravel
Tags: php, laravel, programming, beginners
Published: 2022-02-04 07:57:37

Today we will talk about Prevent Lazy Loading and how it affects the performance of the application. Let's find out in the next example
We have a binding relationship in the model User
```php
public function logins()
{
   return $this->hasMany(Login::class);
}
```
Here we bring all users with login
```php
$users = User::get();
foreach ($users as $user){
   foreach($user->logins as $login){
      dd($login)
   }
}
```
in app/Provider/AppServiceProvider.php 
``$this->app->isProduction()`` if App in Production
```php
use Illuminate\Database\Eloquent\Model;

public function boot()
{
    Model::preventLazyLoading(! $this->app->isProduction());
}
```
Now bring all users with login Use Laravel Debugbar https://github.com/barryvdh/laravel-debugbar You will see the difference between before and after using preventLazyLoading
```php
$users = User::with(['logins'])->get();
foreach ($users as $user){
   foreach($user->logins as $login){
      dd($login)
   }
}
```

I hope you liked the code and benefited from it. For more information, visit these links
https://laravel.com/docs/8.x/eloquent-relationships#preventing-lazy-loading
https://www.youtube.com/watch?v=PeaMgcJgQIk
ES2022 is gonna be OP.
Tags: javascript, webdev, typescript
Published: 2022-02-04 07:56:35

![ECMAscript2022](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jryjnk6mozlxboc2kme9.png)

> ECMAScript 2022 is the new JavaScript standard that is going to be released in June 2022. Let’s overview the most important changes that would appear almost certainly in the new release as they reached the 4th stage of TC39 process.

## 1. `.at()` method in arrays
Finally! ES2022 will give us a possibility to index array-like objects from the end. That’s a tiny feature, but it improves core readability when dealing with arrays or strings.

### before
```javascript
const array = [1, 2, 3, 4]
array[array.length - 2] // 3
array.slice(-2)[0]    // 3

const string = "1234"
string[string.length - 2] // '3'
string.slice(-2)[0]    // '3'
```

### after
```javascript
const array = [1, 2, 3, 4]
array.at(-2) // 3

const string= "1234"
string.at(-2) // '3'
```

## 2. Error Cause
`.cause` property on the error object would allow us to specify which error caused the other error. Here you can see an example use of this new feature ->

```javascript
try {
  doSomethingThatWillThrowAnError() 
} catch (error) {
  throw new Error('I am the result of another error', { cause: error })
}
```

> I couldn’t find any information whether stack trace of error included in cause would be present in the thrown error. Let me know if you find any information about that.

## 3. Top-level async/await
Now, in **ECMAscript 2022**, you can do this shit ->
```javascript
const moduleName = await fetch("https://example.com/some/random/module")
const service = await import(`/dist/modules/${moduleName}.js`)

// --------------
// ----- OR -----
// --------------

const date = new Date()

if(date.getFullYear() === 2022) {
  await require('/newcode-2022-only.js')
} else {
  await require('/legacy-code.js');
}
```
Day 11/100 Java
Tags: 100daysofcode
Published: 2022-02-04 07:46:07

Happy Friday!
➖
Day 11
➖
Today’s Study:

- Code Challenges:
    - Reading User Input
    - Min and Max Challenge
		- Input Calculator
		- Paint Job
    ➖
Additional Notes:
Today was a little more on the relaxed side of the course as there was not many challenges left in this section. I can now say that section 5 has been completed! Section 6 rolls onto object oriented programming. Lets see what OOP has in store 😁

The course so far has been great. Explanations are well versed and easy to follow, but also challenging so you don't feel all you are doing is following brainlessly what the tutor is doing.
➖
FOSDEM 2022
Tags: fosdem, webdev, opensource
Published: 2022-02-04 07:41:33

[FOSDEM 2022](https://fosdem.org/2022/) (Free and Open Source Developer European Meeting) is coming (5 & 6 February 2022) with its 8000+ participants and an [Ada DevRoom](https://fosdem.org/2022/schedule/track/ada/).  This year FOSDEM is online only.

The [Ada DevRoom](https://fosdem.org/2022/schedule/track/ada/) has Lots of interesting stuff, both for expert and for people who knows nothing about Ada. 

A talk that I find quite intriguing is [Getting Started with AdaWebPack](https://fosdem.org/2022/schedule/event/ada_adawebpack/) that introduces an *Ada to WebAssembly* compiler that will allow you to do web development in Ada, replacing the frail JS.

Also, [Overview of Ada GUI](https://fosdem.org/2022/schedule/event/ada_adagui/) presents a new approach to GUI programming.
6 things that will make your Productivity
Published: 2022-02-04 07:31:39

---
title: 6 things that will make your Productivity
published: true
description: 
author: Thiraphat-DEV
tags: 
//cover_image: https://direct_url_to_image.jpg
---

**#Productivity** **#Routine**
>
1.Wake up Early
2.Write down the things you need to do each day
3.Organize work environment 
4.Turn off the internet during your breaks and try to make time for yourself.
5.Exercise to strengthen the body and mind. so that you can work more efficiently 
ุ6.reward yourself to encourage further productivity
>
Run any React/ Angular/ Vuejs project directly from Github/GitLab without downloading it.
Tags: javascript, angular, react, vue
Published: 2022-02-04 07:30:30

Want to run any Javascript or Framework project directly from the GitHub repository without downloading it on your machine? 
Is it possible🤔? The answer is big “**YES**”

I just came across a service provided by [**Gitpod.io**](https://gitpod.io/) which is an online IDE for running GitHub projects in the cloud.

To run any project from GitHub in browser follow these steps:

1. Copy the URL of the GitHub project you want to run

2. Append it to **http://gitpod.io/#**

3. Log in to your GitHub account by clicking on “Login with GitHub & launch workspace” button

4. You’re done. It will load your environment of VS Code in the cloud

Let’s take the SnapShot project mentioned as the third project from https://reactjs.org/community/examples.html

To run the project in browser, take the repository URL which is https://github.com/Yog9/SnapShot and append it to http://gitpod.io/#

So, the complete URL becomes
http://gitpod.io/#https://github.com/Yog9/SnapShot

If you load the above URL, it will load the Visual Studio Code IDE in the cloud and you can run the project there, by running “npm install” and then “npm start” in the VS Code terminal as instructed in the README.md file for that project.

Screenshot after opening the above url
![Gitpod with snapshot project opened](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6nogn0szv1qz139hiuon.png)
 
Using this technique, you can run the project, test it, and can also modify it as it's in the cloud.


> The GitPod allows to run code of almost all the languages that > are supported by Visual Studio Code including Javascript, 
> Python, Java and Go and many more


Following is the list of supported languages from Gitpod website.
![Gitpod supported languages](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yf3xy3lxnapcw64tvrhg.png)
 
Read more click [here](https://www.gitpod-staging.com/features/#:~:text=Gitpod%20comes%20with%20built%2Din,diagostics%2C%20formatting%20and%20many%20more.)

Gitpod provides a free plan of about **50 hours/month**
[View more about pricing plans](https://www.gitpod.io/pricing)

I think that is more than enough for what you need.

That’s it for today. Hope you enjoyed the article and learned something new today.


Follow me on Twitter click [here](https://twitter.com/intent/follow?screen_name=phelix__dusenge) if you like my content.
Tailwind CSS drop shadow effect for PNG images
Tags: tailwindcss, css, beginners
Published: 2022-02-04 07:22:32

Did you know that you can apply a [drop-shadow to PNG images](https://daily-dev-tips.com/posts/css-drop-shadow-vs-box-shadow/)? This drop shadow will follow the outline of the image!

In this article, I'll show you how to achieve this **drop shadow effect in Tailwind CSS**.

![Tailwind drop shadow effect for PNG images](https://cdn.hashnode.com/res/hashnode/image/upload/v1643176941336/QyqKefsUv.png)

In the above image, you can see the default PNG image on the left and a drop-shadow effect on the right.

## Tailwind CSS Drop Shadow effect

To achieve this effect, you need to use a PNG image (transparent image).

And apply the `drop-shadow` class.
You can pick any of the following variants:

- `drop-shadow-sm`
- `drop-shadow`
- `drop-shadow-md`
- `drop-shadow-lg`
- `drop-shadow-xl`
- `drop-shadow-2xl`

> Note if you are still in [Tailwind V2](https://daily-dev-tips.com/posts/upgrading-tailwind-v2-to-v3/), you'll have to use the `filter` class as well.

## Tailwind CSS Box Shadow effect

Alternatively, you might have seen or heard about the box-shadow effect. This effect will not wrap around the edges of your PNG, but instead, use the box it is in.

You can see the box shadow on the left and the drop shadow effect on the right in the image below.

![Tailwind box-shadow vs drop shadow effect](https://cdn.hashnode.com/res/hashnode/image/upload/v1643177257936/X1CzERQQO.png)

The box shadow can be added by using any of the following classes:

- `shadow-sm`
- `shadow`
- `shadow-md`
- `shadow-lg`
- `shadow-xl`
- `shadow-2xl`

I've also made this CodePen example to see the difference between the options.

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

### 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)
Extracting Wikipedia data in Python 2022
Tags: tutorial, python, programming, productivity
Published: 2022-02-04 07:21:32

Wikipedia is the world's largest and free encyclopedia. Its data is easily accessible through a Python library called Wikipedia.
We will see how can we do that today in this tutorial.

## Installation
Before using this API, firstly, we will manually installing it. Because, it is not an built-in API. So just type th following commands in your command prompt. 

```
$ pip install Wikipedia
```

## Searching Wikipedia
Firstly, we will understand how to search a query in Wikipedia with this API. 

### Search Method
The search method returns thelist of search results for our query. Just like Google, Wikipedia also has its own search engine.
Here this the code.

```
import wikipedia
result = wikipedia.search("Tesla Inc.")
```

### Suggestions
Wikipedia also gives suggestions on searching on using search() method. On passing suggestion parameter in this method, we will find some suggestions for our query (if any).

```
result = wikipedia.search("Tesla Inc.", suggestion = True)
```

Result

```
(["Tesla Inc.", ....], None)
```

This will return a tuple which contains our search results and suggestions. There is no suggestions for our query. That is why, this return us `None`. 

## Getting Summary
With this API, we get summary of any article published on Wikipedia by its Title. For this, we just have to run the following code:
```
wikipedia.summary("Google maps")
```
You have to enter the title of the articles published on wikipedia.

## Languages
This Wikipedia module gives us an option to change the language in which we want to read the articles.
```
wikipedia.set_lang("fr")
```
In above code, fr is language code for french language.

### Supported Languages
To get the list of supported languages, run this code:
```
wikipedia.languages()
```
languages() method returns us the list of languages on which articles are written in wikipedia.

## Page Details
This wikipedia API also gives us the option to access all the web pages hosted wikipedia website. To access the page details, firstly, you have to run this code:
```
India = wikipedia.page("India")
```
Now, we will you this India variable( instance) to get the page details.

### Title and Url
To get the title of the page just enter the following code

```
India.title
```
To get the url of the page, we can just enter the following code:

```
India.url
```

### Content
To get the whole content of the page / article, you just have to run the following code:

```
India.content
```
Thanks
Read the full article
[Link is here (TECHWITHPIE)](https://techwithpie.blogspot.com/2022/02/extracting-wikipedia-data-in-python.html)
🔨How to Use Visual Studio Code as REST Client to Test REST APIs [Stop using Postman and Insomnia...]
Tags: giulianodeluca, api, vscode, restapi
Published: 2022-02-04 07:17:51

---
title: 🔨How to Use Visual Studio Code as REST Client to Test REST APIs [Stop using Postman and Insomnia...]
published: true
description: Are you wondering how to use the same tool for development and for testing APIs? 
tags: giulianodeluca, API, vsCode, RestAPI
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pyfavhjqvnez80oiu6a9.png
---

🎬NEW VIDEO N. 187🎬 
Are you wondering how to use the same tool for development and for testing APIs? 
In this video, I'll show how you can use Visual Studio Code with an extension to consume and play with Rest API. 
This will give the chance to work always with the same tool without using Postman, Insomnia, or..... 

{% youtube 8uyTn4cg8Xc %}
Rock your Github profile
Tags: tutorial, github, readme, markdown
Published: 2022-02-04 07:09:50

![octocat](https://cdn-images-1.medium.com/max/4000/1*e7g8DsiUBZK6Ca7i78BdaA.png)

## Prerequisites

To display a personalize github profile page, you have some steps to follow

* Create a **new Github repository** named after your username, for exemple if your Github username is GithubRockstar, your repository should be named GithubRockstar.

* Make this repository **public**.

* Add a Readme.md file in the root of this repository.

* The Readme shouldn’t be empty, else you will display nothing.

## Customizable content

![](https://cdn-images-1.medium.com/max/2000/1*I-j9oHpeVc_0-lFkTAcyAw.png)

At this point, I assume that you know how to write markdown, if no I recommend you to read this [manual](https://www.markdownguide.org/basic-syntax/), else what can we add in this Readme profile page ?
Pretty much what we can already add in the readme of our different projects repositories.

* badge

* emote

* formated text

* images and gif

* link

### Adding badge

![](https://cdn-images-1.medium.com/max/2316/1*omV2KyIvcoaXQ-1b_BGEUg.png)

badges are common in Github repository, so how can we add them, simple we will use [**Shield.io](https://shields.io/) **it permit to build badges and then copy the code to add to your readme.
With that tool you can personalize :

* the logo and it’s color

* the label

* the message and it’s background color

### Github stats

![](https://cdn-images-1.medium.com/max/2764/1*DGtxbL_3Y5JVxj8-drpzSw.png)

To add stats card to your readme profile you can :

* use [github-readme-stats](https://github.com/anuraghazra/github-readme-stats) that let you put link that will transform into card like the badges latter

* use [github action](https://github.com/marketplace/actions/github-profile-summary-cards) to generate them.

### Blog post

![](https://cdn-images-1.medium.com/max/2352/1*9jTCFM_RnL-QOzBT5NNPPA.png)

If you are active in writing blog posts, maybe you will want to add them to your readme profil page.
Mine are not generated using some action because I have linked them to the repository concerned, but you can do it using [blog-post-workflow](https://github.com/gautamkrishnar/blog-post-workflow) (*the description of how to use it are in the readme*).

### The octocat

Ever wanted to have your own custom octocat to display ? Simple, you just have to go to [my-octocat](https://myoctocat.com/) to build, personalise and then save it to display it later in your profile page.

## For the lazy ones

If you don’t have the time to do all the above steps, know that it exist some readme generator that will do the job for you :

* [https://rahuldkjain.github.io/gh-profile-readme-generator/](https://rahuldkjain.github.io/gh-profile-readme-generator/)

* [https://arturssmirnovs.github.io/github-profile-readme-generator/](https://arturssmirnovs.github.io/github-profile-readme-generator/)

* [https://share.streamlit.io/rahulbanerjee26/githubaboutmegenerator/main/__init__.py](https://share.streamlit.io/rahulbanerjee26/githubaboutmegenerator/main/__init__.py)

and many more, Google is your friend for finding them.
Crypto Swap Profits - helps the newbie and experienced investor make money and have true results in crypto.
Tags: cryptocurrency, bitcoin, btc, blockchain
Published: 2022-02-04 07:01:05

Do check out their Free Webinar, its really gonna help people who loves crypto. doesn't matter if you're Newbie or pro .this really gonna help to make profit from crypto trading, holding and investing

[Free webinar video here >> 
](http://sree8089.swapprofit.hop.clickbank.net/?cbpage=replay)
This certificate has an invalid digital signature
Published: 2022-02-04 06:42:03

I have some unusual problem: I have PKI deployed in my organization. I have an SSL template with manual issuing. When I'm trying to issue a certificate, everything goes OK.

But if finally I open this cert, I see an error: "This certificate has an invalid digital signature.". I tested this cert on several computers/servers - everywhere is the same problem. I tried to issue this cert on both of my Cert Authorities - the same. But previous certs with this template are fine.

Signature algorithm: sha512RSA

Public key: RSA (2048 bit)

Thumbprint: sha1

Private key algo: RSA SChannel or DH SChannel

Private key size: 2048

What's the problem? Is there again any updates that ruined everything?