(1) Create directories
mkdir order-entry
cd order-entry/
mkdir order-entry-web
cd order-entry-web/
mkdir -p src/main/java
mkdir -p src/test/java
| void main() { | |
| var obj = ConcreteClass("test"); | |
| print(obj.myVariable); | |
| } | |
| class ConcreteClass extends AbstractClass { | |
| String myVariable; |
(1) Create directories
mkdir order-entry
cd order-entry/
mkdir order-entry-web
cd order-entry-web/
mkdir -p src/main/java
mkdir -p src/test/java
| <head> | |
| <wicket:head> | |
| <style type="text/css"> | |
| .card-login { | |
| max-width: 25rem; | |
| } | |
| </style> | |
| </wicket:head> | |
| </head> |
| #!/bin/bash | |
| cd /tmp || exit | |
| echo "Downloading sonar-scanner....." | |
| if [ -d "/tmp/sonar-scanner-cli-3.2.0.1227-linux.zip" ];then | |
| sudo rm /tmp/sonar-scanner-cli-3.2.0.1227-linux.zip | |
| fi | |
| wget -q https://sonarsource.bintray.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.2.0.1227-linux.zip | |
| echo "Download completed." |
Identify the device file name:
sudo fdisk /dev/sd* -l
Declare variables:
ISO_FILE=/home/janux/Downloads/debian-live-9.6.0-amd64-gnome.iso
GENERAL_STICK_PARTION=/dev/sdb
VM options in JUnit test run configuration:
-ea -Dlogging.level.org.springframework=DEBUG
| # Install rdesktop | |
| sudo apt update | |
| sudo apt install rdesktop -y | |
| # Connect directly with username and password | |
| rdesktop $IP -u $USER -p $PASSWORD | |
| # Connect using with a non-default port (default is 3389) | |
| rdesktop $IP:$PORT |
| FROM tomcat | |
| ENV JAVA_OPTS="-Djava.security.egd=file:/dev/urandom" | |
| RUN addgroup tomcatusers && adduser --disabled-password tomcat && adduser tomcat tomcatusers | |
| RUN chown -R tomcat:tomcatusers . | |
| USER tomcat | |
| COPY editor.war /usr/local/tomcat/webapps/editor.war | |
| COPY index.jsp /usr/local/tomcat/webapps/ROOT/index.jsp |