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
# -*- coding: utf-8 -*- | |
#------------------------------------------------------------------------------- | |
# UserList.py is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# UserList.py is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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/python | |
import re | |
import unittest | |
def trim(scr_in): | |
n_ws = 0 | |
scr_out = "" | |
pre = "" | |
for line in scr_in.splitlines(): |
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
#!jinja2 | |
title=Suite-3000 | |
description=A suite of 3000 tasks per cycle | |
[cylc] | |
UTC mode=True # Ignore DST | |
[scheduling] | |
initial cycle time=20130101T00Z | |
final cycle time=20130201T00Z | |
[[dependencies]] | |
[[[PT12H]]] |
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/python | |
from glob import glob | |
from Queue import Queue | |
import os | |
import stat | |
from subprocess import call, PIPE | |
from threading import Thread | |
from time import sleep | |
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/python | |
from glob import glob | |
from multiprocessing import Pool | |
import os | |
import stat | |
from subprocess import call | |
from uuid import uuid4 | |
def main(): |
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/bash | |
#------------------------------------------------------------------------------- | |
# (C) British Crown Copyright 2012-3 Met Office. | |
# | |
# This script is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This script is distributed in the hope that it will be useful, |
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/bash | |
if [[ -z ${CYLC_HOME:-} ]]; then | |
CYLC_HOME_ROOT=${CYLC_HOME_ROOT:-/opt} | |
CYLC_HOME=$CYLC_HOME_ROOT/cylc | |
if [[ -n ${CYLC_VERSION:-} && -d $CYLC_HOME_ROOT/cylc-$CYLC_VERSION ]]; then | |
CYLC_HOME=$CYLC_HOME_ROOT/cylc-$CYLC_VERSION | |
fi | |
fi | |
exec $CYLC_HOME/bin/$(basename $0) "$@" |
NewerOlder