Skip to content

Instantly share code, notes, and snippets.

View deeshrestha's full-sized avatar

Deepak Shrestha deeshrestha

View GitHub Profile
@deeshrestha
deeshrestha / gist:d79507e9e70d3413e83610e37fee93f0
Created October 8, 2020 19:41
Disable Two Factor Authentication on Magento 2.4 For Localhost Installations
Two Factor Authentication on Magento 2.4 is a bit of pain for those who are testing out on thier localhost.
After successful installation, we can disable this feature by using these commands
--------------------------------------------------------
$ bin/magento module:disable Magento_TwoFactorAuth
$ bin/magento cache:flush
$ bin/magento setup:di:compile
--------------------------------------------------------
@deeshrestha
deeshrestha / bootstrap-4.blade.php
Created December 6, 2018 18:20
Bulma Blade Template For Laravel 5.7 Pagination
{{--
Laravel's default pagination html tags modifed to make Bulma CSS compatible paginator.
1. First run "php artisan vendor:publish --tag=laravel-pagination"
2. This command will place the views in the resources/views/vendor/pagination directory.
3. Replace text on "bootstrap-4.blade.php" with this code.
@deeshrestha
deeshrestha / default.blade.php
Last active December 6, 2018 18:16
Bulma Blade Template For Laravel Pagination (Upto Laravel 5.6)
{{--
Laravel's default pagination html tags modifed to make Bulma CSS compatible paginator.
1. First run "php artisan vendor:publish --tag=laravel-pagination"
2. This command will place the views in the resources/views/vendor/pagination directory.
3. Replace text on "default.blade.php" with this code.