Firstly install Brew on your MAC
- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then install PHP
- brew update
- brew tap homebrew/dupes
- brew tap homebrew/php
- brew install php56
const typeDefs = require('./schema/schema') | |
const someRestAPI = require('./someRestAPI') | |
const resolvers = require('./resolvers') | |
const apolloServer = { | |
typeDefs, | |
resolvers, | |
dataSources: () => ({ | |
someRestAPI: new someRestAPI(), | |
}), |
--- | |
title: A replication of the Practical Application section in 'The Probability of Backtest | |
Overfitting' - Bailey et al. | |
output: | |
html_notebook: | |
# html_document: | |
# df_print: paged | |
--- | |
In their paper "The Probability of Backtest |
----------------------------------------------------------------------- | |
-- References: | |
-- https://github.com/apesic/dotfiles/blob/master/.hammerspoon/init.lua | |
-- https://learnxinyminutes.com/docs/lua/ | |
----------------------------------------------------------------------- | |
---------------- | |
-- Configuration | |
---------------- |
# Gist example of IB wrapper ... | |
# | |
# Download API from http://interactivebrokers.github.io/# | |
# | |
# Install python API code /IBJts/source/pythonclient $ python3 setup.py install | |
# | |
# Note: The test cases, and the documentation refer to a python package called IBApi, | |
# but the actual package is called ibapi. Go figure. | |
# | |
# Get the latest version of the gateway: |
# Download API from http://interactivebrokers.github.io/# | |
# | |
# Install python API code /IBJts/source/pythonclient $ python3 setup.py install | |
# | |
# Note: The test cases, and the documentation refer to a python package called IBApi, | |
# but the actual package is called ibapi. Go figure. | |
# | |
# Get the latest version of the gateway: | |
# https://www.interactivebrokers.com/en/?f=%2Fen%2Fcontrol%2Fsystemstandalone-ibGateway.php%3Fos%3Dunix | |
# (for unix: windows and mac users please find your own version) |
# Download API from http://interactivebrokers.github.io/# | |
# | |
# Install python API code /IBJts/source/pythonclient $ python3 setup.py install | |
# | |
# Note: The test cases, and the documentation refer to a python package called IBApi, | |
# but the actual package is called ibapi. Go figure. | |
# | |
# Get the latest version of the gateway: | |
# https://www.interactivebrokers.com/en/?f=%2Fen%2Fcontrol%2Fsystemstandalone-ibGateway.php%3Fos%3Dunix | |
# (for unix: windows and mac users please find your own version) |
Firstly install Brew on your MAC
Then install PHP
Examples here use the default settings, see the VidStab readme on GitHub for more advanced instructions.
Here's an example video I made
brew install ffmpeg --with-libvidstab
Before running this notebook, run:
pip3 install jupyter SQLAlchemy psycopg2
This will install the notebook server and database drivers needed to run these examples. For more information on installing Jupyter (formerly IPython notebook) see their install guide.
Once you've installed the dependencies, run jupyter notebook
and it will open your web browser to the notebook's main page. Then upload this notebook (SQLTest.ipynb) and run it.
(require 's) | |
(require 'request) | |
(require 'seq) | |
(require 'jabber) | |
(defvar hipchat--user-info-for-completion nil) | |
(defcustom hipchat-nickname "Full name" "Hipchat real name (see see https://hipchat.com/account/xmpp)." | |
:type '(string) |