teleren/devto huggingface dataset:
What monetization strategies have you used for your products?
Tags: webdev, discuss, monetization, marketing
Published: 2020-10-19 08:55:51

---
title: What monetization strategies have you used for your products?
published: true
description: 
tags: webdev, discuss, monetization, marketing
cover_image: https://miro.medium.com/max/1200/0*ftv1JOVBg0t3msny.png
---
There are plenty of methods you can choose from to monetize your website. They are all opportunities for you to earn money and either make a living or get an additional income from your website. 

Some of the most popular ones include affiliate marketing, subscription plans, using Pay-per-click advertising, posting sponsored content, selling ad space, selling your own product, selling merch or asking for donations.

What monetization strategies have you used for your products and which ones brought in the most revenue?
What is contextType in React?
Tags: webdev, react, javascript, codenewbie
Published: 2020-10-19 08:45:40

In my previous blog about [Context API](https://dev.to/olenadrugalya/managing-state-with-react-context-4h2h) we went through creating and implementing Context API object for state management. This blog is about another more elegant way of using Context.

## What is contextType?

React 16.6 introduced a new feature for *class-based* components to get access to **Context** without `Context.Consumer` component. To understand better, lets remember how we use `Consumer`:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/rqsh558nwov08d7oxgu1.png)

To use the new way, at the top of the class we declare a static property called **contextType** and set it equal to the full user context:

```
static contextType = MyContext;
```

It has to be written exactly like this - `contextType`- and it has to be *static* (static means this property can be accessed from outside without the need to instantiate an object based on this class first). 

This allows React to automatically connect this class component to **context** and it gives you a new property - `this.context` property, which we can use (for example, we can log it now):
```
console.log(this.context.authenticated);
```
Now we can access our **context** in the places we previously couldn't.  And of course we can you it in the `render()` function: 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/nmei967uqlit9hsgbnbx.png)

This property can be used only in `class-based` components and its recommended to use because its shorter and easier and **context** can be accessed anywhere.
In my next blog we are going to talk about avoiding `context.Consumer` in `functional` components, so stay tuned :) 

If you like to read my blog, you can [buy me coffee!](https://ko-fi.com/olenadrugalya) :)
Formulas for Counting the Number of Words in a Cell or Range in Excel!!
Tags: excelformula, excelformulas
Published: 2020-10-19 11:37:36

---
title: Formulas for Counting the Number of Words in a Cell or Range in Excel!!
published: true
date: 2020-10-19 08:18:20 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/formulas-for-counting-the-number-of-words-in-a-cell-or-range-in-excel/
---

## Excel Formulas for Counting the Number of Words in a Cell or Range:

In this article, we will guide you to learn the simple and easy **Formulas for Counting the Number of Words in a Cell or Range in Excel Office 365**. Get an official version of **MS Excel** from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)
## Formula Syntax:

- The below formula will help to find the number of words in a cell or range.

