Skip to content

Instantly share code, notes, and snippets.

@lbruun
lbruun / DatabaseEngine.java
Last active August 27, 2022 20:17
DatabaseEngine enum and detection of database engine
/*
* Copyright 2021 lbruun.net.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@lbruun
lbruun / .gitignore
Last active June 9, 2024 14:55
Generalized .gitignore file
#
# Git ignore
#
# This can serve as a generalized .gitignore file which is suitable for most
# Java projects. In particular, it may be suitable for projects where contributors
# use different IDEs. It serves as a guard-rail so that inexperienced users do
# not by mistake commit their IDE-specific files into the git repo.
# (in very, very, rare case you may actually want to commit IDE-specific files
# in which case you can edit the below)
#