Hi, I am Samgan, I know the adds are bit annoying but i hope you understand. Talking about me, I excel at solving complex problems involving logic and step by step breakdown of the problem. Besides, to develop complex algorithms, I specialize in problem framing, systems design, and product development strategy. Sometimes I also enjoy public speaking.  

I am also the creator of, 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.

May 28, 2019

#hosting #deployment #laravel

.Htaccess to remove public from laravel app

create a .htaccess file in the root of your project and paste the following code in the file.

Reading time: less than a minute
May 25, 2019

#cli #mysql

Command to import DB through the command line in MySQL

Reading time: less than a minute
May 20, 2019

#cli #git #vcs

Command to add remote origin on GIT

Reading time: less than a minute
May 15, 2019

#package #cakephp

Cristeena Documentation

Hello there, this is the official explanation documentation for project cristeen. In here we will discuss all the aspects for cristeen and how it can be used at her best for the development of the web application

Reading time: 1 minute
April 27, 2019

#cli #git #vcs

How to delete all the local branches but master

In the field development the count of branches reach form 1 to 40 50 in like no time. and most of then are of no use ones merged into the master. Its better to get rid of them but deleting them is a major pain in the ass.

Reading time: less than a minute
April 22, 2019

#javascript #validation #security

Client-side validation before uploading an excel file

Validation is one of the major parts of web development. But sometimes it can be a ball buster especially when it comes to validating file uploads.

Reading time: less than a minute
How to format file in PhpStorm
March 12, 2019

#php #ide #phpstorm

How to format file in PhpStorm

If you are habitual of writing a formatted code don’t worry it’s a good habit but when sometimes you get to debug files which are not formatted what so ever. In that case, it’s a headache to get things done in that sort of files.

Reading time: 1 minute
February 20, 2019

#hosting #deployment #cpanel #php

Steps to make your PHP application live in Cpanel (shared hosting)

Making an application live majorly depends on the type of hosting you are having along with the method to access you are provided for that hosting.

Reading time: 1 minute
December 20, 2018

#functionality #log #cakephp #php

How to make log daily in CakePHP 3.x

As you may know according to the default configuration of CakePHP the debug and error log is generated in the same file. But this can be changed in a few simple steps

Reading time: less than a minute
November 15, 2018

#sql injection #php #mysql #security

How to Sanitize Input in PHP

The inputs in Core PHP are venerable to what you call “SQL Injection”, to before putting them to use it’s a mandatory practice to sanitize them

Reading time: 1 minute