teleren/devto huggingface dataset:
Tagger- AWS tagging tool
Tags: aws, opensource, cloud, devops
Published: 2020-08-27 14:12:42

---
title: Tagger- AWS tagging tool
published: true
description: 
tags: aws, opensource, cloud, devops
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/3jps0o9ztt5vsyeyh2ba.jpg
---


Sick and tired of managing your AWS resource tags manually?
Is your tagging schema too comprehensive to remember each time launching a new EC2 instance?

If you nodded your head during reading the questions above, taggercli might be the right tool for you.


## Taggercli
Let me explain the two main use-cases of taggercli.

Let's imagine you work for a company called MyFantasyCorp.
MyFantasyCorp has multiple AWS accounts linked via an AWS organization.
AWS account A is for all Marketing related projects.
MyFantasyCorp has introduced a new tagging schema. Every AWS resource should be tagged according to the schema.
The tagging schema for account A might look like the following: 
'Department': 'Marketing', 'Owner': 'Bob', 'Project':'CRM'

Unfortunately there are already multiple AWS resources in different regions in account A.
Some have those tags applied, some are completely untagged.
You as an engineer want to apply all tags in the proposed tagging schema.
How does taggercli help with accomplishing this task ?

**1. Visualize the current tagging status**

When running `tagger report create --region AWS_REGION` a html report is created including all supported resources in the specified region (if no region is specified, default region from config is used). 
A list of all the supported resource types can be found [here](https://github.com/IT-EXPERTS-AT/tagger/blob/master/taggercore/README.md).

Each found resource is displayed with multiple **tag diffs**, comparing the current version with the specified tags from the configuration file. 
The image below shows an example:

![Sample report](https://dev-to-uploads.s3.amazonaws.com/i/adnhc41u1u25zm62dwmw.png)

As you can see in the example there are four types of **tag diffs**:
- *NEW*: the tag key and the value is currently not attached to the resource (green key and value)
- *NEW_VALUE*: the tag key is already on the resource but with a different value (green value)
- *EXISTING*: the tag key and value are already on the resource (shown in black)
- *EXISTING_NOT_IN_SCHEMA*: tags which are not specified in the config file but already attached to the resource (shown in gray)

**2. Applying tags to resources**

The report command gives you an idea of how the resources would look after the tagging operation is performed.
You can apply the configured tags by running `tagger tag all --region AWS_REGION`. 
Internal it scans the specified region and global resources (like IAM roles, users). After the scanning is done you can take a look at the found resources. In the final step you are asked to confirm the tagging operation.

Tagging command in action:
{% asciinema 356231 %}

Congratulations, you tagged multiple resources with a single command!

---

We hope this little tool helps you to stay organized within AWS.

Thanks for reading!

---

{% github IT-EXPERTS-AT/tagger %}
Redirecionando domínio do registro A para WWW
Tags: dns, domain, azure, staticwebsite
Published: 2020-08-27 13:54:45

## Cenário

Quero hospedar um site estático na plataforma [Azure Static WebSites](https://docs.microsoft.com/pt-br/azure/static-web-apps/), com custo baixo ou inexistente, e certificado SSL gratuito.
O site foi desenvolvido com [NextJS](https://nextjs.org/) + React.

## Problema 

O Azure não emite certificado SSL para "naked domains", ou seja, domínios sem o "www".

Sendo assim, sou obrigado a utilizar o domínio com "www", para não ter que *comprar* um certificado SSL.

## Solução

A solução que encontrei foi redirecionar o site, do "naked domain", para o subdomínio "WWW".

Não é possível fazer esse redirecionamento nativamente no DNS. Ao menos não no DNS nativo do  [RegistroBr](https://registro.br).

A solução que encontrei, foi utilizar um serviço gratuito de redirecionamento.

Alternativas:
1. [WWWizer - Naked Domain Redirect](http://wwwizer.com/naked-domain-redirect)
2. [Redirect.Name](https://redirect.name/)

Optei pela alternativa 1, dada a simplicidade de implementação. Basta apontar um registro A no meu DNS para o IP deles.

```
Register type: A
Description: @
Points to: 174.129.25.170
```

ATENÇÃO: essa não é uma recomendação. É somente um relato da minha experiência. Não posso garantir a idoneidade das alternativas apresentadas.
A Journey into the wilderness of coding
Tags: css, html, javascript, webdev
Published: 2020-08-27 13:54:14

How is it possible that someone with 3-5 years coding experience under their belt, can be clueless about coding? As much as it may 
be shocking, it’s a reality that consistently stares us daily. Diving deep into trying to figure out what causes such a significant deficiency, reveals that it can only be video tutorials. 

Online tools such as YouTube, and any paid or free video tutorials are meant to provide one with the head start on how to become a better developer, however, they have unfortunately developed themselves into tools that do both good and serious harm for the developer community.They seem to do more harm than good in terms of improving the skill-sets of developers. 

Great artists have always been known to steal, however the exceptional 1% improve upon what they have stolen. Copying and pasting code from video tutorials has left us more vulnerable than if we didn’t even know that the code existed.

Video tutorials seem to be taking away that desire of wanting to grind and learn the basic fundamentals very well, as we are becoming more obsessed with wanting to learn coding at breakneck speed, such that we neglect the process. We can reinvent the teaching methods of how to learn coding, nevertheless, the process will never be made obsolete by time.

The best way to squeeze value from video tutorials is not in the number of tutorials one has paid for, freely downloaded nor watched, it’s in the application of what you have grasped from them, without having to copy and paste every line of code in the tutorials.

Spending countless hours, days, weeks, months and years watching tutorials and reading programming literature without putting into practice the knowledge you have acquired, is just a non-event when it comes to software development. You can only become good when you consistently create products, because perfection of the craft only depends on one’s ability to implement the basic concepts.

Video tutorials used wisely can make one a 10X developer. Furthermore, they also make it easier for anyone to become self-taught and know how to code without necessarily needing to attend a brick and mortar classroom environment.

As a beginner this should be the mentality when one begins their journey, whether self-taught or using video tutorials as a supplement to a brick and mortar coding class. How I wish I could have been better informed when I started my coding journey, maybe I wouldn’t have needed these challenging times to reset myself and have to start learning the basics again.

Trust the Process, nothing beats knowing the basic fundamentals of any programming language. Copying and pasting code without any understanding of the basic fundamentals can only take you as far as you want to believe. Knowing and understanding the basic fundamentals will take you beyond were you think.

Lastly, Cry Cry Cry my beloved numerous hours, days, weeks and months I wasted watching video tutorials without any significant improvement in my coding skills.
How to implement Coding Guidelines
Tags: webdev, tutorial, productivity, codequality
Published: 2020-08-27 13:52:25

Coding Guidelines are a crucial part of making a codebase with multiple contributors consistent, clean, readable and less error prone. But how do you make them easy to follow and how do you make sure they are met from every single person?

The answer to that are text editor / IDE settings, formatters and linters. There are different tools for that, including the most common:

- EditorConfig (Code Editor / IDE Settings)
- Prettier (Formatter)
- ESLint (JavaScript Linter)
- Stylelint (CSS Linter)

## EditorConfig

EditorConfig defines a few basic settings for files in the code editor / IDE. They are applied when you create or save a file.

Sample .editorconfig file:

```
root = true

[*.{js,scss}]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
```

In some code editors / IDEs you need to install a plugin to activate the settings. See <https://editorconfig.org/#download> for details.

## Prettier

Prettier is an opinionated code formatter for HTML, CSS, JavaScript, Markdown and more. It can be set up to format on save, which is very useful.

Note that it is opinionated, so you can't adjust every little detail of the formatter, but the settings that are available are enough for most modern projects. See <https://prettier.io/docs/en/options.html> for details.

## ESLint

ESLint is an unopinionated JavaScript linter, this means that all rules can be adjusted. It checks JavaScript for code errors, but also has the option to check stylistic issues. It is a good option for large or legacy projects where every rule needs to be adjustable.

During setup there are a few questions asked:

![ESLint Setup Questions](https://dev-to-uploads.s3.amazonaws.com/i/zyil7ji8cb524vcn58i1.png)

See <https://eslint.org/> for details.

## Stylelint

Stylelint is an unopinionated CSS linter. Similar to ESLint all rules can be adjusted and it checks CSS for code errors, but also has the option for stylistic issues. The difference to ESLint is that it can't autofix errors.

See <https://stylelint.io/> for details.

## Conclusion

Initially you can always use an EditorConfig and then it is up to you to decide if you want a quick and "all in one" solution with a formatter like Prettier, or if you want to be able to edit every little detail of linters like ESLint and Stylelint (including linting for code errors).
Ignite for Expo Developers
Tags: expo, reactnative, showdev
Published: 2020-08-27 13:37:28


*Update 01.03.2021 : This project is no longer active.*

Having worked on an Expo based app recently we had to deal with push notifications. For most managed Expo applications we are with the limitation of having to use Expo's native notification service. This service is pretty decent. And has no issues in my opinion. The problem we faced is not having a proper way to schedule notifications for the users. So we ended up building a simple tool that helped to that. 

Ignite, does the very thing. It allows you to manage your Device tokens, Also customer profiles if you wish. For the moment, we are able to push out Bulk notifications to all registered users. And we are rolling out the segmentation APIs shortly where you will be given the ability to tag and categorize the users and their devices so you can push out tailored notification messages.

Registering a device token can be done the following way.

```
POST /api/v1/devices?api_token={api_token}

// Request format and rules
{
	token: string|required|unique,
	type: string|optional|enum[ios,android],
	app_version: numeric|optional,
	os_version: numeric|optional,
	contact_id: string|optional
}

```

We have the provision to optionally give it a contact_id and populate the contact profile in a subsequent request if required.

Creating your notifications are can be done in a few clicks,

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/v7t20lbzdai762z95afq.png)

[API documentation can be found here](https://www.notion.so/gayanhewa/API-Documentation-d7d0994ab9c644a38e70033b163c3d2b)

[You can signup here](https://ignite.pulseloyalty.com)
Top 15 Angular Component Libraries In 2020
Tags: angular, libraries, mobileapps
Published: 2020-08-27 13:36:02

Angular is considered as one of the most simple and popular front end framework around the globe. Created by Google and initially released 5 years ago, this open-source programming tool has won the hearts of developers from all over the world. With strong community support and rich functionality, Angular allows developers to provide the seamless user experience and consistency over all devices and platforms from tablet to more. Moreover, either beginners or experienced- can access various Angular advantages. It allows developers to use components in a manner that the UI remains separated as a standalone entity and reusable parts. Here you’ll see the top 15 Angular components to produce a great software solution easily and rapidly.

#Top 15 Angular Component Libraries In 2020
**1. Angular Material-**
Angular Material components was earlier known as Material2 and is a component library that implements the material design of Google. It was built using TypeScript and Angular. These UI components follow the best practices of the Angular Developer when composing the Angular code. So as to generate various templates from the command line, you can rapidly add a new feature. Various components are added like Badge for element status, Tree for data rendering and Bottom-Sheet service for interaction with panel display.

Some of the popular angular components that you can use for angular project are-

* Progress Spinner, Icon, Chips, Buttons, Progress Bar
* Create popups like  Dialog, Tooltip, Snackbar,
* Control forms like Datepicker, Checkbox, AutoComplete, Form field, Radio button, Input, Slider, Select and Slide Toggle.
* Layout Components like Grid List, Cars, Tabs, Stepper, List, Expansion Panel
* ToolBar menu, Side Navigation and the navigation bar
Data table format

**2. NG Bootstrap-**
It offers Bootstrap 4 components for Angular and thusly it has replaced Angular-UI bootstrap. It doesn’t have any external dependencies while it offers high testing coverage. Using appropriate HTML elements with aria attributes, here all its widgets will become accessible. Here is a list of bootstrap components that can be used are-

* Typehead
* Datepicker
* Tooltip
* Popover
* Modal
* Carousel

**3. NG Lightning-**
The main goal of introducing NG Lightning library is to provide directives and native components for the Salesforce Lightning Design System. When you implement this component in your angular app, it significantly impacts on flexibility and performance also.  The list of NG-Lightning components is as follows-  

* Breadcrumbs
* Buttons
* Badges
* Icons
* Datatables
* Ratings
* Lookups
* Spinners
4. NGX Bootstrap-

Know more at- [https://solaceinfotech.com/blog/top-15-angular-component-libraries-in-2020/]
It is used to deploy your site in netlify
Tags: actionshackathon
Published: 2020-08-27 13:33:26

[Instructions]: # (To submit to the GitHub Actions x DEV Hackathon, please fill out all sections.)


### My Workflow
This is used to deploy your project folder in a netlify account
For this you need to add your Auth_token from netlify in secrects in your project file 


### Submission Category: 

I choose this category 'Wacky Wildcards' for this hackathon..


### Yaml File or Link to Code

https://github.com/LMAS-3009/try2/blob/master/.github/workflows/main.yml


### Info
I think this may works or not but just tried..
I don't know how to build any workflow.. I tried my level best to try this simple one
Making git more productive with aliases
Tags: bash, beginners, linux
Published: 2020-08-27 13:25:17

## What is an alias
This would be a quick tutorial. If you ever checked your `.bashrc` file probably saw the `alias` keyword. 
Creating alias in bash is like creating shortcut for command so instead of typing `git status` you can type `gs` and run the same command.

## Creating new alias
Let's create an alias for `git status` command.

1. Open your `.bashrc` file, you can use any text editor
2. Add `alias gs="git status"` to end of the file
   - Let's inspect our code
   - `alias` - keyword
   - `gs` - shortcut
   - `git status` - full command 

## Example configuration that i use 
```bash
alias gs="git status"
alias ga="git add -A"
alias gp="git push"
```

## Ending
You can use aliases for every command. So be creative. If you find yourself typing the same command over and over again try making it shorter.
Thanks for reading this post.
Findfacts Innovation Centre Pvt ltd
Published: 2020-08-27 13:17:27

Sales Force Automation, Sales Force Automation Tools on Mobile Apps, Sales Automation crm, Customer Contact Management , Sales & Marketing Automation, Field Force Automation, Service Team Automation, Field Installation & Service Solution, Retail Chain Operation, Promoters & Freelancer Monitoring Solutions, Field Asset Tracking & Audit solution, KYC ( Know Your Customer ) , Field Collection Solution, Field Address Verification Solution, Retail / Mass Distribution Solutions, B2B Sales /Direct Sales Solution, SME/MSME sales & Service solutions, Lead & Funnel Management solutions, Sales Force Effectiveness solutions , Tele calling solutions

https://www.findfacts.in/

Sales Automation Company,
Sales force Automation Company,
Sales CRM Company,
Sales force Management Company,
Sales automation tools,
Sales force company
Maybe this useless workflow isn’t so useless after all?
Tags: actionshackathon, github, opensource
Published: 2020-08-27 13:05:53

---
title: Maybe this useless workflow isn’t so useless after all?
published: yes
description: My submission to the GitHub Actions x DEV Hackathon!
tags: actionshackathon, github, opensource
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/pn26y7tu8r8k48nysvcw.png
---

### My Workflow

You probably know about The Most Useless Machine:

{% youtube Z86V_ICUCD4 %}

Let’s build it in GitHub Actions!

![When I add the useless label to a PR or an issue, GitHub Actions removes it](https://dev-to-uploads.s3.amazonaws.com/i/pn26y7tu8r8k48nysvcw.png)

### Submission Category: 

Wacky Wildcards

### Yaml File or Link to Code

`.github/workflows/useless.yml`

```yml
name: Useless
on:
  issues:
    types: [labeled]
  pull_request:
    types: [labeled]
jobs:
  useless:
    if: github.event.label.name == 'useless'
    runs-on: ubuntu-latest
    steps:
      - name: Unlabel
        run: |
          curl -X DELETE "https://api.github.com/repos/$GITHUB_REPOSITORY/issues/${{ github.event.issue.number || github.event.pull_request.number }}/labels/useless?access_token=${{ secrets.GITHUB_TOKEN }}"
```

### Additional Resources / Info

I did not build this workflow out of boredom, but out of neccessity. Sometimes I want to run a well-defined, manually-triggered job on a PR.

For example, if a test failed because [I forgot to update the test snapshots](https://jestjs.io/docs/en/snapshot-testing), I might want to ask GitHub Actions to go ahead and update the snapshot file, and then commit it to my PR for me.

Or maybe I want to run the end-to-end browser-based test suite which can cost money. Therefore, running them on every single push may not be economically efficient. I want to run them just before merging to the main branch, as a [pre-flight build](https://www.yegor256.com/2014/07/21/read-only-master-branch.html#pre-flight-builds).

And sometimes, situations may require me to run it multiple times. I want to be able to do that without having to push a new commit to trigger it. So, I thought it might be a good idea to designate a label to trigger GitHub Actions, and have it immediately unlabel the PR, so that it is ready for the next trigger.

Maybe this useless workflow isn’t so useless after all. Feel free to use this as a template for your workflows.
Search for files on Github
Tags: webdev, beginners, github
Published: 2020-08-27 13:03:53

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/0gbela97cu791nic4nv5.png)

**Thanks for reading 💙**  
Follow **@codedrops.tech** for daily posts.  
[Instagram](https://www.instagram.com/codedrops.tech/) ● [Facebook](https://www.facebook.com/codedrops.tech/)

Micro Learning ● Web Development ● Javascript ● MERN stack  
**www.codedrops.tech**
How to Use Excel ATAN Function in Office 365? – (with Examples)
Tags: excelatanfunctionino, excelfunctions
Published: 2020-08-28 12:20:42

---
title: How to Use Excel ATAN Function in Office 365? – (with Examples)
published: true
date: 2020-08-27 12:32:30 UTC
tags: ExcelATANFunctioninO,ExcelFunctions
canonical_url: https://geekexcel.com/how-to-use-excel-atan-function-in-office-365-with-examples/
---

## Excel ATAN Function:

![ATAN Function](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/08/ATAN-Function.png)<figcaption id="caption-attachment-12795">ATAN Function</figcaption>

Here, we are going to see how to use the **Excel ATAN Function in Office 365** with its syntax, explanation, and examples. Let’s step into this article!! 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)



## **ATAN Function – Explanation:**

- This function **returns the inverse tangent of a given number in radians**.
- The output radian value lies between the (-∞ to ∞) to the corresponding input value.
- For example, **ATAN(5)** returns the output value as **1.373**

## **Syntax:**

**=ATAN(number)**

### Parameter Description:

**Number** – The input value to get the **inverse**  **tangent** number.

### Note:

- If the argument is a non-numeric value ( **letters or special characters** ) and then it will return **#VALUE!** Error.

## **Examples:**

Here are the examples for your reference.

### Example 1:

- Refer to the below example image.
- The input numbers are given in **Column A** and its corresponding radian values are listed in **Column B**.

![Example 1](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/08/1-87.png)<figcaption id="caption-attachment-12790">Example 1</figcaption>

### Example 2:

- If the argument is a non-numeric value ( **letters or special characters** ) and then it will return **#VALUE!** Error.

![Example 2](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/08/2-73.png)<figcaption id="caption-attachment-12793">Example 2</figcaption>

### Example 3:

- You can also convert the output from radians to degrees by using the following formulas.

**=ATAN(number)\*180/PI()** or **=DEGREES(ATAN(number))**

![Example 3](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/08/3-47.png)<figcaption id="caption-attachment-12794">Example 3</figcaption>

## **Summary:**

In the above article, you can learn the usage of **Excel ATAN Function in Office 365** with its syntax, explanation, and examples. Give your **feedback** in the comment section. Thanks for visiting **[Geek Excel.](https://geekexcel.com/)** Keep Learning!!

### Keep Reading:

- [How to Use Excel CEILING Function in Office 365? – {with Examples}](https://geekexcel.com/how-to-use-excel-ceiling-function-in-office-365-with-examples/)
- [How to Use Excel TRUNC Function in Office 365? – (with Examples)](https://geekexcel.com/how-to-use-excel-trunc-function-in-office-365-with-examples/)
Best way to learn new things with the authors of The Pragmatic Programmer
Tags: career, books, programming
Published: 2020-08-27 12:22:46

The Pragmatic Programmer is one of the best selling books for software developers but also one of the most influential ones. 20 years after the first edition Andy Hunt and Dave Thomas have shared what they think has changed in the industry, what has stayed the same, and also what they think is the best way to learn new things.

According to the others we are just coming to realize the impact that we, as software developers can make in the world.

[Anniversary Edition of The Pragmatic Programmer](https://gotopia.tech/bookclub/episodes/pragmatic-programmer-in-2020)