-
Python requests - POST request with headers and body
- headers = { 'Content-Type': 'application/json', 'Authorization': 'Bearer your_token' }
-
-
How do I pass URL parameters with my GET request using Requests? | WebScraping.AI
- params = { 'param1': 'value1', 'param2': 'value2' }
- The final URL that the request is made to would look something like this:
http://example.com/api/items?param1=value1¶m2=value2
-
-
How to Install and Switch Python Versions on Ubuntu 22.04 | LinuxHostSupport
- How to Install and Switch Python Versions on Ubuntu 22.04
- Step 1. Install Python 3.10
- sudo apt install python3.10 -y
- Python 3.10.6
- We need to create symbolic links for every installed Python version, including the path of the installed Python version. Execute the following commands one by one:
- sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1 sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.8 2
- You can enter any number and use that Python version. For example, we choose the Python3.10 by entering the number 1
-
-
- Adding a data source to your Terraform configurations does not create anything new; it’s just a way to query the provider’s APIs for data and to make that data available to the rest of your Terraform code. Each Terraform provider exposes a variety of data sources. For example, the AWS Provider includes data sources to look up VPC data, subnet data, AMI IDs, IP address ranges, the current user’s identity, and much more.
- With the
aws_vpcdata source, the only filter you need isdefault = true - data.aws_vpc.default.id
-
Monday, March 4, 2024
diigo.to.shak.blogspot.dailiy. 03/04/2024
Friday, March 1, 2024
diigo.to.shak.blogspot.dailiy. 03/01/2024
-
- Installing SSHFS
-
-
- To install Java
-
-
- Postman Desktop Client is ONLY allowed if the following criteria are met
-
-
Test script examples | Postman Learning Center
- pm.test("Test data type of the response", () => { pm.expect(jsonData).to.be.an("object"); pm.expect(jsonData.name).to.be.a("string"); pm.expect(jsonData.age).to.be.a("number"); pm.expect(jsonData.hobbies).to.be.an("array"); pm.expect(jsonData.website).to.be.undefined; pm.expect(jsonData.email).to.be.null;
-
Monday, February 26, 2024
diigo.to.shak.blogspot.dailiy. 02/26/2024
-
windows subsystem for linux - Using xterm on WSL - Super User
- To set the font when starting
xterm, first get a list of your installed fonts with:
-
Sunday, February 25, 2024
diigo.to.shak.blogspot.dailiy. 02/25/2024
-
Running smallest test http server container – Ifrit LTD
- Running smallest test http server container
-
-
GNU Emacs Manual - Dired, the Directory Editor
- To invoke Dired, do C-x d or M-x dired
- When a Dired buffer lists subdirectories, you can use the page motion commands C-x [ and C-x ] to move by entire directories.
-
-
Advanced settings configuration in WSL | Microsoft Learn
wslconfig
tags: 2024
- What is the difference between wsl.conf and .wslconfig?
-
Friday, February 23, 2024
Thursday, February 22, 2024
diigo.to.shak.blogspot.dailiy. 02/22/2024
-
HashiCorp Certified: Terraform Associate Practice Exam 2024 | Udemy
udemy | terraform course
tags: 2024
Wednesday, February 21, 2024
diigo.to.shak.blogspot.dailiy. 02/21/2024
-
Using Maven's Bill of Materials (BOM)
- mvn dependency:tree -Dverbose=true
- Introducing Maven’s Bill of Material (BOM)
-
-
Java Annotations: Mastering the Basics and Beyond
- JavaBeans, on the other hand, are classes that encapsulate many objects into a single object (the bean).
-
-
Guide to use Lombok In Spring Boot - JavaToDev
- @Slf4j in Lombok For Logging
- Slf4J, serves as a simple facade or abstraction for various logging frameworks, such as java.util.logging, logback, and log4j. We can use Slf4j as a logging partner easily when using it lombok.extern.slf4j.
- Lombok Generated Class
-
Shak.blog.notes 08/20/2024
Thinking Like an Architect - InfoQ tags: blog ...
-
# awk based script to calculate the latency of FIX protocoll messages. # usage: awk -f $someroot/ackdelta.awk [VERBOSE=1] [STAT=1] $some...
-
Author: Sakthivel Kathirvel Created: Apr 2006 Last Updated: Jan 2015 [grep] grep -rain grep -Pain grep -inverse grep -Pai...