Skip to main content


Project Lead NextGen Project

Recent posts

vertx command line parameters

How to pass command line parameters to "vertx run"ContextI'm using continuous delivery and need to checkout a git branch then launch the verticle with a parameter.
For example:
I chekcout the "demo" git branchI deploy it to the target I remotely run the verticle with "vertx run 'demo'" (this actually doesn't work, but it illustrates my needs)The solution: use system environment variablesThe documentation is mentionning it, but it was not straight to me, so here is precisely how I did:
package org.rktmb.vertx // ... import io.vertx.config.ConfigStoreOptions; import io.vertx.config.ConfigRetriever; import io.vertx.config.ConfigRetrieverOptions; // ... public class MainVerticle extends SyncVerticle { @Override public void start(Future startFuture) throws Exception { // ... ConfigStoreOptions jsonEnvConfig = new ConfigStoreOptions().setType("env") .setConfig(new Js…

elasticsearch bulk add

Batch insert data into Elasticsearch
When I want to batch add documents to elasticsearch, this is how I do
I create an index:
curl -XPUT localhost:9200/tmp2I prepare the file for batch insertion (official documentation)
{ "create" : { "_index" : "tmp2", "_id" : "1" } } {"title": "RxJS: How to Use refCount","link": "","text": "My previous article — Understanding the publish and share Operators — looked only briefly at the refCount method. Let’s look at it more closely here."} { "create" : { "_index" : "tmp2", "_id" : "12" } } {"title": "I reverse-engineered Zones (zone.js) and here is what I’ve found","link": "","…

npm run build base-href

Using NPM to specify base-href

ng build --base-href=''



npm run build --base-href='

did not set the base href in indext.html

After looking for a while, I found where it says:
The command to issue is then:


atlassian database configuration file

Where is the Database configuration file? I "often" have to change the database location from "localhost" to another one in the Atlassian products I use and I spend some amount of time figuring out where is the configuration stored.

Here I am.

Bamboo database configuration is in "bamboo-home/bamboo.cfg.xml"

move postgresql datadir

How to move PostgreSQL datadirThe contextI run RHEL 7 and CentOS 7 .
I want to change it to "/data/pgsql"

How toStop PostgreSQL
systemctl stop postgresql
rsync -av /var/lib/pgsql /data/

- #data_directory = 'ConfigDir'           + data_directory = '/data/pgsql/data'
- Environment=PGDATA=/var/lib/pgsql/data + Environment=PGDATA=/data/pgsql/data
Start PostgreSQLand check it all:
# systemctl start postgresql # systemctl status postgresql # ps aux | grep pgsql # su - postgres $ psql p…

wget maven ntlm proxy

Working on CentOS, behind an NTLM proxy:

How it works



You must have you NTLM Proxy Hostnama or IP and port
Mine are respectively: prx.r…