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.
Many people play with PHP without necessarily being professional developers. For such people, package managers may make coding seem too complicated. This article shows how to bypass the Composer barrier when installing Composer-dependent PHP packages.
Code snippets to restrict authors and contributors of multi-author WordPress websites. The first piece of code prevents them from seeing content assigned to other users. The second ensures that users can only see post counts of their own content.
Generally, when writing code to communicate with web services in C#, the usual process is to add a service reference. Visual Studio then automatically creates all the wrapper classes/objects for you that you need in order to talk with the service. However, sometimes, you want greater control. This article explains and gives you the code needed to work with a regular SOAP based web service without adding a reference.
Blocking of third-party tracking scripts like Google Analytics using ad blockers and tools like Ghostery is one way people attempt to protect their privacy on the Internet. This is great. However, when Google Analytics is missing, some critical piece of website functionality may break. This article explains a common scenario where this may happen and demonstrates a workaround that webmasters can implement to prevent the problem.