- 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.
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
8be9f66e1ca5a8d1c45af69ecf6b575f787cd562265bb4c432d1ee4d4742dbf63a20f3ce81c4a4bbc40c3f0379c670f3770abebdcd4eb0ba34dfc093f5488cd4 |
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 | |
# 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." |
I hereby claim:
- I am avocade on github.
- I am avocade (https://keybase.io/avocade) on keybase.
- I have a public key whose fingerprint is 70E5 063A 021F 84A0 188C DDE1 504F DA78 B59D 201F
To claim this, I am signing this object:
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
Users = new Meteor.Collection 'users' | |
currentUser = -> | |
Users.findOne Session.get 'user_id' | |
if Meteor.is_client | |
Meteor.startup = -> | |
Meteor.autosubscribe = -> | |
Meteor.subscribe 'users' |
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
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' } |
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
group :development, :test do | |
gem 'factory_girl_rails' | |
gem 'debugger' | |
gem 'rspec-rails' | |
end |