teleren/devto huggingface dataset:
Had to use the windows cmd...
Tags: windows, cmd, cli, batch
Published: 2020-11-24 06:51:21

Yesterday, i had to use the windows cmd for a while. Yes, you are right dear reader... that was so wrong. 

![Alt text of image](https://media.giphy.com/media/BjdOyPMJK3DMs/giphy.gif)

:sweat_smile: I don't want to do this again. But anyway, here are my notes on it:


| Item          | Description   |
| ------------- |:-------------:|
| f7 | Brings up the command history of your cmd session |
| ;,space,tab,= | Those are the standard delimiters. Those are basicly whitespace |
| doskey | Sets an alias for a command. "doskey alias=OldCommand"
| Rem, ::       | Starts a comment |
| move | moves stuff |
| ren | renames stuff | 
| copy | copies stuff |
| del | deletes stuff | 
| RD, RMDIR  | deletes Folders |
| net use | lists all mapped network drives |
| net use a: <UNC Path> | maps the network drive to the letter |
| net use a: /delete | deletes the mapped drive|


If you want to delete the whole folder recursive the statement has to look like this: 

```batch
rmdir folderName /S /Q 
```
14 Best Machine Learning Courses Online in 2021
Tags: machinelearning, datascience, career
Published: 2020-11-24 06:52:55

Are you looking for the **best machine learning courses online?.** But confused because of so many courses available online. 

So, don’t worry. Your search will end after reading this article. This article has been written after performing a lot of research on various available Online Courses On Machine Learning. So, give your few minutes to this article and find the best machine learning online course for you.

Machine Learning is very **powerful and popular.** Many people are shifting their careers into the ML field.

The reason behind the popularity of Machine Learning is its power to make useless data into more meaningful data.

Machine Learning models allow predicting various outcomes from the data.

There are **huge demands and high salaries** in the Machine Learning field. That is the reason a lot of people are shifting their careers into Machine Learning.

###**But, the next question that comes is where to begin and from where to learn?**

Right?

So, there are various resources that are available like **books, online courses, YouTube videos, Some Institutions, and many more.**

And then the next question comes, **“Which resource is Best for Machine Learning?”**

The answer depends upon various factors like- Your availability means if you are a working person, then it’s difficult to join any Institution.

So, the easiest way to learn Machine Learning is via Online courses. Online courses allow you to learn according to your pace.

That's why I have selected some of the best machine learning courses online.

Before I will discuss the Best Online Courses On Machine Learning, I would like to tell you What is the criteria to call these courses “Best”.

##**Criteria-**
1. Rating of these Courses.
2. Coverage of Machine Learning Topics.
3. Engaging trainer and Interesting lectures.
4. Number of Students Benefitted.
5. Good Reviews from various aggregators and forums.

So, without wasting your time, let’s start finding the best machine learning online courses for you.
**[Click to continue reading...](https://www.mltut.com/best-online-courses-on-machine-learning-you-must-know/#1-machine-learning-coursera)**
Delivering Happiness
Tags: books, startup, entrepreneur
Published: 2020-11-24 06:52:48


Who should read this book?

-Everyone who is considering starting a business.
-Everyone who is concerned with changing the world and being happy.
-Everyone who wants to know how making profits, extraordinary customer service, and happiness all go hand-in-hand.

What is it about?

The central theme of the book is literally delivering happiness as a business by living a life of passion and purpose.

Delivering Happiness details the story of Tony Hsieh and his company Zappos, an example of how thinking long term and following your passions first can lead to not just profits, but a happy life for you, your employees, and customers.

The book provides an alternative approach to a corporate culture that focuses on the simple concept of making people around you happy, and by doing so, increasing your own happiness and company productivity.

A few key points asserted in the book:
1. It is important to discover the one thing you are passionate about, and conversely, what you don’t want to do

2. Take things slow. Growing fast can be counterproductive if the wrong people are hired

3.The success of your company is closely tied to your culture, so focus on creating one that you believe in

4.Strive to be always learning, and make it a priority for your employees as well

5.Choose one thing you want your organization to be the best at and focus on that thing

6. Don’t focus on building buzz around your brand, but rather build engagement and trust by treating people well

7.Have a vision of a higher purpose so that your ultimate outcome will be happiness

In conclusion, The key message in this book is that company culture and customer service are the keys to a successful business. Ultimately, happiness is what everyone is looking for in life, and a company can be successful by finding ways to make its employees, customers, and partners happy. This is achieved through extraordinary customer service and a company culture that is unique, one that employees believe in.
Coursera: Statistics with R Specialization
Tags: r, datascience, statistics, education
Published: 2020-11-24 06:43:43

It covers several areas of statistics. The courses do not care about purely mathematical details like formula derivation and strict proofs. The main focus of the specialisation is an analysis of large datasets with programmatic methods. 

## For beginners: 
R is not properly introduced, so it might be hard to grasp it without prior programming experience. No prior mathematical background is required.

## For experienced:
It is a lovely way to update personal analytical skills. The final peer-reviewed reports might be unexpected complications since they require a sufficient amount of academic writing.

[Statistics with R Specialization on Coursera](https://www.coursera.org/specializations/statistics?)
Disclosure SERP Results with AvesAPI
Tags: seo, serpapi, serp, ranktracker
Published: 2020-11-24 06:38:19

If your are a website owner, or making SEO for your client's website, you should regularly check SERP (search engine result page) data. According to SERP results you may need to take actions. But what if you need to check thousands of keywords or more? Of course checking this process is nearly impossible.  
At that point, you need 3rd party services to pull this data for you, to help you move forward the important task of analyzing and learning what it tells.

[AvesAPI](https://avesapi.com) offers massive amount of SERP data for you so that you can easily check SERP results of thousands or event millions of keywords without facing any blocking mechanism.

AvesAPI lets you to scrape Google search results in an easy and efficiently. Our [SERP API](https://avesapi.com) retrieves the top 100 organic and ads search results for a specific search phrase by country, device, language and location.

### Who should use it?
The best part of the SERP API is that human search behavior is imitated by the data. What that means is that you get deeper, more valuable results that got beyond classic search and paid returned data.

### Key Features
SERP API is easy to use and works fast. But it has many features as well:

Our SERP API is highly scalable and can work with low or high volumes of data calls.
It’s backed by a powerful infrastructure that returns results quickly.

You can integrate our data with any application you want because the results return as JSON or HTML.

You only are billed for what you use and you only pay for successful results.

Highly accurate SERP data that returns results in a manner that looks like what a typical human user would search and see.

The API has an uptime of nearly 100 percent over the past 12 months.

Our API is location-based and returns geolocated SERP results for accuracy.

HTTPS encryption and security.

### Pricing
When it comes to price and performance, AvesAPI is the best option between its competitors. AvesAPI offers 1M credits for only $750 which is the best price in the market. You can check 1M keywords by this way.
Getting things done. Or, "how to solve problems".
Tags: productivity, organization
Published: 2020-11-24 06:29:31

---
published: true
title: 'Getting things done. Or, "how to solve problems".'
cover_image:
description: 'how to solve problems and be productive'
tags: [productivity, organization]
series:
canonical_url:
---

It's very easy for me to set myself tasks. Build that website. Write a blog post. Clean the house. Learn about that library or a new technology. Get a degree. Get the outside of the house ready for winter. Find a job. So easy. There, done.

Or...not?

One of the problems with this way of (not) planning is that it sets tasks or identifies problems, without a map to to a solution.

#Breaking tasks down
One of the things I've learned to do deliberately since I've been coding is to break tasks down into their component elements. I've found myself doing this away from the keyboard, and it's been very, very helpful, particularly when getting motivated to tackle tasks I'm unlikely to complete in one session. Like the mountain of laundry that existed yesterday:

- find place for baby clothes
- sort into piles
- think about ironing (then decide to put this off/not)
- put away parents clothes
- put away kids clothes
- figure out organisation in spot for baby clothes
- put away baby clothes
- iron clothes (or not)

Recently for me this involved making and posting [my first blog entry](https://dev.to/toonarmycaptain/hello-world-ke6) last week, and breaking down "make incomplete site presentable and deploy":

- point site blog link at this blog
- clean up CSS
- remove "content coming soon" from home/landing and projects pages
- bare bones projects content with links, minimal explanation from GitHub descriptions.
- fix/insert titles on subpages
- deploy at [pythonanywhere.com/toonarmycaptain](https://toonarmycaptain.pythonanywhere.com/home/)

This skill is really important to a lot of things, from isolating bugs by breaking down the possible causes, to writing simple and maintainable code by following the adage to keep functions/classes to one purpose. Of course, it's also helpful when attacking large projects. :)
|CSS| CSS: Other Assorted Useful CSS Properties
Tags: javascript, html, css, webdev
Published: 2020-11-24 06:27:36

---
title: |CSS| CSS: Other Assorted Useful CSS Properties
published: true
description: 
tags: javascript, html, css, webdev
//cover_image: https://direct_url_to_image.jpg
---



              -Opacity and The Alpha Channel
              -The Position Property
              -CSS Transitions
       
     
            
         
###Opacity and The Alpha Channel
rgba(0, 209, 112, 0.5) the last one 0.5 is known as the alpha channel. The alpha channel determines the transparency of the color. The alpha channel values are from 0 - 1 not 0 - 255. 

Opacity is a property that is set on an element that will govern the entire elements. Opacity is the degree to which content behind an element is hidden and is the opposite of transparency. 


###The Position Property
The position property sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements. 


The property values can use things like static, relative, absolute, fixed and sticky. 


###CSS Transitions

transition is made up of the property name, duration, timing function and delay.
|CSS| CSS: The Box Model
Tags: javascript, html, css, webdev
Published: 2020-11-24 06:27:15

---
title: |CSS| CSS: The Box Model 
published: true
description: 
tags: javascript, html, css, webdev
//cover_image: https://direct_url_to_image.jpg
---


           

              -Box Model: Width and Height 
              -Box Model: Border and Border-Radius
              -Box-Model: Padding
              -Box-Model: Margin
              -The Display Property 
              -CSS Units Revisited
              -CSS Units: ems
              -CSS Units: rems
           
###Box Model: Width and Height 
Everything in CSS is a box. Those boxes have different properties. The browser treats everything on a web page as a box, even though the item may not look like a box. 

The width of the CSS property sets an elements width. 
The height of the CSS property sets an elements height. 
 
div {
width: 200px; 
height: 200px; 
} 

###Box Model: Border and Border-Radius
Borders are important because they can make clear what certain things do, or bring attention to certain elements. Borders can change when they are interacted with. 

####Border Properties 

#####Border-width 
Controls the thickness of the border

#####Border-Color
Controls the color of the border

#####Border-Style
Controls the line style - dashed, solid 


###Box-Model: Padding
Padding Properties 
####Individual properties 
Padding-Left 
Padding-Right 
Padding-Bottom
Padding-Top 
shorthand properties is where you can set all four
sides at once. 



###Box-Model: Margin
Margin is on the outside and is the space between the elements while padding is between the border on the inside of an element and its content area. 


###The Display Property 

####Inline 
Width and height are ignored. Margin and padding push elements away horizontally but not vertically. 

####Block
Block elements break the flow of a document. Width, Height, Margin and Padding are respected. 

####Inline-Block
Behaved like an inline element except Width, Height, Margin and Padding are respected. 

###CSS Units Revisited
####Relative Units
       -em  
       -rem  
       -vh
       -vw
       -%  percentages are always relative to some other value. 
       
####Absolute Units
        -px
        -pt
        -cm
        -in
        -mm

###CSS Units: ems
em's are relative units with font-size, 1em equals the font-size of the parent. 2em's is twitch the font-size of the parent. 

###CSS Units: rems
           
rem  is relevant to the root html element's font-size. Often easier to work with. 
If the root font-size is 20px, 1 rem is always 20px, 2rem is always 40px.
My first Dev Job!
Tags: firstyearincode, codenewbie, startup
Published: 2020-11-24 05:39:07

_**My First Dev Job, Woo!**_

My first developer job has been one big roller coaster ride! I met my boss through an Agile Meetup about three weeks before I graduated DeltaV, the code school I attended. We also had a mutual connection through my teacher at DeltaV which I believe helped in the hiring process. The process of getting my job started off with a few back and forth messages on LinkedIn and then exchanging emails and moving onto a short get to know each other meeting. Which I would compare closely to a behavioral interview with questions such as: 

- Tell me about yourself?
- What are you looking for in a company?
- Have you looked into our company? 

That interview went very well and we had a few other meetings that included meeting the team and seeing if we were a good fit for each other. STRATAFOLIO did not have a technical interview or whiteboard interview which was nice. The next step was the offer, I was taught throughout boot camp to negotiate for a higher salary, more benefits like paid time off and vacation, or something that seemed fitting for that company and role. I also had a lot of other help through my friends in a tech group I am involved in called _Virtual Coffee_.

**Why I Chose to Work for a Small Start-Up**

 I chose to work at this startup because I loved the opportunity to learn and challenge myself. Every day is such a challenge and I get to learn so much about our product, about customer priorities, and about how to problem-solve. 

I have been at my job for four months now and the amount I have learned in such a short amount of time astounding. I have been learning how to debug my code and dig in deeper when problems aren’t immediately apparent, learning how to speak about my code, and what it does more effectively (although this is very much a work in progress), and most of all I am learning how to navigate a new code base and the tricks to be more efficient. 

I look forward to the future and looking back one the next year of my development journey. 

Some questions for the community: 

What was your first year of software development like? 

How do you navigate a new code base, a large one at that? 

What tips do you have for working at a startup?
Rent house with my smartcontract on XDC Network
Tags: blockchain, xinfin, xdc
Published: 2020-11-24 05:17:55

The development environment used is XinFin Remix. The program is compiled through this platform and released into a contract. In addition, XinPay is used to create a wallet for the actual test of this experiment.

At the beginning of the program, the items of the contract renewal record are announced, including the address of the tenant, the address of the borrower, the rental time, the price per unit time, whether to rent other items, and whether to purchase insurance.

Next is to deploy the current menu information, and first set the data and information to be recorded as initial values.

The next step is to record the various data information entered by the user and determine whether the remaining balance of the borrower is sufficient to pay the fee. If the borrower has too little balance, it will refuse to rent.

Finally, after the end of the lease, the tenant can withdraw the rent. If the non-tenant account cannot be withdrawn, only the tenant can withdraw the rent.
JavaScript some() method
Tags: javascript
Published: 2020-11-24 05:06:10

Did you ever need to know if one of the elements in an array passed a test?

This is where the `some()` method comes in handy.

Let's keep using our product array, but let's add a discounted product.

We then want to test if some of our products are discounted.

## Using the Javascript some() method

Let's start by creating an array of items.

```js
const items = [
  { name: 'T-shirt plain', price: 9, discount: true },
  { name: 'T-shirt print', price: 20 },
  { name: 'Jeans', price: 30 },
  { name: 'Cap', price: 5 }
];
```

Now let's use the `some()` method to test if we have a discounted product in our array.

```js
const discounted = items.some(item => {
  return item.discount;
});

// Returns true
```

If we now remove the discount on our item, it will return false.

Another use case might be that you need to check if all people are under a certain age.

```js
const users = [
  { name: 'Bob', age: 60 },
  { name: 'Sarah', age: 20 },
  { name: 'Billy', age: 18 },
];

const ageRestriction = users.some(user => {
  return user.age <= 18;
});

// Returns true
```

This return true, because billy is under the age of 18!

The syntax for some is as follows:

```js
const new = original.some(function(value));
```

Inside our function, we can check on certain properties the value has.

### Thank you for reading, and let's connect!

Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on [Facebook](https://www.facebook.com/DailyDevTipsBlog) or [Twitter](https://twitter.com/DailyDevTips1)
My tutorials on other platforms
Tags: tutorial, writing, career
Published: 2020-11-24 04:47:34

I started sharing my technical learning specifically on software development through this platform. Later, I got the opportunity to write for Auth0 and PolyGlotDeveloper. You can find those articles in the links below. 

1. [Inheritance And Composition In A PHP Application](https://www.thepolyglotdeveloper.com/2018/09/inheritance-composition-php-application/)
2. [Creating Beautiful Apps with Angular Material](https://auth0.com/blog/creating-beautiful-apps-with-angular-material/)




Thank you for checking them up.  Let’s exploring to become better practitioners.
Reusing Images: Publishing to  a registry
Tags: docker, tutorial, devops, beginners
Published: 2020-11-24 04:24:31

Ok, so here's we're going to learn how to reuse images. We often follow the principle of _build once deploy anywhere_ and for that we need to maintain our images in a repository for later reuse.

For this tutorial, we'll use amazon ECR. I've logged into Amazon AWS console and searched for ECR.

## Create a repository
The best way to create a repository is probably to follow this https://docs.aws.amazon.com/AmazonECR/latest/userguide/what-is-ecr.html. It even describes how to create an IAM user and use that to manage the ECR interactions, instead of using the root account.

The repository I've created is called `blogrepo`

## Creating and Pushing an image. 
For this, we're going to create a bare minimum express application and a `Dockerfile`

```bash
user@host:~/ecr-push-demo-app$ touch Dockerfile
user@host:~/ecr-push-demo-app$ touch app.js
user@host:~/ecr-push-demo-app$ touch package.json
user@host:~/ecr-push-demo-app$ npm install express --save
```
Put the following in these files

In app.js
```javascript
//app.js
var express = require("express");
var app = express();

app.use(express.json());
app.use(express.urlencoded({ extended: false }));

app.get("/", function (req, res, next) {
  res.send({ title: "Express", application: "Application 1" });
});

app.listen(3000, () => console.log("Running on http://localhost:3000"));
```
In package.json
```json
{
  "name": "ecr-push-demo-app",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "node app.js"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "express": "^4.17.1"
  }
}
```

and finally, in the Dockerfile
```Docker
FROM node:12-slim
WORKDIR /app
COPY ./package*.json ./
RUN npm install
COPY ./ ./
EXPOSE 3000

# Run the code
CMD [ "npm", "start" ]
```
## Build the image
Lets build the image and tag it as `blogrepo20201120`
```bash
$ sudo docker build -t blogrepo20201120 .
```
Lets tag this image for pushing to ecr and then push the image


>Just a reminder, the repository I've created on ECR console is called `blogrepo` and I created this in `ap-south-1` region


```bash
$ docker tag blogrepo20201120:latest your_aws_account_id.dkr.ecr.ap-south-1.amazonaws.com/blogrepo:latest
$ docker push your_aws_account_id.dkr.ecr.ap-south-1.amazonaws.com/blogrepo:latest
```
Lets see if we can pull the image and run it
```bash
$ docker pull your_aws_account_id.dkr.ecr.ap-south-1.amazonaws.com/blogrepo:latest
$ sudo docker run -p 3000:3000 -d your_aws_account_id.dkr.ecr.ap-south-1.amazonaws.com/blogrepo:latest
```
That's all. Just open your browser to http://localhost:3000
Check your Sarkari Exam Result Status Online
Published: 2020-11-24 04:46:21

We provides your Sarkari Exam results. You can also able to access State Government & Central Governments, Online Form, Online Registration, Result Download, Answer Key, Board Exams, Latest Results Latest Job, Admit Card, Sarkari Exam’s Syllabus, Bank Exams results etc. We always try to update our website hourly to provide you the Best latest information.

https://www.sarkariresultsin.info/