Image by annca from Pixabay

Following my post on Git and its basic definitions, I decided to bundle up some more articles about Git, this time with more advanced topics. While there is no shortage in posts about Git, I have collected those that are particularly interesting or entertaining to me. I'll keep updating the article as I find more interesting posts worth sharing.

Tutorials, Command Collections, & Tips Collections

How to Git — This is a detailed tutorial that is aimed at both beginners and advanced users. The tutorial starts with an explanation of what Git is, but it also lets you skip the introduction and get to the next…

This post isn’t going to explain theoretical concepts behind Git — a version-control system usually managed from the command line, though sometimes managed from a GUI (if we’re Windows programmers, which is me, sometimes). Neither is this a post with in-depth insights or sophisticated actions that can be done in Git and nor is it a post that explains Git and GitHub to non-programmers.

Then what is this? It’s a post in which I gathered basic Git settings that I apply when setting up Git on a new server. …

Imgae by Geralt from Pixabay

As if we don’t have enough regular bugs, there are — rarely, admittedly — some bugs that not only need to be fixed, but first need to be found. These are the “sometimes” bugs. And such a bug appeared one day in our Moodle site.

Sometime-Bug, (not so) Pleased to Meet You

It all started when we created in one of our Moodle sites a new type of user — a super-guest — that would be a registered-user mutation: it would be created dynamically when clicking the “Login as Guest” button, but would be deleted from the system after a limited time.

The system was already up…

Image by Johannes Plenio from Pixabay

After deploying one of our sites to production, my colleague wrote to me on Slack:

Look at the image at the bottom of the front page. In Test, the image is a rectangle, and in production, it’s square. How can that be? The Production code and images are an exact duplicate of the Test site’s code and images.

Image by Karsten Madsen from Pixabay

Say you have a WordPress site, where each post is an article that has been written by multiple writers. And say that the specification calls for a section on the site’s homepage that features information about three random authors, from any of the hundreds of posts on the site — the information being: the author’s name, their image, and a short biography.
That was a challenge I was faced with, and this post will follow the steps I took to solve it.

Lea Cohen

A web programmer in Israel . Mainly WordPress development, both back-end and front-end. I specialize in scaring bugs away.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store