Skip to content

Instantly share code, notes, and snippets.

Avatar

Johnny Walker JohnnyWalkerDesign

View GitHub Profile
View mgsv_tpp_nuclear_disarmament_dump.lua
-- -------------------------------------------------------------------------- --
-- in: TppDefine.lua
-- -------------------------------------------------------------------------- --
-- list of cutscenes available upon returning to mother base
-- ordered by priority
_.MB_FREEPLAY_DEMO_PRIORITY_LIST={
"GoToMotherBaseAfterQuietBattle", -- quiet's heli fight
"ArrivedMotherBaseAfterQuietBattle", -- quiet's arrival
@JohnnyWalkerDesign
JohnnyWalkerDesign / laravel-password-reset.md
Last active Aug 31, 2021
Laravel: Fix password reset (User email not sent)
View laravel-password-reset.md

Here's how to overcome this common gotcha: The default password reset system not working out of the box with Laravel 5.x (as you're not sent the user's password), without having to alter altering vendor/core. Here's how to make it work as you'd expect it to without changing any vendor files.

1. Create own notification

Firstly create a new notification for your app:

php artisan make:notification ResetPassword

Then open the newly created file: app\Notifications\ResetPassword.php and make the following changes:

@JohnnyWalkerDesign
JohnnyWalkerDesign / laravel_email_reset_fix.md
Last active Aug 5, 2022
Laravel: Setting up password reset to work as expected
View laravel_email_reset_fix.md

Here's how set your password reset experience so that the user doesn't have to enter their email address... without altering vendor/core - tested with Laravel 5.8 (should be fine with later versions, too):

1. Create own notification

Firstly create a new notification for your app:

php artisan make:notification ResetPassword

Then open the newly created file: app\Notifications\ResetPassword.php and make the following changes:

@JohnnyWalkerDesign
JohnnyWalkerDesign / mailChimpEmbeddedForm.scss
Last active Jan 22, 2021
MailChimp - Embedded Signup Form CSS Fields
View mailChimpEmbeddedForm.scss
// https://mailchimp.com/help/css-hooks-for-customizing-forms
// Container for form
#mc_embed_signup {
#mc-embedded-subscribe-form {
}
div.mc-field-group {