It was all in my head and resulted in 4 eternal lessons

Photo by Arek Adeoye on Unsplash

I’m always trying to learn and get better as a developer and even after 3 years as a front-end developer I’ve found some unusual ways that don’t include coding to do this. One of those ways is running. But does running have to do with coding?

If you’re here for the TL;DR — a lot of coding is about building the mindset that helps you overcome even the highest of barriers. It's the ability to believe that you can achieve.

A little background

I liked to think that I was physically fit and after having done a couple of on and off years…

It saved me hours if not days

Photo by Markus Spiske on Unsplash

The Problem

I had some trouble with one of my WP blogs and it turned out I needed to white list some IP addresses. Little di I know that my service provider sent me a .txt file with over 4000 lines of IP addresses 😱.

I had to go into my .htaccess file and add those IP addresses with the word allow from in front of all of them. That was going to take me days!

What I thought I could do

I could have manually added allow from to every single line but it was over 4000 lines and that…

Photo by Avinash Murugappan on Unsplash

Building a palindrome checker was one of the first projects I built and added to my GitHub profile whilst looking to land my first job as a front-end web developer. At first, it seemed daunting but it wasn’t very hard. In this post, I’m going to show you exactly how I did it.

What is a Palindrome?

A word, phrase, or sequence that reads the same backwards as forwards, e.g. madam or nurses run.

Our Requirements or Acceptance Criteria (AC)

As a USER,
I want to type a word, phrase or sequence into the input,
So that I can see if that word is a palindrome.
As a USER,
I want

Photo by Ryan Snaadt on Unsplash

As developers, it's important to keep learning and one of the best ways to learn is by learning from others. And so I was recently placed on a project led by a senior developer (a contractor) with 10+ years of experience. My excitement level went through the roof as this present me with the perfect opportunity to grow.

But instead, it made me want to quit coding! Let’s talk about what happened.

Project Summary

In this project, we were creating a client login portal in which the clients with different access levels (e.g. admin, support, etc) are able to select dates/times and…

Photo by Markus Spiske on Unsplash

As a new developer searching for jobs means reading through a list of requirements and I’ve noticed common skillsets come up. The use of Third Party API’s/REST seems to be quite popular so it's important to know how to call an API and use its data.

tl;dr: Skip to the Use Case Example subheading to see calling an API in action.

What is a Third Party API?

“Third-party APIs are APIs provided by third parties — generally companies such as Facebook, Twitter, or Google — to allow you to access their functionality via JavaScript and use it on your site” — MDN

There are lots of…

Photo by Micheile Henderson on Unsplash

Cryptocurrency has been around for a while and the value of the most popular ones has grown exponentially especially over the last year. I personally never invested in cryptos until very late last year (2020) — was it too late? I still made some money but in the process, I learned so much.

Here’s what I learned:

Firstly Is it too late? 😕

As of writing the price of Bitcoin (the most popular currency) is approximately £30,000 while Etherium ( the second most popular currency) is almost £1000.

That sounds like a lot and can easily deter anyone from buying. I know it deterred me and…

Photo by Max Duzij on Unsplash

I recently wrote a post on the 17 most common git commands you should know as a junior developer. That’s a lot to remember!

I also wrote a post on How to navigate to common files with just ONE command

We can actually combine both of these to become even more productive and at the same time look like a git wizard.

Create your own git commands using aliases

What I use to do

/** I want to stage and commit all my changes, merge in the latest from develop and then push up to the remote repo */git add .
git commit -m…

Photo by Mazaher Muraj

Let’s just get down to business

  1. Open your terminal
  2. cd ~/ this will take you to your home
  3. touch .bash_profile
  4. Then open it typing open .bash_profile. If you are not in your home directory at any time you can open it with this command open ~/.bash_profile

Whenever you make a change to your .bash_profile make sure to run this command to update it

source ~/.bash_profile

I hope this helps!

Photo by Yancy Min on Unsplash

Remembering git commands can be tricky at all stages of your career but especially when starting out as a junior developer. I’ve been developing for almost 3 years but still do a quick google search at times.

That’s why I’ve compiled a list of the 17 git commands every junior developer should know. Here goes…

1. Check which changed files in your project haven’t yet been staged or committed.

git status

2. Check your changes before committing them

git diff

3. Stage your files to be committed

Add a single file

git add <file-name>

Add all files

git add .

4. Commit your files ready to be pushed

git commit -m '<add commit message here>'

5. Unadd the files you have staged

git reset

6. Save your changes for later without committing them

git stash

7. Get your stashed changes back

git stash pop

8. Push your branch up to the remote repo

git push

9. Download the latest changes without integrating them into your project

git fetch

10. Download the latest changes AND integrate them into your project

git pull

11. Check which branch you’re on

git branch

12. Branch off the current branch and create a new one

git branch <new-branch-name>

13. Move from branch to branch

git checkout <branch-name>

14. Branch off the current branch, create a new one, and move to that branch

Photo by Goran Ivos on Unsplash

When I started coding, I wanted to stay organized. That’s why I created a folder called projects on my desktop and within my projects folder, I created a bunch of different project folders depending on what I was working on at the time. Makes sense right?

I soon realized it became a pain using the terminal to navigate into my projects.


In this post, I’ll show you how to navigate to your folders quickly. If you just want to know how then scroll down to the Here’s how you can do it too section below.

Here’s what I use to do

  1. Open the terminal
  2. cd desktop/projects/<project-name>

Mazaher Muraj

A frontend developer with a passion for Javascript and React. I write on Medium to learn from others and share what I've learned along the way

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