This file contains 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.ak.fx.core; | |
import java.util.concurrent.CompletableFuture; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.logging.Logger; | |
import java.util.stream.IntStream; | |
import org.junit.jupiter.api.Test; |
This file contains 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.ak.numbers; | |
import java.nio.charset.StandardCharsets; | |
import java.util.BitSet; | |
import java.util.stream.Collectors; | |
import javax.annotation.Nonnull; | |
import com.ak.util.Strings; | |
import org.assertj.core.api.Assertions; |
This file contains 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 bash | |
bucket_name=rsc-energia | |
del_s3_bucket_obj() | |
{ | |
local bucket_name=$1 | |
local obj_type=$2 | |
local query="{Objects: $obj_type[].{Key:Key,VersionId:VersionId}}" | |
local s3_objects=$(aws s3api list-object-versions --bucket ${bucket_name} --output=json --query="$query") |
NewerOlder