teleren/devto huggingface dataset:
API Testing Using Postman: Part 1 ( What is an API? )
Tags: webdev, beginners, programming, tutorial
Published: 2023-01-31 03:07:32

API testing postman: In this series of API Testing using Postman - Part 1, You are going to learn What is an API? and What is API Testing with Postman Installation and Quick Postman tool overview.  #API #APITesting #Postman #APITestingTutorials.

{% embed https://youtu.be/ISjyXzkF-4w %}

🎓🖥️✅  Subscribe​ to The Testing Academy Channel.
→https://www.youtube.com/c/TheTestingA...
🔔 TURN ON NOTIFICATIONS🔔 

✅ 30 Days of API Testing Challenge - https://apitesting.co/30days

✅ 30 Days of Automation Testing Challenge - https://go.scrolltest.com/automation

✅ 30 Days of Rest Assured(with Framework) - https://go.scrolltest.com/30days-rest...


You are going to learn the concepts of API, API testing, web services and HTTP Methods basics which are helpful in API testing interview questions. you will learn about everything API Testing Using Postman.

👨‍🎓✅ Join Community 1200 Automation Testers - https://sendfox.com/thetestingacademy


✅ TimeStamps 
🚀What is an API ?  👉🏼 3:35
🚀Types of API 👉🏼 4:57
🚀What is API Testing? 👉🏼 5:12
🚀Why do we perform API Testing? 👉🏼 5:58
🚀What to Test in API Testing? 👉🏼 7:18
🚀SOAP Vs REST 👉🏼 8:47
🚀What is REST? step by step. 👉🏼12.41
🚀Who uses the REST APIs 👉🏼13:04
🚀API Testing using Postman(Install Postman and Overview) 👉🏼18:09
🚀API Testing TestCases with Postman👉🏼23:00

Join Facebook Group :  http://bit.ly/learntesting2019

Website:   https://scrolltest.com

Website:   https://thetestingacademy.com

Twitter: https://twitter.com/itstechmode


Download PPT : https://bit.ly/2PhosOh


API stands for Application Programming Interface.
API is a defined set of rules, which contains clearly defined methods of communication. API helps different software components to interact with each other.

API testing involves testing the collection of APIs and checking if they meet expectations for functionality, reliability, performance, and security and returns the correct response.
API testing is used to determine whether the output is well-structured and useful to another application or not, checks the response on basis of input (request) parameter, and checks how much time the API is taking to retrieve and authorize the data too. 🚀 Tools and services I recommend:
Some of the courses that I recommend to become better Automation Tester 🙌🙌

✅Selenium Training and Certification -
https://scrolltest.com/go/edureka


✅Learn Jenkins for QA -
https://bit.ly/learnjenkins-p1


✅Programming Java -
https://bit.ly/learnjava2020-p1


✅Test Automation - 
https://bit.ly/learnautomation2020


✅API Testing - 
https://www.learnapitesting.com


✅Cypress Tutorial with LIVE Projects -
http://cypresstutorial.com


#TheTestingAcademy
— The Testing Academy
Review: “The Phoenix Project: A Must-Read for IT Professionals and Business Leaders”
Tags: devops, writing, startup
Published: 2023-01-31 03:33:31

“The Phoenix Project: A Novel About IT, DevOps, and Helping Your Business Win” has been a great source of inspiration for me during my healing process from a cancer operation. This book blends fiction and technical writing to provide a unique perspective on the challenges and opportunities of DevOps.

One of the key takeaways from this book is the importance of collaboration between development and operations teams. This collaboration is crucial for the effective implementation of DevOps practices, and the book highlights this in a way that makes it easy to understand.

Another important aspect that this book emphasizes is the significance of culture change for the successful adoption of DevOps. Culture is an integral part of any organization, and it has a profound impact on technology transformation initiatives. This book shows how important it is to have a culture that supports and nurtures DevOps practices.

Process improvement is another aspect that the book highlights as being critical to the success of DevOps. The book explains how organizations can improve their IT operational processes to achieve DevOps success. This is an important aspect to consider, as having efficient and streamlined processes is crucial for organizations to achieve their goals.

Compliance with regulatory requirements is also underscored as being a critical aspect of DevOps. The book highlights the need for processes to ensure that IT systems meet these requirements, and it emphasizes the importance of compliance for organizations.

Regular Change Advisory Board (CAB) meetings are also highlighted as being important for the proper management and approval of changes to IT systems and processes. This is a critical aspect of DevOps, and the book explains why these meetings are so important.

Finally, the book shows how organizations can improve procedural management of departments by implementing DevOps practices and improving communication and collaboration. This is an important aspect to consider, as it can help organizations achieve their goals more effectively and efficiently.

In conclusion, “The Phoenix Project” provides valuable insights for both IT professionals and business leaders looking to improve their IT operations and achieve DevOps success. This time, as I read it again, I found the book even more relevant since I joined a Fin-Tech company where ensuring outage and data integrity is a key performance indicator. On a funny note, I now imagine my Director of Technical Operations & Architecture as Bill Palmer. If you’re looking to improve your understanding of DevOps and how it can benefit your organization, I highly recommend this book.
Install Laravel in minutes
Tags: webdev, beginners, tutorial, laravel
Published: 2023-01-31 03:32:58

{% embed https://youtu.be/QsC-HbJpNxY %}

There is no secret sauce, and this isn't your Colonel's chicken!

I use Docker and DDEV to start a new Laravel project.

In less than 5 minutes you can start programming an API or your own custom dashboard or SaaS product.

I'm building up a set of tutorials and I'd love to hear some ideas to help beginners get over the hump!

Chi-Miigwetch!
Useful command-line snippets
Tags: commandline
Published: 2023-01-31 03:17:40

---
title: Useful command-line snippets
published: true
description: 
tags: commandline,
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
---


move to https://app.heptabase.com/w/3c34815462d03f458145e38c717b14fa2bd49792af07deb2f0127f6247111801?id=74470eaa-83da-461e-ad44-545255f89e03 (2023-05-23)

# Files & Directory

count number of files

```
$ find [PATH] -type f | wc -l
```

delete thumb files

```bash
find . -name ".DS_Store" -delete
find . -type f -name '._*' -delete
find . -type f -not -name '._*' -size -5k
```

other

```bash
find . -size -5k -type f
```

find number of files in each folder

```bash
du -a | cut -d/ -f2 | sort | uniq -c | sort -nr
```
via https://stackoverflow.com/a/39622947/644070

# batch process

## replace character

replace line-break (`\n`) to `,`
```
tr '\n' ',' < source-file
```

delete character
```
tr -d `\n` < source-file
```

## mix and combination

conver mp3
```bash
find *.wav -exec ffmpeg -i {} {}.mp3 \;
```

# Dist utilities

## test HD Performance

Use the dd command to measure server throughput (write speed):

```bash
dd if=/dev/zero of=/tmp/test1.img bs=1G count=1 oflag=dsync
```

[Linux and Unix Test Disk I/O Performance With dd Command - nixCraft](https://www.cyberciti.biz/faq/howto-linux-unix-test-disk-performance-with-dd-command/)
The focus in your life
Published: 2023-01-31 02:59:50

It is very importante to know that in your live you will get whetter positive or negative results based whether you look up your energies (this ones can be mental, physicals and/or psicologics).

Among the advantages can offer to have an focus in your life are:

Find meaning what you do: The worst thing than a person in my humble opinion can happen is to live this great travel called life without a reason.

Despite the tired can produce your daily tasks Often you will have that push to not desist. A focus with meaning will give you the energys y more important the discipline to continue.

Wake up your curiosity: When you are focus on a task, a project or goal is inevitable that you will look up differents way to achieve them (tasks, projects, goals, etc..)

In this new era mankind is living with continuos distraction by the social medias, urgent more than ever lead our best momentos of concentration e introspection at  focus at what really is important, things such: Get a new job, create and/or improve our personal brand, the family, etc. Every this examples will depend from every person y can be very differents

At resume when you are on focus, you will became from a consumer to a creator, such will affect positibitly your life.
On The Subject of Learning to Code
Tags: webdev, career
Published: 2023-01-31 02:58:41



Many times in my life I've sat down and tried to learn to code on my own. I've watched hours-long YouTube courses, followed self-paced curriculums, and even tried just experimenting on my own. I don't know if it's an issue of self-discipline or just the way I learn, but I could never get it. It always seemed like the tutorials I watched would only tell me about what a coding language could do, but never how I could actually make something useful with it.

The first language I tried to learn was Python. I understood a lot of the core concepts like variables and loops, and even built a couple small desktop apps like a calculator and a basic pong game. The problem was that I didn’t know how to transfer those skills to an actual useful project. The tutorials only told me what to type, rather than actually teaching me how each part of the code worked and how it could be used in a real-world project.

For a while, I had pretty much given up on learning how to code, assuming that I just wasn’t cut out for it. Then, a friend of mine told me about a local coding bootcamp that teaches practical coding skills and actually helps their graduates get good jobs. I was a little hesitant, but decided to take their aptitude test and, to my surprise, I got a pretty high score. After talking to the founder, I was accepted into the bootcamp and started the course at the beginning of 2023.

I feel like I’ve learned more about coding in this first month than I could’ve possibly learned on my own in a whole year. I cannot overstate how helpful it is to have someone with actual experience explain in detail how to write code for practical, useful projects. Being able to ask questions whenever I’m struggling with a concept and getting feedback on my code are the crucial pieces that are missing from online and self-paced courses.

If you’re struggling to learn something on your own, don’t underestimate the difference having an experienced instructor or mentor can make. It took me from completely giving up on my passion, to being a couple months away from my dream career.

In other words, don’t give up!

Check out my [portfolio](https://bwseats.netlify.app/) to see what I’ve built in only one month!
Data Pipelines with Great Expectations | Conclusion
Published: 2023-01-31 02:42:25

---
series: Data Pipelines with Great Expectations
---

That's it! Congratulations!

We were able to configure a Great Expectations project and connect a datasource to it. After that, we created an Expectation Suite that used a batch of data to automatically generate our initial Expectations. We then edited our Expectation Suite to only use a couple of Expectations. Finally, we ran a second batch of data through a Checkpoint, which validated the data in that second batch and uncovered existing data issues.

I hope you understand how GX can help you in your data pipelines. At this point you may want to check out the [Great Expectations Docs](https://docs.greatexpectations.io/docs/) to learn more.

Thank you for reading!
Data Pipelines with Great Expectations | Step 4: Validate data
Published: 2023-01-31 02:42:15

---
series: Data Pipelines with Great Expectations
---

# Set up a Checkpoint
A Checkpoint is a step in a data pipeline that runs an Expectation Suite against a batch of data. New validation results are created each time a Checkpoint validates a batch of data. Checkpoints can also be configured to execute Actions (e.g. send an alert message through Slack or email when a validation fails).

We are going to run our Expectation Suite against the February data in our `data` folder. In order to do that we need to set up a Checkpoint. In your terminal run the following command from your `gx-getting-started` directory (make sure to shut down any running Jupyter Notebooks first):

```
great_expectations checkpoint new getting_started_checkpoint
```

A new browser tab will open with a Jupyter Notebook and the `edit_checkpoint_getting_started_checkpoint.ipynb` file inside.

---

> **File Location**
> 
> The file to edit your Checkpoint is located at
`gx-getting-started/uncommitted/edit_checkpoint_getting_started_checkpoint.ipynb`.

---

This file contains the configuration code for a Checkpoint. Scroll down to the second code cell. You should see the following code:

```
my_checkpoint_name = "getting_started_checkpoint" # This was populated from your CLI command.

yaml_config = f"""
name: {my_checkpoint_name}
config_version: 1.0
class_name: SimpleCheckpoint
run_name_template: "%Y%m%d-%H%M%S-my-run-name-template"
validations:
  - batch_request:
  	datasource_name: getting_started_datasource
  	data_connector_name: default_inferred_data_connector_name
  	data_asset_name: yellow_tripdata_sample_2019-02.csv
  	data_connector_query:
    	index: -1
	expectation_suite_name: getting_started_expectation_suite_taxi.demo
"""
print(yaml_config)
```

Make sure that the `data_asset_name` is set to `yellow_tripdata_sample_2019-02.csv` so we can validate the February data. Now scroll down to the last code cell and uncomment both lines of code. Then run all the cells in the notebook, which will create the Checkpoint configs in your project.

This will open the Data Docs again in a new tab.

# Inspect the Validation Results for your Checkpoint
You should see that the first result listed under the “Validation Results” tab shows a failed Expectation Suite (i.e. there is a red “X” in the “Status” column). If you click on that row you will see more details about the failure. 

You should see that the Expectation for "**values must be greater than or equal to `1` and less than or equal to `6`**" failed. But why?

In the results of that Expectation you will see a small table with a heading "Sampled Unexpected Values" with a `0` below it. That means that the `passenger_count` column contained the value `0`. Since that Expectation was configured to only allow values greater than or equal 1 and less than or equal to 6 for the `passenger_count` column, the validation failed. (A taxi ride with `0` passengers does not make sense.)
ทำ Multiboot USB ด้วย Ventoy
Published: 2023-01-31 02:25:10

**beartai แบไต๋ : วิธีสร้าง Boot Flashdrive ตัวเดียว ให้ลงทุก OS ด้วย Ventoy**
[https://youtu.be/Rvu03-glFQ4](https://youtu.be/Rvu03-glFQ4)

**Multiboot USB: Create a bootable USB drive with Ventoy**
[https://youtu.be/N2iXFlA19mA](https://youtu.be/N2iXFlA19mA)
A closure challenge
Tags: javascript, webdev, beginners, react
Published: 2023-01-31 02:13:52

This closure challenge was featured in The Complete JavaScript Course 2023 by Jonas Schmedtmann on Udemy. 

## Challenge
Take the following IIFE provided and at the end of the function, attach an event listener that changes the color of the selected `h1` element ('header') to blue, each time the `body` element is clicked. Do not select the h1 element again! And then explain why this worked, as if to a 5 year old. Use analogies if possible. 

## Solution
```jsx
(function(){
	const header = document.querySelector('h1');
	header.style.color = 'red';
	document.body.addEventListener('click', function() {
		header.style.color = 'blue';
	});
})();
```

This code makes the header text turn red when the page loads, and blue every time you click on any part of the body. Give this a try at [codepen](https://codepen.io/bolouie/pen/dyjjKKV).

Think of it like having a big red crayon and a blue crayon. When the page starts, you color the header with the red crayon. Then, you tell the computer that every time you click on the body, you want to color the header with the blue crayon. So every time you click, the header changes color from red to blue, just like using different crayons.

## React

Can you show an example of the same scenario using React?

```jsx
import React, { useState } from 'react';

const Header = () => {
  const [headerColor, setHeaderColor] = useState('red');

  const handleBodyClick = () => {
    setHeaderColor('blue');
  };

  return (
    <>
      <h1 style={{ color: headerColor }}>Header</h1>
      <body onClick={handleBodyClick} />
    </>
  );
};

export default Header;
```
This code uses the `useState` hook from React to keep track of the color of the header text. Initially, the color is set to red. The body is given an `onClick` handler, `handleBodyClick`, which updates the color of the header text to blue every time it is clicked.

In React, hooks are functions that let you "hook into" React state and lifecycle features from your functional components.

Think of hooks as special tools that you can use in your components to add extra functionality and interact with React. They let you reuse stateful logic and change the behavior of your components without having to write a class component.

In the example I provided, `useState` is being used to manage the color of the header text. The `useState` hook returns an array with two values: the current state and a function to update the state. The header color is stored in the state, and the function to update it is used in the `handleBodyClick` handler to change the header color to blue every time the body is clicked.

There are several built-in hooks in React, such as `useState` and `useEffect`, that you can use to add state management, handle side effects, and control how your component renders. You can also write your own custom hooks to reuse logic across your components.

Thanks for reading!
Setup Auth0 as an External IDP
Published: 2023-01-31 02:12:39

If users are mastered in an Auth0 tenant and you would like to provide those users access to an Okta tenant, then this is how you can configure Auth0 as an external IDP using OIDC. Step 1 – Configure Auth0 Perform the following steps in your Auth0 tenant: Step 2 – Configure Okta Perform the … [Continue reading Setup Auth0 as an External IDP →](https://iamse.blog/2022/09/20/setup-auth0-as-an-external-idp/)
Generate Drupal 10 sub theme
Tags: webdev, beginners, tutorial, php
Published: 2023-01-31 02:12:03

{% embed https://youtu.be/cvcyYUIWCEE %}

Struggling with the instructions to generate  your own theme in Drupal 10? It's simpler than they lead you to believe!

Follow along and get started developing your own Drupal theme.
Generate Auth0 Access Token via Okta Workflows
Published: 2023-01-31 02:08:01

Okta Workflows makes it easy to automate identity processes at scale – without writing code. Using the if-this-then-that logic, Okta’s pre-built connector library and the ability to connect to any publicly available API, anyone can innovate with Okta.

The Customer Identity Cloud (aka Auth0 Identity Platform), a product unit within Okta, takes a modern approach to identity and enables organizations to provide secure access to any application, for any user. Auth0 is a highly customizable platform that is as simple as development teams want, and as flexible as they need. In todays product landscape, it’s becoming more common to see both Okta and Auth0 working together as there are many benefits in facilitating integration.

In this scenario, it’s likely that Okta Workflows will be calling the Auth0 Management API v2. The primary way that this API is called is by passing an Access Token in the Authorization header. This blog entry looks at how we can generate an Access Token via Okta Workflows using the client credential flow. The Client Credential flow is designed for Machine to Machine communication.

 … [Continue reading Generate Auth0 Access Token via Okta Workflows →](https://iamse.blog/2022/10/13/generate-auth0-access-token-via-okta-workflows/)
US government agencies' opensource projects
Tags: osdc, opensource, perl
Published: 2023-01-31 02:07:41

# 1st [OSDC](https://osdc.code-maven.com/osdc-2023-01-perl/) pull request
I have been interested in the US government opensource activities since around 2016, so all my OSDC homework entries of the open source projects are in the governments section.

The most interesting project would be **[ghidra](https://github.com/NationalSecurityAgency/ghidra)**. 

Back in 2018 I was looking for a reverse compiling tool to look at the binary of **Dominions 5** (it is a play by email 4X game. lots of fun!). IDA pro is really nice but I do not have the budget to purchase a license. 

NSA opensourced ghidra right at that moment. It works like a charm on x64 ELF. 

NSA's rationale is simple. They **do not have the budget** to keep the tool up to date either, so it is better to opensource the tool and gain support from the community.  5 years later I would say their strategy worked.

# There are joke/parody projects of US government agencies on github

Here is an example of [CIA](https://github.com/ciagov).

Considering CIA started a podcast in 2022, we might see an official CIA github account in 2023. After all, CIA does have a large amount of internal software tooling projects.
Auth0 Integration with Okta Workflows – Part Two
Published: 2023-01-31 02:06:03

This blog post is part two in the series. The first post can be found here: Auth0 Integration with Okta Workflows – Part One For large organizations comprised of numerous independently managed business units, centralizing identity can be extremely challenging. Okta hub-spoke architecture model has been key in solving this issue for many organizations for … [Continue reading Auth0 Integration with Okta Workflows – Part Two →](https://iamse.blog/2022/10/21/auth0-integration-with-okta-workflows-part-2/)
Todo List Pure Vanilla JS
Tags: codepen
Published: 2023-01-31 02:00:43

I love programming in JavaScript. It's so satisfying when the code works just right. I could spend all day coding, but often when I sit in front of my laptop, my mind goes blank. As soon as I step away, I come up with lots of ideas for using methods and functions, but these ideas disappear as soon as I return to my code editor. This can be very frustrating.

Recently, though, I managed to stay focused on a task until I finished it, without seeking outside help. That feels amazing! It gives me a boost of self-confidence in my journey of learning programming languages. I may be a newbie JavaScript programmer, but I'm soaking up everything I can about coding. Sure, a C++ programmer might not take me seriously, but I'm floating above the clouds with my newfound understanding. 

{% codepen https://codepen.io/djeylani/pen/JjBBZXX %}
Okta Devices SDK Sample App
Published: 2023-01-31 01:58:28

Powered by the Okta Devices Platform Service, the Okta Devices SDK and the Devices API offer a single integration to unify user identity and device identity, along with all of the tools necessary to build passwordless sign-in flows through branded push notifications and biometric capabilities. All of these powerful functionalities come together to deepen security … [Continue reading Okta Devices SDK Sample App →](https://iamse.blog/2023/01/20/okta-devices-sdk-sample-app/)
Inline Hooks with Okta Workflows
Published: 2023-01-31 01:53:53

Now that Low Latency Flows are available, Inline Hooks can use Okta Workflows to implement the hook endpoint. The Low-latency feature ensures consistent execution times for your flows by running flows that meet a specific set of criteria separately from those that don’t. Okta routes low-latency flows to an optimized processing queue with minimal wait … [Continue reading Inline Hooks with Okta Workflows →](https://iamse.blog/2023/01/30/inline-hooks-with-okta-workflows/)