This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import lombok.Getter; | |
import lombok.Setter; | |
public class User implements java.io.Serializable{ | |
@Setter @Getter | |
public String username; | |
@Setter @Getter | |
public String email; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class User implements java.io.Serializable{ | |
public String username; | |
public String email; | |
public String getUsername() { | |
return username; | |
} | |
public void setUsername(String username) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select MAX(Salary) from Employee WHERE Salary NOT IN (select MAX(Salary) from Employee); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'UPDATE YUM' | |
yum update -y | |
yum upgrade -y | |
yum install -y wget | |
echo 'DISABLE FIREWALL' | |
service iptables stop | |
chkconfig iptables off | |
echo 'INSTALL JAVA' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo " ========== Install Java 8 ========== " | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo apt-get update | |
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections | |
sudo apt-get -f install -y oracle-java8-installer | |
echo 'JAVA_HOME="/usr/lib/jvm/java-8-oracle"' >> ~/.bash_profile | |
echo 'JAVA_HOME="/usr/lib/jvm/java-8-oracle"' >> ~/.bash | |
echo " ========== Install MYSQL 5.5 ========== " | |
export DEBIAN_FRONTEND=noninteractive |
NewerOlder