Including
- Casper
- Sharding
- Beacon Chain
other notes
Including
other notes
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; | |
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; | |
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL'; | |
CREATE SCHEMA IF NOT EXISTS `survey_001_models_from_tables` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci ; | |
USE `survey_001_models_from_tables` ; | |
-- ----------------------------------------------------- | |
-- Table `survey_001_models_from_tables`.`organizations` | |
-- ----------------------------------------------------- |
#!/usr/bin/env ruby | |
# 1. Install hunspell | |
# $ brew install hunspell | |
# 2. Download a dictionary and install it in a path listed by `hunspell -D` | |
# $ open http://wiki.services.openoffice.org/wiki/Dictionaries | |
# 3. Move this file into your repository | |
# $ mv commit-msg /path/to/repo/.git/hooks |
Clean Code - Martin | |
Code Complete - McConnell | |
Compilers - Aho | |
Computer Networks (5th Edition) - Tanenbaum | |
Design Patterns - Gamma, et al | |
Domain-Driven Design - Evans | |
Growing Object-Oriented Software, Guided by Tests - Freeman, et al | |
Introduction to Automata Theory, Languages, and Computation - Hopcroft | |
Purely Functional Data Structures - Okasaki | |
Refactoring - Fowler |
#import <Cocoa/Cocoa.h> | |
@interface NSColor (isLight) | |
- (BOOL)isLight; | |
@end |
d3.legend is a quick hack to add a legend to a d3
chart. Simply add a g
and .call(d3.legend)
. Any elements that have a title set in the "data-legend"
attribute will be included when d3.legend
is called. Each title will appear only once (even when multiple items define the same data-legend) as the process uses a set based on a existing names, not an array of all items.
By default the color in the legend will try to match the fill attribute or the stroke attribute of the relevant items. Color can be explicitly defined by attribute "data-legend-color"
The order of items in the legend will be sorted using the top of the bounding box for each included item. The order can be explicitly defined by attribute "data-legend-pos"
# with my git configuration the spree repo was giving me issues with line endings | |
# this fixed the issue for me: marking a file as binary causes git to ignore it completely | |
core/vendor/assets/javascripts/jquery.alerts/jquery.alerts.css.erb binary | |
core/vendor/assets/javascripts/jquery.alerts/jquery.alerts.js binary | |
core/vendor/assets/javascripts/jquery.jstree/themes/apple/style.css binary | |
sample/db/sample/spree/line_items.yml binary | |
sample/db/sample/spree/products.yml binary |