private String removeAccents(String str) {
return Normalizer.normalize(str, Normalizer.Form.NFD).replaceAll("[^\\p{ASCII}]", "");
}
pipeline {
agent any
tools {
maven 'apache-maven-3.3.9'
jdk 'jdk1.8'
}
stages {
stage('Build') {
steps {
[INFO] [io.quarkus.creator.phase.nativeimage.NativeImagePhase] Running Quarkus native-image plugin on OpenJDK 64-Bit Server VM [INFO] [io.quarkus.creator.phase.nativeimage.NativeImagePhase] docker run -v /home/rafael-pestano/projetos/quarkus-myfaces-native/quarkus-myfaces/quarkus-myfaces-showcase/target:/project:z --rm --user 74086768:560800513 quay.io/quarkus/centos-quarkus-native-image:graalvm-1.0.0-rc16 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime -jar quarkus-myfaces-showcase-1.0-SNAPSHOT-runner.jar -J-Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:+PrintAnalysisCallTree -H:-AddAllCharsets -H:EnableURLProtocols=http -H:-SpawnIsolates -H:-JNI --no-server -H:-UseServiceLoaderFeature -H:+StackTrace WARNING: Error loading config file: /home/rafael-pestano/.docker/config.json: open /home/rafael-pestano/.docker/config.json: permission
12:59:28,237 INFO [jav.fac.FactoryFinder] registeredFactoryNames: {com.oracle.svm.hosted.NativeImageClassLoader@71086f27={javax.faces.context.ExternalContextFactory=[org.apache.myfaces.context.ExternalContextFactoryImpl], javax.faces.context.PartialViewContextFactory=[org.apache.myfaces.context.PartialViewContextFactoryImpl, org.primefaces.context.PrimePartialViewContextFactory], javax.faces.flow.FlowHandlerFactory=[org.apache.myfaces.flow.FlowHandlerFactoryImpl], javax.faces.render.RenderKitFactory=[org.apache.myfaces.renderkit.RenderKitFactoryImpl], javax.faces.view.ViewDeclarationLanguageFactory=[org.apache.myfaces.view.ViewDeclarationLanguageFactoryImpl], javax.faces.context.FlashFactory=[org.apache.myfaces.context.servlet.ServletFlashFactoryImpl], javax.faces.context.FacesContextFactory=[org.apache.myfaces.context.FacesContextFactoryImpl, org.primefaces.context.PrimeFacesContextFactory], javax.faces.component.visit.VisitContextFactory=[org.apache.myfaces.component.visit.VisitContextFactoryImpl], javax.f
| 2019-06-24 18:53:07,191 localhost quarkus-myfaces-showcase-1.0-SNAPSHOT-runner[18596] INFO [io.quarkus] (main) Quarkus 0.17.0 started in 0.006s. Listening on: http://0.0.0.0:8080 | |
| 2019-06-24 18:53:07,191 localhost quarkus-myfaces-showcase-1.0-SNAPSHOT-runner[18596] INFO [io.quarkus] (main) Installed features: [cdi, myfaces, undertow-websockets] | |
| 2019-06-24 18:53:11,790 localhost quarkus-myfaces-showcase-1.0-SNAPSHOT-runner[18596] INFO [jav.fac.FactoryFinder] (executor-thread-1) getClassLoader - 2 | |
| 2019-06-24 18:53:11,790 localhost quarkus-myfaces-showcase-1.0-SNAPSHOT-runner[18596] INFO [jav.fac.FactoryFinder] (executor-thread-1) registeredFactoryNames: {java.lang.ClassLoader@2d1df30={javax.faces.context.ExternalContextFactory=[org.apache.myfaces.context.ExternalContextFactoryImpl], javax.faces.context.PartialViewContextFactory=[org.apache.myfaces.context.PartialViewContextFactoryImpl, org.primefaces.context.PrimePartialViewContextFactory], javax.faces.flow.FlowHandlerFactory=[org.apache.myfaces.flow.FlowHan |
Script below must be executed in jenkinsURL/script by an admin user
Job item = Jenkins.instance.getItemByFullName("JOB_NAME")
for (Node node in Jenkins.instance.nodes) {
// Make sure slave is online
if (!node.toComputer().online) {
continue
}
| Arrive safe | |
| Don't get fired | |
| Find permanent house and place to live (from 2nd month) | |
| Find a nice school for the kids | |
| Survive first winter | |
| Play soccer (preferable against Argentines) | |
| Make Caipirinha | |
| Make a barbecue using barbecue skewers | |
| Find "Erva mate" and drink "chimarrão" | |
| Visit Brazil on Chrismass 2020 (run away from the winter) |
First I have 3 producers:
@Produces
public EntityManager produce() {
return EntityManagerProvider.instance("cdipu").em();
}
@Produces- quarkus: 1.3.2
- graalvm: 20.0.0
- jdk11:
@BuildStep
void registerRuntimeInitialization(BuildProducer<RuntimeInitializedClassBuildItem> runtimeInitClassBuildItem)
{
runtimeInitClassBuildItem.produce(
new RuntimeInitializedClassBuildItem(MethodHandleBeanELResolver.class.getCanonicalName()));
This is not the actual process but a research about the culatello curing process by Massimo Spigaroli
How can a maestro like Massimo Spigaroli cure a culatello in only 5 days when the standard rule is 5-7 days per kilogram (which would be 30+ days for a typical piece)?
The answer lies in understanding that "curing" for Spigaroli is not just passive salt diffusion—it's a precisely orchestrated, multi-stage process of active moisture removal and environmental manipulation.