How Do You Repurpose Disk Space from a Windows Install (e.g., /dev/sdbc) to Be Used by Your Linux Server?

Problem scenario
Your Linux server was installed over an old Windows server. You want to repurpose sections of the hard disk (e.g., sda1 and sda3). Linux has been installed, but some sections of the disk are not usable by Linux. What do you do?

Solution
Warning: This could permanently delete data. If you make a mistake you may need to reformat your Linux server.

How Do You Troubleshoot the Vagrant Message “/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in `require’: cannot load such file — winrm (LoadError)”?

Problem scenario
You are running Vagrant, but you get this error: “/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in `require’: cannot load such file — winrm (LoadError)”

You run “gem list” (or “sudo gem list”) and see winrm is installed.

What should you do?

Possible Solution #1 (recommended)

  1. Run this command:

gem list | grep libvirt

2. Verify that libvirt’s version is at least 0.6 or higher.

How Do You Fix a memcached.so Error when Running PHP Too?

Problem scenario
You get an error about memcache and you are running PHP. Or you get an error “Unable to load dynamic library “memcached.so”? You run “php –version” and you see an error about memcache or memcached (e.g., a missing memcached.so file). What should you do?

Possible Solution #1
Get a memcached.so file from a working Linux server and place it in the directory that the error message showed in the php –version command.

Technical Books by Category

If you resolve to learn more about technologies, you may want to buy technical books.  Here are lists of books on many different I.T. subjects:

Apache Spark
Apache Tomcat
Apache Web Server
AWS
Azure
Bitcoin
Bioinformatics
C#
CFengine
Chef
Docker
E-Discovery
Elastic Stack
Flask
Forensics (Computer Forensics)
Git
Hadoop
Kubernetes
Informatica
Message Queueing Technologies (excluding RabbitMQ)
RabbitMQ
Redis
REST API
Security
Site Reliability Engineering
PowerShell
Puppet
Python
SalesForce
SAP
Squid
SSL and TLS
Terraform
VMware
vSphere
Windows

Where Can You Find the build_rust.sh Script?

Problem scenario
You want to use Rust and Incubed (the Blockchains in3 crate). You search for “build_rust.sh”, but you find irrelevant build-rust.sh files. How do you find the one with the underscore (or underbar) and not the hyphen/dash?

Solution
Here is the content:

#!/bin/sh
cd ..
mkdir -p rust/in3-sys/in3-core
mkdir -p rust/in3-sys/in3-core/c
cp -r c/CMakeLists.txt c/macro.cmake c/compiler.cmake c/docs c/src c/include rust/in3-sys/in3-core/c/
cp CMakeLists.txt rust/in3-sys/in3-core/
export UPDATE_IN3_BINDINGS=1
cd rust && …

How Do You Find the Vertical Scroll Bar to Browse Emails in Apple Mail?

Problem Scenario
You are using Apple Mail. You want to scroll up and down to see the senders and subjects of emails. You cannot find the vertical scroll bar. What should you do?

Solution
Increase or decrease the window’s vertical length by clicking and holding a horizontal edge of the window with the mouse and moving the edge in one direction. After you do this the vertical scroll bar should appear.

What Is the Difference between a Jenkins Project and a Jenkins Pipeline?

Question
You have heard of Jenkins pipelines and projects. What is the difference?

Answer
A Jenkins project is a new word for a Jenkins job. It is “[a] user-configured description of work which Jenkins should perform, such as building a piece of software, etc” (according to Jenkins website).

A Jenkins pipeline is “[a] user-defined model of a continuous delivery” automated stream of procedures related to software (according to Jenkins website).

How Do You Troubleshoot the Python Problem “UnicodeEncodeError: ‘ascii’ codec can’t encode character”?

Problem scenario
You are trying to print out a variable in Python. But you get an error like this: “UnicodeEncodeError: ‘ascii’ codec can’t encode character ‘\xa0’ in position 70567: ordinal not in range(128)”

What should you do?

Solution
Root cause: A variable needs to be encoded as UTF instead of the default ASCII encoding.

Procedures
Assuming that var1 is a variable holding the results of a requests.get(url),

How Do You Troubleshoot the C Error “No such file or directory…compilation terminated”?

Problem scenario
You try to compile a C program, but it fails with “compilation terminated.” The error message says “foobar/foobar.h No such file or directory.” What should you do?

Solution
This solution does not address where should header files for c go. But it addresses the problem.
Find where foobar.h is: sudo find / -name foobar.h

Run the gcc command again,