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 ru.bis.integration.regognition; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.net.Authenticator; | |
import java.net.HttpURLConnection; | |
import java.net.PasswordAuthentication; | |
import java.net.URL; |
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 fastify = require('fastify')() | |
const path = require('path') | |
fastify.register(require('fastify-static'), { | |
root: path.join(__dirname, 'dist'), | |
}) | |
fastify.setNotFoundHandler(function (request, reply) { | |
reply.sendFile('index.html') | |
}) |
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
#!/usr/bin/env node | |
console.log('Hi There!') |
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 { Node, Project, SourceFile, SyntaxKind, ImportDeclaration, ImportSpecifier } from 'ts-morph'; | |
import * as path from 'path'; | |
const SRC_ROOT_DIR = process.argv[2];; | |
const project = new Project({ | |
tsConfigFilePath: path.resolve(SRC_ROOT_DIR, 'src', 'tsconfig.app.json'), | |
skipLoadingLibFiles: true, | |
skipFileDependencyResolution: true, |
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
|