Generates classes that wrap other classes. Such wrapper classes can be used for named parameters in order to write better code.
The Semantic Wrapper Maven plugin is available from Maven Central.
#!/bin/bash | |
#install Java 7 | |
add-apt-repository -y ppa:webupd8team/java | |
apt-get -y update | |
apt-get -y install oracle-java7-installer | |
#install tomcat, which uses Java 7 | |
apt-get -y install tomcat7 | |
sed -i 's/#JAVA_HOME/JAVA_HOME/' /etc/default/tomcat7 |
#!/bin/bash | |
set -e | |
script_name=$(basename "$0") | |
print_usage() | |
{ | |
cat <<EOF | |
Usage: ${script_name} install ORACLE_JAVA_INSTALL_DIR [PRIORITY] |
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
/** | |
* Copyright 2009-2015 the original author or authors. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
Run powershell as administrator: | |
-posh-gvm installation: | |
Execute (new-object Net.WebClient).DownloadString('https://raw.githubusercontent.com/flofreud/posh-gvm/master/GetPoshGvm.ps1') | iex | |
Execute Import-Module posh-gvm | |
// if you have problems with execution policy (https://msdn.microsoft.com/powershell/reference/5.1/Microsoft.PowerShell.Core/about/about_Execution_Policies) | |
// Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | |
// later return to old value | |
Execute gvm help to get started! | |
-sdkman installation: |
virt-install \ | |
--name=centos-compute-$i \ | |
--ram=32768 \ | |
--vcpus=16 \ | |
--cpu host-model-only \ | |
--os-type linux \ | |
--os-variant centos7.0 \ | |
--import \ | |
--disk path=/var/lib/libvirt/images/centos74-compute-$i.qcow2,bus=virtio,cache=none,format=qcow2,bus=virtio \ | |
--network type=direct,source=enp6s0f0,source_mode=bridge,model=virtio \ |
Important: I'm writing this when the last version of macOS (and the one I have installed) is Mojave. There is already a script which installs Mojave in a virtual machine here https://github.com/img2tab/okiomov. But if you are curios how to do everything manually to install High Sierra, then this guide may be useful.
After reading a few articles I ended up with these steps:
Important: I'm writing this when the last version of macOS (and the one I have installed) is Mojave. There is already a script which installs Mojave in a virtual machine here https://github.com/img2tab/okiomov. But if you are curios how to do everything manually to install High Sierra, then this guide may be useful.
After reading a few articles I ended up with these steps: