Skip to content

Instantly share code, notes, and snippets.

View BurningDog's full-sized avatar

Roger Saner BurningDog

View GitHub Profile
@BurningDog
BurningDog / SketchSystems.spec
Last active July 27, 2023 12:27
Quote this Woman Plus Expert and Media Profile states
Quote this Woman Plus Expert and Media Profile states
Onboarding
Expert has completed onboarding -> Ready to review
Ready to review
Jordan begins reviewing -> In review
In review
Jordan has completed reviewing -> Ready to publish
Ready to publish
Kath published -> Published
Published
@BurningDog
BurningDog / SketchSystems.spec
Last active July 27, 2023 12:27
Quote This Woman Plus Onboarding
Quote This Woman Plus Onboarding
Sign up as media -> Media sign up
Sign up as expert -> Expert sign up
Expert sign up
Step 1 - Join our family of sources
Create profile -> Step 2 - Login credentials
Step 2 - Login credentials
Create account -> Create User
@BurningDog
BurningDog / SketchSystems.spec
Last active March 14, 2023 09:52
MSC Manual Booking
MSC Manual Booking
GOTO -> Populate MscCruiseBooking from MscRetrieveBooking response
Enter MSC booking number
Create manual booking -> Make Manual Booking
Make Manual Booking
Does booking exist?
Yes -> End
No -> MSC API 3 Retrieve Booking
End
MSC API 3 Retrieve Booking
@BurningDog
BurningDog / readme.md
Last active June 21, 2021 11:29
Setup for running your first Laravel site

This assumes that you have never run Laravel on your machine. If you're on Windows, stop reading this and install Homestead - it provisions a virtual machine with all of the necessary software installed.

  • Install homebrew - https://brew.sh/
  • Install composer - https://getcomposer.org/download/
  • Make sure you can open a terminal and run composer. If not, make sure it's linked to your path. If you don't know what that means, follow the next step and ask me for help!
  • brew install tmate so I can ssh into your laptop occasionally to debug and help
  • Install php - brew install php
  • Use a specific version of php (if necessary) - e.g. php 7.4 - valet use php@7.4
  • Install valet - composer global require laravel/valet
  • Set up valet: valet install
@BurningDog
BurningDog / SketchSystems.spec
Last active June 15, 2021 08:21
Tee sheet slot&
Tee sheet slot&
Availability
Available
Select slot -> Locked
Unavailable
Admin makes slot available -> Available
Admin deletes slot -> Slot deleted
Slot deleted
Note - admin can create a new slot
Vending Machine*
Inactive
Switch On->Active
Active
Switch Off->Inactive
New Order
Select New Snack->Show Price
Timeout?->Inactive
@BurningDog
BurningDog / SketchSystems.spec
Created April 13, 2021 15:40
View list of trains
View list of trains
Click on search box -> Open filter
Open filter
Enter options
Enter departure location
Enter destination
Click search -> Filtered list
Filtered list
@BurningDog
BurningDog / SketchSystems.spec
Last active November 10, 2020 09:24
Awareness
Awareness
Visits Hupla Hubspot website -> Consideration
Consideration
Register on Hupla Hubspot website -> subscriber
Click book button -> Unregistered user
subscriber
a certain amount of time on the website -> marketingqualifiedlead
visiting a certain page on the website -> marketingqualifiedlead
Initial
Cruise has space -> Booking
Cruise does not have space -> Delete booking
Booking
Proceed to Checkout -> Checkout
Checkout
Proceed to Payment -> Payment
Checkout timeout -> Cart timeout
@BurningDog
BurningDog / ApiMocks.php
Created October 20, 2020 07:46
Mocking an API in php
<?php
namespace App\Tests\Mocks;
use Exception;
class ApiMocks
{
protected static $mockResponses = [];