teleren/devto huggingface dataset:
Missing Azure REST APIs. Need not Worry
Tags: azure, azcli, azurerestapi, restfulapi
Published: 2021-05-14 17:10:52

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k7z5c3xj5yvrhavy9kj2.jpeg)

Today I came across a situation where I had to automate the process of creating and setting up an Azure IoT Central solution entirely using Azure REST APIs and found they are not available or not documented as of May 14th, 2021. However, you would definitely find ``AZ CLI`` commands available, finding the REST APIs for the specific action is very simple. 

[Azure IoT Central - AZ CLI commands](https://docs.microsoft.com/en-us/cli/azure/iot/central?view=azure-cli-latest)
[Azure IoT Central - REST API reference](https://docs.microsoft.com/en-us/rest/api/iotcentral/)

This gap might be fixed when you read this article in the future, so I highly recommend to refer the [Azure IoT Central - REST API reference](https://docs.microsoft.com/en-us/rest/api/iotcentral/) to check if the APIs are documented. 

## The Solution - AZ CLI to the rescue

Login to your ``AZ CLI`` and set the default subscription. 

```console
az login
az account set -s <<subscription name or id>>
```

Next fire the respective AZ CLI command that you didn't find the REST API, in my case creating a new Azure IoT Central App with the **--debug** argument.

```console
az iot central app create --name myiotcentral001
                          --resource-group rg_iotcentral
                          --subdomain myiotcentral001
                          --debug
```
This will generate a lot of debugging statements, but give your attention to the lines where it makes a call to the REST API. Refer to the below screenshot. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9lpuk51wq81bxtqplqep.png)
 
 
**So you know, how to find the REST APIs of Azure!**
**Happy Azure!**
I have created Facebook clone in MERN stack
Tags: showdev, react, node, socketio
Published: 2021-05-14 16:51:32

###Hi Developers , I have created facebook clone from ground up and added all basic to advance features.

>I have created this  projects  for learning purpose.

### Backend

1. Nodejs
2. Expressjs
3. Mongodb
4. Socket.io
5. Heroku


### Frontend

1. React
2. Material UI
3. Emoji
4. Icons
5. Google map
6. Socket.io-client
7. Firebase - for image storage


### Features

1. JWT Authentication
2. Create Post
3. Tag Friends
4. Location sharing
5. WebRTC
6. Emoji 
7. Post Seen Privacy 
8. Pagination
9. Send , Accepts , Decline  Friend  Request in realtime
10. Facebook Messenger included
11. Notification in realtime
12. Profile
13. Settings 
14. Dark and Light Mode

and much more to learn and explore....


##Github Backend

{% github harshmangalam/facebook-clone-app-nodejs-server %}


##Github Frontend

{% github harshmangalam/facebook-clone-app-react-client %}
Passing Values to Functions with Arguments
Tags: beginners, javascript, 100daysofcode
Published: 2021-05-14 16:44:43

Day 1/100 of 100 days of code
I'm currently on 48/111 Basic JavaScript of JavaScript Algorithms and Data Structures Cert at FreeCodeCamp.org

Parameters was the highlight for todays lesson. I was stuck with this for a bit. I realize I didn't know enough about the true potential of what a Function can do with it's parameters. I watched a Youtube video that went into more depth on this, since I didn't understand how you can add more information into the Function. The video explain that you can call the Function again with different arguments and the parameters would take on the value of the new arguments.

 ![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oebjpcuspjrr873kjrn6.PNG)
I told the Function to add parameter a with b in the console.log(). Then when I called the Function I just put the arguments that I wanted 4, 6, and BAM! Once the Function added the arguments together the answer comes out as 10! 

Hope you enjoyed my discovery today! Follow me! 
https://github.com/xenochem
https://twitter.com/xenochem
Build UI of Hoshin Kanri X matrix for Policy deployment using React JS
Published: 2021-05-14 16:50:36

I'm struggling to create X matrix in which we can create an Item which automatically generate cells in row or column as well as that cell can be interactive, like i want to do some action on click of that cell for example on single click cell will fill with ⭕, with double click it will fill with filled 🔴 and with three clicks it will fill with 🔺 .
Redux alternative. Redoor new state manger for react, preact, inferno
Tags: javascript, react, redux, statemanager
Published: 2021-05-14 16:45:02

Hello everyone!

I want to introduce you with my [redoor](https://github.com/rubender/redoor) library alternative to redux. My team and I have been successfully using it in various projects for a year now, and now we want to share it with you.

What's new

- size only 3KB

- convenient work with asynchronous code

- have your own events

- works with react, preact, inferno

- debugger on websockets

Examples of projects on redoor: [TODO](https://github.com/rubender/redoor_todo_example) app [Websockets](https://github.com/rubender/react_redoor_ws_example) app
Developing the first game!
Published: 2021-05-14 16:40:43

For the first time, I'm developing a game. It's an arena brawler game based on WoW and dota 2. I don't know if it will be good enough to share with you all. But wish me luck! :)

By the way, I've created a website YammyBest. It (https://yammy.best/en/) is a unique program for creating a menu for a restaurant. If you have a moment, check it out, please.
What is Staff Augmentation and How it can Help Businesses?
Tags: staffaugmentation, outsourcing, webdev, beginners
Published: 2021-05-14 16:38:48

---
title: What is Staff Augmentation and How it can Help Businesses?
published: true
description: Staff augmentation guide for businesses- Learn what is staff augmentation, its benefits, and how businesses can utilize it to extend their app development team.
tags: staffaugmentation, outsourcing, webdev, beginners
cover_image: https://www.techtic.com/wp-content/uploads/2021/03/Staff-Augmentation-Ways-Businesses-Can-Extend-their-Team.png
---

The staff augmentation business model has been transforming across various industries and domains. The reason behind its increasing usage is its highly competent model that bridges the companies’ talent gap with cost-effectiveness, making it a profitable scenario for enterprises looking to scale up with the help of technology.

<h2>What is Staff Augmentation?</h2>

Staff augmentation is a business structure powered by an outsourcing strategy wherein the company’s in-house teams are supported by hiring short-term skilled resources to back them and meet explicit business goals.

Having full-time employees for short-term requirements or only for complex projects leads to high costs to your organization, especially seen in the longer run. Furthermore, the conventional outsourcing procedures involve high risk, and you require a precise screening process to outsource your project successfully.

On the other side, staff augmentation can be easily used for short-term projects and blends a full-time team’s effectiveness with the benefits of outsourcing a project. With all these advantages, staff augmentation services are in high demand within the software development and IT services enablement domains.

<ul>
 	<li>What are the Benefits of Staff Augmentation?
<ul>
 	<li>1. Easy Access to a Skilled Pool of Specialists</li>
 	<li>2. Trims down Hiring Time, Costs and Processes</li>
 	<li>3. Streamline Productivity and Deliverables</li>
 	<li>4. Competently Enable Staff Management</li>
 	<li>5. Helps Target Skills and not Service Providers</li>
 	<li>6. Get Desired Quality on a Decided Budget</li>
</ul>
</li>
 	<li>3 Ways Staff Augmentation Can Work Precisely For Your Business
<ul>
 	<li>1. Find Business Process and Execution Gaps within your Company</li>
 	<li>2. Identify Projects that need Occasional or Temporary Assistance</li>
 	<li>3. Discover Versatile Skill-sets and Use them as an Added Advantage</li>
</ul>

</br>
To know more about all benefits of staff augmentation and how staff augmentation can work precisely for your business then visit <a href="https://www.techtic.com/blog/how-staff-augmentation-helps-businesses/">https://www.techtic.com/blog/how-staff-augmentation-helps-businesses/</a>
Do you really know AdMob? 🤑
Tags: admob, apps
Published: 2021-05-14 16:25:59

---
title: Do you really know AdMob? 🤑
published: true
description: Advices from a user
tags: admob, apps
cover_image: https://cdn.icon-icons.com/icons2/2699/PNG/512/google_admob_logo_icon_169089.png
---

For the last 3 years I´ve been learning AdMob by the hard way 😫... The last strike reduced the earnings by 100% because we didn't complied with its policies. I won't share numbers but it really hit us. That was the moment I decided I needed to take the bull by the horns and learn how to avoid these situations again.

The following list is intended to highlight what you should & shouldn't do with your ads setup and your AdMob account:

- Monitor any ads frequency change and do it slowly so your users get use to it
- Do not request to your users to consume ads unnecessarily
- Unlike other networks like Unity Ads, AdMob doesn't invalidate user's click which means your score will decrease and potentially lead your account to get suspended.
- Next logic step is to implement a mechanism in which you recognize and prevent intended abuse from your users (firebase events & remote config might help you with this)
- Mediation might help you to get better eCPM by leveraging AdMob to handle different networks
- To have a 2nd network implementation in case you got suspended, the hot-swap functionality might let you lose less money until your account is back in the game.
- Align the Ads categories with your app's content rating; make sure you don't have bets or adult ads if your app's rating is for kids.

Another way we increased and improved our ads implementation was working along an apps partner manager from AdMob. These managers will help you land better ad types and formats within your apps. They usually make suggestions about frequency, when, where and how to place better ad units. Also how to avoid common mistakes like accidental clicks and poor visibility. We were reached by one so I am not entirely sure how you can receive help and assistance from them but probably it happens once you reach certain amount of traffic.

The last suggestion is the most obvious and important, read the guidelines and take an AdMob course so you can have deeper knowledge of the entire ecosystem. In the following link you will find the Google´s official guide for AdMob: [https://skillshop.exceedlms.com/student/path/17105-get-started-with-google-admob](https://skillshop.exceedlms.com/student/path/17105-get-started-with-google-admob)

Topics you'll find there are:

- Sign and set up of your AdMob account
- How to create Ad units and which are the formats and types available
- Generate reports
- Use mediation for multiple ad networks
- Set up block controls for different audiences or filter undesired advertisers

At the moment I am trying to launch in-house campaigns so I can advertise my own app inventory for free. Please feel free to suggest more good practices you know. And if you were wondering, the last implemented strategy allowed us to recover partially while improving our potential to continue growing more over time. Fail once, fail twice, fail better 😉...
Community Management with Alex Angel
Tags: devrel, podcast
Published: 2021-05-14 16:25:47

**Theme of the week:**
*Should community managers know how to babysit?*

Community management sometimes feels a lot like babysitting to Alex Angel.

She is the Chief Community Officer at Commsor and she joined our podcast to discuss community management and what community managers do all day. Spoiler: never a day is the same.

We also talked about:
- What counts as a “community”? 
- Why do people join communities and what do they expect? 
- What drives engagement in a community? 
- What’s a community manager’s role? 
- How does a community manager’s daily life look like?
- Which are the characteristics of a good community manager?
- How are developer communities different from non-developer communities?
- What is the business value of communities? 
- How do we measure success?
- What’s a community success story that stands out to her?
- How will communities evolve in the future?

And more!

Listen to this episode to better community managers.
{% spotify spotify:episode:5g8pDSk6C8X2RYnCOFsWYs %}

Let’s talk Data!
This is the graph we discuss with Alex: [Information sources used by desktop developers](https://www.devrelx.com/trends?lightbox=comp-kisqz2fe3__item-kisrbi1b_runtime_dataItem-kisqz2ff?utm_source=devto&utm_medium=AlexAngel&utm_campaign=S03E12).
You can find the [State of the Developer Nation 20th edition](https://www.slashdata.co/free-resources??utm_source=devto&utm_medium=AlexAngel&utm_campaign=S03E12) free report here and register at the [Future Developer Summit](?utm_source=devto&utm_medium=AlexAngel&utm_campaign=S03E12). 

**Alex Angel** is a community expert with 10 years of experience in community and product management, transforming, amplifying, and growing engagement, retention, and community health at Reddit and Nike. She focuses on building places and products that people love and is skilled at creating structure from chaos. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wbo6wh1bs4vdvlrwkw1z.jpg)
How to SSH Azure Linux VM
Tags: azure, linux, cloud
Published: 2021-05-14 16:25:09

I'm glad to write this post about my experience in connecting linux vm. Below are the number of steps to be taken. Keeping this short and simple.
1. Create Linux VM on Azure
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k2xzjlhvppim287f2x6t.PNG)
2. Enable SSH connectivity 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1r20unznqbv91mq6q5m2.PNG)
You must enable port 22 for SSH connectivity and create VM with default options.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tcea6eju7jxq2p0mi4t4.PNG)
3. Download Private Key as prompted. It will be .pem file.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d4jkfhjkikrhotlhzk03.PNG)
4. Once downloaded, VM will be created for you. Go to Virtual Machine-->Settings-->Connect
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9450ylwddz1wd68gjsrm.PNG)

Now here is a twist. People don't know how to use that .pem file downloaded as generally private and public key are contained in id_rsa and id_rsa.pub files. Also when you will open that .pem file that contains --BEGIN RSA PRIVATE KEY-- AND --END RSA PRIVATE KEY--

The most important thing is that you don't need to copy rsa key between --BEGIN RSA PRIVATE KEY-- AND --END RSA PRIVATE KEY--. You just need to pass path of that .pem file in the last command listed above. Ignore other commands.

You can use powershell or Git Bash cli to SSH Linux VM but make sure to download git BASH cli then only SSH command will be supported in powershell. You you can use any other tool/cli if you want. I prefer powershell and git bash.

HERE WE GO. :)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5uomwgor7dcxnufnl1c2.PNG)
My first Unit Testing experience
Tags: womenintech, devjournal, testing
Published: 2021-05-14 16:24:27

These past two weeks has been "testing weeks" at our Time for Tech codeCollab and we all have been writing test for the different parts of our Shiftwork App.

Despite having worked as a developer for a few years in the past, this has been the first time I had properly written a test by myself. Back then I used to hear about their importance in meet-ups and in conferences but the reality was that we never had enough time / interest to put them in place as part of our processes.

Even if they are far more common now than 4 years ago I think that is still a problem in some companies and I have both types of former colleagues and acquaintances: the ones that think that they are not so necessary and the ones who think you can't be a good dev if you cannot write tests.

As I have survived all this time without them I used to consider them as a "nice to have". But this experience has given me a more deeper understanding of their importance and how they actually can make you a better dev. 

Not only I found flaws that might have gone unnoticed (that's what are they for, aren't they!) but they also require you to have a very good knowledge of the app, what should do and what shouldn't and above all understand that the important thing is not making the test to pass. **The final goal is to make sure the test is actually testing what you are meant to test.**

In this case we did the testing after building the app so we had to test the methods we already had in place. Although writing the test before would have been a very good experience too, I'm glad we took this direction as I have much more understanding of the app, its parts and behaviour now than when we started 10 weeks ago, and as a first testing experience for most of us a TDD approach would have been very intimidating. Now I'm ready for it tho!!!

