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
FROM mcr.microsoft.com/devcontainers/javascript-node:1-20-bullseye | |
# [Optional] Uncomment this section to install additional OS packages. | |
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | |
# && apt-get -y install --no-install-recommends <your-package-list-here> | |
# [Optional] Uncomment if you want to install an additional version of node using nvm | |
# ARG EXTRA_NODE_VERSION=10 | |
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}" |
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 chai, { expect } from 'chai'; | |
import chaiAsPromised from 'chai-as-promised'; | |
import sinon from 'sinon'; | |
import { afterEach } from 'mocha'; | |
chai.use(chaiAsPromised); | |
const urlToResultMapping = new Map<string, any>(); |
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 com.example.starter; | |
import static org.junit.jupiter.api.Assertions.assertEquals; | |
import org.apache.logging.log4j.LogManager; | |
import org.apache.logging.log4j.Logger; | |
import org.junit.jupiter.api.BeforeEach; | |
import org.junit.jupiter.api.Test; | |
public class TestMain { |
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
'use strict'; | |
module.exports = { | |
spec: ['test/**/*.spec.ts'], | |
}; |
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
html { | |
font-family: 'Futura', Roboto, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
} | |
body { | |
margin: 0; | |
font-family: 'Futura', 'Jetbrains Mono', Roboto, 'Segoe UI', Tahoma, Geneva, | |
Verdana, sans-serif; | |
background: white; | |
} |
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 com.notessensei.demo; | |
import static org.junit.jupiter.api.Assertions.*; | |
import java.util.stream.Stream; | |
import com.hcl.tests.UnitTest; | |
import org.junit.jupiter.api.AfterEach; | |
import org.junit.jupiter.api.Assertions; | |
import org.junit.jupiter.api.BeforeEach; | |
import org.junit.jupiter.params.ParameterizedTest; | |
import org.junit.jupiter.params.provider.Arguments; |
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 com.notessensei.legacy.sync_async; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.atomic.AtomicBoolean; | |
import io.vertx.core.AbstractVerticle; | |
import io.vertx.core.Future; | |
import io.vertx.core.Promise; | |
import io.vertx.core.Vertx; | |
import io.vertx.core.eventbus.Message; |
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 Nano = require("nano"); | |
const { Writable, Transform } = require("stream"); | |
const exportOneDb = (couchDBURL, resultCallback) => { | |
const nano = Nano(couchDBURL); | |
nano | |
.listAsStream({ include_docs: true }) | |
.on("error", (e) => console.error("error", e)) | |
.pipe(lineSplitter()) | |
.pipe(jsonMaker()) |
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
/** | |
* ========================================================================= * | |
* Copyright (C) 2006, 2007 TAO Consulting Pte <http://www.taoconsulting.sg/> * | |
* Copyright (C) 2011 IBM Corporation ( http://www.ibm.com/ ) * | |
* Copyright (C) 2020 HCL ( http://www.hcl.com/ ) * | |
* All rights reserved. * | |
* ========================================================================== * | |
* * | |
* Licensed under the Apache License, Version 2.0 (the "License"). You may * | |
* not use this file except in compliance with the License. You may obtain a * |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | |
xmlns:w="http://schemas.xmlsoap.org/wsdl/" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:tns="urn:enterprise.soap.sforce.com" | |
xmlns:fns="urn:fault.enterprise.soap.sforce.com" | |
xmlns:ens="urn:sobject.enterprise.soap.sforce.com" | |
exclude-result-prefixes="xs" |
NewerOlder