Skip to content

Instantly share code, notes, and snippets.

@almahmoud
almahmoud / Instructions
Created November 10, 2022 17:55
Download from OSN
# First go to the directory where you wish to have the mirror.
# Eg: cd /my/mirror/path
# For 3.12:
# prep 3.12 directory and download list
mkdir 3.12 && curl -O https://gist.githubusercontent.com/almahmoud/9d494607650613268dd2fc4c3fc7fb04/raw/2d54eb1fb461bf59b6235f83f416e34057abcaab/312ls
# Copy all files from list
@almahmoud
almahmoud / 312ls
Created November 10, 2022 17:41
312 & 314 lists from OSN
3275287 bioc/bin/macosx/contrib/4.0/ABAEnrichment_1.20.0.tgz
1319181 bioc/bin/macosx/contrib/4.0/ABSSeq_1.44.0.tgz
631277 bioc/bin/macosx/contrib/4.0/ABarray_1.58.0.tgz
856629 bioc/bin/macosx/contrib/4.0/ACE_1.8.0.tgz
10566553 bioc/bin/macosx/contrib/4.0/ACME_2.46.0.tgz
427708 bioc/bin/macosx/contrib/4.0/ADAM_1.6.0.tgz
1154076 bioc/bin/macosx/contrib/4.0/ADAMgui_1.6.0.tgz
2444739 bioc/bin/macosx/contrib/4.0/ADImpute_1.0.0.tgz
1208120 bioc/bin/macosx/contrib/4.0/ADaCGH2_2.30.0.tgz
618656 bioc/bin/macosx/contrib/4.0/AGDEX_1.38.0.tgz
@almahmoud
almahmoud / 314ls
Created November 10, 2022 17:40
312 & 314 lists from OSN
This file has been truncated, but you can view the full file.
3642572 bioc/bin/macosx/contrib/4.1/ABAEnrichment_1.24.0.tgz
1318814 bioc/bin/macosx/contrib/4.1/ABSSeq_1.48.0.tgz
632182 bioc/bin/macosx/contrib/4.1/ABarray_1.62.0.tgz
2578282 bioc/bin/macosx/contrib/4.1/ACE_1.12.0.tgz
10566791 bioc/bin/macosx/contrib/4.1/ACME_2.50.0.tgz
406756 bioc/bin/macosx/contrib/4.1/ADAM_1.10.0.tgz
942717 bioc/bin/macosx/contrib/4.1/ADAMgui_1.10.0.tgz
2444002 bioc/bin/macosx/contrib/4.1/ADImpute_1.4.0.tgz
1215905 bioc/bin/macosx/contrib/4.1/ADaCGH2_2.34.0.tgz
618457 bioc/bin/macosx/contrib/4.1/AGDEX_1.42.0.tgz
@almahmoud
almahmoud / operator-bug
Created April 19, 2021 23:41
psql-operator-bug
IN PSQL OPERATOR
time="2021-04-19T23:37:27Z" level=info msg="SYNC event has been queued" cluster-name=try30/galaxy-try30-gxy-rls-galaxy-postgres pkg=controller worker=1
time="2021-04-19T23:37:27Z" level=info msg="there are 1 clusters running" pkg=controller
time="2021-04-19T23:37:27Z" level=info msg="syncing of the cluster started" cluster-name=try30/galaxy-try30-gxy-rls-galaxy-postgres pkg=controller worker=1
time="2021-04-19T23:37:27Z" level=debug msg="team API is disabled" cluster-name=try30/galaxy-try30-gxy-rls-galaxy-postgres pkg=cluster worker=1
time="2021-04-19T23:37:27Z" level=info msg="syncing secrets" cluster-name=try30/galaxy-try30-gxy-rls-galaxy-postgres pkg=cluster worker=1
time="2021-04-19T23:37:27Z" level=debug msg="secret try30/galaxydbuser.galaxy-try30-gxy-rls-galaxy-postgres.credentials.postgresql.acid.zalan.do already exists, fetching its password" cluster-name=try30/galaxy-try30-gxy-rls-galaxy-postgres pkg=cluster worker=1
time="2021-04-19T23:37:27Z" level=debug msg="secret try30/standby
@almahmoud
almahmoud / race-condition
Created April 19, 2021 22:04
galaxy-db-race-condition
(Background on this error at: http://sqlalche.me/e/13/e3q8)
galaxy.workflow.scheduling_manager ERROR 2021-04-19 22:00:19,000 [pN:job_handler_0,p:7,tN:WorkflowRequestMonitor.monitor_thread] An exception occured scheduling while scheduling workflows
Traceback (most recent call last):
File "/galaxy/server/.venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context
self.dialect.do_execute(
File "/galaxy/server/.venv/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute
cursor.execute(statement, parameters)
psycopg2.errors.ReadOnlySqlTransaction: cannot execute UPDATE in a read-only transaction
The above exception was the direct cause of the following exception:
@almahmoud
almahmoud / shed_tool_conf.xml
Created April 15, 2021 03:08
cloud-tool-conf-apr-2021
<?xml version="1.0" encoding="UTF-8"?>
<toolbox tool_path="/cvmfs/cloud.galaxyproject.org/tools" tool_cache_data_dir="/cvmfs/cloud.galaxyproject.org/var/tool_cache">
<section id="virology" name="Virology" version="">
<tool file="toolshed.g2.bx.psu.edu/repos/iuc/ivar_trim/db536ad45f28/ivar_trim/ivar_trim.xml" guid="toolshed.g2.bx.psu.edu/repos/iuc/ivar_trim/ivar_trim/1.2.2+galaxy1">
<tool_shed>toolshed.g2.bx.psu.edu</tool_shed>
<repository_name>ivar_trim</repository_name>
<repository_owner>iuc</repository_owner>
<installed_changeset_revision>db536ad45f28</installed_changeset_revision>
<id>toolshed.g2.bx.psu.edu/repos/iuc/ivar_trim/ivar_trim/1.2.2+galaxy1</id>
<version>1.2.2+galaxy1</version>
@almahmoud
almahmoud / psql.yaml
Created April 10, 2021 06:43
psql.yaml
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
pv.kubernetes.io/provisioned-by: rancher.io/local-path
finalizers:
- kubernetes.io/pv-protection
managedFields:
- apiVersion: v1
fieldsType: FieldsV1
@almahmoud
almahmoud / mar23-2101-no-cache-gke-job.log
Created March 24, 2021 02:04
mar23-2101-cache-timings
This file has been truncated, but you can view the full file.
DEBUG:galaxy.app:python path is: /galaxy/server/scripts, /galaxy/server/lib, /usr/lib/python38.zip, /usr/lib/python3.8, /usr/lib/python3.8/lib-dynload, /galaxy/server/.venv/lib/python3.8/site-packages
DEBUG:galaxy.config:Configuration directory is /galaxy/server/config
DEBUG:galaxy.config:Data directory is /galaxy/server/database
DEBUG:galaxy.config:Managed config directory is /galaxy/server/config
DEBUG:galaxy.containers:config file '/galaxy/server/config/containers_conf.yml' does not exist, running with default config
WARNING:galaxy.config:Config option 'sanitize_whitelist_file' is deprecated and will be removed in a future release. Please consult the latest version of the sample configuration file.
galaxy.web_stack DEBUG 2021-03-24 01:41:24,164 [pN:job_handler_0,p:7,tN:MainThread] WeblessApplicationStack initialized
galaxy.web_stack DEBUG 2021-03-24 01:41:24,164 [pN:job_handler_0,p:7,tN:MainThread] Will attach to pool(s): job-handlers
galaxy.web_stack DEBUG 2021-03-24 01:41:24,165 [pN:job_handler_0,p:7,tN
@almahmoud
almahmoud / nvidia-installer.log
Created March 11, 2021 08:16
nvidia-installer.log
root@nvidia-driver-daemonset-4wzdb:/usr/src/nvidia-450.80.02# cat /var/log/nvidia-installer.log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Mar 11 08:12:43 2021
installer version: 450.80.02
PATH: /usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
nvidia-installer command line:
nvidia-installer
--kernel-module-only
@almahmoud
almahmoud / mar8-gke-job.log
Created March 8, 2021 23:18
mar8-gke-job.log
This file has been truncated, but you can view the full file.
DEBUG:galaxy.app:python path is: /galaxy/server/scripts, /galaxy/server/lib, /usr/lib/python38.zip, /usr/lib/python3.8, /usr/lib/python3.8/lib-dynload, /galaxy/server/.venv/lib/python3.8/site-packages
DEBUG:galaxy.config:Configuration directory is /galaxy/server/config
DEBUG:galaxy.config:Data directory is /galaxy/server/database
DEBUG:galaxy.config:Managed config directory is /galaxy/server/config
DEBUG:galaxy.containers:config file '/galaxy/server/config/containers_conf.yml' does not exist, running with default config
WARNING:galaxy.config:Config option 'sanitize_whitelist_file' is deprecated and will be removed in a future release. Please consult the latest version of the sample configuration file.
galaxy.web_stack DEBUG 2021-03-08 22:58:43,101 WeblessApplicationStack initialized
galaxy.web_stack DEBUG 2021-03-08 22:58:43,101 Will attach to pool(s): job-handlers
galaxy.web_stack DEBUG 2021-03-08 22:58:43,103 server_name set to: job_handler_0
galaxy.queue_worker INFO 2021-03-08 22:58:43,104 Initializing jo