Quantcast
Browsing latest articles
Browse All 23 View Live

How to change the fonts in gvim on windows

add a file named _vimrc to your home directory. 123set nobackup set noswapfile set guifont=Consolas:h7:cANSI:qDRAFT In the gvim menu change the font to the format you would like to have. Then query...

View Article


How to format XML in GVIM

In this tutorial we are going to format an XML via the VIM tool  First, highlight the XML you want to format. Then, in normal mode, type  ! xmllint --format - Your command-line at the bottom will look...

View Article


How to grep recursively for xml files

To grep recursively we need the -r flag. To get only the file name we use the -l flag To get only files with extention .xml  we use the ‘–include’ flag and don’t forget to escape the spcial character...

View Article

How to monitor remotely a windows tomcat application with visual vm (jmx)

add the following lines under “Java Options: ” in the tab “Java” of the tomcat7w.exe    1234-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8008...

View Article

How to Kill a windows process

This is the command 1netstat -aon |find /i "listening" |find "8080" TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 6120 TCP [::]:8080 [::]:0 LISTENING 6120 1taskkill /F /PID 6120 The post How to Kill a windows...

View Article


Configure Spring-boot to run with Fiddler over https

12345-DproxySet=true -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=8888 -Djavax.net.ssl.trustStore="C:\Program Files\Amazon Corretto\jdk1.8.0_212\bin\FiddlerKeystore"...

View Article

How to run splunk in docker and view tomcat logs

This might be overkill but why not use splunk on your dev PC to see what is going on in your tomcat log 1 docker run -d -p 8000:8000 -v C:\dev\app\tomcat-7.0.94\logs:/opt/tomcat/logs -e...

View Article

How to store the result of a linux command into a variable

myvariable=`docker ps -a | grep mysql | awk ‘{print $1}’`echo $myvariable The post How to store the result of a linux command into a variable appeared first on Martin Fournier.

View Article


How to delete all the docker containers that are stopped

docker rm `docker ps -a | grep Created | awk '{print $1}'` The post How to delete all the docker containers that are stopped appeared first on Martin Fournier.

View Article


Use mysql with docker expose port and share data folder

I don’t know why this is not in the list of examples on the mysql website. One of the first thing I want to know is if mysql is up and running and be able to connect to it using a mysql client like...

View Article
Browsing latest articles
Browse All 23 View Live