This file contains hidden or 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
| #!/bin/bash -xe | |
| # This script will install JDK 8 + Tomcat + Semarchy as service that responds in ports 8088 and 80 and will auto-start | |
| if [ "$#" -ne 4 ]; then | |
| echo "No arguments supplied. Supply private ip for Oracle database to connect to, and database name, database user and password." | |
| exit 1 | |
| fi | |
| SEM_IP=$1 |
This file contains hidden or 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
| #!/bin/bash -xe | |
| if [ "$#" -ne 2 ]; then | |
| echo "No arguments supplied. Supply two arguments, password for SYS role to use when creating the database, and database name." | |
| exit 1 | |
| fi | |
| DB_PASSWORD=$1 | |
| DB_NAME=$2 |
This file contains hidden or 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
| /** Crazy 1 */ | |
| import java.util.ArrayList; | |
| public class Crazy1 { | |
| // Props to: | |
| // - https://stackoverflow.com/questions/15496/hidden-features-of-java | |
| // - Java Puzzlers (Joshua Bloch) | |