Duplicate or Clone a database record with Laravel
Have you ever needed to duplicate a database record? Laravel provides a very handy function for this called replicate which will take an Eloquent model and make a copy so you can then make...
Have you ever needed to duplicate a database record? Laravel provides a very handy function for this called replicate which will take an Eloquent model and make a copy so you can then make...
PHP 8 has been released and it have some major updates. There is many new features and optimizations including union types, constructor property promotion, named arguments, attributes, match expression, JIT, nullsafe operator and improvements...
While working on a project, I tried to pull code and got git error “fatal refusing to merge unrelated histories”. This error occurs when two unrelated projects are merged those have mismatched commit histories....
I was working on a symfony2 project in which I have to place watermark on images. I used ImageMagicK extension, it’s called as Imagick in PHP. I had found some difficulties while installation and...
Update AWS Amplify Auth I am developing applications using ReactJs and AWS Amplify. In a project I need to update amplify auth to add admin queries API. There is a command for this in...
JupyterLab is the web based interface for Jupyter. JupyterLab enables you to work with documents and activities such as Jupyter Notebooks. In this post we are going to use this for Jupyter Notebooks. For...
In this article, I will show you how you can change AWS Amplify Auth UI for SignUp. AWS Amplify makes it easy to develop mobile and web applications. Its framework which manages and easily...
In this article we will see different ways to check if item exists in list or not. Suppose we have following list. Check string “cd” exists in list or not by following condition. We...
Dates are usually used in every project, like to save data in db, generating reports etc. Sometime we also need to add or subtract from any specified date to get next or previous date....
WordPress has released its new version in December 2018. WordPress has updated “Screen Options” in their new version. “Screen Options” is the panel that appeared on “add/edit” pages and posts to give some extra...
More