Since PowerShell is now open source and cross-platform, we can now perform PowerShell magic right inside Linux boxes. If this isn’t exciting, what is?! Here’s an example of how to execute PowerShell scripts (or commands) from PHP code on a Linux VM.
Linux & Servers
What is life without Linux? Browse this category to explore content I have created relating to Linux and Servers. This section is pretty broad. It promises content on Ubuntu, cloud VMs, server automation, bash scripting, PowerShell, system/website administration, AWS, etc. Watch this space for my existing and future content on the aforementioned technologies.
For quite some time now, PowerShell has been cross-platform. This means you can now use it on Mac OS and on the many different flavors/distributions of Linux. Here’s how to install PowerShell Core followed by Azure PowerShell on your Ubuntu machine.
WP-Cron is how WordPress handles time-based job scheduling on sites. Sort of like the Linux cron utility. But WP-Cron could be very resource intensive since it executes on every page load. I share some insights/solutions to the problem in this post.
If you do any volume of work with PuTTY, you would have encountered its default and annoying timeouts which continuously force you to re-login multiple times. This article explains a simple setting to ensure your PuTTY sessions NEVER time out again.
Whether you are a techie or a regular Internet user, it is very likely that you have come across the frustrating “500 Internal Server Error”. This article explains what it is exactly. It discusses what causes the error, and what may be done to fix it.
The regular plugin-based methods for noindexing pages may not work for files and the question becomes: How do we hide (noindex) files in WordPress from search engines? In this article, I explain a solution to this problem and I demonstrate with live example files how you can hide (noindex) other types of media like PDF and Excel files in WordPress.