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
    
  
  
    
  | import java.net.InetAddress; | |
| import java.net.NetworkInterface; | |
| import java.net.SocketException; | |
| import java.net.UnknownHostException; | |
| public class App { | |
| public static void main(String[] args) { | |
| InetAddress ip; | 
  
    
      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
    
  
  
    
  | <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src = "https://maps.googleapis.com/maps/api/js"></script> | |
| <script type="text/javascript"> | |
| function loadMap() { | |
| var initZoom = 7; | |
| var depot = [23.6238, 90.5000]; | |
| var lat = [23.8103, 22.8456, 24.3636, 22.3569, 24.8949]; | |
| var lng = [90.4125, 89.5403, 88.6241, 91.7832, 91.8687]; | 
  
    
      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
    
  
  
    
  | private long getDateDiff(Date date1, Date date2, TimeUnit timeUnit) { | |
| long diffInMillies = date2.getTime() - date1.getTime(); | |
| return timeUnit.convert(diffInMillies,TimeUnit.MILLISECONDS); | |
| } | |
| Date d1 = ((Calendar) Calendar.getInstance()).getTime(); | |
| Date d2 = ((Calendar) Calendar.getInstance()).getTime(); | |
| logger.info("Total time need: {}", getDateDiff(d1, d2, TimeUnit.SECONDS)); | 
  
    
      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
    
  
  
    
  | stringBuilder = new StringBuilder(this.getClass().getClassLoader().getResource("templates").toURI().getPath()).append(File.separator).append(xslTemplate); | 
  
    
      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
    
  
  
    
  | $('#smsAmount').on('keydown', '#child', function(e){-1!==$.inArray(e.keyCode,[46,8,9,27,13,110,190])||(/65|67|86|88/.test(e.keyCode)&&(e.ctrlKey===true||e.metaKey===true))&&(!0===e.ctrlKey||!0===e.metaKey)||35<=e.keyCode&&40>=e.keyCode||(e.shiftKey||48>e.keyCode||57<e.keyCode)&&(96>e.keyCode||105<e.keyCode)&&e.preventDefault()}); | 
  
    
      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
    
  
  
    
  | package com.coderslab.controller; | |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.FileNotFoundException; | |
| import java.io.IOException; | |
| import java.io.StringWriter; | |
| import java.util.Properties; | |
| import javax.activation.DataHandler; | 
  
    
      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
    
  
  
    
  | /* | |
| * To change this template, choose Tools | Templates | |
| * and open the template in the editor. | |
| */ | |
| package com.csl.cms.util.email; | |
| import java.io.File; | |
| import java.util.Map; | |
| import org.springframework.core.io.InputStreamSource; | 
  
    
      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
    
  
  
    
  | <!DOCTYPE html> | |
| <html class="no-js"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>jQuery.Print</title> | |
| <link href="css/bootstrap.css" rel="stylesheet" type="text/css"/> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <div id="print-element"> | 
  
    
      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
    
  
  
    
  | package com.coderslab; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import org.springframework.stereotype.Controller; | |
| import org.springframework.web.bind.annotation.GetMapping; | |
| import org.springframework.web.bind.annotation.RequestMapping; | |
| import org.springframework.web.bind.annotation.ResponseBody; | |
| @Controller |