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
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
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
using System; | |
using System.Collections.Generic; | |
using System.Data.Entity; | |
using System.Data.Entity.Migrations; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using Shortener.Web.Contracts; | |
using Shortener.Web.Infrastructure; | |
namespace Shortener.Web.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.wiley.gts.bce.common.util.xml.impl; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Set; | |
import java.util.UUID; | |
import java.util.regex.Matcher; | |
import java.util.stream.Collectors; |
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
<bean id="xpathExpressionNotes" class="org.springframework.xml.xpath.XPathExpressionFactoryBean" | |
p:expression="/w:component/w:header/w:contentMeta/w:noteGroup//w:note[contains(.,'(primary)')]" | |
p:namespaces-ref="bceNamespacesMap"/> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<root> | |
<taxonomy name="NCBI"> | |
<term externalId="NCBI-131567"> | |
<synonym uniqueName="Bacteria <prokaryotes>">Bacteria</synonym> | |
<synonym uniqueName="Monera <Bacteria>">Monera</synonym> | |
<synonym uniqueName="Procaryotae <Bacteria>">Procaryotae</synonym> | |
<synonym uniqueName="Prokaryota <Bacteria>">Prokaryota</synonym> | |
<synonym uniqueName="Prokaryotae <Bacteria>">Prokaryotae</synonym> | |
<synonym uniqueName="bacteria <blast2>">bacteria</synonym> |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?><root><taxonomy name="NCBI"><term externalId="NCBI-131567"><synonym uniqueName="Bacteria <prokaryotes>">Bacteria</synonym><synonym uniqueName="Monera <Bacteria>">Monera</synonym><synonym uniqueName="Procaryotae <Bacteria>">Procaryotae</synonym><synonym uniqueName="Prokaryota <Bacteria>">Prokaryota</synonym><synonym uniqueName="Prokaryotae <Bacteria>">Prokaryotae</synonym><synonym uniqueName="bacteria <blast2>">bacteria</synonym><synonym uniqueName="">eubacteria</synonym><synonym uniqueName="prokaryote <Bacteria>">prokaryote</synonym><synonym uniqueName="prokaryotes <Bacteria>">prokaryotes</synonym></term><term externalId="NCBI-335928"><synonym uniqueName="">Azorhizobium</synonym><synonym uniqueName="">Azorhizobium Dreyfus et al. 1988 emend. Lang et al. 2013</synonym></term><term externalId="NCBI-6"><synonym uniqueName="ATCC 43989 <type strain>">ATCC 43989</synonym><synonym uniqueName="">Azorhizobium cau |
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
Internal Exception | |
REST service call failed | |
com.wiley.gts.bce.common.remoting.client.BceRestTemplateResponseErrorHandler.handleError(BceRestTemplateResponseErrorHandler.java:53) | |
org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:700) | |
org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:653) | |
org.springframework.web.client.RestTemplate.execute(RestTemplate.java:613) | |
org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:559) | |
com.wiley.gts.bce.common.remoting.client.BceRestOperations.exchange(BceRestOperations.java:105) | |
com.wiley.gts.entity.service.controller.impl.v3.ProductV3ControllerImpl.getProducts(ProductV3ControllerImpl.java:267) | |
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<exception> | |
<errorCode>1</errorCode> | |
<exceptionClass>com.temis.tsl.ApplicationException</exceptionClass> | |
<localizedMessage>com.temis.text.remote.essex.SimpleWebApplicationException: ESSEX returned the following error: Error while loading disambiguator extension (code 8)</localizedMessage> | |
<message>com.temis.text.remote.essex.SimpleWebApplicationException: ESSEX returned the following error: Error while loading disambiguator extension (code 8)</message> | |
<stackTraces> | |
script.tsl:592: com.temis.text.remote.essex.SimpleWebApplicationException: ESSEX returned the following error: Error while loading disambiguator extension (code 8) | |
at com.temis.tsl.ApplicationException.throwException(ApplicationException.java:24) | |
at com.temis.tsl.ReflectionHelper.invokeMethod(ReflectionHelper.java:323) |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<exception> | |
<errorCode>1</errorCode> | |
<exceptionClass>com.temis.tsl.ApplicationException</exceptionClass> | |
<localizedMessage>com.temis.text.remote.essex.SimpleWebApplicationException: ESSEX returned the following error: instance communication timeout (code 10)</localizedMessage> | |
<message>com.temis.text.remote.essex.SimpleWebApplicationException: ESSEX returned the following error: instance communication timeout (code 10)</message> | |
<stackTraces> | |
script.tsl:592: com.temis.text.remote.essex.SimpleWebApplicationException: ESSEX returned the following error: instance communication timeout (code 10) | |
at com.temis.tsl.ApplicationException.throwException(ApplicationException.java:24) | |
at com.temis.tsl.ReflectionHelper.invokeMethod(ReflectionHelper.java:323) |
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
CogitoKnowledgeHelper synthesis = doc.getDocHelper().getKnowledgeHelper("AGU-Concept Set"); | |
if (synthesis != null) { | |
synthesis.getDescriptors(d -> d.getType().startsWith("/ConceptPath/Entity/GeoAge")) | |
.stream() | |
.forEach(d -> { | |
d.addAttribute("taxonomyIdDD", "aaaaaaaa7777777"); | |
}); | |
synthesis.getDescriptors(d -> d.getType().startsWith("/ConceptPath/Entity/Location")) | |
.stream() |