Skip to content

Instantly share code, notes, and snippets.

View singingwolfboy's full-sized avatar
Available for contract work

David Baumgold singingwolfboy

Available for contract work
View GitHub Profile
changed: [default] => (item={'wheel': 'psutil-1.2.1-cp27-none-linux_x86_64.whl', 'pkg': 'psutil==1.2.1'}) => {"changed": true, "cmd": "/home/jenkins/wheel_venv/bin/pip wheel --wheel-dir=/home/jenkins/wheelhouse \"psutil==1.2.1\" && /home/jenkins/wheel_venv/bin/pip install --use-wheel --no-index --find-links=/home/jenkins/wheelhouse \"psutil==1.2.1\" ", "delta": "0:00:01.772245", "end": "2014-05-08 15:20:27.111863", "item": {"pkg": "psutil==1.2.1", "wheel": "psutil-1.2.1-cp27-none-linux_x86_64.whl"}, "rc": 0, "start": "2014-05-08 15:20:25.339618", "stderr": "", "stdout": "Downloading/unpacking psutil==1.2.1\n Running setup.py (path:/home/jenkins/wheel_venv/build/psutil/setup.py) egg_info for package psutil\n \nBuilding wheels for collected packages: psutil\n Running setup.py bdist_wheel for psutil\n Destination directory: /home/jenkins/wheelhouse\nSuccessfully built psutil\nCleaning up...\nIgnoring indexes: https://pypi.python.org/simple/\nDownloading/unpacking psutil==1.2.1\nInstalling collected package
% scripts/reset-test-db.sh
Traceback (most recent call last):
File "./manage.py", line 90, in <module>
startup = importlib.import_module(edx_args.startup)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/Users/db/dev/edx-platform/lms/startup.py", line 8, in <module>
settings.INSTALLED_APPS # pylint: disable=W0104
File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py", line 184, in inner
self._setup()
root@singingwolfboy:/edx/app/edxapp/edx-platform# /edx/bin/update edx-platform 0c1b045
PLAY [Deploy edxapp] **********************************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
TASK: [edxapp | setup the edxapp env] *****************************************
ok: [localhost]
<%! from django.utils.translation import ugettext as _ %>
<%namespace name='static' file='/static_content.html'/>
<%static:css group='style-vendor-tinymce-content'/>
<%static:css group='style-vendor-tinymce-skin'/>
no quotes: ${static.url('js/vendor/tinymce/js/tinymce/tinymce.full.min.js')}
<br>
single quotes: '${static.url("js/vendor/tinymce/js/tinymce/tinymce.full.min.js")}'
<br>
double quotes: "${static.url('js/vendor/tinymce/js/tinymce/tinymce.full.min.js')}"
<br>
--- 6ab6b72c-tests.log 2014-06-03 15:45:25.000000000 -0400
+++ 4fbb52a-tests.log 2014-06-03 15:50:22.000000000 -0400
@@ -6,133 +6,133 @@
ERROR
test_trailing_charecters (test_runtime.TestHandlerUrl) ... test_trailing_charecters (test_runtime.TestHandlerUrl) ... #4 #4 ERROR
ERROR
-test_translated_messages_ar (i18n.tests.test_compiled_messages.TestCompiledMessages) ... test_translated_messages_ar (i18n.tests.test_compiled_messages.TestCompiledMessages) ... #5 #5 passed
+test_translated_messages_10_cy (i18n.tests.test_compiled_messages.TestCompiledMessages) ... test_translated_messages_10_cy (i18n.tests.test_compiled_messages.TestCompiledMessages) ... #258 #258 passed
passed
-test_translated_messages_az (i18n.tests.test_compiled_messages.TestCompiledMessages) ... test_translated_messages_az (i18n.tests.test_compiled_messages.TestCompiledMessages) ... #6 #6 passed
% vagrant provision
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default:
==> default: PLAY [Deploy the edx_ansible role] ********************************************
==> default:
==> default: TASK: [edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir] ***
==> default: changed: [localhost]
==> default:
=== Migrating issue BLD-393
GET old https://edx-wiki.atlassian.net/rest/api/2/issue/BLD-393
GET old https://edx-wiki.atlassian.net/rest/api/2/issue/BLD-393/remotelink
POST new https://openedx.atlassian.net/rest/api/2/issue
GET new https://openedx.atlassian.net/rest/api/2/issue/BLD-418/transitions?expand=transitions.fields
POST new https://openedx.atlassian.net/rest/api/2/issue/BLD-418/transitions?expand=transitions.fields
POST new https://openedx.atlassian.net/rest/api/2/issue/BLD-418/comment
GET old https://edx-wiki.atlassian.net/rest/api/2/issue/BLD-393/watchers
DELETE new https://openedx.atlassian.net/rest/api/2/issue/BLD-418/watchers?username=admin
POST new https://openedx.atlassian.net/rest/api/2/issue/BLD-418/watchers
#!/usr/bin/env bash
# This script runs edx_ansible locally
set -e
usage() {
SAVE_IFS=$IFS
IFS=","
cat<<EO
Hi Jim, I totally understand wanting to limit edX’s costs, and I think this is a
totally reasonable decision. However, I’d like to know if there a specific event
that caused this change in policy. We’ve been sharing Seamless funds basically
since the Seamless lunch program began, and I’m wondering why this email is
coming *now*, instead of previously.
I’d also like to point out that sharing Seamless funds has caused a lot of
socialization and fun at this company, as well as at least one cultural event
(the “Seamless Showdown”). Research shows that happy employees are productive
employees, and I’m wondering if you’ve considered the social implications of
@singingwolfboy
singingwolfboy / gist:8cf15e1d575586226451
Created August 26, 2014 21:01
inspect.getmembers() does not seem to be working on Python 3.4 with the predicate argument -- I would expect the last call to return information for `a` and `b`.
% python3
Python 3.4.1 (default, May 19 2014, 13:10:29)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> class Foo(object):
... def a(self):
... pass
... def b(self, nothing):
... pass
...