-
How to Change the Creation Timestamp of JPG Files with PowerShell?
Do you need to change the creation timestamps of JPG files? PowerShell offers a quick and efficient way to do this.
-
How to connect to a Docker mysql container?
Verifying your MySQL Docker container connection.
-
How to Install Git on Windows
Download Git: Visit the official Git website at git-scm.com to download the latest version for Windows.
-
How to check on Linux if Docker is running
Docker is a popular tool for developing and running applications in containers. It can be used on a variety of platforms, including Linux.
-
Using PowerShell PSReadLine
PSReadLine, a module that offers improved command-line editing and rich history capabilities.
-
How to list the content of a Glacier vault?
Want a quick look at what’s inside your AWS Glacier vault? Retrieving an inventory is easier than you might think. This post walks you through the simple steps to initiate an inventory-retrieval job and download your vault’s contents.
-
How to Upload files and folder to AWS s3 with a CLI
To upload files and folders to Amazon S3 using the AWS Command Line Interface (CLI), you can use the aws s3 cp command.
-
How to Create and Manage Python Virtual Environments
Python is a powerful and versatile programming language, widely used for web development, data analysis, artificial intelligence, and more. As a developer, you might find yourself working on multiple projects with different sets of dependencies and configurations. This is where Python virtual environments come to the rescue! In this blog post, we’ll explore the benefits of using virtual environments, how to create and manage them, and best practices to keep your projects organized and conflict-free.
-
Securely Storing and Using Credentials in PowerShell Scripts
When working with PowerShell scripts, it’s often necessary to use sensitive information like usernames and passwords to authenticate against various services or systems. However, storing these credentials in plain text is a security risk that should be avoided. In this blog post, we’ll discuss how to securely store and use credentials in PowerShell without exposing them in plain text.
-
grep
The grep command in Linux is a powerful tool for searching and filtering text. It stands for “global regular expression print,” and it allows you to search for patterns within text files and output the matching lines.
-
Parse command line tool output with Powershell
The other day, I had to restart a Windows server using only Powershell. The catch was that I had to do it only if the output of a command line tool was a certain way. I also kept a log for documentation purposes.
-
Stack vs Heap in C#
In C#, there are two main ways to store data in memory: on the stack and on the heap.
-
mklink /D
The
mklink
command is a powerful tool in the Windows command line that allows you to create symbolic links. A symbolic link is a special type of file that points to another file or directory on your system. When you access the symbolic link, it behaves as if you are accessing the target file or directory, even though the two are technically separate. -
My favorite Windows 10 keyboard shortcuts
In today’s fast-paced digital era, saving a few seconds here and there can accumulate to significant time savings over the long run. One way to achieve this is by mastering keyboard shortcuts. Whether you’re an avid Windows 10 user looking to boost your productivity or someone new wanting a crash course on the most effective shortcuts, this post is for you. Dive into my handpicked list of favorite Windows 10 shortcuts, from simplifying your file management in the Windows File Explorer to browsing the web more efficiently. Let’s streamline your tasks and make every keystroke count!
-
AWS - How to search for IP addresses - CLI
How to find out which resource owns this IP in AWS.
-
Windows Package Manager WinGet in a Nutshell
The Windows Package Manager (also known as winget) is a free and open-source package manager designed by Microsoft for Windows 10 and Windows 11. It consists of a command-line utility and a set of services for installing applications.
-
Cat A File With Line Numbers
You can use the
cat
command to view files, add line numbers with the ‘-n’ flag and concatenate several files together. It’s one of those simple tools that makes Linux so versatile. -
CPU stress tools
There are many reasons why you may want to stress test the CPU on your system. You may want to see how your operating system and hardware perform when you are at full CPU utilization or you want to trigger resource monitoring alerts.
-
Clean Up Old Homebrew Files
Homebrew is a free, open-source software package management system that simplifies the installation of software on Apple’s macOS operating system and Linux.
-
Install and Configure the AWS CLI on Windows
Open the command prompt and run the following two commands:
-
How to connect to an EC2 via SSH + troubleshooting
This note we will outline the steps to ensure a successful connection to your EC2 instance through SSH, as well as mention common troubleshooting techniques.
-
How to convert MBR 2 GPT in order to activate UEFI for Windows 11
In order to use Windows 11, UEFI + Secure Boot must be used. Fortunately, since Windows version 1703, it is no longer necessary to reinstall the operating system if you want to switch from BIOS (master boot record) to UEFI.
-
AWS S3 Presigned URL
If you want to provide temporary S3 access to an object that is otherwise private, then you can generate a presigned URL. The URL will be usable for a specified period of time, after which it will become invalid.
-
Attach an AWS EFS Volume on Linux via IP
Following a step-by-step process to attach an AWS EFS volume to a Linux system using an IP address.
-
Formats of SSL/TLS certificates and their usage
The SSL/TLS certificates can be stored in several formats and also have different file extensions - e.g. pem, cer, der, pfx.
-
How to uninstall the Cortana app with Powershell
The following guide provides a simple and straightforward method to uninstall the Cortana app using Windows PowerShell.
-
How to change the language of Visual Studio 2017/2019
In order to follow tutorials on the internet or threads on stackoverflow it is often time easier if you set the language in Visual Studio to English.
-
WSL - Upgrade Ubuntu to the latest release
Even if you use the distro apps for WSL you can upgrade to the latest release.
-
Change Docker Default Location
Docker Desktop for Windows is great since you can switch between Linux and Windows seamlessly.
-
Search Google Like a Pro
The Google search operators are special search commands, sometimes called advanced operators, that allow you to set specific restrictions or get specific types of results from your Google search. Once you’ve mastered just a few of these special commands, you’ll wonder how you ever managed without them.
-
How to determine the total size of a directory from the command line
The command du “summarizes disk usage of each FILE, recursively for directories,” e.g.
-
Change Font Size in Git Bash (MINGW64)
If the font size is too small after installing Git Bash (MINGW64), then it can be changed as follows.
-
Get Hard Drive Information Using Powershell
On Windows you can use Powershell to obtain information about disks and partitions, apart from the classic tools like the Disk Management Utility or Diskpart.
-
How to Split a File Path with Powershell
When working with file names, it is sometimes necessary to extract the individual parts such as drive, path or name from them.
-
Install and configure AWS CLI on CentOS
Following the process of installing and configuring the Amazon Web Services (AWS) Command Line Interface (CLI) on a CentOS operating system.
-
Make your terminal look great again
If you want to make your Windows Terminal look great again then this brief article is for you.
-
A Quick Guide to Identifying Installed .NET Framework Versions
As developers, understanding which versions of the .NET Framework are installed on a system can be crucial for various tasks. Whether you’re debugging, deploying, or setting up a new environment, knowing the exact versions at hand can save time and prevent compatibility issues. Following two simple methods – using Powershell and the Registry Editor – to help you pinpoint all the .NET versions installed on your machine.
-
Enable Windows Sandbox with PowerShell
Windows Sandbox is perfect if you need to download and install an unknown executable in an isolated, temporary desktop environment where you can run untrusted software without the fear of lasting impact to your PC. Any software installed in Windows Sandbox stays only in the sandbox and cannot affect your host. Once Windows Sandbox is closed, all the software with all its files and state are permanently deleted.
-
Get a Docker based Wordpress playground in a heartbeat
Do you want to test the latest Wordpress version (including plug-ins and themes) without having to install a full development environment (Apache, MySQL,PHP etc.)? If so, then Docker offers a simple solution to quickly commission and de-commission a WordPress + MySQL development environment in no time.
-
How to Backup your Raspberry Pi SD Card on Windows?
If, like me, you want to try out new software or install the latest operating system version directly, it makes a lot of sense to back up the SD card of your Raspberry Pi regularly so that the system can be restored quickly in case of an emergency.
-
What Linux Distro Am I Running?
If you work in a large company (and are more likely to work with Windows operating systems), you may end up on an unknown Linux system for troubleshooting purposes. To quickly find out which distribution is installed, the following commands may be helpful:
-
Markdown Cheatsheet
Markdown is a lightweight and easy-to-use syntax for styling all forms of writing.
-
Enable Windows Subsystem for Linux on Windows
The Windows Subsystem for Linux lets developers run a Linux environment - including most command-line tools, utilities, and applications - directly on Windows, unmodified, without the overhead of a virtual machine.
-
How to compile a C# source file without Visual Studio
You don’t need Visual Studio to compile C# source code. Although VS is largely available I find it interesting to know how you can compile a simple source file to an executable file without it.
-
Installing Packer on CentOS
For those venturing into the world of automated machine image creation, HashiCorp’s Packer offers a versatile tool to make the process efficient and consistent. While there are various operating systems and platforms on which one might install Packer, this post specifically focuses on CentOS 7.
-
Create Vagrant Box from Scratch
The world of virtualization offers countless possibilities, allowing developers and system administrators to replicate environments, test software configurations, and more, all without needing physical machines. One of the most powerful tools in this space is Vagrant. Although it’s primarily used for provisioning and managing virtual machines (VMs), a frequently asked question is: How do you create your own Vagrant box? In this blog post, we’ll be diving deep into this topic. Starting with the basics, we will craft a custom Vagrant box using VirtualBox and an Ubuntu 18.04, Bionic Beaver base image. Whether you’re new to Vagrant or looking to expand your toolkit, this step-by-step guide will walk you through the process from start to finish.
-
How to install and access MySQL on Qnap
This note covers the necessary steps to get started, including the installation of MariaDB via the App Center, enabling MySQL, and setting up default username and password. Whether you’re planning to administer your databases through phpMyAdmin or Workbench, this guide will provide you with a step-by-step instructions.
-
WinSCP Backup
If you’re like me, you’ve often forgotten to back up your WinSCP settings. Not anymore! Today, I’ve finally taken the plunge and added a simple solution to my backup script. It’s a quick and painless way to ensure you never lose your settings again.