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
# Set up Database (Optional) | |
asadmin create-system-properties hope-db-pool=java:app/jdbc/Hope | |
asadmin create-system-properties hope-db-url=jdbc\\:postgresql\\://db.hope.nyc.ny.us\\:16851/hope | |
asadmin create-system-properties hope-db-username=lprimak | |
# Set up Class Loading | |
asadmin create-system-properties fish.payara.classloading.delegate=false | |
# Run in Docker | |
docker run -it --rm --cpus 1 -p 8080:8080 -p 9009:9009 -p 4848:4848 -p 9010:9010 -p 8686:8686 \ |
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
JBake: | |
$ jbake -b -s . jbake-maven/target/output | |
JBake (docs) | |
$ jbake -b -s docs docs/jbake-maven/target/output | |
$ mvnd generate-resources -Dsass.skip -f jbake-maven | |
Sass: | |
$ sass herobiz-website-template/assets/scss:jbake-maven/target/output/css -w --embed-sources | |
$ mvnd generate-resources -Dsass.root=herobiz-website-template -Dsass.dir=scss -Djbake.skip -f jbake-maven |
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
jbang org.eclipse.transformer:org.eclipse.transformer.cli:LATEST |
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
find . -name "*" -type f ! -path "./.git/*" -exec gsed -i 's/Copyright (C) 20..-20.. Flow Logix/Copyright (C) 2011-2026 Flow Logix/' {} \; |
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
https://www.cloudbees.com/blog/apache-maven-continuous-deliverydeployment-devoptics-teams-approach |
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
Assume the new version is 17, old is 16 | |
* If new postgres is not available in code, make sure Tap petere/postgresql exsists | |
* Do not uninstall the old database version until the end | |
(admin) brew install postgresql@17 | |
stop the database (as postgres user) | |
(postgres) $ pg_ctl -mf stop | |
new_major=17 |
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
sudo dseditgroup -o edit -a lprimak -t user access_bpf |
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
openssl enc -aes-128-cbc -k secret -P -md sha256 |
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
var lookup = MethodHandles.privateLookupIn(EagerBeansWebListener.class, MethodHandles.lookup()); | |
var mh = lookup.findStatic(EagerBeansWebListener.class, "disable", MethodType.methodType(void.class)); | |
mh.invokeExact(); |
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
$ git fetch upstream pull/5081/head |