Sohail

Sohail @sohail

293
0
2
11

Activities

To fix the 'Git index.lock' error during commit, check for the lock file with ls project_path/.git/index.lock, change ownership using `sudo chown -R your_username:your_group (...)

To resolve the issue:

  1. Confirm MySQL is configured for port 3307.
  2. Check MySQL server status: mysqladmin -u root -p -h 127.0.0.1 -P 3307 status.
  3. Update mysqldump (...)

How to fix corrupt history file .zsh_history?

Asked by Sohail ·
On open terminal, I am getting this error: zsh: corrupt history file /home/harish/.zsh_history This is not allowing search back through the history with CTRL+R and editing previous (...)
0
1
11587

You can extend the Validator class.

Laravel Doc

But anyway try this

Validator::extend('is_png',function($attribute,
 (...)

Difference between Laravel $request->input(), $request->get(), and $request->name direct property

If you’ve been around Laravel for a while, you might have seen there are three ways in controllers to retrieve inputs from the submitted form. For example, if you are trying (...)
Sohail
0
0
11876

You can use the hidden selector:

// Matches all elements that are hidden
$('element:hidden')
And the visible selector:

// Matches all elements that are visible
$('element:visible')

(...)

The Illuminate\Mail\Mailable::attach() method returns $this, you just have to chain it:

/**
 * Build the message.
 *
 * @return $this
 */
public function build()
{
 
 (...)

Sending Email in Laravel using Gmail SMTP Server

In this post, we talk about how to send email using the Gmail SMTP server in Laravel. Well, there's no uncertainty the need to send emails in your web application will emerge, (...)
Sohail
Sending Email in Laravel using Gmail SMTP Server
0
0
3875