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.springframework.data.repository.reactive.ReactiveCrudRepository; | |
public interface UserRepository extends ReactiveCrudRepository<User, String> { | |
} |
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
@Document(collection = ResumeTokenRepository.USER_COLLECTION) | |
public record User(@Id String id, @Indexed String userName) { | |
} |
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
rules: | |
- pattern: "jmxpg.mbeans<type=AppInfo, Version=([^:]+)><>Status: ([^:]+)" | |
name: "msee_jmxpg_mbeans_app_info_status" | |
type: UNTYPED | |
help: "Version and status of the app. Status values: running, failed, starting and exited." | |
value: 1 | |
labels: | |
version: $1 | |
status: $2 |
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 io.mseemann.medium.jmxpg.beans.AppInfo; | |
import io.mseemann.medium.jmxpg.beans.Requests; | |
import javax.management.MBeanServer; | |
import javax.management.ObjectName; | |
import java.lang.management.ManagementFactory; | |
import java.util.Hashtable; | |
public class App { |
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
<form [formGroup]="form"> | |
<p> | |
<mdl-textfield label="First Name" name="firstname" type="text" formControlName="firstName" floating-label></mdl-textfield> | |
</p> | |
<p> | |
<mdl-textfield label="Last Name" name="lastname" type="text" formControlName="lastName" floating-label></mdl-textfield> | |
</p> | |
<p> | |
Which breakfast do you prefer?<br/> | |
<mdl-radio name="breakfast" value="Continental" formControlName="breakfast" mdl-ripple>Continental</mdl-radio> |
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 { | |
Component, | |
OnInit | |
} from '@angular/core'; | |
import { flyInOutTrigger } from './../animations/flyInOutTrigger-animation'; | |
import { hostConfig } from './../animations/flyInOutTrigger-animation'; | |
import { | |
FormGroup, | |
FormControl, | |
Validators, |
NewerOlder