$ openssl genrsa -out private.key 4096
openssl req -new -sha256 \
The computer driven markets for instruments like stocks and exchange traded stock options, have transformed finance and the flow of capital. These markets are enabled by order matching engines (and the infrastructure that supports this software). Before computer trading networks and matching engines, stocks where traded on cavernous exchange floors and transaction costs where high. When electronic trading fully matured, floor traders were a fading anachronism and transaction costs had been reduced to pennies a share in many cases. Electronic trading could not exist without advanced network infrastructure, but without the software matching engines no shares would change hands. The computer trading networks, the matching engine software has also created a concentrated nexus of potential failure. Failures in these systems have increased as the frequency and volume on the electronic networks has increased. The position of order matching engines in the trading infrastructure makes these systems o
import React from 'react'; | |
import Route from 'react-router-dom/Route'; | |
import Link from 'react-router-dom/Link'; | |
import Switch from 'react-router-dom/Switch'; | |
const App = ({ routes, initialData }) => { | |
return routes | |
? <div> | |
<Switch> | |
{routes.map((route, index) => { |
This is a solution on how to theme/customize Ant Design (which is written in Less) with Sass and webpack. Ant itself offers two solutions and a related article on theming, but these are only applicable if you use Less, the antd-init boilerplate or dva-cli.
var mongoose = require('mongoose'); | |
var Schema = mongoose.Schema; | |
var ObjectId = Schema.ObjectId; | |
var commentSchema = new Schema({ | |
comment: type:String, | |
user_id:{ | |
type:Schema.Types.ObjectId, ref:'User' | |
}, | |
is_active :1 |
drupal chain --file=~/.console/chain/quick-start-mysql.yml | |
var Col = require('react-bootstrap/lib/Col') | |
var PageHeader = require('react-bootstrap/lib/PageHeader') | |
var React = require('react') | |
var Row = require('react-bootstrap/lib/Row') | |
var {connect} = require('react-redux') | |
var {reduxForm} = require('redux-form') | |
var DateInput = require('./DateInput') | |
var FormField = require('./FormField') | |
var LoadingButton = require('./LoadingButton') |
'use strict'; | |
import Backbone from 'backbone'; | |
import Radio from 'backbone.radio'; | |
import Marionette from 'marionette'; | |
import MyselfModel from 'lib/common/models/myselfModel'; | |
import UserAccountCollection from 'lib/common/models/userAccountCollection'; | |
import AccountCollection from 'lib/common/models/accountCollection'; |
// | |
//Regions | |
// | |
var NoWrapRegion = Backbone.Marionette.Region.extend({ | |
attachHtml: function (view) { | |
this.el.innerHTML=""; | |
var children = view.el.childNodes; | |
while (children.length > 0) { | |
this.el.appendChild(children[0]); |