Category: Programming

  • Testing: How to actually write tests?

    Testing: How to actually write tests?

    Write tests in Laravel using PHPUnit and the Given-When-Then pattern. I also explain how to use the “Red-Green-Refactor” approach with TDD.

  • How I Created My dotfiles

    How I Created My dotfiles

    In this blog post I share my story about how I created my dotfiles. What stopped me from making the decision to just go and create them before a disaster.

  • My Free Programming Course & Why It’s A Great Opportunity For You To Join

    My Free Programming Course & Why It’s A Great Opportunity For You To Join

    As promised in my previous post, I have partnered with one of the oldest community centers of Turbat, RCDC to teach programming basics to anyone with no prior experience with programming, for free. Yes, you read that right! What is RCDC? Rural Community Development Council Kech (RCDC) is a not-for-profit, which was established on 1972…

  • Why Am I A Junior Developer?

    Why Am I A Junior Developer?

    Let’s talk about why you might still be called a Junior Developer even after years and years working professionally and writing hundreds of lines of code in the past.

  • How To Add and Remove Tabs in Bootstrap 3 Dynamically?

    How To Add and Remove Tabs in Bootstrap 3 Dynamically?

    The code is compatible with Bootable 3.x Earlier today, I was working on a web application with Bootstrap and I was required to allow a user to add and remove tabs. Unfortunately Bootstrap doesn’t give you the close button on a tab out-of-the-box. So I quickly went to the Bootstrap’s Issues page on GitHub where…

  • jQuery – Prevent Multiple AJAX Requests

    jQuery – Prevent Multiple AJAX Requests

    Many times we do not want to take any other requests of the same type while one is still in progress. A normal post request looks something like: Suppose, if we call the function using a link, <a href=”javascript:doSignup()”>Signup</a> Someone does repeated clicks and an enormous amount of requests will be off their way to…