How Do You Get a Memory Dump of a Specific Process in Windows?

Problem scenario
You want to generate and retrieve a memory dump of a specific process on a Windows server. How to you take or get a memory dump of a given process?

Solution
1. Launch Task Manager as Administrator. Search for Task Manager and right click it and go to “Run as Administrator”

2. Go to “Create dump file”

3.

How Do You Get the Internet and/or NIC on Your Windows Workstation to Work?

Problem scenario
You rebooted your Windows laptop. You are not getting any network. The internet is unreachable. The NIC’s lights are off. What should you do?

Possible Solution #1
Use WiFi. Completely bypass your network interface port.

Possible Solution #2
1. Reboot your computer.
2. Press Esc to enter the Startup Menu.
3. Go to F10 BIOS Setup.

What Is The Most Important Exercise in Weight Training?

Question
In the context of weight lifting (or resistance training), what single exercise is the most important?

Answer
The squat (according to page 7 of Starting Strength). Page 19 says “There is simply no other exercise, and certainly no machine, that produces the level of central nervous system activity, improved balance and coordination, skeletal loading and bone density enhancement, muscular stimulation and growth,

How Do You Troubleshoot SSH Connection Timed Out?

Problem scenario
You are trying to use SSH, but you get a “connection timed out” error. What should you do?

Possible solution #1
Can you try to ping the hostname or IP address? Are you connected to a necessary VPN? Perhaps the endpoint is down or not reachable from the network you are on.

Possible solution #2
Is there a router that was recently configured?

Does a “Sell Short” Button Do What a Regular “Sell” Button Would Do?

Problem scenario
You are trying to sell a stock. You see an option for “Sell Short”, but no “Sell” button. You want to do a regular sell as a trade. You don’t want to try to “short” a stock. What should you do?

Possible Solution
It is good to be observant because a “Sell Short” option is different from a regular sale of stock.

What Do You Do when You Cannot Send an Email due To “Error when communicating with server”?

Problem scenario
You have a web-based email account, and you cannot send an email. You cannot save a draft of the email. You get “Error when communicating with server” in red. What should you do?

Solution
Delete the images/graphics of the original email or in your message. This usually happens when the sender had graphic intensive content, and you are trying to respond.

How Do You Troubleshoot a Linux Script Not Redirecting the Output to a File?

Problem scenario
You have a Bash script with a task that is supposed to redirect the output to a file. The command produces output when you manually run it. But the output is not getting to the file. What could be wrong?

Possible Solution
If the output of the automation has a message and the OS is Linux, the command may or may not work.

How Do You Run Snyk Scans as Part of Azure DevOps Pipelines?

Problem scenario
You know that many sources recommend you scan IaC code as part of modern security recommended practices. (Page 293 of Terraform: Up & Running, 2nd Edition by Yevgeniy Brikman (O’Reilly), Copyright 2019, 978-1-492-04690-5 recommends using Snyk.) You tried to create a new pipeline in Azure DevOps. You tried to add a Snyk task. But you were not able to. Why in Azure DevOps do you not see a Snyk option for a task to add to a pipeline?

How Do You Troubleshoot “‘configure’ was unable to find any version of the GTK libraries on your system.”?

Problem scenario
You are running the “configure” script on a RHEL server. You get this error:

“‘configure’ was unable to find any version of the GTK libraries on your system.”

What should you do?

Solution
Run this:

sudo yum -y install gtk2-devel …