Skip to content

Instantly share code, notes, and snippets.

View meditto's full-sized avatar

Mohamed Djelaili meditto

View GitHub Profile
@meditto
meditto / machine.js
Created June 5, 2021 23:34
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@meditto
meditto / server.ts
Created March 2, 2020 19:19
use SSL on Adonis 5 dev server
/*
|--------------------------------------------------------------------------
| AdonisJs Server
|--------------------------------------------------------------------------
|
| The contents in this file is meant to bootstrap the AdonisJs application
| and start the HTTP server to accept incoming connections. You must avoid
| making this file dirty and instead make use of `lifecycle hooks` provided
| by AdonisJs service providers for custom code.
|