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
function scalingBidModifier { | |
maxScaleFactor = .4 | |
rootScaleValue = $25 | |
scalingFloor = $5 | |
If(bid>scalingFloor){ | |
var modifier = if(bid>=rootScaleValue){ | |
1-maxScaleFactor | |
} else { |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Comment: GPGTools - https://gpgtools.org | |
mQENBFnmbRQBCADDvPXs4PUsDh0/5BajVFnMiLdxzrNOMAaCPYorhJ++Le6m0She | |
oFCRW6Z/2AoedA9t+zlbgD9LWR3FUNBibcmU1CwbCtPKwJB/9hZNScULjdQicJ6P | |
YK4JQuAuU4RkTa7uaw6KpeKw8aXGhb/JxOTrUbFdZ/rMPZVkZJ62A4AQph2cDX8i | |
9WzmCmOYHDmQvJo6dkWHLDDGXFsWuwPWB/uKsHKXh68sK+QjmObKJ10T1K1/xkVE | |
GfeZ3usB/4WMgqS87yHF5abZAtpo38KK6XAyUX4Q5aqKm5ZvX3hP63ezFW97+fG3 | |
hrGqXwpZmcdnR64Tc+ODQH1hFag2IY8Yiq5TABEBAAG0QkV2ZW4gRmluYW5jaWFs | |
IFRlY2ggKEV2ZW4gRmluYW5jaWFsIFRlY2gpIDx0ZWNoQGV2ZW5maW5hbmNpYWwu |
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
{ | |
"uuid": "b120a2ba-9297-46f3-b190-13b1c6fbcd2c", | |
"leadUuid": "8bf2da56-8fd9-40c6-ba68-7f1e6cc204cd", | |
"loanOffers": [ | |
{ | |
"uuid": "9a79f333-ea53-4d88-b432-49c539bef7dc", | |
"originator": { | |
"key": "opploans", | |
"name": "OppLoans", | |
"description": "<span> <ul> <li>Receive money in your account as soon as the next business day</li> <li>Easy online application process and quick decisions</li> <li>No prepayment fees</li><li>Rated 4.9 out of 5 stars for customer service on Google</li></span>", |
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
var payouts = { | |
'best-egg':.02, | |
'prosper' : .015, | |
'ascend': .02, | |
'lending-club': .0115, | |
'avant': .005, | |
'upstart' : 225, |
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
function calculatePaymentForPrequalifiedOffer(requestedAmount, loanOffer) { | |
function calcPmnt(amount, apr, months){ | |
var interest = apr / 100 / 12; | |
var x = Math.pow(1 + interest, months); | |
var monthly = (requestedAmount*x*interest)/(x-1); | |
return Math.round(monthly*100)/100; | |
} | |
var out = {}; | |
var months | |
switch(loanOffer.termUnit){ |
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
FROM node:4.2.1 | |
# Bundle app source | |
COPY . /src | |
# Install app dependencies | |
RUN cd /src; npm install; | |
CMD [rm, "/src/credentials.json"] | |
EXPOSE 9070 |
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
/** @file service.thrift Defines an RPC service schema. */ | |
namespace java com.evenfinancial.thrift | |
struct TestResponse { | |
1: string message | |
} |
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
{ | |
"message": "{\"@timestamp\":\"2015-05-10T15:48:08.250-04:00\",\"@version\":1,\"message\":\"{\\\"firstName\\\":\\\"Bobo2\\\",\\\"lastName\\\":\\\"The Hipster\\\",\\\"email\\\":\\\"email\\\",\\\"productType\\\":\\\"loan\\\",\\\"purpose\\\":\\\"parties\\\",\\\"metaDataProviderTags\\\":[],\\\"leadProviderUUID\\\":\\\"f15b2c40-c750-45e8-baf9-f7bb7509e5f2\\\",\\\"loanAmount\\\":100000,\\\"city\\\":\\\"Brooklyn\\\",\\\"state\\\":\\\"NY\\\",\\\"workPhone\\\":\\\"617-333-2221\\\",\\\"primaryPhone\\\":\\\"\\\",\\\"address1\\\":\\\"21st and 6th Ave\\\",\\\"address2\\\":\\\"Apt 300\\\",\\\"uuid\\\":\\\"f7e276cb-d35f-429e-ab5a-75eadd900756\\\",\\\"createdAt\\\":{\\\"time\\\":1431287287766},\\\"_dataSource\\\":\\\"leads/createLead\\\"}\",\"logger_name\":\"DATALOGGER\",\"thread_name\":\"ForkJoinPool-3-worker-15\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\".local\",\"application.home\":\"/Users/dev1/Documents/dev/even/svc\"}", | |
"@version": "1", | |
"@timestamp": "2015-05-10T19:48:08.292Z", | |
"host": " |
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
<configuration> | |
<conversionRule conversionWord="coloredLevel" converterClass="play.api.Logger$ColoredLevel" /> | |
<appender name="FILE" class="ch.qos.logback.core.FileAppender"> | |
<file>${application.home}/logs/application.log</file> | |
<encoder> | |
<pattern>%date - [%level] - from %logger in %thread %n%message%n%xException%n</pattern> | |
</encoder> | |
</appender> |
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
{ | |
"message": "{\"@timestamp\":\"2015-05-07T16:18:14.419-04:00\",\"@version\":1,\"message\":\"{\\\"firstName\\\":\\\"Bobo\\\",\\\"lastName\\\":\\\"The Hipster\\\",\\\"email\\\":\\\"email\\\",\\\"productType\\\":\\\"loan\\\",\\\"purpose\\\":\\\"parties\\\",\\\"metaDataProviderTags\\\":[],\\\"leadProviderUUID\\\":\\\"f15b2c40-c750-45e8-baf9-f7bb7509e5f2\\\",\\\"loanAmount\\\":100000,\\\"city\\\":\\\"Brooklyn\\\",\\\"state\\\":\\\"NY\\\",\\\"workPhone\\\":\\\"617-333-2221\\\",\\\"primaryPhone\\\":\\\"\\\",\\\"address1\\\":\\\"21st and 6th Ave\\\",\\\"address2\\\":\\\"Apt 300\\\",\\\"uuid\\\":\\\"f1dd8308-81a2-4811-ba02-9e55dd646aa6\\\",\\\"createdAt\\\":{\\\"time\\\":1431029894367},\\\"_dataSource\\\":\\\"leads/createLead\\\"}\",\"logger_name\":\"DATALOGGER\",\"thread_name\":\"ForkJoinPool-3-worker-1\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"dockerhost\",\"application.home\":\"/Users/dev1/Documents/dev/even/svc\"}", | |
"@version": "1", | |
"@timestamp": "2015-05-07T20:18:14.423Z", | |
"host": |
NewerOlder