teleren/devto huggingface dataset:
Use Powershell within Hyper Terminal (Windows)
Tags: todayilearned, powershell, hyper
Published: 2020-11-17 09:14:21

How to set up your [Hyper](https://hyper.is/)-terminal environment to use Powershell as default. Only for windows



#### Open ``.hyper`` config file from Hyper terminal
* Go to the menu
* Click <i>edit</i>
* Click <i>Preferences</i>

#### Open ``.hyper`` config file from File Explorer
* Go to ``C:\Users\{user}\AppData\Roaming\Hyper``
* Open ``.hyper`` config in editor 

#### Add Powershell.exe location
* Scroll down to the ``shell`` argument in the ``.hyper`` config.
* Replace the value after ``shell:`` with ``"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"``
* Remove ``--login`` from ``shellArgs:[]``. ``--login`` argument will prevent Powershell from opening.

#### Reload Hyper Terminal
* Close Hyper terminal and restart Hyper
* Or click <i>View</> and click <i>Reload</i> or <i>Full Reload</i>

Powershell should now be running as default in your Hyper terminal
Why Templates are Useful?
Published: 2020-11-17 09:13:55

Utilization of templates has made the process of making a calendar, letter, etc much easier. You can use template to make any type of formal and informal letters. There are tons of free templates available on the internet, you just need to find a suitable template for your work and then start using it.

Making a work plan or schedule becomes a lot easier when you have a <a href="http://calendarinside.com/2021-printable-calendar/">calendar</a> template with you. It is advised to download 2021 printable calendar with the help of which users can make any type of work calendar for each month of the year.

<a href="http://calendarinside.com/april-2021-printable-calendar/">April 2021 Calendar</a>
<a href="http://calendarinside.com/may-2021-printable-calendar/">May 2021 Calendar</a>
<a href="http://calendarinside.com/june-2021-printable-calendar/">June 2021 Calendar</a>
<a href="http://calendarinside.com/july-2021-printable-calendar/">July 2021 Calendar</a>
<a href="http://calendarinside.com/august-2021-printable-calendar/">August 2021 Calendar</a>

Use any of the calendar template to make a work calendar easily now. A calendar is most commonly used to keep a check on days, date, and holidays information. Apart from that, a calendar can be used for managing time and work activities as well. Utilization of the templates has made the process of making letters and calendar a lot easier.

Source: http://freesampletemplate.com/
Are soft skills that important? 
Tags: devops, discuss, ionic, softskills
Published: 2020-11-17 09:08:52

The labor market is constantly changing: new technologies appear, the demand for hybrid professions is growing as a result of a mixture of old specialties and new competencies.

**Soft skills:**
over-professional, universal in relation to the subject area;
demonstrate competence, integrity and maturity of the individual;
reflected in social behavior;
more resilient in a changing world.

For example, communication skills, flexibility of thinking, skills of self-presentation, the art of conducting discussions.

Agile skills are especially needed in leadership positions. Therefore, their presence helps in career advancement and affects earnings.

**What soft skills are important for a developer?**
Today it is not enough to be excellent at writing code. Every developer needs soft skills in his toolbox beyond being a good coder.
Communication
Flexibility
Teamwork
Critical thinking
Creativity and flexibility
Discipline

You can <a href="https://exceed-team.com/hire-ionic-developers#soft-skills">read the list to the end </a> or give your own variants in comments.
What is the ASP.NET life cycle?
Published: 2020-11-17 09:08:32

When a page is requested, it is loaded into the server memory, processed, and sent to the browser. Then it is unloaded from the memory. At each of these steps, methods and events are available, which could be overridden according to the need of the application. In other words, you can write your own code to override the default code.

The Page class creates a hierarchical tree of all the controls on the page. All the components on the page, except the directives, are part of this control tree. You can see the control tree by adding trace= "true" to the page directive. We will cover page directives and tracing under 'directives' and 'event handling'.

The page life cycle phases are:

Initialization

Instantiation of the controls on the page

Restoration and maintenance of the state

Execution of the event handler codes

Page rendering

Understanding the page cycle helps in writing codes for making some specific thing happen at any stage of the page life cycle. It also helps in writing custom controls and initializing them at right time, populate their properties with view-state data and run control behavior code.

Following are the different stages of an The Official Microsoft ASP.NET Site page:

Page request - When The Official Microsoft ASP.NET Site gets a page request, it decides whether to parse and compile the page, or there would be a cached version of the page; accordingly the response is sent.

Starting of page life cycle - At this stage, the Request and Response objects are set. If the request is an old request or post back, the IsPostBack property of the page is set to true. The UICulture property of the page is also set.

Page initialization - At this stage, the controls on the page are assigned unique ID by setting the UniqueID property and the themes are applied. For a new request, postback data is loaded and the control properties are restored to the view-state values.

Page load - At this stage, control properties are set using the view state and control state values.

Validation - Validate method of the validation control is called and on its successful execution, the IsValid property of the page is set to true.

Postback event handling - If the request is a postback (old request), the related event handler is invoked.

Page rendering - At this stage, view state for the page and all controls are saved. The page calls the Render method for each control and the output of rendering is written to the OutputStream class of the Response property of page.

Unload - The rendered page is sent to the client and page properties, such as Response and Request, are unloaded and all cleanup done.

Meet The Experts : https://nareshit.com/asp-net-mvc-online-training/
Nginx Server Security: Nginx Hardening
Tags: security, devops, tutorial
Published: 2020-11-17 08:58:06

Nginx is a lightweight, open-source, robust, high-performance HTTP server and a reverse proxy. It’s the most popular web server, beating Apache and IIS.

While the default configurations are favored by most people, they are not secure enough, and extra tweaks are needed to reinforce the web server.

Here, we will look into some actions you can take to strengthen and improve Nginx server security.

###Disable Any Unwanted Modules

It is advised to disable any modules that are not used as this will decrease the risk of potential attacks by limiting operations.

###Implement SSL Certificate

The SSL certificate is a digital certificate powered by cryptography that encrypts data traffic between your web server and the web browser. SSL certificate also forces your website to use the secure HTTPS protocol over HTTP, which transmits traffic in plain text.

###Exclude Server Headers

Server Headers disclose the Nginx version and it helps the attacker to plan further.

###Resource Control

To counter potential DoS attacks on Nginx it’s possible to set buffer size restrictions for all the clients.

Leaving the server in default configuration is not a secure practice to follow and what we neglect as a low risk might become a possible threat in the future.

*A more detailed version with implementation is published at : https://beaglesecurity.com/blog/article/nginx-server-security.html*
The state of dev.to api v0 - the return
Tags: api, devto, discuss, rest
Published: 2020-11-17 08:11:42

Like in a old previous article of mine

{% link https://dev.to/alfredosalzillo/the-state-of-devto-v0-api-1o2 %}

to prevente the abuse of web scraper on dev.to i want to share what i learn about the dev.to v0 api.

But his time with a [swagger](http://alfredosalzillo.me/dev-to-swagger/)!
How import images from one folder to another folder in React JS?
Tags: react, help
Published: 2020-11-17 08:11:10

I have two folders/ directories within the **src** directory/ folder named **images** and **components**. Within **components** folder I have **CustomerProfile.js** and **CustomerProfile.css** and within **images** I have images.

Now I am using `background: url('./images/customer-profile-bg.jpg');` in the css file to set up  the background image but it's showing an error during compilation - ```./src/components/CustomerProfile.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-4-1!./node_modules/postcss-loader/src??postcss!./src/components/CustomerProfile.css)
Error: Can't resolve './images/customer-profile-bg.jpg' in 'H:\GitTest\FINAL-YEAR-PROJECT-2021\front-end\src\components'```

How to solve this error?
#DevHack: Getting some clarity in your site analytics
Tags: analytics, googleanalytics, webdev
Published: 2020-11-17 14:04:17

---
title: #DevHack: Getting some clarity in your site analytics
published: true
date: 2020-11-17 08:00:40 UTC
tags:
- Analytics
- GoogleAnalytics
- webdev
canonical_url: https://www.eliostruyf.com/devhack-clarity-site-analytics/
---

This weekend I discovered a cool new tool from Microsoft called **Clarity**. The tool allows you to understand how users interact with your website. It can do this by using Google Analytics integration and features like session replays and heatmaps.

> **Link to the site**: [https://clarity.microsoft.com/](https://clarity.microsoft.com/)

I was not looking for such a tool. I just bumped into it. As I run a [online sticker store](https://pimpyourowndevice.com) these days, I thought to give it a try.

## Setting up Clarity

The setup is pretty easy once you logged in. The process is very similar to that of adding Google Analytics to your website. You start by creating a new project and adding the tracking code to your website.

![Clarity setup](https://www.eliostruyf.com/uploads/2020/11/clarity1.png)<figcaption>Clarity setup</figcaption>

On the setup page, you will also find Google Analytics Integration.

![Clarity tracking code + Google Analytics integration](https://www.eliostruyf.com/uploads/2020/11/clarity2.png)<figcaption>Clarity tracking code + Google Analytics integration</figcaption>

## Get some clarity

Clarity is now only running for a day or two, but the project dashboard adds most of the value.

![Clarity dashboard](https://www.eliostruyf.com/uploads/2020/11/clarity3.png)<figcaption>Clarity dashboard</figcaption>

This dashboard is also possible with Google Analytics, but I must say that this UI is so much easier and faster to navigate.

## Recordings and Heatmaps

If you are interested to see how users are interacting with your pages, Clarity provides recordings and heatmaps.

Here is a sample of a recording:

<video width="100%" controls>
  <source src="https://www.eliostruyf.com/uploads/2020/11/clarity5.mp4" type="video/mp4">
</source></video>

The heatmap feature looks as follows:

![Clarity Heatmap](https://www.eliostruyf.com/uploads/2020/11/clarity4.png)<figcaption>Clarity Heatmap</figcaption>

## Pricing

This service is free to use. You only require a Microsoft account to get started.

## Overall

The service does exactly what its name suggests. It gives _clarity_ over your usage analytics.

> **Important**: At the moment of writing this #DevHack, I only used it for two days. I Will see how it evolves, but this looks promising.

 ![](https://www.eliostruyf.com/devhack-clarity-site-analytics/)
Finger spelling Font might not be such a good idea.
Tags: a11y
Published: 2020-11-17 07:22:51

I found this font which is over engineered.

I'm learning BSL (British Sign Language) on a daily basis, my Son who is now 3 is not speaking and so we suspect hearing might be the root cause, when we started learning it was just another language to communicate but it looks like we are going to keep this for life and that's good because BSL is a really useful language to know.

For Christmas we ordered a poster of finger spelling his name, but I find it quite amusing, regular letters are just as readable for most BSL users and so the accessibility side is actually for relitives who don't know how to say his name.

I can imagine building finger spelling into my portfolio website just for fun 👍
Why is Flutter revolutionary?

Tags: flutter
Published: 2020-11-17 07:16:44

like it's said in the title,what are the advantages of Flutter compared to cross-platform technologies such as RN and Weex?

still learning flutter from here：https://www.youtube.com/watch?v=1ukSR1GRtMU&list=PL4cUxeGkcC9jLYyp2Aoh6hcWuxFDX6PBJ&ab_channel=TheNetNinja

or as i may use this app: https://www.vanced.pro/ to learn from youtube
Semantic elements in HTML
Tags: html, webdev
Published: 2020-11-17 07:03:30

**What are Semantic Elements ?**
Semantic elements are elements that have a meaning, which defines the purpose of the elements. 

Semantic elements helps the browser and the developers understand the meaning of content.

It helps the search engine to retrieve information faster.

**Non semantic elements :** These are elements with no meaning, they can contain any kind of information.
For ex : div tag, it explains nothing what kind of information it can contain.

[Semantic elements](https://creativomentes.com/semantic-elements-in-html/) : Elements with meaning.
Here are some of the Semantic elements of HTML5.
header
footer
nav
article
aside
section
summary
Competitive Coding
Tags: beginners, coding, competitive, learn
Published: 2020-11-17 06:43:17

Hello, I am looking for 2 people to practice the a2j ladder question, So if anyone is serious to solve the problem with me you can comment or contact me on WhatsApp at +91 7874627951. We will solve 10 to 15 question daily, it helps us to motivate you and me also
Why Hire A Digital Marketing Agency?
Tags: digitalmarketingagency, digitalmarketing
Published: 2020-11-17 06:41:16

With the current pandemic situation, there has been a sudden change in the way businesses are trying to market themselves. 

Also, business owners need to keep in mind that the algorithm of Google keeps on changing. Thus it is harder for you as a business owner to understand which marketing strategy works best for your business. 

**So what happened to advertisements?**
Earlier, advertisement strategies were all about banners or newsprints. With the advancement of the Internet, there has been a smooth shift in the way businesses now approach their digital marketing strategies. 

They are all shifting to [digital marketing](https://www.propelguru.com/) to increase traffic to their site. From small-scale businesses to multinational companies, everyone knows how to attract customers, and that is through digital marketing strategies. 

People are relying on eCommerce sites to get their necessities completed. No one has the time and energy to go to offline shops. Thus, digital shops need perfect online strategies to catch the eyes of their audience. These are some of the main reasons why digital marketing agencies have advanced a lot over the years. 

However, some companies are reluctant to hire an expert for their business. Let me share some of the fundamental reasons why a business needs to hire a digital marketing agency.

**Cost-effective**
It is hard for businesses, mostly small-scale businesses, to develop an entire team to handle their marketing and analyze it accordingly.

Digital Marketing agencies effectively work on a business budget and develop tools and processes as and when needed. Working with a reliable and reputed digital marketing agency like Propel Guru will help you manage your time and money accordingly.

**Be on the top**
If you have a proper digital marketing strategy, it will help you be way ahead of your competitors. For that, you require appropriate skills and time. However, you don’t want to divert your attention from the core operations of your business. Therefore, it makes sense to hire a digital marketing agency to handle all your digital marketing requirements.

Some of the digital marketing strategies that you can access through a [digital marketing agency](https://www.propelguru.com/) for your business include SEO, email marketing, social media marketing, paid advertisements, and video content.

**Professionalize with Native Ads**
Marketers need to spend their time and resources to know more about organic advertisements. They need to have an ample amount of content to connect with their audience on various media platforms.
Best Resources to Learn Probability and Statistics For Machine Learning in 2021
Tags: machinelearning, datascience
Published: 2020-11-17 06:12:58

In machine learning, knowledge of **probability and statistics is mandatory.** But when it comes to learning, we might feel overwhelmed. Because there are lots of resources available for learning probability and statistics. That’s why I am gonna share some of the **Best Resources to Learn Probability and Statistics For Machine Learning.**

These resources are **courses, textbooks, and tutorials.** So the first resource is-
**[Click to continue reading...](https://www.mltut.com/best-resources-to-learn-probability-and-statistics-for-machine-learning/)**
Hello world!
Tags: firstpost
Published: 2020-11-17 05:58:36

I've been planning on writing this for ... awhile. 

There's a lot of advice around regarding getting into tech suggesting blogging and building your own website. I'm working on the latter.
On the former, I'm finally following the part of the advice that says "just start writing" and "use other services rather than building a blog yourself". So here we are. 

I've been teaching myself python for a few years now on the side, recently transitioned (back) to a stay at home dad with another newborn, so my time is limited, but my goal is to get into a paid tech role in the next year or so.

In the shorter term, I plan to:
  - Have my embryonic personal site hosted on [pythonanywhere](https://toonarmycaptain.pythonanywhere.com).  ✓ 
  - Implement recaptcha on my contact form. 
  - Delegate contact form submissions to async functions. or/and celery, implement rate limiting.
  - Link to this blog from my website.  ✓
  - Add social/github links to site.
  - Manage posts here from [github](github.com)
  - Migrate to hosting at Heroku, AWS, Digital Ocean, or similar. 

My intention is to write about these things. Not that there's not great posts about them already around, but maybe my perspective can help someone. 
I will likely also heavily edit this post. But that's the fun of being a picky writer and maintaining a blog.
10 Women in Tech to Follow on DEV!
Tags: a11y, wecoded, womenintech
Published: 2020-11-17 05:41:26

*I'm passionate about equity, inclusion, and diversity in tech so I compiled a list of some of my favorite women in tech to follow on DEV. I hope others find it useful!*

I used to teach third grade in Oakland, CA. About a year ago, I made a career change and now I'm in tech. One of my goals is to share my story in hopes that it will help and/or inspire others. Another goal of mine is to continue my passion for equity and access in tech education and diversifying the tech space by writing here on DEV, connecting with other like-minded people, and starting a new blog dedicated to these topics. 

With that being said, here are some of my favorite women in tech / diversity in tech / tech education advocates that I find inspiring here on DEV! Feel free to add your favorites or anyone I've missed in the comments!

###Veni Kunche | @venikunche

Connects underrepresented folks in tech to jobs, events, and speaking opportunities, and also help companies hire at http://diversifytech.co.

###Dorene St.Marthe | @dorenestmarthe

Love that she has her own YouTube channel dedicated to documenting her journey from teaching to tech.

###Ada Nduka Oyom | @kolokodess

A women in tech and girls' tech education advocate, with a variety of inspiring articles.

###Nitya Narasimhan | @nitya

A lover of learning and visual storytelling, and a great inspiration and reminder to never stop learning.

###Ashlee M. Boyer | @ashleemboyer

Accessibility advocate and specialist with super helpful articles on accessibility, career advice, and more.


###Cat McGee | @catmcgeecode

Great tips on all things coding interviews and career advice!

###Stephanie Morillo | @radiomorillo

If you're interested in content strategy, developer relations, or writing, tune in for some high-quality content.

###Alex Morton | @alexlsalt

Host of Ladies Code Collective podcast and self-taught developer, writer, and speaker.

###Ali Spittel | @aspittel

Passionate about education, I always enjoy reading her articles and posts, especially on career topics.

###Gracie Gregory | @graciegregory

Last but not least, Gracie from DEV posts super interesting roundup posts on the best posts and comments from the past week.


**Who did I miss? Let me know in the comments below! Feel free to connect with me on [Twitter](https://twitter.com/ruannawrites) and here on DEV, and [check out my blog](https://www.ruannaowens.com/blog) for career tips, tech industry insight, and all things diversity, equity, inclusion in tech and tech for good. :)**

*Thanks to [Katherine Hanlon](https://unsplash.com/@tinymountain?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) for the cover image from Unsplash.*
Creating JS objects that has no prototype
Published: 2020-11-17 05:14:20

We know that All JavaScript objects inherit properties and methods from a prototype.

For example:
**Date** objects inherit from Date.prototype
**Array** objects inherit from Array.prototype

What if you want to create an Object that does not have a prototype?
Here's a neat little way to do it:

``` javascript
const blankObject = Object.create(null)
```

When creating objects using Object.create(), we can pass an object which will be used as the prototype for the newly created object. Alternatively, we can pass _**null**_ which will result in an object being created without a prototype.

I only came across this recently. I think it's pretty cool and I may find some use for it.
I just published my new side project
Tags: discuss, showdev, react, sideprojects
Published: 2020-11-17 04:54:56

Hi guys, I just published my new side project and I'd love to have some feedback :blush:.  I built it in 5 days, focussing only on the essentials. 

I had a breeze making this and getting it ready for a demo in the shortest possible amount of time. This is the link: [https://www.cow-pilot.io/](https://www.cow-pilot.io/). I would really love to hear what you think about it. 

![a cat typing on a computer](https://media.giphy.com/media/aNqEFrYVnsS52/giphy.gif)

It is built with React, hosted on Heroku. It's already a win for me, because in the process I learned about [styled components](https://styled-components.com/), a library that makes styling much, much easier than plain CSS. 

I also learned about [react-beautiful-dnd](https://github.com/atlassian/react-beautiful-dnd), which is an awesome library for drag and drop by the guys who made Trello. They have an eggcellent course on [egghead.io](https://egghead.io/courses/beautiful-and-accessible-drag-and-drop-with-react-beautiful-dnd) to help learn it. I don't like video courses much usually, but this one is really well made and helped build the foundation of my app.