Skip to content

Instantly share code, notes, and snippets.

View chouseknecht's full-sized avatar

Chris Houseknecht chouseknecht

View GitHub Profile
@chouseknecht
chouseknecht / onename_gist.txt
Created October 23, 2015 11:31
Onename.com verification
Verifying that +chouseknecht is my blockchain ID. https://onename.com/chouseknecht
@chouseknecht
chouseknecht / gist:6e7b4859af7f53171f1c7258db80b14a
Created February 18, 2017 12:17
AC import testing - Dockerfile
#
# RethinkDB Dockerfile
#
# https://github.com/dockerfile/rethinkdb
#
# Pull base image.
FROM dockerfile/ubuntu
# Install RethinkDB.
-
# Install RethinkDB.
# Foo bar
name: Install RethinkDB.
shell: echo "deb http://download.rethinkdb.com/apt `lsb_release -cs` main" > /etc/apt/sources.list.d/rethinkdb.list
- name: Install RethinkDB.
shell: wget -O- http://download.rethinkdb.com/apt/pubkey.gpg | apt-key add -
- name: Install RethinkDB.
@chouseknecht
chouseknecht / container.yml
Created December 13, 2017 16:30
A complex Ansible Container config file
version: '2'
settings:
conductor:
base: centos:7
volumes:
- ${PWD}/static:/static:rw
project_name: funnels
Traceback (most recent call last):
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
return self.run(*args, **kwargs)
File "/galaxy/galaxy/worker/tasks.py", line 58, in import_repository
_import_repository(import_task, logger)
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/django/utils/decorators.py", line 185, in inner
return func(*args, **kwargs)
File "/galaxy/galaxy/worker/tasks.py", line 122, in _import_repository
INFO Starting import: task_id=5, repository=atestuseraccount/debops
DEBUG Content search - Looking for file "apb.yml"
DEBUG Content search - Looking for top level role metadata file
DEBUG Content search - Analyzing repository structure
WARNING [ROLE: debops.monit] Found "categories" in metadata. Update the metadata to use "galaxy_tags" rather than categories.
INFO [ROLE: debops.monit] Linting...
INFO [ROLE: debops.monit] Linting OK.
INFO [ROLE: debops.nodejs] Linting...
INFO [ROLE: debops.nodejs] Linting OK.
INFO [ROLE: debops.apt_mark] Linting...
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
response = self._get_response(request)
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
galaxy=> select * from main_repositoryversion where repository_id = 41853;
id | created | modified | tag | version | commit_date | repository_id | commit_sha
-------+-------------------------------+-------------------------------+----------+---------+------------------------+---------------+------------
69821 | 2018-06-28 19:04:25.6899+00 | 2018-06-28 19:04:25.689939+00 | v1.0.7.1 | 1.0.7.1 | 2017-08-31 22:23:02+00 | 41853 |
27156 | 2017-03-01 05:01:37.102419+00 | 2018-02-21 13:29:20.539017+00 | v1.0.0 | 1.0.0 | 2017-03-01 04:49:15+00 | 41853 |
32100 | 2017-05-22 21:44:15.328666+00 | 2018-02-21 13:29:20.118228+00 | v1.0.3 | 1.0.3 | 2017-05-22 21:25:51+00 | 41853 |
32097 | 2017-05-22 19:45:49.512947+00 | 2018-02-21 13:29:20.290427+00 | v1.0.2 | 1.0.2 | 2017-05-22 19:43:45+00 | 41853 |
32092 | 2017-05-22 18:19:15.029564+00 | 2018-02-21 13:29:20.410918+00 | v1.0.1 | 1.0.1 | 2017-05-22 18:10:18+00
ERROR TypeError: this.http.get(...).map is not a function
at AuthService.push../src/app/auth/auth.service.ts.AuthService.me (auth.service.ts:52)
at AppComponent.push../src/app/app.component.ts.AppComponent.ngOnInit (app.component.ts:126)
at checkAndUpdateDirectiveInline (core.js:12411)
at checkAndUpdateNodeInline (core.js:13935)
at checkAndUpdateNode (core.js:13878)
at debugCheckAndUpdateNode (core.js:14771)
at debugCheckDirectivesFn (core.js:14712)
at Object.eval [as updateDirectives] (AppComponent_Host.ngfactory.js? [sm]:1)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:14697)
@chouseknecht
chouseknecht / upload_collection.yml
Last active June 23, 2020 11:34
Automated Collection Upload
---
- hosts: all
vars:
galaxy_api_url: http://localhost:5001/api/automation-hub/
galaxy_username: admin
galaxy_password: password
galaxy_namespace:
name: "newswangerd"
description: "Example collections"
galaxy_collection_path: newswangerd-collection_demo-1.0.10.tar.gz