When integrating WooCommerce with the Genesis theme framework, you will very likely encounter a number of layout and/or styling issues. This article provides short code snippets and instructions to help you resolve the issues in no time.
I code in several different programming languages and I post content relevant to the different languages on this website. Software development tools and languages evolve very dynamically. What's hot today may be forgotten tomorrow. So, categorizing my content based on language is not very practical. Instead, I use client-server labeling to categorize my work with various programming languages. This section holds content that I consider to be back-end (or server-side) programming.
This WordPress Password Hash Generator uses the official WordPress hashing function wp_hash_password() behind the scenes. With this tool, you can convert a password to its hash code (or hash sum or checksum), which can then be used to set a new password directly in the WordPress MySQL database.
Use this solution for uploading files to any REST endpoint using C#. Unlike the WebClient.UploadFile method from the .NET framework, this technique allows you to pass custom parameters that may be required by your API.
CMD (or batch) script that helps you quickly reset the SharePoint timer service, the SharePoint administration service, and Internet Information Services (IIS). Works without modification for On-Premise versions of SharePoint 2010, SharePoint 2013, SharePoint 2016, and SharePoint 2019.
Say you have a SharePoint workflow which runs whenever a list item changes (ItemUpdated). You also have some custom code to do some manipulation on the same list item at the end of which you need to perform an item update using one of the SPListItem update methods: Update(), Systemupdate() and UpdateOverwriteVersion(). You will quickly notice that this update will trigger another instance of the workflow for this item once the current workflow terminates. You have just hit an infinite loop.
When dealing with event receivers in SharePoint custom code, we use the BeforeProperties and AfterProperties to get a hash table of properties consisting of string/value pairs that correspond to fields in the SPItem object before and after the event occurred respectively.