public class Main {
public static void main(String[] args) throws Exception {
Counter counter = new Counter();
var t1 = new CounterIncrementerThread(counter);
var t2 = new CounterIncrementerThread(counter);
t1.start();
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.io.InputStream | |
import java.net.URI | |
import org.springframework.context.annotation.Bean | |
import software.amazon.awssdk.auth.credentials.AwsBasicCredentials | |
import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider | |
import software.amazon.awssdk.core.sync.RequestBody | |
import software.amazon.awssdk.regions.Region | |
import software.amazon.awssdk.services.s3.S3Client | |
import software.amazon.awssdk.services.s3.S3Configuration | |
import software.amazon.awssdk.services.s3.model.AbortMultipartUploadRequest |
application.yml
app:
vendor:
port:
ABL: 8300
MENEKIS: 5050
Spring
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
fun getSomething( | |
param1: String | |
): ResponseObj? { | |
return restClient | |
.get() | |
.uri( | |
"/someUrl/{param1}", | |
param1 | |
) | |
.httpRequest { |
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
@SpringBootApplication | |
class Application{ | |
@Bean | |
fun runner() = CommandLineRunner{ | |
println("Hello World") | |
} | |
} |
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> | |
<head> | |
<style> | |
#container { | |
background-color: #FFFFFF; | |
} | |
.arrow { | |
position: absolute; | |
top: 10%; |
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
01711190994 | |
01730184929 | |
01711378443 | |
01716409799 | |
01711042160 | |
01711468431 | |
01818472880 | |
01743611407 | |
01729685545 | |
01817015379 |
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
❯ java -jar build/libs/demo-0.0.1-SNAPSHOT.jar --spring.config.location=file:///tmp/application.properties [16:31:02] |
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
❯ java -jar build/libs/demo-0.0.1-SNAPSHOT.jar --server.port=8871 [16:18:37] |
NewerOlder