This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package akka.streams | |
| import akka.Done | |
| import akka.stream.OverflowStrategies.{Backpressure, DropBuffer, DropHead, DropNew, DropTail, Fail} | |
| import akka.stream.{ | |
| Attributes, | |
| BufferOverflowException, | |
| Outlet, | |
| OverflowStrategy, | |
| QueueOfferResult, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import play.api.inject.Module | |
| import helpers.{MessagesApiWithCrowdin, MessagesApiWithCrowdinProvider} | |
| import play.api.i18n.{DefaultLangsProvider, Langs, MessagesApi} | |
| import play.api.inject.Binding | |
| import play.api._ | |
| //possibly some imports are missing | |
| class AppStartModule extends Module { | |
| override def bindings(environment: Environment, configuration: Configuration): Seq[Binding[_]] = { | |
| Seq( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const path = require( 'path' ); | |
| const express = require( 'express' ); | |
| const app = express(); | |
| const blc = () => { | |
| let err = 0 | |
| const blc = require('broken-link-checker') | |
| const siteChecker = new blc.SiteChecker({}, { | |
| robots: function(robots, customData){}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ajv from "ajv"; | |
| import { describe, expect, test } from "@jest/globals"; | |
| import { schemaGenFromMustacheTemplate } from "./mustacheSchema"; | |
| interface TestGen { | |
| name: string; | |
| template: string; | |
| schema: Record<string, any>; | |
| expectedError: string | null; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // example sheet: https://docs.google.com/spreadsheets/d/18t70uIadx4muvnrMEzXDi2SeTwJsRs7QvdNq4k0v6mE/edit?usp=sharing | |
| // shortcut: https://www.icloud.com/shortcuts/a0b98e0402bd44448ae2e4d8f69bc09d | |
| // generate a random string here just in case | |
| const API_KEY = ""; | |
| /** | |
| * Entry point for POST requests | |
| */ | |
| function doPost(e) { |
OlderNewer