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
| { | |
| "pages": [ | |
| { | |
| "title": "Business Info", | |
| "scope": "LOAN", | |
| "questions": [ | |
| { | |
| "questionLibrary": "BUSINESS_NAME" | |
| }, | |
| { |
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
| def main(args): | |
| # parse arguments using optparse or argparse or what have you | |
| print(args) | |
| if __name__ == '__main__': | |
| import sys | |
| main(sys.argv[1:]) |
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 © 2013 Bart Massey | |
| Revision 0: 1 October 2013 | |
| This specification describes the "universal sequence" command sequ. The sequ command is a backward-compatible set of extensions to the UNIX [seq](http://www.gnu.org/software/coreutils/manual/html_node/seq-invocation.html) command. There are many implementations of seq out there: this specification is built on the seq supplied with GNU Coreutils version 8.21. | |
| The seq command emits a monotonically increasing sequence of numbers. It is most commonly used in shell scripting: | |
| TOTAL=0 | |
| for i in `seq 1 10` |
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 rationals | |
| import java.math.BigInteger | |
| val ZERO = Rational(0.toBigInteger(), 1.toBigInteger()) | |
| fun main(args: Array<String>) { | |
| -(1 divBy 2) |
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
| #include <iostream> | |
| using namespace std; | |
| class Square; | |
| class Rectangle { | |
| int width, height; | |
| public: |
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
| 2018-09-04 17:05:37,134 [dw-190 - POST /seed/lender/6fa3bda2-3736-4c00-901d-b37cf5d78c4f/loan] ERROR (ReportMiradorErrorFilterFactory.java:60) - Error handling a request to [POST:http://localhost:8888/seed/lender/6fa3bda2-3736-4c00-901d-b37cf5d78c4f/loan]: 0c9e086ac0f24b8f | |
| java.lang.IllegalArgumentException: Unknown validator SSN | |
| at com.miradorfin.lass.common.entity.checklist.RandomLibraryQuestionAnswerHandler.handle(RandomLibraryQuestionAnswerHandler.java:101) | |
| at com.miradorfin.lass.common.entity.checklist.RandomLibraryQuestionAnswerHandler.handle(RandomLibraryQuestionAnswerHandler.java:24) | |
| at com.miradorfin.lass.common.entity.checklist.question.LibraryQuestion$Handler.apply(LibraryQuestion.java:34) | |
| at com.miradorfin.lass.common.entity.checklist.RandomChecklistUtil.fillInQuestionAnswer(RandomChecklistUtil.java:211) | |
| at com.miradorfin.lass.client.helper.ChecklistFlowEmulatorImpl.answerQuestion(ChecklistFlowEmulatorImpl.java:71) | |
| at com.miradorfin.lass.client.helper.ChecklistFlowEmulatorImpl.lambda$oneTime |
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
| @Override | |
| public boolean updateIncome(VerifiedIncomeAttributes attributes) { | |
| try { | |
| queryRunner.update("UPDATE verifiedincome " + | |
| "SET uuid= ? , loanid = ?, income = ?, schedulec = ?, schedulee = ?, schedulek1 = ? " + | |
| "WHERE ownerid = ? and year = ?", UUID.randomUUID(), attributes.getLoanId(), attributes.getIncome(), | |
| attributes.getScheduleC(), attributes.getScheduleE(), attributes.getScheduleK1(), | |
| attributes.getOwnerId(), attributes.getYear()); | |
| } catch (SQLException e) { |
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 patmat | |
| import common._ | |
| /** | |
| * Assignment 4: Huffman coding | |
| * | |
| */ | |
| object Huffman { |
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 static void main(String[] args) throws InterruptedException { | |
| ClientConfig clientConfig = new ClientConfig(); | |
| List addressList = new ArrayList(); | |
| addressList.add("localhost:5701"); | |
| clientConfig.getNetworkConfig().setAddresses(addressList).setConnectionAttemptLimit(1000).setRedoOperation(true); | |
| HazelcastInstance hazelcasetInstance = HazelcastClient.newHazelcastClient(clientConfig); | |
| for (int i = 0; i < 10000; i++) { |
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 static void main(String[] args) throws InterruptedException { | |
| ClientConfig clientConfig = new ClientConfig(); | |
| List<String> addressList = new ArrayList<String>(); | |
| addressList.add("localhost:5701"); | |
| clientConfig.getNetworkConfig().setAddresses(addressList).setConnectionAttemptLimit(1000); | |
| HazelcastInstance hazelcasetInstance = HazelcastClient.newHazelcastClient(clientConfig); | |
| for (int i = 0; i < 10000; i++) { | |
| IMap<String, String> map = hazelcasetInstance.getMap("map"); |