When I first read your job posting, I was surprised at the rigor of your submittal process. Nevertheless, it stuck out at me. The next day, I realized how much I appreciated it. So I began reading about your technology and Mr. Middleton's goal in its inception: to liberate mankind from banks and lawyers... wow. This is truly a goal worthy of knowledge, skill, passion, grit. Thus, I offer what I possess of these virtues to this goal.
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
// I'm going to leave my debugging code in so you can see how I prove to myself that I've resolved issues | |
/* I added the NAMESPACE declaration to troubleshoot. | |
* I understand this was only part of a larger | |
* codeblock that may or may not have declared NAMESPACE | |
*/ | |
var NAMESPACE; | |
if (!NAMESPACE || typeof NAMESPACE == 'undefined') { | |
NAMESPACE = { | |
_all_ids: new Object() | |
}; |
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
/*======================================================================*\ | |
ICBIaW50OiBtYWtlIHRoaXMgYXMgY2xvc2UgdG8gcHJvZHVjdGlvbi1yZWFkeSBzb3VyY2 | |
UgY29kZSBhcyB5b3UgY2FuIQoKICBCb251cyBwb2ludHMgZm9yIHRlbGxpbmcgdXMgd2hh | |
dCB0aGlzIGRvZXMgaW4gcGxhaW4gdGVybXM6CgogICAgJycuam9pbihpdGVydG9vbHMuY2 | |
hhaW4oKnppcChzWy0yOjotMl0sIHNbOjotMl0pKSk= | |
\*======================================================================*/ | |
// I'm going to leave my debugging code in so you can see how I prove to myself that I've resolved issues | |
/* I added the NAMESPACE declaration to troubleshoot. | |
* I understand this was only part of a larger | |
* codeblock that may or may not have declared NAMESPACE |
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
// Assuming Jasmine | |
// Assuming NAMESPACE is defined and is as id.js defines it. | |
describe('Test validity of my changes to id.js', function() { | |
beforeAll(function() { | |
// add some "id"s to the Array prototype | |
var self; | |
self = this; | |
self.testData = [ | |
'joshuaebowling', 'posita' | |
]; |
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 indexof, indexofSub; | |
indexof = function(haystack, needle) { | |
// Implementation? | |
var hayLen, isCompleteMatch, needleLen, result, match; | |
result = -1; | |
match = ''; | |
hayLen = haystack['length']; | |
needleLen = needle['length']; |
Please Note This Isn't a Structural Outline; Rather it's a Conceptual Grouping of Main Components. Nor are the items listed in any particular order.
Component | Description | Low | High |
---|---|---|---|
Datagrid | Container for trade data | 4 | 6 |
Grid Filter | Changes what items are displayed via checkbox for each status a trade can have, perhaps adding all/none buttons also | 2 | 3 |
Trade-specific Interactions | Includes Track Transaction, Cancel Selected, Cancel Pending | 1 | 2 |
Balance Display | Shows Current Balance | 1 | 1 |
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
##################### ElasticSearch Configuration Example ##################### | |
# This file contains an overview of various configuration settings, | |
# targeted at operations staff. Application developers should | |
# consult the guide at <http://elasticsearch.org/guide>. | |
# | |
# The installation procedure is covered at | |
# <http://elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html>. | |
# | |
# ElasticSearch comes with reasonable defaults for most settings, |
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 records = [{data:'data1'}, {data:'data2'}]; | |
async.eachSeries(records, function (record, cb) { | |
// this was inside an angular project, but use whatever ajax call you want here | |
$http.post('http://myurltopost', record). | |
success(function (data, status, headers, config) { | |
cb(null, data); | |
}) | |
.error(function (data, status, headers, config) { | |
// called asynchronously if an error occurs | |
// or server returns response with an error status. |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure(2) do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
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 java 1.6 because it's faster... per https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-orientdb-on-ubuntu-14-04 | |
sudo add-apt-repository ppa:webupd8team/java -y | |
# update packages | |
sudo apt-get update | |
# install java 8 | |
sudo apt-get install oracle-java8-set-default -y | |
# get latest orientdb as of scripting date |
OlderNewer