Skip to content

Instantly share code, notes, and snippets.

View JohnnyWalkerDigital's full-sized avatar

Johnny Walker JohnnyWalkerDigital

  • Secret Cinema
  • London, UK
View GitHub Profile
-- -------------------------------------------------------------------------- --
-- 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
@JohnnyWalkerDigital
JohnnyWalkerDigital / mailChimpEmbeddedForm.scss
Last active January 22, 2021 18:36
MailChimp - Embedded Signup Form CSS Fields
// https://mailchimp.com/help/css-hooks-for-customizing-forms
// Container for form
#mc_embed_signup {
#mc-embedded-subscribe-form {
}
div.mc-field-group {
@JohnnyWalkerDigital
JohnnyWalkerDigital / laravel-password-reset.md
Last active August 31, 2021 07:21
Laravel: Fix password reset (User email not sent)

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:

@JohnnyWalkerDigital
JohnnyWalkerDigital / laravel_email_reset_fix.md
Last active October 11, 2022 13:18
Laravel: Setting up password reset to work as expected

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: