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
    
  
  
    
  | # extract the Latin words from excel with the utf-8 encoding | |
| theLatinWord = ooo_sheet.cell_value(row,3).encode('utf-8') | |
| # And finally after you finish the Latin data json, you need to make sure... | |
| # 1. You craete the output.json with utf-8 encoding. | |
| # 2. You designate the utf-8 encoding to dump the data. | |
| with io.open('output.json', 'w', encoding='utf-8') as outfile: | |
| outfile.write(json.dumps(data, ensure_ascii=False, encoding='utf8')) | 
  
    
      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
    
  
  
    
  | # fill some 0’s before your value to meet the specific lengh | |
| if (len(ooo_sheet.cell_value(row,2))!=7): | |
| digitLengthed7 = ooo_sheet.cell_value(row,2).zfill(7) | 
  
    
      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
    
  
  
    
  | data = {} # --> Add the json attribute in random order | |
| data = collections.OrderedDict() # --> Add the json attribute with the order you write | 
  
    
      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
    
  
  
    
  | public class Main { | |
| public static void main(String[] args) { | |
| String a = "TEST123"; | |
| System.out.println("a = " + a); | |
| System.out.println("Identity : "+System.identityHashCode(a)); | |
| a = a.substring(0,2); | |
| System.out.println("a = " + a); | |
| System.out.println("Identity : "+System.identityHashCode(a)); | |
| a = a + "456"; | |
| System.out.println("a = " + a); | 
  
    
      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
    
  
  
    
  | public class Main { | |
| public static void main(String[] args) { | |
| StringBuilder aBuilder = new StringBuilder("TEST123"); | |
| System.out.println("aBuilder = " + aBuilder); | |
| System.out.println("Identity : "+System.identityHashCode(aBuilder)); | |
| aBuilder = aBuilder.delete(2,aBuilder.length()); | |
| System.out.println("aBuilder = " + aBuilder); | |
| System.out.println("Identity : "+System.identityHashCode(aBuilder)); | |
| aBuilder = aBuilder.append("456"); | |
| System.out.println("aBuilder = " + aBuilder); | 
  
    
      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
    
  
  
    
  | # Built application files | |
| /*/build/ | |
| # Crashlytics configuations | |
| com_crashlytics_export_strings.xml | |
| # Local configuration file (sdk path, etc) | |
| local.properties | |
| # Gradle generated files | 
  
    
      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
    
  
  
    
  | var intrinsic:Vector.<Number> = new Vector.<Number>(9, true); | |
| var intrinsicInverse:Vector.<Number> = new Vector.<Number>(9, true); | |
| var R:Vector.<Number> = new Vector.<Number>( 9, true ); | |
| var t:Vector.<Number> = new Vector.<Number>( 3, true ); | |
| // SVD routine | |
| var svd:SVD = new SVD(); | |
| // input homography[9] - 3x3 Matrix |