This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ==================================================================== | |
# tigerbrew-node-config.command | |
# | |
# Configure an OS X system as a Tigerbrew test node. | |
# Assumes that Developer Tools & Remote Desktop Client are installed. | |
# Only tested on 10.4 and 10.5 so far. | |
# | |
# @EricFromCanada |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// THE XML_TREE TRAIT | |
define xml_tree_trait => trait { | |
provide attr() => { | |
local(out = map) | |
with attr in .attributes | |
do #out->insert(#attr->name = #attr->value) | |
return #out | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/lasso9 | |
define generatePi => { | |
yield currentCapture | |
local(r = array(), i, k, b, d, c = 0, x) | |
with i in generateSeries(1, 2800) | |
do { | |
#r->insert(2000) | |
} |