I hereby claim:
- I am pditommaso on github.
- I am pditommaso (https://keybase.io/pditommaso) on keybase.
- I have a public key ASBO7OHqsrCmlRxzNCv0FrQ_SpYHa1a--FIRxM-Yuxz2ZAo
To claim this, I am signing this object:
#!/bin/bash | |
# Source and destination repositories | |
source_repo="quay.io/seqeralabs/nf-launcher" | |
dest_repo="public.ecr.aws/seqera-labs/tower/nf-launcher" | |
# List all images in the source repository | |
tags=$(skopeo list-tags docker://$source_repo | jq -r .Tags[]) | |
# Loop through each image and perform the copy |
-- Initial setup | |
mkdir <YOURPROJECT> | |
cd <YOURPROJECT> | |
git init | |
-- Link to GitHub hosted repos | |
git remote add origin <[email protected]:YOURACCOUNT/YOURREPO.git> | |
git pull origin master |
set +e | |
trap 'catch' ERR | |
catch() { | |
echo "An error has occurred but we're going to eat it!! exit status $?" | |
} | |
echo "Before bad command" | |
badcommand | |
echo "After bad command" |
#!/usr/bin/env python3 | |
import hmac | |
import hashlib | |
import base64 | |
import argparse | |
# Values that are required to calculate the signature. These values should | |
# never change. | |
DATE = "11111111" |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
#SBATCH --job-name=ignite-nf-wordcount | |
#SBATCH --output=nf_ignite_%j.log | |
# Create the ignite allocation across 4 32GB nodes | |
#SBATCH --partition=32GB | |
#SBATCH -N 4 | |
# This creates a random cluster seed, so the ignite cluster can communicate | |
# with itself and not clash with other running ignite clusters on Nucleus. |
import com.sun.net.httpserver.HttpExchange | |
import com.sun.net.httpserver.HttpHandler | |
import com.sun.net.httpserver.HttpServer | |
import groovy.json.JsonOutput | |
class TowerMockServer implements HttpHandler { | |
private int count | |
@Override |
#!/usr/bin/env nextflow | |
@Grab(group='net.bioclipse.bacting', module='managers-cdk', version='0.0.3') | |
import net.bioclipse.managers.CDKManager | |
params.str = "./data.tsv" | |
params.size = 5000 | |
process splitWikidata { | |
input: | |
file str from Channel.fromPath(params.str) |
[ | |
{ | |
"name": "org.codehaus.groovy.runtime.dgm$0", | |
"allDeclaredConstructors": true, | |
"allPublicConstructors": true, | |
"allDeclaredMethods": true, | |
"allPublicMethods": true | |
}, | |
{ | |
"name": "org.codehaus.groovy.runtime.dgm$1", |
@Grab(group = "org.reflections", module = "reflections", version = "0.9.11") | |
import groovy.json.JsonOutput | |
import org.codehaus.groovy.reflection.GeneratedMetaMethod | |
import org.reflections.Reflections | |
import org.reflections.util.ConfigurationBuilder | |
def reflections = new Reflections(new ConfigurationBuilder().build()) | |
def json = reflections.getSubTypesOf(GeneratedMetaMethod).collect { |