In this tutorial, we are going to build/compile OpenSSL on Windows with MSYS2. Download and Install MSYS2 shell, from https://www.msys2.org/ Download and install Strawberry Perl from http://strawberryperl.com/ …
Leave a CommentTutorials / Programming tips Posts
Named arguments allow you to pass input data into a function/method based on their argument name instead of the argument order. This is a useful…
Leave a CommentIn this post, you will learn how you can install MSI files using PowerShell. You can use the Start-Process cmdlet to install the MSI file…
2 CommentsIn this tutorial, you will learn various ways to write text files in Python. Below is the basic syntax of the open() function: You can…
Leave a CommentYou can use PHP’s built-in function called str_contains to check if the given word exists in a string or not. If it finds the word…
Leave a CommentIt checks if the given substring contains a given string. If the substring mentioned will be present in the string then it will return True…
1 CommentComparisons between strings and numbers using == and other non-strict comparison operators currently work by casting the string to a number and subsequently performing a comparison on…
Leave a CommentYou can check if a value or string exists in an array using the Contains method from an array. Below is a simple example:
Leave a CommentThe fs.rmSync() method is used to synchronously delete a file at the given path. It can also be used recursively to remove the directory by…
Leave a CommentBelow is a list of different approaches that can be used to get all the environment variables in windows using PowerShell. Get specific environment variable…
Leave a CommentYou can create an empty new branch with the –orphan option to the git checkout command. By the above command, you will be able to…
Comments closedLocating and removing empty directories is easy with the find command. Below are the two simple commands to find and delete empty folders from your…
Comments closedThe docker system prune command removes all stopped containers, dangling images, and unused networks. If you pass the –volumes flag, it will remove all unused volumes too. You can…
Comments closedThe If-Not operator is used to convert a value from true to false, or from false to true. Similarly, if an operand evaluates to true, a…
Comments closedThe path module provides utilities for working with file and directory paths. It can be accessed using: You can get the platform-specific path segment separator with path.sep Property.…
Comments closed