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
    
  
  
    
  | /* | |
| * Copyright (c) 2010 - 2012 Novus Partners, Inc. (http://www.novus.com) | |
| * | |
| * Module: salat-util | |
| * Class: ClassAnalyzer.scala | |
| * Last modified: 2012-06-28 15:37:35 EDT | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | 
  
    
      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
    
  
  
    
  | trait EnumInflater extends Transformer with Logging { | |
| self: Transformer => | |
| val clazz = getClassNamed_!(path) | |
| val companion: Any = clazz.companionObject | |
| val withName: Method = clazz.getDeclaredMethods.filter(_.getName == "withName").head | |
| val applyInt: Method = clazz.getDeclaredMethods.filter(_.getName == "apply").head | |
| override def transform(value: Any)(implicit ctx: Context): Any = { | |
| val strategy = { | 
  
    
      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> | |
| <link rel="stylesheet" type="text/css" href=""> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment.js"></script> | |
| <script src="http://momentjs.com/downloads/moment-timezone-with-data-2010-2020.js"></script> | |
| <script type="text/javascript"> | |
| //moment().format(); | |
| // create moment from string or now | 
  
    
      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
    
  
  
    
  | apply plugin: 'maven-publish' | |
| publishing { | |
| publications { | |
| mavenJava(MavenPublication) { | |
| from components.java | |
| } | |
| } | |
| repositories { | |
| maven { | 
  
    
      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 test.hex; | |
| import java.sql.Date; | |
| public class HexTest { | |
| /** | |
| * @param args | |
| */ | |
| public static void main(String[] args) { | 
  
    
      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.orientdb.test; | |
| import static org.junit.Assert.*; | |
| import java.io.File; | |
| import java.net.URI; | |
| import java.net.URISyntaxException; | |
| import java.util.Date; | |
| import java.util.HashMap; | |
| import java.util.List; | 
  
    
      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.test.thrift; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import org.apache.thrift.TException; | |
| public class MyServiceImpl implements MyService.Iface { | |
| @Override | 
  
    
      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.test.thrift; | |
| import org.apache.thrift.transport.TServerSocket; | |
| import org.apache.thrift.protocol.TCompactProtocol; | |
| import org.apache.thrift.protocol.TCompactProtocol.Factory; | |
| import org.apache.thrift.server.TServer; | |
| import org.apache.thrift.server.TThreadPoolServer; | |
| import org.apache.thrift.server.TThreadPoolServer.Args; | |
| public class MyServer { | 
  
    
      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.test.thrift; | |
| import java.util.Calendar; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; | |
| import org.apache.thrift.TException; | |
| import org.apache.thrift.protocol.TCompactProtocol; | |
| import org.apache.thrift.protocol.TProtocol; | 
  
    
      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 test.solr; | |
| import java.io.IOException; | |
| import java.net.MalformedURLException; | |
| import java.util.ArrayList; | |
| import java.util.Collection; | |
| import org.apache.solr.client.solrj.SolrQuery; | |
| import org.apache.solr.client.solrj.SolrServer; | |
| import org.apache.solr.client.solrj.SolrServerException; | 
NewerOlder