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
exports.config = { | |
// See http://brunch.io/#documentation for docs. | |
files: { | |
javascripts: { | |
joinTo: { | |
"js/app.js": /^(web\/static\/js)/, | |
"js/play.js": /^(web\/static\/js-play)/, // minimal js for play session | |
"js/vendor.js": /^(web\/static\/vendor)|(deps)/ | |
}, | |
order: { |
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
Struct Cat { | |
function walk() | |
} | |
func TakeAWalk( Cat pet ) { | |
pet.walk() | |
} | |
-- | |
struct Dog { |
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
(still test-set transactional memory semantics) | |
-- I went back to drawing board and asked the question - what if the resource version whas just a transparent mechanism of the resource - IE: model this as direct operations on remote resource... | |
I get the purchase |
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
list=`command gem list --no-versions` | |
for gem in $list; do | |
command gem uninstall $gem -aIx | |
done | |
command gem list | |
command gem install bundler |
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
files = Dir["./app/assets/templates/**/*.jst.*"] | |
files.each do |file| | |
old_file = file | |
new_file = file.gsub("assets/templates","assets/javascripts/templates").gsub(".jst","") | |
dir = File.dirname(new_file) | |
puts "Creating directory for file" | |
`mkdir -p #{dir}` | |
puts "Copy #{old_file} into #{new_file}" | |
`cp -a #{old_file} #{new_file}` | |
end |