I hereby claim:
- I am symmetric on github.
- I am symmetric (https://keybase.io/symmetric) on keybase.
- I have a public key ASBJNEtuo4ZGwdNxUGodB5QiQBQ_LMqXal6Id1TK5jzzWQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# | |
# Working with branches | |
# | |
# Get the current branch name (not so useful in itself, but used in | |
# other aliases) | |
branch-name = "!git rev-parse --abbrev-ref HEAD" | |
# Push the current branch to the remote "origin", and set it to track | |
# the upstream branch | |
publish = "!git push -u origin $(git branch-name)" |
#! /usr/bin/env python | |
class UserViewSet(ModelViewSet): | |
queryset = User.objects.all() | |
serializer_class = UserSerializer | |
def get_permissions(self): | |
# Allow non-authenticated user to create (i.e. register) by POST | |
return [AllowAny() if self.request.method == 'POST' else IsSuperOrTargetUser()] | |
[vagrant@kubernetes-minion-1 ~]$ sudo salt-call -l debug state.sls calico | |
[DEBUG ] Reading configuration from /etc/salt/minion | |
[DEBUG ] Including configuration from '/etc/salt/minion.d/grains.conf' | |
[DEBUG ] Reading configuration from /etc/salt/minion.d/grains.conf | |
[DEBUG ] Including configuration from '/etc/salt/minion.d/log-level-debug.conf' | |
[DEBUG ] Reading configuration from /etc/salt/minion.d/log-level-debug.conf | |
[DEBUG ] Including configuration from '/etc/salt/minion.d/master.conf' | |
[DEBUG ] Reading configuration from /etc/salt/minion.d/master.conf | |
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: kubernetes-minion-1 | |
[DEBUG ] Configuration file path: /etc/salt/minion |
I hereby claim:
To claim this, I am signing this object:
== InitRegionInLocations: migrating ========================================== | |
rake aborted! | |
StandardError: An error has occurred, this and all later migrations canceled: | |
undefined method `acts_as_gmappable' for #<Class:0x00000003e0b188>/var/lib/gems/1.9.1/gems/activerecord-3.2.17/lib/active_record/dynamic_matchers.rb:55:in | |
`method_missing' | |
/home/paul/dev/food-rescue-robot/app/models/location.rb:4:in `<class:Location>' | |
/home/paul/dev/food-rescue-robot/app/models/location.rb:1:in `<top (required)>' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:469:in `load' | |
/var/lib/gems/1.9.1/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:469:in `block in load_file' |
[31mThere was an error while executing `VBoxManage`, a CLI used by Vagrant | |
for controlling VirtualBox. The command and stderr is shown below. | |
Command: ["import", "C:\\Users\\pat\\.vagrant.d\\boxes\\precise32\\virtualbox\\box.ovf"] | |
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | |
Interpreting C:\Users\pat\.vagrant.d\boxes\precise32\virtualbox\box.ovf... | |
OK. |
INFO global: Vagrant version: 1.2.1 | |
DEBUG global: Loading core plugin: C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.1/plugins/commands/box/plugin.rb | |
INFO manager: Registered plugin: box command | |
DEBUG global: Loading core plugin: C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.1/plugins/commands/destroy/plugin.rb | |
INFO manager: Registered plugin: destroy command | |
DEBUG global: Loading core plugin: C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.1/plugins/commands/halt/plugin.rb | |
INFO manager: Registered plugin: halt command | |
DEBUG global: Loading core plugin: C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.1/plugins/commands/init/plugin.rb | |
INFO manager: Registered plugin: init command | |
DEBUG global: Loading core plugin: C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.1/plugins/commands/package/plugin.rb |
INFO global: Vagrant version: 1.2.1 | |
DEBUG global: Loading core plugin: C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.1/plugins/commands/box/plugin.rb | |
INFO manager: Registered plugin: box command | |
DEBUG global: Loading core plugin: C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.1/plugins/commands/destroy/plugin.rb | |
INFO manager: Registered plugin: destroy command | |
DEBUG global: Loading core plugin: C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.1/plugins/commands/halt/plugin.rb | |
INFO manager: Registered plugin: halt command | |
DEBUG global: Loading core plugin: C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.1/plugins/commands/init/plugin.rb | |
INFO manager: Registered plugin: init command | |
DEBUG global: Loading core plugin: C:/Program Files (x86)/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.1/plugins/commands/package/plugin.rb |