teleren/devto huggingface dataset:
SME IPO Criteria, how to apply for SME IPO ?
Tags: smeipo, finance, ipo, personalfinance
Published: 2021-07-30 10:31:44

SME (Small and Medium Enterprises) or IPO (Initial Public Offering) is an exceptionally famous manner for a employer to elevate finances from numerous investors. It is specifically for buying and selling of stocks in small and medium corporations. If you furthermore may need to recognize what’s IPO and what’s SME IPO, sincerely study this submit until the end.

If you furthermore may need to shop for stocks of any employer then it may be useful for you. But for this you want to have the proper expertise of the inventory market, best then you may achieve success in it. The employer that problems the IPO first problems the prospectus for this, in case you are making an investment, then first you must study it carefully.

If you’re an investor who desires to maintain your cash in funding for an extended time, then you definitely must get all of the records associated with IPO. And earlier than deciding on the employer, its essential factors must be known. Today you’ll get distinct records approximately SME IPO Meaning thru this submit.
What is the IPO ?

The complete call of IPO or IPO Full Form is ‘Initial Public Offering’. Meaning of IPO, whilst a employer gives its stocks to the general public for the primary time, it’s miles referred to as IPO. What takes place is what takes place below the number one market. It is a system via way of means of which a employer publicly sells its stocks to the overall public. IPO is executed via way of means of constrained corporations so they may be indexed withinside the inventory market, any public who wishes to shop for stocks of the employer can practice for it.
Read more here https://www.info.fastread.in/what-is-sme-ipo-how-to-invest-in-sme-ipo/
Benefits of using performance testing
Tags: performance, performancetesting
Published: 2021-07-30 10:24:16

What is performance testing?
It is a testing method that is used for testing the scalability, reliability, stability, response time, speed and resource usage of a program or software application under specific or varying workloads.
Following are the key <a href="https://www.testingxperts.com/services/performance-testing/ca-en">benefits of using performance testing</a>:

1. The speed factor: The speed of the application is determined by performance testing, which means when a user requests, there should be a quick response from the application end. Whether it is a web or mobile application, it must respond to user‘s request quickly in the least possible time, so that the respective resources can be provided at the earliest. This will in turn create an environment where a user will be really happy.

2. Resolve issues strategically: When the performance is being measured, it is sort of providing a buffer for developers before the product is going to be released. Once released then there will be a real issue to tackle and solve issues. Through the tactical application of performance testing, all the issues are completely resolved before the product’s release. Business sectors must properly monitor performance testing activities. 	

3. Measuring the performance of the software: The speed, stability and accuracy of software are thoroughly measured by conduction of performance testing. The crucial components of software are monitored under certain constraints, which will, in turn, give key information on how a software will take care of scalability.	Through this, informed decisions can be made by developers on what specific changes need to be done and also measure the performance against internal standards.

4. Performance-related bottlenecks are eliminated: The application’s performance has a direct impact	on the overall popularity and credibility of the organization. Quality is also a key component that needs to be considered. Users look for applications that have seamless performance and are of great quality and performance testing ensures that these two important factors are met. Applications that have optimal performance will only be able to sustain in the marketplace. This testing method ensures that performance-related bottlenecks are identified in a structured manner and thereby eliminated at the earliest.
Top 5 online courses for learning web development.
Tags: webdev, codenewbie, react, 100daysofcode
Published: 2021-07-30 09:41:50

These courses are taken by me and are my personal prefrence. 

There might be more or better ones, but I can gurantee that once you try them, you will not be dissapointed.

1) The Complete JavaScript Course 2021: From Zero to Expert! by Jonas Schmedtmann

- Jonas is one of the best instructor out there. In his courses he covers every topic in detail, with theory lectures explaining not only what but why a technology works in certain way.
            
Platform - Udemy

2) The Web Developer Bootcamp 2021 by Colt Steele

- Colt is great in explaining diverse tech in an integrated manner. 
For first timers, it is recommended to go through this course, as to have birds eye view of web development process from frontend to backend and deployment.

Platform - Udemy

3) Advanced CSS and Sass: Flexbox, Grid, Animations and More! by Jonas Schmedtmann

- Again when its Jonas, there is no doubt about it. Take the course!
In this course he covers CSS, SCSS in detail with Flexbox, Grid, Browsersupport, Image optimisation, responsive design & more.

Platform - Udemy

4) React - The Complete Guide (incl Hooks, React Router, Redux) by Maximilian Schwarzmüller

- Max courses are great for learning practical as well as theory side of things. He provides lots of additional articles and videos for explaining a topic. This React course is must have for beginners as he goes through ReactJS in detail explaining its behind the scenes functioning to styling react apps and React app patterns.

Platform - Udemy

