I hereby claim:
- I am sequoia on github.
- I am sequoia (https://keybase.io/sequoia) on keybase.
- I have a public key whose fingerprint is 92AE B8E8 71C1 0988 02D3 CE92 1997 D382 FF3E EFC3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| ////////app.js | |
| define([ 'mithril', 'propertyPane'], | |
| function(m, propertyPane){ | |
| //div#properties exists | |
| m.module(document.getElementById('properties'),propertyPane); | |
| }); | |
| ///////propertyPane.js |
| <?php | |
| // autoload_psr4.php @generated by Composer | |
| $vendorDir = dirname(dirname(__FILE__)); | |
| $baseDir = dirname($vendorDir); | |
| return array( | |
| /*...*/ | |
| 'Behat\\Mink\\Driver\\' => array($vendorDir . '/behat/mink-browserkit-driver/src', $vendorDir . '/behat/mink-goutte-driver/src', $vendorDir . '/behat/mink-selenium2-driver/src'), |
| <?php | |
| require_once 'vendor/autoload.php'; | |
| class Tester { | |
| use MyNamespace\Traits\AmazonTraits; | |
| } |
| #!/usr/bin/env bash | |
| composer $* | |
| if [[ $? -eq 0 ]]; then | |
| osascript -e 'display notification "composer exited 0 ✨" with title "🔵 Success"' | |
| else | |
| osascript -e 'display notification "composer exited >0" with title "🔴 Failed"' | |
| fi | |
| exit $?; |
| "scripts": { | |
| "pre-install-cmd": "[[ -a .env ]] || >&2 echo '.env missing. please create .env' && exit 1;" | |
| }, |
| function setupJobs() { | |
| //group nodes into object w/breakpoint as keys | |
| var nodesByBreakpoint = _(vm.claims).chain() | |
| .reduce(function (nodes, claim) { | |
| return nodes.concat(claim.related_nodes); | |
| }, []) | |
| .groupBy(function (node) { | |
| return node.breakpoint; | |
| }) | |
| .value(); |
hello werld
Enclosure diagrams use containment to represent the hierarchy. Although circle packing is not as space-efficient as a treemap, it better reveals the hierarchy. Implementation based on work by Jeff Heer. Data shows the Flare class hierarchy, also courtesy Jeff Heer.
See also this zoomable version.
| //server/boot/create-some-data.js | |
| module.exports = function(app) { | |
| //@TODO: check ENV for NODE_ENV!==PRODUCTION | |
| //data sources | |
| var mongoDs = app.dataSources.mongoDs; | |
| function createReviewers(cb) { | |
| mongoDs.automigrate('Reviewer', function(err) { | |
| if (err) return cb(err); | |
| var Reviewer = app.models.Reviewer; | |
| Reviewer.create([ |
| /* jshint esnext: true */ | |
| var input = parseInt(process.argv[2]); | |
| var iterations = Number.isNaN(input) ? 10 : input; | |
| console.log('%d iterations', iterations); | |
| var fib = function(iter){ | |
| var state; | |
| state = { curr: 1, last: 0 }; | |
| for(var i=0; i<iter-1; i++){ | |
| state = { |