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 main | |
import "fmt" | |
type DataSource interface { | |
Connect() error | |
Disconnect() error | |
} | |
type Postgres struct { |
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
List<StaffRecord> staffRecords = context | |
.select() | |
.from(STAFF) | |
.fetchInto(StaffRecord.class); |
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
Post: TBD | |
Repo - https://github.com/mwhyte-dev/spring-security/tree/3.redirect-based-on-role |
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
Post: https://mwhyte.dev/spring-security-user-roles-and-thymeleaf-extras-c10113d4ad75 | |
Repo - https://github.com/mwhyte-dev/spring-security/tree/2.thymeleaf-extras |
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
Post: https://mwhyte.dev/spring-security-basic-login-form-7c8f6e6e9f56 | |
Repo - https://github.com/mwhyte-dev/spring-security/blob/1.basic-form-login/pom.xml |
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
A Post: Exception Handling in 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
A Post: Creating Google Cloud Functions with Kotlin |
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
plugins { | |
java | |
application | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { |
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
import io.github.resilience4j.retry.Retry | |
import io.github.resilience4j.retry.RetryConfig | |
import io.github.resilience4j.retry.RetryRegistry | |
import java.time.Duration | |
import java.util.function.Supplier | |
var x = 0 | |
fun main() { |
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.code.util; | |
public class Recovery { | |
private long SLEEP_TIME = 3000; | |
public void connectToTp(){ | |
try { |
NewerOlder