Mohamed Said's Journal

Web Developer, cyclist, and freediver.
Posted on October, 22 2018 - 1 min Read

Host your own content

Yesterday my friend Eric Barnes shared a piece on his blog where he recommends hosting your own content instead of relying on Medium. I've always wanted to talk about that. Specially that Medium is blocked in my country for over 2 years now, which makes me...

I just discovered a new passion for UI/UX design

I've always been trying to avoid dealing with design decisions and only get myself involved in code. It's just too hard to make things look...

Posted on Oct 21, 2018 - 1 min Read

Why I decided to stop pro training for Freediving

The next few days after I had my collarbone surgery I wasn't able to get long sleeping hours. I kept waking up every...

Posted on Oct 20, 2018 - 2 mins Read

Testing Artisan Commands in Laravel 5.7+

Laravel 5.7 comes with a pretty neat way for testing console commands. Let's see what our tests might look like.

Posted on Aug 25, 2018 - 1 min Read

I Broke My Collarbone... Here's The Story

On July 22nd, I took my bike out for a ride, crashed 5 minutes away from home and broke my right collarbone. I wasn't doing...

Posted on Aug 20, 2018 - 4 mins Read

My money dilemma

My father made terrible money mistakes in the past, my nightmare is that I’ll end up making the same mistakes because I generally think like...

Posted on Apr 15, 2018 - 1 min Read

Better 404 responses using Laravel 5.5+

Laravel 5.5.10 is shipped with two useful router methods that'll help us present better 404 pages for our users...

Posted on Sep 21, 2017 - 2 mins Read

Persisting Redis data on disk

Redis data lives in memory, that makes it is very fast to write to and read from, but in case of server crashes you lose...

Posted on Aug 9, 2017 - 2 mins Read

Using Laravel Mailables and Notifications as Event Listeners

Most of the time we send alerts to our app users when a specific event happens, for example we send an invoice on a new...

Posted on May 16, 2017 - 1 min Read

Conditionally pushing event listeners to queue

Here's the situation, you're building an online store that should handle thousands of orders every day, one of the cool things about this store is...

Posted on May 5, 2017 - 1 min Read

How losing hope is one way of getting better

Last year I realised that losing hope isn’t a bad thing:People think it’s shameful to lose hope, I learned that the sooner you lose hope...

Posted on Jan 18, 2017 - 1 min Read

Laravel/MySQL JSON documents faster lookup using generated columns

laravel 5.3 is shipped with built-in support for updating and querying JSON type database fields, the support currently fully covers MySQL 5.7 JSON type fields updates and lookups, this allows us to have the following...

Posted on Jul 9, 2016 - 1 min Read

Conditionally adding instructions to laravel's query builder

How to conditionally push extra instructions to the query builder using the same fluent syntax that you love.

Posted on Apr 25, 2016 - 1 min Read

Building and testing Artisan Commands

While building the Laravel Langman package I was facing some difficulties trying to figure out how to test a console command that interacts...

Posted on Apr 9, 2016 - 7 mins Read

MySQL JSON data type decoded

In this post we are going to explore the new MySQL 5.7 JSON Data Type. While diving into the topic we are going to use Laravel's fluent query builder.

Posted on Mar 11, 2016 - 2 mins Read

Eliminate the noise & hear the little voices

I always believe in letting my product do the talking, I find myself unable to express what I’ve been doing or am doing, during meetings...

Posted on Feb 6, 2016 - 1 min Read

The sad fact about everyone I know leaving Egypt

In the past few months I said goodbye to many of my friends and colleagues who used to work in the tech/startup field in Egypt,...

Posted on Dec 24, 2015 - 1 min Read

How leaving school made me a better learner

It all started as a traditional story, I left school because I had to work to support my family, back then I didn’t feel special...

Posted on Dec 11, 2015 - 3 mins Read

We don’t want our child to be born on the wrong side of the wall

I can never say my childhood was bad, It was lovely indeed, I was able to do all the activities a child or a teenager...

Posted on Dec 8, 2015 - 1 min Read

Built Using Wink