Skip to content

Instantly share code, notes, and snippets.

View lexyking's full-sized avatar
👁️
Laus Deo !

Joan Yassi lexyking

👁️
Laus Deo !
  • London
View GitHub Profile
@lexyking
lexyking / SketchSystems.spec
Last active March 10, 2020 11:49
Trial getting help component
Trial getting help component
Create a new tab in the sidebar
When hovering on the tab -> Open help modal
Open help modal
create three components
the title
hard coded the title
the videoSection
one helpOption component rendered three times with different values for the text and the side video
the bottom navigation
@lexyking
lexyking / SketchSystems.spec
Created March 6, 2020 15:46
My Awesome Sketch
My Awesome Sketch
Get connector name
Find connector name from webhook response -> Fetch from artisan the operations and the triggers
Fetch from artisan the operations and the triggers
Artisan returns connector response -> Save data on contentful with is service trigger and artisan fields
Artisan does not have this connector -> Save data on contentful with not is service trigger and empty artisan fields
Save data on contentful with is service trigger and artisan fields
Save data on contentful with not is service trigger and empty artisan fields
@lexyking
lexyking / plink-plonk.js
Created February 17, 2020 09:52 — forked from tomhicks/plink-plonk.js
Listen to your web pages
@lexyking
lexyking / ContactForm.js
Created July 14, 2019 04:58 — forked from elitan/ContactForm.js
React Router V4 Redirect after form submission
import React, { Component } from 'react';
import {
withRouter
} from 'react-router-dom';
class ContactForm extends Component {
submitForm (e) {
e.preventDefault()
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Cake today</title>
<style id="jsbin-css">
/* Base styles */
body {
background-color: #ddd;
/* Welcome to the JS quiz!
*
* This is to help mentors know what we need to do better.
*
* You are welcome to use MDN to check syntax: https://developer.mozilla.org
*/
/* Question 1
*
* Write a function that takes two numbers and returns the the largest number of the two.