TodoMVC Composed (it's just a for loop!!!) — Electric Clojure
- An early demonstration "Compiler Managed Network" and the extreme dynamic composition it makes possible
- TodoMVC Composed merely calls the previous TodoMVC function inside a for loop.
#!/bin/bash | |
# This script provides easy way to debug remote Erlang nodes that is running in a kubernetes cluster. | |
# Usage: ./erl-observe.sh -l app=my_all -n default -c erlang_cookie | |
# | |
# Don't forget to include `:runtime_tools` in your mix.exs application dependencies. | |
set -e | |
# Trap exit so we can try to kill proxies that has stuck in background | |
function cleanup { | |
echo " - Stopping kubectl proxy." |
8be9f66e1ca5a8d1c45af69ecf6b575f787cd562265bb4c432d1ee4d4742dbf63a20f3ce81c4a4bbc40c3f0379c670f3770abebdcd4eb0ba34dfc093f5488cd4 |
Users = new Meteor.Collection 'users' | |
currentUser = -> | |
Users.findOne Session.get 'user_id' | |
if Meteor.is_client | |
Meteor.startup = -> | |
Meteor.autosubscribe = -> | |
Meteor.subscribe 'users' |
puts 'creating admins' | |
Admin.create :name => 'superadmin', :password => 'rollercoaster' | |
puts 'creating countries' | |
countries = [] | |
countries << { :name => 'sweden', :iso_code => 'se' } | |
countries << { :name => 'sweden', :iso_code => 'se' } | |
countries << { :name => 'usa', :iso_code => 'us' } |
group :development, :test do | |
gem 'factory_girl_rails' | |
gem 'debugger' | |
gem 'rspec-rails' | |
end |
I hereby claim:
To claim this, I am signing this object: