- Open source monitoring tools: http://www.heliosdev.org/open-source
- IBM Tivoli: http://www.slideshare.net/royalcyber/was-support-monitoring-tools
- Naver Pinpoint: https://github.com/naver/pinpoint
- http://www.appdynamics.com/
- http://www.zabbix.com/
- Java, .NET, Ruby monitoring: https://www.site24x7.com/
- http://newrelic.com/
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
// This is OLD way of usnig Handler which shows an warning. | |
private Handler oldHandler = new Handler() { | |
@Override | |
public void handleMessage(Message msg) { | |
// Handle a message as you want. | |
} | |
} |
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
String currentDir = MyClass.class.getProtectionDomain().getCodeSource().getLocation().getPath()); | |
String currentDir = new java.io.File( "." ).getCanonicalPath(); | |
String currentDir = System.getProperty("user.dir"); |
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 java.io.BufferedInputStream; | |
import java.io.BufferedOutputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
public class InputStreamToString { | |
private static final String DEFAULT_CHARSET = "utf-8"; | |
private static final int BUFFER_LEN = 1024 * 8; |
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 java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.net.URL; | |
public class NetUtils { | |
public static String getExternalIpAddress() throws IOException { | |
URL whatismyip = new URL("http://checkip.amazonaws.com/"); | |
BufferedReader in = new BufferedReader(new InputStreamReader( |
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 java.io.BufferedInputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.net.URL; | |
import java.net.URLEncoder; | |
public class QRImage { | |
public static InputStream getInputStream(String host, int port) | |
throws IOException { |
- Avoid translatation lint error
<string-array name="array_of_string" translatable="false">
- Android Annotations: https://github.com/excilys/androidannotations
- D3: https://github.com/mbostock/d3
- highcharts: http://www.highcharts.com/demo/scatter
- http://en.wikipedia.org/wiki/Comparison_of_JavaScript_charting_frameworks
- http://www.sitepoint.com/15-best-javascript-charting-libraries/
- http://codegeekz.com/javascript-chart-and-graph-libraries/
- http://jqueryhouse.com/javascript-chart-and-graph-libraries/
- http://techslides.com/50-javascript-charting-and-graphics-libraries
OlderNewer