My instance ended up with no DNS resolution
nslookup facebook.com
dig +trace facebook.com
didn't work :(
So updated resolv.conf to the following:
class Hello { | |
int test() { | |
String s = null; | |
return s == null ? 0 : s.length(); | |
} | |
} |
#! /bin/sh | |
# ================================================================== | |
# ______ __ _____ | |
# /_ __/___ ____ ___ _________ _/ /_ /__ / | |
# / / / __ \/ __ `__ \/ ___/ __ `/ __/ / / | |
# / / / /_/ / / / / / / /__/ /_/ / /_ / / | |
#/_/ \____/_/ /_/ /_/\___/\__,_/\__/ /_/ | |
# Multi-instance Apache Tomcat installation with a focus | |
# on best-practices as defined by Apache, SpringSource, and MuleSoft |
package org.test; | |
public class Utils | |
{ | |
private Utils() {} | |
/** | |
* Determines whether or not the given string is null or contains an empty | |
* value. | |
* @param s |
package org.gkh.net; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.io.OutputStream; | |
import java.io.PrintWriter; | |
import java.util.logging.Logger; |
My instance ended up with no DNS resolution
nslookup facebook.com
dig +trace facebook.com
didn't work :(
So updated resolv.conf to the following:
<h1>Hello world!</h1> |
/** | |
* Represents the Microsoft Azure AD service. The methods to which you should | |
* pay attention are {@link #executeJSONChunkRequest(JSONObject, String, int)} | |
* and {@link #setConfigData(String, int, String, JSONObject)}. These are | |
* respectively where data requests from <code>DaaS</code> come and where the | |
* service is configured. | |
* <p> | |
* This is the class referenced by collector templates. E.g. | |
* | |
* <pre> |
# Download and unarchive Java | |
RUN mkdir /opt && curl -jksSLH "Cookie: oraclelicense=accept-securebackup-cookie"\ | |
http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz \ | |
| tar -xzf - -C /opt &&\ | |
ln -s /opt/jdk1.7.0_79 /opt/jdk &&\ | |
rm -rf /opt/jdk/*src.zip \ | |
/opt/jdk/lib/missioncontrol \ | |
/opt/jdk/lib/visualvm \ | |
/opt/jdk/lib/*javafx* \ | |
/opt/jdk/jre/lib/plugin.jar \ |
import java.io.*; | |
/** | |
* @see <a href="http://alvinalexander.com/java/edu/pj/pj010016">Running system commands in Java applications</a> | |
* / | |
public class JavaRunCommand { | |
public static void main(String args[]) { | |
String s = null; |
## www.pubnub.com - PubNub Real-time push service in the cloud. | |
# coding=utf8 | |
## PubNub Real-time Push APIs and Notifications Framework | |
## Copyright (c) 2014-15 Stephen Blum | |
## http://www.pubnub.com/ | |
## ----------------------------------- | |
## PubNub 3.5.3 Real-time Push Cloud API | |
## ----------------------------------- |