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
# A function that generates one line commit message by using Llama3.1 and copies it to clipboard on MacOS. | |
##################################################################################### | |
### HOW TO USE? ### | |
### Just copy and paste the following function to your .zshrc or .bashrc ### | |
### Run `source .zshrc` or `source .bashrc` after you updated your file. ### | |
##################################################################################### | |
# Requirement: |
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 org.apache.commons.lang3.time.StopWatch; | |
import org.junit.Assert; | |
import org.junit.Test; | |
import java.util.concurrent.CompletableFuture; | |
import java.util.concurrent.ExecutionException; | |
import java.util.stream.Collectors; | |
import java.util.stream.Stream; | |
public class CompatableFutureTest { |