Profile cover photo
Profile photo
Alexandre de Pellegrin
158 followers
158 followers
About
Alexandre's posts

Post has attachment
Install VMware Horizon Client (VMware View) on Ubuntu
If like me, you had issues with VMware horizon client package on your Ubuntu desktop, here are my tips. Step 1 : download the installation package https://my.vmware.com/en/web/vmware/info/slug/desktop_end_user_computing/vmware_horizon_clients/4_0#linux Step...

Post has attachment
Declare secured connector on Tomcat for https connections
To access your tomcat threw https, you have to declare a secured connector. There are two parts to do that : modify your server.xml with the new connector configuration generate a java keystore the connector will refer to Step 1 : Modify your serveur.xml li...

Post has attachment
Acces Apache Tomcat on port 80 or 443 from Linux
Default Linux security rules don't allow to access network ports < 1024 to non rooted processes . A bad idea would be to start your Tomcat as ROOT. Very bad idea!!! But these's another solution. You can start your Tomcat with a port > 1024 and then redirect...

Post has attachment
Use Spring profiles and yaml configuration without Spring Boot
That's a refinement you can do to updgrade legacy applications. Using yaml config files combines with Spring profiles is a great way to configure your apps. Let's see how to do that. Firstly, let's consider that we weill inject something in a java class dep...

Post has attachment
Install Oracle Java Development Kit on Ubuntu
First of all, you need to download it from Oracle web site http://www.oracle.com/technetwork/pt/java/javase/downloads/index.html Then unzip it somewhere (be carefull that location is reachable from users who would use java) tar xvzf jdk-*-linux-x64.tar.gz T...

Post has attachment
Git rebase without conflicts
If you worked on a branch and have difficulties to rebase it from another branch (like master), you can you use Git automatic conflicts resolution strategy which prioritize files in conflict from your branch or from the branch you need to rebase from. So, l...

Post has attachment
Reduce PDF size
You have a very large PDF file with high definition photos. It could be difficult to host on a server. So, to reduce its weight (and its quality of course), you can use ghostscript like this : gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.6 -dPDFSETTINGS=/scr...

Post has attachment

Post has attachment
How to force java path in subscript (nested script call)
If you use a script that runs another script which starts a java virtual machine, you should need to specify which java command you want to use from the first script. Consider the following example : startup.sh  --->   application.sh --> java command I can ...

Post has attachment
Don't merge on Git
That's something I learnt. When use grab code from server, if you use 'git pull' , it makes behind the scene two command 'git fetch' + 'git merge' . Merge is bad because it doesn't respect commits order. So, you should prefer 'git rebase' which re-apply you...
Wait while more posts are being loaded