Filesystem-Passthrough

Use virt-manager to share files between Linux host and Windows guest?

Use virt-manager to share files between Linux host and Windows guest? I usually setup a Samba server on the Linux KVM host and then share a folder out using that to my KVM guests.
sql

C# How to insert a data table into SQL Server database table?

C# How to insert a data table into SQL Server database table? In SQL 2008/2012/2014/2016/2017, user-defined table type is a user-defined type that describes the definition of a table structure. You can use a user-defined table type to declare table-valued parameters for SP or functions or to declare table variables that you require to utilization in a batch or the body of a Stored Procedure or function.
ICloneableforDeepCopies

Example of Implementing ICloneable for Deep Copies C#

Here’s an example of implementing ICloneable in two custom classes so that you can use the Clone method to do a deep copy. To do...
Visual_StudioLogo2

Best method for removing white spaces from the end of a string C#

If you have a number of strings that you need to trim whitespaces from, however I only need to remove them from the end....

Delete hiberfil.sys by disabling Windows Hibernate function

Hiberfil.sys can use several GB of hard disk space. Delete the file, and it will likely return. Bill Detwiler explains how to get...

How to discard unstaged changes in Git?

How do I discard changes in my working copy that are not in the index?   Another quicker way is:   What follows is really only a solution...
installcurlError

“Could not run curl-config: [Errno 2] No such file or directory” when installing pycurl

The line of code that throws Could not run curl-config: [Errno 2] No such file or directory” when installing pycurl on Linux, should inform the user as to remedy - a pre-requisite, rather than leaving them to test their google skills.

C++11: Is there a standard definition for end-of-line in a multi-line string constant?

If I have a multi-line string C++11 string constant such as Is it defined what character(s) the line terminator/separator consist of? Context: sending a multi-line string...
menulinux

How to enable cURL in PHP / XAMPP

How do I enable cURL in PHP?   Since you're using XAMPP, uncomment the line in xamppapachebinphp.ini, and then restart the Apache service. NB: In newer XAMPP versions,...

Featured

Most Popular

Latest reviews

menulinux

Finding all files containing a text string on Linux

Do the following grep -rnw '/path/to/docs/' -e "pattern" -r or -R is recursive, -n is line number, and -w stands match the whole word. -l (lower-case L) can be added to...
mysqcsharpexample

Insert, Update, Delete, Display Data in MySQL

how to insert, update, delete and display data in MySQL. C#
runpythononwim

Running Python code in Vim

We are writing Python code using Vim, and every time we want to run my code, we type this inside Vim

More News