And after this, I'm currently thinking of the next challenge: presenting The Shiftwork App to the public in our demo day. So if you want to support us at our virtual event, **[please Grab a free ticket here!](https://www.tickettailor.com/events/ourtimefortech/519355)** 

Hope to see you there!
🔥 Next JS TypeScript Template Free using Tailwind 2.0, ESLint, Prettier and Husky
Tags: react, webdev, showdev, javascript
Published: 2021-05-14 16:24:24

---
title: 🔥 Next JS TypeScript Template Free using Tailwind 2.0, ESLint, Prettier and Husky
published: true
description: Starter template for Next JS TypeScript with Tailwind, ESLint, Prettier, Husky and Bundle Analyzer. A free and open-source Next JS template hosted on GitHub
tags: react, webdev, showdev, javascript
cover_image: https://creativedesignsguru.com/demo/Nextjs-Boilerplate/assets/images/nextjs-starter-banner.png
---

A Next JS TypeScript template free and open source made with great tooling for developers: Tailwind 2.0, Webpack 5, ESLint, Prettier, Husky and Bundle Analyzer.

The GitHub repo have already reached 100+ stars 🌟.

Built for production with high-quality:

- 🎉 Type checking, TypeScript
- ✏️ Linter, ESLint
- 🛠 Code Formatter, Prettier
- 🦊 SEO friendly
- 🚀 Production-ready

