Skip to content

Instantly share code, notes, and snippets.

View brucellino's full-sized avatar
🛫
EOSC

Bruce Becker brucellino

🛫
EOSC
View GitHub Profile
@brucellino
brucellino / create_labels.sh
Created August 14, 2017 14:23 — forked from omegahm/create_labels.sh
Create Gtihub labels from Bash
#!/usr/bin/env bash
# Colours picked from https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/
###
# Label definitions
###
declare -A LABELS
# Platform
@brucellino
brucellino / 1-create-task-curl
Created November 16, 2016 14:20 — forked from mtorrisi/1-create-task-curl
Create Futuregateway task
## COMMAND
curl -i -H "Content-Type: application/json" -X POST -d '{"application":"2","description":"sayhello@csgfsdk test run", "arguments": ["\"I am saying hello!\""], "output_files": [{"name":"sayhello.data"}], "input_files": [{"name":"sayhello.sh"},{"name":"sayhello.txt"}]}' http://151.97.41.44:8888/v1.0/tasks?user=user
## EXPECTED OUTPUT
{
"status": "WAITING",
"application": "2",
"date": "2016-11-16T09:28:47Z",
"description": "sayhello@csgfsdk test run",
"output_files": [