These scripts encode-decode yaml files, e.g. from
secret:
greeting: aGVsbG8=
using ksd test.yaml
it will overwrite the file contents to
Spring Boot makes database migration with Flyway or Liquibase almost effortless - but by default it will use the
spring.datasource.*
credentials when running the migrations, which kinda suggests that this user should have
ALL PRIVILEGES
on the schema. This is risky, because... well if you find this page, you probably familiar
with poor little Bobby Tables
.
Spring Boot also makes it possible to configure separate credentials for running database migrations with the
spring.flyway.*
or spring.liquibase.*
properties.
I prefer app credetials this way: an app owner
with ALL PRIVILEGES
to run the migrations and an app user
with least privileges, mostly CRUD
or some limited EXECUTE
for the app itself.
Context: working on a fork of a libraray that generates lots aof code for testing and also uses a subrepo.
I only want to commit my changes. Also I would like to use VS Code's git support for that.
I also do not want to modify the .gitignore
file.
Steps to ignore these changes locally:
Add the directories to local exlude:
vi .git/info/exclude
#!/bin/bash | |
alias wbash="/c/Windows/System32/bash.exe" | |
convert_path() { | |
# repace GitBash /driveletters with WLS bash /mnt/driveletters | |
# note: this not works with 1 letter directory letters | |
params=$(echo $* | sed -e "s/\/\b\(.\)\//\/mnt\/\1\//g") | |
echo $params | |
} |
diff --git a/builder/proxmox/step_type_boot_command.go b/builder/proxmox/step_type_boot_command.go | |
index 89d50fb0d..04361ee21 100644 | |
--- a/builder/proxmox/step_type_boot_command.go | |
+++ b/builder/proxmox/step_type_boot_command.go | |
@@ -26,7 +26,7 @@ type stepTypeBootCommand struct { | |
type bootCommandTemplateData struct { | |
HTTPIP string | |
- HTTPPort uint | |
+ HTTPPort int |
proxmox output will be in this color. | |
==> proxmox: Creating VM | |
==> proxmox: Starting VM | |
==> proxmox: Starting HTTP server on port 8836 | |
==> proxmox: Waiting 10s for boot | |
==> proxmox: Stopping VM | |
==> proxmox: Deleting VM | |
Build 'proxmox' errored: unexpected EOF |
In Java 9, Java 10 location of the jaxp.properties
changed to $JAVA_HOME/conf/jaxp.propertes
. This is actually indicated by the JavaDoc of DocumentBuilderFactory#newInstance
Java version | jaxp.properties location |
---|---|
1.8 or earlier | $JAVA_HOME/jre/lib/jaxp.properties |
9 or later | $JAVA_HOME/conf/jaxp.properties |
Many Spring Boot Starters are dependent on spring-boot-starter-tomcat
, which causes deployments error on Wildfly. To
which dependencies causing errors run the following command and exclude spring-boot-starter-tomcat
module from them:
./gradlew dependencyInsight --dependency spring-boot-starter-tomcat --configuration compile
Proper way to configure Apple App Site Association file
{
"applinks": {
"apps": [],