Please go to Enable Docker Remote API with TLS client verification.
FROM openjdk:8-jre | |
RUN echo "Europe/Berlin" > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata | |
RUN mkdir /data | |
WORKDIR /data | |
ADD myapp.jar /data/myapp.jar | |
ENV springprofiles="" \ | |
MAXRAMIFNOLIMIT=4096 | |
ENTRYPOINT MAXRAM=$(expr `cat /sys/fs/cgroup/memory/memory.limit_in_bytes` / 1024 / 1024) && \ |
- Open a webpage that uses the CA with Firefox
- Click the lock-icon in the addressbar -> show information -> show certificate
- the certificate viewer will open
- click details and choose the certificate of the certificate-chain, you want to import to CentOS
- click "Export..." and save it as .crt file
- Copy the .crt file to
/etc/pki/ca-trust/source/anchors
on your CentOS machine - run
update-ca-trust extract
- test it with
wget https://thewebsite.org
This is how to easily setup an Oracle XE DB in a Virtual Machine that is accessible via localhost:1521.
So you don't have to install Oracle XE locally, but inside a VM.
We use VirtualBox, Vagrant and Docker for that.
First install VirtualBox https://www.virtualbox.org/wiki/Downloads
and Vagrant https://www.vagrantup.com/downloads.html
Run vagrant version
to check that vagrant is correctly installed.
Save the Vagrantfile
from this gist to a local directory.
This is how to open multiple gradle projects in a single IntelliJ window.
- File -> New -> Project ... -> Empty Project
- File -> Project Structure ... -> Modules -> Plus Sign -> Import Module
- Choose your Module -> Import module from external model -> Gradle -> Next
- Activate Checkbox: "Create separate module per source set"
- Activate Radio: "Use gradle wrapper task configuration"
- Finish
This is how to combine multiple SonarQube test data reports in the Generic Execution format, using node js.
This can be useful, if you run multiple jest tests, exporting with jest-sonar-reporter and want to combine the results to pass it to SonarQube
This is how to install something in a VM and export it as a Vagrant box and use it locally.
First copy the Vagrantfile from below and change the box to the box you want as a base.
Run vagrant up
to create the Virtual Machine and vagrant ssh
to login.
On Windows you might have to put ssh.exe to your %PATH%. If you have installed git, you can use C:\Program Files\Git\usr\bin
You can also login via Putty on host: "localhost", Port "2222", login: "vagrant", password: "vagrant".
Tested on Confluence Server 7.19.7 with MySQL DB
Based on How to determine the file paths for a page's attachments.
This is how to find out which attachments can not be downloaded, because the file is not found on the file system.
Create /tmp/query.sql
- Install Docker CE for Windows
- Go to Docker for Windows Settings -> General and enable
Expose daemon on tcp://localhost:2375 without TLS
.
This will enable the Docker remote API for requests, coming from localhost, not from another computer in your network. A TLS secured version is not yet supported in Docker for Windows. See docker/for-win#453 for more information. I also tried a daemon.json file with options tlscacert, tlscert, tlskey and tlsverify, but Docker for Windows crashed on booting.
- Enable Developer Mode as described in Enable your device for development
- Install WSL by running the following in Powershell as Administrator: `E
Example to reproduce the issue at pgadmin-org/pgadmin4#5507
Download this git and run docker-compose up --build -d
When opening http://localhost:8080/pgadmin4/browser/ you can see, that not all requests from the javascript are going to /pgadmin