Skip to content

Instantly share code, notes, and snippets.

View natea's full-sized avatar

Nate Aune natea

View GitHub Profile
{
"Id": "S3PolicyId1",
"Statement": [
{
"Sid": "IPDeny",
"Effect": "Deny",
"Principal": {
"AWS": "*"
},
"Action": "s3:*",
$ mkvirtualenv -p /usr/local/bin/python3 djangonv
Running virtualenv with interpreter /usr/local/bin/python3
Using base prefix '/usr/local/Cellar/python3/3.4.1/Frameworks/Python.framework/Versions/3.4'
New python executable in djangonv/bin/python3.4
Also creating executable in djangonv/bin/python
Installing setuptools, pip...
Complete output from command /Users/nateaune/.vir...angonv/bin/python3.4 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/virtualenv_support/pip-1.5.6-py2.py3-none-any.whl/pip/__init__.py", line 10, in <module>
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAnuz7yoU92AL8MkNcxTfKrSbnQhNud+myI7QF83W7Gs18tJ1FMSrF3RPcZEP5PItE3niJvwRVwHQ/TfhKLVJ4VzMt7PTVMO139gzfRI/yVsVPnG+4ESKVLQZZxCMSSksiK475BCF2TbBBu2Qzm3P7oTxLMJYyHSw/y0XngAvN6nJ1VRPCjpWKLEuK43V4+EBdNHWsdb3U/pCdL3t/rLN7IsVpmPA2IEsw0oBO7X247QbBdY54Sf80SozYpr6hru+7sgJSC6/95GZOTw+DfYC13n2VBHCY+BqnY37gRQJgkf7QYNCIZqhBKrQvOoXh6N8QjMd4Or0bIhN6/+/pDxqimw==
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDqwzjDecVYBXBlaGLeh+OeL0rt8NO6qpIGRGPD+XzyxfKintC0ztU5SbjmoBmIFsbsSvDI52Wtevt/qLIqGCncjppQyqF0FFUD6k1eA6ZwC22JZ1uctIpKjIHkfEXe9CENApfLPq+ldNvEi98DoAzxmUqt4h7/H3qQBsggAUR/MjI9eXukNp+okR3SmaDpWxbQ3MPYVl+eT/tGPitei6zNGhu1Dfz0e8NJxtmTNB5NNVJHqP7BJ0anX0JDi1/Aaq0vKuSsaG+2raqkkqEOhtLJDkbcN4Xtdhtg/VEjQVUYhQKT1VtgQ6c8/Q5yLoSZsUEw3EIFl0pKSOLDbPTeXs/p
@natea
natea / 0_reuse_code.js
Last active August 29, 2015 14:19
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Scheduling inventory scan
Cache initialization complete
See the cboot.log file for a record of the installation.
Starting up HealthShare...
Once this completes, users may access HealthShare
using 'cache.cpf' configuration file
S3ResponseError at /admin/edx_microsite_manager/microsite/add/
S3ResponseError: 403 Forbidden
Request Method: POST
Request URL: http://devstack.dev:8001/admin/edx_microsite_manager/microsite/add/
Django Version: 1.4.18
Exception Type: S3ResponseError
Exception Value:
S3ResponseError: 403 Forbidden
Exception Location: /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/boto/s3/bucket.py in _get_key_internal, line 234
Python Executable: /edx/app/edxapp/venvs/edxapp/bin/python
==> default: TASK: [forum | git checkout forum repo into {{forum_code_dir}}] ***************
==> default: failed: [localhost] => {"failed": true, "item": ""}
==> default: msg: Failed to download remote objects and refs
==> default:
==> default: FATAL: all hosts have already failed -- aborting
==> default:
==> default: PLAY RECAP ********************************************************************
==> default: to retry, use: --limit @/root/vagrant-devstack.retry
==> default: localhost : ok=76 changed=28 unreachable=0 failed=1
The SSH command responded with a non-zero exit status. Vagrant
==> default: TASK: [edxapp | install python post-post requirements] ************************
==> default: failed: [localhost] => (item=/edx/app/edxapp/edx-platform/requirements/edx/github.txt) => {"changed": true, "cmd": "/edx/app/edxapp/venvs/edxapp/bin/pip install -i https://pypi.python.org/simple --exists-action w --use-mirrors -r /edx/app/edxapp/edx-platform/requirements/edx/github.txt ", "delta": "0:01:05.327437", "end": "2015-04-06 19:56:38.263483", "item": "/edx/app/edxapp/edx-platform/requirements/edx/github.txt", "rc": 1, "start": "2015-04-06 19:55:32.936046"}
==> default: stderr: fatal: unable to access 'https://github.com/edx/django-pipeline.git/': Failed connect to github.com:443; Connection timed out
==> default: stdout: --use-mirrors has been deprecated and will be removed in the future. Explicit uses of --index-url and/or --extra-index-url is suggested.
==> default: Obtaining django-staticfiles from git+https://github.com/edx/django-staticfiles.git@d89aae2a82f2b#egg=django-staticfiles (from -r
==> default: applied_all = check_migration_histories(applied_all, delete_ghosts, ignore_ghosts)
==> default: File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/south/migration/__init__.py", line 88, in check_migration_histories
==> default: raise exceptions.GhostMigrations(ghosts)
==> default: south.exceptions.GhostMigrations:
==> default:
==> default: ! These migrations are in the database but not on disk:
==> default: <student: 0043_auto__add_linkedinaddtoprofileconfiguration>
==> default: <student: 0044_rename_linkedin_config_field>
==> default: <embargo: 0002_add_country_access_models>
==> default: <embargo: 0003_add_countries>