mohammed-samgan-khan

Hi, I am Samgan, I excel at solving complex problems involving logic and step by step breakdown of the problem. Besides, to develop complex algorithms, I specialise in problem framing, systems design, and product development strategy. Sometimes I also enjoy public speaking.  

I am also the creator of penit.ink, a site which provides young writers with a free hand place to show their creation to the world. Irrespective of the niche, if you write this place is defiantly for you.

November 16, 2021

#file-upload #laravel #tricks

File Upload Made Easy in Laravel

as per me the best approach is to put the entire path of the file in database, instead of just putting the name of the uploaded file.

Reading time: less than a minute
November 02, 2021

#laravel #tricks #eloquent

Approach to Handle Complex queries in laravel

I am familiar with the love of Eloquent among the laravel community but sometimes, sometimes its better to go for raw queries. Its saves you a lot of time and trouble.

Reading time: 1 minute
create-express-boilerplate to create new API projects in a secs
October 25, 2021

#express js #npm #deployment #api #node #node js #javascript #npx #boilerplate

create-express-boilerplate to create new API projects in a secs

Initiating a new project is as exciting as frustrating. Going through all the routine work just to get the basic engine started, yaa I know the pain.

Reading time: less than a minute
July 27, 2021

#mobile #jdk #android

Installing JDK in Ubuntu for Android Studio

Installing android studio is a pain in the Ass, and installing it dependencies is a level up to that. The most complex among those is the JDK one.

Reading time: less than a minute
March 25, 2021

#deployment #git

How to Deploy using Git

Deployment is an integral part of development cycle. It can be a tough job or can be as simple job as running few commands if done by via Git.

Reading time: less than a minute
March 24, 2021

#express js #node #node js #sequelize #mysql

How to create model association in Sequelize - express JS / Node JS

In the very initial days of my work in Node JS if faced this issue. Though Sequelize provide a great ORM for MySQL but the association within the models is a bit tricky.

Reading time: 2 minutes
February 13, 2021

#express js #node #node js #post #forms

How to get form data in post request in Express JS - Node JS

if you are starting new with Node JS, you will probably face this problem, while submitting the form to a post URL.

Reading time: less than a minute
February 03, 2021

#express js #api #node #node js #web services

How to get post data in json in express JS APIs - Node JS

Thought it sounds simple and straight forward, this thing killed a lot of my time at the initial time of getting into node JS.

Reading time: less than a minute
December 10, 2020

#cli #deployment #composer #php #laravel

Creating a Deployment script to make the Deployment Easy

Deployment script for laravel project

Reading time: 1 minute
November 02, 2020

#tricks #css

CSS to Hide elements in different devices in responsive designs

showing and hiding of the elements across different devices of different sizes is a real pain in the a**. Here are the bootstrap classes you can use to show hide elements which might come in handy.

Reading time: less than a minute