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 numpy as np | |
import pandas as pd | |
from numpy import abs | |
from numpy import log | |
from numpy import sign | |
from scipy.stats import rankdata | |
# region Auxiliary functions | |
def ts_sum(df, window=10): | |
""" |
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
<spring:bean id="cassandraObjectStore" class="com.mulesoft.mule.cassandradb.CassandraDBObjectStore" | |
scope="singleton"> | |
<spring:property name="host" value="cassandradb.acmesoft.com"/> | |
<spring:property name="port" value="9160"/> | |
<spring:property name="keyspace" value="MuleState"/> | |
<spring:property name="consistencyLevel" value="ALL"/> | |
<spring:property name="defaultPartitionName" | |
value="idempotentFlow_#[new java.text.SimpleDateFormat('yyyy_MM_dd').format(new Date())]"/> | |
</spring:bean> |
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
@BeforeClass | |
public static void installLicense() throws Exception { | |
LicenseManager licenseManager = LicenseManagementFactory.getInstance() | |
.createLicenseManager(LicenseManagementFactory.MULE_EE); | |
MuleLicenseKey license = new MuleLicenseKey(); | |
license.setLicenseKeyFile(MyFunctionalTestCase.class | |
.getResource("/test.lic").getPath()); | |
licenseManager.install(license); | |
} |
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 Wine and other necessary components using Homebrew | |
brew install wine | |
brew install winetricks | |
brew install cabextract | |
# Instructions from http://www.sparxsystems.com/support/faq/enterprise-architect-WINE.html | |
winetricks allfonts | |
winetricks msxml | |
winetricks msxml3 | |
winetricks msxml4 |