Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am mna on github.
  • I am puerkitobio ( on keybase.
  • I have a public key ASBQI8bPLBlTqqWPMzLKY9Kqdb7wK_f0r2J4NJiLWYn27wo

To claim this, I am signing this object:

View Makefile
# Using
.PHONY: test-cov
@swift package generate-xcodeproj
@xcodebuild -scheme MYSCHEME -derivedDataPath .build/xcode -enableCodeCoverage YES test
@xcov --scheme MYSCHEME --configuration Debug --derived_data_path .build/xcode --skip_slack --markdown_report
@rm -rf .build/xcode
@open xcov_report/index.html
View Backbone.ComputedPropertiesModel.js
/*global _, Backbone*/
// By Martin Angers (PuerkitoBio)
// This should be inside a module pattern. Defines a base Model class, could/should be merged with your
// own base Model.
// Dependencies: underscore (_) and Backbone.
var ComputedProperties = function(model) {
this.model = model; = {};