5) Node.js, Express, MongoDB & More: The Complete Bootcamp 2021 by Jonas Schmedtmann

- Lastly with Jonas yet. After above he does'nt need any explanation. If you want to get good at nodeJS with its functioning, theory, security, & more take this course.

Platform - Udemy

Finally, these are the courses I took and have broaden my understanding not only regarding web development but tech in general. 

Still these are my preferences, I will recommend to do your own reserach, as buying a course is commitment of precious time and money. 🙂
T-SQL: How To Write A FULL OUTER JOIN
Tags: sql, tutorial, database
Published: 2021-07-30 09:40:31

We've looked at the LEFT and RIGHT JOINs. These can be useful relative to the result set we want, thought RIGHT JOINs are less common in development and may cause confusion (we can invert the tables and perform a LEFT JOIN for the same results). What if we want the result set of both of these combined - in other words, the result set for the LEFT JOIN and also the result set for the RIGHT JOIN? We can achieve what we've seen in past videos by combining these joins with teh FULL OUTER JOIN. In the video, [SQL Basics: How To Use A FULL OUTER JOIN and Why](https://www.youtube.com/watch?v=rc3N-o8qyyE&list=PLHHm85xMQAYNScEs-nu9gzi2uoQ9JCCYA&index=8), we do exactly this with our test data set.

Some questions that are answered in the video:

- Note the tables that we're using and what values are identical based on the column names and what values differ based on the column names. We'll be using these tables throughout these videos. As a note on aliasing tables - the first table always gets a "t1" while the second table always gets a "t2" and so on and so forth (the 5th table would get a "t5"). Finally, consider that some SQL languages may not support the JOINs that we discuss.
- In comparing a LEFT JOIN and a RIGHT JOIN, how will the result of the FULL OUTER JOIN differ?
- When we create the FULL OUTER JOIN on Id, what's the result?
- What would be the result if we used the column Letter?

How could this be useful? In reviewing our test data set, we see that the final result shows us where the Ids come with values on the left side and right side while the opposite side has nulls and where the values align. Look at the values 3 and 4: we have matches. However, we don't see this for 1 and 2 (the left Ids return while the right don't because there are no matches on the right). Likewise, the right table with 5 and 6 come with Ids while these are not present in the left table. This means that with a FULL OUTER JOIN we can get non-null values on the left side, right side and where both align. This can be extremely useful in filtering or analysis where we may want values that match and don't match from both tables on either side. While this certainly comes up less than LEFT JOINs, it is worth knowing how to use when you need to use it.

