Sohail

Sohail @sohail

272
0
2
11

Activities

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
361

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
739

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
998

Use this:

git remote set-url origin git://new.location

Alternatively, open .git/config, look for [remote "origin"], and edit the url = line.

You can check it worked (...)