This is an example on how to use microprofile metrics in TomEE. The project includes a docker profile which can be used to create a Docker image.
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
Return commands suitable for executing directly into \(shell) on \(uname). | |
- Do not add any back quotes on the resulting command | |
- Do not add any description or explanation about the commmand | |
- Only show a single command | |
- No additional text besides the command to run | |
- Consider the target machine \(uname) to generate a command that works for the OS and CPU architecture | |
- Consider the aliases that are configured in the file ~/.aliases | |
The script should do this: \(ai.prompt) |
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
version: "3.7" | |
services: | |
portainer: | |
image: portainer/portainer:1.24.1-alpine | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- /tmp/portainer_password:/tmp/portainer_password | |
ports: | |
- 9000:9000 | |
command: -H unix:///var/run/docker.sock --no-auth |
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
-XX:+PrintGCDateStamps | |
-XX:+PrintGCTimeStamps | |
-XX:+PrintTenuringDistribution | |
-XX:+PrintGCDetails | |
-XX:+PrintGCApplicationStoppedTime |
I hereby claim:
- I am cchacin on github.
- I am cchacin (https://keybase.io/cchacin) on keybase.
- I have a public key ASAYGkVTEuMIdYEZKAq7C_HPps7zN04Cw7SwseICUU7lago
To claim this, I am signing this object:
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
version: "3.7" | |
services: | |
filebeat: | |
image: docker.elastic.co/beats/filebeat-oss:6.6.1 | |
container_name: filebeat | |
hostname: filebeat | |
depends_on: | |
- elasticsearch | |
environment: |
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 customers; | |
import org.assertj.core.api.Assertions; | |
import org.junit.jupiter.api.Test; | |
import java.util.LinkedHashMap; | |
import java.util.LinkedList; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.function.BiFunction; |
- Libraries (feel free to start, watch or even fork, you can contribute since the list is open source)
- Podcasts (you can subscribe using
iTunes
or any podcast app in yout phone likeCastbox
)- No Fluff Just Stuff (Java)
- JCrete (Java)
- HaskellCast (Functional Programming, mainly Haskell)
- LambdaCast (Functional Programming)
- InfoQ (Java / Tech)
- AirHacks (Java mostly JavaEE)
- JavaPubHouse (Java)
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
{{>classJavadoc}} | |
{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{#additionalAnnotations}} | |
{{{additionalAnnotations}}}{{/additionalAnnotations}} | |
{{>generatedAnnotation}} | |
public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}} { | |
{{#vars}} | |
{{#isEnum}} | |
{{^isContainer}} | |
{{>modelInnerEnum}} |
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 cronus.core; | |
import java.io.IOException; | |
import java.text.SimpleDateFormat; | |
import java.util.Arrays; | |
import java.util.Date; | |
import okhttp3.Call; | |
import okhttp3.Callback; | |
import okhttp3.Handshake; |
NewerOlder