Skip to content

Instantly share code, notes, and snippets.

@HarikaGonela
HarikaGonela / java_ocp_exam_1.8_study_notes.txt
Created February 4, 2020 08:42 — forked from djangofan/java_ocp_exam_1.8_study_notes.txt
My notes while studying for the OCP exam
ACP notes: https://gist.github.com/djangofan/a8b3e82e585525467c454515a8fb9ecf
Practice Tests $9.99: http://enthuware.com/index.php/ocpjp-8-average-scores
Guided Practice $140: http://www.ucertify.com/exams/Oracle/1Z0-809.html
Transcender: https://www.transcender.com/premium-solution/oracle/1z0-809.kap
Remember: javac -Xprint package.classname
https://ocpjava.wordpress.com/presentations/
http://www.java2s.com/Tutorials/Java/java.util.stream/Collectors/ !! STUDY THIS!!!
https://github.com/eugenp/tutorials/tree/master/core-java
https://www.slideshare.net/ibrahimkurce/oca-java-se-8-exam-chapter-6-exceptions
https://docs.oracle.com/javase/8/docs/api/java/util/function/class-use/BiPredicate.html
@HarikaGonela
HarikaGonela / revision.java
Created August 22, 2019 07:08 — forked from danielpaul/revision.java
Basic Java Revision Notes - Written in Java
/*
*
* / --------------------------------[ NUIM CS141 Java Revision ]------------------------------- \
* || Designed to easily revise everything covered in CS141 by just reading through this code. ||
* || Comments accompany almost every line of code to explain its purpose. ||
* || Some theory we need to know are included in the bottom... ||
* \ ------------------------------------------------------------------------------------------- /
*
*
* ____ _ __ ____ __
@HarikaGonela
HarikaGonela / ConnectAndLoginToSplunkExample.java
Created July 23, 2019 10:29
Splunk Java SDK Example - Connect and Login to Splunk
/**
* Connect and Login to Splunk
*
* @return Service instance
*/
public static Service connectAndLoginToSplunkExample() {
ServiceArgs connectionArgs = new ServiceArgs();
connectionArgs.setHost("ubuntu-splunk");
connectionArgs.setUsername("admin");