Sumit Talwar

Sumit Talwar @sumittalwar

146
0
3
3

Activities

Run the following commands to fix the error and recover history to a new file:

cd ~
mv .zsh_history .zsh_history_old
strings .zsh_history_old > .zsh_history
fc -R .zsh_history

(...)

Create your own Base64 and Base64 Image Validator using following snippet:

<?php

namespace App\Providers;

use Illuminate\Support\Facades\Validator;
use Illuminate\Support\ServiceProvider;

class
 (...)

Create API Authentication with Laravel Passport

In this article, we'll see how to implement restful API authentication using Laravel Passport. You should have experience working with Laravel as this is not an introductory tutorial. (...)
Sumit Talwar
Create API Authentication with Laravel Passport
0
0
6893

You can use use .is(":hidden") or .is(":visible").

Example:

<div id="div1" style="display:none">
  <div id="div2" style="display:block">Div2</div>
</div>

if ( $(element).css('display')
 (...)

How to change the URI for a remote Git repository?

Asked by Sumit Talwar ·
I have migrated the remote repository to another host, So, I need to change the remote’s URL. So, please guide how to change the URL of a Git remote?
0
2
3417

How to create Stored Procedures in PostgreSQL with example?

In this post, you will learn how to use the CREATE PROCEDURE statement to create new stored procedures in PostgreSQL.
Sumit Talwar
How to create Stored Procedures in PostgreSQL with example?
0
0
7284

How to find files containing specific text in Linux?

Asked by Sumit Talwar ·
I'm trying to figure out how to scan my whole Linux system for all files containing a particular string of text. This ability to discover text strings in files would be very helpful (...)
0
2
3532

Add Two-Factor Verification via Email in Laravel Auth

In this article, we are going to take a look at how we can implement Two-Factor Verification in our Laravel application in truly simple steps. Likewise, we will utilize email as (...)
Sumit Talwar
0
1
4781