**{=[SUM](https://geekexcel.com/sum-function/)([IF](https://geekexcel.com/use-if-function-in-microsoft-excel-365-simple-steps/)([LEN](https://geekexcel.com/how-to-use-len-function-in-microsoft-excel-365/)([TRIM](https://geekexcel.com/use-trim-function-in-microsoft-excel-2013-simple-methods/)(A2:A6))=0,0,LEN(TRIM(A2:A6)0-LEN([SUBSTITUTE](https://geekexcel.com/how-to-use-substitute-function-in-microsoft-excel-2013/)(A2:A6,” “,””))+1))}**

### Example:

- In the below screenshot, the input ranges are given in **Column A**.
- Then, enter the given formula in the formula bar.
- After applying the formula, we will get the result in **Cell B2** as shown below.

![Result](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/09/8-2.png)

## Explanations for Syntax:

- **SUM** – This function is used to add the values from a cell. Read more on the [**SUM Function**](https://geekexcel.com/sum-function/).
- **IF** – In Excel, the main purpose of this function is to return one value for a TRUE result and another one for a FALSE result. For more details on **[IF Function](https://geekexcel.com/use-if-function-in-microsoft-excel-365-simple-steps/)**.
- **LEN ** – It will return the length of a text string as the number as a character. Read more of the [**LEN Function**](https://geekexcel.com/how-to-use-len-function-in-microsoft-excel-365/).
- **TRIM ** – The [**TRIM Function**](https://geekexcel.com/use-trim-function-in-microsoft-excel-2013-simple-methods/) helps to remove the extra spaces from the text and no space at the start or end of the text string.
- **SUBSTITUTE** – The Excel [**SUBSTITUTE Function**](https://geekexcel.com/how-to-use-substitute-function-in-microsoft-excel-2013/) can replace the existing text with the new text string from a text string.

## Bottom Line:

From this article, you can know the **formula to count the number of words in a cell or range in Excel Office 365**. Leave your feedback in the **comment** box. Thank you so much for Visiting Our Site!! Continue learning on **[Geek Excel](https://geekexcel.com/)!!**
Monday Express [ Day 4 ]
Tags: javascript, codechallenges, mondayexpress, devcirles
Published: 2020-10-19 08:36:13

---
title: Monday Express [ Day 4 ]
published: true
description: Hello, welcome to the fourth BigO notation challenge where we will be solving a few challenges.
tags: #javascript #codechallenges #mondayexpress #devcirles
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/4488mv01buah66hehf5a.jpg
---
 
Hello, welcome to the fourth BigO notation challenge where we will be solving a few challenges.

Goodmorning again welcome to #mondayexpress, today we will be heading over to our exercisim team where each week I share new challenges to fix. Thank you to Claud and Larry for solving our first challenge

To Join click on the link here [Monday Express](https://teams.exercism.io/teams/4mK15pBixpJyy3K63eJe3RZh/join). If you need more languages covered you can always reach out

Let's Join and solve these challenges.
Formula to Find Position of Nth Occurrence of a Character in Text String!!
Tags: excelformula, excelformulas
Published: 2020-10-19 11:37:44

---
title: Formula to Find Position of Nth Occurrence of a Character in Text String!!
published: true
date: 2020-10-19 08:20:07 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/formula-to-find-position-of-nth-occurrence-of-a-character-in-text-string/
---

## Excel Formula to Find the Position of Nth Occurrence of a Character in Text String:

Here we will explain the details on how to **Formula**   **Find the Position of Nth Occurrence of a Character from a Text String in Excel Office 365**. Get an official version of **MS Excel** from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)
## Formula Syntax:

- For finding the position of Nth occurrence of a character from a text string in Excel, use the below formula.

**=[FIND](https://geekexcel.com/how-to-use-find-function-in-microsoft-excel-365/)([CHAR](https://geekexcel.com/how-to-use-char-function-in-microsoft-excel-365/)(1),[SUBSTITUTE](https://geekexcel.com/how-to-use-substitute-function-in-microsoft-excel-2013/)($A$4,”e”,CHAR(1),4))**

### Example:

- In the below Screenshot, we entered the input text string in **Cell A4.**
- After that, enter the given formula in the selected Formula bar section.
- Finally, the output will be displayed in the selected **cell B4**.

![Result](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/09/4-18.png)

## Explanations for Syntax:

- **FIND** – In Excel, this function is used to find out the one text string inside the other. It also found out the location of the text and returns the position as a number. Read more on[**FIND Function**](https://geekexcel.com/how-to-use-find-function-in-microsoft-excel-365/).
- **CHAR** – It will convert the given number into character. Read more on[**CHAR Function**](https://geekexcel.com/how-to-use-char-function-in-microsoft-excel-365/).
- **SUBSTITUTE** – The main purpose of the [**SUBSTITUTE Function**](https://geekexcel.com/how-to-use-substitute-function-in-microsoft-excel-2013/) is to replace the existing text with the new text string from a text string.

## Closure:

From this article, you can get some clarification on how to use the **formulas for finding the position of the Nth occurrence of a position from a text string in Excel Office 365**. Kindly, drop your worthwhile feedback in the below **comment** section. Thank you so much for Visiting Our Site!! Continue learning on **[Geek Excel](https://geekexcel.com/)!!**

### Read Ahead:

- **[Formulas for Extracting Substring Between Two Texts in Excel 365!!](https://geekexcel.com/formulas-for-extracting-substring-between-two-texts-in-excel-365/)**
- [**Formulas to LOOKUP & SUM the 1st or Matched Values in Row or Column**](https://geekexcel.com/formulas-to-lookup-sum-the-1st-or-matched-values-in-row-or-column/)
Excel Formula to SUM Absolute Value in a Range ~ A Simple Guide!!
Tags: excelformula, excelformulas
Published: 2020-10-19 11:37:27

---
title: Excel Formula to SUM Absolute Value in a Range ~ A Simple Guide!!
published: true
date: 2020-10-19 08:16:18 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formula-to-sum-absolute-value-in-a-range-simple-guide/
---

## Formula to SUM Absolute Value from a Range in Excel:

In this article, we will discuss the **Formula to SUM Absolute Value from a range in Excel Office 365**. Get an official version of **MS Excel** from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)
## Formula Syntax:

- Use the below formula to find the SUM of absolute values from a Range in Excel.

**=SUMIF(A2:A9,”>0″)-SUMIF(A2:A9,”<0″)**

### Example:

- In the below screenshot, we give the input numbers in **Column A**.
- Then, apply the given formula in the selected area as shown below.
- After that, it will show the output in the selected **cell C2**.

![Result](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/09/4-13.png)

## Syntax Explanations:

- **SUMIF** – The main purpose of the SUMIF Function is to return the sum of cells that matches a single condition or criteria. It also used for supporting logical operators  (>,<,<>,=) and wildcards(\*,?) for partial matching.

## Wind-Up:

In this short tutorial, we explain the detailed information on the **Formula to SUM Absolute Values From a Range in Excel Office 365**. If you have any **suggestions** then leave it in the below comment box. Don’t forget to share your worthwhile **feedback.** Thank you so much for Visiting Our Site!! Continue learning on **[Geek Excel](https://geekexcel.com/)!!**

### Read Also:

- **[Excel Formula for Finding Vlookup Value Between Two Numbers!!](https://geekexcel.com/wp-admin/post.php?post=15892&action=edit)**
- **[Formulas for Finding Largest Value Smaller than a Specified Number!!](https://geekexcel.com/wp-admin/post.php?post=15835&action=edit)**
- **[Formulas for Extracting Substring Between Two Texts in Excel 365!!](https://geekexcel.com/wp-admin/post.php?post=15796&action=edit)**
Hacktoberfest: A great opportunity to learn
Tags: hacktoberfest, opensource
Published: 2020-10-19 08:01:31

## What I Learned From Hacktoberfest

<!-- What did you learn that can help others contribute to the project you worked on? What did you learn that can help the users of that project?! -->

Let me be honest here. Everyone of us had that moment in life when we were stupefied by people actually contributing to massive projects. Hacktoberfest helped me to break out of my bubble and become one of those people! Read along if you too want to become one of those people.

Here are the **:stars: :five: magical steps:stars:**:
1. When you visit the project page, you are presented with the README. The name tells you what you have to do to get a decent idea of the repository. 📖
2. Often, you will find links to important documents you need to go through in the README itself. Don't forget to go through these: 📚
 * Code of conduct - how you are supposed to behave in the community
 * Contributing - how you can help improve the project
 * License - permissions to use or own the software
3. Now, you should start reading the code. If you feel that something isn't quite right, open an Issue about it! Instead, if you feel you can fix it, you can even open a Pull Request with your changes! 👨‍💻
4. For huge codebases, it is not possible to read the entire code and keep your sanity intact at the same time. So, you should try looking into Issues created by other people. Do ask them for clarifications if needed. If you understand what they mean, try to query the codebase with relevant keywords using `git grep` or GitHub's Search facility so that you can find out the code that needs your contribution. 👀
5. Try to do your best at adding the changes. You don't have to be perfect. When you are happy, open a Pull Request! There is a team of people who will review your changes. If something needs to be changed, they will inform you kindly. At the end, if everything works out well, your Pull Request will be merged and you will become a contributor! 🎉

This feels like a lot of work? Well, that's what Hacktoberfest is here for! The tee serves as a great motivation to drive you through 4 passes of the 5 magical steps. In fact, if you honestly liked the experience, Hacktoberfest will turn you into a Pull Request beast who will get to produce a yearlong of Pull Requests! Happy Open Sourcing! :smiley:
Can you recommend a book for practical learning of Go?
Tags: discuss, learn, go, firstpost
Published: 2020-10-19 07:59:48

---
title: Can you recommend a book for practical learning of Go?
published: true
description: This post searches for recommendations of books that teach practical Go.
tags: discuss, learn, go, firstpost
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/h59c7596z6si4474lylo.jpg
---

As the title suggests, I am looking for a book that teaches Go in a practical way. That does not mean that it should just be a demo application that the reader copies. In my view a good book that teaches a programming language or framework contains the following:

* Basic setup of the development environment
* Chapters that teach the language/framework with practical examples and that references the original documentation for details
* Hints and best practices for common challanges
* Chapters about Build and Deployment

In addition to that it could also contain:

* Some historic information about the language/framework
* Chapters for advanced features of the language/framework

Of course, soft factors like the author's writing style and the illustrations also play a role.

For me a good example for a practical book that teaches a language or framework is "Two Scoops of Django" by Daniel and Audrey Roy Greenfeld. [Django](https://www.djangoproject.com/) is a python web framework. I bought [the book for Django version 1.8](https://www.feldroy.com/collections/two-scoops-press/products/two-scoops-of-django-1-8) in 2016 and it was exactly what i was looking for.

Now I would really like to learn Go and it works best for me with the combination of a good book and a private side project.

1. So can you recommend a good book to help me learn Go?
1. You may also want to comment on the criteria for a good book about languages and frameworks.
How to use the multi checkbox in reactjs
Published: 2020-10-19 07:58:41

Hii I am facing the issue with the below code, Please anyone help me with this...

this.state = {     
      categories: [
        {id: 1, value: "item 1", description:"Test Categorey 1"},
        {id: 2, value: "item 2", description:"Test Categorey 2"},
        {id: 3, value: "item 3", description:"Test Categorey 3"},
        {id: 4, value: "item 4", description:"Test Categorey 4"}
      ],
     checkedItems: []
    }
  }

handleChangecheck = (event) => {
}

  <form onSubmit={this.handleSubmit}> 

        <Step3 currentStep={this.state.currentStep} handleChange={this.handleChangecheck} items={this.state.categories} 
        checkedItems={this.state.checkedItems}/>

        <br/> <br/> 
        {this.previousButton()} {this.nextButton()} {this.finishButton()}
      </form>

------------------------component 2 ---------------

 {this.props.items.map((d, i) => {
    return <div key={i}>
         <tr>
            <td>{d.value}</td>
             <td>{d.description}</td>
            <td>{<input type="checkbox" value={d.id} onChange={this.props.handleChange} checked={this.props.checkedItems}/>}
  </td>
</tr> 
</div>
})}
How to integrate Instamojo payment gateway in laravel 8 - Step by Step
Tags: laravel, css, html, payment
Published: 2020-10-19 07:48:28

we will show you easy to step by step on how to Instamojo payment gateway integration.

When we take money from someone, by offering services through your website, you need a payment gateway, for this, we use a payment gateway. we see Instamojo payment gateway integration in PHP. like e-commerce, package buys, etc.

**[How to integrate Instamojo payment gateway in laravel 8 - Step by Step](https://www.phpcodingstuff.com/blog/how-to-integrate-instamojo-payment-gateway-in-laravel-8.html)**
A quick look at the forEach method in JavaScript
Tags: javascript, beginners, webdev
Published: 2020-10-19 07:31:16

The forEach array method basically does something _for each_ item in an array. Sounds straight forward...

In the example below we have an array of `goodBoys`. _forEach_ item in the array we _console log_ the item adding a **!** to the end.

```javascript
const goodBoys = ["Spike", "Humphrey", "Snuffles"]

goodBoys.forEach(item => {
  console.log(item + "!")
})
// Spike!
// Humphrey!
// Snuffles!
```

Adding a second _parameter_ to the function like below to get the index of each item in the array.

```javascript
const goodBoys = ["Spike", "Humphrey", "Snuffles"]

goodBoys.forEach((item, index) => {
  console.log(item, index)
})
// Spike 0
// Humphrey 1
// Snuffles 2
```

Note that forEach does not manipulate an array. It simply allows you to do something with each item. In the example below I have created an empty array called newArray. Using **forEach** to loop through each item and **push()** to append each item + **!** into newArray.

```javascript
const goodBoys = ["Spike", "Humphrey", "Snuffles"]
const newArray = []

goodBoys.forEach(item => {
  newArray.push(item + "!")
})
console.log(newArray)
// ['Spike!', 'Humphrey!', 'Sniffles!']
```

## Let's connect
Connect on Twitter - [davidbell_space](https://twitter.com/davidbell_space)
Deployed a migration SmartContract on XinFin Network.
Tags: blockchain, xinfin, smartcontract
Published: 2020-10-19 07:17:44

Today, I have depolyed a small migration smartcontract on XinFin Network under Injected Web3 environment. As the gas fees on XinFin Network is extremely low, I will be deploying more and more SmartContracts on XinFin Network Mainnet.
Link: https://explorer.xinfin.network/tx/0x5567627bf74afcf65cfb884d168d5a4af0f582d38aa6061793440cbe96af29a6

Screenshot of Deployed SmartContract.
![XinFin Remix](https://dev-to-uploads.s3.amazonaws.com/i/0q46a2mncribxn37dbq0.png)
Apprenticeships in software development
Tags: career, webdev, learning, beginners
Published: 2020-10-19 07:08:27

---
title: Apprenticeships in software development
published: true
description: We joke about roles that demand 3 years of experience in brand new tech. Let's do something about it
tags: career, webdev, learning, beginners
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/w3b6gpbb4viebn42a69i.jpeg
---

Here in Australia, if I want to be a sparky, chippy, bricky, or dunny diver, I would start out as an apprentice. As a first year apprentice electrician I would get paid about $40k AUD per year to work and learn on the job.

If I stuck with my learning, I would be looking at an average of about $85k per year, and well north of $130k if I gunned it into senior electron-pushing.

Apprenticeships mean mentorship, training, pathways and practical experience. They exist in society because they are great way to turn fresh-faced kids into seasoned professionals in a safe, fair manner.

So where are all the software developer apprenticeships? If I search for "apprentice software developer", I get:

- advertisements for bootcamps
- "entry" level jobs requiring "previous XX experience"
- aggregator listings for trainee jobs in non-software fields

When I started out writing, I had zero knowledge and an extreme propensity to stick my typing fingers in the proverbial wall socket, just to see what would happen. Fortunately I had some great mentors around me to nudge me towards good practice.

Now I get to build entire tech stacks for startups. How did I pull that off? How do I help more people pull the same trick? I'm not sure, but it sure didn't involve bootcamps or applying to trainee jobs demanding "3+ years in PHP/Wordpress". I'd like to...

1. Pay forward the help I received
2. Spark discussion about apprenticeships in programming

So, I've posted my [~~first job ad for an apprentice~~](https://procuret.com/jobs/apprentice-engineer) (please note - applications for this position are now *closed*). If like me you are fortunate enough to have risen from the fresh-faced to the battle-hardened ranks of keyboard-warriors, I encourage you to do the same.
The Front End: S2-E6 - Louise Ogilvy
Tags: career, podcast, frontend
Published: 2020-10-19 06:55:49

Another episode rolling off the assembly line ready for your sonic enjoyment 🙂

On this episode, [Louise Ogilvy](https://twitter.com/PropellerTech) joins us to talk about getting hired in some exciting emerging tech industries such as agritech. 

Listen to the brand new episode here:

- Apple Podcasts > https://podcasts.apple.com/gb/podcast/the-front-end/id1499349107
- Pocket casts > https://pca.st/osul2zsa
- Spotify > https://open.spotify.com/show/4GuAxptrtY8Es5iHwp09dT
- Anchor > https://anchor.fm/the-front-end

## In this episode

Louise is a founder of recruitment agency Propeller Tech, which was launched to provide recruitment solutions to the startup and early stage growth community.

We talk about how to write a winning CV and work with recruiters to land your dream role.

## Listening direct

Want to listen directly from here?

{% spotify spotify:episode:3pIttTmjTZOLyKRMTOyrJI %}

## Want to be a guest or sponsor the show?

We're always happy to take requests for guests to talk about a range of different development topics from careers to origin stories, learning and professional growth, frameworks and more.

Similarly, we're looking for sponsors to fill promotional slots within the show. 

You can find out more here:

- [Being a guest](https://thefrontendpodcast.site/guests)
- [Sponsorship information](https://thefrontendpodcast.site/sponsorship)

Thanks for listening!