Sumit Talwar @sumittalwar
146 Total Points
0 Best Answers
3 Posts
3 Snippits
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
(...)
0
0
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
(...)
0
0
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. (...)
0
0
7575
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')
(...)
0
0
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
3872
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.
0
0
8022
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
3951
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 (...)
0
1
5554