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 main | |
import ( | |
"context" | |
"encoding/csv" | |
"fmt" | |
"log" | |
"os" | |
"strings" | |
"sync" |
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
Black: \u001b[30m | |
Red: \u001b[31m | |
Green: \u001b[32m | |
Yellow: \u001b[33m | |
Blue: \u001b[34m | |
Magenta: \u001b[35m | |
Cyan: \u001b[36m | |
White: \u001b[37m | |
Reset: \u001b[0m |
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
plugins { | |
id("java") | |
kotlin("jvm") version "1.9.0-Beta" | |
} | |
group = "com.andmal" | |
version = "0.0.1" | |
repositories { | |
mavenCentral() |
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 java.time.Duration | |
plugins { | |
id 'java' | |
} | |
group 'com.anma.gr' | |
version '1.0.0' |
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 main | |
import ( | |
"net/http" | |
"os" | |
"bytes" | |
"path" | |
"path/filepath" | |
"mime/multipart" | |
"io" |
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
module Main where | |
{-# LANGUAGE OverloadedStrings #-} | |
-- {-# LANGUAGE QuasiQuotes #-} | |
-- {-# LANGUAGE DeriveGeneric #-} | |
-- {-# LANGUAGE RecordWildCards #-} | |
import Data.ByteString.Char8 (ByteString) | |
import qualified Data.ByteString.Char8 as BC | |
import qualified Data.ByteString.Lazy as DBL |
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
#https://cloud.google.com/functions/docs/create-deploy-gcloud | |
gcloud functions deploy go-http-function \ | |
--gen2 \ | |
--runtime=go119 \ | |
--region=REGION \ | |
--source=. \ | |
--entry-point=HelloGet \ | |
--trigger-http \ | |
--allow-unauthenticated |
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 main | |
import ( | |
"fmt" | |
"net/http" | |
"golang.org/x/net/http2" | |
"golang.org/x/net/http2/h2c" | |
"crypto/tls" | |
"net" | |
) |
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.demo; | |
import lombok.*; | |
import lombok.extern.slf4j.Slf4j; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.stereotype.Component; | |
import org.springframework.web.reactive.function.server.RouterFunction; | |
import org.springframework.web.reactive.function.server.ServerRequest; |
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
# stack.yaml | |
# This file was automatically generated by 'stack init' | |
# | |
# Some commonly used options have been documented as comments in this file. | |
# For advanced use and comprehensive documentation of the format, please see: | |
# https://docs.haskellstack.org/en/stable/yaml_configuration/ | |
# Resolver to choose a 'specific' stackage snapshot or a compiler version. | |
# A snapshot resolver dictates the compiler version and the set of packages |