Make delicious traditional bagels the way Polish Ashkenazi Jews do.
- 275g all-purpose flour
- 275g warm water
- 5g active dry yeast
| package com.chrisp.core.servlets; | |
| import java.io.IOException; | |
| import java.util.Iterator; | |
| import javax.jcr.Node; | |
| import javax.jcr.RepositoryException; | |
| import javax.jcr.Session; | |
| import javax.servlet.Servlet; |
| /* eslint-disable no-underscore-dangle */ | |
| // eslint-disable-next-line import/no-unresolved | |
| import { html, render } from 'https://unpkg.com/htm/preact/standalone.module.js'; | |
| function Latest(props) { | |
| return html` | |
| <h2>Latest Destinations</h2> | |
| <ul data-aue-type="container" data-aue-label="Latest Destinations"> | |
| ${props.destinations.map((item) => html`<li data-aue-type="reference" data-aue-label=${item.title} data-aue-resource=${`urn:aemconnection:${item._path}/jcr:content/data/master`} > | |
| <div class="latest-card-body"> |
| package com.chrisp.rde.core.servlets; | |
| import org.apache.commons.lang3.StringUtils; | |
| import org.apache.jackrabbit.api.binary.BinaryDownload; | |
| import org.apache.jackrabbit.api.binary.BinaryDownloadOptions; | |
| import org.apache.sling.api.SlingHttpServletRequest; | |
| import org.apache.sling.api.SlingHttpServletResponse; | |
| import org.apache.sling.api.resource.Resource; | |
| import org.apache.sling.api.servlets.OptingServlet; | |
| import org.apache.sling.api.servlets.SlingSafeMethodsServlet; |
| package com.chrisp.rde.core.servlets; | |
| import org.apache.commons.lang3.StringUtils; | |
| import org.apache.jackrabbit.api.binary.BinaryDownload; | |
| import org.apache.jackrabbit.api.binary.BinaryDownloadOptions; | |
| import org.apache.sling.api.SlingHttpServletRequest; | |
| import org.apache.sling.api.SlingHttpServletResponse; | |
| import org.apache.sling.api.resource.Resource; | |
| import org.apache.sling.api.servlets.OptingServlet; | |
| import org.apache.sling.api.servlets.SlingSafeMethodsServlet; |
| import { stdin, stdout, exit } from 'node:process'; | |
| import { parseArgs } from 'node:util'; | |
| import { default as auth } from '@adobe/jwt-auth'; | |
| import { default as fs } from 'fs'; | |
| const options = { | |
| 'file': { type: 'string' }, | |
| }; | |
| const { values } = parseArgs({ options }); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script> | |
| const host = 'http://localhost:4503'; | |
| const rootPath = '/content/dam/mycompany'; | |
| window.addEventListener("message", (event) => { | |
| if (event.origin !== host) { |
| import collections | |
| import sys | |
| Point = collections.namedtuple("Point",['x', 'y']) | |
| Command = collections.namedtuple("Command", ['direction', 'magnitude']) | |
| start_pos = Point(0,0) | |
| map = [[]] | |