THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| # This is a skeleton for testing models including examples of validations, callbacks, | |
| # scopes, instance & class methods, associations, and more. | |
| # Pick and choose what you want, as all models don't NEED to be tested at this depth. | |
| # | |
| # I'm always eager to hear new tips & suggestions as I'm still new to testing, | |
| # so if you have any, please share! | |
| # | |
| # This skeleton also assumes you're using the following gems: | |
| # | |
| # rspec-rails: https://github.com/rspec/rspec-rails |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| export PROJECT_NAME=$1 | |
| export WORKING_DIR=/me/prj/$PROJECT_NAME | |
| cd $WORKING_DIR; | |
| # create the session | |
| tmux start-server | |
| tmux new-session -d -s $PROJECT_NAME -n work | |
| # start vim in working dir | |
| tmux select-window -t$PROJECT_NAME:1 |
A friend asked me for a few pointers to interesting, mostly recent papers on data warehousing and "big data" database systems, with an eye towards real-world deployments. I figured I'd share the list. It's biased and rather incomplete but maybe of interest to someone. While many are obvious choices (I've omitted several, like MapReduce), I think there are a few underappreciated gems.
###Dataflow Engines:
Dryad--general-purpose distributed parallel dataflow engine
http://research.microsoft.com/en-us/projects/dryad/eurosys07.pdf
Spark--in memory dataflow
http://www.cs.berkeley.edu/~matei/papers/2012/nsdi_spark.pdf
| # | |
| # Please go to https://github.com/paulnsorensen/lifesaver | |
| # | |
| class Foo < ActiveRecord::Base | |
| has_many :bars | |
| belongs_to :baz | |
| include IndexingHandler | |
| indexed_associations :bars, :baz | |
| end |
| # config/initializers/extensions/active_record.rb | |
| module ActiveRecord | |
| class Base | |
| class << self | |
| delegate :pluck, to: :scoped | |
| end | |
| end | |
| class CollectionProxy | |
| delegate :pluck, to: :scoped |