Skip to content

Instantly share code, notes, and snippets.

console.log("hello");
/*
Create an algorithm to display all combinations of a given character set and length
Example:
Input:
character set: a, b, c
length: 2
import "./App.css";
import PropTypes from "prop-types";
import Wilder from "./Wilder";
const wilderArray = [
{
title: "new title 1",
name: "new name 1",
},
/*
* global. css
*/
body {
font-family: sans-serif;
color: #222;
margin: 0;
}
h1,
<div>
<header>
<div className="container">
<h1>Wilders Book</h1>
</div>
</header>
<main className="container">
<h2>Wilders</h2>
<section className="card-row">
<article className="card">
function returnsPromise() {
if (Math.random() * 100 > 50) {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve("okay");
}, 1000);
});
} else {
return new Promise((resolve, reject) => {
setTimeout(() => {
function doPost(e) {
MailApp.sendEmail("karim@kazoo.agency", "New lead", e.parameter.email);
return ContentService.createTextOutput('false');
}
<form id="leadForm" action="https://script.google.com/macros/s/AKfycbyd9b-t6PKBKZPrtKTNhG9fNUWHmPGjVg4VnhWIrKundTFlZLI/exec">
<input type="email" name="email" placeholder="Your email address">
<input type="submit" id="LeadFormSubmit">
</form>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var $form = $('#leadForm');