Collection contains a pair of strings Obj.a and Obj.b, find out the sum of all unique pairs?
Note Obj{a:"abc",b:"xyz"} is equivalent to Obj{a:"xyz",b:"abc"}, although they are two separate documents.
.PHONY=build,clean | |
build/scripts.js: src/*.coffee | |
coffee --join $@ -c $^ | |
build: build/scripts.js | |
clean: | |
rm -rf build/* |
This configuration file is based on that provided by the HTML 5 Boilerplate group: h5bp/server-configs-nginx @ version 228c5ccc
example.com
with your domain name in the configuration file./etc/nginx/conf.d
.service nginx restart
).FROM codenvy/angular-yeoman | |
# Change the user ID and group to be compatible with Boot2Docker | |
RUN sudo usermod -g staff user && sudo usermod -u 1000 user |
stream = require "stream" | |
class StringifyStream extends stream.Transform | |
constructor: -> | |
super() | |
@_readableState.objectMode = false | |
@_writableState.objectMode = true | |
_transform: (obj, enc, done) -> | |
@push JSON.stringify obj, null, 2 | |
done?() |
(* Customize Review Intervals *) | |
using terms from application "OmniFocus" | |
property onHoldReviewInterval : {unit:month, steps:1, fixed:false} | |
property activeReviewInterval : {unit:day, steps:4, fixed:false} | |
end using terms from | |
tell application "OmniFocus" | |
tell front document | |
tell document window 1 -- (first document window whose index is 1) | |
set theSelectedItems to selected trees of content |
Verifying my Blockstack ID is secured with the address 13J4CjM7DMpps5Jz3rpASCDqKkMvxsLAhj https://explorer.blockstack.org/address/13J4CjM7DMpps5Jz3rpASCDqKkMvxsLAhj |