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:
I hereby claim:
To claim this, I am signing this object:
group :development, :test do | |
gem 'factory_girl_rails' | |
gem 'debugger' | |
gem 'rspec-rails' | |
end |
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' } |
Users = new Meteor.Collection 'users' | |
currentUser = -> | |
Users.findOne Session.get 'user_id' | |
if Meteor.is_client | |
Meteor.startup = -> | |
Meteor.autosubscribe = -> | |
Meteor.subscribe 'users' |
8be9f66e1ca5a8d1c45af69ecf6b575f787cd562265bb4c432d1ee4d4742dbf63a20f3ce81c4a4bbc40c3f0379c670f3770abebdcd4eb0ba34dfc093f5488cd4 |
#!/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." |