Skip to content

Instantly share code, notes, and snippets.

Martin Cech martenson

Block or report user

Report or block martenson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@martenson
martenson / resize.sh
Created Mar 1, 2019 — forked from natefoo/resize.sh
Resize Jenkins worker partitions
View resize.sh
# I ran each block individually by hand by pasting =P
df -hl /var/lib/docker /var/jenkins && \
systemctl stop docker && \
umount /var/lib/docker && \
pkill -u jenkins
# wait a few seconds, but not too long because Jenkins will reconnect D=
umount /var/jenkins && \
@martenson
martenson / installers.md
Last active Jun 15, 2016 — forked from natefoo/installers.md
How to install tools on Test and Main
View installers.md

Run the installer

Make sure nobody is running a docker container before restarting the service...

MAIN

$ ssh g2main@cvmfs0-tacc0.galaxyproject.org
$ cvmfs_server transaction main.galaxyproject.org
$ systemctl restart docker.service
$ docker run --rm -v /cvmfs:/cvmfs -p 127.0.0.1:8818:8888 galaxy/main_installer
View gist:92db384a12194e102b0c2dac4724a6bb
Backbone.js
BlameHighlighter
DocBlockr
EasyDiff
FileDiffs
Git
GitGutter
Indent XML
JSON Reindent
LESS
View gist:f5bc887b1721732991e0
--- from_file
+++ untitled 1
@@ -9,13 +9,22 @@
from optparse import OptionParser
parser = OptionParser()
-parser.add_option( '-c', '--config', dest='config', help='Path to Galaxy config file (universe_wsgi.ini)', default='universe_wsgi.ini' )
+parser.add_option( '-c', '--config', dest='config', help='Path to Galaxy config file (config/galaxy.ini)', default=None )
parser.add_option( '-e', '--egg-name', dest='egg_name', help='Egg name (as defined in eggs.ini) to fetch, or "all" for all eggs, even those not needed by your configuration' )
parser.add_option( '-p', '--platform', dest='platform', help='Fetch for a specific platform (by default, eggs are fetched for *this* platform' )
View gist:ec451b2551b37d446c93
128.118.201.178 - - [05/May/2014:15:12:06 -0400] "PUT /api/histories/e89067bb68bee7a0/set_as_current HTTP/1.1" 200 - "http://martenson.bx.psu.edu:8080/library/list" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36"
galaxy.web.framework ERROR 2014-05-05 15:13:07,230 Uncaught exception in exposed API method:
Traceback (most recent call last):
File "/Users/marten/marten-galaxy/lib/galaxy/web/framework/__init__.py", line 331, in decorator
rval = func( self, trans, *args, **kwargs)
File "/Users/marten/marten-galaxy/lib/galaxy/webapps/galaxy/api/histories.py", line 139, in set_as_current
trans.history = history
File "/Users/marten/marten-galaxy/lib/galaxy/web/framework/__init__.py", line 1022, in set_history
self.galaxy_session.current_history = history
You can’t perform that action at this time.