I was working on one Git branch and I wanted a file from another branch. Using git checkout, we can do this.
How to get your Genesis Child Theme to load style.css with a cache busting ver URL parameter based on the version defined in the header of style.css.
When posting a tweet with multiple links, I found Twitter used the last link for the Twitter Card despite what the documentation says.
When working with WP CLI, I often have data to output and instead of looking up how to do it each time, I wanted to make myself some notes.
A quick table of the differences in 301, 302, 303, and 307 Redirects.
I’ve written about using “git push –force-with-lease” instead of git push –force” because “force-with-lease” will only force push changes if your local copy is aware of all of the commits on the remote branch but how is git “aware” of the commits.
On a project I needed to redirect a URL based on the presence or absence of a URL parameter. This is the htaccess rule I added.
The Allow / Block popup in Google Chrome is an all too familiar sight when browsing the web, however this can be prevented. We can change the setting to automatically Block all location requests (they will not be able to see your location) without seeing the popup.
One of my posts was shared and it did not have an image for the Twitter Card. After I added an image for the Twitter Card, I had to clear the cached version on Twitter so the image would appear in tweets. This is how I cleared the cache and updated the image in the URL for Twitter.