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
package belajar.jdbc; | |
import belajar.jdbc.model.Jurusan; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.PreparedStatement; | |
import java.sql.SQLException; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.logging.Level; |
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.time.LocalDate; | |
import java.util.Date; | |
public class VariableDate{ | |
public static void main(String[] args) { | |
LocalDate localDate = LocalDate.now(); | |
System.out.println("java.time.LocalDate : "+localDate); | |
Date date = new Date(); | |
System.out.println("java.util.Date : "+date); | |
} |
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 BelajarList{ | |
public static void main(String[] args){ | |
java.util.List<String> daftarEmails = new java.util.ArrayList<String>(); | |
daftarEmails.add("[email protected]"); | |
System.out.println("Email pertama: "+daftarEmails.get(0)); | |
daftarEmails.set(0, "[email protected]"); | |
System.out.println("Email setelah diset: "+daftarEmails.get(0)); |
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
stages: | |
- test | |
- build | |
variables: | |
MAVEN_CLI_OPTS: "--show-version" | |
cache: | |
paths: | |
- .m2/repository |
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
package com.maryanto.dimas.bootcamp.example.query.hql.dto; | |
import lombok.AllArgsConstructor; | |
import lombok.Data; | |
import lombok.NoArgsConstructor; | |
import java.math.BigDecimal; | |
@Data | |
@AllArgsConstructor |
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
package com.hotmail.dimmaryanto.software; | |
import com.hotmail.dimmaryanto.software.beans.RefBean; | |
import org.springframework.context.ApplicationContext; | |
import org.springframework.context.support.ClassPathXmlApplicationContext; | |
public class App { | |
public static void main(String[] args) { | |
ApplicationContext springContext = new ClassPathXmlApplicationContext("/SpringConfig.xml"); |
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
package com.hotmail.dimmaryanto.software.controller; | |
import org.springframework.stereotype.Controller; | |
import org.springframework.ui.Model; | |
import org.springframework.web.bind.annotation.RequestMapping; | |
@Controller | |
public class HaloController { | |
@RequestMapping("/halo") |
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
var bil1 = 10; | |
var bil2 = 20; | |
console.log("bil1 : " + bil1 + "; bil2 : " + bil2 + ";\n \n"); | |
var result = null; | |
result = bil1 + bil2; | |
console.log("bil1 + bil2 : " + result); | |
result = bil1 * bil2; |
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
-startup | |
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar | |
--launcher.GTK_version | |
2 | |
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417 | |
-data | |
@noDefault | |
--launcher.defaultAction | |
openFile | |
-vm |
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
# install or extract the xmind into /opt/xmind then just replace this configuration into but | |
# if your OS is : | |
# x64 replace to /opt/xmind/XMind_amd64/XMind.ini or | |
# x86 replace to /opt/xmind/XMind_i386/XMind.ini | |
-configuration | |
/opt/xmind/XMind_amd64/./configuration | |
-data | |
/opt/xmind/XMind_amd64/../workspace | |
-startup | |
/opt/xmind/XMind_amd64/../plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar |
OlderNewer