text
stringlengths
1
1.05M
def longest_palindrome(s): n = len(s) T = [[False for i in range(n)] for i in range(n)] maxLength = 0 # Find palindromes of single characters for i in range(n): T[i][i] = True # Find palindromes of double characters for i in range(n-1): if s[i] == s[i+1]: T[i][i+1] = True maxLength = 2 # Find palindromes of length greater than 2 for k in range(3, n+1): for i in range(n-k+1): j = i+k-1 if s[i] == s[j] and T[i+1][j-1]: T[i][j] = True maxLength = k #Find the start and end of the longest one startIndex=0 endIndex=0 for i in range(n): for j in range(n): if T[i][j] and j-i+1 >= maxLength: maxLength = j-i+1 startIndex = i endIndex = j longestPalindrome = s[startIndex:endIndex+1] return longestPalindrome
from django import forms class RegistrationForm(forms.Form): username = forms.CharField(max_length=150) password = forms.CharField(widget=forms.PasswordInput)
<filename>src/shared/stores/user.js /* @flow */ import { observable, action } from 'mobx'; import axios from 'axios'; import { config } from '../../config'; import _ from 'lodash'; export default class UserStore { @observable data = []; @observable selectedId = ''; constructor(initialState: (?number)[] = [null]) { _.forEach(initialState, (value, key) => { switch (key) { case 'data': this.data = value; break; default: break; } }); } @action fetchData() { const p = new Promise((resolve, reject) => { axios .get('http://www.mocky.io/v2/59513eba1200009b128c7af2', config.axios) .then(response => { this.data = response.data; resolve(); }) .catch(error => { reject(error); }); }); return p; } @action setSelectedId(id: string) { this.selectedId = id; } }
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { findIndex, cloneDeep } from 'lodash' export interface Label { id: number, name: string, color: string, } let idCounter = 0 const initialLabels: Label[] = [ { id: idCounter++, name: 'Personal', color: '#00ff00', }, { id: idCounter++, name: 'Work', color: '#0000ff', }, { id: idCounter++, name: 'Urgent', color: '#ff0000', }, { id: idCounter++, name: 'Supermarket', color: '#ffff00', } ] let labels = cloneDeep(initialLabels) export function getLabels() { return labels } export function addLabel(label: Omit<Label, 'id'>) { const labelWithId = { ...label, id: idCounter++ } labels.push(labelWithId) return labelWithId } export function removeLabelById(id: number) { const index = findIndex(labels, { id }) if (index !== -1) labels.splice(index, 1) } export function editLabel(label: Label) { const index = findIndex(labels, { id: label.id }) if (index !== -1) labels[index] = label return label } export function resetLabels() { labels = cloneDeep(initialLabels) }
package com.opalfire.foodorder.adapter; import android.app.Activity; import android.support.v4.view.PagerAdapter; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.ImageView; import com.bumptech.glide.Glide; import com.bumptech.glide.load.engine.DiskCacheStrategy; import com.bumptech.glide.request.RequestOptions; import com.opalfire.foodorder.R; import com.opalfire.foodorder.fragments.SliderDialogFragment; import com.opalfire.foodorder.models.Image; import java.util.List; public class SliderPagerAdapter extends PagerAdapter { private Activity activity; private List<Image> image_arraylist; private Boolean isClickable = Boolean.valueOf(false); public SliderPagerAdapter(Activity activity, List<Image> list, Boolean bool) { this.activity = activity; this.image_arraylist = list; this.isClickable = bool; } public boolean isViewFromObject(View view, Object obj) { return view == obj; } public Object instantiateItem(ViewGroup viewGroup, int i) { View inflate = ((LayoutInflater) this.activity.getSystemService("layout_inflater")).inflate(R.layout.layout_slider, viewGroup, false); ImageView imageView = (ImageView) inflate.findViewById(R.id.im_slider); Glide.with(this.activity.getApplicationContext()).load(((Image) this.image_arraylist.get(i)).getUrl()).apply(new RequestOptions().diskCacheStrategy(DiskCacheStrategy.ALL).placeholder((int) R.drawable.ic_restaurant_place_holder).error((int) R.drawable.ic_restaurant_place_holder)).into(imageView); if (this.isClickable.booleanValue() != 0) { imageView.setOnClickListener(new C08281()); } viewGroup.addView(inflate); return inflate; } public int getCount() { return this.image_arraylist.size(); } public void destroyItem(ViewGroup viewGroup, int i, Object obj) { viewGroup.removeView((View) obj); } /* renamed from: com.entriver.foodorder.adapter.SliderPagerAdapter$1 */ class C08281 implements OnClickListener { C08281() { } public void onClick(View view) { new SliderDialogFragment().show(SliderPagerAdapter.this.activity.getFragmentManager(), "slider_dialog"); } } }
<reponame>kipiberbatov/idec #include <errno.h> #include <stdlib.h> #include "matrix_sparse.h" #include "double.h" static void matrix_sparse_constrained_solve_cholesky_fprint( FILE * out, const matrix_sparse * a, const double * b, const jagged1 * rows) { double * x; x = matrix_sparse_constrained_solve_cholesky(a, b, rows); if (errno) { fputs("matrix_sparse_constrained_solve_cholesky_fprint - cannot find x\n", stderr); return; } fprintf(out, "%d\n", a->rows); double_array_fprint(out, a->rows, x, "--raw"); free(x); } int main() { int b_m; double * b; jagged1 * rows; matrix_sparse * a; FILE * in, * out; out = stdout; in = stdin; fscanf(in, "%d", &b_m); b = double_array_fscan(in, b_m, "--raw"); if (errno) { fputs("main - cannot scan right-hand side b\n", stderr); goto end; } rows = jagged1_fscan(in, "--raw"); if (errno) { fputs("main - cannot scan rows for deletion\n", stderr); goto b_free; } a = matrix_sparse_fscan(in, "--raw"); if (errno) { fputs("main - cannot scan left-hand side a\n", stderr); goto rows_free; } matrix_sparse_constrained_solve_cholesky_fprint(out, a, b, rows); if (errno) { fputs("main - cannot restrict, solve and print\n", stderr); goto a_free; } a_free: matrix_sparse_free(a); rows_free: jagged1_free(rows); b_free: free(b); end: return errno; }
/** * Public home page. */ import React from 'react'; import Container from 'react-bootstrap/Container'; import Row from 'react-bootstrap/Row'; import Col from 'react-bootstrap/Col'; import Header from '../Header'; import NavButton from '../utils/NavButton'; import DynamicMenu from '../Header/DynamicMenu'; export default () => ( <Container className="fortius-view" fluid> <Header> <DynamicMenu /> </Header> <Row className="content center pt-5"> <Col xs={12}> <h4> Welcome to Fortius! </h4> <p className="pt-3 pb-5"> You need an account to use this app. Also, please note that at the moment Fortius is designed only for mobile phone browsers (might look funny on larger screens). </p> <NavButton to="/login" text="Log In" accent /> <NavButton to="/signup" text="Sign Up" /> </Col> </Row> <footer> {/* eslint-disable-next-line react/jsx-one-expression-per-line */} Created by <NAME>. Source available <a href="https://github.com/joonashak/fortius">here</a>. </footer> </Container> );
<reponame>JounQin/typescript-eslint<gh_stars>1-10 import { AST_NODE_TYPES, TSESTree, } from '@typescript-eslint/experimental-utils'; import { createRule, getParserServices, getStaticValue, getTypeName, getWrappingFixer, } from '../util'; export default createRule({ name: 'prefer-regexp-exec', defaultOptions: [], meta: { type: 'suggestion', fixable: 'code', docs: { description: 'Enforce that `RegExp#exec` is used instead of `String#match` if no global flag is provided', category: 'Best Practices', recommended: 'error', requiresTypeChecking: true, }, messages: { regExpExecOverStringMatch: 'Use the `RegExp#exec()` method instead.', }, schema: [], }, create(context) { const globalScope = context.getScope(); const parserServices = getParserServices(context); const typeChecker = parserServices.program.getTypeChecker(); const sourceCode = context.getSourceCode(); /** * Check if a given node is a string. * @param node The node to check. */ function isStringType(node: TSESTree.Node): boolean { const objectType = typeChecker.getTypeAtLocation( parserServices.esTreeNodeToTSNodeMap.get(node), ); return getTypeName(typeChecker, objectType) === 'string'; } /** * Check if a given node is a RegExp. * @param node The node to check. */ function isRegExpType(node: TSESTree.Node): boolean { const objectType = typeChecker.getTypeAtLocation( parserServices.esTreeNodeToTSNodeMap.get(node), ); return getTypeName(typeChecker, objectType) === 'RegExp'; } return { "CallExpression[arguments.length=1] > MemberExpression.callee[property.name='match'][computed=false]"( memberNode: TSESTree.MemberExpression, ): void { const objectNode = memberNode.object; const callNode = memberNode.parent as TSESTree.CallExpression; const argumentNode = callNode.arguments[0]; const argumentValue = getStaticValue(argumentNode, globalScope); if (!isStringType(objectNode)) { return; } // Don't report regular expressions with global flag. if ( argumentValue && argumentValue.value instanceof RegExp && argumentValue.value.flags.includes('g') ) { return; } if ( argumentNode.type === AST_NODE_TYPES.Literal && typeof argumentNode.value == 'string' ) { const regExp = RegExp(argumentNode.value); return context.report({ node: memberNode.property, messageId: 'regExpExecOverStringMatch', fix: getWrappingFixer({ sourceCode, node: callNode, innerNode: [objectNode], wrap: objectCode => `${regExp.toString()}.exec(${objectCode})`, }), }); } if (isRegExpType(argumentNode)) { return context.report({ node: memberNode.property, messageId: 'regExpExecOverStringMatch', fix: getWrappingFixer({ sourceCode, node: callNode, innerNode: [objectNode, argumentNode], wrap: (objectCode, argumentCode) => `${argumentCode}.exec(${objectCode})`, }), }); } if (isStringType(argumentNode)) { return context.report({ node: memberNode.property, messageId: 'regExpExecOverStringMatch', fix: getWrappingFixer({ sourceCode, node: callNode, innerNode: [objectNode, argumentNode], wrap: (objectCode, argumentCode) => `RegExp(${argumentCode}).exec(${objectCode})`, }), }); } return context.report({ node: memberNode.property, messageId: 'regExpExecOverStringMatch', }); }, }; }, });
#include <iostream> using namespace std; struct dado{ int k;//chave tabela int status;//status da tabela }; int hash_aux(int k, int m){ int result = k % m;//formula if(result < 0) result += m; return result; } int hash_probe(int k, int i, int m){ int aux = hash_aux(k, m);//valores da auxiliar int h;//valor sondagem h = (aux + i) % m;//formula return h; } //insertion int hash_insert(dado t[], int m, int k){ int i = 0; int j; do{ j = hash_probe(k, i, m);//resultado sondagem if(t[j].status != 1){//se tiver espaco t[j].k = k; t[j].status = 1; return j; } else i ++; }while (i != m); return -1; } int hash_search(dado T[], int k, int m){ int i = 0;//aux int j;//valor sondagem do{ j = hash_probe(k, i, m);//sondar slot if(T[j].k == k)//se for o numero buscado return j; i ++; }while(T[j].status != 0 && i < m); return -1; } int hash_remove(dado t[], int m, int k){ int j;//aux p search j = hash_search(t,k,m); if(j != -1){ t[j].status = 2; t[j].k = -1; return 0;//consegui remover } else return -1;//k nao esta na tabela } int main(){ dado T[100];//hash table int tam;//tamanho tabela int chave;//chaves inseridas int key;//chave a ser removida int x;//aux p atribuicao //zerando tabela cin >> tam; for(int i = 0; i < tam; i ++){ T[i].status = 0; T[i].k = -1; } //inserindo valores cin >> chave; while(chave != 0){ x = hash_insert(T, tam, chave); cin >> chave; } //removendo chave cin >> key; x = hash_remove(T, tam, key); for(int i = 0; i < tam; i ++) cout << T[i].k << " "; return 0; }
#!/bin/bash set -e; function elastic_schema_drop(){ compose_run 'schema' node scripts/drop_index "$@" || true; } function elastic_schema_create(){ compose_run 'schema' node scripts/create_index; } function elastic_start(){ compose_exec up -d elasticsearch; } function elastic_stop(){ compose_exec kill elasticsearch; } register 'elastic' 'drop' 'delete elasticsearch index & all data' elastic_schema_drop register 'elastic' 'create' 'create elasticsearch index with pelias mapping' elastic_schema_create register 'elastic' 'start' 'start elasticsearch server' elastic_start register 'elastic' 'stop' 'stop elasticsearch server' elastic_stop # to use this function: # if test $(elastic_status) -ne 200; then function elastic_status(){ curl --output /dev/null --silent --write-out "%{http_code}" "http://${ELASTIC_HOST:-localhost:9200}" || true; } # the same function but with a trailing newline function elastic_status_newline(){ echo $(elastic_status); } register 'elastic' 'status' 'HTTP status code of the elasticsearch service' elastic_status_newline function elastic_wait(){ echo 'waiting for elasticsearch service to come up'; until test $(elastic_status) -eq 200; do printf '.' sleep 2 done echo } register 'elastic' 'wait' 'wait for elasticsearch to start up' elastic_wait
echo "[i] Installing requirements..." pip3 install -Ur requirements.txt pip3 install -e . gunicorn --reload autonomus.main:AutonomusAPI
<filename>projects/demo-app/src/app/app.component.ts import { Component } from '@angular/core'; import { COMMON_NAMES } from './common-names'; /** * Demo app showing usage of the mentions directive. */ @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'], }) export class AppComponent { items: string[] = COMMON_NAMES; test = this.getPath(); private getPath() { // the path provides direct access to the tests for e2e testing switch (window.location.pathname) { case '/config' : return 'config'; case '/events' : return 'events'; case '/async' : return 'async'; case '/options' : return 'options'; case '/templates': return 'templates'; case '/pos' : return 'pos'; default : return null; } } }
#!/bin/bash # ----------- X11 --------------- # XSOCK=/tmp/.X11-unix # XAUTH=/tmp/.docker.xauth # touch $XAUTH # # xauth nlist $DISPLAY | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge - # xhost +local:root # # to set up the right environment variables in CLion # echo "Set \$DISPLAY parameter to $DISPLAY" # docker start pcl-docker # docker exec pcl-docker sudo service ssh start # docker attach pcl-docker # # disallow x server connection # xhost -local:root # ------------ Non X11 ---------- helpFunction() { echo "" echo "Usage: $0 -i [comp | min]" echo -e "comp: \tCreate container by image birdinforest/pcl-dev-docker." echo -e "min: \tCreate container by image birdinforest/pcl-dev-docker-min." exit 1 # Exit script after printing help } while getopts "i:" opt do case "${opt}" in i) parameterI="$OPTARG" ;; ?) helpFunction ;; # Print helpFunction in case parameter is non-existent esac done # Print helpFunction in case parameters are empty if [ -z "$parameterI" ] then echo "Some or all of the parameters are empty"; helpFunction fi CONTAINER_NAME_COMPILED=pcl-docker-comp CONTAINER_NAME_MIN=pcl-docker-min if [ "$parameterI" == "min" ]; then CONTAINER_NAME=${CONTAINER_NAME_MIN} elif [ "$parameterI" == "comp" ]; then CONTAINER_NAME=${CONTAINER_NAME_COMPILED} else helpFunction fi docker start ${CONTAINER_NAME} docker exec ${CONTAINER_NAME} sudo service ssh start docker attach ${CONTAINER_NAME}
<filename>src/main/java/io/github/seniya2/foo/Foo.java<gh_stars>0 package io.github.seniya2.foo; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public class Foo { @GeneratedValue @Id public long id; public String name; public String value; }
from gpiozero import LEDBoard, MotionSensor from gpiozero.pins.pigpio import PiGPIOFactory from signal import pause ips = ['192.168.1.3', '192.168.1.4', '192.168.1.5', '192.168.1.6'] remotes = [PiGPIOFactory(host=ip) for ip in ips] button = Button(17) # button on this pi buzzers = [Buzzer(pin, pin_factory=r) for r in remotes] # buzzers on remote pins for buzzer in buzzers: buzzer.source = button.values pause()
#! /bin/sh RELEASE_DIRECTORY=./release mkdir -p $RELEASE_DIRECTORY echo "Preparing release for version: $TRAVIS_TAG" cp "./README.md" "$RELEASE_DIRECTORY" cp "./LICENSE" "$RELEASE_DIRECTORY" echo "Files in release directory:" ls $RELEASE_DIRECTORY RELEASE_ZIP_FILE=$RELEASE_DIRECTORY/$PROJECT_NAME-v$TRAVIS_TAG.zip zip -6 -r $RELEASE_ZIP_FILE $RELEASE_DIRECTORY echo "Release zip package ready. Zipinfo:" zipinfo $RELEASE_ZIP_FILE
<gh_stars>10-100 __author__ = "<NAME>" import logging import pandas from patsy import dmatrices import statsmodels.api as sm import pyarrow as pa import pyarrow.parquet as pq from genomic_tools_lib import Logging, Utilities from genomic_tools_lib.file_formats import Parquet def run(args): logging.info("Starting") Utilities.ensure_requisite_folders(args.output) logging.info("Read covariate") covariate = pq.read_table(args.covariate).to_pandas() logging.info("Read data") data = pq.read_table(args.data).to_pandas() logging.info("Processing") covariate_names = covariate.columns.values[1:] results = {"individual":data.individual.values} variables = [x for x in data.columns.values[1:]] for i,column in enumerate(variables): logging.log(9, "%i/%i:%s", i, len(variables), column) d = data[["individual", column]].rename(columns={column:"y"}).merge(covariate, on="individual", how="inner").drop("individual", axis=1) y, X = dmatrices("y ~ {}".format(" + ".join(covariate_names)), data=d, return_type="dataframe") model = sm.OLS(y, X) result = model.fit() results[column] = result.resid results = pandas.DataFrame(results)[["individual"]+variables] Parquet.save_variable(args.output, results) logging.info("Finished") if __name__ == "__main__": import argparse parser = argparse.ArgumentParser("Get data residuals of the linear fit of specific covariates") parser.add_argument("-covariate") parser.add_argument("-data") parser.add_argument("-output") parser.add_argument("-parsimony", type=int, default=10) args = parser.parse_args() Logging.configure_logging(args.parsimony) run(args)
#!/usr/bin/env bash set -eu usage() { cat << EOT >&2 $(basename $0): Count the number of cmorised files per year. Usage: $(basename $0) FIRST_YEAR LAST_YEAR DIR EOT } error() { usage echo "ERROR: $1" >&2 [ -z ${2+x} ] && exit 99 exit $2 } (( $# != 3 )) && error "$(basename $0) needs exactly 3 arguments" first_year=$1 last_year=$2 directory=$3 set +u (( "$first_year" < "$last_year" )) || \ error "First two arguments do not specify a time range: \"$first_year\" \"$last_year\"" set -u [ ! -d "$directory" ] && error "Third argument is not a directory: \"$directory\"" #i=166 i=1 for y in $(seq $first_year $last_year) do echo -n "$(printf '%03d' $i) $y: " find $directory -type f -name "*_$y*.nc" | wc -l i=$((i+1)) done # Example file name patterns: # # > find . -name '*_1850*.nc' | sed 's:.*\(_1850.*\.nc\):\1:' | sort -u # _1850-1850.nc # _185001-185012.nc # _18500101-18501231.nc # _185001010000-185012311800.nc # _185001010000-185012312100.nc # _185001010130-185012312230.nc # _185001010430-185012312230.nc # # > find . -name '*_1857*.nc' | sed 's:.*\(_1857.*\.nc\):\1:' | sort -u # _1857-1857.nc # _185701-185712.nc # _18570101-18571231.nc # _185701010000-185712311800.nc # _185701010000-185712312100.nc # _185701010130-185712312230.nc
require 'image_optim/worker' require 'image_optim/option_helpers' require 'image_optim/true_false_nil' class ImageOptim class Worker class Optipng < Worker option(:level, 6, 'Optimization level preset 0 is least, 7 is best'){ |v| OptionHelpers.limit_with_range(v.to_i, 0..7) } option(:interlace, false, TrueFalseNil, 'Interlace, true - interlace on, false - interlace off, nil - as is in original image') do |v| v && true end def optimize(src, dst) src.copy(dst) args = %W[-o#{level} -quiet -- #{dst}] args.unshift "-i#{interlace ? 1 : 0}" unless interlace.nil? execute(:optipng, *args) && optimized?(src, dst) end end end end
classify <- function(data) { # Create class vector classes <- factor(sample(c("class1", "class2"), size = length(data),replace = TRUE)) # Assign classes to data points for(i in 1:length(data)) { data[i, "class"] <- as.character(classes[i]) } # Return data with class return(data) }
<filename>lib/gpa.rb require_relative "gpa/version" require_relative "gpa/course" require 'yaml' module Gpa class CourseArray < Array def self.load_courses_from_file(yaml_file_path) load_yaml_from_file(yaml_file_path).inject(new) do |new_instance, yaml_course| new_instance << Course.from_hash(yaml_course) end end # @param [Integer] num_most_recent_units # @returns [Numeric] The GPA calculated with +num_most_recent_units+ most recent units completed. def gpa(num_most_recent_units = units_completed) courses = sort_courses_by_date_completed.inject(CourseArray.new) do |accum_array, course| next accum_array unless course.grade_has_points? accum_array << course break accum_array if accum_array.units_completed >= num_most_recent_units accum_array end courses.inject(0) do |sum, course| sum += course.grade_points / courses.units_completed.to_f end end def units_completed completed_courses.inject(0) do |sum, course| sum += course.units end end def sort_courses_by_date_completed self.class().new( completed_courses.sort do |c1, c2| c2.date_completed <=> c1.date_completed end ) end def completed_courses current_date = DateTime.now select do |course| course.respond_to?(:date_completed) && course.date_completed < current_date && !course.grade.nil? end end private # Load the document contained in +filename+. Returns the yaml contained in # +filename+ as a ruby object def self.load_yaml_from_file(filename) File.open(filename, 'r:bom|utf-8') { |f| YAML.load_stream f, filename } end end end
import block from 'bem-cn'; import React from 'react'; import { bind } from 'decko'; import { withRouter, RouteComponentProps } from 'react-router'; import { Icon, Modal, Button } from 'shared/view/elements'; import routes from 'modules/routes'; import { i18nConnect, ITranslateProps } from 'services/i18n'; import './UserBar.scss'; const b = block('user-bar-panel'); interface IOwnProps { isAdminPanel?: boolean; size?: 'big' | 'small'; } interface IState { isLogoutConfirmationModalOpen: boolean; } type IProps = IOwnProps & ITranslateProps & RouteComponentProps<{}>; class UserBar extends React.PureComponent<IProps, IState> { public state: IState = { isLogoutConfirmationModalOpen: false, }; private get logoutRoute() { const { isAdminPanel } = this.props; return isAdminPanel ? routes.admin.logout.getPath() : routes.auth.logout.getPath(); } public render() { const { size = 'small' } = this.props; return ( <div className={b()}> <div className={b('logout')()} onClick={this.handleLogoutIconClick}> <Icon className={b('icon', { size })()} src={require('./images/logout-inline.svg')} /> </div> {this.renderLogoutConfirmationModal()} </div > ); } @bind private handleLogoutIconClick() { this.setState(() => ({ isLogoutConfirmationModalOpen: true })); } @bind private closeModal() { this.setState(() => ({ isLogoutConfirmationModalOpen: false })); } private renderLogoutConfirmationModal() { const { translate: t } = this.props; const { isLogoutConfirmationModalOpen } = this.state; return ( <Modal isOpen={isLogoutConfirmationModalOpen} title={t('SHARED:USER-BAR:LOGOUT-CONFIRMATION-MODAL-TITLE')} onClose={this.closeModal} hasCloseCross > <div className={b('logout-confirmation-modal-content')()}> <div className={b('logout-confirmation-modal-text')()}> {t('SHARED:USER-BAR:LOGOUT-CONFIRMATION-MODAL-TEXT')} </div> <div className={b('logout-confirmation-modal-buttons')()}> <div className={b('logout-confirmation-modal-button')()}> <Button color="black-white" onClick={this.closeModal}> {t('SHARED:BUTTONS:CANCEL')} </Button> </div> <div className={b('logout-confirmation-modal-button')()}> <Button color="green" onClick={this.handleLogoutConfirmationModalYesButtonClick}> {t('SHARED:BUTTONS:YES')} </Button> </div> </div> </div> </Modal> ); } @bind private handleLogoutConfirmationModalYesButtonClick() { this.props.history.push(this.logoutRoute); this.closeModal(); } } export default ( withRouter( i18nConnect( UserBar )));
<filename>src/add.ts import { CollectionReference, DocumentReference, } from '@firebase/firestore-types' import { curry2 } from './internal/curry2' import { ExtractData } from './internal/types' type Curry2 = { <T extends CollectionReference>(data: ExtractData<T>): ( acc: T, ) => Promise<DocumentReference<ExtractData<T>>> <T>(data: T, acc: CollectionReference<T>): Promise<DocumentReference<T>> } export const add: Curry2 = curry2( <T>(data: T, acc: CollectionReference<T>): any => { return acc.add(data) }, )
require 'cgi' require 'yt/models/base' module Yt module Models # @private # Provides methods to upload videos with the resumable upload protocol. # @see https://developers.google.com/youtube/v3/guides/using_resumable_upload_protocol class ResumableSession < Base # Sets up a resumable session using the URI returned by YouTube def initialize(options = {}) @uri = URI.parse options[:url] @auth = options[:auth] @headers = options[:headers] end def update(params = {}) do_update(params) {|data| yield data} end # Uploads a thumbnail using the current resumable session # @param [#read] file A binary object that contains the image content. # Can either be a File, a StringIO (for instance using open-uri), etc. # @return the new thumbnail resource for the given image. # @see https://developers.google.com/youtube/v3/docs/thumbnails#resource def upload_thumbnail(file) do_update(body: file) {|data| data['items'].first} end private def session_params CGI::parse(@uri.query).tap{|hash| hash.each{|k,v| hash[k] = v.first}} end # @note: YouTube documentation states that a valid upload returns an HTTP # code of 201 Created -- however it looks like the actual code is 200. # To be sure to include both cases, HTTPSuccess is used def update_params super.tap do |params| params[:request_format] = :file params[:host] = @uri.host params[:path] = @uri.path params[:expected_response] = Net::HTTPSuccess params[:headers] = @headers params[:camelize_params] = false params[:params] = session_params end end end end end
<filename>jwx/src/main/java/weixin/acctlist/entity/AddressEntity.java<gh_stars>0 package weixin.acctlist.entity; public class AddressEntity { private String address; public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } }
public class Main { public static void main(String[] args) { int number = 5; System.out.println("Multiplication table of " + number); for (int i = 1; i <= 10; i++) { System.out.println(number + " X " + i + " = " + (i * number)); } } }
package ua.kata; import java.util.Optional; public class PersistentQueue { private final Node head; private final Node tail; public PersistentQueue() { this(null, null); } private PersistentQueue(Node head, Node tail) { this.head = head; this.tail = tail; } public Tuple dequeue() { return Optional.ofNullable(head).map(Tuple::new).orElse(new Tuple(null)); } public PersistentQueue enqueue(Integer value) { return Optional.ofNullable(head) .map(h -> new PersistentQueue(h, new Node(value, this))) .orElseGet(() -> new PersistentQueue(new Node(value, this), new Node(value, this))); } @Override public String toString() { return "Queue {" + "head: " + head + ", tail:" + tail + '}'; } private static class Node { final Integer value; final PersistentQueue prev; Node(Integer value, PersistentQueue prev) { this.value = value; this.prev = prev; } @Override public String toString() { return "Node[" + value + ']'; } } public static class Tuple { private final Node value; Tuple(Node value) { this.value = value; } public Optional<PersistentQueue> queue() { return Optional.ofNullable(value).map(node -> node.prev); } public Optional<Integer> value() { return Optional.ofNullable(value).map(n -> n.value); } } }
import React, { useRef } from 'react'; import PropTypes from 'prop-types'; import styled, { css, withTheme } from 'styled-components'; import { useFocusEffect } from '@react-navigation/native'; import { View, Linking } from 'react-native'; import { WebView } from 'react-native-webview'; const Wrapper = styled.View` width: ${({ width }) => (width ? `${width}px` : '100%')}; ${({ height }) => height ? css` height: ${height}px; ` : css` min-height: 100%; `} background-color: ${({ bodyColor, theme }) => bodyColor || 'transparent'}; `; const WebScreen = ({ width, height, url, bodyColor, injectJS, theme, ...webViewProps }) => { const webviewRef = useRef(null); const handleNavigationStateChange = (event) => { if (event.url !== url && webviewRef.current) { Linking.openURL(event.url); webviewRef.current.stopLoading(); webviewRef.current.goBack(); } }; const handlerContentProcessDidTerminate = (syntheticEvent) => { const { nativeEvent } = syntheticEvent; console.warn('Content process terminated, reloading', nativeEvent); webviewRef.current && webviewRef.current.reload(); }; useFocusEffect(() => { if (injectJS && webviewRef.current) { injectJS(webviewRef.current); } }, [injectJS]); return ( <Wrapper bodyColor={bodyColor} width={width} height={height}> <WebView css={` ${css` width: 100%; min-height: 100%; background-color: ${bodyColor || 'transparent'}; margin-bottom: 30%; `} `} ref={webviewRef} source={{ uri: url }} onNavigationStateChange={handleNavigationStateChange} onContentProcessDidTerminate={handlerContentProcessDidTerminate} {...webViewProps} /> </Wrapper> ); }; WebScreen.propTypes = { width: PropTypes.number, height: PropTypes.number, url: PropTypes.string.isRequired, bodyColor: PropTypes.string, injectJS: PropTypes.oneOfType([PropTypes.object, PropTypes.func]), }; WebScreen.defaultProps = { width: null, height: null, bodyColor: null, injectJS: null, }; export default withTheme(WebScreen);
package com.hummer.core.jni; import java.lang.ref.WeakReference; public class JSValue extends Object { private long valueRef; private WeakReference<JSContext> context; private JSValue(long valueRef, JSContext context){ this.valueRef = valueRef; this.context = new WeakReference<>(context); context.retainedValue(this); } public long valueRef(){ return valueRef; } public JSContext getContext() {return context.get(); } /** * 创建 JS 对象 * @param clazz : JSClass 定义对象 * @param privateobj : 私有 Java 对象 * @param ctx : JSContext 对象指针 * @return JS 对象指针 */ static public native JSValue makeObject(long clazzRef, Object privateobj, JSContext ctx); /** * 创建 JS 对象 * @param json : JSON String * @param ctx : JSContext 对象指针 * @return JS 对象指针 */ static public native JSValue makeFromJSON(String json, JSContext ctx); /** * 创建 JS 数值 * @param number : 浮点数 * @param ctx : JSContext 对象指针 * @return JS 对象指针 */ static public native JSValue makeNumber(double number, JSContext ctx); /** * 创建 JS 函数 * @param func : JS 函数回调函数 * @param ctx : JSContext 对象指针 * @return JS 对象指针 */ static public native JSValue makeFunction(JSObjectFunction func, JSContext ctx); static public native JSValue makeFunction2(String name, JSCallAsFunction func, JSContext ctx); /** * 创建 JS 字符串 * @param string : JS 字符串 * @param ctx : JSContext 对象指针 * @return JS 对象指针 */ static public native JSValue makeString(String string, JSContext ctx); /** * 是否是 JS 对象 * @return true / false */ public native boolean isObject(); /** * 是否是 JS 数值 * @return true / false */ public native boolean isNumber(); /** * 是否是 JS 布尔值 * @return true / false */ public native boolean isBoolean(); /** * 转换 JS 数值 * @return Java 浮点数 */ public native double toNumber(); /** * 转换 JS 数值 * @return func name */ public native String getFunctionName(); /** * 转换 JS 数值 * @return Java 浮点数 */ public native String toCharString(); /** * 转换 JS 布尔值 * @return true / false */ public native boolean toBoolean(); /** * 转换 JS Java对象 * @return Object对象 */ public native Object toObject(); /** * 转换 JS Java对象 * @return Object array对象 */ public native JSValue[] toArray(); /** * * @param property 访问属性的值 * @return JSValue */ public native JSValue valueForProperty(String property); /** * * @param index 访问的位置 * @return JSValue */ public native JSValue valueAtIndex(int index); /** * 获取 JS 对象属性 * @param key : 属性名 * @return JS 对象属性值 */ public native JSValue get(String key); /** * 设置 JS 对象属性 * @param key : 属性名 * @param property : JS 对象属性值 */ public native void set(String key, JSValue property); /** * 调用执行 JS 函数 * @param arguments : 参数列表 * @return JS 函数执行结果 */ public native JSValue call(JSValue[] arguments); /** * 获取私有 Java 对象 * @return 私有 Java 对象 */ public native Object privateData(); /** * 销毁 JS 对象 */ public native void destroy(); }
#### pushd/popd set -o errexit cd / pushd /tmp echo -n pwd=; pwd popd echo -n pwd=; pwd ## status: 0 ## STDOUT: /tmp / pwd=/tmp / pwd=/ ## END ## OK zsh STDOUT: pwd=/tmp pwd=/ ## END ## N-I dash/mksh status: 127 ## N-I dash/mksh stdout-json: "" #### popd usage error pushd / >/dev/null popd zzz echo status=$? ## STDOUT: status=2 ## END ## BUG zsh STDOUT: status=0 ## END #### popd returns error on empty directory stack message=$(popd 2>&1) echo $? echo "$message" | grep -o "directory stack" ## STDOUT: 1 directory stack ## END #### dirs builtin cd / dirs ## status: 0 ## STDOUT: / ## END #### dirs -c to clear the stack set -o errexit cd / pushd /tmp >/dev/null # zsh pushd doesn't print anything, but bash does echo -- dirs dirs -c echo -- dirs ## status: 0 ## STDOUT: -- /tmp / -- /tmp ## END #### dirs -v to print numbered stack, one entry per line set -o errexit cd / pushd /tmp >/dev/null echo -- dirs -v pushd /dev >/dev/null echo -- dirs -v ## status: 0 ## STDOUT: -- 0 /tmp 1 / -- 0 /dev 1 /tmp 2 / ## END # # zsh uses tabs ## OK zsh stdout-json: "--\n0\t/tmp\n1\t/\n--\n0\t/dev\n1\t/tmp\n2\t/\n" #### dirs -p to print one entry per line set -o errexit cd / pushd /tmp >/dev/null echo -- dirs -p pushd /dev >/dev/null echo -- dirs -p ## STDOUT: -- /tmp / -- /dev /tmp / ## END #### dirs -l to print in long format, no tilde prefix # Can't use the OSH test harness for this because # /home/<username> may be included in a path. cd / HOME=/tmp mkdir -p $HOME/oil_test pushd $HOME/oil_test >/dev/null dirs dirs -l ## status: 0 ## STDOUT: ~/oil_test / /tmp/oil_test / ## END #### dirs to print using tilde-prefix format cd / HOME=/tmp mkdir -p $HOME/oil_test pushd $HOME/oil_test >/dev/null dirs ## stdout: ~/oil_test / ## status: 0 #### dirs test converting true home directory to tilde cd / HOME=/tmp mkdir -p $HOME/oil_test/$HOME pushd $HOME/oil_test/$HOME >/dev/null dirs ## stdout: ~/oil_test/tmp / ## status: 0 #### dirs don't convert to tilde when $HOME is substring cd / mkdir -p /tmp/oil_test mkdir -p /tmp/oil_tests HOME=/tmp/oil_test pushd /tmp/oil_tests dirs #### dirs tilde test when $HOME is exactly $PWD cd / mkdir -p /tmp/oil_test HOME=/tmp/oil_test pushd $HOME dirs ## status: 0 # zsh doesn't duplicate the stack I guess. ## OK zsh stdout-json: "~ /\n" ## STDOUT: ~ / ~ / ## END #### dirs test of path alias `..` cd /tmp pushd .. >/dev/null dirs ## stdout: / /tmp ## status: 0 #### dirs test of path alias `.` cd /tmp pushd . >/dev/null dirs ## stdout: /tmp /tmp ## status: 0
var gulp = require('gulp'); var source = require('vinyl-source-stream'); var concat = require('gulp-concat'); var uglify = require('gulp-uglify'); var rimraf = require('gulp-rimraf'); var browserify = require('gulp-browserify'); gulp.task('clean', function() { gulp.src('build/*', {read: false}) .pipe(rimraf()); }); gulp.task('default',['clean'], function() { gulp.src('src/index.js') .pipe(browserify({ entries: ['./index.js'], debug: true, standalone:'d3sim', cache:{}, packageCache: {}, fullpaths:false })) .pipe(uglify()) .pipe(gulp.dest('./build/')); });
<reponame>eengineergz/Lambda import React, { useState } from 'react'; import axiosWithAuth from './axiosWithAuth'; import axios from 'axios' export const SignUp = props => { const [credentials, setCredentials ] = useState({ email: '', password: '', username: '', role: 'Patient' }); const url = 'https://mc-7-be.herokuapp.com' const { email, password, username } = credentials; const onChange = e => { setCredentials({ ...credentials, [e.target.name]: e.target.value }) } const signUpSubmit = (e) => { e.preventDefault(); axios .post(`${url}/api/auth/register`, credentials) .then(res => { localStorage.setItem('token', res.data) props.history.push('/protected') }) .catch(err => console.log(err)) } return ( <form onSubmit={signUpSubmit}> <h2 className="text-primary">Sign-Up</h2> <input name="email" type="email" placeholder="email" value={email} onChange={onChange} /> <input name="password" type="password" placeholder="password" value={password} onChange={onChange} /> <input name="username" type="text" placeholder="username" value={username} onChange={onChange} /> {/* <h5>Role</h5> <input type="radio" name="role" value="patient" checked={credentials.role === 'patient'} onChange={onChange}/> Patient{' '} <input type="radio" name="role" value="provider" checked={credentials.role === 'provider'} onChange={onChange}/> Provider{' '} */} <div> <input type="submit" value="Sign-up" className="btn btn-block bg-dark" /> </div> </form> ) } export default SignUp;
/** * @version 1.0.0 04-Jan-15 * @copyright Copyright (c) 2014-2015 by <NAME>. All rights reserved. (http://andysmiles4games.com) */ #include <Test/EntityDummy.h> namespace DemoAppTest { EntityDummy::EntityDummy(void) { } EntityDummy::~EntityDummy(void) { } void EntityDummy::render(void) { } void EntityDummy::release(void) { } }
#!/bin/bash -eu ./configure make -j$(nproc) clean make -j$(nproc) all $CXX $CXXFLAGS -std=c++11 -I. \ $SRC/zlib_uncompress_fuzzer.cc -o $OUT/zlib_uncompress_fuzzer \ -lFuzzingEngine ./libz.a
<filename>gambler/main.go package main import ( "fmt" . "github.com/coinrust/crex" "github.com/coinrust/crex/serve" "log" "time" ) type Hold struct { Price float64 Amount float64 } // 赌徒策略 type GamblerStrategy struct { StrategyBase StopWin float64 `opt:"stop_win,500"` // 止盈 StopLoss float64 `opt:"stop_loss,500"` // 止损 FirstAmount float64 `opt:"first_amount,1"` // 单次下单量 MaxGear int `opt:"max_gear,8"` // 加倍赌的次数 Currency string `opt:"currency,BTC"` // 货币 Symbol string `opt:"symbol,BTCUSD"` // 标 hold Hold gear int } func (s *GamblerStrategy) OnInit() error { log.Printf("StopWin: %v", s.StopWin) log.Printf("StopLoss: %v", s.StopLoss) log.Printf("FirstAmount: %v", s.FirstAmount) log.Printf("MaxGear: %v", s.MaxGear) log.Printf("Currency: %v", s.Currency) log.Printf("Symbol: %v", s.Symbol) balance, err := s.Exchange.GetBalance(s.Currency) if err != nil { log.Printf("%v", err) return err } log.Printf("初始资产 Equity: %v Available: %v", balance.Equity, balance.Available) return nil } func (s *GamblerStrategy) OnTick() (err error) { var ob *OrderBook ob, err = s.Exchange.GetOrderBook(s.Symbol, 1) if err != nil { log.Printf("%v", err) return } if s.hold.Amount == 0 { var order *Order order, err = s.Buy(s.FirstAmount) s.hold.Amount = order.FilledAmount s.hold.Price = order.AvgPrice } else { if ob.AskPrice() > s.hold.Price+s.StopWin { _, err = s.Sell(s.hold.Amount) s.hold.Amount = 0 s.hold.Price = 0 s.gear = 0 } else if ob.AskPrice() < s.hold.Price-s.StopLoss && s.gear < s.MaxGear { _, err = s.Sell(s.hold.Amount) amount := s.hold.Amount * 2 var addOrder *Order addOrder, err = s.Buy(amount) if err != nil { return } s.hold.Price = addOrder.Price s.hold.Amount = addOrder.FilledAmount s.gear++ } } return nil } func (s *GamblerStrategy) Run() error { // run loop for { s.OnTick() fmt.Printf("加倍下注次数:%v 当前持仓:%#v", s.gear, s.hold) time.Sleep(500 * time.Millisecond) } return nil } func (s *GamblerStrategy) OnExit() error { return nil } func (s *GamblerStrategy) Buy(amount float64) (order *Order, err error) { order, err = s.Exchange.OpenLong(s.Symbol, OrderTypeMarket, 0, amount) if err != nil { log.Printf("%v", err) return } log.Printf("Order: %#v", order) return } func (s *GamblerStrategy) Sell(amount float64) (order *Order, err error) { order, err = s.Exchange.OpenShort(s.Symbol, OrderTypeMarket, 0, amount) if err != nil { log.Printf("%v", err) return } log.Printf("Order: %#v", order) return } func main() { s := &GamblerStrategy{} err := serve.Serve(s) if err != nil { log.Printf("%v", err) } }
#!/bin/bash # The MIT License (MIT) # Copyright (c) 2013 Shawn Nock # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, # distribute, sublicense, and/or sell copies of the Software, and to # permit persons to whom the Software is furnished to do so, subject to # the following conditions: # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ## generate-gerbers.sh ## ## This script is designed to (for each gEDA-pcb file in the parent ## directory) generate: ## ## 1. A directory named after the pcb filename containing gerbers ## renamed to work with OSHPark's fabrication service. ## ## 2. A zipfile containing the directory that can up uploaded ## directly, without modification to OSHPark for fabrication. ## ## Assumptions made by this script: ## ## 1. This script expects to live in a subdirectory of the folder ## containing your .pcb files. ## ## 2. Internal layers will be stacked in order of group ## number. For example, in a design with the following groups: ## ## Group 1 (top-side): Component ## Group 2 (bottom-side): Solder ## Group 3: Vcc ## Group 4: GND ## Group 5: outline ## ## What happens is: pcb will output the gerbers with fixed-names ## for the layers it knows about. So Group 1 (flagged as top), ## will be output as <name>.top.gbr . Group 2 (flagged as ## bottom), will similarly be named <name>.bottom.gbr . outline ## layers are also detected and named appropriately by the pcb ## export functionality. ## ## When pcb reaches layers that it doesn't know about, it names ## them with the absolute group number. So the internal layers on ## this board will be exported as <name>.group3.gbr and ## <name>.group4.gbr ## ## This script assumes that internal layers should be stacked in ## order of their group number (ascending). So in this example ## the gerbers will specify a board stacking of: Component, Vcc, ## GND, Solder . If you wanted the GND layer to appear above the ## Vcc layer, you'd need to change the GND layer to a smaller ## group number than Vcc in File->Preferences->Layers under the ## "Groups" Tab. ## ## 3. This script assumes that if a layer group exists, that it is ## important. The default pcb template has several unused (empty) ## layers. If you don't remove them from your pcb file, this ## script will assume you want a four layer board where the ## internal layers are empty. This is expensive and (most-likely) ## stupid. Remove any unused layers in your design. #Modified by mirage335, under same copyright as above. #"$1" = File to check. PWD_SanityCheck() { if [[ $(ls -ld ./"$1") ]] then echo -e '\E[1;32;46m Found file '"$1"', proceeding. \E[0m' else echo -e '\E[1;33;41m *DANGER* Did not find file '"$1"'! *DANGER* \E[0m' echo -e '\E[1;33;41m Aborting! \E[0m' exit fi } PWD_SanityCheck generate-gerbers.sh ## Variables MAX_LAYERS=4 # Currently OSHPark maxes out at 4 layer boards, we'll # emit a warning if this is exceeded MAX_GROUPS=32 # What's the highest group number we should expect # gEDA-pcb to have? NUM_LAYERS+1, generally. There may # be workflows where this is not true. There isn't a # problem setting this high function get_layer_name { filename=$1 name=$(head $filename | sed -n -e '/Title/s/.*, \([^\*]*\).*/\1/p') echo $name } # Remove any old files find . -maxdepth 1 -name \*.zip -delete find . -maxdepth 1 -name \*.gvp -delete find . -maxdepth 1 -type d -and -not -name '.' -exec rm -rf {} \; # Generate Gerbers for each pcb file in the parent directory count=0 for pcbname in `ls ../.. |sed -n -e '/\.pcb/s/\.pcb$//p'`; do if [[ ${pcbname: -4} = ".new" ]]; then echo "Warning: Assuming $pcbname.pcb is a development artifact, skipping" continue fi if [[ ! -e $pcbname ]]; then mkdir $pcbname fi pcb -x gerber --all-layers --name-style fixed --gerberfile $pcbname/$pcbname ../../$pcbname.pcb pcb -x bom --xyfile $pcbname/$pcbname.xy ../../$pcbname.pcb gnetlist -g bom ../../$pcbname.sch -o $pcbname/$pcbname.bom #Optional GERBV project. cp ./gerberProjectTemplate ./$pcbname"_project.gvp" sed -i 's/pcbname/''.\/'$pcbname'\/'$pcbname'/g' ./$pcbname"_project.gvp" # Rename inner layers for layer in `seq 1 $MAX_GROUPS`; do if [[ -e $pcbname/$pcbname.group$layer.gbr ]]; then if [[ `stat -c%s $pcbname/$pcbname.group$layer.gbr` -lt 2500 ]]; then layer_name=$(get_layer_name $pcbname/$pcbname.group$layer.gbr) echo "WARNING: Layer '$layer_name' is probably empty" fi mv $pcbname/$pcbname.group$layer.gbr $pcbname/$pcbname.G$(($count+2))L count=$(( $count+1 )) fi done # Warn if non-standard layer count if [[ $(( $count % 2 )) = 1 ]]; then echo "WARNING: There are $(( $count+2 )) layers, did you mean to have a $(( $count+3 )) layer board? If so, add another empty layer." fi # Warn if more layers than OSHPark can do if [[ $(( $count+2 )) -gt $MAX_LAYERS ]]; then echo "WARNING: Detected $(( $count+2 )) layer board; OSHPark maxes out at $MAX_LAYERS" fi # Write a summary of the generated layers and their ordering echo -n "Processed $pcbname.pcb: $(( $count+2 )) layers. " layers="$pcbname/$pcbname.top.gbr" if [[ ! $count -eq 0 ]]; then for i in `seq 2 $(( $count+1 ))`; do layers+=" $pcbname/$pcbname.G${i}L" done fi layers+=" $pcbname/$pcbname.bottom.gbr" i=0 for layer in $layers; do name=$(get_layer_name $layer) if [[ $i -eq 0 ]]; then echo -n "[ $name |" elif [[ $i -eq $(( $count+1 )) ]]; then echo " $name ]" else echo -n " $name |" fi i=$(( $i+1 )) done count=0 done echo $PWD # Remove Paste files, OSHPark doesn't do stencils #find . -maxdepth 2 -type f -name \*paste\* -delete # Remove empty silk layers find . -maxdepth 2 -type f -name \*silk\* -size -380c -delete # Compress Gerbers find . -maxdepth 1 -type d -and -not -name '.' -exec zip -r {} {} \; > /dev/null
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <pthread.h> #define MAX_THREAD 4 int limit; int prime[10000]; int prime_count = 0; void *prime_finder(void *arg) { int current_prime = 0; int n; int current_thread_num = (int)arg; int thread_start = (limit/MAX_THREAD)*current_thread_num; for (n = thread_start; n <= limit; n=n+1+MAX_THREAD) { current_prime = n; int i; for (i = 2; i <= sqrt(current_prime); i++) { if (current_prime%i == 0) { break; } } if (i > sqrt(current_prime)) { prime[prime_count++] = current_prime; } } } int main() { int i; printf("Enter limit: \n"); scanf("%d", &limit); pthread_t thread[MAX_THREAD]; for (i = 0; i < MAX_THREAD; i++) { pthread_create(&thread[i], NULL, &prime_finder, (void *)i); } for (i = 0; i < MAX_THREAD; i++) pthread_join(thread[i], NULL); printf("Prime numbers in range 1 to %d are \n", limit); for (i = 0; i < prime_count; i++){ printf("%d ", prime[i]); } printf("\nTotal prime numbers in range 1 to %d = %d\n", limit, prime_count); return 0; }
#!/bin/sh read -p "Escriba un carácter: " CHAR echo case $CHAR in [0-9]) echo "Ha introducido un número" ;; [a-zA-Z]) echo "Ha introducido una letra" ;; *) echo "No tengo ni idea de lo que ha introducido" ;; esac
package mainclient.classTypeChanged; import main.classTypeChanged.ClassTypeChangedC2A; public class ClassTypeChangedC2AExt extends ClassTypeChangedC2A { }
#!/usr/bin/env bash # # Copyright (c) 2020 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # MODEL_DIR=${MODEL_DIR-$PWD} if [ -z "${OUTPUT_DIR}" ]; then echo "The required environment variable OUTPUT_DIR has not been set" exit 1 fi # Create the output directory in case it doesn't already exist mkdir -p ${OUTPUT_DIR} if [ -z "${DATASET_DIR}" ]; then echo "The required environment variable DATASET_DIR has not been set" exit 1 fi if [ -z "${TF_MODELS_DIR}" ]; then echo "The required environment variable TF_MODELS_DIR has not been set" exit 1 fi if [ -z "${PRETRAINED_MODEL}" ]; then # If the PRETRAINED_MODEL env var is not set, then we are probably running in a workload # container or model package, so check for the tar file and extract it, if needed pretrained_model_dir="${OUTPUT_DIR}/pretrained_model/rfcn_resnet101_coco_2018_01_28" if [ ! -d "${pretrained_model_dir}" ]; then if [[ -f "pretrained_model/rfcn_fp32_model.tar.gz" ]]; then mkdir -p ${OUTPUT_DIR}/pretrained_model tar -C ${OUTPUT_DIR}/pretrained_model/ -xvf pretrained_model/rfcn_fp32_model.tar.gz else echo "The pretrained model was not found. Please set the PRETRAINED_MODEL var to point to the frozen graph file." exit 1 fi fi PRETRAINED_MODEL="${pretrained_model_dir}/frozen_inference_graph.pb" fi source "${MODEL_DIR}/quickstart/common/utils.sh" _command python ${MODEL_DIR}/benchmarks/launch_benchmark.py \ --model-name rfcn \ --mode inference \ --precision fp32 \ --framework tensorflow \ --model-source-dir ${TF_MODELS_DIR} \ --data-location ${DATASET_DIR} \ --in-graph ${PRETRAINED_MODEL} \ --batch-size 1 \ --accuracy-only \ --output-dir ${OUTPUT_DIR} \ $@ \ -- split="accuracy_message"
import React, { CSSProperties, useEffect, useState } from 'react'; import Layout from 'src/layout'; import { and } from 'src/utils/css'; import { BaseBlob } from '@variant/components/lib/blob'; import { colors } from '@variant/profile/lib'; import style from './employees.module.css'; import { InferGetStaticPropsType } from 'next'; import { getStaticProps } from 'pages/ansatte'; import { EmployeeJSON } from 'src/utils/typings/Employee'; import Head from 'next/head'; import Image from 'next/image'; import Link from 'next/link'; import { Office } from './utils/getStaticProps'; import Arrow from 'src/components/arrow'; export type Employee = { fullName: string; name: string; phone: string; email: string; imageSlug: string; officeName: string; }; export default function Employees({ employeeList, officeName, }: InferGetStaticPropsType<typeof getStaticProps>) { const [shuffledEmployeeList, setShuffledEmployeeList] = useState( employeeList, ); useEffect(() => { setShuffledEmployeeList(shuffleArray(employeeList)); }, [employeeList]); const indexToInsertLink = Math.floor((employeeList.length / 3) * 2); const createFilterLink = (linkName: string, link: string) => { const isActive = (!officeName && link === '/ansatte') || linkName === officeName; return isActive ? ( <li className={style.employees__navActive}>{linkName}</li> ) : ( <Link href={link}> <a> <li>{linkName}</li> </a> </Link> ); }; const getSoMeMetadata = (officeName?: Office) => { let description; switch (officeName) { case 'Oslo': description = 'Oversikt over alle ansatte i Variant Oslo. Her finner du alle varianter i Oslo og hvordan du kan ta kontakt for spørsmål.'; break; case 'Trondheim': description = 'Oversikt over alle ansatte i Variant Trondheim. Her finner du alle varianter i Trondheim og hvordan du kan ta kontakt for spørsmål.'; break; default: description = 'Oversikt over alle ansatte i Variant. Her finner du alle varianter og hvordan du kan ta kontakt for spørsmål.'; } return ( <Head> <meta property="og:description" content={description} /> <meta name="description" content={description} /> </Head> ); }; return ( <Layout fullWidth title="Alle varianter – Variant"> {getSoMeMetadata(officeName)} <div className={style.employeesContainer}> <header> <h3 className={and(style.employees__header, 'fancy')}> Vi i Variant </h3> <p className={style.employees__text}> Vi har i Variant en god gjeng erfarne og dyktige mennesker. Dette er faglige fyrtårn i byen og personer som virkelig ønsker å lære bort alt de kan til sine kollegaer. </p> </header> <nav className={style.employees__nav}> <ul> {createFilterLink('Alle', '/ansatte')} {createFilterLink('Oslo', '/ansatte/oslo')} {createFilterLink('Trondheim', '/ansatte/trondheim')} </ul> </nav> <div className={style.employees__layout}> {shuffledEmployeeList.map((employee: Employee, index: number) => { if (index === indexToInsertLink) { return ( <React.Fragment key={`${employee.name}-${index}`}> <JobsLink text="Er du kanskje en aspirerende Variant?" /> <EmployeeTile employee={employee} /> </React.Fragment> ); } return ( <EmployeeTile key={`${employee.fullName}-${index}`} employee={employee} /> ); })} <JobsLink text="Se alle våre stillinger her" /> </div> </div> </Layout> ); } const EmployeeTile: React.FC<{ employee: Employee }> = ({ employee: { fullName, name, phone, imageSlug, officeName }, }) => { return ( <div className={style.employee} style={{ '--randomOffset': getRandomOffset() } as CSSProperties} > <Image width={300} height={300} alt={`Bilde av ${name}`} src={`/employees/${imageSlug}.png`} loading="lazy" /> <h4 className={and(style.employee__name, 'fancy')}>{fullName}</h4> <div className={style.employee__office}>{officeName}</div> <a href={`tel:+47${phone.replace(/\s*/g, '')}`} className={style.employee__phone} > 📞 {phone} </a> </div> ); }; function JobsLink({ text }: { text: string }) { return ( <div className={style.employee__jobsLinkContainer} style={{ '--randomOffset': getRandomOffset() } as CSSProperties} > <Link href="/jobs"> <a className={style.employee__jobsLink}> <BaseBlob width={300} height={300} randomness={2} extraPoints={6} color={colors.colorPairs.secondary1.default.bg} /> <p>{text}</p> <Arrow className={style.employee__jobsLinkArrow} /> </a> </Link> </div> ); } /** * Returns a random number clamped between the max and min. */ function getRandomOffset() { const max = 0.8; const min = 0.2; return Math.random() * (max - min) + min; } /** * Shuffle function taken from here: https://javascript.info/task/shuffle * @param array */ function shuffleArray(array: Employee[]) { const tempArray = array.slice(); for (let i = tempArray.length - 1; i > 0; i--) { const j = Math.floor(Math.random() * (i + 1)); [tempArray[i], tempArray[j]] = [tempArray[j], tempArray[i]]; } return tempArray; } export const massageEmployee = ( employee: EmployeeJSON, ): Omit<Employee, 'imageSlug'> => { return { fullName: employee.name, name: employee.name.split(' ')[0], email: employee.email, phone: (employee.telephone.startsWith('+47') ? employee.telephone.slice(3) : employee.telephone ) .replace(/\s/g, '') .replace(/(\d{3})(\d{2})/g, '$1 $2 '), officeName: employee.office_name, }; };
./leogl/enhancer.sh "`realpath $1`"
/* UserRoles RoomRoles*/ // import { FlowRouter } from 'meteor/kadira:flow-router'; import { Meteor } from 'meteor/meteor'; import { Random } from 'meteor/random'; // import { getAvatarUrlFromUsername } from '../../../utils'; import { hasAtLeastOnePermission, canAccessRoom } from '../../../authorization'; import { Messages, Rooms } from '../../../models'; import { createRoom, addUserToRoom, sendMessage, attachMessage } from '../../../lib'; const fields = [ { type: 'messageCounter', count: 0, }, { type: 'lastMessageAge', lm: null, }, ]; export const createThreadMessage = (rid, user, trid, msg, message_embedded) => { const welcomeMessage = { msg, rid, trid, attachments: [{ fields, }, message_embedded].filter((e) => e), }; return Messages.createWithTypeRoomIdMessageAndUser('thread-created', trid, '', user, welcomeMessage); }; export const mentionThreadMessage = (rid, user, msg, message_embedded) => { const welcomeMessage = { msg, rid, attachments: [message_embedded].filter((e) => e), }; return Messages.createWithTypeRoomIdMessageAndUser('thread-created', rid, '', user, welcomeMessage); }; const cloneMessage = ({ _id, ...msg }) => ({ ...msg }); export const create = ({ prid, pmid, t_name, reply, users }) => { // if you set both, prid and pmid, and the rooms doesnt match... should throw an error) let message = false; if (pmid) { message = Messages.findOne({ _id: pmid }); if (prid) { if (prid !== message.rid) { throw new Meteor.Error('error-invalid-arguments', { method: 'ThreadCreation' }); } } else { prid = message.rid; } } if (!prid) { throw new Meteor.Error('error-invalid-arguments', { method: 'ThreadCreation' }); } const p_room = Rooms.findOne(prid); if (p_room.prid) { throw new Meteor.Error('error-nested-thread', 'Cannot create nested threads', { method: 'ThreadCreation' }); } const user = Meteor.user(); if (!canAccessRoom(p_room, user)) { throw new Meteor.Error('error-not-allowed', { method: 'ThreadCreation' }); } if (pmid) { const threadAlreadyExists = Rooms.findOne({ prid, pmid, }, { fields: { _id: 1 }, }); if (threadAlreadyExists) { // do not allow multiple threads to the same message'\ addUserToRoom(threadAlreadyExists._id, user); return threadAlreadyExists; } } const name = Random.id(); // auto invite the replied message owner const invitedUsers = message ? [message.u.username, ...users] : users; // threads are always created as private groups const thread = createRoom('p', name, user.username, [...new Set(invitedUsers)], false, { fname: t_name, description: message.msg, // TODO threads remove topic: p_room.name, // TODO threads remove prid, }); if (pmid) { const clonedMessage = cloneMessage(message); Messages.update({ _id: message._id, }, { ...clonedMessage, attachments: [ { fields }, ...(message.attachments || []), ], trid: thread._id, }); mentionThreadMessage(thread._id, user, reply, attachMessage(message, p_room)); // check if the message is in the latest 10 messages sent to the room // if not creates a new message saying about the thread creation const lastMessageIds = Messages.findByRoomId(message.rid, { sort: { ts: -1, }, limit: 15, fields: { _id: 1, }, }).fetch(); if (!lastMessageIds.find((msg) => msg._id === message._id)) { createThreadMessage(message.rid, user, thread._id, reply, attachMessage(message, p_room)); } } else { createThreadMessage(prid, user, thread._id, reply); if (reply) { sendMessage(user, { msg: reply }, thread); } } return thread; }; Meteor.methods({ /** * Create thread by room or message * @constructor * @param {string} prid - Parent Room Id - The room id, optional if you send pmid. * @param {string} pmid - Parent Message Id - Create the thread by a message, optional. * @param {string} reply - The reply, optional * @param {string} t_name - thread name * @param {string[]} users - users to be added */ createThread({ prid, pmid, t_name, reply, users }) { const uid = Meteor.userId(); if (!uid) { throw new Meteor.Error('error-invalid-user', 'Invalid user', { method: 'ThreadCreation' }); } if (!hasAtLeastOnePermission(uid, ['start-thread', 'start-thread-other-user'])) { throw new Meteor.Error('error-action-not-allowed', 'You are not allowed to create a thread', { method: 'createThread' }); } return create({ uid, prid, pmid, t_name, reply, users }); }, });
var updatedList = customers.Select(c => new { c.Name, Age = c.Name == "Adam" ? 25 : c.Age });
<reponame>ooooo-youwillsee/leetcode /** * @author ooooo * @date 2021/1/24 17:55 */ #ifndef CPP_1670__SOLUTION1_H_ #define CPP_1670__SOLUTION1_H_ #include <iostream> #include <vector> #include <unordered_map> #include <unordered_set> #include <queue> #include <stack> using namespace std; // https://leetcode-cn.com/contest/biweekly-contest-40/problems/design-front-middle-back-queue/ class FrontMiddleBackQueue { public: deque<int> nums; stack<int> help_stack; FrontMiddleBackQueue() { } void pushFront(int val) { nums.push_front(val); } void pushMiddle(int val) { int count = nums.size() / 2; while (count > 0) { help_stack.push(nums.front()); nums.pop_front(); count--; } nums.push_front(val); while (!help_stack.empty()) { nums.push_front(help_stack.top()); help_stack.pop(); } } void pushBack(int val) { nums.push_back(val); } int popFront() { if (nums.empty()) return -1; int ret = nums.front(); nums.pop_front(); return ret; } int popMiddle() { if (nums.empty()) return -1; int count = (nums.size() - 1) / 2; while (count > 0) { help_stack.push(nums.front()); nums.pop_front(); count--; } int ret = nums.front(); nums.pop_front(); while (!help_stack.empty()) { nums.push_front(help_stack.top()); help_stack.pop(); } return ret; } int popBack() { if (nums.empty()) return -1; int ret = nums.back(); nums.pop_back(); return ret; } }; #endif //CPP_1670__SOLUTION1_H_
import { TestWindow } from '@stencil/core/testing'; import { ScrollDownIcon } from './scroll-down-icon'; describe('scroll-down-icon', () => { it('should build', () => { expect(new ScrollDownIcon()).toBeTruthy(); }); describe('rendering', () => { let element: HTMLScrollDownIconElement; let testWindow: TestWindow; beforeEach(async () => { testWindow = new TestWindow(); element = await testWindow.load({ components: [ScrollDownIcon], html: '<scroll-down-icon></scroll-down-icon>' }); }); it('should work without parameters', () => { expect(element.innerHTML.trim()).toEqual('<div class=\"icon-scroll-container\" data-scroll-down-icon=\"\"><div class=\"icon-scroll\" data-scroll-down-icon=\"\"></div></div>'); }); // it('should work with a word color parameter', async () => { // element.color = 'red'; // await testWindow.flush(); // expect(element.innerHTML.trim()).toEqual('<div class=\"icon-scroll\" style=\"box-shadow: inset 0 0 0 1px red;\" data-scroll-down-icon=\"\"></div>'); // }); // it('should work with a hex color parameter', async () => { // element.color = '#CCCCCC'; // await testWindow.flush(); // expect(element.innerHTML.trim()).toEqual('<div class=\"icon-scroll\" style=\"box-shadow: inset 0 0 0 1px #CCCCCC;\" data-scroll-down-icon=\"\"></div>'); // }); }); });
package com.linkedin.datahub.graphql.resolvers.glossary; import com.datahub.authentication.Authentication; import com.linkedin.common.urn.GlossaryNodeUrn; import com.linkedin.datahub.graphql.QueryContext; import com.linkedin.datahub.graphql.generated.CreateGlossaryEntityInput; import com.linkedin.entity.client.EntityClient; import com.linkedin.events.metadata.ChangeType; import com.linkedin.glossary.GlossaryNodeInfo; import com.linkedin.metadata.Constants; import com.linkedin.metadata.key.GlossaryNodeKey; import com.linkedin.metadata.utils.GenericRecordUtils; import com.linkedin.mxe.MetadataChangeProposal; import graphql.schema.DataFetchingEnvironment; import org.mockito.Mockito; import org.testng.annotations.Test; import static com.linkedin.datahub.graphql.TestUtils.getMockAllowContext; public class CreateGlossaryNodeResolverTest { private static final CreateGlossaryEntityInput TEST_INPUT = new CreateGlossaryEntityInput( "test-id", "test-name", "test-description", "urn:li:glossaryNode:12372c2ec7754c308993202dc44f548b" ); private static final CreateGlossaryEntityInput TEST_INPUT_NO_DESCRIPTION = new CreateGlossaryEntityInput( "test-id", "test-name", null, "urn:li:glossaryNode:12372c2ec7754c308993202dc44f548b" ); private static final CreateGlossaryEntityInput TEST_INPUT_NO_PARENT_NODE = new CreateGlossaryEntityInput( "test-id", "test-name", "test-description", null ); private final String parentNodeUrn = "urn:li:glossaryNode:12372c2ec7754c308993202dc44f548b"; private MetadataChangeProposal setupTest( DataFetchingEnvironment mockEnv, CreateGlossaryEntityInput input, String description, String parentNode ) throws Exception { QueryContext mockContext = getMockAllowContext(); Mockito.when(mockContext.getAuthentication()).thenReturn(Mockito.mock(Authentication.class)); Mockito.when(mockEnv.getArgument(Mockito.eq("input"))).thenReturn(input); Mockito.when(mockEnv.getContext()).thenReturn(mockContext); final GlossaryNodeKey key = new GlossaryNodeKey(); key.setName("test-id"); final MetadataChangeProposal proposal = new MetadataChangeProposal(); proposal.setEntityKeyAspect(GenericRecordUtils.serializeAspect(key)); proposal.setEntityType(Constants.GLOSSARY_NODE_ENTITY_NAME); GlossaryNodeInfo props = new GlossaryNodeInfo(); props.setDefinition(description); props.setName("test-name"); if (parentNode != null) { final GlossaryNodeUrn parent = GlossaryNodeUrn.createFromString(parentNode); props.setParentNode(parent); } proposal.setAspectName(Constants.GLOSSARY_NODE_INFO_ASPECT_NAME); proposal.setAspect(GenericRecordUtils.serializeAspect(props)); proposal.setChangeType(ChangeType.UPSERT); return proposal; } @Test public void testGetSuccess() throws Exception { EntityClient mockClient = Mockito.mock(EntityClient.class); DataFetchingEnvironment mockEnv = Mockito.mock(DataFetchingEnvironment.class); final MetadataChangeProposal proposal = setupTest(mockEnv, TEST_INPUT, "test-description", parentNodeUrn); CreateGlossaryNodeResolver resolver = new CreateGlossaryNodeResolver(mockClient); resolver.get(mockEnv).get(); Mockito.verify(mockClient, Mockito.times(1)).ingestProposal( Mockito.eq(proposal), Mockito.any(Authentication.class) ); } @Test public void testGetSuccessNoDescription() throws Exception { EntityClient mockClient = Mockito.mock(EntityClient.class); DataFetchingEnvironment mockEnv = Mockito.mock(DataFetchingEnvironment.class); final MetadataChangeProposal proposal = setupTest(mockEnv, TEST_INPUT_NO_DESCRIPTION, "", parentNodeUrn); CreateGlossaryNodeResolver resolver = new CreateGlossaryNodeResolver(mockClient); resolver.get(mockEnv).get(); Mockito.verify(mockClient, Mockito.times(1)).ingestProposal( Mockito.eq(proposal), Mockito.any(Authentication.class) ); } @Test public void testGetSuccessNoParentNode() throws Exception { EntityClient mockClient = Mockito.mock(EntityClient.class); DataFetchingEnvironment mockEnv = Mockito.mock(DataFetchingEnvironment.class); final MetadataChangeProposal proposal = setupTest(mockEnv, TEST_INPUT_NO_PARENT_NODE, "test-description", null); CreateGlossaryNodeResolver resolver = new CreateGlossaryNodeResolver(mockClient); resolver.get(mockEnv).get(); Mockito.verify(mockClient, Mockito.times(1)).ingestProposal( Mockito.eq(proposal), Mockito.any(Authentication.class) ); } }
/* * Copyright © 2019 Lisk Foundation * * See the LICENSE file at the top-level directory of this distribution * for licensing information. * * Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation, * no part of this software, including this file, may be copied, modified, * propagated, or distributed except according to the terms contained in the * LICENSE file. * * Removal or modification of this copyright notice is prohibited. * */ import { encode as encodeVarInt } from 'varuint-bitcoin'; import { SIGNED_MESSAGE_PREFIX } from './constants'; import { hash } from './hash'; import { getPrivateAndPublicKeyFromPassphrase } from './keys'; import { tagMessage } from './message_tag'; import { NACL_SIGN_PUBLICKEY_LENGTH, NACL_SIGN_SIGNATURE_LENGTH, signDetached, verifyDetached, } from './nacl'; const createHeader = (text: string): string => `-----${text}-----`; const signedMessageHeader = createHeader('BEGIN LISK SIGNED MESSAGE'); const messageHeader = createHeader('MESSAGE'); const publicKeyHeader = createHeader('PUBLIC KEY'); const signatureHeader = createHeader('SIGNATURE'); const signatureFooter = createHeader('END LISK SIGNED MESSAGE'); const SIGNED_MESSAGE_PREFIX_BYTES = Buffer.from(SIGNED_MESSAGE_PREFIX, 'utf8'); const SIGNED_MESSAGE_PREFIX_LENGTH = encodeVarInt(SIGNED_MESSAGE_PREFIX.length); export interface SignedMessageWithOnePassphrase { readonly message: string; readonly publicKey: Buffer; readonly signature: Buffer; } export const digestMessage = (message: string): Buffer => { const msgBytes = Buffer.from(message, 'utf8'); const msgLenBytes = encodeVarInt(message.length); const dataBytes = Buffer.concat([ SIGNED_MESSAGE_PREFIX_LENGTH, SIGNED_MESSAGE_PREFIX_BYTES, msgLenBytes, msgBytes, ]); return hash(hash(dataBytes)); }; export const signMessageWithPassphrase = ( message: string, passphrase: string, ): SignedMessageWithOnePassphrase => { const msgBytes = digestMessage(message); const { privateKey, publicKey } = getPrivateAndPublicKeyFromPassphrase(passphrase); const signature = signDetached(msgBytes, privateKey); return { message, publicKey, signature, }; }; export const verifyMessageWithPublicKey = ({ message, publicKey, signature, }: SignedMessageWithOnePassphrase): boolean => { const msgBytes = digestMessage(message); if (publicKey.length !== NACL_SIGN_PUBLICKEY_LENGTH) { throw new Error( `Invalid publicKey, expected ${NACL_SIGN_PUBLICKEY_LENGTH.toString()}-byte publicKey`, ); } if (signature.length !== NACL_SIGN_SIGNATURE_LENGTH) { throw new Error( `Invalid signature length, expected ${NACL_SIGN_SIGNATURE_LENGTH.toString()}-byte signature`, ); } return verifyDetached(msgBytes, signature, publicKey); }; export interface SignedMessage { readonly message: string; readonly publicKey: Buffer; readonly signature: Buffer; } export const printSignedMessage = ({ message, signature, publicKey }: SignedMessage): string => [ signedMessageHeader, messageHeader, message, publicKeyHeader, publicKey.toString('hex'), signatureHeader, signature.toString('hex'), signatureFooter, ] .filter(Boolean) .join('\n'); export const signAndPrintMessage = (message: string, passphrase: string): string => { const signedMessage = signMessageWithPassphrase(message, passphrase); return printSignedMessage(signedMessage); }; export const signDataWithPrivateKey = ( tag: string, networkIdentifier: Buffer, data: Buffer, privateKey: Buffer, ): Buffer => signDetached(tagMessage(tag, networkIdentifier, data), privateKey); export const signDataWithPassphrase = ( tag: string, networkIdentifier: Buffer, data: Buffer, passphrase: string, ): Buffer => { const { privateKey } = getPrivateAndPublicKeyFromPassphrase(passphrase); return signDataWithPrivateKey(tag, networkIdentifier, data, privateKey); }; export const signData = signDataWithPassphrase; export const verifyData = ( tag: string, networkIdentifier: Buffer, data: Buffer, signature: Buffer, publicKey: Buffer, ): boolean => verifyDetached(tagMessage(tag, networkIdentifier, data), signature, publicKey);
var Parser = Parser || { parsers: {} };
//#add-sbt-plugin addSbtPlugin("com.lightbend.lagom" % "lagom-sbt-plugin" % "1.0.0-M1") //#add-sbt-plugin //#scala-version scalaVersion in ThisBuild := "2.11.7" //#scala-version //#hello-world-api lazy val helloworldApi = (project in file("helloworld-api")) .settings( version := "1.0-SNAPSHOT", libraryDependencies += lagomJavadslApi ) //#hello-world-api //#hello-world-impl lazy val helloworldImpl = (project in file("helloworld-impl")) .enablePlugins(LagomJava) .settings( version := "1.0-SNAPSHOT" ) .dependsOn(helloworldApi) //#hello-world-impl //#hello-stream lazy val hellostreamApi = (project in file("hellostream-api")) .settings( version := "1.0-SNAPSHOT", libraryDependencies += lagomJavadslApi ) lazy val hellostreamImpl = (project in file("hellostream-impl")) .enablePlugins(LagomJava) .settings( version := "1.0-SNAPSHOT" ) .dependsOn(hellostreamApi, helloworldApi) //#hello-stream
#!/bin/bash # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. # Script to run all tests in the webcomponents package. For this script to run # correctly, you need to have a SDK installation and set the following # environment variable: # > export DART_SDK=<SDK location> # # If you already have a dart_lang checkout, you can build the SDK directly. DART=$DART_SDK/bin/dart # TODO(sigmund): generalize to run browser tests too for test in tests/*_test.dart; do $DART --enable-asserts --enable-type-checks --package-root=packages/ $test done
#!/usr/bin/env bash set -eE -o functrace failure() { local lineno=$1 local msg=$2 echo "Failed at $lineno: $msg" } trap 'failure ${LINENO} "$BASH_COMMAND"' ERR # Let's replace the "." by a "-" with some bash magic export BRANCH_VARIANT=`echo "$VARIANT" | sed 's/\./-/g'` # Build with BuildKit https://docs.docker.com/develop/develop-images/build_enhancements/ export DOCKER_BUILDKIT=1 # Force use of BuildKit export BUILDKIT_STEP_LOG_MAX_SIZE=10485760 # outpout log limit fixed to 10MiB # Let's build the "slim" image. docker build -t thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} --build-arg PHP_VERSION=${PHP_VERSION} --build-arg GLOBAL_VERSION=${BRANCH} -f Dockerfile.slim.${VARIANT} . # Post build unit tests # Let's check that the extensions can be built using the "ONBUILD" statement docker build -t test/slim_onbuild --build-arg PHP_VERSION="${PHP_VERSION}" --build-arg BRANCH="$BRANCH" --build-arg BRANCH_VARIANT="$BRANCH_VARIANT" tests/slim_onbuild # This should run ok (the sudo disable environment variables but call to composer proxy does not trigger PHP ini file regeneration) docker run --rm test/slim_onbuild php -m | grep sockets docker run --rm test/slim_onbuild php -m | grep pdo_pgsql docker run --rm test/slim_onbuild php -m | grep pdo_sqlite docker rmi test/slim_onbuild # Let's check that the extensions are available for composer using "ARG PHP_EXTENSIONS" statement: docker build -t test/slim_onbuild_composer --build-arg PHP_VERSION="${PHP_VERSION}" --build-arg BRANCH="$BRANCH" --build-arg BRANCH_VARIANT="$BRANCH_VARIANT" tests/slim_onbuild_composer docker rmi test/slim_onbuild_composer # Post build unit tests if [[ $VARIANT == cli* ]]; then CONTAINER_CWD=/usr/src/app; else CONTAINER_CWD=/var/www/html; fi # Default user is 1000 RESULT=`docker run --rm thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} id -ur` [[ "$RESULT" = "1000" ]] # If mounted, default user has the id of the mount directory mkdir user1999 && docker run --rm -v "$(pwd)":/mnt busybox chown 1999:1999 /mnt/user1999 ls -al user1999 RESULT=`docker run --rm -v "$(pwd)"/user1999:$CONTAINER_CWD thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} id -ur` [[ "$RESULT" = "1999" ]] # Also, the default user can write on stdout and stderr docker run --rm -v "$(pwd)"/user1999:$CONTAINER_CWD thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} bash -c "echo TEST > /proc/self/fd/2" rm -rf user1999 # and it also works for users with existing IDs in the container mkdir -p user33 cp tests/apache/composer.json user33/ docker run --rm -v "$(pwd)":/mnt busybox chown -R 33:33 /mnt/user33 ls -al user33 RESULT=`docker run --rm -v "$(pwd)"/user33:$CONTAINER_CWD thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} id -ur` [[ "$RESULT" = "33" ]] RESULT=`docker run --rm -v "$(pwd)"/user33:$CONTAINER_CWD thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} composer update -vvv` docker run --rm -v "$(pwd)":/mnt busybox rm -rf /mnt/user33 # Let's check that mbstring is enabled by default (they are compiled in PHP) docker run --rm thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} php -m | grep mbstring docker run --rm thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} php -m | grep PDO #docker run --rm thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} php -m | grep pdo_sqlite if [[ $VARIANT == apache* ]]; then # Test if environment variables are passed to PHP DOCKER_CID=`docker run --rm -e MYVAR=foo -p "81:80" -d -v "$(pwd)":/var/www/html thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT}` # Let's wait for Apache to start sleep 5 RESULT=`curl http://localhost:81/tests/test.php` [[ "$RESULT" = "foo" ]] docker stop $DOCKER_CID # Test Apache document root (relative) DOCKER_CID=`docker run --rm -e MYVAR=foo -p "81:80" -d -v "$(pwd)":/var/www/html -e APACHE_DOCUMENT_ROOT=tests thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT}` # Let's wait for Apache to start sleep 5 RESULT=`curl http://localhost:81/test.php` [[ "$RESULT" = "foo" ]] docker stop $DOCKER_CID # Test Apache document root (absolute) DOCKER_CID=`docker run --rm -e MYVAR=foo -p "81:80" -d -v "$(pwd)":/var/www/foo -e APACHE_DOCUMENT_ROOT=/var/www/foo/tests thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT}` # Let's wait for Apache to start sleep 5 RESULT=`curl http://localhost:81/test.php` [[ "$RESULT" = "foo" ]] docker stop $DOCKER_CID # Test Apache HtAccess DOCKER_CID=`docker run --rm -p "81:80" -d -v "$(pwd)"/tests/testHtAccess:/foo -e APACHE_DOCUMENT_ROOT=/foo thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT}` # Let's wait for Apache to start sleep 5 RESULT=`curl http://localhost:81/` [[ "$RESULT" = "foo" ]] docker stop $DOCKER_CID # Test PHP_INI_... variables are correctly handled by apache DOCKER_CID=`docker run --rm -e MYVAR=foo -p "81:80" -d -v "$(pwd)":/var/www/html -e PHP_INI_MEMORY_LIMIT=2G thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT}` # Let's wait for Apache to start sleep 5 RESULT=`curl http://localhost:81/tests/apache/echo_memory_limit.php` [[ "$RESULT" = "2G" ]] docker stop $DOCKER_CID fi if [[ $VARIANT == fpm* ]]; then # Test if environment starts without errors DOCKER_CID=`docker run --rm -p "9000:9000" -d -v "$(pwd)":/var/www/html thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT}` # Let's wait for FPM to start sleep 5 # If the container is still up, it will not fail when stopping. docker stop $DOCKER_CID fi # Let's check that the access to cron will fail with a message set +e RESULT=`docker run --rm -e CRON_SCHEDULE_1="* * * * * * *" -e CRON_COMMAND_1="(>&1 echo "foobar")" thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} sleep 1 2>&1 | grep -o 'Cron is not available in this image'` set -e [[ "$RESULT" = "Cron is not available in this image" ]] # Let's check that the configuration is loaded from the correct php.ini (development, production or imported in the image) RESULT=`docker run --rm thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} php -i | grep error_reporting` [[ "$RESULT" = "error_reporting => 32767 => 32767" ]] RESULT=`docker run --rm -e TEMPLATE_PHP_INI=production thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} php -i | grep error_reporting` [[ "$RESULT" = "error_reporting => 22527 => 22527" ]] RESULT=`docker run --rm -v "$(pwd)"/tests/php.ini:/etc/php/${PHP_VERSION}/cli/php.ini thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} php -i | grep error_reporting` [[ "$RESULT" = "error_reporting => 24575 => 24575" ]] RESULT=`docker run --rm -e PHP_INI_ERROR_REPORTING="E_ERROR | E_WARNING" thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} php -i | grep error_reporting` [[ "$RESULT" = "error_reporting => 3 => 3" ]] # Tests that environment variables with an equal sign are correctly handled RESULT=`docker run --rm -e PHP_INI_SESSION__SAVE_PATH="tcp://localhost?auth=yourverycomplex\"passwordhere" thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} php -i | grep "session.save_path"` [[ "$RESULT" = "session.save_path => tcp://localhost?auth=yourverycomplex\"passwordhere => tcp://localhost?auth=yourverycomplex\"passwordhere" ]] # Tests that the SMTP parameter is set in uppercase RESULT=`docker run --rm -e PHP_INI_SMTP="192.168.0.1" thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} php -i | grep "^SMTP"` [[ "$RESULT" = "SMTP => 192.168.0.1 => 192.168.0.1" ]] # Tests that environment variables are passed to startup scripts when UID is set RESULT=`docker run --rm -e FOO="bar" -e STARTUP_COMMAND_1="env" -e UID=0 thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} sleep 1 | grep "FOO"` [[ "$RESULT" = "FOO=bar" ]] # Tests that multi-commands are correctly executed when UID is set RESULT=`docker run --rm -e STARTUP_COMMAND_1="cd / && whoami" -e UID=0 thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} sleep 1` [[ "$RESULT" = "root" ]] # Tests that startup.sh is correctly executed docker run --rm -v "$(pwd)"/tests/startup.sh:/etc/container/startup.sh thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} php -m | grep "startup.sh executed" # Tests that disable_functions is commented in php.ini cli RESULT=`docker run --rm thecodingmachine/php:${PHP_VERSION}-${BRANCH}-slim-${BRANCH_VARIANT} php -i | grep "disable_functions"` [[ "$RESULT" = "disable_functions => no value => no value" ]] ################################# # Let's build the "fat" image ################################# docker build -t thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT} --build-arg PHP_VERSION=${PHP_VERSION} --build-arg GLOBAL_VERSION=${BRANCH} -f Dockerfile.${VARIANT} . # Let's check that the crons are actually sending logs in the right place RESULT=`docker run --rm -e CRON_SCHEDULE_1="* * * * * * *" -e CRON_COMMAND_1="(>&1 echo "foobar")" thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT} sleep 1 2>&1 | grep -oP 'msg=foobar' | head -n1` [[ "$RESULT" = "msg=foobar" ]] RESULT=`docker run --rm -e CRON_SCHEDULE_1="* * * * * * *" -e CRON_COMMAND_1="(>&2 echo "error")" thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT} sleep 1 2>&1 | grep -oP 'msg=error' | head -n1` [[ "$RESULT" = "msg=error" ]] # Let's check that the cron with a user different from root is actually run. RESULT=`docker run --rm -e CRON_SCHEDULE_1="* * * * * * *" -e CRON_COMMAND_1="whoami" -e CRON_USER_1="docker" thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT} sleep 1 2>&1 | grep -oP 'msg=docker' | head -n1` [[ "$RESULT" = "msg=docker" ]] # Let's check that 2 commands split with a ; are run by the same user. RESULT=`docker run --rm -e CRON_SCHEDULE_1="* * * * * * *" -e CRON_COMMAND_1="whoami;whoami" -e CRON_USER_1="docker" thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT} sleep 1 2>&1 | grep -oP 'msg=docker' | wc -l` [[ "$RESULT" -gt "1" ]] # Let's check that mbstring cannot extension cannot be disabled # Disabled because no more used in setup_extensions.php #set +e #docker run --rm -e PHP_EXTENSION_MBSTRING=0 thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT} php -i #[[ "$?" = "1" ]] #set -e # Let's check that the "xdebug.client_host" contains a value different from "no value" docker run --rm -e PHP_EXTENSION_XDEBUG=1 thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT} php -i | grep xdebug.client_host| grep -v "no value" # Let's check that "xdebug.mode" is set to "debug" by default docker run --rm -e PHP_EXTENSION_XDEBUG=1 thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT} php -i | grep xdebug.mode| grep "debug" # Let's check that "xdebug.mode" is properly overridden docker run --rm -e PHP_EXTENSION_XDEBUG=1 -e PHP_INI_XDEBUG__MODE=debug,coverage thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT} php -i | grep xdebug.mode| grep "debug,coverage" if [[ "${PHP_VERSION}" != "8.1" ]]; then # Tests that blackfire + xdebug will output an error RESULT=`docker run --rm -e PHP_EXTENSION_XDEBUG=1 -e PHP_EXTENSION_BLACKFIRE=1 thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT} php -v 2>&1 | grep 'WARNING: Both Blackfire and Xdebug are enabled. This is not recommended as the PHP engine may not behave as expected. You should strongly consider disabling Xdebug or Blackfire.'` [[ "$RESULT" = "WARNING: Both Blackfire and Xdebug are enabled. This is not recommended as the PHP engine may not behave as expected. You should strongly consider disabling Xdebug or Blackfire." ]] # Check that blackfire can be enabled docker run --rm -e PHP_EXTENSION_BLACKFIRE=1 thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT} php -m | grep blackfire fi # Let's check that the extensions are enabled when composer is run docker build -t test/composer_with_gd --build-arg PHP_VERSION="${PHP_VERSION}" --build-arg BRANCH="$BRANCH" --build-arg BRANCH_VARIANT="$BRANCH_VARIANT" tests/composer # This should run ok (the sudo disables environment variables but call to composer proxy does not trigger PHP ini file regeneration) docker run --rm test/composer_with_gd sudo composer update docker rmi test/composer_with_gd ################################# # Let's build the "node" images ################################# docker build -t thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT}-node10 --build-arg PHP_VERSION=${PHP_VERSION} --build-arg GLOBAL_VERSION=${BRANCH} -f Dockerfile.${VARIANT}.node10 . docker build -t thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT}-node12 --build-arg PHP_VERSION=${PHP_VERSION} --build-arg GLOBAL_VERSION=${BRANCH} -f Dockerfile.${VARIANT}.node12 . docker build -t thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT}-node14 --build-arg PHP_VERSION=${PHP_VERSION} --build-arg GLOBAL_VERSION=${BRANCH} -f Dockerfile.${VARIANT}.node14 . docker build -t thecodingmachine/php:${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT}-node16 --build-arg PHP_VERSION=${PHP_VERSION} --build-arg GLOBAL_VERSION=${BRANCH} -f Dockerfile.${VARIANT}.node16 . echo "Tests passed with success"
#!/bin/bash bold=$(tput bold) normal=$(tput sgr0) . ./config.txt setup () { echo "tuya-convert $(git describe --tags)" pushd scripts >/dev/null || exit . ./setup_checks.sh screen_minor=$(screen --version | cut -d . -f 2) if [ "$screen_minor" -gt 5 ]; then screen_with_log="sudo screen -L -Logfile" elif [ "$screen_minor" -eq 5 ]; then screen_with_log="sudo screen -L" else screen_with_log="sudo screen -L -t" fi echo "======================================================" echo -n " Starting AP in a screen" $screen_with_log smarthack-wifi.log -S smarthack-wifi -m -d ./setup_ap.sh while ! ping -c 1 -W 1 -n "$GATEWAY" &> /dev/null; do printf . done echo sleep 5 echo " Starting web server in a screen" $screen_with_log smarthack-web.log -S smarthack-web -m -d ./fake-registration-server.py echo " Starting Mosquitto in a screen" $screen_with_log smarthack-mqtt.log -S smarthack-mqtt -m -d mosquitto -v echo " Starting PSK frontend in a screen" $screen_with_log smarthack-psk.log -S smarthack-psk -m -d ./psk-frontend.py -v echo " Starting Tuya Discovery in a screen" $screen_with_log smarthack-udp.log -S smarthack-udp -m -d ./tuya-discovery.py echo } cleanup () { echo "======================================================" echo "Cleaning up..." sudo screen -S smarthack-web -X stuff '^C' sudo screen -S smarthack-mqtt -X stuff '^C' sudo screen -S smarthack-psk -X stuff '^C' sudo screen -S smarthack-udp -X stuff '^C' echo "Closing AP" sudo pkill hostapd echo "Exiting..." popd >/dev/null || exit } trap cleanup EXIT setup while true; do echo "======================================================" echo echo "IMPORTANT" echo "1. Connect any other device (a smartphone or something) to the WIFI $AP" echo " This step is IMPORTANT otherwise the smartconfig may not work!" echo "2. Put your IoT device in autoconfig/smartconfig/pairing mode (LED will blink fast). This is usually done by pressing and holding the primary button of the device" echo " Make sure nothing else is plugged into your IoT device while attempting to flash." echo "3. Press ${bold}ENTER${normal} to continue" read -r echo echo "======================================================" echo "Starting smart config pairing procedure" ./smartconfig/main.py & echo "Waiting for the device to install the intermediate firmware" i=120 while ! ping -c 1 -W 1 -n 10.42.42.42 &> /dev/null; do printf . if (( --i == 0 )); then echo echo "Device did not appear with the intermediate firmware" echo "Check the *.log files in the scripts folder" pkill -f smartconfig/main.py && echo "Stopping smart config" read -p "Do you want to try flashing another device? [y/N] " -n 1 -r echo [[ "$REPLY" =~ ^[Yy]$ ]] || break 2 continue 2 fi done echo echo "IoT-device is online with ip 10.42.42.42" pkill -f smartconfig/main.py && echo "Stopping smart config" echo "Fetching firmware backup" sleep 2 timestamp=$(date +%Y%m%d_%H%M%S) backupfolder="../backups/$timestamp" mkdir -p "$backupfolder" pushd "$backupfolder" >/dev/null || exit curl -JO http://10.42.42.42/backup echo "======================================================" echo "Getting Info from IoT-device" curl -s http://10.42.42.42 | tee device-info.txt popd >/dev/null || exit echo "======================================================" echo "Ready to flash third party firmware!" echo echo "For your convenience, the following firmware images are already included in this repository:" echo " Tasmota v8.1.0.2 (wifiman)" echo " ESPurna 1.13.5 (base)" echo echo "You can also provide your own image by placing it in the /files directory" echo "Please ensure the firmware fits the device and includes the bootloader" echo "MAXIMUM SIZE IS 512KB" ./firmware_picker.sh sudo mv *.log "$backupfolder/" echo "======================================================" read -p "Do you want to flash another device? [y/N] " -n 1 -r echo [[ "$REPLY" =~ ^[Yy]$ ]] || break done
<gh_stars>100-1000 package log import ( "testing" ) type grcpGatewayLogger interface { WithValues(keysAndValues ...interface{}) GrcpGatewayLogger Debug(msg string) Info(msg string) Warning(msg string) Error(msg string) } func TestGrcpGatewayLoggerNil(t *testing.T) { var gglog grcpGatewayLogger = DefaultLogger.GrcpGateway() gglog.Debug("Grcp Gateway Debug") gglog.Info("Grcp Gateway Info") gglog.Warning("Grcp Gateway Warning") gglog.Error("Grcp Gateway Error") gglog = gglog.WithValues("a_key", "a_value") gglog.Debug("Grcp Gateway WithValues test") gglog.Info("Grcp Gateway WithValues test") gglog.Warning("Grcp Gateway WithValues test") gglog.Error("Grcp Gateway WithValues test") } func TestGrcpGatewayLogger(t *testing.T) { DefaultLogger.Caller = 1 DefaultLogger.Writer = &ConsoleWriter{ColorOutput: true, EndWithMessage: true} var gglog grcpGatewayLogger = DefaultLogger.GrcpGateway() gglog.Debug("Grcp Gateway Debug") gglog.Info("Grcp Gateway Info") gglog.Warning("Grcp Gateway Warning") gglog.Error("Grcp Gateway Error") gglog = gglog.WithValues("a_key", "a_value") gglog.Debug("Grcp Gateway WithValues test") gglog.Info("Grcp Gateway WithValues test") gglog.Warning("Grcp Gateway WithValues test") gglog.Error("Grcp Gateway WithValues test") } func TestGrcpGatewayLoggerLevel(t *testing.T) { DefaultLogger.Caller = 1 DefaultLogger.Writer = &ConsoleWriter{ColorOutput: true, EndWithMessage: true} DefaultLogger.Level = noLevel var gglog grcpGatewayLogger = DefaultLogger.GrcpGateway() gglog.Debug("Grcp Gateway Debug") gglog.Info("Grcp Gateway Info") gglog.Warning("Grcp Gateway Warning") gglog.Error("Grcp Gateway Error") gglog = gglog.WithValues("a_key", "a_value") gglog.Debug("Grcp Gateway WithValues test") gglog.Info("Grcp Gateway WithValues test") gglog.Warning("Grcp Gateway WithValues test") gglog.Error("Grcp Gateway WithValues test") } func TestGrcpGatewayLoggerChangingValues(t *testing.T) { var gglog grcpGatewayLogger = DefaultLogger.GrcpGateway() gglog.Info("Grcp Gateway Info") gglogUnique := gglog gglogUnique.WithValues("a_key", "a_value").Info("Grcp Gateway WithValues test") gglogUnique.WithValues("b_key", "b_value").Info("Grcp Gateway WithValues test") gglogAcumulate := gglog gglogAcumulate = gglogAcumulate.WithValues("a_key", "a_value") gglogAcumulate = gglogAcumulate.WithValues("b_key", "b_value") gglogAcumulate.Info("Grcp Gateway WithValues test") }
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See License.txt in the project root. package com.microsoft.alm.plugin.idea.git.ui.pullrequest; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Pair; import com.intellij.openapi.vfs.VirtualFile; import com.microsoft.alm.plugin.context.ServerContext; import com.microsoft.alm.plugin.idea.IdeaAbstractTest; import com.microsoft.alm.plugin.idea.git.ui.pullrequest.PullRequestHelper.PRCreateStatus; import com.microsoft.alm.sourcecontrol.webapi.GitHttpClient; import com.microsoft.alm.sourcecontrol.webapi.model.GitPullRequest; import com.microsoft.alm.sourcecontrol.webapi.model.GitPullRequestSearchCriteria; import com.microsoft.alm.sourcecontrol.webapi.model.GitRepository; import git4idea.GitCommit; import git4idea.GitRemoteBranch; import org.apache.commons.lang.StringUtils; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.UUID; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyInt; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.when; public class PullRequestHelperTest extends IdeaAbstractTest { PullRequestHelper underTest; Project projectMock; GitRepository gitRepositoryMock; VirtualFile fileMock; @Before public void setUp() throws Exception { underTest = new PullRequestHelper(); fileMock = Mockito.mock(VirtualFile.class); projectMock = Mockito.mock(Project.class); gitRepositoryMock = Mockito.mock(GitRepository.class); } @Test public void noCommitsShouldReturnEmptyTitle() throws Exception { final List<GitCommit> commits = new ArrayList<GitCommit>(); final String title = underTest.createDefaultTitle(commits, "source", "target"); assertEquals(StringUtils.EMPTY, title); final String title2 = underTest.createDefaultTitle(null, "source", "target"); assertEquals(StringUtils.EMPTY, title2); } @Test public void oneCommitTitleShouldBeCommitSubject() throws Exception { final List<GitCommit> commits = new ArrayList<GitCommit>(); commits.add(PRGitObjectMockHelper.getCommit(projectMock, fileMock, "my subject", "my message")); final String title = underTest.createDefaultTitle(commits, "source", "target"); assertEquals("my subject", title); } @Test public void multipleCommitsTitleShouldBeMergingFromTo() throws Exception { final List<GitCommit> commits = new ArrayList<GitCommit>(); commits.add(PRGitObjectMockHelper.getCommit(projectMock, fileMock, "subject 1", "message 1")); commits.add(PRGitObjectMockHelper.getCommit(projectMock, fileMock, "subject 2", "message 2")); final String title = underTest.createDefaultTitle(commits, "source", "target"); assertEquals("Merge source to target", title); } @Test public void noCommitsShouldReturnEmptyDescription() throws Exception { final List<GitCommit> commits = new ArrayList<GitCommit>(); String desc = underTest.createDefaultDescription(commits); assertEquals(StringUtils.EMPTY, desc); desc = underTest.createDefaultDescription(null); assertEquals(StringUtils.EMPTY, desc); } @Test public void oneCommitDescShouldBeCommitMessage() throws Exception { final List<GitCommit> commits = new ArrayList<GitCommit>(); commits.add(PRGitObjectMockHelper.getCommit(projectMock, fileMock, "my subject", "my message")); final String desc = underTest.createDefaultDescription(commits); assertEquals("my message", desc); } @Test public void multipleCommitsDescShouldBeListOfSubjects() throws Exception { final List<GitCommit> commits = new ArrayList<GitCommit>(); commits.add(PRGitObjectMockHelper.getCommit(projectMock, fileMock, "subject 1", "message 1")); commits.add(PRGitObjectMockHelper.getCommit(projectMock, fileMock, "subject 2", "message 2")); final String desc = underTest.createDefaultDescription(commits); final String lineSeparator = System.getProperty("line.separator"); assertEquals(String.format("-subject 1%s-subject 2%s", lineSeparator, lineSeparator), desc); } @Test public void parseNullErrorReturnsEmpty() { final Pair<PRCreateStatus, String> parsed = underTest.parseException(null, "source", null, null, null); assertEquals(PRCreateStatus.UNKNOWN, parsed.getFirst()); assertEquals(StringUtils.EMPTY, parsed.getSecond()); } @Test public void nonPRExistErrorWillReturnError() { final String error = "This exception doesn't Git Pull request Exists string description"; final RuntimeException exception = new RuntimeException(error); final Pair<PRCreateStatus, String> parsed = underTest.parseException(exception, "source", null, null, null); assertEquals(PRCreateStatus.FAILED, parsed.getFirst()); assertEquals(error, parsed.getSecond()); } @Test public void parseGitExistExceptionShouldReturnLinkToExistingPR_Code() { parseExceptionForError("This exception contains " + PullRequestHelper.PR_EXISTS_EXCEPTION_CODE); } @Test public void parseGitExistExceptionShouldReturnLinkToExistingPR_Exception() { parseExceptionForError("This exception contains " + PullRequestHelper.PR_EXISTS_EXCEPTION_NAME); } public void parseExceptionForError(final String error) { final RuntimeException exception = new RuntimeException(error); final ServerContext context = Mockito.mock(ServerContext.class); when(context.getGitRepository()).thenReturn(gitRepositoryMock); final UUID repoId = UUID.randomUUID(); when(gitRepositoryMock.getId()).thenReturn(repoId); final GitRemoteBranch targetBranch = PRGitObjectMockHelper.createRemoteBranch("target", null); final GitHttpClient gitClient = Mockito.mock(GitHttpClient.class); final GitPullRequest pr = new GitPullRequest(); pr.setPullRequestId(100); final List<GitPullRequest> pullRequests = Collections.singletonList(pr); when(gitClient.getPullRequests(eq(repoId), any(GitPullRequestSearchCriteria.class), anyInt(), eq(0), eq(1))).thenReturn(pullRequests); final Pair<PRCreateStatus, String> parsed = underTest.parseException(exception, "source", targetBranch, context, gitClient); assertEquals(PRCreateStatus.DUPLICATE, parsed.getFirst()); } @Test public void pullRequestUrlShouldNotContainUserName() { String url = "https://username@dev.azure.com/username/projectName/_git/projectName"; String message = underTest.getHtmlMsg(url, 100500); assertFalse("\"" + message + "\" should not contain \"username@\"", message.contains("username@")); } }
#!/usr/bin/env bash # -*- coding: utf-8 -*- # # This file is part of GEO Knowledge Hub User's Feedback Component. # Copyright 2021 GEO Secretariat. # # GEO Knowledge Hub User's Feedback Component is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. # # Usage: # env DB=postgresql12 SEARCH=elasticsearch7 CACHE=redis MQ=rabbitmq ./run-tests.sh # Quit on errors set -o errexit # Quit on unbound symbols set -o nounset # Always bring down docker services function cleanup() { eval "$(docker-services-cli down --env)" } trap cleanup EXIT python -m check_manifest --ignore ".*-requirements.txt" python -m sphinx.cmd.build -qnNW docs docs/_build/html # TODO: Remove services below that are not neeed (fix also the usage note). eval "$(docker-services-cli up --db ${DB:-postgresql} --search ${SEARCH:-elasticsearch} --cache ${CACHE:-redis} --mq ${MQ:-rabbitmq} --env)" python -m pytest tests_exit_code=$? python -m sphinx.cmd.build -qnNW -b doctest docs docs/_build/doctest exit "$tests_exit_code"
#!/bin/bash # ================================================================================ # by Noah Huetter <noahhuetter@gmail.com> # ================================================================================ # # Copies the vivado block design export to a block_design.tcl used for make flow. # Copies content between line 'current_bd_instance $parentObj' and # '# Restore current instance' form input file to output file # # ================================================================================ sc=$1 bd=$2 if [ "$#" -ne 2 ]; then echo "Illegal number of parameters" echo "Usage:" echo " ./scripts/copy_bd.sh [bd_export] [block_design]" echo "For Example:" echo " ./scripts/copy_bd.sh [build/projects/system.tcl] [projects/test/block_design.tcl]" exit; fi # Copy backup cp $bd $bd.bak # get total number of input lines lines=`wc -l < $sc | tr -d '[:space:]'` # get start line by searching for line "current_bd_instance $parentObj" start=`grep -Fn 'current_bd_instance $parentObj' $sc | cut -f1 -d":"` start=$((start+1)) # get end line by searching for line "# Restore current instance" end=`grep -Fn '# Restore current instance' $sc | cut -f1 -d":"` end=$((end-1)) # Check values if [ "$start" -eq "0" ] || [ "$end" -eq "0" ]; then echo "Start or End line not found. Aborting."; exit; fi # Check values if [ "$start" -gt "$end" ]; then echo "Start line is greater than end line. Aborting."; exit; fi # Print cut file echo "Copying from line $start to line $end" echo "Source: $sc" echo "Target: $bd" echo "# Copied form Vivado block design export" > $bd cat $sc | tail -n -$((lines-start)) | head -n $((end-start)) >> $bd # remove ports # sed -i '/create_bd_intf_port/d' $bd # sed -i '/create_bd_port/d' $bd # Done echo "Done. Deleting Backup." rm $bd.bak
import { OriginLibrary, GitHubRepository, PackageJsonData, RepoData, SourceData } from "./common"; import { useHistory } from "react-router-dom"; export interface DetailDependencyData { /** required version */ required: string; /** From GitHubRepository */ source: SourceData; repo: RepoData; /** extends */ package: PackageJsonData; } export interface Library { /** GitHubRepository */ repo: RepoData; source: SourceData; /** extends */ package: PackageJsonData; dependencies: DetailDependencyData[]; devDependencies: DetailDependencyData[]; } export type MenuItem = OriginLibrary; export interface Menu { items: MenuItem[]; } export interface SearchParams { /** package name */ name?: string; /** hostname */ hostname?: string; /** repository owner */ owner?: string; /** repository name */ repo?: string; /** repository file path */ path?: string; } export type PageParams = SearchParams; export interface PageQueryParams extends SearchParams { q?: string; } export interface Hooks { history: ReturnType<typeof useHistory>; }
// var angular = require('angular'); describe('Controllers: _cjsmodule_', function(){ var controller, scope, emptyConfigMock; var attrs = {}; beforeEach(function(){ }); // un"x" the describe and it it('should fullfil a requirement', function(){ expect(true).toBeThruthy(); }); });
import java.util.Random; import weka.core.Instances; import weka.core.converters.ConverterUtils.DataSource; import weka.classifiers.trees.RandomForest; public class RandomForestClassifier { public static void main(String[] args) throws Exception { // Load the data DataSource source = new DataSource("iris.csv"); Instances data = source.getDataSet(); // Set the class index data.setClassIndex(data.numAttributes() - 1); // Train the Random Forest Classifier RandomForest rf = new RandomForest(); rf.buildClassifier(data); // Make the predictions for (int i = 0; i < data.numInstances(); i++) { double pred = rf.classifyInstance(data.instance(i)); System.out.println(pred); } } }
#!/bin/bash python ./pt_logger.py >> pt_logger_log.txt
#!/usr/bin/env sh registry_port=${REGISTRY_PORT:=41906} git_sha="$(git rev-parse HEAD)" image_tag="k3d-registry.localhost:$registry_port/starlight_web:$git_sha" echo "Building Starlight image..." docker build -t "$image_tag" -f Dockerfile .. echo "Pushing Starlight image to local registry..." docker push "$image_tag"
<filename>pecado-system/pecado-system-web/src/test/java/me/batizhao/system/unit/service/FileServiceUnitTest.java package me.batizhao.system.unit.service; import com.baomidou.mybatisplus.extension.service.IService; import lombok.extern.slf4j.Slf4j; import me.batizhao.common.core.exception.StorageException; import me.batizhao.system.config.FileUploadProperties; import me.batizhao.system.api.domain.File; import me.batizhao.system.mapper.FileMapper; import me.batizhao.system.service.FileService; import me.batizhao.system.service.impl.FileServiceImpl; import me.batizhao.system.util.FileNameAndPathUtils; import org.junit.jupiter.api.Test; import org.mockito.MockedStatic; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.boot.test.context.TestConfiguration; import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.boot.test.mock.mockito.SpyBean; import org.springframework.context.annotation.Bean; import org.springframework.core.io.Resource; import org.springframework.mock.web.MockMultipartFile; import java.io.IOException; import java.time.LocalDateTime; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.*; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.*; /** * @author batizhao * @date 2020/9/25 */ @Slf4j public class FileServiceUnitTest extends BaseServiceUnitTest { /** * Spring Boot 提供了 @TestConfiguration 注释,可用于 src/test/java 中的类,以指示不应通过扫描获取它们。 */ @TestConfiguration @EnableConfigurationProperties(value = FileUploadProperties.class) static class TestContextConfiguration { @Autowired FileUploadProperties fileUploadProperties; @Bean public FileService fileService() { return new FileServiceImpl(fileUploadProperties); } } @MockBean private FileMapper fileMapper; @Autowired FileService fileService; @SpyBean private IService service; @Test public void givenFile_whenUpload_thenSuccess() { MockMultipartFile mockMultipartFile = new MockMultipartFile("file", "test.txt", "text/plain", "test data".getBytes()); try (MockedStatic<FileNameAndPathUtils> mockStatic = mockStatic(FileNameAndPathUtils.class)) { mockStatic.when(() -> { FileNameAndPathUtils.fileNameEncode(anyString()); }).thenReturn("56d4728df6cc291449b01f5053bddbad.txt"); mockStatic.when(() -> { FileNameAndPathUtils.pathEncode(anyString()); }).thenReturn("39/ef/56d4728df6cc291449b01f5053bddbad.txt"); File result = fileService.upload(mockMultipartFile); log.info("result: {}", result); assertThat(result, hasProperty("name", equalTo("test.txt"))); } } @Test public void givenNothing_whenUpload_thenException() { Exception exception = assertThrows(StorageException.class, () -> fileService.upload(null)); assertThat(exception.getMessage(), containsString("Failed to store null file")); MockMultipartFile mockMultipartFile = new MockMultipartFile("file", "..test.txt", "text/plain", "test data".getBytes()); exception = assertThrows(StorageException.class, () -> fileService.upload(mockMultipartFile)); assertThat(exception.getMessage(), containsString("Cannot store file with relative path outside current directory")); MockMultipartFile mockMultipartFile2 = new MockMultipartFile("file", "test2.txt", "text/plain", "".getBytes()); exception = assertThrows(StorageException.class, () -> fileService.upload(mockMultipartFile2)); assertThat(exception.getMessage(), containsString("Failed to store empty file")); } @Test public void givenFileName_whenLoadResource_thenSuccess() throws IOException { try (MockedStatic<FileNameAndPathUtils> mockStatic = mockStatic(FileNameAndPathUtils.class)) { mockStatic.when(() -> { FileNameAndPathUtils.pathEncode(anyString()); }).thenReturn("39/ef/56d4728df6cc291449b01f5053bddbad.txt"); Resource resource = fileService.loadAsResource("xxx"); log.info("resource: {}", resource); assertThat(resource.getURL().toString(), equalTo("file:/tmp/39/ef/56d4728df6cc291449b01f5053bddbad.txt")); } } @Test public void givenFileName_whenLoadResource_thenNotFound() { try (MockedStatic<FileNameAndPathUtils> mockStatic = mockStatic(FileNameAndPathUtils.class)) { mockStatic.when(() -> { FileNameAndPathUtils.pathEncode(any(String.class)); }).thenReturn("xxx.txt"); assertThrows(StorageException.class, () -> fileService.loadAsResource("xxx")); } } @Test public void givenFile_whenSaveAndUpload_thenSuccess() { MockMultipartFile mockMultipartFile = new MockMultipartFile("file", "test2.txt", "text/plain", "test data2".getBytes()); File file = new File().setFileName("hexFileName").setName("filename") .setSize(100L).setUrl("xxx/test2.txt") .setCreateTime(LocalDateTime.now()); doReturn(file).when(fileService).upload(any(MockMultipartFile.class)); doReturn(true).when(service).save(any(File.class)); File result = fileService.uploadAndSave(mockMultipartFile); log.info("result: {}", result); assertThat(result, hasProperty("name", equalTo("filename"))); } }
<gh_stars>1-10 export * from './ValidationRuleModel'; export * from './FieldValidationRuleModel'; export * from './SectionValidationRuleModel'; export * from './ExpressionFieldValidationRuleModel'; export * from './RegexFieldValidationRuleModel'; export * from './ExpressionSectionValidationRuleModel';
#!/bin/bash # AKS cluster name aksPrefix="<aks-cluster-prefix>" aksName="${aksPrefix}Aks" validateTemplate=1 useWhatIf=0 # ARM template and parameters file template="./azuredeploy.json" parameters="./azuredeploy.parameters.json" # Name and location of the resource group for the Azure Kubernetes Service (AKS) cluster aksResourceGroupName="${aksPrefix}RG" location="WestEurope" # Name and resource group name of the Azure Container Registry used by the AKS cluster. # The name of the cluster is also used to create or select an existing admin group in the Azure AD tenant. acrName="${aksPrefix}Acr" acrResourceGroupName="$aksResourceGroupName" acrSku="Standard" # Key Vault keyVaultName="${aksPrefix}GroupKeyVault" # Application Gateway applicationGatewayName="${aksPrefix}ApplicationGateway" # Subscription id, subscription name, and tenant id of the current subscription subscriptionId=$(az account show --query id --output tsv) subscriptionName=$(az account show --query name --output tsv) tenantId=$(az account show --query tenantId --output tsv) # Install aks-preview Azure extension echo "Checking if [aks-preview] extension is already installed..." az extension show --name aks-preview &>/dev/null if [[ $? == 0 ]]; then echo "[aks-preview] extension is already installed" # Update the extension to make sure you have the latest version installed echo "Updating [aks-preview] extension..." az extension update --name aks-preview &>/dev/null else echo "[aks-preview] extension is not installed. Installing..." # Install aks-preview extension az extension add --name aks-preview 1>/dev/null if [[ $? == 0 ]]; then echo "[aks-preview] extension successfully installed" else echo "Failed to install [aks-preview] extension" exit fi fi # Registering AKS feature extensions aksExtensions=("AKS-IngressApplicationGatewayAddon" "EnableAzureRBACPreview" "EnablePodIdentityPreview" "UserAssignedIdentityPreview") ok=0 for aksExtension in ${aksExtensions[@]}; do echo "Checking if [$aksExtension] extension is already registered..." extension=$(az feature list -o table --query "[?contains(name, 'Microsoft.ContainerService/$aksExtension') && @.properties.state == 'Registered'].{Name:name}" --output tsv) if [[ -z $extension ]]; then echo "[$aksExtension] extension is not registered." echo "Registering [$aksExtension] extension..." az feature register --name $aksExtension --namespace Microsoft.ContainerService ok=1 else echo "[$aksExtension] extension is already registered." fi done if [[ $ok == 1 ]]; then echo "Refreshing the registration of the Microsoft.ContainerService resource provider..." az provider register --namespace Microsoft.ContainerService echo "Microsoft.ContainerService resource provider registration successfully refreshed" fi # Get the last Kubernetes version available in the region kubernetesVersion=$(az aks get-versions --location $location --query orchestrators[-1].orchestratorVersion --output tsv) if [[ -n $kubernetesVersion ]]; then echo "Successfully retrieved the last Kubernetes version [$kubernetesVersion] supported by AKS in [$location] Azure region" else echo "Failed to retrieve the last Kubernetes version supported by AKS in [$location] Azure region" exit fi # Check if the resource group already exists echo "Checking if [$aksResourceGroupName] resource group actually exists in the [$subscriptionName] subscription..." az group show --name $aksResourceGroupName &>/dev/null if [[ $? != 0 ]]; then echo "No [$aksResourceGroupName] resource group actually exists in the [$subscriptionName] subscription" echo "Creating [$aksResourceGroupName] resource group in the [$subscriptionName] subscription..." # Create the resource group az group create --name $aksResourceGroupName --location $location 1>/dev/null if [[ $? == 0 ]]; then echo "[$aksResourceGroupName] resource group successfully created in the [$subscriptionName] subscription" else echo "Failed to create [$aksResourceGroupName] resource group in the [$subscriptionName] subscription" exit fi else echo "[$aksResourceGroupName] resource group already exists in the [$subscriptionName] subscription" fi # Create AKS cluster if does not exist echo "Checking if [$aksName] aks cluster actually exists in the [$aksResourceGroupName] resource group..." az aks show --name $aksName --resource-group $aksResourceGroupName &>/dev/null if [[ $? != 0 ]]; then echo "No [$aksName] aks cluster actually exists in the [$aksResourceGroupName] resource group" # Delete any existing role assignments for the user-defined managed identity of the AKS cluster # in case you are re-deploying the solution in an existing resource group echo "Retrieving the list of role assignments on [$aksResourceGroupName] resource group..." assignmentIds=$(az role assignment list \ --scope "/subscriptions/${subscriptionId}/resourceGroups/${aksResourceGroupName}" \ --query [].id \ --output tsv) if [[ -n $assignmentIds ]]; then echo "[${#assignmentIds[@]}] role assignments have been found on [$aksResourceGroupName] resource group" for assignmentId in ${assignmentIds[@]}; do if [[ -n $assignmentId ]]; then az role assignment delete --ids $assignmentId if [[ $? == 0 ]]; then assignmentName=$(echo $assignmentId | awk -F '/' '{print $NF}') echo "[$assignmentName] role assignment on [$aksResourceGroupName] resource group successfully deleted" fi fi done else echo "No role assignment actually exists on [$aksResourceGroupName] resource group" fi # Get the kubelet managed identity used by the AKS cluster echo "Retrieving the kubelet identity from the [$aksName] AKS cluster..." clientId=$(az aks show \ --name $aksName \ --resource-group $aksResourceGroupName \ --query identityProfile.kubeletidentity.clientId \ --output tsv 2>/dev/null) if [[ -n $clientId ]]; then # Delete any role assignment to kubelet managed identity on any ACR in the resource group echo "kubelet identity of the [$aksName] AKS cluster successfully retrieved" echo "Retrieving the list of ACR resources in the [$aksResourceGroupName] resource group..." acrIds=$(az acr list \ --resource-group $aksResourceGroupName \ --query [].id \ --output tsv) if [[ -n $acrIds ]]; then echo "[${#acrIds[@]}] ACR resources have been found in [$aksResourceGroupName] resource group" for acrId in ${acrIds[@]}; do if [[ -n $acrId ]]; then acrName=$(echo $acrId | awk -F '/' '{print $NF}') echo "Retrieving the list of role assignments on [$acrName] ACR..." assignmentIds=$(az role assignment list \ --scope "$acrId" \ --query [].id \ --output tsv) if [[ -n $assignmentIds ]]; then echo "[${#assignmentIds[@]}] role assignments have been found on [$acrName] ACR" for assignmentId in ${assignmentIds[@]}; do if [[ -n $assignmentId ]]; then az role assignment delete --ids $assignmentId if [[ $? == 0 ]]; then assignmentName=$(echo $assignmentId | awk -F '/' '{print $NF}') echo "[$assignmentName] role assignment on [$acrName] ACR successfully deleted" fi fi done else echo "No role assignment actually exists on [$acrName] ACR" fi fi done else echo "No ACR actually exists in [$aksResourceGroupName] resource group" fi else echo "Failed to retrieve the kubelet identity of the [$aksName] AKS cluster" fi # Validate the ARM template if [[ $validateTemplate == 1 ]]; then if [[ $useWhatIf == 1 ]]; then # Execute a deployment What-If operation at resource group scope. echo "Previewing changes deployed by [$template] ARM template..." az deployment group what-if \ --resource-group $aksResourceGroupName \ --template-file $template \ --parameters $parameters \ --parameters aksClusterName=$aksName \ aksClusterKubernetesVersion=$kubernetesVersion \ acrName=$acrName \ keyVaultName=$keyVaultName \ applicationGatewayName=$applicationGatewayName if [[ $? == 0 ]]; then echo "[$template] ARM template validation succeeded" else echo "Failed to validate [$template] ARM template" exit fi else # Validate the ARM template echo "Validating [$template] ARM template..." output=$(az deployment group validate \ --resource-group $aksResourceGroupName \ --template-file $template \ --parameters $parameters \ --parameters aksClusterName=$aksName \ aksClusterKubernetesVersion=$kubernetesVersion \ acrName=$acrName \ keyVaultName=$keyVaultName \ applicationGatewayName=$applicationGatewayName) if [[ $? == 0 ]]; then echo "[$template] ARM template validation succeeded" else echo "Failed to validate [$template] ARM template" echo $output exit fi fi fi # Deploy the ARM template echo "Deploying [$template] ARM template..." az deployment group create \ --resource-group $aksResourceGroupName \ --only-show-errors \ --template-file $template \ --parameters $parameters \ --parameters aksClusterName=$aksName \ aksClusterKubernetesVersion=$kubernetesVersion \ acrName=$acrName \ keyVaultName=$keyVaultName \ applicationGatewayName=$applicationGatewayName 1>/dev/null if [[ $? == 0 ]]; then echo "[$template] ARM template successfully provisioned" else echo "Failed to provision the [$template] ARM template" exit fi else echo "[$aksName] aks cluster already exists in the [$aksResourceGroupName] resource group" fi # Get the user principal name of the current user echo "Retrieving the user principal name of the current user from the [$tenantId] Azure AD tenant..." userPrincipalName=$(az account show --query user.name --output tsv) if [[ -n $userPrincipalName ]]; then echo "[$userPrincipalName] user principal name successfully retrieved from the [$tenantId] Azure AD tenant" else echo "Failed to retrieve the user principal name of the current user from the [$tenantId] Azure AD tenant" exit fi # Retrieve the objectId of the user in the Azure AD tenant used by AKS for user authentication echo "Retrieving the objectId of the [$userPrincipalName] user principal name from the [$tenantId] Azure AD tenant..." userObjectId=$(az ad user show --upn-or-object-id $userPrincipalName --query objectId --output tsv 2>/dev/null) if [[ -n $userObjectId ]]; then echo "[$userObjectId] objectId successfully retrieved for the [$userPrincipalName] user principal name" else echo "Failed to retrieve the objectId of the [$userPrincipalName] user principal name" exit fi # Retrieve the resource id of the AKS cluster echo "Retrieving the resource id of the [$aksName] AKS cluster..." aksClusterId=$(az aks show \ --name "$aksName" \ --resource-group "$aksResourceGroupName" \ --query id \ --output tsv 2>/dev/null) if [[ -n $aksClusterId ]]; then echo "Resource id of the [$aksName] AKS cluster successfully retrieved" else echo "Failed to retrieve the resource id of the [$aksName] AKS cluster" exit fi # Assign Azure Kubernetes Service RBAC Cluster Admin role to the current user echo "Checking if [$userPrincipalName] user has been assigned to [Azure Kubernetes Service RBAC Cluster Admin] role on the [$aksName] AKS cluster..." role=$(az role assignment list \ --assignee $userObjectId \ --scope $aksClusterId \ --query [?roleDefinitionName].roleDefinitionName \ --output tsv 2>/dev/null) if [[ $role == "Owner" ]] || [[ $role == "Contributor" ]] || [[ $role == "Azure Kubernetes Service RBAC Cluster Admin" ]]; then echo "[$userPrincipalName] user is already assigned to the [$role] role on the [$aksName] AKS cluster" else echo "[$userPrincipalName] user is not assigned to the [Azure Kubernetes Service RBAC Cluster Admin] role on the [$aksName] AKS cluster" echo "Assigning the [$userPrincipalName] user to the [Azure Kubernetes Service RBAC Cluster Admin] role on the [$aksName] AKS cluster..." az role assignment create \ --role "Azure Kubernetes Service RBAC Cluster Admin" \ --assignee "$userObjectId" \ --scope "$aksClusterId" \ --only-show-errors 1>/dev/null if [[ $? == 0 ]]; then echo "[$userPrincipalName] user successfully assigned to the [Azure Kubernetes Service RBAC Cluster Admin] role on the [$aksName] AKS cluster" else echo "Failed to assign the [$userPrincipalName] user to the [Azure Kubernetes Service RBAC Cluster Admin] role on the [$aksName] AKS cluster" exit fi fi
#! /bin/sh set -e if [ -f .env ] then export $(cat .env | xargs) fi echo "env variables exported" printenv bash scripts/build.sh alias python="poetry run python" # The following tests can be added if needed #python -m black tests/ #python -m isort tests/ #python -m flake8 tests/ python -m pytest -rx tests/
<reponame>dylanlyu/vpn-server package models import ( "vpn-server/structures" "github.com/astaxie/beego/orm" ) func ReadCity(id int)(error bool, code string, msg string) { city := structures.WebCity{Id: id} err := o.Read(&city) if err == orm.ErrNoRows { return false,"0", "Could not find" } else if err == orm.ErrMissPK { return false,"0", "No PK" } else { return false, city.Code, "Read success" } }
<reponame>lanpinguo/rootfs_build<filename>kernel/security/optee/core/tee_core_priv.h /* * Copyright (c) 2014, STMicroelectronics International N.V. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License Version 2 as * published by the Free Software Foundation. * * This program 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 * GNU General Public License for more details. */ #ifndef __TEE_CORE_PRIV_H__ #define __TEE_CORE_PRIV_H__ #include "linux/tee_core.h" #include "linux/tee_ioc.h" /* from tee_core_module.c */ int tee_get(struct tee *tee); int tee_put(struct tee *tee); void tee_inc_stats(struct tee_stats_entry *entry); void tee_dec_stats(struct tee_stats_entry *entry); /* from tee_context.c */ int tee_context_dump(struct tee *tee, char *buff, size_t len); struct tee_context *tee_context_create(struct tee *tee); void tee_context_destroy(struct tee_context *ctx); void tee_context_get(struct tee_context *ctx); void tee_context_put(struct tee_context *ctx); struct tee_shm *tee_context_create_tmpref_buffer(struct tee_context *ctx, size_t size, const void *buffer, int type); struct tee_shm *tee_context_alloc_shm_tmp(struct tee_context *ctx, size_t size, const void *data, int type); int tee_context_copy_from_client(const struct tee_context *ctx, void *dest, const void *src, size_t size); /* from tee_session.c */ int tee_session_create_fd(struct tee_context *ctx, struct tee_cmd_io *cmd_io); struct tee_session *tee_session_create_and_open(struct tee_context *ctx, struct tee_cmd_io *cmd_io); int tee_session_close_and_destroy(struct tee_session *sess); struct tee *tee_get_tee(const char *devname); int tee_session_invoke_be(struct tee_session *sess, struct tee_cmd_io *cmd_io); #endif
package scheduling /* func Test_createHashSet(t *testing.T) { if got := createHashSet(1); got == nil { t.Errorf("createHashSet() = %v", got) } } func Test_hashSet_Del(t *testing.T) { type fields struct { m map[interface{}]interface{} } type args struct { key interface{} } tests := []struct { name string fields fields args args }{ {"del nil", fields{m: map[interface{}]interface{}{nil: 0}}, args{key: nil}}, {"del int", fields{m: map[interface{}]interface{}{0: 0}}, args{key: 0}}, {"del int", fields{m: map[interface{}]interface{}{111: 0}}, args{key: 111}}, {"del string", fields{m: map[interface{}]interface{}{"0": 0}}, args{key: "0"}}, {"del string", fields{m: map[interface{}]interface{}{"ttt": 0}}, args{key: "tttt"}}, {"del struct", fields{m: map[interface{}]interface{}{ pair{timespanInDay{321, 3}, 5}: 0, }}, args{ key: pair{timespanInDay{321, 3}, 5}, }}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { s := &traversalHashSet{ m: tt.fields.m, } s.Del(tt.args.key) _, exist := s.m[tt.args.key] if exist { t.Fail() } }) } } func Test_hashSet_Has(t *testing.T) { type fields struct { m map[interface{}]interface{} } type args struct { key interface{} } tests := []struct { name string fields fields args args want bool }{ {"has nil", fields{m: map[interface{}]interface{}{nil: 0}}, args{key: nil}, true}, {"has int", fields{m: map[interface{}]interface{}{0: 0}}, args{key: 0}, true}, {"has int", fields{m: map[interface{}]interface{}{111: 0}}, args{key: 111}, true}, {"has string", fields{m: map[interface{}]interface{}{"0": 0}}, args{key: "0"}, true}, {"has string", fields{m: map[interface{}]interface{}{"ttt": 0}}, args{key: "ttt"}, true}, {"has struct", fields{m: map[interface{}]interface{}{ pair{timespanInDay{1, 3}, 5}: 0, }}, args{ key: pair{timespanInDay{1, 3}, 5}, }, true}, {"not has nil", fields{m: map[interface{}]interface{}{11: 0}}, args{key: nil}, false}, {"not has int", fields{m: map[interface{}]interface{}{0: 0}}, args{key: 111}, false}, {"not has int", fields{m: map[interface{}]interface{}{444: 0}}, args{key: 111}, false}, {"not has string", fields{m: map[interface{}]interface{}{"22": 0}}, args{key: "0"}, false}, {"not has string", fields{m: map[interface{}]interface{}{"33": 0}}, args{key: "tttt"}, false}, {"not has struct", fields{m: map[interface{}]interface{}{ pair{timespanInDay{321, 3}, 5}: 0, }}, args{ key: pair{timespanInDay{1, 5}, 5}, }, false}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { s := &traversalHashSet{ m: tt.fields.m, } if got := s.Has(tt.args.key); got != tt.want { t.Errorf("Has() = %v, want %v", got, tt.want) } }) } } func Test_hashSet_Insert(t *testing.T) { type fields struct { m map[interface{}]interface{} } type args struct { key interface{} } tests := []struct { name string fields fields args args }{ {"insert nil", fields{m: make(map[interface{}]interface{})}, args{key: nil}}, {"insert int", fields{m: make(map[interface{}]interface{})}, args{key: 0}}, {"insert int", fields{m: make(map[interface{}]interface{})}, args{key: 111}}, {"insert string", fields{m: make(map[interface{}]interface{})}, args{key: "0"}}, {"insert string", fields{m: make(map[interface{}]interface{})}, args{key: "tttt"}}, {"insert struct", fields{m: make(map[interface{}]interface{})}, args{ key: pair{timespanInDay{1, 3}, 5}, }}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { s := &traversalHashSet{ m: tt.fields.m, } s.Insert(tt.args.key) _, exist := s.m[tt.args.key] if !exist { t.Fail() } }) } } */
#!/usr/bin/env bash ./mvnw --version ./mvnw --no-transfer-progress clean install "$@"
sumList :: [Integer] -> Integer sumList [] = 0 sumList (x:xs) = x + sumList xs main = print $ sumList [1,2,3,4,5] // Output: 15
/** * Copyright (C) 2006-2021 Talend Inc. - www.talend.com * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ package org.talend.sdk.component.studio.util; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util.Properties; import java.util.Set; import java.util.Stack; import java.util.stream.Stream; import org.apache.commons.lang3.StringUtils; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.Path; import org.eclipse.emf.common.util.EList; import org.talend.commons.utils.data.container.Container; import org.talend.commons.utils.system.EnvironmentUtils; import org.talend.core.model.components.ComponentCategory; import org.talend.core.model.components.IComponent; import org.talend.core.model.general.Project; import org.talend.core.model.properties.ConnectionItem; import org.talend.core.model.properties.Item; import org.talend.core.model.properties.ProcessItem; import org.talend.core.model.repository.ERepositoryObjectType; import org.talend.core.model.repository.IRepositoryViewObject; import org.talend.core.repository.model.ProxyRepositoryFactory; import org.talend.core.runtime.maven.MavenConstants; import org.talend.core.ui.component.ComponentsFactoryProvider; import org.talend.designer.core.model.utils.emf.talendfile.NodeType; import org.talend.designer.core.utils.UnifiedComponentUtil; import org.talend.repository.ProjectManager; import org.talend.sdk.component.server.front.model.ComponentIndex; import org.talend.sdk.component.server.front.model.ConfigTypeNode; import org.talend.sdk.component.server.front.model.ConfigTypeNodes; import org.talend.sdk.component.studio.ComponentModel; import org.talend.sdk.component.studio.Lookups; import org.talend.sdk.component.studio.metadata.TaCoKitCache; import org.talend.sdk.component.studio.metadata.WizardRegistry; import org.talend.sdk.component.studio.metadata.model.TaCoKitConfigurationModel; import org.talend.sdk.component.studio.model.parameter.PropertyDefinitionDecorator; import org.talend.sdk.component.studio.model.parameter.PropertyNode; import org.talend.updates.runtime.utils.PathUtils; /** * DOC cmeng class global comment. Detailled comment */ public class TaCoKitUtil { /** * Get ConnectionItem from specified project * * @param project {@link Project} only search from the given project * @param itemId item id * * @return stored item of the given parameters, or null * * @throws Exception unexpected exception occured during searching */ public static ConnectionItem getLatestTaCoKitConnectionItem(final Project project, final String itemId) throws Exception { IRepositoryViewObject lastVersion = ProxyRepositoryFactory.getInstance().getLastVersion(project, itemId, null, TaCoKitConst.METADATA_TACOKIT); if (lastVersion != null) { return (ConnectionItem) lastVersion.getProperty().getItem(); } return null; } /** * Get ConnectionItem from main project or it's reference project * * @param itemId item id * * @return stored item of the given parameters, or null * * @throws Exception unexpected exception occured during searching */ public static ConnectionItem getLatestTaCoKitConnectionItem(final String itemId) throws Exception { ConnectionItem item = getLatestTaCoKitConnectionItem(ProjectManager.getInstance().getCurrentProject(), itemId); if (item != null) { return item; } List<Project> allReferencedProjects = ProjectManager.getInstance().getAllReferencedProjects(); if (allReferencedProjects != null && !allReferencedProjects.isEmpty()) { for (Project referenceProject : allReferencedProjects) { item = getLatestTaCoKitConnectionItem(referenceProject, itemId); if (item != null) { return item; } } } return null; } public static IPath getTaCoKitBaseFolder(final ConfigTypeNode configNode) { if (configNode == null) { return null; } IPath baseFolderPath = new Path(""); //$NON-NLS-1$ String parentId = configNode.getParentId(); if (!isEmpty(parentId)) { ConfigTypeNode parentTypeNode = Lookups.taCoKitCache().getConfigTypeNodeMap().get(parentId); if (parentTypeNode == null) { throw new NullPointerException("Can't find parent node: " + parentId); } baseFolderPath = getTaCoKitBaseFolder(parentTypeNode); } // better to use lowercase, since different OS support different path name String configName = getTaCoKitFolderName(configNode); baseFolderPath = baseFolderPath.append(configName); return baseFolderPath; } public static String getTaCoKitFolderName(final ConfigTypeNode configNode) { return configNode.getName().toLowerCase(); } public static Container<String, IRepositoryViewObject> getContainer( Container<String, IRepositoryViewObject> tacokitRootContainer, final ConfigTypeNode configNode) { if (tacokitRootContainer == null) { return null; } if (configNode == null) { return null; } String parentId = configNode.getParentId(); if (parentId != null) { ConfigTypeNode parentConfigTypeNode = Lookups.taCoKitCache().getConfigTypeNodeMap().get(parentId); Container<String, IRepositoryViewObject> container = getContainer(tacokitRootContainer, parentConfigTypeNode); if (container == null) { return null; } else { return container.getSubContainer(getTaCoKitFolderName(configNode)); } } else { return tacokitRootContainer.getSubContainer(getTaCoKitFolderName(configNode)); } } public static TaCoKitConfigurationModel getTaCoKitConfigurationModel(final String itemId) throws Exception { ConnectionItem item = getLatestTaCoKitConnectionItem(itemId); if (item != null) { return new TaCoKitConfigurationModel(item.getConnection()); } return null; } public static String getConfigTypePath(final ConfigTypeNode configTypeNode) { IPath tacokitPath = new Path(TaCoKitConst.METADATA_TACOKIT.getFolder()); IPath path = tacokitPath.append(getTaCoKitBaseFolder(configTypeNode)); return path.toPortableString(); } public static String getTaCoKitRepositoryKey(final ConfigTypeNode configTypeNode) { String configTypePath = getConfigTypePath(configTypeNode); /** * Keep the prefix: "repository.", since there are some codes like: <br/> * objectType.getKey().toString().startsWith("repository.metadata") <br/> * For example: DeleteAction */ return TaCoKitConst.METADATA_PREFIX + configTypePath.replaceAll("/", "."); //$NON-NLS-1$ //$NON-NLS-2$ } public static ERepositoryObjectType getOrCreateERepositoryObjectType(final ConfigTypeNode configTypeNode) throws Exception { if (configTypeNode == null) { return null; } String label = configTypeNode.getDisplayName(); String folderPathStr = getConfigTypePath(configTypeNode); String type = getTaCoKitRepositoryKey(configTypeNode); String alias = folderPathStr.replaceAll("/", "_"); //$NON-NLS-1$//$NON-NLS-2$ ERepositoryObjectType eType = ERepositoryObjectType.valueOf(type); if (eType == null) { eType = new WizardRegistry().createRepositoryObjectType(type, label, alias, folderPathStr, 1, new String[]{ ERepositoryObjectType.PROD_DI }); TaCoKitCache taCoKitCache = Lookups.taCoKitCache(); ConfigTypeNode parentTypeNode = taCoKitCache.getConfigTypeNodeMap().get(configTypeNode.getParentId()); if (parentTypeNode == null) { eType.setAParent(TaCoKitConst.METADATA_TACOKIT); } else { eType.setAParent(getOrCreateERepositoryObjectType(parentTypeNode)); } taCoKitCache.getRepositoryObjectType2ConfigTypeNodeMap().put(eType, configTypeNode); } return eType; } public static boolean isTaCoKitType(final ERepositoryObjectType repObjType) { if (repObjType == null) { return false; } if (TaCoKitConst.METADATA_TACOKIT.equals(repObjType)) { return true; } ERepositoryObjectType[] parentTypesArray = repObjType.getParentTypesArray(); if (parentTypesArray == null || parentTypesArray.length <= 0) { return false; } for (ERepositoryObjectType parentType : parentTypesArray) { if (isTaCoKitType(parentType)) { return true; } } return false; } public static boolean equals(final String str1, final String str2) { return str1 == null ? str2 == null : str1.equals(str2); } public static boolean isEmpty(final String str) { return str == null || str.length() == 0; } public static boolean isBlank(final String str) { return StringUtils.isBlank(str); } /** * Method to create component name from component's family name and component's name itself. * * @param familyName component's family name * @param componentName component's name * * @return full component name */ public static String getFullComponentName(final String familyName, final String componentName) { return familyName + TaCoKitConst.COMPONENT_NAME_SEPARATOR + componentName; } public static Collection<ConfigTypeNode> filterTopLevelNodes(Collection<ConfigTypeNode> nodes) { Collection<ConfigTypeNode> filteredNodes = new ArrayList<>(); if (nodes != null && !nodes.isEmpty()) { for (ConfigTypeNode node : nodes) { String parentId = node.getParentId(); String configType = node.getConfigurationType(); if (StringUtils.isNotBlank(parentId) || StringUtils.isNotBlank(configType)) { continue; } filteredNodes.add(node); } } return filteredNodes; } public static String getInstalledComponentsString(IProgressMonitor progress) throws Exception { File studioConfigFile = PathUtils.getStudioConfigFile(); Properties configProps = PathUtils.readProperties(studioConfigFile); return configProps.getProperty(TaCoKitConst.PROP_COMPONENT); } public static List<GAV> getInstalledComponents(IProgressMonitor progress) throws Exception { String tckCompConfString = getInstalledComponentsString(progress); if (StringUtils.isNotBlank(tckCompConfString)) { return TaCoKitUtil.convert2GAV(tckCompConfString); } return Collections.EMPTY_LIST; } public static List<GAV> convert2GAV(String gavString) { List<GAV> gavs = new ArrayList<>(); String[] componentsStr = gavString.split(","); //$NON-NLS-1$ for (String componentStr : componentsStr) { String[] component = componentStr.split(":"); //$NON-NLS-1$ GAV gav = new GAV(); gav.setGroupId(component[0]); gav.setArtifactId(component[1]); gav.setVersion(component[2]); if (3 < component.length) { gav.setClassifier(component[3]); } if (4 < component.length) { gav.setType(component[4]); } gavs.add(gav); } return gavs; } public static void checkMonitor(IProgressMonitor monitor) throws Exception { if (monitor != null) { if (monitor.isCanceled()) { throw new InterruptedException("progress.cancel"); //$NON-NLS-1$ } } } public static boolean hideConfigFolderOnSingleEdge() { return true; } public static void registAllTaCoKitRepositoryTypes() throws Exception { Map<String, ConfigTypeNode> nodes = Lookups.taCoKitCache().getConfigTypeNodeMap(); if (nodes != null) { for (ConfigTypeNode node : nodes.values()) { TaCoKitUtil.getOrCreateERepositoryObjectType(node); } } } public static String getDisplayName(final ComponentIndex index) { if (index != null) { String componentName = getFullComponentName(index.getId().getFamily(), index.getId().getName()); if (isTaCoKitComponentMadeByTalend(index)) { return TaCoKitConst.COMPONENT_NAME_PREFIX + componentName; } return componentName; } return null; } public static PropertyNode getSamePropertyNode(PropertyNode propertyNode, ConfigTypeNode configTypeNode) throws Exception { return getSamePropertyNode(new Stack<>(), getRootPropertyNode(propertyNode), configTypeNode); } private static PropertyNode getSamePropertyNode(Stack<Object> visited, PropertyNode propertyNode, ConfigTypeNode configTypeNode) { if (propertyNode == null || visited.contains(propertyNode)) { return null; } PropertyDefinitionDecorator property = propertyNode.getProperty(); if (property == null) { return null; } if (StringUtils.equals(property.getConfigurationType(), configTypeNode.getConfigurationType()) && StringUtils.equals(property.getConfigurationTypeName(), configTypeNode.getName())) { return propertyNode; } try { visited.push(propertyNode); List<PropertyNode> children = propertyNode.getChildren(); if (children != null) { for (PropertyNode c : children) { PropertyNode pn = getSamePropertyNode(visited, c, configTypeNode); if (pn != null) { return pn; } } } return null; } finally { visited.pop(); } } public static PropertyNode getRootPropertyNode(PropertyNode propertyNode) throws Exception { Set<Object> visited = new HashSet<>(); PropertyNode node = propertyNode; PropertyNode parentNode = node; while (node != null) { if (visited.contains(node)) { throw new IllegalArgumentException("dead loop detected from input parameter"); } else { visited.add(node); } parentNode = node; node = node.getParent(); } return parentNode; } public static boolean isTaCoKitComponentMadeByTalend(final ComponentIndex index) { if (index != null) { String location = index.getId().getPluginLocation().trim(); if (StringUtils.isNotBlank(location) && location.startsWith(MavenConstants.DEFAULT_GROUP_ID)) { return true; } } return false; } public static int getConfigTypeVersion(final PropertyDefinitionDecorator p, final ConfigTypeNodes configTypeNodes, final String familyId) { final String type = p.getMetadata().get("configurationtype::type"); final String name = p.getMetadata().get("configurationtype::name"); return configTypeNodes.getNodes().values().stream() .filter(c -> c.getConfigurationType() != null && c.getName() != null) .filter(c -> c.getConfigurationType().equals(type) && c.getName().equals(name)) .filter(c -> familyId.equals(getPropertyFamilyId(c, configTypeNodes))).findFirst() .map(ConfigTypeNode::getVersion) .orElse(-1); } public static String getPropertyFamilyId(final ConfigTypeNode it, final ConfigTypeNodes nodes) { if (it.getParentId() == null) { return null; } String parent = it.getParentId(); while (nodes.getNodes().get(parent) != null && nodes.getNodes().get(parent).getParentId() != null) { parent = nodes.getNodes().get(parent).getParentId(); } return parent; } /** * Find the maven repository path. * * @return the configured m2 repository path */ public static java.nio.file.Path findM2Path() { return Optional.ofNullable(System.getProperty("talend.component.manager.m2.repository")) .map(Paths::get) .orElseGet(() -> { // check if we are in the studio process if so just grab the the studio config final String m2Repo = System.getProperty("maven.repository"); if (!"global".equals(m2Repo)) { final String m2StudioRepo = EnvironmentUtils.isWindowsSystem() ? System.getProperty("osgi.configuration.area", "").replaceAll("^file:/", "") : System.getProperty("osgi.configuration.area", "").replaceAll("^file:", ""); final java.nio.file.Path localM2 = Paths.get(m2StudioRepo, ".m2/repository"); if (Files.exists(localM2)) { return localM2; } } // defaults to user m2 return Paths.get(System.getProperty("user.home", "")).resolve(".m2/repository"); }); } /** * Translates a GAV (ie com.tutorial:tutorial-component:0.0.1) to a maven repository path (ie com/tutorial/tutorial-component/0.0.1/tutorial-component-0.0.1.jar). * * @param gav GroupId ArtifactId Version. The GAV may have the following forms: * com.tutorial:tutorial-component:0.0.1 * or * com.tutorial:tutorial-component:jar:0.0.1:compile * * @return a translated maven path */ public static String gavToMvnPath(String gav) { final String jarPathFmt = "%s/%s/%s/%s-%s.jar"; final String[] segments = gav.split(":"); if (segments.length < 3) { throw new IllegalArgumentException("Bad GAV given!"); // TODO improve message } String group = segments[0].replaceAll("\\.", "/"); String artifact = segments[1]; String version = ""; if (segments.length == 3) { version = segments[2]; } else { version = segments[3]; } return String.format(jarPathFmt, group, artifact, version, artifact, version); } /** * Get all components defined in <code>item</code>. * * @param item the currently processed <code>ProcessItem</code> during job build export * * @return a non-null stream of {@link IComponent} */ public static Stream<IComponent> getJobComponents(final Item item) { final EList<?> nodes = ProcessItem.class.cast(item).getProcess().getNode(); final String DI = ComponentCategory.CATEGORY_4_DI.getName(); return nodes.stream().map(node -> { final String componentName = ((NodeType) node).getComponentName(); IComponent component = ComponentsFactoryProvider.getInstance().get(componentName, DI); if (component == null) { component = UnifiedComponentUtil.getDelegateComponent(componentName, DI); } return component; }).filter(Objects::nonNull); } /** * Get component-runtime components from <code>components</code>. * * @param components <code>{@link IComponent}</code> * * @return a non-null stream of {@link ComponentModel} */ public static Stream<ComponentModel> getTaCoKitComponents(final Stream<IComponent> components) { return components .filter(ComponentModel.class::isInstance) .map(ComponentModel.class::cast); } /** * Check if <code>components</code> holds component-runtime components. * * @param components <code>IComponent</code> * * @return true if item has some component-runtime components */ public static boolean hasTaCoKitComponents(final Stream<IComponent> components) { return components.anyMatch(ComponentModel.class::isInstance); } public static class GAV { private String groupId; private String artifactId; private String version = ""; //$NON-NLS-1$ private String classifier = ""; //$NON-NLS-1$ private String type = ""; //$NON-NLS-1$ @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((this.artifactId == null) ? 0 : this.artifactId.hashCode()); result = prime * result + ((this.classifier == null) ? 0 : this.classifier.hashCode()); result = prime * result + ((this.groupId == null) ? 0 : this.groupId.hashCode()); result = prime * result + ((this.type == null) ? 0 : this.type.hashCode()); result = prime * result + ((this.version == null) ? 0 : this.version.hashCode()); return result; } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } GAV other = (GAV) obj; if (this.artifactId == null) { if (other.artifactId != null) { return false; } } else if (!this.artifactId.equals(other.artifactId)) { return false; } if (this.classifier == null) { if (other.classifier != null) { return false; } } else if (!this.classifier.equals(other.classifier)) { return false; } if (this.groupId == null) { if (other.groupId != null) { return false; } } else if (!this.groupId.equals(other.groupId)) { return false; } if (this.type == null) { if (other.type != null) { return false; } } else if (!this.type.equals(other.type)) { return false; } if (this.version == null) { if (other.version != null) { return false; } } else if (!this.version.equals(other.version)) { return false; } return true; } @SuppressWarnings("nls") @Override public String toString() { return "GAV [groupId=" + this.groupId + ", artifactId=" + this.artifactId + ", version=" + this.version + ", classifier=" + this.classifier + ", type=" + this.type + "]"; } public String getGroupId() { return this.groupId; } public void setGroupId(String groupId) { this.groupId = groupId; } public String getArtifactId() { return this.artifactId; } public void setArtifactId(String artifactId) { this.artifactId = artifactId; } public String getVersion() { return this.version; } public void setVersion(String version) { this.version = version; } public String getClassifier() { return this.classifier; } public void setClassifier(String classifier) { this.classifier = classifier; } public String getType() { return this.type; } public void setType(String type) { this.type = type; } } }
import smtplib from email.message import EmailMessage class EmailSender: def __init__(self, config): self.sender = config["GMAIL_SENDER"] self.password = config["GMAIL_PASSWORD"] self.hostname = config["HOSTNAME"] def send(self, to, subject, text, html): msg = EmailMessage() msg.set_content(text) msg.add_alternative(html, subtype="html") msg["Subject"] = subject msg["From"] = self.sender msg["To"] = to server = smtplib.SMTP_SSL("smtp.gmail.com", 465) server.login(self.sender, self.password) server.send_message(msg) server.quit() def recover_pass(self, url, user): a_url = '<a href="' + url + '">Восстановить пароль</a>' hello_text = "Привет, " + user.visible_name recover_text = ( "Кто-то запросил восстановление пароля для вашего аккаунта. " + "Ссылка для установки нового пароля: " ) text = hello_text + "\n" + recover_text + url html = "<p>" + hello_text + "</p>" + "<p>" + recover_text + "</p>" + a_url self.send(user.email, "Восстановление пароля", text, html)
<reponame>westonnelson/prb-math import { BigNumber } from "@ethersproject/bignumber"; import { expect } from "chai"; import forEach from "mocha-each"; import { MAX_UD60x18, MAX_WHOLE_UD60x18, PI, ZERO } from "../../../../helpers/constants"; import { bn, fp } from "../../../../helpers/numbers"; export default function shouldBehaveLikeCeil(): void { context("when x is zero", function () { it("retrieves zero", async function () { const x: BigNumber = ZERO; const result: BigNumber = await this.contracts.prbMathUD60x18.doCeil(x); expect(ZERO).to.equal(result); }); }); context("when x is not zero", function () { context("when x > max whole 60.18", function () { const testSets = [[MAX_WHOLE_UD60x18.add(1)], [MAX_UD60x18]]; forEach(testSets).it("takes %e and reverts", async function (x: BigNumber) { await expect(this.contracts.prbMathUD60x18.doCeil(x)).to.be.reverted; }); }); context("when x <= max whole 60.18", function () { const testSets = [ [fp(0.1), fp(1)], [fp(0.5), fp(1)], [fp(1), fp(1)], [fp(1.125), fp(2)], [fp(2), fp(2)], [PI, fp(4)], [fp(4.2), fp(5)], [bn(1e36), bn(1e36)], [MAX_WHOLE_UD60x18, MAX_WHOLE_UD60x18], ]; forEach(testSets).it("takes %e and returns %e", async function (x: BigNumber, expected: BigNumber) { const result: BigNumber = await this.contracts.prbMathUD60x18.doCeil(x); expect(expected).to.equal(result); }); }); }); }
/** */ package PhotosMetaModel.impl; import PhotosMetaModel.ExceptionHandler; import PhotosMetaModel.PhotosMetaModelPackage; import java.util.Collection; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; import org.eclipse.emf.ecore.util.EObjectContainmentEList; import org.eclipse.emf.ecore.util.InternalEList; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Exception Handler</b></em>'. * <!-- end-user-doc --> * <p> * The following features are implemented: * </p> * <ul> * <li>{@link PhotosMetaModel.impl.ExceptionHandlerImpl#getException <em>Exception</em>}</li> * </ul> * * @generated */ public class ExceptionHandlerImpl extends MinimalEObjectImpl.Container implements ExceptionHandler { /** * The cached value of the '{@link #getException() <em>Exception</em>}' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #getException() * @generated * @ordered */ protected EList<PhotosMetaModel.Exception> exception; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected ExceptionHandlerImpl() { super(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EClass eStaticClass() { return PhotosMetaModelPackage.Literals.EXCEPTION_HANDLER; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public EList<PhotosMetaModel.Exception> getException() { if (exception == null) { exception = new EObjectContainmentEList<PhotosMetaModel.Exception>(PhotosMetaModel.Exception.class, this, PhotosMetaModelPackage.EXCEPTION_HANDLER__EXCEPTION); } return exception; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case PhotosMetaModelPackage.EXCEPTION_HANDLER__EXCEPTION: return ((InternalEList<?>)getException()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case PhotosMetaModelPackage.EXCEPTION_HANDLER__EXCEPTION: return getException(); } return super.eGet(featureID, resolve, coreType); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case PhotosMetaModelPackage.EXCEPTION_HANDLER__EXCEPTION: getException().clear(); getException().addAll((Collection<? extends PhotosMetaModel.Exception>)newValue); return; } super.eSet(featureID, newValue); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case PhotosMetaModelPackage.EXCEPTION_HANDLER__EXCEPTION: getException().clear(); return; } super.eUnset(featureID); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case PhotosMetaModelPackage.EXCEPTION_HANDLER__EXCEPTION: return exception != null && !exception.isEmpty(); } return super.eIsSet(featureID); } } //ExceptionHandlerImpl
global.inputModifier = require('./inputModifier') global.contextModifier = require('./contextModifier') global.outputModifier = require('./outputModifier')
<filename>admin/src/cool/modules/base/service/system/errlog.ts import {BaseService, Permission, Service} from "/@/core"; @Service("errlog") class SysErrLog extends BaseService { @Permission("clear") clear() { return this.request({ url: "/clear", method: "POST" }); } } export default SysErrLog;
import os class FileManager: def __init__(self): pass def checkPathExists(self, path): if not os.path.exists(path): raise RuntimeError("Path '%s' does not exist" % path) def openInput(self, path): return open(path, 'r') def loadFilelist(self, path): lst = os.listdir(path) return lst
import React, { Component } from "react"; class TipCalculator extends Component { constructor(props) { super(props); this.state = { billAmount: 0, tipPercentage: 0, tipAmount: 0 }; this.onChange = this.onChange.bind(this); this.calculateTip = this.calculateTip.bind(this); } onChange(e) { this.setState({ [e.target.name] : e.target.value }); } calculateTip(){ let billAmount = Number(this.state.billAmount); const tipPercentage = this.state.tipPercentage/100; let tipAmount = billAmount * tipPercentage; this.setState({ tipAmount: tipAmount }); } render() { return ( <div> <h2>Tip Calculator</h2> <label> Bill Amount <input type="number" name="billAmount" onChange={this.onChange} /> </label> <label> Tip Percentage <input type="number" name="tipPercentage" onChange={this.onChange} /> </label> <button onClick={this.calculateTip}> Calculate Tip </button> <p>Tip amount: ${this.state.tipAmount.toFixed(2)}</p> </div> ); } } export default TipCalculator;
#!/bin/bash SCRIPT=$(readlink -f "$0") && cd $(dirname "$SCRIPT") # --- Script Init --- set -e set -o pipefail mkdir -p log rm -R -f log/* error_handler(){ echo 'Run Error - terminating' exit_code=$? set +x group_pid=$(ps -p $$ -o pgid --no-headers) sess_pid=$(ps -p $$ -o sess --no-headers) printf "Script PID:%d, GPID:%s, SPID:%d" $$ $group_pid $sess_pid >> log/killout.txt if hash pstree 2>/dev/null; then pstree -pn $$ >> log/killout.txt PIDS_KILL=$(pstree -pn $$ | grep -o "([[:digit:]]*)" | grep -o "[[:digit:]]*") kill -9 $(echo "$PIDS_KILL" | grep -v $group_pid | grep -v $$) 2>/dev/null else ps f -g $sess_pid > log/subprocess_list PIDS_KILL=$(pgrep -a --pgroup $group_pid | grep -v celery | grep -v $group_pid | grep -v $$) echo "$PIDS_KILL" >> log/killout.txt kill -9 $(echo "$PIDS_KILL" | awk 'BEGIN { FS = "[ \t\n]+" }{ print $1 }') 2>/dev/null fi exit $(( 1 > $exit_code ? 1 : $exit_code )) } trap error_handler QUIT HUP INT KILL TERM ERR touch log/stderror.err ktools_monitor.sh $$ & pid0=$! # --- Setup run dirs --- find output/* ! -name '*summary-info*' -type f -exec rm -f {} + mkdir output/full_correlation/ rm -R -f fifo/* mkdir fifo/full_correlation/ rm -R -f work/* mkdir work/kat/ mkdir work/full_correlation/ mkdir work/full_correlation/kat/ mkfifo fifo/gul_P1 mkfifo fifo/gul_S1_summary_P1 mkfifo fifo/gul_S1_summaryeltcalc_P1 mkfifo fifo/gul_S1_eltcalc_P1 mkfifo fifo/gul_S1_summarysummarycalc_P1 mkfifo fifo/gul_S1_summarycalc_P1 mkfifo fifo/gul_S1_summarypltcalc_P1 mkfifo fifo/gul_S1_pltcalc_P1 mkfifo fifo/gul_P2 mkfifo fifo/gul_S1_summary_P2 mkfifo fifo/gul_S1_summaryeltcalc_P2 mkfifo fifo/gul_S1_eltcalc_P2 mkfifo fifo/gul_S1_summarysummarycalc_P2 mkfifo fifo/gul_S1_summarycalc_P2 mkfifo fifo/gul_S1_summarypltcalc_P2 mkfifo fifo/gul_S1_pltcalc_P2 mkfifo fifo/gul_P3 mkfifo fifo/gul_S1_summary_P3 mkfifo fifo/gul_S1_summaryeltcalc_P3 mkfifo fifo/gul_S1_eltcalc_P3 mkfifo fifo/gul_S1_summarysummarycalc_P3 mkfifo fifo/gul_S1_summarycalc_P3 mkfifo fifo/gul_S1_summarypltcalc_P3 mkfifo fifo/gul_S1_pltcalc_P3 mkfifo fifo/gul_P4 mkfifo fifo/gul_S1_summary_P4 mkfifo fifo/gul_S1_summaryeltcalc_P4 mkfifo fifo/gul_S1_eltcalc_P4 mkfifo fifo/gul_S1_summarysummarycalc_P4 mkfifo fifo/gul_S1_summarycalc_P4 mkfifo fifo/gul_S1_summarypltcalc_P4 mkfifo fifo/gul_S1_pltcalc_P4 mkfifo fifo/gul_P5 mkfifo fifo/gul_S1_summary_P5 mkfifo fifo/gul_S1_summaryeltcalc_P5 mkfifo fifo/gul_S1_eltcalc_P5 mkfifo fifo/gul_S1_summarysummarycalc_P5 mkfifo fifo/gul_S1_summarycalc_P5 mkfifo fifo/gul_S1_summarypltcalc_P5 mkfifo fifo/gul_S1_pltcalc_P5 mkfifo fifo/gul_P6 mkfifo fifo/gul_S1_summary_P6 mkfifo fifo/gul_S1_summaryeltcalc_P6 mkfifo fifo/gul_S1_eltcalc_P6 mkfifo fifo/gul_S1_summarysummarycalc_P6 mkfifo fifo/gul_S1_summarycalc_P6 mkfifo fifo/gul_S1_summarypltcalc_P6 mkfifo fifo/gul_S1_pltcalc_P6 mkfifo fifo/gul_P7 mkfifo fifo/gul_S1_summary_P7 mkfifo fifo/gul_S1_summaryeltcalc_P7 mkfifo fifo/gul_S1_eltcalc_P7 mkfifo fifo/gul_S1_summarysummarycalc_P7 mkfifo fifo/gul_S1_summarycalc_P7 mkfifo fifo/gul_S1_summarypltcalc_P7 mkfifo fifo/gul_S1_pltcalc_P7 mkfifo fifo/gul_P8 mkfifo fifo/gul_S1_summary_P8 mkfifo fifo/gul_S1_summaryeltcalc_P8 mkfifo fifo/gul_S1_eltcalc_P8 mkfifo fifo/gul_S1_summarysummarycalc_P8 mkfifo fifo/gul_S1_summarycalc_P8 mkfifo fifo/gul_S1_summarypltcalc_P8 mkfifo fifo/gul_S1_pltcalc_P8 mkfifo fifo/gul_P9 mkfifo fifo/gul_S1_summary_P9 mkfifo fifo/gul_S1_summaryeltcalc_P9 mkfifo fifo/gul_S1_eltcalc_P9 mkfifo fifo/gul_S1_summarysummarycalc_P9 mkfifo fifo/gul_S1_summarycalc_P9 mkfifo fifo/gul_S1_summarypltcalc_P9 mkfifo fifo/gul_S1_pltcalc_P9 mkfifo fifo/gul_P10 mkfifo fifo/gul_S1_summary_P10 mkfifo fifo/gul_S1_summaryeltcalc_P10 mkfifo fifo/gul_S1_eltcalc_P10 mkfifo fifo/gul_S1_summarysummarycalc_P10 mkfifo fifo/gul_S1_summarycalc_P10 mkfifo fifo/gul_S1_summarypltcalc_P10 mkfifo fifo/gul_S1_pltcalc_P10 mkfifo fifo/gul_P11 mkfifo fifo/gul_S1_summary_P11 mkfifo fifo/gul_S1_summaryeltcalc_P11 mkfifo fifo/gul_S1_eltcalc_P11 mkfifo fifo/gul_S1_summarysummarycalc_P11 mkfifo fifo/gul_S1_summarycalc_P11 mkfifo fifo/gul_S1_summarypltcalc_P11 mkfifo fifo/gul_S1_pltcalc_P11 mkfifo fifo/gul_P12 mkfifo fifo/gul_S1_summary_P12 mkfifo fifo/gul_S1_summaryeltcalc_P12 mkfifo fifo/gul_S1_eltcalc_P12 mkfifo fifo/gul_S1_summarysummarycalc_P12 mkfifo fifo/gul_S1_summarycalc_P12 mkfifo fifo/gul_S1_summarypltcalc_P12 mkfifo fifo/gul_S1_pltcalc_P12 mkfifo fifo/gul_P13 mkfifo fifo/gul_S1_summary_P13 mkfifo fifo/gul_S1_summaryeltcalc_P13 mkfifo fifo/gul_S1_eltcalc_P13 mkfifo fifo/gul_S1_summarysummarycalc_P13 mkfifo fifo/gul_S1_summarycalc_P13 mkfifo fifo/gul_S1_summarypltcalc_P13 mkfifo fifo/gul_S1_pltcalc_P13 mkfifo fifo/gul_P14 mkfifo fifo/gul_S1_summary_P14 mkfifo fifo/gul_S1_summaryeltcalc_P14 mkfifo fifo/gul_S1_eltcalc_P14 mkfifo fifo/gul_S1_summarysummarycalc_P14 mkfifo fifo/gul_S1_summarycalc_P14 mkfifo fifo/gul_S1_summarypltcalc_P14 mkfifo fifo/gul_S1_pltcalc_P14 mkfifo fifo/gul_P15 mkfifo fifo/gul_S1_summary_P15 mkfifo fifo/gul_S1_summaryeltcalc_P15 mkfifo fifo/gul_S1_eltcalc_P15 mkfifo fifo/gul_S1_summarysummarycalc_P15 mkfifo fifo/gul_S1_summarycalc_P15 mkfifo fifo/gul_S1_summarypltcalc_P15 mkfifo fifo/gul_S1_pltcalc_P15 mkfifo fifo/gul_P16 mkfifo fifo/gul_S1_summary_P16 mkfifo fifo/gul_S1_summaryeltcalc_P16 mkfifo fifo/gul_S1_eltcalc_P16 mkfifo fifo/gul_S1_summarysummarycalc_P16 mkfifo fifo/gul_S1_summarycalc_P16 mkfifo fifo/gul_S1_summarypltcalc_P16 mkfifo fifo/gul_S1_pltcalc_P16 mkfifo fifo/gul_P17 mkfifo fifo/gul_S1_summary_P17 mkfifo fifo/gul_S1_summaryeltcalc_P17 mkfifo fifo/gul_S1_eltcalc_P17 mkfifo fifo/gul_S1_summarysummarycalc_P17 mkfifo fifo/gul_S1_summarycalc_P17 mkfifo fifo/gul_S1_summarypltcalc_P17 mkfifo fifo/gul_S1_pltcalc_P17 mkfifo fifo/gul_P18 mkfifo fifo/gul_S1_summary_P18 mkfifo fifo/gul_S1_summaryeltcalc_P18 mkfifo fifo/gul_S1_eltcalc_P18 mkfifo fifo/gul_S1_summarysummarycalc_P18 mkfifo fifo/gul_S1_summarycalc_P18 mkfifo fifo/gul_S1_summarypltcalc_P18 mkfifo fifo/gul_S1_pltcalc_P18 mkfifo fifo/gul_P19 mkfifo fifo/gul_S1_summary_P19 mkfifo fifo/gul_S1_summaryeltcalc_P19 mkfifo fifo/gul_S1_eltcalc_P19 mkfifo fifo/gul_S1_summarysummarycalc_P19 mkfifo fifo/gul_S1_summarycalc_P19 mkfifo fifo/gul_S1_summarypltcalc_P19 mkfifo fifo/gul_S1_pltcalc_P19 mkfifo fifo/gul_P20 mkfifo fifo/gul_S1_summary_P20 mkfifo fifo/gul_S1_summaryeltcalc_P20 mkfifo fifo/gul_S1_eltcalc_P20 mkfifo fifo/gul_S1_summarysummarycalc_P20 mkfifo fifo/gul_S1_summarycalc_P20 mkfifo fifo/gul_S1_summarypltcalc_P20 mkfifo fifo/gul_S1_pltcalc_P20 mkfifo fifo/gul_P21 mkfifo fifo/gul_S1_summary_P21 mkfifo fifo/gul_S1_summaryeltcalc_P21 mkfifo fifo/gul_S1_eltcalc_P21 mkfifo fifo/gul_S1_summarysummarycalc_P21 mkfifo fifo/gul_S1_summarycalc_P21 mkfifo fifo/gul_S1_summarypltcalc_P21 mkfifo fifo/gul_S1_pltcalc_P21 mkfifo fifo/gul_P22 mkfifo fifo/gul_S1_summary_P22 mkfifo fifo/gul_S1_summaryeltcalc_P22 mkfifo fifo/gul_S1_eltcalc_P22 mkfifo fifo/gul_S1_summarysummarycalc_P22 mkfifo fifo/gul_S1_summarycalc_P22 mkfifo fifo/gul_S1_summarypltcalc_P22 mkfifo fifo/gul_S1_pltcalc_P22 mkfifo fifo/gul_P23 mkfifo fifo/gul_S1_summary_P23 mkfifo fifo/gul_S1_summaryeltcalc_P23 mkfifo fifo/gul_S1_eltcalc_P23 mkfifo fifo/gul_S1_summarysummarycalc_P23 mkfifo fifo/gul_S1_summarycalc_P23 mkfifo fifo/gul_S1_summarypltcalc_P23 mkfifo fifo/gul_S1_pltcalc_P23 mkfifo fifo/gul_P24 mkfifo fifo/gul_S1_summary_P24 mkfifo fifo/gul_S1_summaryeltcalc_P24 mkfifo fifo/gul_S1_eltcalc_P24 mkfifo fifo/gul_S1_summarysummarycalc_P24 mkfifo fifo/gul_S1_summarycalc_P24 mkfifo fifo/gul_S1_summarypltcalc_P24 mkfifo fifo/gul_S1_pltcalc_P24 mkfifo fifo/gul_P25 mkfifo fifo/gul_S1_summary_P25 mkfifo fifo/gul_S1_summaryeltcalc_P25 mkfifo fifo/gul_S1_eltcalc_P25 mkfifo fifo/gul_S1_summarysummarycalc_P25 mkfifo fifo/gul_S1_summarycalc_P25 mkfifo fifo/gul_S1_summarypltcalc_P25 mkfifo fifo/gul_S1_pltcalc_P25 mkfifo fifo/gul_P26 mkfifo fifo/gul_S1_summary_P26 mkfifo fifo/gul_S1_summaryeltcalc_P26 mkfifo fifo/gul_S1_eltcalc_P26 mkfifo fifo/gul_S1_summarysummarycalc_P26 mkfifo fifo/gul_S1_summarycalc_P26 mkfifo fifo/gul_S1_summarypltcalc_P26 mkfifo fifo/gul_S1_pltcalc_P26 mkfifo fifo/gul_P27 mkfifo fifo/gul_S1_summary_P27 mkfifo fifo/gul_S1_summaryeltcalc_P27 mkfifo fifo/gul_S1_eltcalc_P27 mkfifo fifo/gul_S1_summarysummarycalc_P27 mkfifo fifo/gul_S1_summarycalc_P27 mkfifo fifo/gul_S1_summarypltcalc_P27 mkfifo fifo/gul_S1_pltcalc_P27 mkfifo fifo/gul_P28 mkfifo fifo/gul_S1_summary_P28 mkfifo fifo/gul_S1_summaryeltcalc_P28 mkfifo fifo/gul_S1_eltcalc_P28 mkfifo fifo/gul_S1_summarysummarycalc_P28 mkfifo fifo/gul_S1_summarycalc_P28 mkfifo fifo/gul_S1_summarypltcalc_P28 mkfifo fifo/gul_S1_pltcalc_P28 mkfifo fifo/gul_P29 mkfifo fifo/gul_S1_summary_P29 mkfifo fifo/gul_S1_summaryeltcalc_P29 mkfifo fifo/gul_S1_eltcalc_P29 mkfifo fifo/gul_S1_summarysummarycalc_P29 mkfifo fifo/gul_S1_summarycalc_P29 mkfifo fifo/gul_S1_summarypltcalc_P29 mkfifo fifo/gul_S1_pltcalc_P29 mkfifo fifo/gul_P30 mkfifo fifo/gul_S1_summary_P30 mkfifo fifo/gul_S1_summaryeltcalc_P30 mkfifo fifo/gul_S1_eltcalc_P30 mkfifo fifo/gul_S1_summarysummarycalc_P30 mkfifo fifo/gul_S1_summarycalc_P30 mkfifo fifo/gul_S1_summarypltcalc_P30 mkfifo fifo/gul_S1_pltcalc_P30 mkfifo fifo/gul_P31 mkfifo fifo/gul_S1_summary_P31 mkfifo fifo/gul_S1_summaryeltcalc_P31 mkfifo fifo/gul_S1_eltcalc_P31 mkfifo fifo/gul_S1_summarysummarycalc_P31 mkfifo fifo/gul_S1_summarycalc_P31 mkfifo fifo/gul_S1_summarypltcalc_P31 mkfifo fifo/gul_S1_pltcalc_P31 mkfifo fifo/gul_P32 mkfifo fifo/gul_S1_summary_P32 mkfifo fifo/gul_S1_summaryeltcalc_P32 mkfifo fifo/gul_S1_eltcalc_P32 mkfifo fifo/gul_S1_summarysummarycalc_P32 mkfifo fifo/gul_S1_summarycalc_P32 mkfifo fifo/gul_S1_summarypltcalc_P32 mkfifo fifo/gul_S1_pltcalc_P32 mkfifo fifo/gul_P33 mkfifo fifo/gul_S1_summary_P33 mkfifo fifo/gul_S1_summaryeltcalc_P33 mkfifo fifo/gul_S1_eltcalc_P33 mkfifo fifo/gul_S1_summarysummarycalc_P33 mkfifo fifo/gul_S1_summarycalc_P33 mkfifo fifo/gul_S1_summarypltcalc_P33 mkfifo fifo/gul_S1_pltcalc_P33 mkfifo fifo/gul_P34 mkfifo fifo/gul_S1_summary_P34 mkfifo fifo/gul_S1_summaryeltcalc_P34 mkfifo fifo/gul_S1_eltcalc_P34 mkfifo fifo/gul_S1_summarysummarycalc_P34 mkfifo fifo/gul_S1_summarycalc_P34 mkfifo fifo/gul_S1_summarypltcalc_P34 mkfifo fifo/gul_S1_pltcalc_P34 mkfifo fifo/gul_P35 mkfifo fifo/gul_S1_summary_P35 mkfifo fifo/gul_S1_summaryeltcalc_P35 mkfifo fifo/gul_S1_eltcalc_P35 mkfifo fifo/gul_S1_summarysummarycalc_P35 mkfifo fifo/gul_S1_summarycalc_P35 mkfifo fifo/gul_S1_summarypltcalc_P35 mkfifo fifo/gul_S1_pltcalc_P35 mkfifo fifo/gul_P36 mkfifo fifo/gul_S1_summary_P36 mkfifo fifo/gul_S1_summaryeltcalc_P36 mkfifo fifo/gul_S1_eltcalc_P36 mkfifo fifo/gul_S1_summarysummarycalc_P36 mkfifo fifo/gul_S1_summarycalc_P36 mkfifo fifo/gul_S1_summarypltcalc_P36 mkfifo fifo/gul_S1_pltcalc_P36 mkfifo fifo/gul_P37 mkfifo fifo/gul_S1_summary_P37 mkfifo fifo/gul_S1_summaryeltcalc_P37 mkfifo fifo/gul_S1_eltcalc_P37 mkfifo fifo/gul_S1_summarysummarycalc_P37 mkfifo fifo/gul_S1_summarycalc_P37 mkfifo fifo/gul_S1_summarypltcalc_P37 mkfifo fifo/gul_S1_pltcalc_P37 mkfifo fifo/gul_P38 mkfifo fifo/gul_S1_summary_P38 mkfifo fifo/gul_S1_summaryeltcalc_P38 mkfifo fifo/gul_S1_eltcalc_P38 mkfifo fifo/gul_S1_summarysummarycalc_P38 mkfifo fifo/gul_S1_summarycalc_P38 mkfifo fifo/gul_S1_summarypltcalc_P38 mkfifo fifo/gul_S1_pltcalc_P38 mkfifo fifo/gul_P39 mkfifo fifo/gul_S1_summary_P39 mkfifo fifo/gul_S1_summaryeltcalc_P39 mkfifo fifo/gul_S1_eltcalc_P39 mkfifo fifo/gul_S1_summarysummarycalc_P39 mkfifo fifo/gul_S1_summarycalc_P39 mkfifo fifo/gul_S1_summarypltcalc_P39 mkfifo fifo/gul_S1_pltcalc_P39 mkfifo fifo/gul_P40 mkfifo fifo/gul_S1_summary_P40 mkfifo fifo/gul_S1_summaryeltcalc_P40 mkfifo fifo/gul_S1_eltcalc_P40 mkfifo fifo/gul_S1_summarysummarycalc_P40 mkfifo fifo/gul_S1_summarycalc_P40 mkfifo fifo/gul_S1_summarypltcalc_P40 mkfifo fifo/gul_S1_pltcalc_P40 mkdir work/gul_S1_summaryleccalc mkdir work/gul_S1_summaryaalcalc mkfifo fifo/full_correlation/gul_S1_summary_P1 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P1 mkfifo fifo/full_correlation/gul_S1_eltcalc_P1 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P1 mkfifo fifo/full_correlation/gul_S1_summarycalc_P1 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P1 mkfifo fifo/full_correlation/gul_S1_pltcalc_P1 mkfifo fifo/full_correlation/gul_S1_summary_P2 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P2 mkfifo fifo/full_correlation/gul_S1_eltcalc_P2 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P2 mkfifo fifo/full_correlation/gul_S1_summarycalc_P2 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P2 mkfifo fifo/full_correlation/gul_S1_pltcalc_P2 mkfifo fifo/full_correlation/gul_S1_summary_P3 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P3 mkfifo fifo/full_correlation/gul_S1_eltcalc_P3 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P3 mkfifo fifo/full_correlation/gul_S1_summarycalc_P3 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P3 mkfifo fifo/full_correlation/gul_S1_pltcalc_P3 mkfifo fifo/full_correlation/gul_S1_summary_P4 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P4 mkfifo fifo/full_correlation/gul_S1_eltcalc_P4 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P4 mkfifo fifo/full_correlation/gul_S1_summarycalc_P4 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P4 mkfifo fifo/full_correlation/gul_S1_pltcalc_P4 mkfifo fifo/full_correlation/gul_S1_summary_P5 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P5 mkfifo fifo/full_correlation/gul_S1_eltcalc_P5 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P5 mkfifo fifo/full_correlation/gul_S1_summarycalc_P5 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P5 mkfifo fifo/full_correlation/gul_S1_pltcalc_P5 mkfifo fifo/full_correlation/gul_S1_summary_P6 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P6 mkfifo fifo/full_correlation/gul_S1_eltcalc_P6 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P6 mkfifo fifo/full_correlation/gul_S1_summarycalc_P6 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P6 mkfifo fifo/full_correlation/gul_S1_pltcalc_P6 mkfifo fifo/full_correlation/gul_S1_summary_P7 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P7 mkfifo fifo/full_correlation/gul_S1_eltcalc_P7 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P7 mkfifo fifo/full_correlation/gul_S1_summarycalc_P7 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P7 mkfifo fifo/full_correlation/gul_S1_pltcalc_P7 mkfifo fifo/full_correlation/gul_S1_summary_P8 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P8 mkfifo fifo/full_correlation/gul_S1_eltcalc_P8 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P8 mkfifo fifo/full_correlation/gul_S1_summarycalc_P8 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P8 mkfifo fifo/full_correlation/gul_S1_pltcalc_P8 mkfifo fifo/full_correlation/gul_S1_summary_P9 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P9 mkfifo fifo/full_correlation/gul_S1_eltcalc_P9 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P9 mkfifo fifo/full_correlation/gul_S1_summarycalc_P9 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P9 mkfifo fifo/full_correlation/gul_S1_pltcalc_P9 mkfifo fifo/full_correlation/gul_S1_summary_P10 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P10 mkfifo fifo/full_correlation/gul_S1_eltcalc_P10 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P10 mkfifo fifo/full_correlation/gul_S1_summarycalc_P10 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P10 mkfifo fifo/full_correlation/gul_S1_pltcalc_P10 mkfifo fifo/full_correlation/gul_S1_summary_P11 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P11 mkfifo fifo/full_correlation/gul_S1_eltcalc_P11 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P11 mkfifo fifo/full_correlation/gul_S1_summarycalc_P11 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P11 mkfifo fifo/full_correlation/gul_S1_pltcalc_P11 mkfifo fifo/full_correlation/gul_S1_summary_P12 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P12 mkfifo fifo/full_correlation/gul_S1_eltcalc_P12 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P12 mkfifo fifo/full_correlation/gul_S1_summarycalc_P12 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P12 mkfifo fifo/full_correlation/gul_S1_pltcalc_P12 mkfifo fifo/full_correlation/gul_S1_summary_P13 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P13 mkfifo fifo/full_correlation/gul_S1_eltcalc_P13 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P13 mkfifo fifo/full_correlation/gul_S1_summarycalc_P13 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P13 mkfifo fifo/full_correlation/gul_S1_pltcalc_P13 mkfifo fifo/full_correlation/gul_S1_summary_P14 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P14 mkfifo fifo/full_correlation/gul_S1_eltcalc_P14 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P14 mkfifo fifo/full_correlation/gul_S1_summarycalc_P14 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P14 mkfifo fifo/full_correlation/gul_S1_pltcalc_P14 mkfifo fifo/full_correlation/gul_S1_summary_P15 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P15 mkfifo fifo/full_correlation/gul_S1_eltcalc_P15 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P15 mkfifo fifo/full_correlation/gul_S1_summarycalc_P15 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P15 mkfifo fifo/full_correlation/gul_S1_pltcalc_P15 mkfifo fifo/full_correlation/gul_S1_summary_P16 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P16 mkfifo fifo/full_correlation/gul_S1_eltcalc_P16 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P16 mkfifo fifo/full_correlation/gul_S1_summarycalc_P16 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P16 mkfifo fifo/full_correlation/gul_S1_pltcalc_P16 mkfifo fifo/full_correlation/gul_S1_summary_P17 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P17 mkfifo fifo/full_correlation/gul_S1_eltcalc_P17 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P17 mkfifo fifo/full_correlation/gul_S1_summarycalc_P17 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P17 mkfifo fifo/full_correlation/gul_S1_pltcalc_P17 mkfifo fifo/full_correlation/gul_S1_summary_P18 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P18 mkfifo fifo/full_correlation/gul_S1_eltcalc_P18 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P18 mkfifo fifo/full_correlation/gul_S1_summarycalc_P18 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P18 mkfifo fifo/full_correlation/gul_S1_pltcalc_P18 mkfifo fifo/full_correlation/gul_S1_summary_P19 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P19 mkfifo fifo/full_correlation/gul_S1_eltcalc_P19 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P19 mkfifo fifo/full_correlation/gul_S1_summarycalc_P19 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P19 mkfifo fifo/full_correlation/gul_S1_pltcalc_P19 mkfifo fifo/full_correlation/gul_S1_summary_P20 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P20 mkfifo fifo/full_correlation/gul_S1_eltcalc_P20 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P20 mkfifo fifo/full_correlation/gul_S1_summarycalc_P20 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P20 mkfifo fifo/full_correlation/gul_S1_pltcalc_P20 mkfifo fifo/full_correlation/gul_S1_summary_P21 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P21 mkfifo fifo/full_correlation/gul_S1_eltcalc_P21 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P21 mkfifo fifo/full_correlation/gul_S1_summarycalc_P21 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P21 mkfifo fifo/full_correlation/gul_S1_pltcalc_P21 mkfifo fifo/full_correlation/gul_S1_summary_P22 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P22 mkfifo fifo/full_correlation/gul_S1_eltcalc_P22 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P22 mkfifo fifo/full_correlation/gul_S1_summarycalc_P22 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P22 mkfifo fifo/full_correlation/gul_S1_pltcalc_P22 mkfifo fifo/full_correlation/gul_S1_summary_P23 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P23 mkfifo fifo/full_correlation/gul_S1_eltcalc_P23 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P23 mkfifo fifo/full_correlation/gul_S1_summarycalc_P23 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P23 mkfifo fifo/full_correlation/gul_S1_pltcalc_P23 mkfifo fifo/full_correlation/gul_S1_summary_P24 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P24 mkfifo fifo/full_correlation/gul_S1_eltcalc_P24 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P24 mkfifo fifo/full_correlation/gul_S1_summarycalc_P24 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P24 mkfifo fifo/full_correlation/gul_S1_pltcalc_P24 mkfifo fifo/full_correlation/gul_S1_summary_P25 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P25 mkfifo fifo/full_correlation/gul_S1_eltcalc_P25 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P25 mkfifo fifo/full_correlation/gul_S1_summarycalc_P25 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P25 mkfifo fifo/full_correlation/gul_S1_pltcalc_P25 mkfifo fifo/full_correlation/gul_S1_summary_P26 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P26 mkfifo fifo/full_correlation/gul_S1_eltcalc_P26 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P26 mkfifo fifo/full_correlation/gul_S1_summarycalc_P26 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P26 mkfifo fifo/full_correlation/gul_S1_pltcalc_P26 mkfifo fifo/full_correlation/gul_S1_summary_P27 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P27 mkfifo fifo/full_correlation/gul_S1_eltcalc_P27 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P27 mkfifo fifo/full_correlation/gul_S1_summarycalc_P27 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P27 mkfifo fifo/full_correlation/gul_S1_pltcalc_P27 mkfifo fifo/full_correlation/gul_S1_summary_P28 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P28 mkfifo fifo/full_correlation/gul_S1_eltcalc_P28 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P28 mkfifo fifo/full_correlation/gul_S1_summarycalc_P28 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P28 mkfifo fifo/full_correlation/gul_S1_pltcalc_P28 mkfifo fifo/full_correlation/gul_S1_summary_P29 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P29 mkfifo fifo/full_correlation/gul_S1_eltcalc_P29 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P29 mkfifo fifo/full_correlation/gul_S1_summarycalc_P29 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P29 mkfifo fifo/full_correlation/gul_S1_pltcalc_P29 mkfifo fifo/full_correlation/gul_S1_summary_P30 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P30 mkfifo fifo/full_correlation/gul_S1_eltcalc_P30 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P30 mkfifo fifo/full_correlation/gul_S1_summarycalc_P30 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P30 mkfifo fifo/full_correlation/gul_S1_pltcalc_P30 mkfifo fifo/full_correlation/gul_S1_summary_P31 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P31 mkfifo fifo/full_correlation/gul_S1_eltcalc_P31 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P31 mkfifo fifo/full_correlation/gul_S1_summarycalc_P31 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P31 mkfifo fifo/full_correlation/gul_S1_pltcalc_P31 mkfifo fifo/full_correlation/gul_S1_summary_P32 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P32 mkfifo fifo/full_correlation/gul_S1_eltcalc_P32 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P32 mkfifo fifo/full_correlation/gul_S1_summarycalc_P32 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P32 mkfifo fifo/full_correlation/gul_S1_pltcalc_P32 mkfifo fifo/full_correlation/gul_S1_summary_P33 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P33 mkfifo fifo/full_correlation/gul_S1_eltcalc_P33 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P33 mkfifo fifo/full_correlation/gul_S1_summarycalc_P33 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P33 mkfifo fifo/full_correlation/gul_S1_pltcalc_P33 mkfifo fifo/full_correlation/gul_S1_summary_P34 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P34 mkfifo fifo/full_correlation/gul_S1_eltcalc_P34 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P34 mkfifo fifo/full_correlation/gul_S1_summarycalc_P34 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P34 mkfifo fifo/full_correlation/gul_S1_pltcalc_P34 mkfifo fifo/full_correlation/gul_S1_summary_P35 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P35 mkfifo fifo/full_correlation/gul_S1_eltcalc_P35 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P35 mkfifo fifo/full_correlation/gul_S1_summarycalc_P35 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P35 mkfifo fifo/full_correlation/gul_S1_pltcalc_P35 mkfifo fifo/full_correlation/gul_S1_summary_P36 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P36 mkfifo fifo/full_correlation/gul_S1_eltcalc_P36 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P36 mkfifo fifo/full_correlation/gul_S1_summarycalc_P36 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P36 mkfifo fifo/full_correlation/gul_S1_pltcalc_P36 mkfifo fifo/full_correlation/gul_S1_summary_P37 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P37 mkfifo fifo/full_correlation/gul_S1_eltcalc_P37 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P37 mkfifo fifo/full_correlation/gul_S1_summarycalc_P37 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P37 mkfifo fifo/full_correlation/gul_S1_pltcalc_P37 mkfifo fifo/full_correlation/gul_S1_summary_P38 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P38 mkfifo fifo/full_correlation/gul_S1_eltcalc_P38 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P38 mkfifo fifo/full_correlation/gul_S1_summarycalc_P38 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P38 mkfifo fifo/full_correlation/gul_S1_pltcalc_P38 mkfifo fifo/full_correlation/gul_S1_summary_P39 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P39 mkfifo fifo/full_correlation/gul_S1_eltcalc_P39 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P39 mkfifo fifo/full_correlation/gul_S1_summarycalc_P39 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P39 mkfifo fifo/full_correlation/gul_S1_pltcalc_P39 mkfifo fifo/full_correlation/gul_S1_summary_P40 mkfifo fifo/full_correlation/gul_S1_summaryeltcalc_P40 mkfifo fifo/full_correlation/gul_S1_eltcalc_P40 mkfifo fifo/full_correlation/gul_S1_summarysummarycalc_P40 mkfifo fifo/full_correlation/gul_S1_summarycalc_P40 mkfifo fifo/full_correlation/gul_S1_summarypltcalc_P40 mkfifo fifo/full_correlation/gul_S1_pltcalc_P40 mkdir work/full_correlation/gul_S1_summaryleccalc mkdir work/full_correlation/gul_S1_summaryaalcalc mkfifo fifo/il_P1 mkfifo fifo/il_S1_summary_P1 mkfifo fifo/il_S1_summaryeltcalc_P1 mkfifo fifo/il_S1_eltcalc_P1 mkfifo fifo/il_S1_summarysummarycalc_P1 mkfifo fifo/il_S1_summarycalc_P1 mkfifo fifo/il_S1_summarypltcalc_P1 mkfifo fifo/il_S1_pltcalc_P1 mkfifo fifo/il_P2 mkfifo fifo/il_S1_summary_P2 mkfifo fifo/il_S1_summaryeltcalc_P2 mkfifo fifo/il_S1_eltcalc_P2 mkfifo fifo/il_S1_summarysummarycalc_P2 mkfifo fifo/il_S1_summarycalc_P2 mkfifo fifo/il_S1_summarypltcalc_P2 mkfifo fifo/il_S1_pltcalc_P2 mkfifo fifo/il_P3 mkfifo fifo/il_S1_summary_P3 mkfifo fifo/il_S1_summaryeltcalc_P3 mkfifo fifo/il_S1_eltcalc_P3 mkfifo fifo/il_S1_summarysummarycalc_P3 mkfifo fifo/il_S1_summarycalc_P3 mkfifo fifo/il_S1_summarypltcalc_P3 mkfifo fifo/il_S1_pltcalc_P3 mkfifo fifo/il_P4 mkfifo fifo/il_S1_summary_P4 mkfifo fifo/il_S1_summaryeltcalc_P4 mkfifo fifo/il_S1_eltcalc_P4 mkfifo fifo/il_S1_summarysummarycalc_P4 mkfifo fifo/il_S1_summarycalc_P4 mkfifo fifo/il_S1_summarypltcalc_P4 mkfifo fifo/il_S1_pltcalc_P4 mkfifo fifo/il_P5 mkfifo fifo/il_S1_summary_P5 mkfifo fifo/il_S1_summaryeltcalc_P5 mkfifo fifo/il_S1_eltcalc_P5 mkfifo fifo/il_S1_summarysummarycalc_P5 mkfifo fifo/il_S1_summarycalc_P5 mkfifo fifo/il_S1_summarypltcalc_P5 mkfifo fifo/il_S1_pltcalc_P5 mkfifo fifo/il_P6 mkfifo fifo/il_S1_summary_P6 mkfifo fifo/il_S1_summaryeltcalc_P6 mkfifo fifo/il_S1_eltcalc_P6 mkfifo fifo/il_S1_summarysummarycalc_P6 mkfifo fifo/il_S1_summarycalc_P6 mkfifo fifo/il_S1_summarypltcalc_P6 mkfifo fifo/il_S1_pltcalc_P6 mkfifo fifo/il_P7 mkfifo fifo/il_S1_summary_P7 mkfifo fifo/il_S1_summaryeltcalc_P7 mkfifo fifo/il_S1_eltcalc_P7 mkfifo fifo/il_S1_summarysummarycalc_P7 mkfifo fifo/il_S1_summarycalc_P7 mkfifo fifo/il_S1_summarypltcalc_P7 mkfifo fifo/il_S1_pltcalc_P7 mkfifo fifo/il_P8 mkfifo fifo/il_S1_summary_P8 mkfifo fifo/il_S1_summaryeltcalc_P8 mkfifo fifo/il_S1_eltcalc_P8 mkfifo fifo/il_S1_summarysummarycalc_P8 mkfifo fifo/il_S1_summarycalc_P8 mkfifo fifo/il_S1_summarypltcalc_P8 mkfifo fifo/il_S1_pltcalc_P8 mkfifo fifo/il_P9 mkfifo fifo/il_S1_summary_P9 mkfifo fifo/il_S1_summaryeltcalc_P9 mkfifo fifo/il_S1_eltcalc_P9 mkfifo fifo/il_S1_summarysummarycalc_P9 mkfifo fifo/il_S1_summarycalc_P9 mkfifo fifo/il_S1_summarypltcalc_P9 mkfifo fifo/il_S1_pltcalc_P9 mkfifo fifo/il_P10 mkfifo fifo/il_S1_summary_P10 mkfifo fifo/il_S1_summaryeltcalc_P10 mkfifo fifo/il_S1_eltcalc_P10 mkfifo fifo/il_S1_summarysummarycalc_P10 mkfifo fifo/il_S1_summarycalc_P10 mkfifo fifo/il_S1_summarypltcalc_P10 mkfifo fifo/il_S1_pltcalc_P10 mkfifo fifo/il_P11 mkfifo fifo/il_S1_summary_P11 mkfifo fifo/il_S1_summaryeltcalc_P11 mkfifo fifo/il_S1_eltcalc_P11 mkfifo fifo/il_S1_summarysummarycalc_P11 mkfifo fifo/il_S1_summarycalc_P11 mkfifo fifo/il_S1_summarypltcalc_P11 mkfifo fifo/il_S1_pltcalc_P11 mkfifo fifo/il_P12 mkfifo fifo/il_S1_summary_P12 mkfifo fifo/il_S1_summaryeltcalc_P12 mkfifo fifo/il_S1_eltcalc_P12 mkfifo fifo/il_S1_summarysummarycalc_P12 mkfifo fifo/il_S1_summarycalc_P12 mkfifo fifo/il_S1_summarypltcalc_P12 mkfifo fifo/il_S1_pltcalc_P12 mkfifo fifo/il_P13 mkfifo fifo/il_S1_summary_P13 mkfifo fifo/il_S1_summaryeltcalc_P13 mkfifo fifo/il_S1_eltcalc_P13 mkfifo fifo/il_S1_summarysummarycalc_P13 mkfifo fifo/il_S1_summarycalc_P13 mkfifo fifo/il_S1_summarypltcalc_P13 mkfifo fifo/il_S1_pltcalc_P13 mkfifo fifo/il_P14 mkfifo fifo/il_S1_summary_P14 mkfifo fifo/il_S1_summaryeltcalc_P14 mkfifo fifo/il_S1_eltcalc_P14 mkfifo fifo/il_S1_summarysummarycalc_P14 mkfifo fifo/il_S1_summarycalc_P14 mkfifo fifo/il_S1_summarypltcalc_P14 mkfifo fifo/il_S1_pltcalc_P14 mkfifo fifo/il_P15 mkfifo fifo/il_S1_summary_P15 mkfifo fifo/il_S1_summaryeltcalc_P15 mkfifo fifo/il_S1_eltcalc_P15 mkfifo fifo/il_S1_summarysummarycalc_P15 mkfifo fifo/il_S1_summarycalc_P15 mkfifo fifo/il_S1_summarypltcalc_P15 mkfifo fifo/il_S1_pltcalc_P15 mkfifo fifo/il_P16 mkfifo fifo/il_S1_summary_P16 mkfifo fifo/il_S1_summaryeltcalc_P16 mkfifo fifo/il_S1_eltcalc_P16 mkfifo fifo/il_S1_summarysummarycalc_P16 mkfifo fifo/il_S1_summarycalc_P16 mkfifo fifo/il_S1_summarypltcalc_P16 mkfifo fifo/il_S1_pltcalc_P16 mkfifo fifo/il_P17 mkfifo fifo/il_S1_summary_P17 mkfifo fifo/il_S1_summaryeltcalc_P17 mkfifo fifo/il_S1_eltcalc_P17 mkfifo fifo/il_S1_summarysummarycalc_P17 mkfifo fifo/il_S1_summarycalc_P17 mkfifo fifo/il_S1_summarypltcalc_P17 mkfifo fifo/il_S1_pltcalc_P17 mkfifo fifo/il_P18 mkfifo fifo/il_S1_summary_P18 mkfifo fifo/il_S1_summaryeltcalc_P18 mkfifo fifo/il_S1_eltcalc_P18 mkfifo fifo/il_S1_summarysummarycalc_P18 mkfifo fifo/il_S1_summarycalc_P18 mkfifo fifo/il_S1_summarypltcalc_P18 mkfifo fifo/il_S1_pltcalc_P18 mkfifo fifo/il_P19 mkfifo fifo/il_S1_summary_P19 mkfifo fifo/il_S1_summaryeltcalc_P19 mkfifo fifo/il_S1_eltcalc_P19 mkfifo fifo/il_S1_summarysummarycalc_P19 mkfifo fifo/il_S1_summarycalc_P19 mkfifo fifo/il_S1_summarypltcalc_P19 mkfifo fifo/il_S1_pltcalc_P19 mkfifo fifo/il_P20 mkfifo fifo/il_S1_summary_P20 mkfifo fifo/il_S1_summaryeltcalc_P20 mkfifo fifo/il_S1_eltcalc_P20 mkfifo fifo/il_S1_summarysummarycalc_P20 mkfifo fifo/il_S1_summarycalc_P20 mkfifo fifo/il_S1_summarypltcalc_P20 mkfifo fifo/il_S1_pltcalc_P20 mkfifo fifo/il_P21 mkfifo fifo/il_S1_summary_P21 mkfifo fifo/il_S1_summaryeltcalc_P21 mkfifo fifo/il_S1_eltcalc_P21 mkfifo fifo/il_S1_summarysummarycalc_P21 mkfifo fifo/il_S1_summarycalc_P21 mkfifo fifo/il_S1_summarypltcalc_P21 mkfifo fifo/il_S1_pltcalc_P21 mkfifo fifo/il_P22 mkfifo fifo/il_S1_summary_P22 mkfifo fifo/il_S1_summaryeltcalc_P22 mkfifo fifo/il_S1_eltcalc_P22 mkfifo fifo/il_S1_summarysummarycalc_P22 mkfifo fifo/il_S1_summarycalc_P22 mkfifo fifo/il_S1_summarypltcalc_P22 mkfifo fifo/il_S1_pltcalc_P22 mkfifo fifo/il_P23 mkfifo fifo/il_S1_summary_P23 mkfifo fifo/il_S1_summaryeltcalc_P23 mkfifo fifo/il_S1_eltcalc_P23 mkfifo fifo/il_S1_summarysummarycalc_P23 mkfifo fifo/il_S1_summarycalc_P23 mkfifo fifo/il_S1_summarypltcalc_P23 mkfifo fifo/il_S1_pltcalc_P23 mkfifo fifo/il_P24 mkfifo fifo/il_S1_summary_P24 mkfifo fifo/il_S1_summaryeltcalc_P24 mkfifo fifo/il_S1_eltcalc_P24 mkfifo fifo/il_S1_summarysummarycalc_P24 mkfifo fifo/il_S1_summarycalc_P24 mkfifo fifo/il_S1_summarypltcalc_P24 mkfifo fifo/il_S1_pltcalc_P24 mkfifo fifo/il_P25 mkfifo fifo/il_S1_summary_P25 mkfifo fifo/il_S1_summaryeltcalc_P25 mkfifo fifo/il_S1_eltcalc_P25 mkfifo fifo/il_S1_summarysummarycalc_P25 mkfifo fifo/il_S1_summarycalc_P25 mkfifo fifo/il_S1_summarypltcalc_P25 mkfifo fifo/il_S1_pltcalc_P25 mkfifo fifo/il_P26 mkfifo fifo/il_S1_summary_P26 mkfifo fifo/il_S1_summaryeltcalc_P26 mkfifo fifo/il_S1_eltcalc_P26 mkfifo fifo/il_S1_summarysummarycalc_P26 mkfifo fifo/il_S1_summarycalc_P26 mkfifo fifo/il_S1_summarypltcalc_P26 mkfifo fifo/il_S1_pltcalc_P26 mkfifo fifo/il_P27 mkfifo fifo/il_S1_summary_P27 mkfifo fifo/il_S1_summaryeltcalc_P27 mkfifo fifo/il_S1_eltcalc_P27 mkfifo fifo/il_S1_summarysummarycalc_P27 mkfifo fifo/il_S1_summarycalc_P27 mkfifo fifo/il_S1_summarypltcalc_P27 mkfifo fifo/il_S1_pltcalc_P27 mkfifo fifo/il_P28 mkfifo fifo/il_S1_summary_P28 mkfifo fifo/il_S1_summaryeltcalc_P28 mkfifo fifo/il_S1_eltcalc_P28 mkfifo fifo/il_S1_summarysummarycalc_P28 mkfifo fifo/il_S1_summarycalc_P28 mkfifo fifo/il_S1_summarypltcalc_P28 mkfifo fifo/il_S1_pltcalc_P28 mkfifo fifo/il_P29 mkfifo fifo/il_S1_summary_P29 mkfifo fifo/il_S1_summaryeltcalc_P29 mkfifo fifo/il_S1_eltcalc_P29 mkfifo fifo/il_S1_summarysummarycalc_P29 mkfifo fifo/il_S1_summarycalc_P29 mkfifo fifo/il_S1_summarypltcalc_P29 mkfifo fifo/il_S1_pltcalc_P29 mkfifo fifo/il_P30 mkfifo fifo/il_S1_summary_P30 mkfifo fifo/il_S1_summaryeltcalc_P30 mkfifo fifo/il_S1_eltcalc_P30 mkfifo fifo/il_S1_summarysummarycalc_P30 mkfifo fifo/il_S1_summarycalc_P30 mkfifo fifo/il_S1_summarypltcalc_P30 mkfifo fifo/il_S1_pltcalc_P30 mkfifo fifo/il_P31 mkfifo fifo/il_S1_summary_P31 mkfifo fifo/il_S1_summaryeltcalc_P31 mkfifo fifo/il_S1_eltcalc_P31 mkfifo fifo/il_S1_summarysummarycalc_P31 mkfifo fifo/il_S1_summarycalc_P31 mkfifo fifo/il_S1_summarypltcalc_P31 mkfifo fifo/il_S1_pltcalc_P31 mkfifo fifo/il_P32 mkfifo fifo/il_S1_summary_P32 mkfifo fifo/il_S1_summaryeltcalc_P32 mkfifo fifo/il_S1_eltcalc_P32 mkfifo fifo/il_S1_summarysummarycalc_P32 mkfifo fifo/il_S1_summarycalc_P32 mkfifo fifo/il_S1_summarypltcalc_P32 mkfifo fifo/il_S1_pltcalc_P32 mkfifo fifo/il_P33 mkfifo fifo/il_S1_summary_P33 mkfifo fifo/il_S1_summaryeltcalc_P33 mkfifo fifo/il_S1_eltcalc_P33 mkfifo fifo/il_S1_summarysummarycalc_P33 mkfifo fifo/il_S1_summarycalc_P33 mkfifo fifo/il_S1_summarypltcalc_P33 mkfifo fifo/il_S1_pltcalc_P33 mkfifo fifo/il_P34 mkfifo fifo/il_S1_summary_P34 mkfifo fifo/il_S1_summaryeltcalc_P34 mkfifo fifo/il_S1_eltcalc_P34 mkfifo fifo/il_S1_summarysummarycalc_P34 mkfifo fifo/il_S1_summarycalc_P34 mkfifo fifo/il_S1_summarypltcalc_P34 mkfifo fifo/il_S1_pltcalc_P34 mkfifo fifo/il_P35 mkfifo fifo/il_S1_summary_P35 mkfifo fifo/il_S1_summaryeltcalc_P35 mkfifo fifo/il_S1_eltcalc_P35 mkfifo fifo/il_S1_summarysummarycalc_P35 mkfifo fifo/il_S1_summarycalc_P35 mkfifo fifo/il_S1_summarypltcalc_P35 mkfifo fifo/il_S1_pltcalc_P35 mkfifo fifo/il_P36 mkfifo fifo/il_S1_summary_P36 mkfifo fifo/il_S1_summaryeltcalc_P36 mkfifo fifo/il_S1_eltcalc_P36 mkfifo fifo/il_S1_summarysummarycalc_P36 mkfifo fifo/il_S1_summarycalc_P36 mkfifo fifo/il_S1_summarypltcalc_P36 mkfifo fifo/il_S1_pltcalc_P36 mkfifo fifo/il_P37 mkfifo fifo/il_S1_summary_P37 mkfifo fifo/il_S1_summaryeltcalc_P37 mkfifo fifo/il_S1_eltcalc_P37 mkfifo fifo/il_S1_summarysummarycalc_P37 mkfifo fifo/il_S1_summarycalc_P37 mkfifo fifo/il_S1_summarypltcalc_P37 mkfifo fifo/il_S1_pltcalc_P37 mkfifo fifo/il_P38 mkfifo fifo/il_S1_summary_P38 mkfifo fifo/il_S1_summaryeltcalc_P38 mkfifo fifo/il_S1_eltcalc_P38 mkfifo fifo/il_S1_summarysummarycalc_P38 mkfifo fifo/il_S1_summarycalc_P38 mkfifo fifo/il_S1_summarypltcalc_P38 mkfifo fifo/il_S1_pltcalc_P38 mkfifo fifo/il_P39 mkfifo fifo/il_S1_summary_P39 mkfifo fifo/il_S1_summaryeltcalc_P39 mkfifo fifo/il_S1_eltcalc_P39 mkfifo fifo/il_S1_summarysummarycalc_P39 mkfifo fifo/il_S1_summarycalc_P39 mkfifo fifo/il_S1_summarypltcalc_P39 mkfifo fifo/il_S1_pltcalc_P39 mkfifo fifo/il_P40 mkfifo fifo/il_S1_summary_P40 mkfifo fifo/il_S1_summaryeltcalc_P40 mkfifo fifo/il_S1_eltcalc_P40 mkfifo fifo/il_S1_summarysummarycalc_P40 mkfifo fifo/il_S1_summarycalc_P40 mkfifo fifo/il_S1_summarypltcalc_P40 mkfifo fifo/il_S1_pltcalc_P40 mkdir work/il_S1_summaryleccalc mkdir work/il_S1_summaryaalcalc mkfifo fifo/full_correlation/il_S1_summary_P1 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P1 mkfifo fifo/full_correlation/il_S1_eltcalc_P1 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P1 mkfifo fifo/full_correlation/il_S1_summarycalc_P1 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P1 mkfifo fifo/full_correlation/il_S1_pltcalc_P1 mkfifo fifo/full_correlation/il_S1_summary_P2 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P2 mkfifo fifo/full_correlation/il_S1_eltcalc_P2 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P2 mkfifo fifo/full_correlation/il_S1_summarycalc_P2 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P2 mkfifo fifo/full_correlation/il_S1_pltcalc_P2 mkfifo fifo/full_correlation/il_S1_summary_P3 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P3 mkfifo fifo/full_correlation/il_S1_eltcalc_P3 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P3 mkfifo fifo/full_correlation/il_S1_summarycalc_P3 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P3 mkfifo fifo/full_correlation/il_S1_pltcalc_P3 mkfifo fifo/full_correlation/il_S1_summary_P4 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P4 mkfifo fifo/full_correlation/il_S1_eltcalc_P4 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P4 mkfifo fifo/full_correlation/il_S1_summarycalc_P4 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P4 mkfifo fifo/full_correlation/il_S1_pltcalc_P4 mkfifo fifo/full_correlation/il_S1_summary_P5 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P5 mkfifo fifo/full_correlation/il_S1_eltcalc_P5 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P5 mkfifo fifo/full_correlation/il_S1_summarycalc_P5 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P5 mkfifo fifo/full_correlation/il_S1_pltcalc_P5 mkfifo fifo/full_correlation/il_S1_summary_P6 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P6 mkfifo fifo/full_correlation/il_S1_eltcalc_P6 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P6 mkfifo fifo/full_correlation/il_S1_summarycalc_P6 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P6 mkfifo fifo/full_correlation/il_S1_pltcalc_P6 mkfifo fifo/full_correlation/il_S1_summary_P7 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P7 mkfifo fifo/full_correlation/il_S1_eltcalc_P7 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P7 mkfifo fifo/full_correlation/il_S1_summarycalc_P7 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P7 mkfifo fifo/full_correlation/il_S1_pltcalc_P7 mkfifo fifo/full_correlation/il_S1_summary_P8 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P8 mkfifo fifo/full_correlation/il_S1_eltcalc_P8 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P8 mkfifo fifo/full_correlation/il_S1_summarycalc_P8 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P8 mkfifo fifo/full_correlation/il_S1_pltcalc_P8 mkfifo fifo/full_correlation/il_S1_summary_P9 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P9 mkfifo fifo/full_correlation/il_S1_eltcalc_P9 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P9 mkfifo fifo/full_correlation/il_S1_summarycalc_P9 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P9 mkfifo fifo/full_correlation/il_S1_pltcalc_P9 mkfifo fifo/full_correlation/il_S1_summary_P10 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P10 mkfifo fifo/full_correlation/il_S1_eltcalc_P10 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P10 mkfifo fifo/full_correlation/il_S1_summarycalc_P10 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P10 mkfifo fifo/full_correlation/il_S1_pltcalc_P10 mkfifo fifo/full_correlation/il_S1_summary_P11 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P11 mkfifo fifo/full_correlation/il_S1_eltcalc_P11 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P11 mkfifo fifo/full_correlation/il_S1_summarycalc_P11 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P11 mkfifo fifo/full_correlation/il_S1_pltcalc_P11 mkfifo fifo/full_correlation/il_S1_summary_P12 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P12 mkfifo fifo/full_correlation/il_S1_eltcalc_P12 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P12 mkfifo fifo/full_correlation/il_S1_summarycalc_P12 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P12 mkfifo fifo/full_correlation/il_S1_pltcalc_P12 mkfifo fifo/full_correlation/il_S1_summary_P13 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P13 mkfifo fifo/full_correlation/il_S1_eltcalc_P13 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P13 mkfifo fifo/full_correlation/il_S1_summarycalc_P13 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P13 mkfifo fifo/full_correlation/il_S1_pltcalc_P13 mkfifo fifo/full_correlation/il_S1_summary_P14 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P14 mkfifo fifo/full_correlation/il_S1_eltcalc_P14 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P14 mkfifo fifo/full_correlation/il_S1_summarycalc_P14 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P14 mkfifo fifo/full_correlation/il_S1_pltcalc_P14 mkfifo fifo/full_correlation/il_S1_summary_P15 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P15 mkfifo fifo/full_correlation/il_S1_eltcalc_P15 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P15 mkfifo fifo/full_correlation/il_S1_summarycalc_P15 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P15 mkfifo fifo/full_correlation/il_S1_pltcalc_P15 mkfifo fifo/full_correlation/il_S1_summary_P16 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P16 mkfifo fifo/full_correlation/il_S1_eltcalc_P16 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P16 mkfifo fifo/full_correlation/il_S1_summarycalc_P16 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P16 mkfifo fifo/full_correlation/il_S1_pltcalc_P16 mkfifo fifo/full_correlation/il_S1_summary_P17 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P17 mkfifo fifo/full_correlation/il_S1_eltcalc_P17 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P17 mkfifo fifo/full_correlation/il_S1_summarycalc_P17 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P17 mkfifo fifo/full_correlation/il_S1_pltcalc_P17 mkfifo fifo/full_correlation/il_S1_summary_P18 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P18 mkfifo fifo/full_correlation/il_S1_eltcalc_P18 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P18 mkfifo fifo/full_correlation/il_S1_summarycalc_P18 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P18 mkfifo fifo/full_correlation/il_S1_pltcalc_P18 mkfifo fifo/full_correlation/il_S1_summary_P19 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P19 mkfifo fifo/full_correlation/il_S1_eltcalc_P19 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P19 mkfifo fifo/full_correlation/il_S1_summarycalc_P19 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P19 mkfifo fifo/full_correlation/il_S1_pltcalc_P19 mkfifo fifo/full_correlation/il_S1_summary_P20 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P20 mkfifo fifo/full_correlation/il_S1_eltcalc_P20 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P20 mkfifo fifo/full_correlation/il_S1_summarycalc_P20 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P20 mkfifo fifo/full_correlation/il_S1_pltcalc_P20 mkfifo fifo/full_correlation/il_S1_summary_P21 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P21 mkfifo fifo/full_correlation/il_S1_eltcalc_P21 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P21 mkfifo fifo/full_correlation/il_S1_summarycalc_P21 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P21 mkfifo fifo/full_correlation/il_S1_pltcalc_P21 mkfifo fifo/full_correlation/il_S1_summary_P22 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P22 mkfifo fifo/full_correlation/il_S1_eltcalc_P22 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P22 mkfifo fifo/full_correlation/il_S1_summarycalc_P22 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P22 mkfifo fifo/full_correlation/il_S1_pltcalc_P22 mkfifo fifo/full_correlation/il_S1_summary_P23 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P23 mkfifo fifo/full_correlation/il_S1_eltcalc_P23 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P23 mkfifo fifo/full_correlation/il_S1_summarycalc_P23 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P23 mkfifo fifo/full_correlation/il_S1_pltcalc_P23 mkfifo fifo/full_correlation/il_S1_summary_P24 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P24 mkfifo fifo/full_correlation/il_S1_eltcalc_P24 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P24 mkfifo fifo/full_correlation/il_S1_summarycalc_P24 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P24 mkfifo fifo/full_correlation/il_S1_pltcalc_P24 mkfifo fifo/full_correlation/il_S1_summary_P25 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P25 mkfifo fifo/full_correlation/il_S1_eltcalc_P25 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P25 mkfifo fifo/full_correlation/il_S1_summarycalc_P25 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P25 mkfifo fifo/full_correlation/il_S1_pltcalc_P25 mkfifo fifo/full_correlation/il_S1_summary_P26 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P26 mkfifo fifo/full_correlation/il_S1_eltcalc_P26 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P26 mkfifo fifo/full_correlation/il_S1_summarycalc_P26 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P26 mkfifo fifo/full_correlation/il_S1_pltcalc_P26 mkfifo fifo/full_correlation/il_S1_summary_P27 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P27 mkfifo fifo/full_correlation/il_S1_eltcalc_P27 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P27 mkfifo fifo/full_correlation/il_S1_summarycalc_P27 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P27 mkfifo fifo/full_correlation/il_S1_pltcalc_P27 mkfifo fifo/full_correlation/il_S1_summary_P28 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P28 mkfifo fifo/full_correlation/il_S1_eltcalc_P28 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P28 mkfifo fifo/full_correlation/il_S1_summarycalc_P28 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P28 mkfifo fifo/full_correlation/il_S1_pltcalc_P28 mkfifo fifo/full_correlation/il_S1_summary_P29 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P29 mkfifo fifo/full_correlation/il_S1_eltcalc_P29 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P29 mkfifo fifo/full_correlation/il_S1_summarycalc_P29 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P29 mkfifo fifo/full_correlation/il_S1_pltcalc_P29 mkfifo fifo/full_correlation/il_S1_summary_P30 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P30 mkfifo fifo/full_correlation/il_S1_eltcalc_P30 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P30 mkfifo fifo/full_correlation/il_S1_summarycalc_P30 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P30 mkfifo fifo/full_correlation/il_S1_pltcalc_P30 mkfifo fifo/full_correlation/il_S1_summary_P31 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P31 mkfifo fifo/full_correlation/il_S1_eltcalc_P31 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P31 mkfifo fifo/full_correlation/il_S1_summarycalc_P31 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P31 mkfifo fifo/full_correlation/il_S1_pltcalc_P31 mkfifo fifo/full_correlation/il_S1_summary_P32 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P32 mkfifo fifo/full_correlation/il_S1_eltcalc_P32 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P32 mkfifo fifo/full_correlation/il_S1_summarycalc_P32 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P32 mkfifo fifo/full_correlation/il_S1_pltcalc_P32 mkfifo fifo/full_correlation/il_S1_summary_P33 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P33 mkfifo fifo/full_correlation/il_S1_eltcalc_P33 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P33 mkfifo fifo/full_correlation/il_S1_summarycalc_P33 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P33 mkfifo fifo/full_correlation/il_S1_pltcalc_P33 mkfifo fifo/full_correlation/il_S1_summary_P34 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P34 mkfifo fifo/full_correlation/il_S1_eltcalc_P34 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P34 mkfifo fifo/full_correlation/il_S1_summarycalc_P34 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P34 mkfifo fifo/full_correlation/il_S1_pltcalc_P34 mkfifo fifo/full_correlation/il_S1_summary_P35 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P35 mkfifo fifo/full_correlation/il_S1_eltcalc_P35 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P35 mkfifo fifo/full_correlation/il_S1_summarycalc_P35 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P35 mkfifo fifo/full_correlation/il_S1_pltcalc_P35 mkfifo fifo/full_correlation/il_S1_summary_P36 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P36 mkfifo fifo/full_correlation/il_S1_eltcalc_P36 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P36 mkfifo fifo/full_correlation/il_S1_summarycalc_P36 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P36 mkfifo fifo/full_correlation/il_S1_pltcalc_P36 mkfifo fifo/full_correlation/il_S1_summary_P37 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P37 mkfifo fifo/full_correlation/il_S1_eltcalc_P37 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P37 mkfifo fifo/full_correlation/il_S1_summarycalc_P37 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P37 mkfifo fifo/full_correlation/il_S1_pltcalc_P37 mkfifo fifo/full_correlation/il_S1_summary_P38 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P38 mkfifo fifo/full_correlation/il_S1_eltcalc_P38 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P38 mkfifo fifo/full_correlation/il_S1_summarycalc_P38 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P38 mkfifo fifo/full_correlation/il_S1_pltcalc_P38 mkfifo fifo/full_correlation/il_S1_summary_P39 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P39 mkfifo fifo/full_correlation/il_S1_eltcalc_P39 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P39 mkfifo fifo/full_correlation/il_S1_summarycalc_P39 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P39 mkfifo fifo/full_correlation/il_S1_pltcalc_P39 mkfifo fifo/full_correlation/il_S1_summary_P40 mkfifo fifo/full_correlation/il_S1_summaryeltcalc_P40 mkfifo fifo/full_correlation/il_S1_eltcalc_P40 mkfifo fifo/full_correlation/il_S1_summarysummarycalc_P40 mkfifo fifo/full_correlation/il_S1_summarycalc_P40 mkfifo fifo/full_correlation/il_S1_summarypltcalc_P40 mkfifo fifo/full_correlation/il_S1_pltcalc_P40 mkdir work/full_correlation/il_S1_summaryleccalc mkdir work/full_correlation/il_S1_summaryaalcalc # --- Do insured loss computes --- eltcalc < fifo/il_S1_summaryeltcalc_P1 > work/kat/il_S1_eltcalc_P1 & pid1=$! summarycalctocsv < fifo/il_S1_summarysummarycalc_P1 > work/kat/il_S1_summarycalc_P1 & pid2=$! pltcalc < fifo/il_S1_summarypltcalc_P1 > work/kat/il_S1_pltcalc_P1 & pid3=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P2 > work/kat/il_S1_eltcalc_P2 & pid4=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P2 > work/kat/il_S1_summarycalc_P2 & pid5=$! pltcalc -s < fifo/il_S1_summarypltcalc_P2 > work/kat/il_S1_pltcalc_P2 & pid6=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P3 > work/kat/il_S1_eltcalc_P3 & pid7=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P3 > work/kat/il_S1_summarycalc_P3 & pid8=$! pltcalc -s < fifo/il_S1_summarypltcalc_P3 > work/kat/il_S1_pltcalc_P3 & pid9=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P4 > work/kat/il_S1_eltcalc_P4 & pid10=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P4 > work/kat/il_S1_summarycalc_P4 & pid11=$! pltcalc -s < fifo/il_S1_summarypltcalc_P4 > work/kat/il_S1_pltcalc_P4 & pid12=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P5 > work/kat/il_S1_eltcalc_P5 & pid13=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P5 > work/kat/il_S1_summarycalc_P5 & pid14=$! pltcalc -s < fifo/il_S1_summarypltcalc_P5 > work/kat/il_S1_pltcalc_P5 & pid15=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P6 > work/kat/il_S1_eltcalc_P6 & pid16=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P6 > work/kat/il_S1_summarycalc_P6 & pid17=$! pltcalc -s < fifo/il_S1_summarypltcalc_P6 > work/kat/il_S1_pltcalc_P6 & pid18=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P7 > work/kat/il_S1_eltcalc_P7 & pid19=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P7 > work/kat/il_S1_summarycalc_P7 & pid20=$! pltcalc -s < fifo/il_S1_summarypltcalc_P7 > work/kat/il_S1_pltcalc_P7 & pid21=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P8 > work/kat/il_S1_eltcalc_P8 & pid22=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P8 > work/kat/il_S1_summarycalc_P8 & pid23=$! pltcalc -s < fifo/il_S1_summarypltcalc_P8 > work/kat/il_S1_pltcalc_P8 & pid24=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P9 > work/kat/il_S1_eltcalc_P9 & pid25=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P9 > work/kat/il_S1_summarycalc_P9 & pid26=$! pltcalc -s < fifo/il_S1_summarypltcalc_P9 > work/kat/il_S1_pltcalc_P9 & pid27=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P10 > work/kat/il_S1_eltcalc_P10 & pid28=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P10 > work/kat/il_S1_summarycalc_P10 & pid29=$! pltcalc -s < fifo/il_S1_summarypltcalc_P10 > work/kat/il_S1_pltcalc_P10 & pid30=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P11 > work/kat/il_S1_eltcalc_P11 & pid31=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P11 > work/kat/il_S1_summarycalc_P11 & pid32=$! pltcalc -s < fifo/il_S1_summarypltcalc_P11 > work/kat/il_S1_pltcalc_P11 & pid33=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P12 > work/kat/il_S1_eltcalc_P12 & pid34=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P12 > work/kat/il_S1_summarycalc_P12 & pid35=$! pltcalc -s < fifo/il_S1_summarypltcalc_P12 > work/kat/il_S1_pltcalc_P12 & pid36=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P13 > work/kat/il_S1_eltcalc_P13 & pid37=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P13 > work/kat/il_S1_summarycalc_P13 & pid38=$! pltcalc -s < fifo/il_S1_summarypltcalc_P13 > work/kat/il_S1_pltcalc_P13 & pid39=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P14 > work/kat/il_S1_eltcalc_P14 & pid40=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P14 > work/kat/il_S1_summarycalc_P14 & pid41=$! pltcalc -s < fifo/il_S1_summarypltcalc_P14 > work/kat/il_S1_pltcalc_P14 & pid42=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P15 > work/kat/il_S1_eltcalc_P15 & pid43=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P15 > work/kat/il_S1_summarycalc_P15 & pid44=$! pltcalc -s < fifo/il_S1_summarypltcalc_P15 > work/kat/il_S1_pltcalc_P15 & pid45=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P16 > work/kat/il_S1_eltcalc_P16 & pid46=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P16 > work/kat/il_S1_summarycalc_P16 & pid47=$! pltcalc -s < fifo/il_S1_summarypltcalc_P16 > work/kat/il_S1_pltcalc_P16 & pid48=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P17 > work/kat/il_S1_eltcalc_P17 & pid49=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P17 > work/kat/il_S1_summarycalc_P17 & pid50=$! pltcalc -s < fifo/il_S1_summarypltcalc_P17 > work/kat/il_S1_pltcalc_P17 & pid51=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P18 > work/kat/il_S1_eltcalc_P18 & pid52=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P18 > work/kat/il_S1_summarycalc_P18 & pid53=$! pltcalc -s < fifo/il_S1_summarypltcalc_P18 > work/kat/il_S1_pltcalc_P18 & pid54=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P19 > work/kat/il_S1_eltcalc_P19 & pid55=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P19 > work/kat/il_S1_summarycalc_P19 & pid56=$! pltcalc -s < fifo/il_S1_summarypltcalc_P19 > work/kat/il_S1_pltcalc_P19 & pid57=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P20 > work/kat/il_S1_eltcalc_P20 & pid58=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P20 > work/kat/il_S1_summarycalc_P20 & pid59=$! pltcalc -s < fifo/il_S1_summarypltcalc_P20 > work/kat/il_S1_pltcalc_P20 & pid60=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P21 > work/kat/il_S1_eltcalc_P21 & pid61=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P21 > work/kat/il_S1_summarycalc_P21 & pid62=$! pltcalc -s < fifo/il_S1_summarypltcalc_P21 > work/kat/il_S1_pltcalc_P21 & pid63=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P22 > work/kat/il_S1_eltcalc_P22 & pid64=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P22 > work/kat/il_S1_summarycalc_P22 & pid65=$! pltcalc -s < fifo/il_S1_summarypltcalc_P22 > work/kat/il_S1_pltcalc_P22 & pid66=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P23 > work/kat/il_S1_eltcalc_P23 & pid67=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P23 > work/kat/il_S1_summarycalc_P23 & pid68=$! pltcalc -s < fifo/il_S1_summarypltcalc_P23 > work/kat/il_S1_pltcalc_P23 & pid69=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P24 > work/kat/il_S1_eltcalc_P24 & pid70=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P24 > work/kat/il_S1_summarycalc_P24 & pid71=$! pltcalc -s < fifo/il_S1_summarypltcalc_P24 > work/kat/il_S1_pltcalc_P24 & pid72=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P25 > work/kat/il_S1_eltcalc_P25 & pid73=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P25 > work/kat/il_S1_summarycalc_P25 & pid74=$! pltcalc -s < fifo/il_S1_summarypltcalc_P25 > work/kat/il_S1_pltcalc_P25 & pid75=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P26 > work/kat/il_S1_eltcalc_P26 & pid76=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P26 > work/kat/il_S1_summarycalc_P26 & pid77=$! pltcalc -s < fifo/il_S1_summarypltcalc_P26 > work/kat/il_S1_pltcalc_P26 & pid78=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P27 > work/kat/il_S1_eltcalc_P27 & pid79=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P27 > work/kat/il_S1_summarycalc_P27 & pid80=$! pltcalc -s < fifo/il_S1_summarypltcalc_P27 > work/kat/il_S1_pltcalc_P27 & pid81=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P28 > work/kat/il_S1_eltcalc_P28 & pid82=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P28 > work/kat/il_S1_summarycalc_P28 & pid83=$! pltcalc -s < fifo/il_S1_summarypltcalc_P28 > work/kat/il_S1_pltcalc_P28 & pid84=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P29 > work/kat/il_S1_eltcalc_P29 & pid85=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P29 > work/kat/il_S1_summarycalc_P29 & pid86=$! pltcalc -s < fifo/il_S1_summarypltcalc_P29 > work/kat/il_S1_pltcalc_P29 & pid87=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P30 > work/kat/il_S1_eltcalc_P30 & pid88=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P30 > work/kat/il_S1_summarycalc_P30 & pid89=$! pltcalc -s < fifo/il_S1_summarypltcalc_P30 > work/kat/il_S1_pltcalc_P30 & pid90=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P31 > work/kat/il_S1_eltcalc_P31 & pid91=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P31 > work/kat/il_S1_summarycalc_P31 & pid92=$! pltcalc -s < fifo/il_S1_summarypltcalc_P31 > work/kat/il_S1_pltcalc_P31 & pid93=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P32 > work/kat/il_S1_eltcalc_P32 & pid94=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P32 > work/kat/il_S1_summarycalc_P32 & pid95=$! pltcalc -s < fifo/il_S1_summarypltcalc_P32 > work/kat/il_S1_pltcalc_P32 & pid96=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P33 > work/kat/il_S1_eltcalc_P33 & pid97=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P33 > work/kat/il_S1_summarycalc_P33 & pid98=$! pltcalc -s < fifo/il_S1_summarypltcalc_P33 > work/kat/il_S1_pltcalc_P33 & pid99=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P34 > work/kat/il_S1_eltcalc_P34 & pid100=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P34 > work/kat/il_S1_summarycalc_P34 & pid101=$! pltcalc -s < fifo/il_S1_summarypltcalc_P34 > work/kat/il_S1_pltcalc_P34 & pid102=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P35 > work/kat/il_S1_eltcalc_P35 & pid103=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P35 > work/kat/il_S1_summarycalc_P35 & pid104=$! pltcalc -s < fifo/il_S1_summarypltcalc_P35 > work/kat/il_S1_pltcalc_P35 & pid105=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P36 > work/kat/il_S1_eltcalc_P36 & pid106=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P36 > work/kat/il_S1_summarycalc_P36 & pid107=$! pltcalc -s < fifo/il_S1_summarypltcalc_P36 > work/kat/il_S1_pltcalc_P36 & pid108=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P37 > work/kat/il_S1_eltcalc_P37 & pid109=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P37 > work/kat/il_S1_summarycalc_P37 & pid110=$! pltcalc -s < fifo/il_S1_summarypltcalc_P37 > work/kat/il_S1_pltcalc_P37 & pid111=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P38 > work/kat/il_S1_eltcalc_P38 & pid112=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P38 > work/kat/il_S1_summarycalc_P38 & pid113=$! pltcalc -s < fifo/il_S1_summarypltcalc_P38 > work/kat/il_S1_pltcalc_P38 & pid114=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P39 > work/kat/il_S1_eltcalc_P39 & pid115=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P39 > work/kat/il_S1_summarycalc_P39 & pid116=$! pltcalc -s < fifo/il_S1_summarypltcalc_P39 > work/kat/il_S1_pltcalc_P39 & pid117=$! eltcalc -s < fifo/il_S1_summaryeltcalc_P40 > work/kat/il_S1_eltcalc_P40 & pid118=$! summarycalctocsv -s < fifo/il_S1_summarysummarycalc_P40 > work/kat/il_S1_summarycalc_P40 & pid119=$! pltcalc -s < fifo/il_S1_summarypltcalc_P40 > work/kat/il_S1_pltcalc_P40 & pid120=$! tee < fifo/il_S1_summary_P1 fifo/il_S1_summaryeltcalc_P1 fifo/il_S1_summarypltcalc_P1 fifo/il_S1_summarysummarycalc_P1 work/il_S1_summaryaalcalc/P1.bin work/il_S1_summaryleccalc/P1.bin > /dev/null & pid121=$! tee < fifo/il_S1_summary_P2 fifo/il_S1_summaryeltcalc_P2 fifo/il_S1_summarypltcalc_P2 fifo/il_S1_summarysummarycalc_P2 work/il_S1_summaryaalcalc/P2.bin work/il_S1_summaryleccalc/P2.bin > /dev/null & pid122=$! tee < fifo/il_S1_summary_P3 fifo/il_S1_summaryeltcalc_P3 fifo/il_S1_summarypltcalc_P3 fifo/il_S1_summarysummarycalc_P3 work/il_S1_summaryaalcalc/P3.bin work/il_S1_summaryleccalc/P3.bin > /dev/null & pid123=$! tee < fifo/il_S1_summary_P4 fifo/il_S1_summaryeltcalc_P4 fifo/il_S1_summarypltcalc_P4 fifo/il_S1_summarysummarycalc_P4 work/il_S1_summaryaalcalc/P4.bin work/il_S1_summaryleccalc/P4.bin > /dev/null & pid124=$! tee < fifo/il_S1_summary_P5 fifo/il_S1_summaryeltcalc_P5 fifo/il_S1_summarypltcalc_P5 fifo/il_S1_summarysummarycalc_P5 work/il_S1_summaryaalcalc/P5.bin work/il_S1_summaryleccalc/P5.bin > /dev/null & pid125=$! tee < fifo/il_S1_summary_P6 fifo/il_S1_summaryeltcalc_P6 fifo/il_S1_summarypltcalc_P6 fifo/il_S1_summarysummarycalc_P6 work/il_S1_summaryaalcalc/P6.bin work/il_S1_summaryleccalc/P6.bin > /dev/null & pid126=$! tee < fifo/il_S1_summary_P7 fifo/il_S1_summaryeltcalc_P7 fifo/il_S1_summarypltcalc_P7 fifo/il_S1_summarysummarycalc_P7 work/il_S1_summaryaalcalc/P7.bin work/il_S1_summaryleccalc/P7.bin > /dev/null & pid127=$! tee < fifo/il_S1_summary_P8 fifo/il_S1_summaryeltcalc_P8 fifo/il_S1_summarypltcalc_P8 fifo/il_S1_summarysummarycalc_P8 work/il_S1_summaryaalcalc/P8.bin work/il_S1_summaryleccalc/P8.bin > /dev/null & pid128=$! tee < fifo/il_S1_summary_P9 fifo/il_S1_summaryeltcalc_P9 fifo/il_S1_summarypltcalc_P9 fifo/il_S1_summarysummarycalc_P9 work/il_S1_summaryaalcalc/P9.bin work/il_S1_summaryleccalc/P9.bin > /dev/null & pid129=$! tee < fifo/il_S1_summary_P10 fifo/il_S1_summaryeltcalc_P10 fifo/il_S1_summarypltcalc_P10 fifo/il_S1_summarysummarycalc_P10 work/il_S1_summaryaalcalc/P10.bin work/il_S1_summaryleccalc/P10.bin > /dev/null & pid130=$! tee < fifo/il_S1_summary_P11 fifo/il_S1_summaryeltcalc_P11 fifo/il_S1_summarypltcalc_P11 fifo/il_S1_summarysummarycalc_P11 work/il_S1_summaryaalcalc/P11.bin work/il_S1_summaryleccalc/P11.bin > /dev/null & pid131=$! tee < fifo/il_S1_summary_P12 fifo/il_S1_summaryeltcalc_P12 fifo/il_S1_summarypltcalc_P12 fifo/il_S1_summarysummarycalc_P12 work/il_S1_summaryaalcalc/P12.bin work/il_S1_summaryleccalc/P12.bin > /dev/null & pid132=$! tee < fifo/il_S1_summary_P13 fifo/il_S1_summaryeltcalc_P13 fifo/il_S1_summarypltcalc_P13 fifo/il_S1_summarysummarycalc_P13 work/il_S1_summaryaalcalc/P13.bin work/il_S1_summaryleccalc/P13.bin > /dev/null & pid133=$! tee < fifo/il_S1_summary_P14 fifo/il_S1_summaryeltcalc_P14 fifo/il_S1_summarypltcalc_P14 fifo/il_S1_summarysummarycalc_P14 work/il_S1_summaryaalcalc/P14.bin work/il_S1_summaryleccalc/P14.bin > /dev/null & pid134=$! tee < fifo/il_S1_summary_P15 fifo/il_S1_summaryeltcalc_P15 fifo/il_S1_summarypltcalc_P15 fifo/il_S1_summarysummarycalc_P15 work/il_S1_summaryaalcalc/P15.bin work/il_S1_summaryleccalc/P15.bin > /dev/null & pid135=$! tee < fifo/il_S1_summary_P16 fifo/il_S1_summaryeltcalc_P16 fifo/il_S1_summarypltcalc_P16 fifo/il_S1_summarysummarycalc_P16 work/il_S1_summaryaalcalc/P16.bin work/il_S1_summaryleccalc/P16.bin > /dev/null & pid136=$! tee < fifo/il_S1_summary_P17 fifo/il_S1_summaryeltcalc_P17 fifo/il_S1_summarypltcalc_P17 fifo/il_S1_summarysummarycalc_P17 work/il_S1_summaryaalcalc/P17.bin work/il_S1_summaryleccalc/P17.bin > /dev/null & pid137=$! tee < fifo/il_S1_summary_P18 fifo/il_S1_summaryeltcalc_P18 fifo/il_S1_summarypltcalc_P18 fifo/il_S1_summarysummarycalc_P18 work/il_S1_summaryaalcalc/P18.bin work/il_S1_summaryleccalc/P18.bin > /dev/null & pid138=$! tee < fifo/il_S1_summary_P19 fifo/il_S1_summaryeltcalc_P19 fifo/il_S1_summarypltcalc_P19 fifo/il_S1_summarysummarycalc_P19 work/il_S1_summaryaalcalc/P19.bin work/il_S1_summaryleccalc/P19.bin > /dev/null & pid139=$! tee < fifo/il_S1_summary_P20 fifo/il_S1_summaryeltcalc_P20 fifo/il_S1_summarypltcalc_P20 fifo/il_S1_summarysummarycalc_P20 work/il_S1_summaryaalcalc/P20.bin work/il_S1_summaryleccalc/P20.bin > /dev/null & pid140=$! tee < fifo/il_S1_summary_P21 fifo/il_S1_summaryeltcalc_P21 fifo/il_S1_summarypltcalc_P21 fifo/il_S1_summarysummarycalc_P21 work/il_S1_summaryaalcalc/P21.bin work/il_S1_summaryleccalc/P21.bin > /dev/null & pid141=$! tee < fifo/il_S1_summary_P22 fifo/il_S1_summaryeltcalc_P22 fifo/il_S1_summarypltcalc_P22 fifo/il_S1_summarysummarycalc_P22 work/il_S1_summaryaalcalc/P22.bin work/il_S1_summaryleccalc/P22.bin > /dev/null & pid142=$! tee < fifo/il_S1_summary_P23 fifo/il_S1_summaryeltcalc_P23 fifo/il_S1_summarypltcalc_P23 fifo/il_S1_summarysummarycalc_P23 work/il_S1_summaryaalcalc/P23.bin work/il_S1_summaryleccalc/P23.bin > /dev/null & pid143=$! tee < fifo/il_S1_summary_P24 fifo/il_S1_summaryeltcalc_P24 fifo/il_S1_summarypltcalc_P24 fifo/il_S1_summarysummarycalc_P24 work/il_S1_summaryaalcalc/P24.bin work/il_S1_summaryleccalc/P24.bin > /dev/null & pid144=$! tee < fifo/il_S1_summary_P25 fifo/il_S1_summaryeltcalc_P25 fifo/il_S1_summarypltcalc_P25 fifo/il_S1_summarysummarycalc_P25 work/il_S1_summaryaalcalc/P25.bin work/il_S1_summaryleccalc/P25.bin > /dev/null & pid145=$! tee < fifo/il_S1_summary_P26 fifo/il_S1_summaryeltcalc_P26 fifo/il_S1_summarypltcalc_P26 fifo/il_S1_summarysummarycalc_P26 work/il_S1_summaryaalcalc/P26.bin work/il_S1_summaryleccalc/P26.bin > /dev/null & pid146=$! tee < fifo/il_S1_summary_P27 fifo/il_S1_summaryeltcalc_P27 fifo/il_S1_summarypltcalc_P27 fifo/il_S1_summarysummarycalc_P27 work/il_S1_summaryaalcalc/P27.bin work/il_S1_summaryleccalc/P27.bin > /dev/null & pid147=$! tee < fifo/il_S1_summary_P28 fifo/il_S1_summaryeltcalc_P28 fifo/il_S1_summarypltcalc_P28 fifo/il_S1_summarysummarycalc_P28 work/il_S1_summaryaalcalc/P28.bin work/il_S1_summaryleccalc/P28.bin > /dev/null & pid148=$! tee < fifo/il_S1_summary_P29 fifo/il_S1_summaryeltcalc_P29 fifo/il_S1_summarypltcalc_P29 fifo/il_S1_summarysummarycalc_P29 work/il_S1_summaryaalcalc/P29.bin work/il_S1_summaryleccalc/P29.bin > /dev/null & pid149=$! tee < fifo/il_S1_summary_P30 fifo/il_S1_summaryeltcalc_P30 fifo/il_S1_summarypltcalc_P30 fifo/il_S1_summarysummarycalc_P30 work/il_S1_summaryaalcalc/P30.bin work/il_S1_summaryleccalc/P30.bin > /dev/null & pid150=$! tee < fifo/il_S1_summary_P31 fifo/il_S1_summaryeltcalc_P31 fifo/il_S1_summarypltcalc_P31 fifo/il_S1_summarysummarycalc_P31 work/il_S1_summaryaalcalc/P31.bin work/il_S1_summaryleccalc/P31.bin > /dev/null & pid151=$! tee < fifo/il_S1_summary_P32 fifo/il_S1_summaryeltcalc_P32 fifo/il_S1_summarypltcalc_P32 fifo/il_S1_summarysummarycalc_P32 work/il_S1_summaryaalcalc/P32.bin work/il_S1_summaryleccalc/P32.bin > /dev/null & pid152=$! tee < fifo/il_S1_summary_P33 fifo/il_S1_summaryeltcalc_P33 fifo/il_S1_summarypltcalc_P33 fifo/il_S1_summarysummarycalc_P33 work/il_S1_summaryaalcalc/P33.bin work/il_S1_summaryleccalc/P33.bin > /dev/null & pid153=$! tee < fifo/il_S1_summary_P34 fifo/il_S1_summaryeltcalc_P34 fifo/il_S1_summarypltcalc_P34 fifo/il_S1_summarysummarycalc_P34 work/il_S1_summaryaalcalc/P34.bin work/il_S1_summaryleccalc/P34.bin > /dev/null & pid154=$! tee < fifo/il_S1_summary_P35 fifo/il_S1_summaryeltcalc_P35 fifo/il_S1_summarypltcalc_P35 fifo/il_S1_summarysummarycalc_P35 work/il_S1_summaryaalcalc/P35.bin work/il_S1_summaryleccalc/P35.bin > /dev/null & pid155=$! tee < fifo/il_S1_summary_P36 fifo/il_S1_summaryeltcalc_P36 fifo/il_S1_summarypltcalc_P36 fifo/il_S1_summarysummarycalc_P36 work/il_S1_summaryaalcalc/P36.bin work/il_S1_summaryleccalc/P36.bin > /dev/null & pid156=$! tee < fifo/il_S1_summary_P37 fifo/il_S1_summaryeltcalc_P37 fifo/il_S1_summarypltcalc_P37 fifo/il_S1_summarysummarycalc_P37 work/il_S1_summaryaalcalc/P37.bin work/il_S1_summaryleccalc/P37.bin > /dev/null & pid157=$! tee < fifo/il_S1_summary_P38 fifo/il_S1_summaryeltcalc_P38 fifo/il_S1_summarypltcalc_P38 fifo/il_S1_summarysummarycalc_P38 work/il_S1_summaryaalcalc/P38.bin work/il_S1_summaryleccalc/P38.bin > /dev/null & pid158=$! tee < fifo/il_S1_summary_P39 fifo/il_S1_summaryeltcalc_P39 fifo/il_S1_summarypltcalc_P39 fifo/il_S1_summarysummarycalc_P39 work/il_S1_summaryaalcalc/P39.bin work/il_S1_summaryleccalc/P39.bin > /dev/null & pid159=$! tee < fifo/il_S1_summary_P40 fifo/il_S1_summaryeltcalc_P40 fifo/il_S1_summarypltcalc_P40 fifo/il_S1_summarysummarycalc_P40 work/il_S1_summaryaalcalc/P40.bin work/il_S1_summaryleccalc/P40.bin > /dev/null & pid160=$! ( summarycalc -f -1 fifo/il_S1_summary_P1 < fifo/il_P1 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P2 < fifo/il_P2 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P3 < fifo/il_P3 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P4 < fifo/il_P4 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P5 < fifo/il_P5 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P6 < fifo/il_P6 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P7 < fifo/il_P7 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P8 < fifo/il_P8 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P9 < fifo/il_P9 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P10 < fifo/il_P10 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P11 < fifo/il_P11 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P12 < fifo/il_P12 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P13 < fifo/il_P13 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P14 < fifo/il_P14 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P15 < fifo/il_P15 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P16 < fifo/il_P16 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P17 < fifo/il_P17 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P18 < fifo/il_P18 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P19 < fifo/il_P19 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P20 < fifo/il_P20 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P21 < fifo/il_P21 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P22 < fifo/il_P22 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P23 < fifo/il_P23 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P24 < fifo/il_P24 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P25 < fifo/il_P25 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P26 < fifo/il_P26 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P27 < fifo/il_P27 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P28 < fifo/il_P28 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P29 < fifo/il_P29 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P30 < fifo/il_P30 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P31 < fifo/il_P31 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P32 < fifo/il_P32 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P33 < fifo/il_P33 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P34 < fifo/il_P34 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P35 < fifo/il_P35 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P36 < fifo/il_P36 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P37 < fifo/il_P37 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P38 < fifo/il_P38 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P39 < fifo/il_P39 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/il_S1_summary_P40 < fifo/il_P40 ) 2>> log/stderror.err & # --- Do ground up loss computes --- eltcalc < fifo/gul_S1_summaryeltcalc_P1 > work/kat/gul_S1_eltcalc_P1 & pid161=$! summarycalctocsv < fifo/gul_S1_summarysummarycalc_P1 > work/kat/gul_S1_summarycalc_P1 & pid162=$! pltcalc < fifo/gul_S1_summarypltcalc_P1 > work/kat/gul_S1_pltcalc_P1 & pid163=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P2 > work/kat/gul_S1_eltcalc_P2 & pid164=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P2 > work/kat/gul_S1_summarycalc_P2 & pid165=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P2 > work/kat/gul_S1_pltcalc_P2 & pid166=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P3 > work/kat/gul_S1_eltcalc_P3 & pid167=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P3 > work/kat/gul_S1_summarycalc_P3 & pid168=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P3 > work/kat/gul_S1_pltcalc_P3 & pid169=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P4 > work/kat/gul_S1_eltcalc_P4 & pid170=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P4 > work/kat/gul_S1_summarycalc_P4 & pid171=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P4 > work/kat/gul_S1_pltcalc_P4 & pid172=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P5 > work/kat/gul_S1_eltcalc_P5 & pid173=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P5 > work/kat/gul_S1_summarycalc_P5 & pid174=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P5 > work/kat/gul_S1_pltcalc_P5 & pid175=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P6 > work/kat/gul_S1_eltcalc_P6 & pid176=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P6 > work/kat/gul_S1_summarycalc_P6 & pid177=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P6 > work/kat/gul_S1_pltcalc_P6 & pid178=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P7 > work/kat/gul_S1_eltcalc_P7 & pid179=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P7 > work/kat/gul_S1_summarycalc_P7 & pid180=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P7 > work/kat/gul_S1_pltcalc_P7 & pid181=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P8 > work/kat/gul_S1_eltcalc_P8 & pid182=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P8 > work/kat/gul_S1_summarycalc_P8 & pid183=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P8 > work/kat/gul_S1_pltcalc_P8 & pid184=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P9 > work/kat/gul_S1_eltcalc_P9 & pid185=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P9 > work/kat/gul_S1_summarycalc_P9 & pid186=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P9 > work/kat/gul_S1_pltcalc_P9 & pid187=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P10 > work/kat/gul_S1_eltcalc_P10 & pid188=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P10 > work/kat/gul_S1_summarycalc_P10 & pid189=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P10 > work/kat/gul_S1_pltcalc_P10 & pid190=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P11 > work/kat/gul_S1_eltcalc_P11 & pid191=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P11 > work/kat/gul_S1_summarycalc_P11 & pid192=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P11 > work/kat/gul_S1_pltcalc_P11 & pid193=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P12 > work/kat/gul_S1_eltcalc_P12 & pid194=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P12 > work/kat/gul_S1_summarycalc_P12 & pid195=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P12 > work/kat/gul_S1_pltcalc_P12 & pid196=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P13 > work/kat/gul_S1_eltcalc_P13 & pid197=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P13 > work/kat/gul_S1_summarycalc_P13 & pid198=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P13 > work/kat/gul_S1_pltcalc_P13 & pid199=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P14 > work/kat/gul_S1_eltcalc_P14 & pid200=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P14 > work/kat/gul_S1_summarycalc_P14 & pid201=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P14 > work/kat/gul_S1_pltcalc_P14 & pid202=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P15 > work/kat/gul_S1_eltcalc_P15 & pid203=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P15 > work/kat/gul_S1_summarycalc_P15 & pid204=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P15 > work/kat/gul_S1_pltcalc_P15 & pid205=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P16 > work/kat/gul_S1_eltcalc_P16 & pid206=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P16 > work/kat/gul_S1_summarycalc_P16 & pid207=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P16 > work/kat/gul_S1_pltcalc_P16 & pid208=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P17 > work/kat/gul_S1_eltcalc_P17 & pid209=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P17 > work/kat/gul_S1_summarycalc_P17 & pid210=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P17 > work/kat/gul_S1_pltcalc_P17 & pid211=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P18 > work/kat/gul_S1_eltcalc_P18 & pid212=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P18 > work/kat/gul_S1_summarycalc_P18 & pid213=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P18 > work/kat/gul_S1_pltcalc_P18 & pid214=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P19 > work/kat/gul_S1_eltcalc_P19 & pid215=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P19 > work/kat/gul_S1_summarycalc_P19 & pid216=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P19 > work/kat/gul_S1_pltcalc_P19 & pid217=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P20 > work/kat/gul_S1_eltcalc_P20 & pid218=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P20 > work/kat/gul_S1_summarycalc_P20 & pid219=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P20 > work/kat/gul_S1_pltcalc_P20 & pid220=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P21 > work/kat/gul_S1_eltcalc_P21 & pid221=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P21 > work/kat/gul_S1_summarycalc_P21 & pid222=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P21 > work/kat/gul_S1_pltcalc_P21 & pid223=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P22 > work/kat/gul_S1_eltcalc_P22 & pid224=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P22 > work/kat/gul_S1_summarycalc_P22 & pid225=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P22 > work/kat/gul_S1_pltcalc_P22 & pid226=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P23 > work/kat/gul_S1_eltcalc_P23 & pid227=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P23 > work/kat/gul_S1_summarycalc_P23 & pid228=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P23 > work/kat/gul_S1_pltcalc_P23 & pid229=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P24 > work/kat/gul_S1_eltcalc_P24 & pid230=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P24 > work/kat/gul_S1_summarycalc_P24 & pid231=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P24 > work/kat/gul_S1_pltcalc_P24 & pid232=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P25 > work/kat/gul_S1_eltcalc_P25 & pid233=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P25 > work/kat/gul_S1_summarycalc_P25 & pid234=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P25 > work/kat/gul_S1_pltcalc_P25 & pid235=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P26 > work/kat/gul_S1_eltcalc_P26 & pid236=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P26 > work/kat/gul_S1_summarycalc_P26 & pid237=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P26 > work/kat/gul_S1_pltcalc_P26 & pid238=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P27 > work/kat/gul_S1_eltcalc_P27 & pid239=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P27 > work/kat/gul_S1_summarycalc_P27 & pid240=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P27 > work/kat/gul_S1_pltcalc_P27 & pid241=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P28 > work/kat/gul_S1_eltcalc_P28 & pid242=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P28 > work/kat/gul_S1_summarycalc_P28 & pid243=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P28 > work/kat/gul_S1_pltcalc_P28 & pid244=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P29 > work/kat/gul_S1_eltcalc_P29 & pid245=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P29 > work/kat/gul_S1_summarycalc_P29 & pid246=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P29 > work/kat/gul_S1_pltcalc_P29 & pid247=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P30 > work/kat/gul_S1_eltcalc_P30 & pid248=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P30 > work/kat/gul_S1_summarycalc_P30 & pid249=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P30 > work/kat/gul_S1_pltcalc_P30 & pid250=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P31 > work/kat/gul_S1_eltcalc_P31 & pid251=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P31 > work/kat/gul_S1_summarycalc_P31 & pid252=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P31 > work/kat/gul_S1_pltcalc_P31 & pid253=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P32 > work/kat/gul_S1_eltcalc_P32 & pid254=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P32 > work/kat/gul_S1_summarycalc_P32 & pid255=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P32 > work/kat/gul_S1_pltcalc_P32 & pid256=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P33 > work/kat/gul_S1_eltcalc_P33 & pid257=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P33 > work/kat/gul_S1_summarycalc_P33 & pid258=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P33 > work/kat/gul_S1_pltcalc_P33 & pid259=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P34 > work/kat/gul_S1_eltcalc_P34 & pid260=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P34 > work/kat/gul_S1_summarycalc_P34 & pid261=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P34 > work/kat/gul_S1_pltcalc_P34 & pid262=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P35 > work/kat/gul_S1_eltcalc_P35 & pid263=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P35 > work/kat/gul_S1_summarycalc_P35 & pid264=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P35 > work/kat/gul_S1_pltcalc_P35 & pid265=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P36 > work/kat/gul_S1_eltcalc_P36 & pid266=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P36 > work/kat/gul_S1_summarycalc_P36 & pid267=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P36 > work/kat/gul_S1_pltcalc_P36 & pid268=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P37 > work/kat/gul_S1_eltcalc_P37 & pid269=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P37 > work/kat/gul_S1_summarycalc_P37 & pid270=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P37 > work/kat/gul_S1_pltcalc_P37 & pid271=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P38 > work/kat/gul_S1_eltcalc_P38 & pid272=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P38 > work/kat/gul_S1_summarycalc_P38 & pid273=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P38 > work/kat/gul_S1_pltcalc_P38 & pid274=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P39 > work/kat/gul_S1_eltcalc_P39 & pid275=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P39 > work/kat/gul_S1_summarycalc_P39 & pid276=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P39 > work/kat/gul_S1_pltcalc_P39 & pid277=$! eltcalc -s < fifo/gul_S1_summaryeltcalc_P40 > work/kat/gul_S1_eltcalc_P40 & pid278=$! summarycalctocsv -s < fifo/gul_S1_summarysummarycalc_P40 > work/kat/gul_S1_summarycalc_P40 & pid279=$! pltcalc -s < fifo/gul_S1_summarypltcalc_P40 > work/kat/gul_S1_pltcalc_P40 & pid280=$! tee < fifo/gul_S1_summary_P1 fifo/gul_S1_summaryeltcalc_P1 fifo/gul_S1_summarypltcalc_P1 fifo/gul_S1_summarysummarycalc_P1 work/gul_S1_summaryaalcalc/P1.bin work/gul_S1_summaryleccalc/P1.bin > /dev/null & pid281=$! tee < fifo/gul_S1_summary_P2 fifo/gul_S1_summaryeltcalc_P2 fifo/gul_S1_summarypltcalc_P2 fifo/gul_S1_summarysummarycalc_P2 work/gul_S1_summaryaalcalc/P2.bin work/gul_S1_summaryleccalc/P2.bin > /dev/null & pid282=$! tee < fifo/gul_S1_summary_P3 fifo/gul_S1_summaryeltcalc_P3 fifo/gul_S1_summarypltcalc_P3 fifo/gul_S1_summarysummarycalc_P3 work/gul_S1_summaryaalcalc/P3.bin work/gul_S1_summaryleccalc/P3.bin > /dev/null & pid283=$! tee < fifo/gul_S1_summary_P4 fifo/gul_S1_summaryeltcalc_P4 fifo/gul_S1_summarypltcalc_P4 fifo/gul_S1_summarysummarycalc_P4 work/gul_S1_summaryaalcalc/P4.bin work/gul_S1_summaryleccalc/P4.bin > /dev/null & pid284=$! tee < fifo/gul_S1_summary_P5 fifo/gul_S1_summaryeltcalc_P5 fifo/gul_S1_summarypltcalc_P5 fifo/gul_S1_summarysummarycalc_P5 work/gul_S1_summaryaalcalc/P5.bin work/gul_S1_summaryleccalc/P5.bin > /dev/null & pid285=$! tee < fifo/gul_S1_summary_P6 fifo/gul_S1_summaryeltcalc_P6 fifo/gul_S1_summarypltcalc_P6 fifo/gul_S1_summarysummarycalc_P6 work/gul_S1_summaryaalcalc/P6.bin work/gul_S1_summaryleccalc/P6.bin > /dev/null & pid286=$! tee < fifo/gul_S1_summary_P7 fifo/gul_S1_summaryeltcalc_P7 fifo/gul_S1_summarypltcalc_P7 fifo/gul_S1_summarysummarycalc_P7 work/gul_S1_summaryaalcalc/P7.bin work/gul_S1_summaryleccalc/P7.bin > /dev/null & pid287=$! tee < fifo/gul_S1_summary_P8 fifo/gul_S1_summaryeltcalc_P8 fifo/gul_S1_summarypltcalc_P8 fifo/gul_S1_summarysummarycalc_P8 work/gul_S1_summaryaalcalc/P8.bin work/gul_S1_summaryleccalc/P8.bin > /dev/null & pid288=$! tee < fifo/gul_S1_summary_P9 fifo/gul_S1_summaryeltcalc_P9 fifo/gul_S1_summarypltcalc_P9 fifo/gul_S1_summarysummarycalc_P9 work/gul_S1_summaryaalcalc/P9.bin work/gul_S1_summaryleccalc/P9.bin > /dev/null & pid289=$! tee < fifo/gul_S1_summary_P10 fifo/gul_S1_summaryeltcalc_P10 fifo/gul_S1_summarypltcalc_P10 fifo/gul_S1_summarysummarycalc_P10 work/gul_S1_summaryaalcalc/P10.bin work/gul_S1_summaryleccalc/P10.bin > /dev/null & pid290=$! tee < fifo/gul_S1_summary_P11 fifo/gul_S1_summaryeltcalc_P11 fifo/gul_S1_summarypltcalc_P11 fifo/gul_S1_summarysummarycalc_P11 work/gul_S1_summaryaalcalc/P11.bin work/gul_S1_summaryleccalc/P11.bin > /dev/null & pid291=$! tee < fifo/gul_S1_summary_P12 fifo/gul_S1_summaryeltcalc_P12 fifo/gul_S1_summarypltcalc_P12 fifo/gul_S1_summarysummarycalc_P12 work/gul_S1_summaryaalcalc/P12.bin work/gul_S1_summaryleccalc/P12.bin > /dev/null & pid292=$! tee < fifo/gul_S1_summary_P13 fifo/gul_S1_summaryeltcalc_P13 fifo/gul_S1_summarypltcalc_P13 fifo/gul_S1_summarysummarycalc_P13 work/gul_S1_summaryaalcalc/P13.bin work/gul_S1_summaryleccalc/P13.bin > /dev/null & pid293=$! tee < fifo/gul_S1_summary_P14 fifo/gul_S1_summaryeltcalc_P14 fifo/gul_S1_summarypltcalc_P14 fifo/gul_S1_summarysummarycalc_P14 work/gul_S1_summaryaalcalc/P14.bin work/gul_S1_summaryleccalc/P14.bin > /dev/null & pid294=$! tee < fifo/gul_S1_summary_P15 fifo/gul_S1_summaryeltcalc_P15 fifo/gul_S1_summarypltcalc_P15 fifo/gul_S1_summarysummarycalc_P15 work/gul_S1_summaryaalcalc/P15.bin work/gul_S1_summaryleccalc/P15.bin > /dev/null & pid295=$! tee < fifo/gul_S1_summary_P16 fifo/gul_S1_summaryeltcalc_P16 fifo/gul_S1_summarypltcalc_P16 fifo/gul_S1_summarysummarycalc_P16 work/gul_S1_summaryaalcalc/P16.bin work/gul_S1_summaryleccalc/P16.bin > /dev/null & pid296=$! tee < fifo/gul_S1_summary_P17 fifo/gul_S1_summaryeltcalc_P17 fifo/gul_S1_summarypltcalc_P17 fifo/gul_S1_summarysummarycalc_P17 work/gul_S1_summaryaalcalc/P17.bin work/gul_S1_summaryleccalc/P17.bin > /dev/null & pid297=$! tee < fifo/gul_S1_summary_P18 fifo/gul_S1_summaryeltcalc_P18 fifo/gul_S1_summarypltcalc_P18 fifo/gul_S1_summarysummarycalc_P18 work/gul_S1_summaryaalcalc/P18.bin work/gul_S1_summaryleccalc/P18.bin > /dev/null & pid298=$! tee < fifo/gul_S1_summary_P19 fifo/gul_S1_summaryeltcalc_P19 fifo/gul_S1_summarypltcalc_P19 fifo/gul_S1_summarysummarycalc_P19 work/gul_S1_summaryaalcalc/P19.bin work/gul_S1_summaryleccalc/P19.bin > /dev/null & pid299=$! tee < fifo/gul_S1_summary_P20 fifo/gul_S1_summaryeltcalc_P20 fifo/gul_S1_summarypltcalc_P20 fifo/gul_S1_summarysummarycalc_P20 work/gul_S1_summaryaalcalc/P20.bin work/gul_S1_summaryleccalc/P20.bin > /dev/null & pid300=$! tee < fifo/gul_S1_summary_P21 fifo/gul_S1_summaryeltcalc_P21 fifo/gul_S1_summarypltcalc_P21 fifo/gul_S1_summarysummarycalc_P21 work/gul_S1_summaryaalcalc/P21.bin work/gul_S1_summaryleccalc/P21.bin > /dev/null & pid301=$! tee < fifo/gul_S1_summary_P22 fifo/gul_S1_summaryeltcalc_P22 fifo/gul_S1_summarypltcalc_P22 fifo/gul_S1_summarysummarycalc_P22 work/gul_S1_summaryaalcalc/P22.bin work/gul_S1_summaryleccalc/P22.bin > /dev/null & pid302=$! tee < fifo/gul_S1_summary_P23 fifo/gul_S1_summaryeltcalc_P23 fifo/gul_S1_summarypltcalc_P23 fifo/gul_S1_summarysummarycalc_P23 work/gul_S1_summaryaalcalc/P23.bin work/gul_S1_summaryleccalc/P23.bin > /dev/null & pid303=$! tee < fifo/gul_S1_summary_P24 fifo/gul_S1_summaryeltcalc_P24 fifo/gul_S1_summarypltcalc_P24 fifo/gul_S1_summarysummarycalc_P24 work/gul_S1_summaryaalcalc/P24.bin work/gul_S1_summaryleccalc/P24.bin > /dev/null & pid304=$! tee < fifo/gul_S1_summary_P25 fifo/gul_S1_summaryeltcalc_P25 fifo/gul_S1_summarypltcalc_P25 fifo/gul_S1_summarysummarycalc_P25 work/gul_S1_summaryaalcalc/P25.bin work/gul_S1_summaryleccalc/P25.bin > /dev/null & pid305=$! tee < fifo/gul_S1_summary_P26 fifo/gul_S1_summaryeltcalc_P26 fifo/gul_S1_summarypltcalc_P26 fifo/gul_S1_summarysummarycalc_P26 work/gul_S1_summaryaalcalc/P26.bin work/gul_S1_summaryleccalc/P26.bin > /dev/null & pid306=$! tee < fifo/gul_S1_summary_P27 fifo/gul_S1_summaryeltcalc_P27 fifo/gul_S1_summarypltcalc_P27 fifo/gul_S1_summarysummarycalc_P27 work/gul_S1_summaryaalcalc/P27.bin work/gul_S1_summaryleccalc/P27.bin > /dev/null & pid307=$! tee < fifo/gul_S1_summary_P28 fifo/gul_S1_summaryeltcalc_P28 fifo/gul_S1_summarypltcalc_P28 fifo/gul_S1_summarysummarycalc_P28 work/gul_S1_summaryaalcalc/P28.bin work/gul_S1_summaryleccalc/P28.bin > /dev/null & pid308=$! tee < fifo/gul_S1_summary_P29 fifo/gul_S1_summaryeltcalc_P29 fifo/gul_S1_summarypltcalc_P29 fifo/gul_S1_summarysummarycalc_P29 work/gul_S1_summaryaalcalc/P29.bin work/gul_S1_summaryleccalc/P29.bin > /dev/null & pid309=$! tee < fifo/gul_S1_summary_P30 fifo/gul_S1_summaryeltcalc_P30 fifo/gul_S1_summarypltcalc_P30 fifo/gul_S1_summarysummarycalc_P30 work/gul_S1_summaryaalcalc/P30.bin work/gul_S1_summaryleccalc/P30.bin > /dev/null & pid310=$! tee < fifo/gul_S1_summary_P31 fifo/gul_S1_summaryeltcalc_P31 fifo/gul_S1_summarypltcalc_P31 fifo/gul_S1_summarysummarycalc_P31 work/gul_S1_summaryaalcalc/P31.bin work/gul_S1_summaryleccalc/P31.bin > /dev/null & pid311=$! tee < fifo/gul_S1_summary_P32 fifo/gul_S1_summaryeltcalc_P32 fifo/gul_S1_summarypltcalc_P32 fifo/gul_S1_summarysummarycalc_P32 work/gul_S1_summaryaalcalc/P32.bin work/gul_S1_summaryleccalc/P32.bin > /dev/null & pid312=$! tee < fifo/gul_S1_summary_P33 fifo/gul_S1_summaryeltcalc_P33 fifo/gul_S1_summarypltcalc_P33 fifo/gul_S1_summarysummarycalc_P33 work/gul_S1_summaryaalcalc/P33.bin work/gul_S1_summaryleccalc/P33.bin > /dev/null & pid313=$! tee < fifo/gul_S1_summary_P34 fifo/gul_S1_summaryeltcalc_P34 fifo/gul_S1_summarypltcalc_P34 fifo/gul_S1_summarysummarycalc_P34 work/gul_S1_summaryaalcalc/P34.bin work/gul_S1_summaryleccalc/P34.bin > /dev/null & pid314=$! tee < fifo/gul_S1_summary_P35 fifo/gul_S1_summaryeltcalc_P35 fifo/gul_S1_summarypltcalc_P35 fifo/gul_S1_summarysummarycalc_P35 work/gul_S1_summaryaalcalc/P35.bin work/gul_S1_summaryleccalc/P35.bin > /dev/null & pid315=$! tee < fifo/gul_S1_summary_P36 fifo/gul_S1_summaryeltcalc_P36 fifo/gul_S1_summarypltcalc_P36 fifo/gul_S1_summarysummarycalc_P36 work/gul_S1_summaryaalcalc/P36.bin work/gul_S1_summaryleccalc/P36.bin > /dev/null & pid316=$! tee < fifo/gul_S1_summary_P37 fifo/gul_S1_summaryeltcalc_P37 fifo/gul_S1_summarypltcalc_P37 fifo/gul_S1_summarysummarycalc_P37 work/gul_S1_summaryaalcalc/P37.bin work/gul_S1_summaryleccalc/P37.bin > /dev/null & pid317=$! tee < fifo/gul_S1_summary_P38 fifo/gul_S1_summaryeltcalc_P38 fifo/gul_S1_summarypltcalc_P38 fifo/gul_S1_summarysummarycalc_P38 work/gul_S1_summaryaalcalc/P38.bin work/gul_S1_summaryleccalc/P38.bin > /dev/null & pid318=$! tee < fifo/gul_S1_summary_P39 fifo/gul_S1_summaryeltcalc_P39 fifo/gul_S1_summarypltcalc_P39 fifo/gul_S1_summarysummarycalc_P39 work/gul_S1_summaryaalcalc/P39.bin work/gul_S1_summaryleccalc/P39.bin > /dev/null & pid319=$! tee < fifo/gul_S1_summary_P40 fifo/gul_S1_summaryeltcalc_P40 fifo/gul_S1_summarypltcalc_P40 fifo/gul_S1_summarysummarycalc_P40 work/gul_S1_summaryaalcalc/P40.bin work/gul_S1_summaryleccalc/P40.bin > /dev/null & pid320=$! ( summarycalc -i -1 fifo/gul_S1_summary_P1 < fifo/gul_P1 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P2 < fifo/gul_P2 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P3 < fifo/gul_P3 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P4 < fifo/gul_P4 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P5 < fifo/gul_P5 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P6 < fifo/gul_P6 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P7 < fifo/gul_P7 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P8 < fifo/gul_P8 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P9 < fifo/gul_P9 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P10 < fifo/gul_P10 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P11 < fifo/gul_P11 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P12 < fifo/gul_P12 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P13 < fifo/gul_P13 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P14 < fifo/gul_P14 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P15 < fifo/gul_P15 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P16 < fifo/gul_P16 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P17 < fifo/gul_P17 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P18 < fifo/gul_P18 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P19 < fifo/gul_P19 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P20 < fifo/gul_P20 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P21 < fifo/gul_P21 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P22 < fifo/gul_P22 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P23 < fifo/gul_P23 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P24 < fifo/gul_P24 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P25 < fifo/gul_P25 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P26 < fifo/gul_P26 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P27 < fifo/gul_P27 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P28 < fifo/gul_P28 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P29 < fifo/gul_P29 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P30 < fifo/gul_P30 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P31 < fifo/gul_P31 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P32 < fifo/gul_P32 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P33 < fifo/gul_P33 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P34 < fifo/gul_P34 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P35 < fifo/gul_P35 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P36 < fifo/gul_P36 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P37 < fifo/gul_P37 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P38 < fifo/gul_P38 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P39 < fifo/gul_P39 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/gul_S1_summary_P40 < fifo/gul_P40 ) 2>> log/stderror.err & ( eve 1 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P1 -a1 -i - | tee fifo/gul_P1 | fmcalc -a2 > fifo/il_P1 ) 2>> log/stderror.err & ( eve 2 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P2 -a1 -i - | tee fifo/gul_P2 | fmcalc -a2 > fifo/il_P2 ) 2>> log/stderror.err & ( eve 3 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P3 -a1 -i - | tee fifo/gul_P3 | fmcalc -a2 > fifo/il_P3 ) 2>> log/stderror.err & ( eve 4 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P4 -a1 -i - | tee fifo/gul_P4 | fmcalc -a2 > fifo/il_P4 ) 2>> log/stderror.err & ( eve 5 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P5 -a1 -i - | tee fifo/gul_P5 | fmcalc -a2 > fifo/il_P5 ) 2>> log/stderror.err & ( eve 6 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P6 -a1 -i - | tee fifo/gul_P6 | fmcalc -a2 > fifo/il_P6 ) 2>> log/stderror.err & ( eve 7 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P7 -a1 -i - | tee fifo/gul_P7 | fmcalc -a2 > fifo/il_P7 ) 2>> log/stderror.err & ( eve 8 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P8 -a1 -i - | tee fifo/gul_P8 | fmcalc -a2 > fifo/il_P8 ) 2>> log/stderror.err & ( eve 9 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P9 -a1 -i - | tee fifo/gul_P9 | fmcalc -a2 > fifo/il_P9 ) 2>> log/stderror.err & ( eve 10 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P10 -a1 -i - | tee fifo/gul_P10 | fmcalc -a2 > fifo/il_P10 ) 2>> log/stderror.err & ( eve 11 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P11 -a1 -i - | tee fifo/gul_P11 | fmcalc -a2 > fifo/il_P11 ) 2>> log/stderror.err & ( eve 12 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P12 -a1 -i - | tee fifo/gul_P12 | fmcalc -a2 > fifo/il_P12 ) 2>> log/stderror.err & ( eve 13 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P13 -a1 -i - | tee fifo/gul_P13 | fmcalc -a2 > fifo/il_P13 ) 2>> log/stderror.err & ( eve 14 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P14 -a1 -i - | tee fifo/gul_P14 | fmcalc -a2 > fifo/il_P14 ) 2>> log/stderror.err & ( eve 15 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P15 -a1 -i - | tee fifo/gul_P15 | fmcalc -a2 > fifo/il_P15 ) 2>> log/stderror.err & ( eve 16 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P16 -a1 -i - | tee fifo/gul_P16 | fmcalc -a2 > fifo/il_P16 ) 2>> log/stderror.err & ( eve 17 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P17 -a1 -i - | tee fifo/gul_P17 | fmcalc -a2 > fifo/il_P17 ) 2>> log/stderror.err & ( eve 18 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P18 -a1 -i - | tee fifo/gul_P18 | fmcalc -a2 > fifo/il_P18 ) 2>> log/stderror.err & ( eve 19 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P19 -a1 -i - | tee fifo/gul_P19 | fmcalc -a2 > fifo/il_P19 ) 2>> log/stderror.err & ( eve 20 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P20 -a1 -i - | tee fifo/gul_P20 | fmcalc -a2 > fifo/il_P20 ) 2>> log/stderror.err & ( eve 21 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P21 -a1 -i - | tee fifo/gul_P21 | fmcalc -a2 > fifo/il_P21 ) 2>> log/stderror.err & ( eve 22 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P22 -a1 -i - | tee fifo/gul_P22 | fmcalc -a2 > fifo/il_P22 ) 2>> log/stderror.err & ( eve 23 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P23 -a1 -i - | tee fifo/gul_P23 | fmcalc -a2 > fifo/il_P23 ) 2>> log/stderror.err & ( eve 24 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P24 -a1 -i - | tee fifo/gul_P24 | fmcalc -a2 > fifo/il_P24 ) 2>> log/stderror.err & ( eve 25 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P25 -a1 -i - | tee fifo/gul_P25 | fmcalc -a2 > fifo/il_P25 ) 2>> log/stderror.err & ( eve 26 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P26 -a1 -i - | tee fifo/gul_P26 | fmcalc -a2 > fifo/il_P26 ) 2>> log/stderror.err & ( eve 27 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P27 -a1 -i - | tee fifo/gul_P27 | fmcalc -a2 > fifo/il_P27 ) 2>> log/stderror.err & ( eve 28 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P28 -a1 -i - | tee fifo/gul_P28 | fmcalc -a2 > fifo/il_P28 ) 2>> log/stderror.err & ( eve 29 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P29 -a1 -i - | tee fifo/gul_P29 | fmcalc -a2 > fifo/il_P29 ) 2>> log/stderror.err & ( eve 30 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P30 -a1 -i - | tee fifo/gul_P30 | fmcalc -a2 > fifo/il_P30 ) 2>> log/stderror.err & ( eve 31 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P31 -a1 -i - | tee fifo/gul_P31 | fmcalc -a2 > fifo/il_P31 ) 2>> log/stderror.err & ( eve 32 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P32 -a1 -i - | tee fifo/gul_P32 | fmcalc -a2 > fifo/il_P32 ) 2>> log/stderror.err & ( eve 33 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P33 -a1 -i - | tee fifo/gul_P33 | fmcalc -a2 > fifo/il_P33 ) 2>> log/stderror.err & ( eve 34 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P34 -a1 -i - | tee fifo/gul_P34 | fmcalc -a2 > fifo/il_P34 ) 2>> log/stderror.err & ( eve 35 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P35 -a1 -i - | tee fifo/gul_P35 | fmcalc -a2 > fifo/il_P35 ) 2>> log/stderror.err & ( eve 36 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P36 -a1 -i - | tee fifo/gul_P36 | fmcalc -a2 > fifo/il_P36 ) 2>> log/stderror.err & ( eve 37 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P37 -a1 -i - | tee fifo/gul_P37 | fmcalc -a2 > fifo/il_P37 ) 2>> log/stderror.err & ( eve 38 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P38 -a1 -i - | tee fifo/gul_P38 | fmcalc -a2 > fifo/il_P38 ) 2>> log/stderror.err & ( eve 39 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P39 -a1 -i - | tee fifo/gul_P39 | fmcalc -a2 > fifo/il_P39 ) 2>> log/stderror.err & ( eve 40 40 | getmodel | gulcalc -S100 -L100 -r -j fifo/full_correlation/gul_P40 -a1 -i - | tee fifo/gul_P40 | fmcalc -a2 > fifo/il_P40 ) 2>> log/stderror.err & wait $pid1 $pid2 $pid3 $pid4 $pid5 $pid6 $pid7 $pid8 $pid9 $pid10 $pid11 $pid12 $pid13 $pid14 $pid15 $pid16 $pid17 $pid18 $pid19 $pid20 $pid21 $pid22 $pid23 $pid24 $pid25 $pid26 $pid27 $pid28 $pid29 $pid30 $pid31 $pid32 $pid33 $pid34 $pid35 $pid36 $pid37 $pid38 $pid39 $pid40 $pid41 $pid42 $pid43 $pid44 $pid45 $pid46 $pid47 $pid48 $pid49 $pid50 $pid51 $pid52 $pid53 $pid54 $pid55 $pid56 $pid57 $pid58 $pid59 $pid60 $pid61 $pid62 $pid63 $pid64 $pid65 $pid66 $pid67 $pid68 $pid69 $pid70 $pid71 $pid72 $pid73 $pid74 $pid75 $pid76 $pid77 $pid78 $pid79 $pid80 $pid81 $pid82 $pid83 $pid84 $pid85 $pid86 $pid87 $pid88 $pid89 $pid90 $pid91 $pid92 $pid93 $pid94 $pid95 $pid96 $pid97 $pid98 $pid99 $pid100 $pid101 $pid102 $pid103 $pid104 $pid105 $pid106 $pid107 $pid108 $pid109 $pid110 $pid111 $pid112 $pid113 $pid114 $pid115 $pid116 $pid117 $pid118 $pid119 $pid120 $pid121 $pid122 $pid123 $pid124 $pid125 $pid126 $pid127 $pid128 $pid129 $pid130 $pid131 $pid132 $pid133 $pid134 $pid135 $pid136 $pid137 $pid138 $pid139 $pid140 $pid141 $pid142 $pid143 $pid144 $pid145 $pid146 $pid147 $pid148 $pid149 $pid150 $pid151 $pid152 $pid153 $pid154 $pid155 $pid156 $pid157 $pid158 $pid159 $pid160 $pid161 $pid162 $pid163 $pid164 $pid165 $pid166 $pid167 $pid168 $pid169 $pid170 $pid171 $pid172 $pid173 $pid174 $pid175 $pid176 $pid177 $pid178 $pid179 $pid180 $pid181 $pid182 $pid183 $pid184 $pid185 $pid186 $pid187 $pid188 $pid189 $pid190 $pid191 $pid192 $pid193 $pid194 $pid195 $pid196 $pid197 $pid198 $pid199 $pid200 $pid201 $pid202 $pid203 $pid204 $pid205 $pid206 $pid207 $pid208 $pid209 $pid210 $pid211 $pid212 $pid213 $pid214 $pid215 $pid216 $pid217 $pid218 $pid219 $pid220 $pid221 $pid222 $pid223 $pid224 $pid225 $pid226 $pid227 $pid228 $pid229 $pid230 $pid231 $pid232 $pid233 $pid234 $pid235 $pid236 $pid237 $pid238 $pid239 $pid240 $pid241 $pid242 $pid243 $pid244 $pid245 $pid246 $pid247 $pid248 $pid249 $pid250 $pid251 $pid252 $pid253 $pid254 $pid255 $pid256 $pid257 $pid258 $pid259 $pid260 $pid261 $pid262 $pid263 $pid264 $pid265 $pid266 $pid267 $pid268 $pid269 $pid270 $pid271 $pid272 $pid273 $pid274 $pid275 $pid276 $pid277 $pid278 $pid279 $pid280 $pid281 $pid282 $pid283 $pid284 $pid285 $pid286 $pid287 $pid288 $pid289 $pid290 $pid291 $pid292 $pid293 $pid294 $pid295 $pid296 $pid297 $pid298 $pid299 $pid300 $pid301 $pid302 $pid303 $pid304 $pid305 $pid306 $pid307 $pid308 $pid309 $pid310 $pid311 $pid312 $pid313 $pid314 $pid315 $pid316 $pid317 $pid318 $pid319 $pid320 # --- Do computes for fully correlated output --- ( fmcalc-a2 < fifo/full_correlation/gul_P1 > fifo/full_correlation/il_P1 ) 2>> log/stderror.err & fcpid1=$! ( fmcalc-a2 < fifo/full_correlation/gul_P2 > fifo/full_correlation/il_P2 ) 2>> log/stderror.err & fcpid2=$! ( fmcalc-a2 < fifo/full_correlation/gul_P3 > fifo/full_correlation/il_P3 ) 2>> log/stderror.err & fcpid3=$! ( fmcalc-a2 < fifo/full_correlation/gul_P4 > fifo/full_correlation/il_P4 ) 2>> log/stderror.err & fcpid4=$! ( fmcalc-a2 < fifo/full_correlation/gul_P5 > fifo/full_correlation/il_P5 ) 2>> log/stderror.err & fcpid5=$! ( fmcalc-a2 < fifo/full_correlation/gul_P6 > fifo/full_correlation/il_P6 ) 2>> log/stderror.err & fcpid6=$! ( fmcalc-a2 < fifo/full_correlation/gul_P7 > fifo/full_correlation/il_P7 ) 2>> log/stderror.err & fcpid7=$! ( fmcalc-a2 < fifo/full_correlation/gul_P8 > fifo/full_correlation/il_P8 ) 2>> log/stderror.err & fcpid8=$! ( fmcalc-a2 < fifo/full_correlation/gul_P9 > fifo/full_correlation/il_P9 ) 2>> log/stderror.err & fcpid9=$! ( fmcalc-a2 < fifo/full_correlation/gul_P10 > fifo/full_correlation/il_P10 ) 2>> log/stderror.err & fcpid10=$! ( fmcalc-a2 < fifo/full_correlation/gul_P11 > fifo/full_correlation/il_P11 ) 2>> log/stderror.err & fcpid11=$! ( fmcalc-a2 < fifo/full_correlation/gul_P12 > fifo/full_correlation/il_P12 ) 2>> log/stderror.err & fcpid12=$! ( fmcalc-a2 < fifo/full_correlation/gul_P13 > fifo/full_correlation/il_P13 ) 2>> log/stderror.err & fcpid13=$! ( fmcalc-a2 < fifo/full_correlation/gul_P14 > fifo/full_correlation/il_P14 ) 2>> log/stderror.err & fcpid14=$! ( fmcalc-a2 < fifo/full_correlation/gul_P15 > fifo/full_correlation/il_P15 ) 2>> log/stderror.err & fcpid15=$! ( fmcalc-a2 < fifo/full_correlation/gul_P16 > fifo/full_correlation/il_P16 ) 2>> log/stderror.err & fcpid16=$! ( fmcalc-a2 < fifo/full_correlation/gul_P17 > fifo/full_correlation/il_P17 ) 2>> log/stderror.err & fcpid17=$! ( fmcalc-a2 < fifo/full_correlation/gul_P18 > fifo/full_correlation/il_P18 ) 2>> log/stderror.err & fcpid18=$! ( fmcalc-a2 < fifo/full_correlation/gul_P19 > fifo/full_correlation/il_P19 ) 2>> log/stderror.err & fcpid19=$! ( fmcalc-a2 < fifo/full_correlation/gul_P20 > fifo/full_correlation/il_P20 ) 2>> log/stderror.err & fcpid20=$! ( fmcalc-a2 < fifo/full_correlation/gul_P21 > fifo/full_correlation/il_P21 ) 2>> log/stderror.err & fcpid21=$! ( fmcalc-a2 < fifo/full_correlation/gul_P22 > fifo/full_correlation/il_P22 ) 2>> log/stderror.err & fcpid22=$! ( fmcalc-a2 < fifo/full_correlation/gul_P23 > fifo/full_correlation/il_P23 ) 2>> log/stderror.err & fcpid23=$! ( fmcalc-a2 < fifo/full_correlation/gul_P24 > fifo/full_correlation/il_P24 ) 2>> log/stderror.err & fcpid24=$! ( fmcalc-a2 < fifo/full_correlation/gul_P25 > fifo/full_correlation/il_P25 ) 2>> log/stderror.err & fcpid25=$! ( fmcalc-a2 < fifo/full_correlation/gul_P26 > fifo/full_correlation/il_P26 ) 2>> log/stderror.err & fcpid26=$! ( fmcalc-a2 < fifo/full_correlation/gul_P27 > fifo/full_correlation/il_P27 ) 2>> log/stderror.err & fcpid27=$! ( fmcalc-a2 < fifo/full_correlation/gul_P28 > fifo/full_correlation/il_P28 ) 2>> log/stderror.err & fcpid28=$! ( fmcalc-a2 < fifo/full_correlation/gul_P29 > fifo/full_correlation/il_P29 ) 2>> log/stderror.err & fcpid29=$! ( fmcalc-a2 < fifo/full_correlation/gul_P30 > fifo/full_correlation/il_P30 ) 2>> log/stderror.err & fcpid30=$! ( fmcalc-a2 < fifo/full_correlation/gul_P31 > fifo/full_correlation/il_P31 ) 2>> log/stderror.err & fcpid31=$! ( fmcalc-a2 < fifo/full_correlation/gul_P32 > fifo/full_correlation/il_P32 ) 2>> log/stderror.err & fcpid32=$! ( fmcalc-a2 < fifo/full_correlation/gul_P33 > fifo/full_correlation/il_P33 ) 2>> log/stderror.err & fcpid33=$! ( fmcalc-a2 < fifo/full_correlation/gul_P34 > fifo/full_correlation/il_P34 ) 2>> log/stderror.err & fcpid34=$! ( fmcalc-a2 < fifo/full_correlation/gul_P35 > fifo/full_correlation/il_P35 ) 2>> log/stderror.err & fcpid35=$! ( fmcalc-a2 < fifo/full_correlation/gul_P36 > fifo/full_correlation/il_P36 ) 2>> log/stderror.err & fcpid36=$! ( fmcalc-a2 < fifo/full_correlation/gul_P37 > fifo/full_correlation/il_P37 ) 2>> log/stderror.err & fcpid37=$! ( fmcalc-a2 < fifo/full_correlation/gul_P38 > fifo/full_correlation/il_P38 ) 2>> log/stderror.err & fcpid38=$! ( fmcalc-a2 < fifo/full_correlation/gul_P39 > fifo/full_correlation/il_P39 ) 2>> log/stderror.err & fcpid39=$! ( fmcalc-a2 < fifo/full_correlation/gul_P40 > fifo/full_correlation/il_P40 ) 2>> log/stderror.err & fcpid40=$! wait $fcpid1 $fcpid2 $fcpid3 $fcpid4 $fcpid5 $fcpid6 $fcpid7 $fcpid8 $fcpid9 $fcpid10 $fcpid11 $fcpid12 $fcpid13 $fcpid14 $fcpid15 $fcpid16 $fcpid17 $fcpid18 $fcpid19 $fcpid20 $fcpid21 $fcpid22 $fcpid23 $fcpid24 $fcpid25 $fcpid26 $fcpid27 $fcpid28 $fcpid29 $fcpid30 $fcpid31 $fcpid32 $fcpid33 $fcpid34 $fcpid35 $fcpid36 $fcpid37 $fcpid38 $fcpid39 $fcpid40 # --- Do insured loss computes --- eltcalc < fifo/full_correlation/il_S1_summaryeltcalc_P1 > work/full_correlation/kat/il_S1_eltcalc_P1 & pid1=$! summarycalctocsv < fifo/full_correlation/il_S1_summarysummarycalc_P1 > work/full_correlation/kat/il_S1_summarycalc_P1 & pid2=$! pltcalc < fifo/full_correlation/il_S1_summarypltcalc_P1 > work/full_correlation/kat/il_S1_pltcalc_P1 & pid3=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P2 > work/full_correlation/kat/il_S1_eltcalc_P2 & pid4=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P2 > work/full_correlation/kat/il_S1_summarycalc_P2 & pid5=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P2 > work/full_correlation/kat/il_S1_pltcalc_P2 & pid6=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P3 > work/full_correlation/kat/il_S1_eltcalc_P3 & pid7=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P3 > work/full_correlation/kat/il_S1_summarycalc_P3 & pid8=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P3 > work/full_correlation/kat/il_S1_pltcalc_P3 & pid9=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P4 > work/full_correlation/kat/il_S1_eltcalc_P4 & pid10=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P4 > work/full_correlation/kat/il_S1_summarycalc_P4 & pid11=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P4 > work/full_correlation/kat/il_S1_pltcalc_P4 & pid12=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P5 > work/full_correlation/kat/il_S1_eltcalc_P5 & pid13=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P5 > work/full_correlation/kat/il_S1_summarycalc_P5 & pid14=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P5 > work/full_correlation/kat/il_S1_pltcalc_P5 & pid15=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P6 > work/full_correlation/kat/il_S1_eltcalc_P6 & pid16=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P6 > work/full_correlation/kat/il_S1_summarycalc_P6 & pid17=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P6 > work/full_correlation/kat/il_S1_pltcalc_P6 & pid18=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P7 > work/full_correlation/kat/il_S1_eltcalc_P7 & pid19=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P7 > work/full_correlation/kat/il_S1_summarycalc_P7 & pid20=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P7 > work/full_correlation/kat/il_S1_pltcalc_P7 & pid21=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P8 > work/full_correlation/kat/il_S1_eltcalc_P8 & pid22=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P8 > work/full_correlation/kat/il_S1_summarycalc_P8 & pid23=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P8 > work/full_correlation/kat/il_S1_pltcalc_P8 & pid24=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P9 > work/full_correlation/kat/il_S1_eltcalc_P9 & pid25=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P9 > work/full_correlation/kat/il_S1_summarycalc_P9 & pid26=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P9 > work/full_correlation/kat/il_S1_pltcalc_P9 & pid27=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P10 > work/full_correlation/kat/il_S1_eltcalc_P10 & pid28=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P10 > work/full_correlation/kat/il_S1_summarycalc_P10 & pid29=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P10 > work/full_correlation/kat/il_S1_pltcalc_P10 & pid30=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P11 > work/full_correlation/kat/il_S1_eltcalc_P11 & pid31=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P11 > work/full_correlation/kat/il_S1_summarycalc_P11 & pid32=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P11 > work/full_correlation/kat/il_S1_pltcalc_P11 & pid33=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P12 > work/full_correlation/kat/il_S1_eltcalc_P12 & pid34=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P12 > work/full_correlation/kat/il_S1_summarycalc_P12 & pid35=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P12 > work/full_correlation/kat/il_S1_pltcalc_P12 & pid36=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P13 > work/full_correlation/kat/il_S1_eltcalc_P13 & pid37=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P13 > work/full_correlation/kat/il_S1_summarycalc_P13 & pid38=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P13 > work/full_correlation/kat/il_S1_pltcalc_P13 & pid39=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P14 > work/full_correlation/kat/il_S1_eltcalc_P14 & pid40=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P14 > work/full_correlation/kat/il_S1_summarycalc_P14 & pid41=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P14 > work/full_correlation/kat/il_S1_pltcalc_P14 & pid42=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P15 > work/full_correlation/kat/il_S1_eltcalc_P15 & pid43=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P15 > work/full_correlation/kat/il_S1_summarycalc_P15 & pid44=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P15 > work/full_correlation/kat/il_S1_pltcalc_P15 & pid45=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P16 > work/full_correlation/kat/il_S1_eltcalc_P16 & pid46=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P16 > work/full_correlation/kat/il_S1_summarycalc_P16 & pid47=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P16 > work/full_correlation/kat/il_S1_pltcalc_P16 & pid48=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P17 > work/full_correlation/kat/il_S1_eltcalc_P17 & pid49=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P17 > work/full_correlation/kat/il_S1_summarycalc_P17 & pid50=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P17 > work/full_correlation/kat/il_S1_pltcalc_P17 & pid51=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P18 > work/full_correlation/kat/il_S1_eltcalc_P18 & pid52=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P18 > work/full_correlation/kat/il_S1_summarycalc_P18 & pid53=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P18 > work/full_correlation/kat/il_S1_pltcalc_P18 & pid54=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P19 > work/full_correlation/kat/il_S1_eltcalc_P19 & pid55=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P19 > work/full_correlation/kat/il_S1_summarycalc_P19 & pid56=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P19 > work/full_correlation/kat/il_S1_pltcalc_P19 & pid57=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P20 > work/full_correlation/kat/il_S1_eltcalc_P20 & pid58=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P20 > work/full_correlation/kat/il_S1_summarycalc_P20 & pid59=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P20 > work/full_correlation/kat/il_S1_pltcalc_P20 & pid60=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P21 > work/full_correlation/kat/il_S1_eltcalc_P21 & pid61=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P21 > work/full_correlation/kat/il_S1_summarycalc_P21 & pid62=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P21 > work/full_correlation/kat/il_S1_pltcalc_P21 & pid63=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P22 > work/full_correlation/kat/il_S1_eltcalc_P22 & pid64=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P22 > work/full_correlation/kat/il_S1_summarycalc_P22 & pid65=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P22 > work/full_correlation/kat/il_S1_pltcalc_P22 & pid66=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P23 > work/full_correlation/kat/il_S1_eltcalc_P23 & pid67=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P23 > work/full_correlation/kat/il_S1_summarycalc_P23 & pid68=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P23 > work/full_correlation/kat/il_S1_pltcalc_P23 & pid69=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P24 > work/full_correlation/kat/il_S1_eltcalc_P24 & pid70=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P24 > work/full_correlation/kat/il_S1_summarycalc_P24 & pid71=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P24 > work/full_correlation/kat/il_S1_pltcalc_P24 & pid72=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P25 > work/full_correlation/kat/il_S1_eltcalc_P25 & pid73=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P25 > work/full_correlation/kat/il_S1_summarycalc_P25 & pid74=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P25 > work/full_correlation/kat/il_S1_pltcalc_P25 & pid75=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P26 > work/full_correlation/kat/il_S1_eltcalc_P26 & pid76=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P26 > work/full_correlation/kat/il_S1_summarycalc_P26 & pid77=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P26 > work/full_correlation/kat/il_S1_pltcalc_P26 & pid78=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P27 > work/full_correlation/kat/il_S1_eltcalc_P27 & pid79=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P27 > work/full_correlation/kat/il_S1_summarycalc_P27 & pid80=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P27 > work/full_correlation/kat/il_S1_pltcalc_P27 & pid81=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P28 > work/full_correlation/kat/il_S1_eltcalc_P28 & pid82=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P28 > work/full_correlation/kat/il_S1_summarycalc_P28 & pid83=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P28 > work/full_correlation/kat/il_S1_pltcalc_P28 & pid84=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P29 > work/full_correlation/kat/il_S1_eltcalc_P29 & pid85=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P29 > work/full_correlation/kat/il_S1_summarycalc_P29 & pid86=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P29 > work/full_correlation/kat/il_S1_pltcalc_P29 & pid87=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P30 > work/full_correlation/kat/il_S1_eltcalc_P30 & pid88=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P30 > work/full_correlation/kat/il_S1_summarycalc_P30 & pid89=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P30 > work/full_correlation/kat/il_S1_pltcalc_P30 & pid90=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P31 > work/full_correlation/kat/il_S1_eltcalc_P31 & pid91=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P31 > work/full_correlation/kat/il_S1_summarycalc_P31 & pid92=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P31 > work/full_correlation/kat/il_S1_pltcalc_P31 & pid93=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P32 > work/full_correlation/kat/il_S1_eltcalc_P32 & pid94=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P32 > work/full_correlation/kat/il_S1_summarycalc_P32 & pid95=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P32 > work/full_correlation/kat/il_S1_pltcalc_P32 & pid96=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P33 > work/full_correlation/kat/il_S1_eltcalc_P33 & pid97=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P33 > work/full_correlation/kat/il_S1_summarycalc_P33 & pid98=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P33 > work/full_correlation/kat/il_S1_pltcalc_P33 & pid99=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P34 > work/full_correlation/kat/il_S1_eltcalc_P34 & pid100=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P34 > work/full_correlation/kat/il_S1_summarycalc_P34 & pid101=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P34 > work/full_correlation/kat/il_S1_pltcalc_P34 & pid102=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P35 > work/full_correlation/kat/il_S1_eltcalc_P35 & pid103=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P35 > work/full_correlation/kat/il_S1_summarycalc_P35 & pid104=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P35 > work/full_correlation/kat/il_S1_pltcalc_P35 & pid105=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P36 > work/full_correlation/kat/il_S1_eltcalc_P36 & pid106=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P36 > work/full_correlation/kat/il_S1_summarycalc_P36 & pid107=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P36 > work/full_correlation/kat/il_S1_pltcalc_P36 & pid108=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P37 > work/full_correlation/kat/il_S1_eltcalc_P37 & pid109=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P37 > work/full_correlation/kat/il_S1_summarycalc_P37 & pid110=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P37 > work/full_correlation/kat/il_S1_pltcalc_P37 & pid111=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P38 > work/full_correlation/kat/il_S1_eltcalc_P38 & pid112=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P38 > work/full_correlation/kat/il_S1_summarycalc_P38 & pid113=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P38 > work/full_correlation/kat/il_S1_pltcalc_P38 & pid114=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P39 > work/full_correlation/kat/il_S1_eltcalc_P39 & pid115=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P39 > work/full_correlation/kat/il_S1_summarycalc_P39 & pid116=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P39 > work/full_correlation/kat/il_S1_pltcalc_P39 & pid117=$! eltcalc -s < fifo/full_correlation/il_S1_summaryeltcalc_P40 > work/full_correlation/kat/il_S1_eltcalc_P40 & pid118=$! summarycalctocsv -s < fifo/full_correlation/il_S1_summarysummarycalc_P40 > work/full_correlation/kat/il_S1_summarycalc_P40 & pid119=$! pltcalc -s < fifo/full_correlation/il_S1_summarypltcalc_P40 > work/full_correlation/kat/il_S1_pltcalc_P40 & pid120=$! tee < fifo/full_correlation/il_S1_summary_P1 fifo/full_correlation/il_S1_summaryeltcalc_P1 fifo/full_correlation/il_S1_summarypltcalc_P1 fifo/full_correlation/il_S1_summarysummarycalc_P1 work/full_correlation/il_S1_summaryaalcalc/P1.bin work/full_correlation/il_S1_summaryleccalc/P1.bin > /dev/null & pid121=$! tee < fifo/full_correlation/il_S1_summary_P2 fifo/full_correlation/il_S1_summaryeltcalc_P2 fifo/full_correlation/il_S1_summarypltcalc_P2 fifo/full_correlation/il_S1_summarysummarycalc_P2 work/full_correlation/il_S1_summaryaalcalc/P2.bin work/full_correlation/il_S1_summaryleccalc/P2.bin > /dev/null & pid122=$! tee < fifo/full_correlation/il_S1_summary_P3 fifo/full_correlation/il_S1_summaryeltcalc_P3 fifo/full_correlation/il_S1_summarypltcalc_P3 fifo/full_correlation/il_S1_summarysummarycalc_P3 work/full_correlation/il_S1_summaryaalcalc/P3.bin work/full_correlation/il_S1_summaryleccalc/P3.bin > /dev/null & pid123=$! tee < fifo/full_correlation/il_S1_summary_P4 fifo/full_correlation/il_S1_summaryeltcalc_P4 fifo/full_correlation/il_S1_summarypltcalc_P4 fifo/full_correlation/il_S1_summarysummarycalc_P4 work/full_correlation/il_S1_summaryaalcalc/P4.bin work/full_correlation/il_S1_summaryleccalc/P4.bin > /dev/null & pid124=$! tee < fifo/full_correlation/il_S1_summary_P5 fifo/full_correlation/il_S1_summaryeltcalc_P5 fifo/full_correlation/il_S1_summarypltcalc_P5 fifo/full_correlation/il_S1_summarysummarycalc_P5 work/full_correlation/il_S1_summaryaalcalc/P5.bin work/full_correlation/il_S1_summaryleccalc/P5.bin > /dev/null & pid125=$! tee < fifo/full_correlation/il_S1_summary_P6 fifo/full_correlation/il_S1_summaryeltcalc_P6 fifo/full_correlation/il_S1_summarypltcalc_P6 fifo/full_correlation/il_S1_summarysummarycalc_P6 work/full_correlation/il_S1_summaryaalcalc/P6.bin work/full_correlation/il_S1_summaryleccalc/P6.bin > /dev/null & pid126=$! tee < fifo/full_correlation/il_S1_summary_P7 fifo/full_correlation/il_S1_summaryeltcalc_P7 fifo/full_correlation/il_S1_summarypltcalc_P7 fifo/full_correlation/il_S1_summarysummarycalc_P7 work/full_correlation/il_S1_summaryaalcalc/P7.bin work/full_correlation/il_S1_summaryleccalc/P7.bin > /dev/null & pid127=$! tee < fifo/full_correlation/il_S1_summary_P8 fifo/full_correlation/il_S1_summaryeltcalc_P8 fifo/full_correlation/il_S1_summarypltcalc_P8 fifo/full_correlation/il_S1_summarysummarycalc_P8 work/full_correlation/il_S1_summaryaalcalc/P8.bin work/full_correlation/il_S1_summaryleccalc/P8.bin > /dev/null & pid128=$! tee < fifo/full_correlation/il_S1_summary_P9 fifo/full_correlation/il_S1_summaryeltcalc_P9 fifo/full_correlation/il_S1_summarypltcalc_P9 fifo/full_correlation/il_S1_summarysummarycalc_P9 work/full_correlation/il_S1_summaryaalcalc/P9.bin work/full_correlation/il_S1_summaryleccalc/P9.bin > /dev/null & pid129=$! tee < fifo/full_correlation/il_S1_summary_P10 fifo/full_correlation/il_S1_summaryeltcalc_P10 fifo/full_correlation/il_S1_summarypltcalc_P10 fifo/full_correlation/il_S1_summarysummarycalc_P10 work/full_correlation/il_S1_summaryaalcalc/P10.bin work/full_correlation/il_S1_summaryleccalc/P10.bin > /dev/null & pid130=$! tee < fifo/full_correlation/il_S1_summary_P11 fifo/full_correlation/il_S1_summaryeltcalc_P11 fifo/full_correlation/il_S1_summarypltcalc_P11 fifo/full_correlation/il_S1_summarysummarycalc_P11 work/full_correlation/il_S1_summaryaalcalc/P11.bin work/full_correlation/il_S1_summaryleccalc/P11.bin > /dev/null & pid131=$! tee < fifo/full_correlation/il_S1_summary_P12 fifo/full_correlation/il_S1_summaryeltcalc_P12 fifo/full_correlation/il_S1_summarypltcalc_P12 fifo/full_correlation/il_S1_summarysummarycalc_P12 work/full_correlation/il_S1_summaryaalcalc/P12.bin work/full_correlation/il_S1_summaryleccalc/P12.bin > /dev/null & pid132=$! tee < fifo/full_correlation/il_S1_summary_P13 fifo/full_correlation/il_S1_summaryeltcalc_P13 fifo/full_correlation/il_S1_summarypltcalc_P13 fifo/full_correlation/il_S1_summarysummarycalc_P13 work/full_correlation/il_S1_summaryaalcalc/P13.bin work/full_correlation/il_S1_summaryleccalc/P13.bin > /dev/null & pid133=$! tee < fifo/full_correlation/il_S1_summary_P14 fifo/full_correlation/il_S1_summaryeltcalc_P14 fifo/full_correlation/il_S1_summarypltcalc_P14 fifo/full_correlation/il_S1_summarysummarycalc_P14 work/full_correlation/il_S1_summaryaalcalc/P14.bin work/full_correlation/il_S1_summaryleccalc/P14.bin > /dev/null & pid134=$! tee < fifo/full_correlation/il_S1_summary_P15 fifo/full_correlation/il_S1_summaryeltcalc_P15 fifo/full_correlation/il_S1_summarypltcalc_P15 fifo/full_correlation/il_S1_summarysummarycalc_P15 work/full_correlation/il_S1_summaryaalcalc/P15.bin work/full_correlation/il_S1_summaryleccalc/P15.bin > /dev/null & pid135=$! tee < fifo/full_correlation/il_S1_summary_P16 fifo/full_correlation/il_S1_summaryeltcalc_P16 fifo/full_correlation/il_S1_summarypltcalc_P16 fifo/full_correlation/il_S1_summarysummarycalc_P16 work/full_correlation/il_S1_summaryaalcalc/P16.bin work/full_correlation/il_S1_summaryleccalc/P16.bin > /dev/null & pid136=$! tee < fifo/full_correlation/il_S1_summary_P17 fifo/full_correlation/il_S1_summaryeltcalc_P17 fifo/full_correlation/il_S1_summarypltcalc_P17 fifo/full_correlation/il_S1_summarysummarycalc_P17 work/full_correlation/il_S1_summaryaalcalc/P17.bin work/full_correlation/il_S1_summaryleccalc/P17.bin > /dev/null & pid137=$! tee < fifo/full_correlation/il_S1_summary_P18 fifo/full_correlation/il_S1_summaryeltcalc_P18 fifo/full_correlation/il_S1_summarypltcalc_P18 fifo/full_correlation/il_S1_summarysummarycalc_P18 work/full_correlation/il_S1_summaryaalcalc/P18.bin work/full_correlation/il_S1_summaryleccalc/P18.bin > /dev/null & pid138=$! tee < fifo/full_correlation/il_S1_summary_P19 fifo/full_correlation/il_S1_summaryeltcalc_P19 fifo/full_correlation/il_S1_summarypltcalc_P19 fifo/full_correlation/il_S1_summarysummarycalc_P19 work/full_correlation/il_S1_summaryaalcalc/P19.bin work/full_correlation/il_S1_summaryleccalc/P19.bin > /dev/null & pid139=$! tee < fifo/full_correlation/il_S1_summary_P20 fifo/full_correlation/il_S1_summaryeltcalc_P20 fifo/full_correlation/il_S1_summarypltcalc_P20 fifo/full_correlation/il_S1_summarysummarycalc_P20 work/full_correlation/il_S1_summaryaalcalc/P20.bin work/full_correlation/il_S1_summaryleccalc/P20.bin > /dev/null & pid140=$! tee < fifo/full_correlation/il_S1_summary_P21 fifo/full_correlation/il_S1_summaryeltcalc_P21 fifo/full_correlation/il_S1_summarypltcalc_P21 fifo/full_correlation/il_S1_summarysummarycalc_P21 work/full_correlation/il_S1_summaryaalcalc/P21.bin work/full_correlation/il_S1_summaryleccalc/P21.bin > /dev/null & pid141=$! tee < fifo/full_correlation/il_S1_summary_P22 fifo/full_correlation/il_S1_summaryeltcalc_P22 fifo/full_correlation/il_S1_summarypltcalc_P22 fifo/full_correlation/il_S1_summarysummarycalc_P22 work/full_correlation/il_S1_summaryaalcalc/P22.bin work/full_correlation/il_S1_summaryleccalc/P22.bin > /dev/null & pid142=$! tee < fifo/full_correlation/il_S1_summary_P23 fifo/full_correlation/il_S1_summaryeltcalc_P23 fifo/full_correlation/il_S1_summarypltcalc_P23 fifo/full_correlation/il_S1_summarysummarycalc_P23 work/full_correlation/il_S1_summaryaalcalc/P23.bin work/full_correlation/il_S1_summaryleccalc/P23.bin > /dev/null & pid143=$! tee < fifo/full_correlation/il_S1_summary_P24 fifo/full_correlation/il_S1_summaryeltcalc_P24 fifo/full_correlation/il_S1_summarypltcalc_P24 fifo/full_correlation/il_S1_summarysummarycalc_P24 work/full_correlation/il_S1_summaryaalcalc/P24.bin work/full_correlation/il_S1_summaryleccalc/P24.bin > /dev/null & pid144=$! tee < fifo/full_correlation/il_S1_summary_P25 fifo/full_correlation/il_S1_summaryeltcalc_P25 fifo/full_correlation/il_S1_summarypltcalc_P25 fifo/full_correlation/il_S1_summarysummarycalc_P25 work/full_correlation/il_S1_summaryaalcalc/P25.bin work/full_correlation/il_S1_summaryleccalc/P25.bin > /dev/null & pid145=$! tee < fifo/full_correlation/il_S1_summary_P26 fifo/full_correlation/il_S1_summaryeltcalc_P26 fifo/full_correlation/il_S1_summarypltcalc_P26 fifo/full_correlation/il_S1_summarysummarycalc_P26 work/full_correlation/il_S1_summaryaalcalc/P26.bin work/full_correlation/il_S1_summaryleccalc/P26.bin > /dev/null & pid146=$! tee < fifo/full_correlation/il_S1_summary_P27 fifo/full_correlation/il_S1_summaryeltcalc_P27 fifo/full_correlation/il_S1_summarypltcalc_P27 fifo/full_correlation/il_S1_summarysummarycalc_P27 work/full_correlation/il_S1_summaryaalcalc/P27.bin work/full_correlation/il_S1_summaryleccalc/P27.bin > /dev/null & pid147=$! tee < fifo/full_correlation/il_S1_summary_P28 fifo/full_correlation/il_S1_summaryeltcalc_P28 fifo/full_correlation/il_S1_summarypltcalc_P28 fifo/full_correlation/il_S1_summarysummarycalc_P28 work/full_correlation/il_S1_summaryaalcalc/P28.bin work/full_correlation/il_S1_summaryleccalc/P28.bin > /dev/null & pid148=$! tee < fifo/full_correlation/il_S1_summary_P29 fifo/full_correlation/il_S1_summaryeltcalc_P29 fifo/full_correlation/il_S1_summarypltcalc_P29 fifo/full_correlation/il_S1_summarysummarycalc_P29 work/full_correlation/il_S1_summaryaalcalc/P29.bin work/full_correlation/il_S1_summaryleccalc/P29.bin > /dev/null & pid149=$! tee < fifo/full_correlation/il_S1_summary_P30 fifo/full_correlation/il_S1_summaryeltcalc_P30 fifo/full_correlation/il_S1_summarypltcalc_P30 fifo/full_correlation/il_S1_summarysummarycalc_P30 work/full_correlation/il_S1_summaryaalcalc/P30.bin work/full_correlation/il_S1_summaryleccalc/P30.bin > /dev/null & pid150=$! tee < fifo/full_correlation/il_S1_summary_P31 fifo/full_correlation/il_S1_summaryeltcalc_P31 fifo/full_correlation/il_S1_summarypltcalc_P31 fifo/full_correlation/il_S1_summarysummarycalc_P31 work/full_correlation/il_S1_summaryaalcalc/P31.bin work/full_correlation/il_S1_summaryleccalc/P31.bin > /dev/null & pid151=$! tee < fifo/full_correlation/il_S1_summary_P32 fifo/full_correlation/il_S1_summaryeltcalc_P32 fifo/full_correlation/il_S1_summarypltcalc_P32 fifo/full_correlation/il_S1_summarysummarycalc_P32 work/full_correlation/il_S1_summaryaalcalc/P32.bin work/full_correlation/il_S1_summaryleccalc/P32.bin > /dev/null & pid152=$! tee < fifo/full_correlation/il_S1_summary_P33 fifo/full_correlation/il_S1_summaryeltcalc_P33 fifo/full_correlation/il_S1_summarypltcalc_P33 fifo/full_correlation/il_S1_summarysummarycalc_P33 work/full_correlation/il_S1_summaryaalcalc/P33.bin work/full_correlation/il_S1_summaryleccalc/P33.bin > /dev/null & pid153=$! tee < fifo/full_correlation/il_S1_summary_P34 fifo/full_correlation/il_S1_summaryeltcalc_P34 fifo/full_correlation/il_S1_summarypltcalc_P34 fifo/full_correlation/il_S1_summarysummarycalc_P34 work/full_correlation/il_S1_summaryaalcalc/P34.bin work/full_correlation/il_S1_summaryleccalc/P34.bin > /dev/null & pid154=$! tee < fifo/full_correlation/il_S1_summary_P35 fifo/full_correlation/il_S1_summaryeltcalc_P35 fifo/full_correlation/il_S1_summarypltcalc_P35 fifo/full_correlation/il_S1_summarysummarycalc_P35 work/full_correlation/il_S1_summaryaalcalc/P35.bin work/full_correlation/il_S1_summaryleccalc/P35.bin > /dev/null & pid155=$! tee < fifo/full_correlation/il_S1_summary_P36 fifo/full_correlation/il_S1_summaryeltcalc_P36 fifo/full_correlation/il_S1_summarypltcalc_P36 fifo/full_correlation/il_S1_summarysummarycalc_P36 work/full_correlation/il_S1_summaryaalcalc/P36.bin work/full_correlation/il_S1_summaryleccalc/P36.bin > /dev/null & pid156=$! tee < fifo/full_correlation/il_S1_summary_P37 fifo/full_correlation/il_S1_summaryeltcalc_P37 fifo/full_correlation/il_S1_summarypltcalc_P37 fifo/full_correlation/il_S1_summarysummarycalc_P37 work/full_correlation/il_S1_summaryaalcalc/P37.bin work/full_correlation/il_S1_summaryleccalc/P37.bin > /dev/null & pid157=$! tee < fifo/full_correlation/il_S1_summary_P38 fifo/full_correlation/il_S1_summaryeltcalc_P38 fifo/full_correlation/il_S1_summarypltcalc_P38 fifo/full_correlation/il_S1_summarysummarycalc_P38 work/full_correlation/il_S1_summaryaalcalc/P38.bin work/full_correlation/il_S1_summaryleccalc/P38.bin > /dev/null & pid158=$! tee < fifo/full_correlation/il_S1_summary_P39 fifo/full_correlation/il_S1_summaryeltcalc_P39 fifo/full_correlation/il_S1_summarypltcalc_P39 fifo/full_correlation/il_S1_summarysummarycalc_P39 work/full_correlation/il_S1_summaryaalcalc/P39.bin work/full_correlation/il_S1_summaryleccalc/P39.bin > /dev/null & pid159=$! tee < fifo/full_correlation/il_S1_summary_P40 fifo/full_correlation/il_S1_summaryeltcalc_P40 fifo/full_correlation/il_S1_summarypltcalc_P40 fifo/full_correlation/il_S1_summarysummarycalc_P40 work/full_correlation/il_S1_summaryaalcalc/P40.bin work/full_correlation/il_S1_summaryleccalc/P40.bin > /dev/null & pid160=$! ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P1 < fifo/full_correlation/il_P1 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P2 < fifo/full_correlation/il_P2 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P3 < fifo/full_correlation/il_P3 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P4 < fifo/full_correlation/il_P4 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P5 < fifo/full_correlation/il_P5 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P6 < fifo/full_correlation/il_P6 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P7 < fifo/full_correlation/il_P7 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P8 < fifo/full_correlation/il_P8 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P9 < fifo/full_correlation/il_P9 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P10 < fifo/full_correlation/il_P10 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P11 < fifo/full_correlation/il_P11 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P12 < fifo/full_correlation/il_P12 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P13 < fifo/full_correlation/il_P13 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P14 < fifo/full_correlation/il_P14 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P15 < fifo/full_correlation/il_P15 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P16 < fifo/full_correlation/il_P16 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P17 < fifo/full_correlation/il_P17 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P18 < fifo/full_correlation/il_P18 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P19 < fifo/full_correlation/il_P19 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P20 < fifo/full_correlation/il_P20 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P21 < fifo/full_correlation/il_P21 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P22 < fifo/full_correlation/il_P22 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P23 < fifo/full_correlation/il_P23 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P24 < fifo/full_correlation/il_P24 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P25 < fifo/full_correlation/il_P25 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P26 < fifo/full_correlation/il_P26 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P27 < fifo/full_correlation/il_P27 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P28 < fifo/full_correlation/il_P28 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P29 < fifo/full_correlation/il_P29 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P30 < fifo/full_correlation/il_P30 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P31 < fifo/full_correlation/il_P31 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P32 < fifo/full_correlation/il_P32 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P33 < fifo/full_correlation/il_P33 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P34 < fifo/full_correlation/il_P34 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P35 < fifo/full_correlation/il_P35 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P36 < fifo/full_correlation/il_P36 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P37 < fifo/full_correlation/il_P37 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P38 < fifo/full_correlation/il_P38 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P39 < fifo/full_correlation/il_P39 ) 2>> log/stderror.err & ( summarycalc -f -1 fifo/full_correlation/il_S1_summary_P40 < fifo/full_correlation/il_P40 ) 2>> log/stderror.err & # --- Do ground up loss computes --- eltcalc < fifo/full_correlation/gul_S1_summaryeltcalc_P1 > work/full_correlation/kat/gul_S1_eltcalc_P1 & pid161=$! summarycalctocsv < fifo/full_correlation/gul_S1_summarysummarycalc_P1 > work/full_correlation/kat/gul_S1_summarycalc_P1 & pid162=$! pltcalc < fifo/full_correlation/gul_S1_summarypltcalc_P1 > work/full_correlation/kat/gul_S1_pltcalc_P1 & pid163=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P2 > work/full_correlation/kat/gul_S1_eltcalc_P2 & pid164=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P2 > work/full_correlation/kat/gul_S1_summarycalc_P2 & pid165=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P2 > work/full_correlation/kat/gul_S1_pltcalc_P2 & pid166=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P3 > work/full_correlation/kat/gul_S1_eltcalc_P3 & pid167=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P3 > work/full_correlation/kat/gul_S1_summarycalc_P3 & pid168=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P3 > work/full_correlation/kat/gul_S1_pltcalc_P3 & pid169=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P4 > work/full_correlation/kat/gul_S1_eltcalc_P4 & pid170=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P4 > work/full_correlation/kat/gul_S1_summarycalc_P4 & pid171=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P4 > work/full_correlation/kat/gul_S1_pltcalc_P4 & pid172=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P5 > work/full_correlation/kat/gul_S1_eltcalc_P5 & pid173=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P5 > work/full_correlation/kat/gul_S1_summarycalc_P5 & pid174=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P5 > work/full_correlation/kat/gul_S1_pltcalc_P5 & pid175=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P6 > work/full_correlation/kat/gul_S1_eltcalc_P6 & pid176=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P6 > work/full_correlation/kat/gul_S1_summarycalc_P6 & pid177=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P6 > work/full_correlation/kat/gul_S1_pltcalc_P6 & pid178=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P7 > work/full_correlation/kat/gul_S1_eltcalc_P7 & pid179=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P7 > work/full_correlation/kat/gul_S1_summarycalc_P7 & pid180=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P7 > work/full_correlation/kat/gul_S1_pltcalc_P7 & pid181=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P8 > work/full_correlation/kat/gul_S1_eltcalc_P8 & pid182=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P8 > work/full_correlation/kat/gul_S1_summarycalc_P8 & pid183=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P8 > work/full_correlation/kat/gul_S1_pltcalc_P8 & pid184=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P9 > work/full_correlation/kat/gul_S1_eltcalc_P9 & pid185=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P9 > work/full_correlation/kat/gul_S1_summarycalc_P9 & pid186=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P9 > work/full_correlation/kat/gul_S1_pltcalc_P9 & pid187=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P10 > work/full_correlation/kat/gul_S1_eltcalc_P10 & pid188=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P10 > work/full_correlation/kat/gul_S1_summarycalc_P10 & pid189=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P10 > work/full_correlation/kat/gul_S1_pltcalc_P10 & pid190=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P11 > work/full_correlation/kat/gul_S1_eltcalc_P11 & pid191=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P11 > work/full_correlation/kat/gul_S1_summarycalc_P11 & pid192=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P11 > work/full_correlation/kat/gul_S1_pltcalc_P11 & pid193=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P12 > work/full_correlation/kat/gul_S1_eltcalc_P12 & pid194=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P12 > work/full_correlation/kat/gul_S1_summarycalc_P12 & pid195=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P12 > work/full_correlation/kat/gul_S1_pltcalc_P12 & pid196=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P13 > work/full_correlation/kat/gul_S1_eltcalc_P13 & pid197=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P13 > work/full_correlation/kat/gul_S1_summarycalc_P13 & pid198=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P13 > work/full_correlation/kat/gul_S1_pltcalc_P13 & pid199=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P14 > work/full_correlation/kat/gul_S1_eltcalc_P14 & pid200=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P14 > work/full_correlation/kat/gul_S1_summarycalc_P14 & pid201=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P14 > work/full_correlation/kat/gul_S1_pltcalc_P14 & pid202=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P15 > work/full_correlation/kat/gul_S1_eltcalc_P15 & pid203=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P15 > work/full_correlation/kat/gul_S1_summarycalc_P15 & pid204=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P15 > work/full_correlation/kat/gul_S1_pltcalc_P15 & pid205=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P16 > work/full_correlation/kat/gul_S1_eltcalc_P16 & pid206=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P16 > work/full_correlation/kat/gul_S1_summarycalc_P16 & pid207=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P16 > work/full_correlation/kat/gul_S1_pltcalc_P16 & pid208=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P17 > work/full_correlation/kat/gul_S1_eltcalc_P17 & pid209=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P17 > work/full_correlation/kat/gul_S1_summarycalc_P17 & pid210=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P17 > work/full_correlation/kat/gul_S1_pltcalc_P17 & pid211=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P18 > work/full_correlation/kat/gul_S1_eltcalc_P18 & pid212=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P18 > work/full_correlation/kat/gul_S1_summarycalc_P18 & pid213=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P18 > work/full_correlation/kat/gul_S1_pltcalc_P18 & pid214=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P19 > work/full_correlation/kat/gul_S1_eltcalc_P19 & pid215=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P19 > work/full_correlation/kat/gul_S1_summarycalc_P19 & pid216=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P19 > work/full_correlation/kat/gul_S1_pltcalc_P19 & pid217=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P20 > work/full_correlation/kat/gul_S1_eltcalc_P20 & pid218=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P20 > work/full_correlation/kat/gul_S1_summarycalc_P20 & pid219=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P20 > work/full_correlation/kat/gul_S1_pltcalc_P20 & pid220=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P21 > work/full_correlation/kat/gul_S1_eltcalc_P21 & pid221=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P21 > work/full_correlation/kat/gul_S1_summarycalc_P21 & pid222=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P21 > work/full_correlation/kat/gul_S1_pltcalc_P21 & pid223=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P22 > work/full_correlation/kat/gul_S1_eltcalc_P22 & pid224=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P22 > work/full_correlation/kat/gul_S1_summarycalc_P22 & pid225=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P22 > work/full_correlation/kat/gul_S1_pltcalc_P22 & pid226=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P23 > work/full_correlation/kat/gul_S1_eltcalc_P23 & pid227=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P23 > work/full_correlation/kat/gul_S1_summarycalc_P23 & pid228=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P23 > work/full_correlation/kat/gul_S1_pltcalc_P23 & pid229=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P24 > work/full_correlation/kat/gul_S1_eltcalc_P24 & pid230=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P24 > work/full_correlation/kat/gul_S1_summarycalc_P24 & pid231=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P24 > work/full_correlation/kat/gul_S1_pltcalc_P24 & pid232=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P25 > work/full_correlation/kat/gul_S1_eltcalc_P25 & pid233=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P25 > work/full_correlation/kat/gul_S1_summarycalc_P25 & pid234=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P25 > work/full_correlation/kat/gul_S1_pltcalc_P25 & pid235=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P26 > work/full_correlation/kat/gul_S1_eltcalc_P26 & pid236=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P26 > work/full_correlation/kat/gul_S1_summarycalc_P26 & pid237=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P26 > work/full_correlation/kat/gul_S1_pltcalc_P26 & pid238=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P27 > work/full_correlation/kat/gul_S1_eltcalc_P27 & pid239=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P27 > work/full_correlation/kat/gul_S1_summarycalc_P27 & pid240=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P27 > work/full_correlation/kat/gul_S1_pltcalc_P27 & pid241=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P28 > work/full_correlation/kat/gul_S1_eltcalc_P28 & pid242=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P28 > work/full_correlation/kat/gul_S1_summarycalc_P28 & pid243=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P28 > work/full_correlation/kat/gul_S1_pltcalc_P28 & pid244=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P29 > work/full_correlation/kat/gul_S1_eltcalc_P29 & pid245=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P29 > work/full_correlation/kat/gul_S1_summarycalc_P29 & pid246=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P29 > work/full_correlation/kat/gul_S1_pltcalc_P29 & pid247=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P30 > work/full_correlation/kat/gul_S1_eltcalc_P30 & pid248=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P30 > work/full_correlation/kat/gul_S1_summarycalc_P30 & pid249=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P30 > work/full_correlation/kat/gul_S1_pltcalc_P30 & pid250=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P31 > work/full_correlation/kat/gul_S1_eltcalc_P31 & pid251=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P31 > work/full_correlation/kat/gul_S1_summarycalc_P31 & pid252=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P31 > work/full_correlation/kat/gul_S1_pltcalc_P31 & pid253=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P32 > work/full_correlation/kat/gul_S1_eltcalc_P32 & pid254=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P32 > work/full_correlation/kat/gul_S1_summarycalc_P32 & pid255=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P32 > work/full_correlation/kat/gul_S1_pltcalc_P32 & pid256=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P33 > work/full_correlation/kat/gul_S1_eltcalc_P33 & pid257=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P33 > work/full_correlation/kat/gul_S1_summarycalc_P33 & pid258=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P33 > work/full_correlation/kat/gul_S1_pltcalc_P33 & pid259=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P34 > work/full_correlation/kat/gul_S1_eltcalc_P34 & pid260=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P34 > work/full_correlation/kat/gul_S1_summarycalc_P34 & pid261=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P34 > work/full_correlation/kat/gul_S1_pltcalc_P34 & pid262=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P35 > work/full_correlation/kat/gul_S1_eltcalc_P35 & pid263=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P35 > work/full_correlation/kat/gul_S1_summarycalc_P35 & pid264=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P35 > work/full_correlation/kat/gul_S1_pltcalc_P35 & pid265=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P36 > work/full_correlation/kat/gul_S1_eltcalc_P36 & pid266=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P36 > work/full_correlation/kat/gul_S1_summarycalc_P36 & pid267=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P36 > work/full_correlation/kat/gul_S1_pltcalc_P36 & pid268=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P37 > work/full_correlation/kat/gul_S1_eltcalc_P37 & pid269=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P37 > work/full_correlation/kat/gul_S1_summarycalc_P37 & pid270=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P37 > work/full_correlation/kat/gul_S1_pltcalc_P37 & pid271=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P38 > work/full_correlation/kat/gul_S1_eltcalc_P38 & pid272=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P38 > work/full_correlation/kat/gul_S1_summarycalc_P38 & pid273=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P38 > work/full_correlation/kat/gul_S1_pltcalc_P38 & pid274=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P39 > work/full_correlation/kat/gul_S1_eltcalc_P39 & pid275=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P39 > work/full_correlation/kat/gul_S1_summarycalc_P39 & pid276=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P39 > work/full_correlation/kat/gul_S1_pltcalc_P39 & pid277=$! eltcalc -s < fifo/full_correlation/gul_S1_summaryeltcalc_P40 > work/full_correlation/kat/gul_S1_eltcalc_P40 & pid278=$! summarycalctocsv -s < fifo/full_correlation/gul_S1_summarysummarycalc_P40 > work/full_correlation/kat/gul_S1_summarycalc_P40 & pid279=$! pltcalc -s < fifo/full_correlation/gul_S1_summarypltcalc_P40 > work/full_correlation/kat/gul_S1_pltcalc_P40 & pid280=$! tee < fifo/full_correlation/gul_S1_summary_P1 fifo/full_correlation/gul_S1_summaryeltcalc_P1 fifo/full_correlation/gul_S1_summarypltcalc_P1 fifo/full_correlation/gul_S1_summarysummarycalc_P1 work/full_correlation/gul_S1_summaryaalcalc/P1.bin work/full_correlation/gul_S1_summaryleccalc/P1.bin > /dev/null & pid281=$! tee < fifo/full_correlation/gul_S1_summary_P2 fifo/full_correlation/gul_S1_summaryeltcalc_P2 fifo/full_correlation/gul_S1_summarypltcalc_P2 fifo/full_correlation/gul_S1_summarysummarycalc_P2 work/full_correlation/gul_S1_summaryaalcalc/P2.bin work/full_correlation/gul_S1_summaryleccalc/P2.bin > /dev/null & pid282=$! tee < fifo/full_correlation/gul_S1_summary_P3 fifo/full_correlation/gul_S1_summaryeltcalc_P3 fifo/full_correlation/gul_S1_summarypltcalc_P3 fifo/full_correlation/gul_S1_summarysummarycalc_P3 work/full_correlation/gul_S1_summaryaalcalc/P3.bin work/full_correlation/gul_S1_summaryleccalc/P3.bin > /dev/null & pid283=$! tee < fifo/full_correlation/gul_S1_summary_P4 fifo/full_correlation/gul_S1_summaryeltcalc_P4 fifo/full_correlation/gul_S1_summarypltcalc_P4 fifo/full_correlation/gul_S1_summarysummarycalc_P4 work/full_correlation/gul_S1_summaryaalcalc/P4.bin work/full_correlation/gul_S1_summaryleccalc/P4.bin > /dev/null & pid284=$! tee < fifo/full_correlation/gul_S1_summary_P5 fifo/full_correlation/gul_S1_summaryeltcalc_P5 fifo/full_correlation/gul_S1_summarypltcalc_P5 fifo/full_correlation/gul_S1_summarysummarycalc_P5 work/full_correlation/gul_S1_summaryaalcalc/P5.bin work/full_correlation/gul_S1_summaryleccalc/P5.bin > /dev/null & pid285=$! tee < fifo/full_correlation/gul_S1_summary_P6 fifo/full_correlation/gul_S1_summaryeltcalc_P6 fifo/full_correlation/gul_S1_summarypltcalc_P6 fifo/full_correlation/gul_S1_summarysummarycalc_P6 work/full_correlation/gul_S1_summaryaalcalc/P6.bin work/full_correlation/gul_S1_summaryleccalc/P6.bin > /dev/null & pid286=$! tee < fifo/full_correlation/gul_S1_summary_P7 fifo/full_correlation/gul_S1_summaryeltcalc_P7 fifo/full_correlation/gul_S1_summarypltcalc_P7 fifo/full_correlation/gul_S1_summarysummarycalc_P7 work/full_correlation/gul_S1_summaryaalcalc/P7.bin work/full_correlation/gul_S1_summaryleccalc/P7.bin > /dev/null & pid287=$! tee < fifo/full_correlation/gul_S1_summary_P8 fifo/full_correlation/gul_S1_summaryeltcalc_P8 fifo/full_correlation/gul_S1_summarypltcalc_P8 fifo/full_correlation/gul_S1_summarysummarycalc_P8 work/full_correlation/gul_S1_summaryaalcalc/P8.bin work/full_correlation/gul_S1_summaryleccalc/P8.bin > /dev/null & pid288=$! tee < fifo/full_correlation/gul_S1_summary_P9 fifo/full_correlation/gul_S1_summaryeltcalc_P9 fifo/full_correlation/gul_S1_summarypltcalc_P9 fifo/full_correlation/gul_S1_summarysummarycalc_P9 work/full_correlation/gul_S1_summaryaalcalc/P9.bin work/full_correlation/gul_S1_summaryleccalc/P9.bin > /dev/null & pid289=$! tee < fifo/full_correlation/gul_S1_summary_P10 fifo/full_correlation/gul_S1_summaryeltcalc_P10 fifo/full_correlation/gul_S1_summarypltcalc_P10 fifo/full_correlation/gul_S1_summarysummarycalc_P10 work/full_correlation/gul_S1_summaryaalcalc/P10.bin work/full_correlation/gul_S1_summaryleccalc/P10.bin > /dev/null & pid290=$! tee < fifo/full_correlation/gul_S1_summary_P11 fifo/full_correlation/gul_S1_summaryeltcalc_P11 fifo/full_correlation/gul_S1_summarypltcalc_P11 fifo/full_correlation/gul_S1_summarysummarycalc_P11 work/full_correlation/gul_S1_summaryaalcalc/P11.bin work/full_correlation/gul_S1_summaryleccalc/P11.bin > /dev/null & pid291=$! tee < fifo/full_correlation/gul_S1_summary_P12 fifo/full_correlation/gul_S1_summaryeltcalc_P12 fifo/full_correlation/gul_S1_summarypltcalc_P12 fifo/full_correlation/gul_S1_summarysummarycalc_P12 work/full_correlation/gul_S1_summaryaalcalc/P12.bin work/full_correlation/gul_S1_summaryleccalc/P12.bin > /dev/null & pid292=$! tee < fifo/full_correlation/gul_S1_summary_P13 fifo/full_correlation/gul_S1_summaryeltcalc_P13 fifo/full_correlation/gul_S1_summarypltcalc_P13 fifo/full_correlation/gul_S1_summarysummarycalc_P13 work/full_correlation/gul_S1_summaryaalcalc/P13.bin work/full_correlation/gul_S1_summaryleccalc/P13.bin > /dev/null & pid293=$! tee < fifo/full_correlation/gul_S1_summary_P14 fifo/full_correlation/gul_S1_summaryeltcalc_P14 fifo/full_correlation/gul_S1_summarypltcalc_P14 fifo/full_correlation/gul_S1_summarysummarycalc_P14 work/full_correlation/gul_S1_summaryaalcalc/P14.bin work/full_correlation/gul_S1_summaryleccalc/P14.bin > /dev/null & pid294=$! tee < fifo/full_correlation/gul_S1_summary_P15 fifo/full_correlation/gul_S1_summaryeltcalc_P15 fifo/full_correlation/gul_S1_summarypltcalc_P15 fifo/full_correlation/gul_S1_summarysummarycalc_P15 work/full_correlation/gul_S1_summaryaalcalc/P15.bin work/full_correlation/gul_S1_summaryleccalc/P15.bin > /dev/null & pid295=$! tee < fifo/full_correlation/gul_S1_summary_P16 fifo/full_correlation/gul_S1_summaryeltcalc_P16 fifo/full_correlation/gul_S1_summarypltcalc_P16 fifo/full_correlation/gul_S1_summarysummarycalc_P16 work/full_correlation/gul_S1_summaryaalcalc/P16.bin work/full_correlation/gul_S1_summaryleccalc/P16.bin > /dev/null & pid296=$! tee < fifo/full_correlation/gul_S1_summary_P17 fifo/full_correlation/gul_S1_summaryeltcalc_P17 fifo/full_correlation/gul_S1_summarypltcalc_P17 fifo/full_correlation/gul_S1_summarysummarycalc_P17 work/full_correlation/gul_S1_summaryaalcalc/P17.bin work/full_correlation/gul_S1_summaryleccalc/P17.bin > /dev/null & pid297=$! tee < fifo/full_correlation/gul_S1_summary_P18 fifo/full_correlation/gul_S1_summaryeltcalc_P18 fifo/full_correlation/gul_S1_summarypltcalc_P18 fifo/full_correlation/gul_S1_summarysummarycalc_P18 work/full_correlation/gul_S1_summaryaalcalc/P18.bin work/full_correlation/gul_S1_summaryleccalc/P18.bin > /dev/null & pid298=$! tee < fifo/full_correlation/gul_S1_summary_P19 fifo/full_correlation/gul_S1_summaryeltcalc_P19 fifo/full_correlation/gul_S1_summarypltcalc_P19 fifo/full_correlation/gul_S1_summarysummarycalc_P19 work/full_correlation/gul_S1_summaryaalcalc/P19.bin work/full_correlation/gul_S1_summaryleccalc/P19.bin > /dev/null & pid299=$! tee < fifo/full_correlation/gul_S1_summary_P20 fifo/full_correlation/gul_S1_summaryeltcalc_P20 fifo/full_correlation/gul_S1_summarypltcalc_P20 fifo/full_correlation/gul_S1_summarysummarycalc_P20 work/full_correlation/gul_S1_summaryaalcalc/P20.bin work/full_correlation/gul_S1_summaryleccalc/P20.bin > /dev/null & pid300=$! tee < fifo/full_correlation/gul_S1_summary_P21 fifo/full_correlation/gul_S1_summaryeltcalc_P21 fifo/full_correlation/gul_S1_summarypltcalc_P21 fifo/full_correlation/gul_S1_summarysummarycalc_P21 work/full_correlation/gul_S1_summaryaalcalc/P21.bin work/full_correlation/gul_S1_summaryleccalc/P21.bin > /dev/null & pid301=$! tee < fifo/full_correlation/gul_S1_summary_P22 fifo/full_correlation/gul_S1_summaryeltcalc_P22 fifo/full_correlation/gul_S1_summarypltcalc_P22 fifo/full_correlation/gul_S1_summarysummarycalc_P22 work/full_correlation/gul_S1_summaryaalcalc/P22.bin work/full_correlation/gul_S1_summaryleccalc/P22.bin > /dev/null & pid302=$! tee < fifo/full_correlation/gul_S1_summary_P23 fifo/full_correlation/gul_S1_summaryeltcalc_P23 fifo/full_correlation/gul_S1_summarypltcalc_P23 fifo/full_correlation/gul_S1_summarysummarycalc_P23 work/full_correlation/gul_S1_summaryaalcalc/P23.bin work/full_correlation/gul_S1_summaryleccalc/P23.bin > /dev/null & pid303=$! tee < fifo/full_correlation/gul_S1_summary_P24 fifo/full_correlation/gul_S1_summaryeltcalc_P24 fifo/full_correlation/gul_S1_summarypltcalc_P24 fifo/full_correlation/gul_S1_summarysummarycalc_P24 work/full_correlation/gul_S1_summaryaalcalc/P24.bin work/full_correlation/gul_S1_summaryleccalc/P24.bin > /dev/null & pid304=$! tee < fifo/full_correlation/gul_S1_summary_P25 fifo/full_correlation/gul_S1_summaryeltcalc_P25 fifo/full_correlation/gul_S1_summarypltcalc_P25 fifo/full_correlation/gul_S1_summarysummarycalc_P25 work/full_correlation/gul_S1_summaryaalcalc/P25.bin work/full_correlation/gul_S1_summaryleccalc/P25.bin > /dev/null & pid305=$! tee < fifo/full_correlation/gul_S1_summary_P26 fifo/full_correlation/gul_S1_summaryeltcalc_P26 fifo/full_correlation/gul_S1_summarypltcalc_P26 fifo/full_correlation/gul_S1_summarysummarycalc_P26 work/full_correlation/gul_S1_summaryaalcalc/P26.bin work/full_correlation/gul_S1_summaryleccalc/P26.bin > /dev/null & pid306=$! tee < fifo/full_correlation/gul_S1_summary_P27 fifo/full_correlation/gul_S1_summaryeltcalc_P27 fifo/full_correlation/gul_S1_summarypltcalc_P27 fifo/full_correlation/gul_S1_summarysummarycalc_P27 work/full_correlation/gul_S1_summaryaalcalc/P27.bin work/full_correlation/gul_S1_summaryleccalc/P27.bin > /dev/null & pid307=$! tee < fifo/full_correlation/gul_S1_summary_P28 fifo/full_correlation/gul_S1_summaryeltcalc_P28 fifo/full_correlation/gul_S1_summarypltcalc_P28 fifo/full_correlation/gul_S1_summarysummarycalc_P28 work/full_correlation/gul_S1_summaryaalcalc/P28.bin work/full_correlation/gul_S1_summaryleccalc/P28.bin > /dev/null & pid308=$! tee < fifo/full_correlation/gul_S1_summary_P29 fifo/full_correlation/gul_S1_summaryeltcalc_P29 fifo/full_correlation/gul_S1_summarypltcalc_P29 fifo/full_correlation/gul_S1_summarysummarycalc_P29 work/full_correlation/gul_S1_summaryaalcalc/P29.bin work/full_correlation/gul_S1_summaryleccalc/P29.bin > /dev/null & pid309=$! tee < fifo/full_correlation/gul_S1_summary_P30 fifo/full_correlation/gul_S1_summaryeltcalc_P30 fifo/full_correlation/gul_S1_summarypltcalc_P30 fifo/full_correlation/gul_S1_summarysummarycalc_P30 work/full_correlation/gul_S1_summaryaalcalc/P30.bin work/full_correlation/gul_S1_summaryleccalc/P30.bin > /dev/null & pid310=$! tee < fifo/full_correlation/gul_S1_summary_P31 fifo/full_correlation/gul_S1_summaryeltcalc_P31 fifo/full_correlation/gul_S1_summarypltcalc_P31 fifo/full_correlation/gul_S1_summarysummarycalc_P31 work/full_correlation/gul_S1_summaryaalcalc/P31.bin work/full_correlation/gul_S1_summaryleccalc/P31.bin > /dev/null & pid311=$! tee < fifo/full_correlation/gul_S1_summary_P32 fifo/full_correlation/gul_S1_summaryeltcalc_P32 fifo/full_correlation/gul_S1_summarypltcalc_P32 fifo/full_correlation/gul_S1_summarysummarycalc_P32 work/full_correlation/gul_S1_summaryaalcalc/P32.bin work/full_correlation/gul_S1_summaryleccalc/P32.bin > /dev/null & pid312=$! tee < fifo/full_correlation/gul_S1_summary_P33 fifo/full_correlation/gul_S1_summaryeltcalc_P33 fifo/full_correlation/gul_S1_summarypltcalc_P33 fifo/full_correlation/gul_S1_summarysummarycalc_P33 work/full_correlation/gul_S1_summaryaalcalc/P33.bin work/full_correlation/gul_S1_summaryleccalc/P33.bin > /dev/null & pid313=$! tee < fifo/full_correlation/gul_S1_summary_P34 fifo/full_correlation/gul_S1_summaryeltcalc_P34 fifo/full_correlation/gul_S1_summarypltcalc_P34 fifo/full_correlation/gul_S1_summarysummarycalc_P34 work/full_correlation/gul_S1_summaryaalcalc/P34.bin work/full_correlation/gul_S1_summaryleccalc/P34.bin > /dev/null & pid314=$! tee < fifo/full_correlation/gul_S1_summary_P35 fifo/full_correlation/gul_S1_summaryeltcalc_P35 fifo/full_correlation/gul_S1_summarypltcalc_P35 fifo/full_correlation/gul_S1_summarysummarycalc_P35 work/full_correlation/gul_S1_summaryaalcalc/P35.bin work/full_correlation/gul_S1_summaryleccalc/P35.bin > /dev/null & pid315=$! tee < fifo/full_correlation/gul_S1_summary_P36 fifo/full_correlation/gul_S1_summaryeltcalc_P36 fifo/full_correlation/gul_S1_summarypltcalc_P36 fifo/full_correlation/gul_S1_summarysummarycalc_P36 work/full_correlation/gul_S1_summaryaalcalc/P36.bin work/full_correlation/gul_S1_summaryleccalc/P36.bin > /dev/null & pid316=$! tee < fifo/full_correlation/gul_S1_summary_P37 fifo/full_correlation/gul_S1_summaryeltcalc_P37 fifo/full_correlation/gul_S1_summarypltcalc_P37 fifo/full_correlation/gul_S1_summarysummarycalc_P37 work/full_correlation/gul_S1_summaryaalcalc/P37.bin work/full_correlation/gul_S1_summaryleccalc/P37.bin > /dev/null & pid317=$! tee < fifo/full_correlation/gul_S1_summary_P38 fifo/full_correlation/gul_S1_summaryeltcalc_P38 fifo/full_correlation/gul_S1_summarypltcalc_P38 fifo/full_correlation/gul_S1_summarysummarycalc_P38 work/full_correlation/gul_S1_summaryaalcalc/P38.bin work/full_correlation/gul_S1_summaryleccalc/P38.bin > /dev/null & pid318=$! tee < fifo/full_correlation/gul_S1_summary_P39 fifo/full_correlation/gul_S1_summaryeltcalc_P39 fifo/full_correlation/gul_S1_summarypltcalc_P39 fifo/full_correlation/gul_S1_summarysummarycalc_P39 work/full_correlation/gul_S1_summaryaalcalc/P39.bin work/full_correlation/gul_S1_summaryleccalc/P39.bin > /dev/null & pid319=$! tee < fifo/full_correlation/gul_S1_summary_P40 fifo/full_correlation/gul_S1_summaryeltcalc_P40 fifo/full_correlation/gul_S1_summarypltcalc_P40 fifo/full_correlation/gul_S1_summarysummarycalc_P40 work/full_correlation/gul_S1_summaryaalcalc/P40.bin work/full_correlation/gul_S1_summaryleccalc/P40.bin > /dev/null & pid320=$! ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P1 < fifo/full_correlation/gul_P1 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P2 < fifo/full_correlation/gul_P2 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P3 < fifo/full_correlation/gul_P3 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P4 < fifo/full_correlation/gul_P4 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P5 < fifo/full_correlation/gul_P5 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P6 < fifo/full_correlation/gul_P6 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P7 < fifo/full_correlation/gul_P7 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P8 < fifo/full_correlation/gul_P8 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P9 < fifo/full_correlation/gul_P9 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P10 < fifo/full_correlation/gul_P10 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P11 < fifo/full_correlation/gul_P11 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P12 < fifo/full_correlation/gul_P12 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P13 < fifo/full_correlation/gul_P13 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P14 < fifo/full_correlation/gul_P14 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P15 < fifo/full_correlation/gul_P15 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P16 < fifo/full_correlation/gul_P16 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P17 < fifo/full_correlation/gul_P17 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P18 < fifo/full_correlation/gul_P18 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P19 < fifo/full_correlation/gul_P19 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P20 < fifo/full_correlation/gul_P20 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P21 < fifo/full_correlation/gul_P21 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P22 < fifo/full_correlation/gul_P22 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P23 < fifo/full_correlation/gul_P23 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P24 < fifo/full_correlation/gul_P24 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P25 < fifo/full_correlation/gul_P25 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P26 < fifo/full_correlation/gul_P26 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P27 < fifo/full_correlation/gul_P27 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P28 < fifo/full_correlation/gul_P28 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P29 < fifo/full_correlation/gul_P29 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P30 < fifo/full_correlation/gul_P30 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P31 < fifo/full_correlation/gul_P31 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P32 < fifo/full_correlation/gul_P32 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P33 < fifo/full_correlation/gul_P33 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P34 < fifo/full_correlation/gul_P34 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P35 < fifo/full_correlation/gul_P35 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P36 < fifo/full_correlation/gul_P36 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P37 < fifo/full_correlation/gul_P37 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P38 < fifo/full_correlation/gul_P38 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P39 < fifo/full_correlation/gul_P39 ) 2>> log/stderror.err & ( summarycalc -i -1 fifo/full_correlation/gul_S1_summary_P40 < fifo/full_correlation/gul_P40 ) 2>> log/stderror.err & wait $pid1 $pid2 $pid3 $pid4 $pid5 $pid6 $pid7 $pid8 $pid9 $pid10 $pid11 $pid12 $pid13 $pid14 $pid15 $pid16 $pid17 $pid18 $pid19 $pid20 $pid21 $pid22 $pid23 $pid24 $pid25 $pid26 $pid27 $pid28 $pid29 $pid30 $pid31 $pid32 $pid33 $pid34 $pid35 $pid36 $pid37 $pid38 $pid39 $pid40 $pid41 $pid42 $pid43 $pid44 $pid45 $pid46 $pid47 $pid48 $pid49 $pid50 $pid51 $pid52 $pid53 $pid54 $pid55 $pid56 $pid57 $pid58 $pid59 $pid60 $pid61 $pid62 $pid63 $pid64 $pid65 $pid66 $pid67 $pid68 $pid69 $pid70 $pid71 $pid72 $pid73 $pid74 $pid75 $pid76 $pid77 $pid78 $pid79 $pid80 $pid81 $pid82 $pid83 $pid84 $pid85 $pid86 $pid87 $pid88 $pid89 $pid90 $pid91 $pid92 $pid93 $pid94 $pid95 $pid96 $pid97 $pid98 $pid99 $pid100 $pid101 $pid102 $pid103 $pid104 $pid105 $pid106 $pid107 $pid108 $pid109 $pid110 $pid111 $pid112 $pid113 $pid114 $pid115 $pid116 $pid117 $pid118 $pid119 $pid120 $pid121 $pid122 $pid123 $pid124 $pid125 $pid126 $pid127 $pid128 $pid129 $pid130 $pid131 $pid132 $pid133 $pid134 $pid135 $pid136 $pid137 $pid138 $pid139 $pid140 $pid141 $pid142 $pid143 $pid144 $pid145 $pid146 $pid147 $pid148 $pid149 $pid150 $pid151 $pid152 $pid153 $pid154 $pid155 $pid156 $pid157 $pid158 $pid159 $pid160 $pid161 $pid162 $pid163 $pid164 $pid165 $pid166 $pid167 $pid168 $pid169 $pid170 $pid171 $pid172 $pid173 $pid174 $pid175 $pid176 $pid177 $pid178 $pid179 $pid180 $pid181 $pid182 $pid183 $pid184 $pid185 $pid186 $pid187 $pid188 $pid189 $pid190 $pid191 $pid192 $pid193 $pid194 $pid195 $pid196 $pid197 $pid198 $pid199 $pid200 $pid201 $pid202 $pid203 $pid204 $pid205 $pid206 $pid207 $pid208 $pid209 $pid210 $pid211 $pid212 $pid213 $pid214 $pid215 $pid216 $pid217 $pid218 $pid219 $pid220 $pid221 $pid222 $pid223 $pid224 $pid225 $pid226 $pid227 $pid228 $pid229 $pid230 $pid231 $pid232 $pid233 $pid234 $pid235 $pid236 $pid237 $pid238 $pid239 $pid240 $pid241 $pid242 $pid243 $pid244 $pid245 $pid246 $pid247 $pid248 $pid249 $pid250 $pid251 $pid252 $pid253 $pid254 $pid255 $pid256 $pid257 $pid258 $pid259 $pid260 $pid261 $pid262 $pid263 $pid264 $pid265 $pid266 $pid267 $pid268 $pid269 $pid270 $pid271 $pid272 $pid273 $pid274 $pid275 $pid276 $pid277 $pid278 $pid279 $pid280 $pid281 $pid282 $pid283 $pid284 $pid285 $pid286 $pid287 $pid288 $pid289 $pid290 $pid291 $pid292 $pid293 $pid294 $pid295 $pid296 $pid297 $pid298 $pid299 $pid300 $pid301 $pid302 $pid303 $pid304 $pid305 $pid306 $pid307 $pid308 $pid309 $pid310 $pid311 $pid312 $pid313 $pid314 $pid315 $pid316 $pid317 $pid318 $pid319 $pid320 # --- Do insured loss kats --- kat work/kat/il_S1_eltcalc_P1 work/kat/il_S1_eltcalc_P2 work/kat/il_S1_eltcalc_P3 work/kat/il_S1_eltcalc_P4 work/kat/il_S1_eltcalc_P5 work/kat/il_S1_eltcalc_P6 work/kat/il_S1_eltcalc_P7 work/kat/il_S1_eltcalc_P8 work/kat/il_S1_eltcalc_P9 work/kat/il_S1_eltcalc_P10 work/kat/il_S1_eltcalc_P11 work/kat/il_S1_eltcalc_P12 work/kat/il_S1_eltcalc_P13 work/kat/il_S1_eltcalc_P14 work/kat/il_S1_eltcalc_P15 work/kat/il_S1_eltcalc_P16 work/kat/il_S1_eltcalc_P17 work/kat/il_S1_eltcalc_P18 work/kat/il_S1_eltcalc_P19 work/kat/il_S1_eltcalc_P20 work/kat/il_S1_eltcalc_P21 work/kat/il_S1_eltcalc_P22 work/kat/il_S1_eltcalc_P23 work/kat/il_S1_eltcalc_P24 work/kat/il_S1_eltcalc_P25 work/kat/il_S1_eltcalc_P26 work/kat/il_S1_eltcalc_P27 work/kat/il_S1_eltcalc_P28 work/kat/il_S1_eltcalc_P29 work/kat/il_S1_eltcalc_P30 work/kat/il_S1_eltcalc_P31 work/kat/il_S1_eltcalc_P32 work/kat/il_S1_eltcalc_P33 work/kat/il_S1_eltcalc_P34 work/kat/il_S1_eltcalc_P35 work/kat/il_S1_eltcalc_P36 work/kat/il_S1_eltcalc_P37 work/kat/il_S1_eltcalc_P38 work/kat/il_S1_eltcalc_P39 work/kat/il_S1_eltcalc_P40 > output/il_S1_eltcalc.csv & kpid1=$! kat work/kat/il_S1_pltcalc_P1 work/kat/il_S1_pltcalc_P2 work/kat/il_S1_pltcalc_P3 work/kat/il_S1_pltcalc_P4 work/kat/il_S1_pltcalc_P5 work/kat/il_S1_pltcalc_P6 work/kat/il_S1_pltcalc_P7 work/kat/il_S1_pltcalc_P8 work/kat/il_S1_pltcalc_P9 work/kat/il_S1_pltcalc_P10 work/kat/il_S1_pltcalc_P11 work/kat/il_S1_pltcalc_P12 work/kat/il_S1_pltcalc_P13 work/kat/il_S1_pltcalc_P14 work/kat/il_S1_pltcalc_P15 work/kat/il_S1_pltcalc_P16 work/kat/il_S1_pltcalc_P17 work/kat/il_S1_pltcalc_P18 work/kat/il_S1_pltcalc_P19 work/kat/il_S1_pltcalc_P20 work/kat/il_S1_pltcalc_P21 work/kat/il_S1_pltcalc_P22 work/kat/il_S1_pltcalc_P23 work/kat/il_S1_pltcalc_P24 work/kat/il_S1_pltcalc_P25 work/kat/il_S1_pltcalc_P26 work/kat/il_S1_pltcalc_P27 work/kat/il_S1_pltcalc_P28 work/kat/il_S1_pltcalc_P29 work/kat/il_S1_pltcalc_P30 work/kat/il_S1_pltcalc_P31 work/kat/il_S1_pltcalc_P32 work/kat/il_S1_pltcalc_P33 work/kat/il_S1_pltcalc_P34 work/kat/il_S1_pltcalc_P35 work/kat/il_S1_pltcalc_P36 work/kat/il_S1_pltcalc_P37 work/kat/il_S1_pltcalc_P38 work/kat/il_S1_pltcalc_P39 work/kat/il_S1_pltcalc_P40 > output/il_S1_pltcalc.csv & kpid2=$! kat work/kat/il_S1_summarycalc_P1 work/kat/il_S1_summarycalc_P2 work/kat/il_S1_summarycalc_P3 work/kat/il_S1_summarycalc_P4 work/kat/il_S1_summarycalc_P5 work/kat/il_S1_summarycalc_P6 work/kat/il_S1_summarycalc_P7 work/kat/il_S1_summarycalc_P8 work/kat/il_S1_summarycalc_P9 work/kat/il_S1_summarycalc_P10 work/kat/il_S1_summarycalc_P11 work/kat/il_S1_summarycalc_P12 work/kat/il_S1_summarycalc_P13 work/kat/il_S1_summarycalc_P14 work/kat/il_S1_summarycalc_P15 work/kat/il_S1_summarycalc_P16 work/kat/il_S1_summarycalc_P17 work/kat/il_S1_summarycalc_P18 work/kat/il_S1_summarycalc_P19 work/kat/il_S1_summarycalc_P20 work/kat/il_S1_summarycalc_P21 work/kat/il_S1_summarycalc_P22 work/kat/il_S1_summarycalc_P23 work/kat/il_S1_summarycalc_P24 work/kat/il_S1_summarycalc_P25 work/kat/il_S1_summarycalc_P26 work/kat/il_S1_summarycalc_P27 work/kat/il_S1_summarycalc_P28 work/kat/il_S1_summarycalc_P29 work/kat/il_S1_summarycalc_P30 work/kat/il_S1_summarycalc_P31 work/kat/il_S1_summarycalc_P32 work/kat/il_S1_summarycalc_P33 work/kat/il_S1_summarycalc_P34 work/kat/il_S1_summarycalc_P35 work/kat/il_S1_summarycalc_P36 work/kat/il_S1_summarycalc_P37 work/kat/il_S1_summarycalc_P38 work/kat/il_S1_summarycalc_P39 work/kat/il_S1_summarycalc_P40 > output/il_S1_summarycalc.csv & kpid3=$! # --- Do insured loss kats for fully correlated output --- kat work/full_correlation/kat/il_S1_eltcalc_P1 work/full_correlation/kat/il_S1_eltcalc_P2 work/full_correlation/kat/il_S1_eltcalc_P3 work/full_correlation/kat/il_S1_eltcalc_P4 work/full_correlation/kat/il_S1_eltcalc_P5 work/full_correlation/kat/il_S1_eltcalc_P6 work/full_correlation/kat/il_S1_eltcalc_P7 work/full_correlation/kat/il_S1_eltcalc_P8 work/full_correlation/kat/il_S1_eltcalc_P9 work/full_correlation/kat/il_S1_eltcalc_P10 work/full_correlation/kat/il_S1_eltcalc_P11 work/full_correlation/kat/il_S1_eltcalc_P12 work/full_correlation/kat/il_S1_eltcalc_P13 work/full_correlation/kat/il_S1_eltcalc_P14 work/full_correlation/kat/il_S1_eltcalc_P15 work/full_correlation/kat/il_S1_eltcalc_P16 work/full_correlation/kat/il_S1_eltcalc_P17 work/full_correlation/kat/il_S1_eltcalc_P18 work/full_correlation/kat/il_S1_eltcalc_P19 work/full_correlation/kat/il_S1_eltcalc_P20 work/full_correlation/kat/il_S1_eltcalc_P21 work/full_correlation/kat/il_S1_eltcalc_P22 work/full_correlation/kat/il_S1_eltcalc_P23 work/full_correlation/kat/il_S1_eltcalc_P24 work/full_correlation/kat/il_S1_eltcalc_P25 work/full_correlation/kat/il_S1_eltcalc_P26 work/full_correlation/kat/il_S1_eltcalc_P27 work/full_correlation/kat/il_S1_eltcalc_P28 work/full_correlation/kat/il_S1_eltcalc_P29 work/full_correlation/kat/il_S1_eltcalc_P30 work/full_correlation/kat/il_S1_eltcalc_P31 work/full_correlation/kat/il_S1_eltcalc_P32 work/full_correlation/kat/il_S1_eltcalc_P33 work/full_correlation/kat/il_S1_eltcalc_P34 work/full_correlation/kat/il_S1_eltcalc_P35 work/full_correlation/kat/il_S1_eltcalc_P36 work/full_correlation/kat/il_S1_eltcalc_P37 work/full_correlation/kat/il_S1_eltcalc_P38 work/full_correlation/kat/il_S1_eltcalc_P39 work/full_correlation/kat/il_S1_eltcalc_P40 > output/full_correlation/il_S1_eltcalc.csv & kpid4=$! kat work/full_correlation/kat/il_S1_pltcalc_P1 work/full_correlation/kat/il_S1_pltcalc_P2 work/full_correlation/kat/il_S1_pltcalc_P3 work/full_correlation/kat/il_S1_pltcalc_P4 work/full_correlation/kat/il_S1_pltcalc_P5 work/full_correlation/kat/il_S1_pltcalc_P6 work/full_correlation/kat/il_S1_pltcalc_P7 work/full_correlation/kat/il_S1_pltcalc_P8 work/full_correlation/kat/il_S1_pltcalc_P9 work/full_correlation/kat/il_S1_pltcalc_P10 work/full_correlation/kat/il_S1_pltcalc_P11 work/full_correlation/kat/il_S1_pltcalc_P12 work/full_correlation/kat/il_S1_pltcalc_P13 work/full_correlation/kat/il_S1_pltcalc_P14 work/full_correlation/kat/il_S1_pltcalc_P15 work/full_correlation/kat/il_S1_pltcalc_P16 work/full_correlation/kat/il_S1_pltcalc_P17 work/full_correlation/kat/il_S1_pltcalc_P18 work/full_correlation/kat/il_S1_pltcalc_P19 work/full_correlation/kat/il_S1_pltcalc_P20 work/full_correlation/kat/il_S1_pltcalc_P21 work/full_correlation/kat/il_S1_pltcalc_P22 work/full_correlation/kat/il_S1_pltcalc_P23 work/full_correlation/kat/il_S1_pltcalc_P24 work/full_correlation/kat/il_S1_pltcalc_P25 work/full_correlation/kat/il_S1_pltcalc_P26 work/full_correlation/kat/il_S1_pltcalc_P27 work/full_correlation/kat/il_S1_pltcalc_P28 work/full_correlation/kat/il_S1_pltcalc_P29 work/full_correlation/kat/il_S1_pltcalc_P30 work/full_correlation/kat/il_S1_pltcalc_P31 work/full_correlation/kat/il_S1_pltcalc_P32 work/full_correlation/kat/il_S1_pltcalc_P33 work/full_correlation/kat/il_S1_pltcalc_P34 work/full_correlation/kat/il_S1_pltcalc_P35 work/full_correlation/kat/il_S1_pltcalc_P36 work/full_correlation/kat/il_S1_pltcalc_P37 work/full_correlation/kat/il_S1_pltcalc_P38 work/full_correlation/kat/il_S1_pltcalc_P39 work/full_correlation/kat/il_S1_pltcalc_P40 > output/full_correlation/il_S1_pltcalc.csv & kpid5=$! kat work/full_correlation/kat/il_S1_summarycalc_P1 work/full_correlation/kat/il_S1_summarycalc_P2 work/full_correlation/kat/il_S1_summarycalc_P3 work/full_correlation/kat/il_S1_summarycalc_P4 work/full_correlation/kat/il_S1_summarycalc_P5 work/full_correlation/kat/il_S1_summarycalc_P6 work/full_correlation/kat/il_S1_summarycalc_P7 work/full_correlation/kat/il_S1_summarycalc_P8 work/full_correlation/kat/il_S1_summarycalc_P9 work/full_correlation/kat/il_S1_summarycalc_P10 work/full_correlation/kat/il_S1_summarycalc_P11 work/full_correlation/kat/il_S1_summarycalc_P12 work/full_correlation/kat/il_S1_summarycalc_P13 work/full_correlation/kat/il_S1_summarycalc_P14 work/full_correlation/kat/il_S1_summarycalc_P15 work/full_correlation/kat/il_S1_summarycalc_P16 work/full_correlation/kat/il_S1_summarycalc_P17 work/full_correlation/kat/il_S1_summarycalc_P18 work/full_correlation/kat/il_S1_summarycalc_P19 work/full_correlation/kat/il_S1_summarycalc_P20 work/full_correlation/kat/il_S1_summarycalc_P21 work/full_correlation/kat/il_S1_summarycalc_P22 work/full_correlation/kat/il_S1_summarycalc_P23 work/full_correlation/kat/il_S1_summarycalc_P24 work/full_correlation/kat/il_S1_summarycalc_P25 work/full_correlation/kat/il_S1_summarycalc_P26 work/full_correlation/kat/il_S1_summarycalc_P27 work/full_correlation/kat/il_S1_summarycalc_P28 work/full_correlation/kat/il_S1_summarycalc_P29 work/full_correlation/kat/il_S1_summarycalc_P30 work/full_correlation/kat/il_S1_summarycalc_P31 work/full_correlation/kat/il_S1_summarycalc_P32 work/full_correlation/kat/il_S1_summarycalc_P33 work/full_correlation/kat/il_S1_summarycalc_P34 work/full_correlation/kat/il_S1_summarycalc_P35 work/full_correlation/kat/il_S1_summarycalc_P36 work/full_correlation/kat/il_S1_summarycalc_P37 work/full_correlation/kat/il_S1_summarycalc_P38 work/full_correlation/kat/il_S1_summarycalc_P39 work/full_correlation/kat/il_S1_summarycalc_P40 > output/full_correlation/il_S1_summarycalc.csv & kpid6=$! # --- Do ground up loss kats --- kat work/kat/gul_S1_eltcalc_P1 work/kat/gul_S1_eltcalc_P2 work/kat/gul_S1_eltcalc_P3 work/kat/gul_S1_eltcalc_P4 work/kat/gul_S1_eltcalc_P5 work/kat/gul_S1_eltcalc_P6 work/kat/gul_S1_eltcalc_P7 work/kat/gul_S1_eltcalc_P8 work/kat/gul_S1_eltcalc_P9 work/kat/gul_S1_eltcalc_P10 work/kat/gul_S1_eltcalc_P11 work/kat/gul_S1_eltcalc_P12 work/kat/gul_S1_eltcalc_P13 work/kat/gul_S1_eltcalc_P14 work/kat/gul_S1_eltcalc_P15 work/kat/gul_S1_eltcalc_P16 work/kat/gul_S1_eltcalc_P17 work/kat/gul_S1_eltcalc_P18 work/kat/gul_S1_eltcalc_P19 work/kat/gul_S1_eltcalc_P20 work/kat/gul_S1_eltcalc_P21 work/kat/gul_S1_eltcalc_P22 work/kat/gul_S1_eltcalc_P23 work/kat/gul_S1_eltcalc_P24 work/kat/gul_S1_eltcalc_P25 work/kat/gul_S1_eltcalc_P26 work/kat/gul_S1_eltcalc_P27 work/kat/gul_S1_eltcalc_P28 work/kat/gul_S1_eltcalc_P29 work/kat/gul_S1_eltcalc_P30 work/kat/gul_S1_eltcalc_P31 work/kat/gul_S1_eltcalc_P32 work/kat/gul_S1_eltcalc_P33 work/kat/gul_S1_eltcalc_P34 work/kat/gul_S1_eltcalc_P35 work/kat/gul_S1_eltcalc_P36 work/kat/gul_S1_eltcalc_P37 work/kat/gul_S1_eltcalc_P38 work/kat/gul_S1_eltcalc_P39 work/kat/gul_S1_eltcalc_P40 > output/gul_S1_eltcalc.csv & kpid7=$! kat work/kat/gul_S1_pltcalc_P1 work/kat/gul_S1_pltcalc_P2 work/kat/gul_S1_pltcalc_P3 work/kat/gul_S1_pltcalc_P4 work/kat/gul_S1_pltcalc_P5 work/kat/gul_S1_pltcalc_P6 work/kat/gul_S1_pltcalc_P7 work/kat/gul_S1_pltcalc_P8 work/kat/gul_S1_pltcalc_P9 work/kat/gul_S1_pltcalc_P10 work/kat/gul_S1_pltcalc_P11 work/kat/gul_S1_pltcalc_P12 work/kat/gul_S1_pltcalc_P13 work/kat/gul_S1_pltcalc_P14 work/kat/gul_S1_pltcalc_P15 work/kat/gul_S1_pltcalc_P16 work/kat/gul_S1_pltcalc_P17 work/kat/gul_S1_pltcalc_P18 work/kat/gul_S1_pltcalc_P19 work/kat/gul_S1_pltcalc_P20 work/kat/gul_S1_pltcalc_P21 work/kat/gul_S1_pltcalc_P22 work/kat/gul_S1_pltcalc_P23 work/kat/gul_S1_pltcalc_P24 work/kat/gul_S1_pltcalc_P25 work/kat/gul_S1_pltcalc_P26 work/kat/gul_S1_pltcalc_P27 work/kat/gul_S1_pltcalc_P28 work/kat/gul_S1_pltcalc_P29 work/kat/gul_S1_pltcalc_P30 work/kat/gul_S1_pltcalc_P31 work/kat/gul_S1_pltcalc_P32 work/kat/gul_S1_pltcalc_P33 work/kat/gul_S1_pltcalc_P34 work/kat/gul_S1_pltcalc_P35 work/kat/gul_S1_pltcalc_P36 work/kat/gul_S1_pltcalc_P37 work/kat/gul_S1_pltcalc_P38 work/kat/gul_S1_pltcalc_P39 work/kat/gul_S1_pltcalc_P40 > output/gul_S1_pltcalc.csv & kpid8=$! kat work/kat/gul_S1_summarycalc_P1 work/kat/gul_S1_summarycalc_P2 work/kat/gul_S1_summarycalc_P3 work/kat/gul_S1_summarycalc_P4 work/kat/gul_S1_summarycalc_P5 work/kat/gul_S1_summarycalc_P6 work/kat/gul_S1_summarycalc_P7 work/kat/gul_S1_summarycalc_P8 work/kat/gul_S1_summarycalc_P9 work/kat/gul_S1_summarycalc_P10 work/kat/gul_S1_summarycalc_P11 work/kat/gul_S1_summarycalc_P12 work/kat/gul_S1_summarycalc_P13 work/kat/gul_S1_summarycalc_P14 work/kat/gul_S1_summarycalc_P15 work/kat/gul_S1_summarycalc_P16 work/kat/gul_S1_summarycalc_P17 work/kat/gul_S1_summarycalc_P18 work/kat/gul_S1_summarycalc_P19 work/kat/gul_S1_summarycalc_P20 work/kat/gul_S1_summarycalc_P21 work/kat/gul_S1_summarycalc_P22 work/kat/gul_S1_summarycalc_P23 work/kat/gul_S1_summarycalc_P24 work/kat/gul_S1_summarycalc_P25 work/kat/gul_S1_summarycalc_P26 work/kat/gul_S1_summarycalc_P27 work/kat/gul_S1_summarycalc_P28 work/kat/gul_S1_summarycalc_P29 work/kat/gul_S1_summarycalc_P30 work/kat/gul_S1_summarycalc_P31 work/kat/gul_S1_summarycalc_P32 work/kat/gul_S1_summarycalc_P33 work/kat/gul_S1_summarycalc_P34 work/kat/gul_S1_summarycalc_P35 work/kat/gul_S1_summarycalc_P36 work/kat/gul_S1_summarycalc_P37 work/kat/gul_S1_summarycalc_P38 work/kat/gul_S1_summarycalc_P39 work/kat/gul_S1_summarycalc_P40 > output/gul_S1_summarycalc.csv & kpid9=$! # --- Do ground up loss kats for fully correlated output --- kat work/full_correlation/kat/gul_S1_eltcalc_P1 work/full_correlation/kat/gul_S1_eltcalc_P2 work/full_correlation/kat/gul_S1_eltcalc_P3 work/full_correlation/kat/gul_S1_eltcalc_P4 work/full_correlation/kat/gul_S1_eltcalc_P5 work/full_correlation/kat/gul_S1_eltcalc_P6 work/full_correlation/kat/gul_S1_eltcalc_P7 work/full_correlation/kat/gul_S1_eltcalc_P8 work/full_correlation/kat/gul_S1_eltcalc_P9 work/full_correlation/kat/gul_S1_eltcalc_P10 work/full_correlation/kat/gul_S1_eltcalc_P11 work/full_correlation/kat/gul_S1_eltcalc_P12 work/full_correlation/kat/gul_S1_eltcalc_P13 work/full_correlation/kat/gul_S1_eltcalc_P14 work/full_correlation/kat/gul_S1_eltcalc_P15 work/full_correlation/kat/gul_S1_eltcalc_P16 work/full_correlation/kat/gul_S1_eltcalc_P17 work/full_correlation/kat/gul_S1_eltcalc_P18 work/full_correlation/kat/gul_S1_eltcalc_P19 work/full_correlation/kat/gul_S1_eltcalc_P20 work/full_correlation/kat/gul_S1_eltcalc_P21 work/full_correlation/kat/gul_S1_eltcalc_P22 work/full_correlation/kat/gul_S1_eltcalc_P23 work/full_correlation/kat/gul_S1_eltcalc_P24 work/full_correlation/kat/gul_S1_eltcalc_P25 work/full_correlation/kat/gul_S1_eltcalc_P26 work/full_correlation/kat/gul_S1_eltcalc_P27 work/full_correlation/kat/gul_S1_eltcalc_P28 work/full_correlation/kat/gul_S1_eltcalc_P29 work/full_correlation/kat/gul_S1_eltcalc_P30 work/full_correlation/kat/gul_S1_eltcalc_P31 work/full_correlation/kat/gul_S1_eltcalc_P32 work/full_correlation/kat/gul_S1_eltcalc_P33 work/full_correlation/kat/gul_S1_eltcalc_P34 work/full_correlation/kat/gul_S1_eltcalc_P35 work/full_correlation/kat/gul_S1_eltcalc_P36 work/full_correlation/kat/gul_S1_eltcalc_P37 work/full_correlation/kat/gul_S1_eltcalc_P38 work/full_correlation/kat/gul_S1_eltcalc_P39 work/full_correlation/kat/gul_S1_eltcalc_P40 > output/full_correlation/gul_S1_eltcalc.csv & kpid10=$! kat work/full_correlation/kat/gul_S1_pltcalc_P1 work/full_correlation/kat/gul_S1_pltcalc_P2 work/full_correlation/kat/gul_S1_pltcalc_P3 work/full_correlation/kat/gul_S1_pltcalc_P4 work/full_correlation/kat/gul_S1_pltcalc_P5 work/full_correlation/kat/gul_S1_pltcalc_P6 work/full_correlation/kat/gul_S1_pltcalc_P7 work/full_correlation/kat/gul_S1_pltcalc_P8 work/full_correlation/kat/gul_S1_pltcalc_P9 work/full_correlation/kat/gul_S1_pltcalc_P10 work/full_correlation/kat/gul_S1_pltcalc_P11 work/full_correlation/kat/gul_S1_pltcalc_P12 work/full_correlation/kat/gul_S1_pltcalc_P13 work/full_correlation/kat/gul_S1_pltcalc_P14 work/full_correlation/kat/gul_S1_pltcalc_P15 work/full_correlation/kat/gul_S1_pltcalc_P16 work/full_correlation/kat/gul_S1_pltcalc_P17 work/full_correlation/kat/gul_S1_pltcalc_P18 work/full_correlation/kat/gul_S1_pltcalc_P19 work/full_correlation/kat/gul_S1_pltcalc_P20 work/full_correlation/kat/gul_S1_pltcalc_P21 work/full_correlation/kat/gul_S1_pltcalc_P22 work/full_correlation/kat/gul_S1_pltcalc_P23 work/full_correlation/kat/gul_S1_pltcalc_P24 work/full_correlation/kat/gul_S1_pltcalc_P25 work/full_correlation/kat/gul_S1_pltcalc_P26 work/full_correlation/kat/gul_S1_pltcalc_P27 work/full_correlation/kat/gul_S1_pltcalc_P28 work/full_correlation/kat/gul_S1_pltcalc_P29 work/full_correlation/kat/gul_S1_pltcalc_P30 work/full_correlation/kat/gul_S1_pltcalc_P31 work/full_correlation/kat/gul_S1_pltcalc_P32 work/full_correlation/kat/gul_S1_pltcalc_P33 work/full_correlation/kat/gul_S1_pltcalc_P34 work/full_correlation/kat/gul_S1_pltcalc_P35 work/full_correlation/kat/gul_S1_pltcalc_P36 work/full_correlation/kat/gul_S1_pltcalc_P37 work/full_correlation/kat/gul_S1_pltcalc_P38 work/full_correlation/kat/gul_S1_pltcalc_P39 work/full_correlation/kat/gul_S1_pltcalc_P40 > output/full_correlation/gul_S1_pltcalc.csv & kpid11=$! kat work/full_correlation/kat/gul_S1_summarycalc_P1 work/full_correlation/kat/gul_S1_summarycalc_P2 work/full_correlation/kat/gul_S1_summarycalc_P3 work/full_correlation/kat/gul_S1_summarycalc_P4 work/full_correlation/kat/gul_S1_summarycalc_P5 work/full_correlation/kat/gul_S1_summarycalc_P6 work/full_correlation/kat/gul_S1_summarycalc_P7 work/full_correlation/kat/gul_S1_summarycalc_P8 work/full_correlation/kat/gul_S1_summarycalc_P9 work/full_correlation/kat/gul_S1_summarycalc_P10 work/full_correlation/kat/gul_S1_summarycalc_P11 work/full_correlation/kat/gul_S1_summarycalc_P12 work/full_correlation/kat/gul_S1_summarycalc_P13 work/full_correlation/kat/gul_S1_summarycalc_P14 work/full_correlation/kat/gul_S1_summarycalc_P15 work/full_correlation/kat/gul_S1_summarycalc_P16 work/full_correlation/kat/gul_S1_summarycalc_P17 work/full_correlation/kat/gul_S1_summarycalc_P18 work/full_correlation/kat/gul_S1_summarycalc_P19 work/full_correlation/kat/gul_S1_summarycalc_P20 work/full_correlation/kat/gul_S1_summarycalc_P21 work/full_correlation/kat/gul_S1_summarycalc_P22 work/full_correlation/kat/gul_S1_summarycalc_P23 work/full_correlation/kat/gul_S1_summarycalc_P24 work/full_correlation/kat/gul_S1_summarycalc_P25 work/full_correlation/kat/gul_S1_summarycalc_P26 work/full_correlation/kat/gul_S1_summarycalc_P27 work/full_correlation/kat/gul_S1_summarycalc_P28 work/full_correlation/kat/gul_S1_summarycalc_P29 work/full_correlation/kat/gul_S1_summarycalc_P30 work/full_correlation/kat/gul_S1_summarycalc_P31 work/full_correlation/kat/gul_S1_summarycalc_P32 work/full_correlation/kat/gul_S1_summarycalc_P33 work/full_correlation/kat/gul_S1_summarycalc_P34 work/full_correlation/kat/gul_S1_summarycalc_P35 work/full_correlation/kat/gul_S1_summarycalc_P36 work/full_correlation/kat/gul_S1_summarycalc_P37 work/full_correlation/kat/gul_S1_summarycalc_P38 work/full_correlation/kat/gul_S1_summarycalc_P39 work/full_correlation/kat/gul_S1_summarycalc_P40 > output/full_correlation/gul_S1_summarycalc.csv & kpid12=$! wait $kpid1 $kpid2 $kpid3 $kpid4 $kpid5 $kpid6 $kpid7 $kpid8 $kpid9 $kpid10 $kpid11 $kpid12 aalcalc -Kil_S1_summaryaalcalc > output/il_S1_aalcalc.csv & lpid1=$! leccalc -r -Kil_S1_summaryleccalc -F output/il_S1_leccalc_full_uncertainty_aep.csv -f output/il_S1_leccalc_full_uncertainty_oep.csv -S output/il_S1_leccalc_sample_mean_aep.csv -s output/il_S1_leccalc_sample_mean_oep.csv -W output/il_S1_leccalc_wheatsheaf_aep.csv -M output/il_S1_leccalc_wheatsheaf_mean_aep.csv -m output/il_S1_leccalc_wheatsheaf_mean_oep.csv -w output/il_S1_leccalc_wheatsheaf_oep.csv & lpid2=$! aalcalc -Kgul_S1_summaryaalcalc > output/gul_S1_aalcalc.csv & lpid3=$! leccalc -r -Kgul_S1_summaryleccalc -F output/gul_S1_leccalc_full_uncertainty_aep.csv -f output/gul_S1_leccalc_full_uncertainty_oep.csv -S output/gul_S1_leccalc_sample_mean_aep.csv -s output/gul_S1_leccalc_sample_mean_oep.csv -W output/gul_S1_leccalc_wheatsheaf_aep.csv -M output/gul_S1_leccalc_wheatsheaf_mean_aep.csv -m output/gul_S1_leccalc_wheatsheaf_mean_oep.csv -w output/gul_S1_leccalc_wheatsheaf_oep.csv & lpid4=$! aalcalc -Kfull_correlation/il_S1_summaryaalcalc > output/full_correlation/il_S1_aalcalc.csv & lpid5=$! leccalc -r -Kfull_correlation/il_S1_summaryleccalc -F output/full_correlation/il_S1_leccalc_full_uncertainty_aep.csv -f output/full_correlation/il_S1_leccalc_full_uncertainty_oep.csv -S output/full_correlation/il_S1_leccalc_sample_mean_aep.csv -s output/full_correlation/il_S1_leccalc_sample_mean_oep.csv -W output/full_correlation/il_S1_leccalc_wheatsheaf_aep.csv -M output/full_correlation/il_S1_leccalc_wheatsheaf_mean_aep.csv -m output/full_correlation/il_S1_leccalc_wheatsheaf_mean_oep.csv -w output/full_correlation/il_S1_leccalc_wheatsheaf_oep.csv & lpid6=$! aalcalc -Kfull_correlation/gul_S1_summaryaalcalc > output/full_correlation/gul_S1_aalcalc.csv & lpid7=$! leccalc -r -Kfull_correlation/gul_S1_summaryleccalc -F output/full_correlation/gul_S1_leccalc_full_uncertainty_aep.csv -f output/full_correlation/gul_S1_leccalc_full_uncertainty_oep.csv -S output/full_correlation/gul_S1_leccalc_sample_mean_aep.csv -s output/full_correlation/gul_S1_leccalc_sample_mean_oep.csv -W output/full_correlation/gul_S1_leccalc_wheatsheaf_aep.csv -M output/full_correlation/gul_S1_leccalc_wheatsheaf_mean_aep.csv -m output/full_correlation/gul_S1_leccalc_wheatsheaf_mean_oep.csv -w output/full_correlation/gul_S1_leccalc_wheatsheaf_oep.csv & lpid8=$! wait $lpid1 $lpid2 $lpid3 $lpid4 $lpid5 $lpid6 $lpid7 $lpid8 rm -R -f work/* rm -R -f fifo/* # Stop ktools watcher kill -9 $pid0
<reponame>ritaswc/wechat_app_template<gh_stars>100-1000 var URI = 'https://api.douban.com/v2/movie'; /** * 抓取豆瓣电影特定类型的API * https://developers.douban.com/wiki/?title=movie_v2 * @param {String} type 类型,例如:'coming_soon' * @param {Objece} params 参数 * @return {Promise} 包含抓取任务的Promise */ function fetchApi(type, params) { return new Promise(function (resolve, reject) { wx.request({ url: URI + '/' + type, data: Object.assign({}, params), header: { 'Content-Type': 'application/json' }, success: resolve, fail: reject }); }); } /** * 获取列表类型的数据 * @param {String} type 类型,例如:'coming_soon' * @param {Number} page 页码 * @param {Number} count 页条数 * @param {String} search 搜索关键词 * @return {Promise} 包含抓取任务的Promise */ function find(type) { var page = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1; var count = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 20; var search = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : ''; var params = { start: (page - 1) * count, count: count }; return fetchApi(type, search ? Object.assign(params, { q: search }) : params).then(function (res) { return res.data; }); } /** * 获取单条类型的数据 * @param {Number} id 电影ID * @return {Promise} 包含抓取任务的Promise */ function findOne(id) { return fetchApi('subject/' + id).then(function (res) { return res.data; }); } module.exports = { find: find, findOne: findOne }; //# sourceMappingURL=douban.js.map
<gh_stars>10-100 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. import logging import os import pkgutil import re from oslo_utils import strutils from watcherclient._i18n import _ from watcherclient import exceptions LOG = logging.getLogger(__name__) if not LOG.handlers: LOG.addHandler(logging.StreamHandler()) MINOR_1_START_END_TIMING = '1.1' MINOR_2_FORCE_AUDIT = '1.2' HEADER_NAME = "OpenStack-API-Version" # key is a deprecated version and value is an alternative version. DEPRECATED_VERSIONS = {} _type_error_msg = _("'%(other)s' should be an instance of '%(cls)s'") def allow_start_end_audit_time(requested_version): """Check if we should support optional start/end attributes for Audit. Version 1.1 of the API added support for start and end time of continuous audits. """ return (APIVersion(requested_version) >= APIVersion(MINOR_1_START_END_TIMING)) def launch_audit_forced(requested_version): """Check if we should support force option for Audit. Version 1.2 of the API added support for force option. """ return (APIVersion(requested_version) >= APIVersion(MINOR_2_FORCE_AUDIT)) class APIVersion(object): """This class represents an API Version Request. This class provides convenience methods for manipulation and comparison of version numbers that we need to do to implement microversions. """ def __init__(self, version_str=None): """Create an API version object. :param version_str: String representation of APIVersionRequest. Correct format is 'X.Y', where 'X' and 'Y' are int values. None value should be used to create Null APIVersionRequest, which is equal to 0.0 """ self.ver_major = 0 self.ver_minor = 0 if version_str is not None: match = re.match(r"^([1-9]\d*)\.([1-9]\d*|0|latest)$", version_str) if match: self.ver_major = int(match.group(1)) if match.group(2) == "latest": # NOTE(andreykurilin): Infinity allows to easily determine # latest version and doesn't require any additional checks # in comparison methods. self.ver_minor = float("inf") else: self.ver_minor = int(match.group(2)) else: msg = _("Invalid format of client version '%s'. " "Expected format 'X.Y', where X is a major part and Y " "is a minor part of version.") % version_str raise exceptions.UnsupportedVersion(msg) def __str__(self): """Debug/Logging representation of object.""" if self.is_latest(): return "Latest API Version Major: %s" % self.ver_major return ("API Version Major: %s, Minor: %s" % (self.ver_major, self.ver_minor)) def __repr__(self): if self.is_null(): return "<APIVersion: null>" else: return "<APIVersion: %s>" % self.get_string() def is_null(self): return self.ver_major == 0 and self.ver_minor == 0 def is_latest(self): return self.ver_minor == float("inf") def __lt__(self, other): if not isinstance(other, APIVersion): raise TypeError(_type_error_msg % {"other": other, "cls": self.__class__}) return ((self.ver_major, self.ver_minor) < (other.ver_major, other.ver_minor)) def __eq__(self, other): if not isinstance(other, APIVersion): raise TypeError(_type_error_msg % {"other": other, "cls": self.__class__}) return ((self.ver_major, self.ver_minor) == (other.ver_major, other.ver_minor)) def __gt__(self, other): if not isinstance(other, APIVersion): raise TypeError(_type_error_msg % {"other": other, "cls": self.__class__}) return ((self.ver_major, self.ver_minor) > (other.ver_major, other.ver_minor)) def __le__(self, other): return self < other or self == other def __ne__(self, other): return not self.__eq__(other) def __ge__(self, other): return self > other or self == other def matches(self, min_version, max_version): """Matches the version object. Returns whether the version object represents a version greater than or equal to the minimum version and less than or equal to the maximum version. :param min_version: Minimum acceptable version. :param max_version: Maximum acceptable version. :returns: boolean If min_version is null then there is no minimum limit. If max_version is null then there is no maximum limit. If self is null then raise ValueError """ if self.is_null(): raise ValueError(_("Null APIVersion doesn't support 'matches'.")) if max_version.is_null() and min_version.is_null(): return True elif max_version.is_null(): return min_version <= self elif min_version.is_null(): return self <= max_version else: return min_version <= self <= max_version def get_string(self): """Version string representation. Converts object to string representation which if used to create an APIVersion object results in the same version. """ if self.is_null(): raise ValueError( _("Null APIVersion cannot be converted to string.")) elif self.is_latest(): return "%s.%s" % (self.ver_major, "latest") return "%s.%s" % (self.ver_major, self.ver_minor) def get_available_major_versions(): # NOTE(andreykurilin): available clients version should not be # hardcoded, so let's discover them. matcher = re.compile(r"v[0-9]*$") submodules = pkgutil.iter_modules( [os.path.dirname(os.path.dirname(__file__))]) available_versions = [name[1:] for loader, name, ispkg in submodules if matcher.search(name)] return available_versions def check_major_version(api_version): """Checks major part of ``APIVersion`` obj is supported. :raises watcherclient.exceptions.UnsupportedVersion: if major part is not supported """ available_versions = get_available_major_versions() if (not api_version.is_null() and str(api_version.ver_major) not in available_versions): if len(available_versions) == 1: msg = _("Invalid client version '%(version)s'. " "Major part should be '%(major)s'") % { "version": api_version.get_string(), "major": available_versions[0]} else: msg = _("Invalid client version '%(version)s'. " "Major part must be one of: '%(major)s'") % { "version": api_version.get_string(), "major": ", ".join(available_versions)} raise exceptions.UnsupportedVersion(msg) def get_api_version(version_string): """Returns checked APIVersion object""" version_string = str(version_string) if version_string in DEPRECATED_VERSIONS: LOG.warning( "Version %(deprecated_version)s is deprecated, using " "alternative version %(alternative)s instead.", {"deprecated_version": version_string, "alternative": DEPRECATED_VERSIONS[version_string]}) version_string = DEPRECATED_VERSIONS[version_string] if strutils.is_int_like(version_string): version_string = "%s.0" % version_string api_version = APIVersion(version_string) check_major_version(api_version) return api_version
/* * Copyright (c) 2021 gematik GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package de.gematik.ti.epa.vzd.gem.command; import de.gematik.ti.epa.vzd.client.model.BaseDirectoryEntry; import de.gematik.ti.epa.vzd.client.model.CreateDirectoryEntry; import de.gematik.ti.epa.vzd.client.model.DirectoryEntry; import de.gematik.ti.epa.vzd.client.model.DistinguishedName; import de.gematik.ti.epa.vzd.client.model.UserCertificate; import generated.CommandType; import generated.DistinguishedNameType; import generated.UserCertificateType; import java.time.OffsetDateTime; import java.time.ZonedDateTime; import java.util.ArrayList; import java.util.GregorianCalendar; import javax.xml.datatype.DatatypeConfigurationException; import javax.xml.datatype.DatatypeFactory; import javax.xml.datatype.XMLGregorianCalendar; import org.apache.commons.lang3.StringUtils; /** * This helper class helps to transform the input data (CommandType) to objects the API needs */ public class Transformer { /** * Transforms CommandType to BaseDirectorEntry * * @param command <type>CommandType</type> * @return baseDirectoryEntry <type>BaseDirectoryEntry</type> */ public static BaseDirectoryEntry getBaseDirectoryEntryFromCommandType(CommandType command) { BaseDirectoryEntry baseDirectoryEntry = new BaseDirectoryEntry(); if (command.getDn() != null) { baseDirectoryEntry.setDn(getDnFromDnType(command.getDn())); } baseDirectoryEntry.setDisplayName(command.getDisplayName()); baseDirectoryEntry.setGivenName(command.getGivenName()); baseDirectoryEntry.setStreetAddress(command.getStreetAddress()); baseDirectoryEntry.setPostalCode(command.getPostalCode()); baseDirectoryEntry.setCountryCode(command.getCountryCode()); baseDirectoryEntry.setLocalityName(command.getLocalityName()); baseDirectoryEntry.setStateOrProvinceName(command.getStateOrProvinceName()); baseDirectoryEntry.setTitle(command.getTitle()); baseDirectoryEntry.setOrganization(command.getOrganization()); baseDirectoryEntry.setOtherName(command.getOtherName()); baseDirectoryEntry.setTelematikID(command.getTelematikID()); if (!command.getSpecialization().isEmpty()) { baseDirectoryEntry.setSpecialization(command.getSpecialization()); } if (!command.getDomainID().isEmpty()) { baseDirectoryEntry.setDomainID(command.getDomainID()); } if (!command.getHolder().isEmpty()) { baseDirectoryEntry.setHolder(command.getHolder()); } if (!command.getEntryType().isEmpty()) { baseDirectoryEntry.setEntryType(command.getEntryType()); } baseDirectoryEntry.setMaxKOMLEadr(command.getMaxKOMLEadr()); return baseDirectoryEntry; } private static DistinguishedName getDnFromDnType(DistinguishedNameType dn) { DistinguishedName distinguishedName = new DistinguishedName(); distinguishedName.setUid(dn.getUid()); distinguishedName.setCn(dn.getCn()); if (!dn.getDc().isEmpty()) { distinguishedName.setDc(dn.getDc()); } if (!dn.getOu().isEmpty()) { distinguishedName.setOu(dn.getOu()); } return distinguishedName; } /** * Transforms CommandType to CreateDirectoryEntry * * @param command <type>CommandType</type> * @return baseDirectoryEntry <type>BaseDirectoryEntry</type> */ public static CreateDirectoryEntry getCreateDirectoryEntry(CommandType command) { CreateDirectoryEntry createDirectoryEntry = new CreateDirectoryEntry(); createDirectoryEntry.setDirectoryEntryBase(getBaseDirectoryEntryFromCommandType(command)); if (!command.getUserCertificate().isEmpty()) { createDirectoryEntry.setUserCertificates(new ArrayList<>()); for (UserCertificateType cert : command.getUserCertificate()) { createDirectoryEntry.getUserCertificates().add(getUserCertificate(cert)); } } return createDirectoryEntry; } private static UserCertificate getUserCertificate( UserCertificateType userCertificateType) { UserCertificate userCertificate = new UserCertificate(); if (userCertificateType.getDn() != null) { userCertificate.setDn(getDnFromDnType(userCertificateType.getDn())); } userCertificate.setTelematikID(userCertificateType.getTelematikID()); if (!userCertificateType.getUsage().isEmpty()) { for (String usage : userCertificateType.getUsage()) { userCertificate.addUsageItem(UserCertificate.UsageEnum.fromValue(usage)); } } userCertificate.setDescription(userCertificateType.getDescription()); if (StringUtils.isNoneBlank(userCertificateType.getUserCertificate())) { String cert = userCertificateType.getUserCertificate().replaceAll("[\n\r]", "").trim(); userCertificate.setUserCertificate(cert); } return userCertificate; } public static CommandType getCommandTypeFromDirectoryEntry(DirectoryEntry entry) throws DatatypeConfigurationException { BaseDirectoryEntry baseEntry = entry.getDirectoryEntryBase(); CommandType commandType = new CommandType(); commandType.setDn(getDnFromDnBase(baseEntry.getDn())); commandType.setGivenName(baseEntry.getGivenName()); commandType.setSn(baseEntry.getSn()); commandType.setCn(baseEntry.getCn()); commandType.setDisplayName(baseEntry.getDisplayName()); commandType.setStreetAddress(baseEntry.getStreetAddress()); commandType.setPostalCode(baseEntry.getPostalCode()); commandType.setCountryCode(baseEntry.getCountryCode()); commandType.setLocalityName(baseEntry.getLocalityName()); commandType.setStateOrProvinceName(baseEntry.getStateOrProvinceName()); commandType.setTitle(baseEntry.getTitle()); commandType.setOrganization(baseEntry.getOrganization()); commandType.setOtherName(baseEntry.getOtherName()); commandType.setTelematikID(baseEntry.getTelematikID()); if (baseEntry.getSpecialization() != null) { commandType.getSpecialization().addAll(baseEntry.getSpecialization()); } if (baseEntry.getDomainID() != null) { commandType.getDomainID().addAll(baseEntry.getDomainID()); } if (baseEntry.getHolder() != null) { commandType.getHolder().addAll(baseEntry.getHolder()); } commandType.setMaxKOMLEadr(baseEntry.getMaxKOMLEadr()); if (baseEntry.getPersonalEntry() != null) { commandType.setPersonalEntry(Boolean.toString(baseEntry.getPersonalEntry())); } if (baseEntry.getDataFromAuthority() != null) { commandType.setDataFromAuthority(Boolean.toString(baseEntry.getDataFromAuthority())); } if (baseEntry.getChangeDateTime() != null) { commandType.setChangeDateTime(baseEntry.getChangeDateTime()); } if (baseEntry.getProfessionOID() != null) { commandType.getProfessionOID().addAll(baseEntry.getProfessionOID()); } if (baseEntry.getEntryType() != null) { commandType.getEntryType().addAll(baseEntry.getEntryType()); } return commandType; } private static XMLGregorianCalendar convertOffsetDateTimeToGregorianCalendar(OffsetDateTime changeDateTime) throws DatatypeConfigurationException { ZonedDateTime time = changeDateTime.toZonedDateTime(); GregorianCalendar calendar = new GregorianCalendar(); calendar.setTimeInMillis(time.getSecond() * 1000); return DatatypeFactory.newInstance().newXMLGregorianCalendar(calendar); } private static DistinguishedNameType getDnFromDnBase(DistinguishedName dn) { DistinguishedNameType dnType = new DistinguishedNameType(); dnType.setUid(dn.getUid()); dnType.setCn(dn.getCn()); return dnType; } }
<reponame>ychenracing/ychen<filename>src/cn/edu/fudan/iipl/dao/StudentMyBatisDao.java package cn.edu.fudan.iipl.dao; import java.util.List; import cn.edu.fudan.iipl.annotation.MyBatisDao; import cn.edu.fudan.iipl.entity.Student; @MyBatisDao public interface StudentMyBatisDao { public List<Student> findAll(); public Student findById(int id); public void updateStudent(Student student); public void addStudent(Student student); public void deleteById(int id); public int findByName(String name); }
/* Description: Let us consider a triangle of numbers in which a number appears in the first line, two numbers appear in the second line, etc. Develop a program which will compute the largest of the sums of numbers that appear on the paths starting from the top towards the base, so that: On each path the next number is located on the row below, more precisely either directly below or below and one place to the right. The number of rows is strictly positive, but less than 11 and all numbers are integers between 0 and 99. Input In the first line integer comes n (the number of test cases, no more than 20). Then n test cases follow, where each test case starts with the number of lines which is followed by their content. Output For each test case write the result of each case in a separate line. Sample Input: 2 3 1 2 1 1 2 3 4 1 1 2 4 1 2 2 3 1 1 Sample Output: 5 9 */ #include <iostream> using namespace std; // Funcion que suma el mayor trabajo en un triangulo int sumInATriangle (int mat[12][12], int n) { // Valor de retorno int res = -1; // Llenamos la columna izquieda for (int i=1; i<n; i++) { mat[i][0] = mat[i][0] + mat[i-1][0]; } // Llenamos la diagonal for (int i=1; i<n; i++) { mat[i][i] = mat[i][i] + mat[i-1][i-1]; } // Solo calculamos si el tamanio del triangulo es mayor a 2 if (n>2) { // Calcula triangulo interno for (int i=2; i<n; i++) { for (int j=1; j<i; j++) { mat[i][j] += max(mat[i-1][j-1], mat[i-1][j]); } } } //Buscamos el mas grande del ultimo nivel for (int i=0; i<n; i++) { res = (mat[n-1][i] > res) ? mat[n-1][i] : res; } // Regresamos el resultado return res; } // Despliega mat, funcion de debugeo, no se usa en el programa final void print (int mat[12][12], int n) { for (int j=0; j<n; j++) { for (int k=0; k<j+1; k++) {goo cout << mat[j][k] << " "; } cout << endl; } cout << endl << endl; } int main() { int t; // Numero de triangulos int n; // Tamanio del triangulo cin >> t; // Numero de triangulos for (int i=0; i<t; i++) { cin >> n; // Pedimos tamanio de triangulo int mat[12][12]; // Matriz con el triangulo // Pedimos matiz del triangulo for (int j=0; j<n; j++) { for (int k=0; k<j+1; k++) { cin >> mat[j][k]; } } // Desplegamos resultado de la suma mas grande cout << sumInATriangle(mat, n) << endl; } // Terminamos programa return 0; }
<gh_stars>0 package com.cjy.flb.adapter; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import com.cjy.flb.utils.PinYin; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * 数据库操作类 * * @author zihao */ public class DatabaseAdapter { private static DatabaseManagers manager; private static Context mContext; /** * 获取一个操作类对象 * * @param context * @return */ public static DatabaseAdapter getIntance(Context context) { DatabaseAdapter adapter = new DatabaseAdapter(); mContext = context; manager = DatabaseManagers.getInstance(new DatabaseHelper(mContext)); return adapter; } /** * 插入信息 * * @param titleArray */ public void inserInfo(List<String> titleArray) { SQLiteDatabase database = manager.getWritableDatabase(); try { for (String title : titleArray) { ContentValues values = new ContentValues(); values.put("title", title); values.put("pinyin", PinYin.getPinYin(title));// 讲内容转换为拼音 database.insert(DatabaseHelper.TABLE_NAME, null, values); } } catch (Exception e) { // TODO: handle exception } finally { manager.closeDatabase(); } } /** * 查询信息 * * @param pinyin // 字符串转换的拼音 * @return */ public List<String> queryInfo(String pinyin) { List<String> resultArray = new ArrayList<String>(); SQLiteDatabase database = manager.getReadableDatabase(); // SQLiteDatabase database = SQLiteDatabase.openOrCreateDatabase(DBManager.DB_PATH + // "/" + DBManager.DB_NAME, null); Cursor cursor = null; try { // 创建模糊查询的条件 String likeStr = "'"; for (int i = 0; i < pinyin.length(); i++) { if (i < pinyin.length() - 1) { likeStr += pinyin.charAt(i); } else { likeStr += pinyin.charAt(i) + "%'"; } } cursor = database.rawQuery("select*from " + DatabaseHelper.TABLE_NAME + " where name_py like " + likeStr+ " ORDER BY id DESC ", null); if (cursor.getCount() == 0) { cursor = database.rawQuery("select*from " + DatabaseHelper.TABLE_NAME + " where name_pinyin like " + likeStr+ " ORDER BY id DESC ", null); } Map<String, String> map = new HashMap<>(); while (cursor != null && cursor.moveToNext()) { map.put( cursor.getString(cursor.getColumnIndex("product_name_zh")) + "/" + cursor.getString(cursor.getColumnIndex("production_unit")), cursor.getString(cursor.getColumnIndex("id"))); } for (Object object : map.entrySet()) { Map.Entry entry = (Map.Entry) object; String key = (String) entry.getKey(); String val = (String) entry.getValue(); resultArray.add(key + "/" + val); } if (cursor != null) cursor.close(); map.clear(); } catch (Exception e) { // TODO: handle exception e.toString(); } finally { database.close(); manager.closeDatabase(); } return resultArray; } /** * 查询信息 添加药物为 药物名/公司名/表id * * @param pinyin // 字符串转换的拼音 * @return */ public List<String> queryInfoChinese(String pinyin) { List<String> resultArray = new ArrayList<>(); SQLiteDatabase database = manager.getReadableDatabase(); Cursor cursor = null; try { // 创建模糊查询的条件 String likeStr = "'"; for (int i = 0; i < pinyin.length(); i++) { if (i < pinyin.length() - 1) { likeStr += "%" + pinyin.charAt(i); } else { likeStr += "%" + pinyin.charAt(i) + "%'"; } } // cursor = database.rawQuery("select distinct product_name_zh from " 唯一查找 cursor = database.rawQuery("select*from " + DatabaseHelper.TABLE_NAME + " where product_name_zh like " + likeStr + " ORDER BY id DESC ", null);//降序 Map<String, String> map = new HashMap<>(); while (cursor != null && cursor.moveToNext()) { map.put( cursor.getString(cursor.getColumnIndex("product_name_zh")) + "/" + cursor.getString(cursor.getColumnIndex("production_unit")), cursor.getString(cursor.getColumnIndex("id"))); } for (Object object : map.entrySet()) { Map.Entry entry = (Map.Entry) object; String key = (String) entry.getKey(); String val = (String) entry.getValue(); resultArray.add(key + "/" + val); } /* while (cursor.moveToNext()) { resultArray.add( cursor.getString(cursor.getColumnIndex("product_name_zh")) + "/" + cursor.getString(cursor.getColumnIndex("production_unit")) + "/" + cursor.getString(cursor.getColumnIndex("id"))); }*/ if (cursor != null) cursor.close(); map.clear(); } catch (Exception e) { // TODO: handle exception e.toString(); } finally { database.close(); manager.closeDatabase(); } return resultArray; } public synchronized String queryInfoById(String id) { String string = null; SQLiteDatabase database = manager.getReadableDatabase(); Cursor cursor = null; try { // 创建模糊查询的条件 cursor = database.rawQuery("select*from " + DatabaseHelper.TABLE_NAME + " where id like " + id, null); while (cursor != null && cursor.moveToNext()) { string = cursor.getString(cursor.getColumnIndex("product_name_zh")); } } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } finally { if (cursor != null) cursor.close(); database.close(); manager.closeDatabase(); } return string; } public synchronized String queryInfoByIdForProblem(String id) { String string = null; SQLiteDatabase database = manager.getReadableDatabase(); Cursor cursor = null; try { // 创建模糊查询的条件 cursor = database.rawQuery("select*from " + DatabaseHelper.TABLE_NAME + " where id like " + id, null); while (cursor != null && cursor.moveToNext()) { string = cursor.getString(cursor.getColumnIndex("product_name_zh")) + "/" + cursor.getString(cursor.getColumnIndex("production_unit")) + "/" + id; } } catch (Exception e) { // TODO: handle exception e.printStackTrace(); } finally { if (cursor != null) cursor.close(); database.close(); manager.closeDatabase(); } return string; } /** * 删除表中的所有数据 */ public void deleteAll() { SQLiteDatabase database = manager.getWritableDatabase(); try { database.delete(DatabaseHelper.TABLE_NAME, null, null); } catch (Exception e) { // TODO: handle exception } finally { manager.closeDatabase(); } } }
<gh_stars>0 from ruamel.yaml import YAML import os def load_parameters(filename): with open(filename, 'r') as f: yaml = YAML(typ='safe') params = yaml.load(f) params['tag'] = os.path.splitext(os.path.basename(f.name))[0] params['dir'] = os.path.dirname(f.name) return params
#!/bin/bash DG="\033[1;30m" RD="\033[0;31m" NC="\033[0;0m" LB="\033[1;34m" all_done(){ echo -e "$LB" echo ' __ _' echo ' /\_\/ o | | |' echo '| | _ _ _ _ _ | | , |' echo '| |/ |/ |/ | / |/ | | |/ \_| | / \_|' echo ' \__/ | | |_/ | |_/|_/\_/ \_/|_/ \/ o' echo -e "$NC" } env_destroyed(){ echo -e "$RD" echo ' ___ __,' echo '(| \ _ , _|_ ,_ o / | __|_ |' echo ' | ||/ / \_| / | | | | | | /|/|/| |/ | |' echo '(\__/ |_/ \/ |_/ |/ \/|_/|/ \_/\_/ | | |_/|_/|_/o' echo -e "$NC" } echo -e "\nThis script should be executed from the s3-bucket-protection root directory.\n" if [ -z "$1" ] then echo "You must specify 'up' or 'down' to run this script" exit 1 fi MODE=$(echo "$1" | tr [:upper:] [:lower:]) if [[ "$MODE" == "up" ]] then read -sp "CrowdStrike API Client ID: " FID echo read -sp "CrowdStrike API Client SECRET: " FSECRET echo -e "\nThe following values are not required for the integration, only the demo." read -p "EC2 Instance Key Name: " ECKEY read -p "Trusted IP address: " TRUSTED UNIQUE=$(echo $RANDOM | md5sum | sed "s/[[:digit:].-]//g" | head -c 8) rm lambda/falconpy-layer.zip >/dev/null 2>&1 curl -o lambda/falconpy-layer.zip https://falconpy.io/downloads/falconpy-layer.zip if ! [ -f demo/.terraform.lock.hcl ]; then terraform -chdir=demo init fi terraform -chdir=demo apply -compact-warnings --var falcon_client_id=$FID \ --var falcon_client_secret=$FSECRET --var instance_key_name=$ECKEY \ --var trusted_ip=$TRUSTED/32 --var unique_id=$UNIQUE --auto-approve echo -e "$RD\nPausing for 30 seconds to allow configuration to settle.$NC" sleep 30 all_done exit 0 fi if [[ "$MODE" == "down" ]] then terraform -chdir=demo destroy -compact-warnings --auto-approve rm lambda/quickscan-bucket.zip env_destroyed exit 0 fi echo "Invalid command specified." exit 1
import { Stack, Text, Link, Box } from '@chakra-ui/core'; import { AiFillGithub } from 'react-icons/ai'; const Footer = () => ( <Stack as="section" spacing={8} maxWidth="650px" flexDirection="row" justifyContent="space-between" width="100%" mb={[0, 0, 8]} pl={[8, 8, 0, 0]} pr={[8, 8, 0, 0]} mx="auto" > <Text color="gray.900"> <b>No &copy; copyright issues</b> </Text> <Stack isInline> <Link href="https://github.com/pranavp10/devenv.now.sh" target="_blank" color="gray.900" rel="noopener noreferrer" > <Box as={AiFillGithub} size="24px" color="gray.900" /> </Link> </Stack> </Stack> ); export default Footer;
from typing import List def apply_scaling_factor(sequence_output: List[List[float]], model_dim: int) -> List[List[float]]: scaled_output = [[element * (model_dim ** -0.5) for element in row] for row in sequence_output] return scaled_output # Test sequence_output = [[1.0, 2.0, 3.0], [4.0, 5.0, 6.0], [7.0, 8.0, 9.0]] model_dim = 512 scaled_output = apply_scaling_factor(sequence_output, model_dim) print(scaled_output)
<reponame>fzf/qmk_toolbox /* * Null implementation of Serial to dump debug print into blackhole */ #include "Arduino.h" #include "sendchar.h" #include "USBAPI.h" void Serial_::begin(uint16_t baud_count) { } void Serial_::end(void) { } void Serial_::accept(void) { } int Serial_::available(void) { return 0; } int Serial_::peek(void) { return -1; } int Serial_::read(void) { return -1; } void Serial_::flush(void) { } size_t Serial_::write(uint8_t c) { sendchar(c); return 1; } Serial_::operator bool() { return true; } Serial_ Serial;
<filename>include/easyqrpng/easyqrpng.h #ifndef H__EASYQRPNG__H #define H__EASYQRPNG__H #include <easyqrpng/errors.h> #if defined(__cplusplus) extern "C" { #endif typedef struct easyqrpng_data easyqrpng_data; easyqrpng_data* easyqrpng_new(); void easyqrpng_free(easyqrpng_data* data); easyqrpng_error_t easyqrpng_encode(const char *data, int length); easyqrpng_error_t easyqrpng_save(easyqrpng_data* data, const char *filename); char *easyqrpng_get_data(easyqrpng_data* data); int easyqrpng_get_length(easyqrpng_data* data); easyqrpng_error_t easyqrpng_error(easyqrpng_data* data); //char *easyqrpng_errormessage(easyqrpng_data* data); #if defined(__cplusplus) } #endif #endif // H__EASYQRPNG__H
/* tslint:disable:readonly-keyword no-object-mutation*/ import anyTest, { TestInterface } from 'ava'; import { approximatelyEqual, Intersection, Line, Point, Ray, RayRange, Vector } from '../../index'; const test = anyTest as TestInterface<{ line: Line; }>; test.beforeEach('Create test geometry', t => { t.context.line = Line.fromCoords([ [-5, 0], [5, 0] ]); }); // ----------------------- // rayLine // ----------------------- test('rayLine: Meet in cross at 0,0', t => { const ray = new Ray(new Point(0, -5), new Vector(0, 1)); const result = Intersection.rayLine(ray, t.context.line); t.true(result.intersects); t.is(result.rayU, 5); t.is(result.lineU, 0.5); }); test('rayLine: Meet in cross at 0,0 - range.postivie', t => { const ray = new Ray(new Point(0, -5), new Vector(0, 1)); const result = Intersection.rayLine(ray, t.context.line, RayRange.positive); t.true(result.intersects); t.is(result.rayU, 5); t.is(result.lineU, 0.5); }); test('rayLine: Meet in cross at 0,0 - angled', t => { const ray = new Ray(new Point(-3, -4), new Vector(3, 4)); const result = Intersection.rayLine(ray, t.context.line); t.true(result.intersects); t.true(approximatelyEqual(result.rayU, 5)); t.true(approximatelyEqual(result.lineU, 0.5)); }); test('rayLine: do not meet - parallel', t => { const ray = new Ray(new Point(-5, 0), new Vector(1, 0)); const result = Intersection.rayLine(ray, t.context.line); t.is(result.intersects, false); t.is(result.rayU, 0); t.is(result.lineU, 0); }); test('rayLine: Meet in cross at 0,0 - even though ray starts ahead of point', t => { const ray = new Ray(new Point(0, -5), new Vector(0, -1)); const result = Intersection.rayLine(ray, t.context.line); t.true(result.intersects); t.is(result.rayU, -5); t.is(result.lineU, 0.5); }); test('rayLine: Do not meet because range is only positive and intersection is negative', t => { const ray = new Ray(new Point(0, -5), new Vector(0, -1)); const result = Intersection.rayLine(ray, t.context.line, RayRange.positive); t.is(result.intersects, false); }); // ----------------------- // rayRay // ----------------------- test('rayRay: Meet in cross at 0,0', t => { const rayA = new Ray(new Point(-5, 0), new Vector(1, 0)); const rayB = new Ray(new Point(0, -5), new Vector(0, 1)); const result = Intersection.rayRay(rayA, rayB); t.true(result.intersects); t.is(result.rayAU, 5); t.is(result.rayBU, 5); }); test('rayRay: Meet in cross at 0,0 - angled', t => { const rayA = new Ray(new Point(-3, -4), new Vector(3, 4)); const rayB = new Ray(new Point(0, -5), new Vector(0, 1)); const result = Intersection.rayRay(rayA, rayB); t.true(result.intersects); t.true(approximatelyEqual(result.rayAU, 5)); t.true(approximatelyEqual(result.rayBU, 5)); }); test('rayRay: do not meet - parallel', t => { const rayA = new Ray(new Point(-5, 0), new Vector(1, 0)); const rayB = new Ray(new Point(0, 0), new Vector(1, 0)); const result = Intersection.rayRay(rayA, rayB); t.is(result.intersects, false); t.is(result.rayAU, 0); t.is(result.rayBU, 0); }); test('rayRay: Meet in cross at 0,0 - even though A starts ahead of point', t => { const rayA = new Ray(new Point(5, 0), new Vector(1, 0)); const rayB = new Ray(new Point(0, -5), new Vector(0, 1)); const result = Intersection.rayRay(rayA, rayB); t.true(result.intersects); t.is(result.rayAU, -5); t.is(result.rayBU, 5); }); test('rayRay: Meet in cross at 0,0 - only positive range', t => { const rayA = new Ray(new Point(-5, 0), new Vector(1, 0)); const rayB = new Ray(new Point(0, -5), new Vector(0, 1)); const result = Intersection.rayRay(rayA, rayB, RayRange.positive); t.true(result.intersects); t.is(result.rayAU, 5); t.is(result.rayBU, 5); }); test('rayRay: Does not meet because range is positive and intersection is negative', t => { const rayA = new Ray(new Point(5, 0), new Vector(1, 0)); const rayB = new Ray(new Point(0, -5), new Vector(0, 1)); const result = Intersection.rayRay(rayA, rayB, RayRange.positive); t.is(result.intersects, false); });
<gh_stars>1-10 var debug = process.env.NODE_ENV !== "production"; var path = require('path'); var webpack = require('webpack'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); module.exports = { devtool: 'source-map', entry: [ 'webpack-hot-middleware/client', './src/index' ], output: { path: path.join(__dirname, 'static'), filename: 'bundle.js', publicPath: '/static/' }, plugins: debug ? [ new ExtractTextPlugin("styles.css"), new webpack.HotModuleReplacementPlugin(), new webpack.ProvidePlugin({ '$': "jquery", 'jQuery': "jquery", 'window.jQuery': "jquery", 'window.$': 'jquery' }) ] : [ new webpack.DefinePlugin({ 'process.env': { 'NODE_ENV': JSON.stringify('production') }, "require.specified": "require.resolve" }), new webpack.optimize.DedupePlugin(), new webpack.optimize.OccurenceOrderPlugin(), new webpack.optimize.UglifyJsPlugin({ mangle: false, sourcemap: false, compress: { warnings: false } }), new ExtractTextPlugin("styles.css"), new webpack.HotModuleReplacementPlugin(), new webpack.ProvidePlugin({ '$': "jquery", 'jQuery': "jquery", 'window.jQuery': "jquery", 'window.$': 'jquery' }) ], module: { loaders: [ { test: /\.js$/, loaders: ['react-hot', 'babel'], include: path.join(__dirname, 'src') }, { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader') }, { test: /\.(png|jpg|gif)(\?v=\d+\.\d+\.\d+)?$/, loader: 'url-loader?limit=100000' }, { test: /\.(eot|com|json|ttf|woff|woff2|otf)(\?v=\d+\.\d+\.\d+)?$/, loader: 'url-loader?limit=10000&mimetype=application/octet-stream' }, { test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, loader: 'url-loader?limit=10000&mimetype=image/svg+xml' } ] } };
import xbmcgui class NotificationManager: def __init__(self): # Initialize any necessary attributes or settings here pass def get_setting(self, setting_key): # Placeholder implementation for demonstration purposes # Replace with actual logic to retrieve setting value from the application settings = {'Block_Noti_sound': 'true'} # Example settings return settings.get(setting_key, 'false') # Default to 'false' if setting not found def notification(self, title, desc, notification_type, duration, sound): # Placeholder implementation for demonstration purposes # Replace with actual logic to display the notification if sound and self.get_setting('Block_Noti_sound') == 'true': sound = True else: sound = False return xbmcgui.Dialog().notification(str(title), str(desc), notification_type, duration, sound) def VSerror(self, e): # Placeholder implementation for demonstration purposes # Replace with actual logic to display an error notification return xbmcgui.Dialog().notification('vStream', 'Erreur: ' + str(e), xbmcgui.NOTIFICATION_ERROR, 2000, True)
<script> // JavaScript program to print the // arrow pattern // Function to print pattern function print_arrow(n) { // for printing upper part // of the arrow for (var i = 1; i < n; i++) { // To give space before printing // stars in upper part of arrow for (var j = 0; j < i; j++) { document.write(" "); } // To print stars in upper // part of the arrow for (var k = 0; k < i; k++) { document.write("*"); } document.write("<br>"); } // for printing lower part // of the arrow for (var i = 0; i < n; i++) { // To give space before printing // stars in lower part of arrow for (var j = 0; j < n - i; j++) { document.write(" "); } // To print stars in lower // part of the arrow for (var k = 0; k < n - i; k++) { document.write("*"); } document.write("<br>"); } } // Driver code // taking input from user var n = 5; // function calling print_arrow(n); </script>
import jwt from "jsonwebtoken" import { JwtAuthProfileInterface, npJWTGuard } from "./interface"; import { Log } from "../../etc/log"; import { JwtAlg } from ".."; export class npJWT{ constructor(private _args: JwtAuthProfileInterface){} /** * a JWT Guard is used to protect a route or all routes in a npModule. * it will require that a bearer jwt, created with this profile, be passed in the Authorization * field of the request's header */ getGuard():npJWTGuard{ return this } /** * generate a jwt using this jwt profile * @param userData data to be stored in the token */ createWith = (userData:object):string => { let token:string switch(this._args.algorithm){ case(JwtAlg.HS256): token = JWTAlgModel.HS256.sign(userData, this._args) break default: token = JWTAlgModel.HS256.sign(userData, this._args) } return token } decrypt = (token:string):Array<string|null|Error> => { switch(this._args.algorithm){ case(JwtAlg.HS256): return JWTAlgModel.HS256.verifySync(token, this._args) default: return JWTAlgModel.HS256.verifySync(token, this._args) } } /** * verify that a jwt is provided and is valid * use configs to decide next action: return to client or pass to route handler */ verifyToken = (req:any, res:any, next:Function) => { let checkConfigAndReply = (err:any, decoded:any)=>{ req["jwt"] = {} req["jwt"]["data"] = decoded let completeTask = ()=>{ if(err && !this._args.onError.continueToRoute){ let response = res.status(this._args.onError.statusCode) if(this._args.onError.json) response.json(this._args.onError.json) else response.send() } else next() } if(this._args.onFinish) this._args.onFinish(req, decoded, err, completeTask) else completeTask() } let authorization = req.header("Authorization") let token = authorization?req.header("Authorization").split(" ")[1]:undefined; //remove 'Bearer' if(token) { switch(this._args.algorithm){ case(JwtAlg.HS256): JWTAlgModel.HS256.verify(token, this._args, checkConfigAndReply) default: token = JWTAlgModel.HS256.verify(token, this._args, checkConfigAndReply) } } else checkConfigAndReply(new Error("Authorization Token not found"), null) }; } /** * implementation of JWT algorithms */ class JWTAlgModel { static HS256 = { beforeAll: (args:JwtAuthProfileInterface)=>{ if(!args.secret) new Log("secret not provided for auth profile using jwt 'HS256'").throwError() }, sign: (data:object, args:JwtAuthProfileInterface):string=>{ JWTAlgModel.HS256.beforeAll(args) return jwt.sign(data, args.secret!, {expiresIn: args.expiresIn.duration_sec}) }, verify: (token:string, args:JwtAuthProfileInterface, callback:Function):void=>{ JWTAlgModel.HS256.beforeAll(args) jwt.verify(token, args.secret!, (err:any, decoded:any) => callback(err, decoded)) }, verifySync: (token:string, args:JwtAuthProfileInterface):Array<string|null|Error>=>{ try { let tok:string = jwt.verify(token, args.secret!) as string return [tok, null] } catch(err) { return [null, new Error("invalid token")] } } } }
import { Entity, PrimaryGeneratedColumn, Column, OneToMany, ManyToMany, JoinTable } from "typeorm"; @Entity() export class Metodopago { @PrimaryGeneratedColumn() id_metodo:number; @Column() id_cliente:number; @Column() tipo:string; @Column('bigint') ntarjeta:number; @Column() fecha_caducidad:string; @Column() codigo_seguridad:number; }
'use strict'; const maxBy = require('../util/max-by'); const planPush = (plan, pack) => ({ value: plan.value + pack.value, packs: plan.packs.concat([pack]) }); module.exports = packs => { const planner = function (weightTotal) { if (weightTotal <= 0) { return { value: 0, packs: [] }; } if (weightTotal in planner.plans) { return planner.plans[weightTotal]; } return planner.plans[weightTotal] = maxBy(plan => plan.value, packs.filter(pack => pack.weight <= weightTotal).map( pack => planPush(planner(weightTotal - pack.weight), pack) )); }; planner.plans = []; return planner; };
<gh_stars>0 #include <bits/stdc++.h> #define endl '\n' using namespace std; int s2n(string s){ int ans=0; for(int q=0; q<s.size(); q++){ ans*=2; ans+=s[q]-'0'; } return ans; } int main() { ios::sync_with_stdio(false); cin.tie(0); int T, n1, n2; cin>>T; string s1, s2; for(int t=1; t<=T; t++){ cin>>s1>>s2; n1=s2n(s1); n2=s2n(s2); while((n1%=n2)&&(n2%=n1)); if(n1+n2>1){ cout<<"Pair #"<<t<<": All you need is love!"<<endl; }else{ cout<<"Pair #"<<t<<": Love is not all you need!"<<endl; } } }