For more SQL lessons, you can continue to watch the [SQL Basics](https://www.youtube.com/watch?v=Ied5YaCu_-0&list=PLHHm85xMQAYNScEs-nu9gzi2uoQ9JCCYA&index=1) series.
Four Ways to Clone Array with Ease! Easiest Method to Clone Array.
Tags: javascript, react, programming, node
Published: 2021-07-30 09:16:51

> Visit my personal blog for more awesome content. [hasnain.dev](https://hasnain.dev/)

Unlike primitive types, arrays cannot be cloned by simply assigning them to another variable, doing that only stores reference in another variable. Fear not! There are plenty of ways in which you can make a new copy of an array using four methods!

## Array.concat

```javascript
const fruits = ['🍎', '🍌', '🍐']

const cloned = fruits.concat([])
```

## Array.from

```javascript
const fruits = ['🍎', '🍌', '🍐']

const cloned = Array.from(fruits)
```

## Array.slice

```javascript
const fruits = ['🍎', '🍌', '🍐']

const cloned = fruits.slice()
```

## Spread Operator

```javascript
const fruits = ['🍎', '🍌', '🍐']

const cloned = [...fruits]
```

## Best Practice

Some of these aren't best practice. It really depends on what you're trying to achieve. For instance, Array.from converts iterables into an array. Array.concat concatenate two arrays. Array.slice gives you a part of an array and the spread operator simply spreads an array into argument list.

Best practice depends on what purpose you are using these methods for.
Self-Taught Programmer: How to Master Content
Tags: firstpost, codenewbie
Published: 2021-07-30 08:57:31

Hello, everyone. This post marks my journey towards learning through teaching others. Sometime last week, I was watching on YouTube watching some videos. While at it, I noticed one video that always appears on my recommended section.

So, curiosity took over me and I decided, why not? The video was titled "Mastery: How to Learn Anything Fast, by Nishant Kasibhatla. A little bit about Nishant is that he is a Guinness Record Holder (2011) and the only Grand Master of Memory in Singapore.

At first, I was quite skeptical, but then after watching the first few minutes, I was hooked. In the video, Nishant highlighted one thing that quipped my interest. He said that, the best way of mastering a subject is by putting it into practice.

I for one has been a victim of the famous "Tutorial Hell" in my programming journey. I have hoped from one tutorial to another, building projects, but I still don't feel confident in my skills. 

If you've been in there before or in the same situation at the moment, you know how it feels. You get frustrated, feel like you are in the wrong place, and sometimes feel like quitting. But worry not, there is a hack around it. Start building projects.

Earlier on, I mentioned something about Mr. Nishant's YouTube video. One key take-away that applies in almost any profession is to reflect on what you have learnt through teaching or sharing it with others. This blog post is my first step towards improving my mastery through sharing and teaching.

For the past two weeks I have been on Udemy taking a course called "Python Django 2021 - Complete Course". Before that, I had read "Django for Beginners by William Vincent". In between that period I haven't implemented a solo project.

So, starting today, I will pause on my tutorials set up  a solo project and build it putting into practice what I have learnt. I will also share it here to teach one or two people, and even inspire many more. 

Cheers.
Day 5 - Pow(x, n)
Published: 2021-07-30 08:54:15

###Day 5 - Pow(x, n)

Problem and my solution can be found in my GitHub repo along with all other problems I have solved till date.

[Leetcode problem](https://leetcode.com/problems/powx-n)
[GitHub link to problem and solution](https://github.com/abh1navv/leet-code/tree/master/powx-n)


You can connect with me at &nbsp;
[LinkedIn](https://www.linkedin.com/in/abh1navv)
[Twitter/@abh1navv]
(https://www.twitter.com/abh1navv)
How to prevent running script if there are changes in local Git working space
Published: 2021-08-02 16:19:28

---
title: How to prevent running script if there are changes in local Git working space
published: true
date: 2021-07-30 08:49:00 UTC
tags: 
canonical_url: https://banach.net.pl/posts/2021/how-to-prevent-running-script-if-there-are-changes-in-git-working-space/
---

Recently I spent some time making improvements around deploying an application. Some of them are bash scripts automating some boring actions. All of them has one common part - should not be run if there are any changes (staged or not) in the local Git repository (working tree). Fortunately, it is simple to incorporate checks like this into scripts!

To get the information about staged (added with `git add`) and not staged files we will use `git diff` command. Without any parameters, it will give us detailed information of what changed. That is a bit too much than our needs, so we will use `--stat` flag to get only statistics - path to file and the number of lines added and removed:

```
# ~/repository> git diff --stat
unstagedFile.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
```

For staged files we will use very similar command - it will be `git diff --stat` but with`--cached` flag:

```
# ~/repository> git diff --cached --stat
stagedFile.txt | 1 +
1 file changed, 1 insertion(+)
```

Both commands will return empty strings when no changes. We will use that information to show the message and stop (exit) script. In the end, script will look like this:

```bash
#!/bin/bash

# Fill up variables
STAGED_CHANGES=`git diff --cached --stat`
NOT_STAGED_CHANGES=`git diff --stat`
# Check if there are any staged but not committed changes
if [! -z "$STAGED_CHANGES"]
then
# Show message
echo -e "You have staged, but not committed changes. Not releasing!"
# And exit with non-zero code
exit 1;
fi
# Check if there are any not staged
if [! -z "$NOT_STAGED_CHANGES"]
then
# Show message
echo -e "You have not staged and not committed changes. Not releasing!"
# And exit with non-zero code
exit 1;
fi
## Anything else we need to do! ##
```

This script:

- run commands mentioned above,
- store results in variables,
- if any of those variables are not empty - show the message and exit script with non-zero return value.

Why non-zero return value? Because by default `0` is treated as “everything was OK” and any other value means “error”. This allows to chain commands like `doSomething && doMagic` - in that case, `doMagic` will run only if `doSomething` return exited with `0`.

Bonus stuff - we can make output red using some magic numbers which we can put in a script (in echo command):

```bash
#!/bin/bash
RED_START="\033[1;31m"
RED_END="\e[0m"
echo -e "Normal message!"
echo -e "${RED_START}Normal message but in RED!${RED_END}"
```

The result of the script above will look like this: ![The result of the colourful script](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1bgl9o3ucd50txjui8vg.png)

And that’s all folks! If you find this post useful - let me know! :-)
Migrate Wordpress blog to Flotiq using FlotiqSync plugin
Tags: flotiq, cms, headlesscms, wordpressplugin
Published: 2021-07-30 08:32:50

**Overview**
Till now, you could migrate your existing Wordpress data into Flotiq [using Wordpress to Flotiq migration service] (https://flotiq.com/services/migrate-wordpress-to-flotiq-headless-cms/) ([check this Migrate Wordpress to Flotiq article for more] (https://flotiq.com/blog/migrate-wordpress-to-flotiq-headless-cms)).

Recently, we have added a new [FlotiqSync plugin] (https://wordpress.org/plugins/flotiq-sync/), that you can add to your Wordpress site from the plugins section in the Admin panel.

The plugin migration service supports the following types of content:

- Posts
- Pages
- Media
- Tags
- Categories
- Authors

### Installation

Go to `Plugins` > `Add New` and type `Flotiq Sync` in the search bar(1).

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2u45de76c6flsgwombx0.png)
 

Next, click `Install now` (2) to add the plugin to your collection.

If this does not work, you can download the `.zip` file from [this site] (https://wordpress.org/plugins/flotiq-sync/) and click

`Upload plugin` (3) instead.


The last option is to extract `.zip` file and put its contents under the following path 

`wp-content/plugins/flotiq-sync` 

### Usage

You can now access plugin settings by going to `Settings > Flotiq Sync`

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

Provide your [Read and Write API Key] (https://flotiq.com/docs/API/) from Flotiq and click `Save`.

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

Click `Run Synchronisation` to perform initial sync between your Wordpress and Flotiq.

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hkxihjr20io0o0hpi3q2.png)
 
After a few seconds, you should be able to see a message about successful synchronisation.

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

Go to your Flotiq account and double-check if everything was imported successfully.

Now, whenever you add or update content in Wordpress, it will be automatically synchronized with your Flotiq account!

 

### Examples
Wordpress post status

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/39ct7g35d3il2vzilk09.png)
 

Flotiq post status after migration 

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

**And that's all!**
Github shortcut
Tags: github, productivity
Published: 2021-07-30 08:07:00

Speed up your activities on github using keyboard shortcut🚄

press `shift + ?` to check shortcut 👍

![Image 2021-07-30 at 5.03.55 PM](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ivw67wnqqgmriig894u4.jpg)
Create a Netflix clone from Scratch: JavaScript PHP + MySQL Day 4
Tags: javascript, webdev, tutorial, codenewbie
Published: 2021-07-30 08:05:39

Netflix provides streaming movies and TV shows to over 75 million subscribers across the globe. Customers can watch as many shows/ movies as they want as long as they are connected to the internet for a monthly subscription fee of about ten dollars. Netflix produces original content and also pays for the rights to stream feature films and shows.

In this video,we will learn how to create the signup page.

{% youtube y6ff65fGgzY %}

If you like my work, please consider
[![Buy me a coffee](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jm11knj7d8zwcvo150q2.png)](https://www.buymeacoffee.com/cglikpo)
so that I can bring more projects, more articles for you

If you want to learn more about Web Development, feel free to [follow me on Youtube!](https://www.youtube.com/c/ChristopherGlikpo)
How to get more views on dev.to?
Tags: discuss, dev, meta
Published: 2021-07-30 07:56:43

I have not many followers on social media in general, mostly because I am not the type who engages a lot in social media debates so I have not much inherent reach when publishing.

What can I do to improve my reach without using clickbait titles, writing about "hype topic xyz" or linking articles in comments (which I think is a very cheap form of advertisement)?
#10) Explain 'this' keyword❔
Tags: javascript, webdev, beginners, career
Published: 2021-07-30 07:46:13

🔰_this_ in JavaScript refers to the object that the function it belongs to and it depends on the object that is invoking the function.

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

✔In the above example 1, the function is invoked in the global context, _the function is a property of global object_.
Hence, the output of the above example will be **global object**.
But this code is ran inside the browser, so the global object is the **window object**.

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

✔In above example 2, _id_ function is the property of the object _person_.
So, the _this_ keyword will refer to the object _person_ and will return **Mike** as output.

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

✔In above example 3, the _id_ function is declared inside the object _person_ but at the time of invocation, id() is a property of _person2_, therefore the _this_ keyword will refer to _person2_.
And it will return **David** as output.

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

✔In above example 4, _this_ keyword refers to the object _driver_ but the _driver_ does not have the property _color_.
Hence, _features_ function throws an error:- 
`Uncaught TypeError: driver.features is not a function'
__________________________________________________________________
Automating Testing in Flutter 2.0
Tags: flutter, dart, automation, testing
Published: 2021-07-30 07:24:27

Hi everyone!

I've written an article on how you can automate your Flutter tests with SemaphoreCI. SemaphoreCI is a cloud-based CI/CD platform built for speed and performance — it works well with Flutter apps too!

Here’s an excerpt from the blog:

*Building beautiful and functional apps in Flutter is easy, but how do we make sure that we deliver a great user experience at scale? We can do it by integrating and running automated tests for every new change pushed to our codebase.*

Continue reading it on [Semaphore Blog](https://semaphoreci.com/blog/automated-testing-flutter2).