Sohail @sohail
293 Total Points
0 Best Answers
2 Posts
11 Snippits
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
(...)
0
0
To resolve the issue:
- Confirm MySQL is configured for port 3307.
- Check MySQL server status:
mysqladmin -u root -p -h 127.0.0.1 -P 3307 status
. - Update
mysqldump
(...)
0
0
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
11709
You can extend the Validator class.
But anyway try this
Validator::extend('is_png',function($attribute,
(...)
0
0
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 (...)
0
0
12013
1
0
8075
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')
(...)
0
0
The Illuminate\Mail\Mailable::attach()
method returns $this
, you just have to chain it:
/**
* Build the message.
*
* @return $this
*/
public function build()
{
(...)
0
0
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, (...)
0
0
3966