The reference materials used for this lecture can be found at http://api.rubyonrails.org and http://guides.rubyonrails.org.
We also have to take a quick look at rails's flash object.
The flash object allows you to set temporary messages that will
| angular.module('d3AngularApp', ['d3']) | |
| .directive('d3Bars', ['$window', '$timeout', 'd3Service', | |
| function($window, $timeout, d3Service) { | |
| return { | |
| restrict: 'A', | |
| scope: { | |
| data: '=', | |
| label: '@', | |
| onClick: '&' | |
| }, |
The reference materials used for this lecture can be found at http://api.rubyonrails.org and http://guides.rubyonrails.org.
We also have to take a quick look at rails's flash object.
The flash object allows you to set temporary messages that will
| # Working with multiple stocks | |
| """ | |
| SPY is used for reference - it's the market | |
| Normalize by the first day's price to plot on "equal footing" | |
| """ | |
| import os | |
| import pandas as pd | |
| import matplotlib.pyplot as plt |
| pragma solidity ^0.4.19; | |
| contract ERC721 { | |
| string constant private tokenName = "My ERC721 Token"; | |
| string constant private tokenSymbol = "MET"; | |
| uint256 constant private totalTokens = 1000000; | |
| mapping(address => uint) private balances; | |
| mapping(uint256 => address) private tokenOwners; | |
| mapping(uint256 => bool) private tokenExists; | |
| mapping(address => mapping (address => uint256)) private allowed; | |
| mapping(address => mapping(uint256 => uint256)) private ownerTokens; |
| set -e | |
| # latest commit | |
| LATEST_COMMIT=$(git rev-parse HEAD) | |
| # latest commit where path/to/folder1 was changed | |
| FOLDER1_COMMIT=$(git log -1 --format=format:%H --full-diff path/to/folder1) | |
| # latest commit where path/to/folder2 was changed | |
| FOLDER2_COMMIT=$(git log -1 --format=format:%H --full-diff path/to/folder2) |