You can find a [NextJS TypeScript Template live demo](https://creativedesignsguru.com/demo/Nextjs-Boilerplate/)

{% github https://github.com/ixartz/Next-js-Boilerplate %}

## Other Next JS Templates and Themes

I've also built others components and UI blocks in React. You can find them on my [Next JS templates](https://creativedesignsguru.com/category/nextjs/) to quickly start your project:

| [Green Nextjs Tailwind Template](https://creativedesignsguru.com/landing-green-modern-nextjs-theme/) | [Indigo Nextjs Landing Page Theme](https://creativedesignsguru.com/landing-indigo-modern-react-theme/) |
| --- | --- |
| [![Green Nextjs Tailwind Template](https://creativedesignsguru.com/assets/images/themes/landing-green-modern-nextjs-theme-xs.png)](https://creativedesignsguru.com/landing-green-modern-nextjs-theme/) | [![Indigo Nextjs Landing Page Theme](https://creativedesignsguru.com/assets/images/themes/landing-indigo-modern-nextjs-theme-xs.png)](https://creativedesignsguru.com/landing-indigo-modern-react-theme/) |

| [Purple Responsive Nextjs Theme](https://creativedesignsguru.com/landing-purple-modern-react-theme/) | [Blue SaaS Nextjs Theme](https://creativedesignsguru.com/landing-blue-modern-react-theme/) |
| --- | --- |
| [![Purple Responsive Nextjs Theme](https://creativedesignsguru.com/assets/images/themes/landing-purple-modern-nextjs-theme-xs.png)](https://creativedesignsguru.com/landing-purple-modern-react-theme/) | [![Blue SaaS Nextjs Theme](https://creativedesignsguru.com/assets/images/themes/landing-blue-modern-nextjs-theme-xs.png)](https://creativedesignsguru.com/landing-blue-modern-react-theme/) |

You can easily customize the themes based on your needs by saving you development and design time.
Privacy focused search engine DuckDuckGo.
Tags: privacy, cybersecurity, cybertips
Published: 2021-05-14 16:21:22

Every move you make, every click you take, someone's watching you online. According to [Statcounter](https://gs.statcounter.com/) (search engine market share of April-May 2021) 92.21% of internet users use the Google search engine. Popular search engines like Google, Yahoo, Bing are tracking and collecting your search behavior and analyzing your searches with their algorithms.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xa7uyfzwlgc71c3lecsa.png)
### How can we avoid or fight with this issue?
Using, DuckDuckGo that is a privacy-focused search engine and the top choice for those who care about protecting their data. DuckDuckGo is a web search engine that doesn't collect your data or track your searches. It doesn't store cookies, search history, nor your IP.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fzaj3naq6hf8hijg67hp.png)
Since it doesn't associate your search queries with your IP address, personalized ads won't follow you around. DuckDuckGo also doesn't offer any personalized results according to your search patterns. Everyone gets the same results for the same search. Using the DuckDuckGo is free at all.

If you want know more please visit [The Corrupt Tech](https://the-corrupt-tech.com/) or refer on dev community @thecorrupttech.
Redux is like "everything a global variable"?
Tags: redux, react, programming
Published: 2021-05-14 16:16:59

After using Redux for a while, it just seems like Redux is saying "Everything will be a global variable", and we send messages or events (action objects) to alter them! That's our paradigm."

Imagine, now, if you write any JavaScript program, Ruby program, Python, Java, C++, and people tell you, "we make everything a global variable and now we send messages to alter them, ok?"

That's a big pool of variables and it can be a total mess.  I still remember I wrote Apple Basic program, and then I learned Pascal, and I thought, "Local Variables", "Self contained", "Encapsulated", "Not contaminate the global scope" -- these are so cool and these is one of the coolest invention of programming.  So Redux is taking that away.

Often I go into a project, and it is selectors after selectors, and then the tons of `createSelector()` to merge selectors into more selectors, and the tons of reducers. I am not even sure what I am programming.