This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
import os | |
import sys | |
import argparse | |
from pathlib import Path | |
import gzip | |
import kfp.dsl as dsl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(kdb) [matt@argo] git:pyprojecttoml_build_twine+ </ffast2/kdb>>env PYENV_DEBUG=1 pyenv exec kmerdb -h 2>&1 | tee trace.log | |
+(/home/matt/.pyenv/bin/pyenv:23): enable -f /home/matt/.pyenv/bin/../libexec/pyenv-realpath.dylib realpath | |
+(/home/matt/.pyenv/bin/pyenv:30): '[' -z '' ']' | |
++(/home/matt/.pyenv/bin/pyenv:32): type -P greadlink readlink | |
++(/home/matt/.pyenv/bin/pyenv:32): head -1 | |
+(/home/matt/.pyenv/bin/pyenv:32): READLINK=/usr/bin/readlink | |
+(/home/matt/.pyenv/bin/pyenv:33): '[' -n /usr/bin/readlink ']' | |
+(/home/matt/.pyenv/bin/pyenv:58): '[' -z /home/matt/.pyenv ']' | |
+(/home/matt/.pyenv/bin/pyenv:61): PYENV_ROOT=/home/matt/.pyenv | |
+(/home/matt/.pyenv/bin/pyenv:63): export PYENV_ROOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
import os | |
import sys | |
import argparse | |
import kfp.dsl as dsl | |
import kfp.components as comp | |
import kfp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Computer Information: | |
Manufacturer: Unknown | |
Model: Unknown | |
Form Factor: Desktop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: AuthenticAMD | |
CPU Brand: AMD Ryzen Threadripper 3960X 24-Core Processor | |
CPU Family: 0x17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Trigger] | |
Operation = Remove | |
Type = Package | |
Target = * | |
[Action] | |
Description = Clearing cache... | |
When = PostTransaction | |
Exec = /home/<user>/.local/bin/tools/removehook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} | |
$if(fontfamily)$ | |
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$} | |
$else$ | |
\usepackage{lmodern} | |
$endif$ | |
% Originally coded by Matt Ralston, Jan 14 2021 | |
% Alex Ball's tutorial LaTeX code for making a bibLaTeX oxyear style (biblatex-oxref) | |
% Bibliography. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_root_logger(level): | |
levels=[logging.WARNING, logging.INFO, logging.DEBUG] | |
if level < 0 or level > 2: | |
raise TypeError("{0}.get_root_logger expects a verbosity between 0-2".format(__file__)) | |
logging.basicConfig(level=levels[level], format="%(levelname)s: $(asctime)s %(funcName)s L%(lineno)s| %(message)s", datefmt="%Y/%m/%d %I:%M:%S") | |
root_logger = logging.getLogger(__name__) | |
for name in logging.Logger.manager.loggerDict.keys(): | |
if ('boto' in name) or ('urllib3' in name) or ('s3' in name): | |
logging.getLogger(name).setLevel(logging.ERROR) | |
return root_logger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Response> | |
<Say voice="alice">Hi, I'd like to say on behalf of democracy that your behavior is unpatriotic, undemocratic, and your allegations have all been debunked. Check the debunking megathread on Twitter by Isaac Saul. Your actions are shameful and undermine democracy. Furthermore, you're wasting Republican money by keeping this line open. So I will continue to waste your time. Someone has to listen to this stuff anyways. Trump failed. Trump is supported by racists and xenophobes. Trump has hurt American health. Trump has hurt the economy through trade wars. Trump is friends with dictators. Trump was installed through election interference. Trump is a sexual predator. And you are supporting him. Trump failed. Trump is supported by racists and xenophobes. Trump has hurt American health. Trump has hurt the economy through trade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import gzip | |
import io | |
import tempfile | |
from Bio import SeqIO, bgzf | |
import pysam | |
import boto3 | |
# Logger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import io | |
import os | |
import sys | |
from shutil import rmtree | |
from setuptools import find_packages, setup, Command |
NewerOlder