blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
4
115
path
stringlengths
2
970
src_encoding
stringclasses
28 values
length_bytes
int64
31
5.38M
score
float64
2.52
5.28
int_score
int64
3
5
detected_licenses
listlengths
0
161
license_type
stringclasses
2 values
text
stringlengths
31
5.39M
download_success
bool
1 class
ae989140074775d938b694fb17daec1887678311
Shell
TechByTom/SimpleScripts
/GetIPInfo.sh
UTF-8
2,575
4.03125
4
[]
no_license
#!/bin/bash #In case you don't want colors, pipe through this: #sed -r "s/\x1B\[([0-9];)?([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g" #Check that we have geoiplookup available command -v geoiplookup >/dev/null 2>&1 || { echo >&2 "Please install geoiplookup first!. (apt-get install geoip-bin)."; exit 1; } function IPLookup(){ ISP="$(whois "$1"|grep OrgName | cut -d " " -f9- | sed -n -e 'H;${x;s/\n/, /g;s/^,//;p;}')" geoIP="$(geoiplookup "$publicIP" | grep "GeoIP City Edition" | cut -d"," -f4,5)" if [ "$strHostname" ]; then #if we have a known Hostname echo -e "Hostname : $(tput setaf 3)"$strHostname"$(tput sgr 0)" fi if [ "$strRevHostname" ]; then #if we have a known Reverse Hostname echo -e "RevHostname : $(tput setaf 3)"$strRevHostname"$(tput sgr 0)" fi # if [ -n "$(curl --silent https://www.abuseipdb.com/check/$publicIP | grep "was found in our database")" ] #if this IP is in the Abuse IP DB # then # echo "$publicIP appears in Abuse IP DB" # fi echo -e "IP Looked up: $(tput setaf 3)"$1"$(tput sgr 0)" echo -e "Located in :$(tput setaf 3)"$geoIP"$(tput sgr 0)" echo -e "The ISP is :$(tput setaf 3)"$ISP"$(tput sgr 0)" if false; then #to add - accept a flag to check for abuseipdb listing of this IP if [ -n "$(curl --silent https://www.abuseipdb.com/check/$1 | grep "was found in our database")" ]; then echo "$1" " appears in Abuse IP DB"; fi fi echo } #Check if we have a host as an argument if [ "$#" -eq 0 ] #If we don't have an argument provided then publicIP="$(dig +short myip.opendns.com @resolver1.opendns.com)" IPLookup "$publicIP" else if [ -z "$(grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b"<<< "$1")" ] #If it doesn't match an IP regex... then if [ -z "$(grep -E "^[a-zA-Z0-9]+([-.]?[a-zA-Z0-9]+)*\.[a-zA-Z]+$"<<< "$1")" ] #and if it doesn't match a hostname regex... then echo "\"$1\" doesn't look like an IP or hostname, please try again." else #It's a hostname dig +short "$1"| while IFS= read -r line do strHostname="$1" if [ "$(grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b"<<< "$line")" ]; then #strRevHostname=$(dig +short -x $line | tr -d '\n' | sed 's/\.,/ /g'|sed 's/\ /, /g') strRevHostname="$(dig +short -x $line | tr '\n' ' ')" publicIP="$line" IPLookup "$publicIP" unset strRevHostname unset strHostname fi done fi else #Then it was an IP publicIP="$1" strRevHostname="$(dig +short -x "$publicIP" | tr '\n' ' ')" IPLookup "$publicIP" unset strRevHostname fi fi
true
20f331b019c101b78ca93fd4494cd2aa08edbaf3
Shell
gperon/mmyy_slackbuilds
/system/kmscon/kmscon.SlackBuild
UTF-8
2,460
3.515625
4
[]
no_license
#!/bin/bash # Slackware build script for kmscon # Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. # 20210825 bkw: update to the last git commit, post v8 release. It's from # 2014, so I doubt there will be more version updates. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=kmscon VERSION=${VERSION:-8+20140708_0b34527} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 fi TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # Fix build on -current: add #include <sys/sysmacros.h> to files that # use major() and minor() patch -p1 < $CWD/sysmacros.diff [ -x configure ] || autoreconf -if SLKCFLAGS="$SLKCFLAGS -DSIGUNUSED=SIGSYS" CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --disable-static \ --enable-shared \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG gzip $PKG/usr/man/man1/$PRGNAM.1 # we don't seem to need the .la files rm -f $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/*.la mkdir -p $PKG/etc/$PRGNAM cat $CWD/$PRGNAM.conf > $PKG/etc/$PRGNAM/$PRGNAM.conf.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
true
c1716ad5187ca9a555966a23d0731ffece865370
Shell
OndraZizka/texy-docker
/sc/build.sh
UTF-8
1,247
3.6875
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash if [ ! -f sc/build.sh ] ; then echo "Call from the project root dir."; exit 1; fi if [ "$1" == "" ] ; then echo "The first parameter has to be the micro version to release."; exit 1; fi V=$1; PUSH="$2"; VERSION_FULL="1.0.$V-php7.1.8-apache-texy2.9.2"; REMOTE_TAG_FULL="ondrazizka/texy-service:$VERSION_FULL"; ## Check if exists FOUND=`docker images "$REMOTE_TAG_FULL" | grep "$VERSION_FULL" | wc -l`; if [ 0 != "$FOUND" -a "$PUSH" != "force" ] ; then echo "Version already exists: $REMOTE_TAG_FULL"; if [ "$PUSH" == "" ] ; then exit 2; fi else ## Build echo "Will build: $REMOTE_TAG_FULL"; docker build --tag texy-service:php-apache --file src/dockerize-way2/Dockerfile . ## Tag latest docker tag texy-service:php-apache texy-service:latest ## Tag for pushing to DockerHub - latest and the version docker tag texy-service:php-apache ondrazizka/texy-service:latest docker tag texy-service:php-apache "$REMOTE_TAG_FULL" fi ## Run... echo "==== Now run the tests manually. ====" docker run --rm -p 8022:80 texy-service:latest ## ... and test. ## And push. if [ "$PUSH" != "" ] ; then docker push ondrazizka/texy-service:latest docker push "$REMOTE_TAG_FULL" fi
true
c1cd0166b576ae14b1dbecb0b0f4c7c6afe9996c
Shell
cedricsam/Utilities
/callparallelcurl.sh
UTF-8
871
3.671875
4
[]
no_license
#!/bin/bash if [ $# -lt 1 ] then echo "Missing file..." exit fi echo "Starting..." D=`date +%Y%m%d%H%M` CONCUR=10 MAXTIME=30 COUNT=0 i=-1 IDS="" WC=`wc -l $1 | cut -d" " -f1` let WC=$WC-1 while read line do url=`echo $line | cut -d, -f1` out=`echo $line | cut -d, -f2` F="${out}.html" let i=$i+1 if [ -s "${F}" ] then continue fi let COUNT=$COUNT+1 echo $i $COUNT let CYCLE=$COUNT%$CONCUR echo ${CYCLE} IDS="${IDS} ${line}" echo ${IDS} if [ ${CYCLE} -eq 0 ] || [ ${WC} -le $i ] then ${HOME}/bin/parallel -j ${CONCUR} -t ${MAXTIME} -r "${HOME}/bin/parallelcurl.sh *" ${IDS} IDS="" sleep 1 date fi done < $1 if [ ${CYCLE} -ne 0 ] then ${HOME}/bin/parallel -j ${CONCUR} -t ${MAXTIME} -r "${HOME}/bin/parallelcurl.sh *" ${IDS} date echo "COMPLETE" fi
true
b3de3e5e77bb205ed6c9b1062a59ff0abc4a096d
Shell
oncoapop/data_reporting
/beast_scripts/igv-loadbams2.sh
UTF-8
1,235
2.90625
3
[]
no_license
#!/bin/sh # Script to generate commands for loading bams into igv # /share/lustre/abashash/EIF4A3/star_fusion_cufflinks_pipeline/OUTPUT/RUN/TK_22_23_24_star_cufflinks/outputs/results input="/home/dyap/Projects/eIF4A3_NMD/RNAifiles" output="/home/dyap/Projects/eIF4A3_NMD/igv-RNAi-input.txt" echo "new" > $output echo "genome hg19" >> $output echo "snapshotDirectory /home/dyap/Projects/eIF4A3_NMD/Plots" >> $output # get the control file #line="HCT-116" line="HeLa" TKcon=`cat $input | awk -F"\t" '$2 == "0"' | grep $line | awk -F"\t" '{print $3}'` echo $TKcon confile="/share/lustre/abashash/EIF4A3/star_fusion_cufflinks_pipeline/OUTPUT/RUN/"$TKcon"_star_cufflinks/outputs/results/*.bam" bam=`find $confile` echo "load "$bam >> $output echo $bam TK=`cat $input | awk -F"\t" '$2 != "0"' | grep $line | awk -F"\t" '{print $3}'` echo $TK for i in `echo $TK` do file="/share/lustre/abashash/EIF4A3/star_fusion_cufflinks_pipeline/OUTPUT/RUN/"$i"_star_cufflinks/outputs/results/*.bam" bam=`find $file` echo "load "$bam >> $output echo $bam done #gene="HRAS" #gene="MAPK13" #gene="G3BP1" #gene="BCL2L1" #gene="AURKB" echo "goto "$gene >> $output echo "sort" >> $output echo "snapshot "$line"_"$drug"_"$gene >> $output
true
129633c97da5cb93456ff2319c2f15225eaca617
Shell
denksoft/metauml
/examples/library-of-patterns/lop
UTF-8
1,819
3.578125
4
[]
no_license
#!/bin/bash BASE=. files=`find $BASE -name "*.mp"`; echo $files echo "<!-- MetaUML Library of Patterns -->" > lop.html echo "<html><head><title>MetaUML Library of Patterns (UML for LaTeX/MetaPost)</title></head>" >> lop.html echo "<body>" >> lop.html echo "<h1>MetaUML Library of Patterns</h1>" >> lop.html echo "<h2>UML for LaTeX/MetaPost</h2>" >> lop.html echo "<p>Click on any of the UML class diagrams below to see the <a href='http://metauml.sourceforge.net/'>MetaUML</a> code that generated them.</p>" >> lop.html echo "<p>These UML diagrams are readily usable in LaTeX: see <a href='http://metauml.sourceforge.net/faq.html'>MetaUML FAQ</a> for details. The UML diagrams look even better when included from LaTeX: <a href='lop.pdf'>lop.pdf</a>, <a href='lop.tex'>lop.tex</a>. You can download the diagrams and their code from <a href="lop-release.tgz">here</a>.</p>" >> lop.html echo "\documentclass{article}" >lop.tex echo "\usepackage[pdftex]{graphicx} \DeclareGraphicsRule{*}{mps}{*}{} " >> lop.tex echo "\\title{MetaUML Library of Patterns}" >> lop.tex echo "\\author{Radu-George Radulescu and Ovidiu Gheorghies}" >> lop.tex echo "\\begin{document} \maketitle" >> lop.tex for current_file in $files; do file_base=`echo $current_file | rev | cut -f 1 -d "/" | rev | cut -f 1 -d "."` echo "Processing... $"; echo "mptopdf..." #mptopdf $file_base.mp echo "pdftoppm..." #pdftoppm $file_base-1.pdf $file_base echo "ppmtojpeg..." #ppmtojpeg $file_base-000001.ppm > $file_base.jpg rm *.mpo *.ppm *.pdf *.log echo "<p><a href='$file_base.mp'><img src='$file_base.jpg'></a></p>" >> lop.html; echo "\includegraphics[scale=.75]{$file_base.1} \\\\ \\vspace{2cm} \\\\" >> lop.tex; echo "done." done echo "</body></html>" >> lop.html echo "\end{document}" >> lop.tex pdflatex lop
true
2fab2fe28edbacf55273fdc972ff451a4f9b8857
Shell
PaloAltoNetworks/panhandler
/ph
UTF-8
9,309
3.859375
4
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
#!/bin/bash ######################################################################################################################## # # Panhandler start up tool # # This script will check for updates to the paloaltonetworks/panhandler:dev image and start / restart / recreate # the panhandler container as necessary # # Feel free to leave feedback at: https://github.com/PaloAltoNetworks/panhandler/issues # ######################################################################################################################## export IMAGE_TAG="${IMAGE_TAG:=latest}" export DEFAULT_PORT="${DEFAULT_PORT:=8080}" export FORCE_DEFAULT_PORT="${FORCE_DEFAULT_PORT:=false}" export RESET_REPOSITORIES=false export NEEDS_UPDATE=false export CNC_VOLUME=pan_cnc_volume export PANHANDLER_VOLUME=panhandler_volume # used for filtering containers export DEV_EXPOSED_PORT=8080 export LATEST_EXPOSED_PORT=8080 # used to check if the user has supplied a non-default port export DEV_DEFAULT_PORT=8081 export LATEST_DEFAULT_PORT=8080 # default panhandler auth if not set from the environment export CNC_USERNAME="${CNC_USERNAME:=paloalto}" export CNC_PASSWORD="${CNC_PASSWORD:=panhandler}" function ensure_docker_volume() { if [[ ! $(docker volume ls -q -f name=$CNC_VOLUME) ]]; then echo "Creating data volume" docker volume create $CNC_VOLUME fi if [[ ! $(docker volume ls -q -f name=$PANHANDLER_VOLUME) ]]; then echo "Creating home volume" docker volume create $PANHANDLER_VOLUME fi } function validate_container_id() { # container id will always be 13 characters. Anything is either blank or an error message along the way # example: b977b1401f9e PH_ID=$1 echo " " >&2 echo " Checking ${PH_ID}" >&2 if [[ -z $PH_ID ]]; then return 1 fi len=$(echo $1 | wc -c | sed -e 's/ //g') if [[ $len -eq '13' ]]; then return 0 else return 1 fi } function find_panhandler_container_id() { # first check for a name and ancestor PANHANDLER_ID=$(docker ps -a -q -f name=panhandler -f ancestor="$PANHANDLER_IMAGE") if validate_container_id "${PANHANDLER_ID}"; then echo "${PANHANDLER_ID}" return 0 fi # maybe name hasn't been set but we have the right image here PANHANDLER_ID=$(docker ps -a -q -f ancestor="$PANHANDLER_IMAGE") if validate_container_id "${PANHANDLER_ID}"; then echo "${PANHANDLER_ID}" return 0 fi # in the following cases, maybe the user has pulled a new image in which case we can no longer see the ancestor image # we will have to filter images using the known exposed ports # ancestor is no longer available after a pull, check for a name being set and the exposed port PANHANDLER_ID=$(docker ps -a -q -l -f name=panhandler -f expose="${EXPOSED_PORT}") if validate_container_id "${PANHANDLER_ID}"; then # since the ancestor is incorrect, we know we're gonna need to stop, rm, and recreate NEEDS_UPDATE=true export NEEDS_UPDATE echo "${PANHANDLER_ID}" return 0 fi # ok, no ancestor and no name is set either :-| # filter on known command string, known exposed port, and ensure a published port (grep tcp ensures this) # finally, only return the first match found in case we have more than 1 for some reason... PANHANDLER_ID=$( docker ps -a --format "{{.ID}} {{.Command}} {{ .Ports}}" -f expose="${EXPOSED_PORT}" | grep '/app/cnc/tools/ph.sh' | grep 'tcp' | head -1 | awk '{ print $1} ' ) if validate_container_id "${PANHANDLER_ID}"; then # since the ancestor is incorrect, we know we're gonna need to stop, rm, and recreate NEEDS_UPDATE=true export NEEDS_UPDATE echo "${PANHANDLER_ID}" return 0 fi # at this point we can be reasonably sure panhandler does not exist on this instance in some form or fashion return 1 } function container_has_correct_image() { FOUND=$(docker ps -a -q -f id="$PANHANDLER_ID" -f ancestor="$PANHANDLER_IMAGE") if validate_container_id "$FOUND"; then return 0 fi # this container has an out of date image return 1 } function create_panhandler_container() { echo " Creating and running new Panhandler container" echo " " # shellcheck disable=SC2086 ensure_docker_volume docker run -p ${DEFAULT_PORT}:${LATEST_EXPOSED_PORT} -t -d \ -v "$PANHANDLER_VOLUME":/home/cnc_user \ -v "$CNC_VOLUME":/home/cnc_user/.pan_cnc \ -v "/var/run/docker.sock:/var/run/docker.sock" \ -e CNC_USERNAME \ -e CNC_PASSWORD \ --name panhandler "${PANHANDLER_IMAGE}" # check if on a mac - this is only needed on Linux if uname -a | grep -q -i darwin; then return 0 fi } function get_existing_published_port() { FOUND_PORT=$(docker inspect "${PANHANDLER_ID}" | grep "HostPort" | head -1 | awk '{ print $2 }' | sed -e 's/"//g') if [[ -n $FOUND_PORT ]]; then echo "$FOUND_PORT" else echo "$DEFAULT_PORT" fi } while getopts ":t:r:p:w:u:h" opt; do case ${opt} in t) IMAGE_TAG="$OPTARG" ;; p) DEFAULT_PORT="$OPTARG" FORCE_DEFAULT_PORT=true ;; r) RESET_REPOSITORIES="$OPTARG" ;; w) CNC_PASSWORD="$OPTARG" ;; u) CNC_USERNAME="$OPTARG" ;; h) echo "Valid options are: " echo "-t Image tag (latest, dev, beta)" echo "-p local port binding, default is 8080 *note this will be ignored if the container is already running" echo "-r Reset Panhandler local settings (true, false)" echo "Reset will remove all imported repositories, local caches, and environments" exit 0 ;; \?) echo "Invalid option -$OPTARG" >&2 ;; :) echo "Option -$OPTARG requires an argument." >&2 exit 1 ;; esac done case ${IMAGE_TAG} in latest) ;; dev) ;; beta) ;; \?) echo "Invalid tag - Please use latest, dev, or beta" exit 1 ;; esac if [[ ! $(command -v docker) ]]; then echo "Could not find the docker command, please ensure you have docker installed on this machine" exit 1 fi echo "===================================================================================================" echo " " echo " Welcome to Panhandler" echo " " echo "===================================================================================================" if [[ ${IMAGE_TAG} == latest ]]; then EXPOSED_PORT=${LATEST_EXPOSED_PORT} export EXPOSED_PORT # now that we (maybe?) have the container ID, ensure we use the latest tag from here on out PANHANDLER_IMAGE=paloaltonetworks/panhandler:latest export PANHANDLER_IMAGE PANHANDLER_ID=$(find_panhandler_container_id) export PANHANDLER_ID else EXPOSED_PORT=${DEV_EXPOSED_PORT} export EXPOSED_PORT PANHANDLER_IMAGE=paloaltonetworks/panhandler:${IMAGE_TAG} export PANHANDLER_IMAGE # fix for returning more than 1 container. This returns only the latest created container PANHANDLER_ID=$(find_panhandler_container_id) export PANHANDLER_ID fi echo " " echo " Checking for image updates ... (This may take some time while the image downloads)" docker pull "${PANHANDLER_IMAGE}" | grep 'Image is up to date' >/dev/null # shellcheck disable=SC2181 if [[ $? -eq 0 ]]; then echo " " echo " ${PANHANDLER_IMAGE} is already up to date!" else echo " Panhandler is out of date, and will need to be restarted" echo " " NEEDS_UPDATE=true fi if [[ ${RESET_REPOSITORIES} == true ]]; then echo " " echo " Moving Panhandler data directory to backup" DATESTRING=$(date "+%Y-%m-%d-%H:%M:%S") # shellcheck disable=SC2086 mv ~/.pan_cnc/panhandler ~/.pan_cnc/panhandler.backup.${DATESTRING} mkdir ~/.pan_cnc/panhandler fi if [[ -z "${PANHANDLER_ID}" ]]; then echo " " echo " ${PANHANDLER_IMAGE} has not been started..." create_panhandler_container else echo " " echo " Found container id of ${PANHANDLER_ID}" # we have a valid container id from a previous run, let's ensure it has the correct image as it's ancestor if container_has_correct_image; then echo " " echo " This container is up-to-date!" NEEDS_UPDATE=false else echo " " echo " This container is out-of-date" NEEDS_UPDATE=true fi if [[ ${NEEDS_UPDATE} == true ]]; then # # Set the port to the value the user is already using # if [[ ${FORCE_DEFAULT_PORT} == false ]]; then echo " " echo " Getting existing port mapping for re-use" # check if the user has passed in a port that is not the default. If so # we should always use that one if [[ ${LATEST_DEFAULT_PORT} == {$DEFAULT_PORT} ]]; then DEFAULT_PORT=$(get_existing_published_port) fi echo " " echo " Using ${DEFAULT_PORT} as local port mapping" fi echo " " echo " Stopping Panhandler container" docker stop "${PANHANDLER_ID}" echo " " echo " Removing old Panhandler container" docker rm -f "${PANHANDLER_ID}" create_panhandler_container else DEFAULT_PORT=$(get_existing_published_port) echo " " echo " Panhandler is already up to date. Ensuring it's running" docker start "${PANHANDLER_ID}" >>/dev/null 2>&1 fi fi echo " " echo " You may now use Panhandler by opening a web browser and browsing to http://localhost:${DEFAULT_PORT}" echo " " echo "==================================================================================================="
true
3f7c6f65028d9afc582d5f9162bc5f759ed83400
Shell
AgnesCorpuz/quick-hits-cli
/queues/bulk-queue-assignment-by-group.sh
UTF-8
2,205
3.703125
4
[ "MIT" ]
permissive
# >> START cli-assign-to-queue-by-group A set of Genesys Cloud CLI commands the will identify a user by group and then add those users to a queue. ####### # Bulk assignment to queue by group # # This files show the list of Genesys Cloud CLI commands needed to find all the users belonging to a particular group and move those users to a queue. # This file is not a fully functional shell script, but rather a list of commands with a small shell script at the end to show to how to repeatedly # call the GC queue commands to add a 100 users at a time to a queue. # # Note: The 100 users at a time is a limitation on the routing API that restricts a dev from adding more then 100 users at a time. ###### # Step #1: Get all of the users with their groups and redirect the output to a file. gc users list -a --pageSize=100 --expand="groups" > users.json # Step #2: Find the id of the Queue by retrieving all of the queues and using jq to parse the id of the queue gc queues list -a --pageSize=100 --name="MyQueueName" | jq -r .[].id # Step #3: Find all of the users who have those users with the skill and then dump them a list of files cat users.json | jq -c '.[] | select( .groups[].name | contains("MyGroupName"))' | jq -n '[inputs]'| jq > groups-user.json # Step #4: Find out the total number of users with that group cat groups-user.json | jq .[].id | wc -l # Step 5: You are going to iterate the total number of users/100 by 100. If we have 5791 users that belong to a group, you are going to iterate 58 times. for i in {0..58} do userIndex=$i*100 userFinal=$userIndex+100 echo "----" echo "Index ${i} StartIndex: ${userIndex} and stop index ${userFinal}" # Chunk out 100 records from the groups-user.json file and create a set of files by batch to add the users to the queue. cat group-user.json | jq -r ".[$userIndex:$userFinal] | map({id: .id, username: .username, joined : true})" > /tmp/joinedUsers-${i}.json # Add the users with the command below. If you want to delete these users instead of adding them pass in the --delete=true flag gc queues users move QUEUE_ID_HERE -f /tmp/joinedUsers-${i}.json done # >> END cli-assign-to-queue-by-group
true
35cf8c5de03ad5b7ecf509d571dba4d059903e57
Shell
shashankpateriya/Shell
/while-loop/coinUsingWhile.sh
UTF-8
196
3
3
[]
no_license
#! /bin/bash -x count=1 tossCoin=$(( RANDOM%2 )) while [ $count -le 11 ] do echo $tossCoin if [ $tossCoin -eq 1 ] then echo "Heads" else echo "Tails" fi ((count++)) done
true
6d0a75dd688ccd36d76a164e076845f11ad1a119
Shell
Clinical-Genomics/deliver
/scripts/checkfornewdemuxonhasta.bash
UTF-8
2,708
3.734375
4
[]
no_license
#!/bin/bash SET_ENVIRONMENT=${ENVIRONMENT} shopt -s expand_aliases source ${HOME}/.bashrc if [[ ${SET_ENVIRONMENT} == 'production' ]]; then useprod else usestage fi ######## # VARS # ######## HASTA_DEMUXES_DIR=${1-${PROJECT_HOME}/${ENVIRONMENT}/demultiplexed-runs/} MAILTO=${2-clinical-demux@scilifelab.se} # split on ',' to provide multiple ############# # FUNCTIONS # ############# log() { local NOW NOW=$(date +"%Y%m%d%H%M%S") echo "[$NOW] $*" } failed() { echo "Error delivering ${FC}: $(caller)" | mail -s "ERROR delivery ${FC}" "${MAILTO}" } trap failed ERR ######## # MAIN # ######## for run in "${HASTA_DEMUXES_DIR}"/*; do run=$(basename "$run") if [[ -f ${HASTA_DEMUXES_DIR}/${run}/copycomplete.txt ]]; then if [[ -f ${HASTA_DEMUXES_DIR}/${run}/delivery.txt ]]; then log "${run}" 'copy is complete and delivery has already started' else log "${run}" 'copy is complete delivery is started' > "${HASTA_DEMUXES_DIR}/${run}/delivery.txt" FC=${run##*_} FC=${FC:1} # add an X FC to clinstatsdb - because the permanent tunnel is not active on the nodes. if [[ -d "${HASTA_DEMUXES_DIR}/${run}/l1t11" ]]; then log "cgstats add --machine X ${HASTA_DEMUXES_DIR}/${run}" cgstats add --machine X "${HASTA_DEMUXES_DIR}/${run}" # create stats per project for PROJECT in "${HASTA_DEMUXES_DIR}/${run}"/Unaligned/Project*; do PROJECT=$(basename "$PROJECT") PROJECT_NR=${PROJECT##*_} log "cgstats select --project '${PROJECT_NR}' '${FC}' &> '${HASTA_DEMUXES_DIR}/${run}/stats-${PROJECT_NR}-${FC}.txt'" cgstats select --project "${PROJECT_NR}" "${FC}" &> "${HASTA_DEMUXES_DIR}/${run}/stats-${PROJECT_NR}-${FC}.txt" done # create stats per lane log "cgstats lanestats '${HASTA_DEMUXES_DIR}/${run}' &> '${HASTA_DEMUXES_DIR}/${run}/stats.txt'" cgstats lanestats "${HASTA_DEMUXES_DIR}/${run}" &> "${HASTA_DEMUXES_DIR}/${run}/stats.txt" fi # end add NOW=$(date +"%Y%m%d%H%M%S") cg transfer flowcell "$FC" &> "${HASTA_DEMUXES_DIR}/${run}/cg.transfer.${FC}.${NOW}.log" # send an email on completion SUBJECT=${FC} log "column -t ${HASTA_DEMUXES_DIR}/${run}/stats*.txt | mail -s 'Run ${SUBJECT} COMPLETE!' ${MAILTO}" column -t "${HASTA_DEMUXES_DIR}/${run}"/stats*.txt | mail -s "Run ${SUBJECT} COMPLETE!" "${MAILTO}" fi else log "${run}" 'is not yet completely copied' fi done
true
c19743ac36cce7cd6608cc3622203419b55fc4cf
Shell
daydreaming-experiment/results
/wget-results.sh
UTF-8
351
3.015625
3
[]
no_license
#!/bin/bash set -e if [ $# != 1 ] then echo "Usage: $(basename $0) password" exit 1 fi echo "##" echo "## Getting results" echo "##" echo wget --http-user=results --http-password=$1 http://exports.daydreaming-the-app.net/profiles-latest.json wget --http-user=results --http-password=$1 http://exports.daydreaming-the-app.net/results-latest.zip
true
2285a7c590f99c2218c95255c3d25e665b97b473
Shell
helgadeville/LEDE_router
/upgrades/upgrade7/+/usr/share/cgi-bin/_ap_off.sh
UTF-8
1,662
3.171875
3
[]
no_license
#!/bin/sh # usage: /usr/share/cgi-bin/_ap_off.sh # must have parameters: $device $proto, if $proto is static then must have $ipaddr and $netmask # may have $switch $mac # $device should be eth1 (default WAN port) and $switch should be eth0 (multiport) # but this may vary [ -z "$device" ] && exit 1 [ -n "$proto" -a "$proto" != "dhcp" -a "$proto" != "static" ] && exit 1 [ "$proto" = "static" ] && [ -z "$ipaddr" -o -z "$netmask" ] && exit 1 # # enable rebind, was 0 uci set dhcp.@dnsmasq[0].rebind_protection=1 # # restore wan ifname section uci set network.wan.ifname=$device uci del network.wan.disabled 2> /dev/null if [ -n "$proto" ]; then uci set network.wan.proto=$proto fi curr_gw=`uci get network.wan.gateway 2> /dev/null` if [ -n "$curr_gw" ]; then uci del_list network.wan.dns=$curr_gw 2> /dev/null uci del network.wan.gateway 2> /dev/null fi if [ "$proto" = "static" ]; then uci set network.wan.ipaddr="$ipaddr" uci set network.wan.netmask="$netmask" if [ -n "$gateway" ]; then uci set network.wan.gateway="$gateway" uci del_list network.wan.dns="$gateway" uci add_list network.wan.dns="$gateway" fi fi if [ "$proto" = "dhcp" ]; then uci del network.wan.ipaddr 2> /dev/null uci del network.wan.netmask 2> /dev/null fi if [ -n "$mac" ]; then uci set network.wan.mac="$mac" else uci del network.wan.mac 2> /dev/null fi # # remove setup wireless uci set wireless.wan.disabled=1 uci del wireless.wan.device 2> /dev/null # # unbridge previous wan port from lan if [ -n "$switch" ]; then uci set network.lan.ifname=$switch else uci del network.lan.ifname 2> /dev/null fi # # commit & reload uci commit
true
9df7e6dac53120fd89a0ad84eebbc8048d44557a
Shell
internetonfire/iof-tools
/check-sessions.sh
UTF-8
908
4.0625
4
[]
no_license
#!/bin/bash # # Simple script to check the Bird processes: # This script checks (via birdc) all the BGP sessions of an AS. # There must be an Established session for every "bgpSession_h*" config # file present on the AS config dir. If not, the scripts throws an error. # # The scrpt takes two fixed parameters: # 1) The directory of the config files of the AS to be checked # 2) The path to the "birdc" binary SESS_FILE=".birdsessions" BIRD_CONF_PATH=$1 BIRDC_PATH=$2 cd $BIRD_CONF_PATH $BIRDC_PATH/birdc -s $BIRD_CONF_PATH/sock* show protocols | grep BGP | awk '{ print $1 ";"$6 }' > $SESS_FILE for f in `ls $BIRD_CONF_PATH/bgpSession_h*` do session_id=`echo $f | sed -e 's/^.*bgpSession_//' | sed -e 's/\.conf//'` state=`grep "$session_id;" $SESS_FILE | cut -d";" -f2` if [ "$state" != "Established" ]; then echo "Session $session_id error." exit 1 fi done rm $SESS_FILE echo "Ok."
true
2739bd0b893e748d2ea28b545aa2a6378749a855
Shell
fxah/catatan
/prepare-label.sh
UTF-8
553
4.1875
4
[ "MIT" ]
permissive
#!/bin/bash # This theme ignores categories altogether and only use tags which are # called 'label' pulled from your front matter. This script create a # template for listing posts under a label. cd -P "$(dirname "${BASH_SOURCE[0]}")" [ ! -d ./label ] && mkdir ./label _usage() { echo "Usage: $0 <label1> ..." exit $1 } [ -z "$1" ] && _usage 1 [ "$1" = -h ] && _usage 0 _make_label() { FL=./label/"$1".md cat > "$FL" <<EOD --- layout: label tag: $1 permalink: /label/$1/ --- EOD } while [ -n "$1" ]; do _make_label "$1" shift done exit 0
true
aab7a351311f8266b35745d1874b68dea6e4b0d9
Shell
dedeckeh/mwan
/files/usr/lib/mwan/functions.sh
UTF-8
543
3.625
4
[]
no_license
#!/bin/sh mwan_set_host_mark() { local path=$1 local nfmark [ -f /var/etc/mwan.config ] || return nfmark=$(awk "\$1==\"$path\" { print \$2 }" /var/etc/mwan.config) [ -n "$nfmark" ] && export SO_MARK=$nfmark } mwan_get_dest_ip_policy() { get_policy_cb() { local dest_ip config_get dest_ip $1 dest_ip if [ $dest_ip == $3 ]; then config_get $2 $1 policy fi } config_foreach get_policy_cb rule "$@" } case "$1" in set_host_mark) mwan_set_host_mark $2 ;; get_dest_ip_policy) mwan_get_dest_ip_policy $2 $3 ;; esac
true
4645538f5acc4912b2cd42e6862b9342f8f2f584
Shell
ArcticNature/dependencies
/poolqueue/build.sh
UTF-8
684
3.625
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # Compile static version of poolqueue. COMPONENT_PATH="${PWD}/${1}" BUILD_PATH="${COMPONENT_PATH}/build" SRC_PATH="${COMPONENT_PATH}/source" ### MAIN ### mkdir -p "${BUILD_PATH}" cd "${SRC_PATH}" # If the no-clean file is missing clear everything first. if [ ! -f "${BUILD_PATH}/no-clean" ]; then git reset --hard git clean --force ./bootstrap.sh ./configure --prefix "${BUILD_PATH}" fi touch "${BUILD_PATH}/no-clean" # Optimise away the next steps if the library exists. if [ -f "${BUILD_PATH}/lib/libpoolqueue.a" ]; then echo "Skipping poolqueue re-build, library found." exit 0 fi make make install > install.log libtool --finish "${BUILD_PATH}/lib"
true
fa88f889a75cb3ef2683a8075f3d0076a7b51b90
Shell
GitHub4DST/HelloDST
/test
UTF-8
134
2.875
3
[]
no_license
#!/bin/bash for i in {1..30} do if [[ $i == 1 ]]; then j1=0 j2=1 fi j3=$((j1+j2))+2 echo "$i: $j3" j1=$((j2)) j2=$((j3)) done
true
ac6fae1425e635c819f78594bd411407d829b22e
Shell
timmybytes/rpn
/rpn
UTF-8
4,787
3.78125
4
[]
no_license
#!/usr/bin/env bash # title :rpn.sh # description :A Reverse Polish Notation calculator # author :Timothy Merritt # date :2020-11-17 # version :0.1.0 # usage :./rpn.sh # bash_version :5.0.18(1)-release #============================================================================ # TODO: # * help text # * getopts # * move # * drop # * dupl # * sqrt # * pi # ---------------- # * customizations # -e Exit immediately if a command exits with a non-zero status. # set -e # Instead... # trap 'do_something' ERR # set -u set -o pipefail source ./INFO source ./.rpnrc function is_number() { # Trim leading and extranneous 0s strip="${1#"${1%%[!0]*}"}" if [[ "${strip}" =~ "0" ]]; then shift fi && if [[ "${strip}" =~ $num ]]; then # DONE Strip special characters, preserve floats strip=$(echo $strip 2>/dev/null | tr -dc "0-9.") STACK+=("${strip}") || STACK+=("${1}") shift fi } function bin() { # Translate 1st number in stack to binary binary=$(echo "obase=2;${STACK[0]}" | bc) STACK=("${STACK[@]:1}") STACK=($binary "${STACK[@]}") } function calc() { op=$1 int_1=${STACK[0]} int_2=${STACK[1]} # FIXME: ++ & -- should not replace first two digits, only first if [ "$op" = "^" ]; then op="*" # FIXME: Either/Or for ++/-- only removing STACK=("${STACK[@]:1}") instead of 2 elif [ "$op" = "++" ]; then op="+" int_2="1" elif [ "$op" = "--" ]; then op="-" int_2="1" fi result=$(echo "${int_1} $op ${int_2}" | bc -l 2>/dev/null | sed '/\./ s/\.\{0,1\}0\{1,\}$//') STACK=("${STACK[@]:2}") STACK=($result "${STACK[@]}") } function check_stack() { if [ "${#STACK[@]}" -lt "2" ] && [ "$1" != "++" ] && [ "$1" != "--" ]; then # FIXME: Need coherent help pop-ups echo -e "${RED}𐄂 ERROR${BASE}: ${1} cannot be performed on a single number." echo " Type 'help' or 'usage' for more information." echo else calc "$1" fi } function clear_stack() { unset STACK } function parse_input() { while [[ "$#" -gt 0 ]]; do # key="$1" is_number "$1" case $1 in "q" | "Q" | "quit" | "exit") exit ;; "swap") temp="${STACK[0]}" temp2="${STACK[1]}" STACK=("${STACK[@]:2}") STACK=(${STACK[@]:0:0} $temp ${STACK[@]:0}) STACK=(${STACK[@]:0:0} $temp2 ${STACK[@]:0}) shift ;; "round") # # FIXME: Inconsistent rounding/popping # shift # if [ -t "$1" ]; then # printf -v rounded "%.*f\n" "$1" "${STACK[0]}" # STACK=("${STACK[@]:2}") # STACK=($rounded "${STACK[@]}") # shift # else # # FIXME: Need coherent help pop-ups # # helpers_round # # round defaults to 0 decimal points # printf -v rounded "%.*f\n" "0" "${STACK[0]}" # STACK=("${STACK[@]:0}") # STACK=($rounded "${STACK[@]}") # shift # fi # shift if [ -t "$2" ]; then echo "$2" else echo "arg empty" fi shift ;; "fac") factorial=1 for ((i = 1; i <= "${STACK[0]}"; i++)); do factorial=$(($factorial * $i)) done STACK=("${STACK[@]:1}") STACK=(${STACK[@]:0:0} $factorial ${STACK[@]:0}) shift ;; "drop") # delete=$ARG for target in "${delete[@]}"; do for i in "${!STACK[@]}"; do if [[ ${STACK[i]} = $target ]]; then unset 'STACK[i]' fi done done shift ;; "bin") shift ;; "dec") decimal=$(echo "ibase=2;${STACK[0]}" | bc) STACK=("${STACK[@]:1}") STACK=($decimal "${STACK[@]}") shift ;; "usage") usage shift ;; "v" | "-v" | "--version" | "version") version shift ;; "clr") clear_stack shift ;; "+" | "-" | "^" | "/" | "%") check_stack shift ;; # FIXME: "++" | "--") check_stack "$1" shift ;; "help") less ./HELP shift ;; *) shift ;; esac done } function rpn() { # For piped input if [ -p /dev/stdin ]; then while read piped; do parse_input $piped && echo -e "${STACK[@]}" done else # For arguments for i in $@; do # read $i parse_input $i done # For regular usage echo -en "${STACK[@]}" "> " # FIXME: Breaks more than 2 inputs at a time if [ "$?" = 2 ]; then while read -r INPUT ARG; do ARG=$ARG parse_input $INPUT && echo -en "${STACK[@]}" "> " done else # FIXME: while read -r INPUT; do # ARG=$ARG parse_input $INPUT && echo -en "${STACK[@]}" "> " done fi fi } rpn $@
true
ebc2e61e788d1b11408f636eaf370a641300dd29
Shell
mandad/moos-ivp-manda
/build.sh
UTF-8
1,656
3.75
4
[ "MIT" ]
permissive
#!/bin/bash INVOCATION_ABS_DIR=`pwd` BUILD_TYPE="None" CMD_LINE_ARGS="" #------------------------------------------------------------------- # Part 1: Check for and handle command-line arguments #------------------------------------------------------------------- for ARGI; do if [ "${ARGI}" = "--help" -o "${ARGI}" = "-h" ] ; then printf "%s [SWITCHES] \n" $0 printf "Switches: \n" printf " --help, -h \n" printf " --debug, -d \n" printf " --release, -r \n" printf "Notes: \n" printf " (1) All other command line args will be passed as args \n" printf " to \"make\" when it is eventually invoked. \n" printf " (2) For example -k will continue making when/if a failure \n" printf " is encountered in building one of the subdirectories. \n" printf " (3) For example -j2 will utilize a 2nd core in the build \n" printf " if your machine has two cores. -j4 etc for quad core. \n" exit 0; elif [ "${ARGI}" = "--debug" -o "${ARGI}" = "-d" ] ; then BUILD_TYPE="Debug" elif [ "${ARGI}" = "--release" -o "${ARGI}" = "-r" ] ; then BUILD_TYPE="Release" else CMD_LINE_ARGS=$CMD_LINE_ARGS" "$ARGI fi done #------------------------------------------------------------------- # Part 2: Invoke the call to make in the build directory #------------------------------------------------------------------- cd build cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ../ make ${CMD_LINE_ARGS} cd ${INVOCATION_ABS_DIR} #test-pathplan -d yes
true
5c3d152bfb63110fc54bd08ffdff3d40bbfd25a5
Shell
Stonyx/RMOldKernel
/RMOldKernel
UTF-8
1,675
4
4
[]
no_license
#!/bin/bash # Original script obtained from # http://www.reddit.com/r/Ubuntu/shirt/b46gb/ubuntu_reddit_have_too_many_installed_kernels_in/ # This script helps you remove old kernels from your system. # It was written and tested in Ubuntu 9.10. # It was written to help you, but if you break your system, it's your problem. # Use at your own risk! if [[ ! -z "$1" && "$2" == "IMSURE" ]] then PACKAGES=`dpkg -l | grep ^ii | grep "$1" | awk -F' ' '{ print $2 }'` echo echo "Removing kernel $1 from your system." echo "Hope you know what you're doing..." sudo apt-get purge $PACKAGES echo echo "Kernel $1 removed from your system." echo elif [[ ! -z "$1" && -z "$2" ]] then echo echo "The following packages will be removed for kernel $1." PACKAGES=`dpkg -l | grep ^ii | grep "$1" | awk -F' ' '{ print $2 }'` for PACKAGE in $PACKAGES do echo "$PACKAGE" done echo echo "If you're SURE you want to remove $1 and all associated packages" echo "run the program one more time with IMSURE at the end." echo "EX: ./RMOldKernel 2.6.28-15 IMSURE" echo else echo echo "This script will help remove old kernels from your system." echo "You're using kernel `uname -r` right now, don't remove it!" echo echo "Kernels currently on your system:" KERNELS=`ls /boot | grep vmlinuz | cut -d'-' -f2,3` for KERNEL in $KERNELS do echo "$KERNEL" done echo echo "Now, run this script again with the kernel to see what will be removed." echo "EX: ./RMOldKernel 2.6.28-15" echo echo "DO NOT REMOVE `uname -r` or you WILL break your system!" echo fi
true
7f66bbd0621ddad9e9d372c19f3aad1bd40d8344
Shell
aaron-zorel/libra
/docker/safety-rules/run-key-manager.sh
UTF-8
823
3.046875
3
[ "Apache-2.0" ]
permissive
#!/bin/sh # Copyright (c) The Libra Core Contributors # SPDX-License-Identifier: Apache-2.0 set -e # Example Usage (arguments that are not specified will be assigned defaults): # ./run-key-manager.sh <IMAGE> <JSON_RPC_ENDPOINT> <ROTATION_PERIOD_SECS> <VALIDATOR_ACCOUNT> <VAULT_HOST> <VAULT_TOKEN> IMAGE="${1:-libra_safety_rules:latest}" JSON_RPC_ENDPOINT="${2:-http://127.0.0.1:8080}" ROTATION_PERIOD_SECS="${3:-3600}" VAULT_HOST="${4:-http://127.0.0.1:8200}" VAULT_TOKEN="${5:-root_token}" docker network create --subnet 172.18.0.0/24 testnet || true docker run \ -e JSON_RPC_ENDPOINT="$JSON_RPC_ENDPOINT" \ -e ROTATION_PERIOD_SECS="$ROTATION_PERIOD_SECS" \ -e VAULT_HOST="$VAULT_HOST" \ -e VAULT_TOKEN="$VAULT_TOKEN" \ --ip 172.18.0.3 \ --network testnet \ "$IMAGE" \ /key-manager.sh
true
8353e0602c23a03ca722de6110db60b54993c79d
Shell
NetoECommerce/php-lambda-runtime
/bin/start_server
UTF-8
478
3.375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash if [ -z "${1}" ]; then echo "Usage: ${0} handler.name [hostname] [port]" echo echo " handler.name: The handler used in your Lambda environment" echo " hostname: Web server hostname, defaults to localhost" echo " port: Web server port, defaults to 80" echo exit 1 fi DIR=$(dirname "${BASH_SOURCE[0]}") export _HANDLER="${1}" export _CONTEXT="cli-server" php -S "${2:-localhost}:${3:-80}" "${DIR}/router.php"
true
693bae5d80aefc2e286725c91f6b00f69f71cfeb
Shell
dockusan/auto-merge-jobs
/merge.sh
UTF-8
1,074
4.0625
4
[]
no_license
#!/bin/bash REPO=$1 SOURCE_BRANCH=$2 DES_BRANCH=$3 if [[ -z $REPO ]] || [[ -z $SOURCE_BRANCH ]] || [[ -z $DES_BRANCH ]] then echo "Missing input param." exit 1 fi DIR="$(basename $REPO .git)-temp" if [ -d "$DIR" ]; then echo "Project exist. Move to folder and checkout develop branch..." else # clone project # TODO: need improve by fetch develop and develop_test branch only git clone --verbose $REPO $DIR || exit 1 fi cd $DIR printf "Starting merge from %s to %s ...\n" "${SOURCE_BRANCH}" "${DES_BRANCH}" # delete local develop-test branch git checkout $SOURCE_BRANCH # reset to top of develop-test branch git reset --hard origin/$SOURCE_BRANCH git pull origin $SOURCE_BRANCH # checkout develop branch git checkout $DES_BRANCH git reset --hard origin/$DES_BRANCH git pull origin $DES_BRANCH #merge develop-test to develop git merge $SOURCE_BRANCH if [ $? -eq 0 ]; then git push origin $DES_BRANCH if [ $? -eq 0 ]; then echo "Merge successful" else echo "Merge failed" exit 1 fi else echo "Merge failed" exit 1 fi
true
162c1c2044b7f7bec0e4282a274e161017820d83
Shell
sigma-blight/conway_game_of_life
/go.sh
UTF-8
761
2.765625
3
[]
no_license
#!/bin/bash #SBATCH --partition=coursework #SBATCH --job-name=game_of_life #SBATCH --nodes=2 #SBATCH --ntasks=2 #SBATCH --ntasks-per-node=1 #SBATCH --cpus-per-task=1 #SBATCH --time=00:00:10 export OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK} DATE=$(date +"%Y%m%d%H%M") echo "time started "$DATE echo "This is job '$SLURM_JOB_NAME' (id: $SLURM_JOB_ID) running on the following nodes:" echo $SLURM_NODELIST echo "running with OMP_NUM_THREADS= $OMP_NUM_THREADS " echo "running with SLURM_TASKS_PER_NODE= $SLURM_TASKS_PER_NODE " echo "Now we start the show:" export TIMEFORMAT="%E sec" module load mpi #time mpirun -n ${SLURM_TASKS_PER_NODE} ./game_of_life time mpirun ./game_of_life -n ${SLURM_TASKS_PER_NODE} DATE=$(date +"%Y%m%d%H%M") echo "time finished "$DATE
true
4af1b9337110c417ac7973b3defd61070af71fb1
Shell
OptimusPrime1997/IO_Experiment
/scripts/spdk/blk/VM.sh
UTF-8
399
2.6875
3
[]
no_license
#!/bin/bash #NUM one of [1 2 4 8] NUM=$1 echo "sudo bash /home/ljh/exp/scripts/spdk/0"$NUM"pre_vhost.sh" sudo bash "/home/ljh/exp/scripts/spdk/0"$NUM"pre_vhost.sh" echo "sleep 10s for vhost to start" sleep 10 i=1 while [ $i -le $NUM ];do echo "sudo bash /home/ljh/exp/scripts/spdk/blk/gen_qemu_spdk02_02.sh 0"$i sudo bash /home/ljh/exp/scripts/spdk/blk/gen_qemu_spdk02_02.sh 0$i i=$(($i+1)) done
true
e0d6720d92bcb4c663a84d2f9175421d098d7926
Shell
greg-erskine/pCP-github
/tcz/ucspi-tcp/create-ucspi-tcp-tcz.sh
UTF-8
2,075
3.765625
4
[]
no_license
#!/bin/bash UCSPI=ucspi-tcp UCSPIVERSION=0.88 SRC=$UCSPI-$UCSPIVERSION SRCTAR=${UCSPI}-${UCSPIVERSION}.tar.gz STARTDIR=`pwd` LOG=$PWD/config.log OUTPUT=$PWD/${UCSPI}-build TCZ=pcp-$UCSPI.tcz TCZINFO=$TCZ.info # Build requires these extra packages in addition to the debian stretch 9.3+ build tools # sudo apt-get install fakeroot ## Start echo "Most log mesages sent to $LOG... only 'errors' displayed here" date > $LOG ## Build if [ -d $OUTPUT ]; then echo "Removing old install..." sudo rm -rf $OUTPUT >> $LOG fi mkdir -p $OUTPUT/{usr/local/bin,usr/local/share/pcp-$UCSPI} >> $LOG if [ -d $SRC ]; then echo "Removing old sources..." rm -rf $SRC >> $LOG fi if [ ! -f $SRCTAR ]; then wget -O $SRCTAR http://cr.yp.to/$UCSPI/$UCSPI-$UCSPIVERSION.tar.gz fi echo "Extracting source..." if [ -f $SRCTAR ]; then bsdtar -xf $SRCTAR >> $LOG cp -p $STARTDIR/conf-* $SRC else echo "Source download failed." exit fi cd $STARTDIR >> $LOG echo "Compiling..." ./compile-ucspi-tcp.sh $SRC $OUTPUT >> $LOG echo "Creating $TCZs..." cp -p $SRC/tcpserver $OUTPUT/usr/local/bin || exit 1 cp -p $SRC/debian/copyright $OUTPUT/usr/local/share/pcp-$UCSPI/COPYING || exit 1 find $OUTPUT/usr/local/bin -type f -exec strip --strip-unneeded {} \; >> $LOG mkdir -p $OUTPUT/usr/local/bin cd $OUTPUT >> $LOG find * -not -type d > $STARTDIR/${TCZ}.list cd $STARTDIR >> $LOG if [ -f $TCZ ]; then rm $TCZ >> $LOG fi mksquashfs $OUTPUT $TCZ -all-root >> $LOG md5sum `basename $TCZ` > ${TCZ}.md5.txt echo "$TCZ contains" unsquashfs -ll $TCZ echo -e "Title:\t\t$TCZ" > $TCZINFO echo -e "Description:\tCommand-line tool for building TCP server applications." >> $TCZINFO echo -e "Version:\t$UCSPIVERSION" >> $TCZINFO echo -e "Authors:\tD.J. Bernstein" >> $TCZINFO echo -e "Original-site:\thttp://cr.yp.to/ucspi-tcp.html" >> $TCZINFO echo -e "Copying-policy:\tPublic Domain" >> $TCZINFO echo -e "Size:\t\t$(ls -lk $TCZ | awk '{print $5}')k" >> $TCZINFO echo -e "Extension_by:\tpiCorePlayer team: https://www.picoreplayer.org" >> $TCZINFO echo -e "\t\tCompiled for piCore 10.x" >> $TCZINFO
true
74af4d2872b95cffaae5b84beb27f635e96f55ff
Shell
akdev1l/legacy-projects
/akdev.mailrelay/templates/send-email.j2
UTF-8
205
2.75
3
[]
no_license
#!/bin/bash main() { sendmail "${AKDEV_ALERT_EMAIL}" <<EOF From: [SYSTEM] localhost To: alex@akdev.xyz Subject: [$1] $2 --- $(cat) --- Sent at $(date +'%D - %H:%m:%S') by $(hostname) EOF } main "$@"
true
6d07a678a20b9d073a4f1bb2ba0abb8f02b70279
Shell
TNG/xtab-converter
/migrate-to-xtab.sh
UTF-8
2,448
4.40625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash usage () { echo "usage: $0 -j <xtabJar> -d <directory> [-r removes old xls files]"; } migrateTemplate=" [ MIGRATED ]" deleteTemplate=" [ %16s ]" migrateTemplateSize=`printf "$migrateTemplate" | wc -m` maxFilenameWidth=$((`tput cols` - $migrateTemplateSize)) directory= xtabJar= delete=false options=':hrj:d:' while getopts $options option do case $option in r ) delete=true;; j ) xtabJar="$OPTARG";; d ) directory="$OPTARG";; h ) usage; exit;; \? ) echo "Unknown option: -$OPTARG" >&2; exit 1;; : ) echo "Missing option argument for -$OPTARG" >&2; exit 1;; * ) echo "Unimplemented option: -$OPTARG" >&2; exit 1;; esac done shift $(($OPTIND - 1)) if [[ -z $xtabJar ]]; then echo "Missing required option: -j" >&2; usage >&2 exit 1 fi if [ "$delete" = true ]; then deleteTemplateSize=`printf "$deleteTemplate" | wc -m` maxFilenameWidth=$((maxFilenameWidth - deleteTemplateSize)) fi function useCurrentFolderWhenNoDirectoryIsGiven { if [[ -z $directory ]]; then directory=$(pwd) fi } function assertJava8OrHigherIsPresent { javaVersion=$(java -version 2>&1 | awk -F '"' '/version/ {print $2}'); if [[ $javaVersion < "1.8" ]]; then echo "java >= 1.8 is not available Got only '$javaVersion'" echo "used java at '`which java`'" exit 1 fi } function assertXtabConverterJarIsPresent { if [[ (! -f $xtabJar) || (-z $xtabJar) ]]; then echo "xtab-converter could not be found. You gave me: '$1'" exit 1 fi } function showStartBanner { echo ; echo "Start recursive .xls to .xtab migration in directory:" echo " ${directory}" echo ; } function migrateXlsToXtab { find $directory -iname *.xls | while read xlsFile; do message= size=${#xlsFile} if [[ $size -gt $maxFilenameWidth ]]; then printf "%s" "${xlsFile:size-maxFilenameWidth:size}" else printf "%-${maxFilenameWidth}s" "$xlsFile" fi java -jar "$xtabJar" "$xlsFile" printf "$migrateTemplate" if [ "$delete" = true ] ; then rm "$xlsFile" 2> /dev/null successfullyDeleted=$? if [ $successfullyDeleted -eq 0 ]; then message="DELETED" else message="FAILED-TO-DELETE" fi printf "$deleteTemplate" "$message"; fi printf "\n" done } function showFinishedMessage { echo ; echo "done" } useCurrentFolderWhenNoDirectoryIsGiven assertJava8OrHigherIsPresent assertXtabConverterJarIsPresent showStartBanner migrateXlsToXtab showFinishedMessage
true
0f27e611b5c46aa1dc90216bdb90f9bb6c44b237
Shell
aarohipatel/Aarohi-OS-Lab
/OS Lab 3/code9.sh
UTF-8
159
2.953125
3
[]
no_license
while [ 1 ] do echo Enter the Capital of Gujarat- read n if [ $n = "Gandhinagar" ] then echo Correct Answer break else continue fi done
true
caec8d358c6a443576730d584fd92be0bc909dc4
Shell
phonowiz/vulkan-demos
/vulkan-demos/vulkan-loader-1.2.141.2/uninstall.sh
UTF-8
13,583
2.8125
3
[ "LicenseRef-scancode-free-unknown", "MIT", "Apache-2.0" ]
permissive
if [ ! $(uname) == "Darwin" ]; then echo "This script should be run on macOS ONLY." echo "It is meant to uninstall the Vulkan SDK on macOS." exit 1 fi echo >> /tmp/VULKAN_UNINSTALL.log date >> /tmp/VULKAN_UNINSTALL.log echo "Removing /usr/local/bin/spirv-reduce" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/spirv-reduce echo "Removing /usr/local/lib/libspirv-cross-util.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libspirv-cross-util.a echo "Removing /usr/local/lib/cmake/vulkan/spirv-remapTargets.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/spirv-remapTargets.cmake echo "Removing /usr/local/lib/libspirv-cross-reflect.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libspirv-cross-reflect.a echo "Removing /usr/local/bin/spirv-dis" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/spirv-dis echo "Removing /usr/local/lib/libspirv-cross-core.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libspirv-cross-core.a echo "Removing /usr/local/lib/libspirv-cross-hlsl.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libspirv-cross-hlsl.a echo "Removing /usr/local/bin/spirv-lesspipe.sh" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/spirv-lesspipe.sh echo "Removing /usr/local/lib/cmake/vulkan/glslangValidatorTargets.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/glslangValidatorTargets.cmake echo "Removing /usr/local/lib/libSPVRemapper.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libSPVRemapper.a echo "Removing /usr/local/lib/libSPIRV-Tools-shared.dylib" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libSPIRV-Tools-shared.dylib echo "Removing /usr/local/lib/libshaderc_combined.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libshaderc_combined.a echo "Removing /usr/local/bin/glslc" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/glslc echo "Removing /usr/local/lib/cmake/vulkan/OSDependentTargets-release.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/OSDependentTargets-release.cmake echo "Removing /usr/local/lib/libSPIRV-Tools-reduce.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libSPIRV-Tools-reduce.a echo "Removing /usr/local/lib/libspirv-cross-glsl.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libspirv-cross-glsl.a echo "Removing /usr/local/lib/cmake/vulkan/SPIRVTargets-release.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/SPIRVTargets-release.cmake echo "Removing /usr/local/bin/spirv-cross" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/spirv-cross echo "Removing /usr/local/lib/libSPIRV-Tools-link.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libSPIRV-Tools-link.a echo "Removing /usr/local/lib/libOSDependent.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libOSDependent.a echo "Removing /usr/local/lib/libshaderc_shared.dylib" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libshaderc_shared.dylib echo "Removing /usr/local/include/shaderc" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/include/shaderc echo "Removing /usr/local/bin/vulkaninfo" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/vulkaninfo echo "Removing /usr/local/lib/libSPIRV-Tools-opt.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libSPIRV-Tools-opt.a echo "Removing /usr/local/lib/cmake/vulkan/glslangTargets.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/glslangTargets.cmake echo "Removing /usr/local/include/spirv_cross" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/include/spirv_cross echo "Removing /usr/local/lib/cmake/vulkan/SPIRV-Tools-link" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/SPIRV-Tools-link echo "Removing /usr/local/lib/libspirv-cross-c-shared.0.33.0.dylib" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libspirv-cross-c-shared.0.33.0.dylib echo "Removing /usr/local/lib/libSPIRV.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libSPIRV.a echo "Removing /usr/local/lib/cmake/vulkan/spirv-remapTargets-release.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/spirv-remapTargets-release.cmake echo "Removing /usr/local/lib/libvulkan.dylib" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libvulkan.dylib echo "Removing /usr/local/bin/glslangValidator" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/glslangValidator echo "Removing /usr/local/lib/cmake/vulkan/SPIRV-Tools-opt" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/SPIRV-Tools-opt echo "Removing /usr/local/lib/libvulkan.1.2.141.dylib" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libvulkan.1.2.141.dylib echo "Removing /Applications/vulkaninfo.app" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /Applications/vulkaninfo.app echo "Removing /usr/local/lib/libMoltenVK.dylib" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libMoltenVK.dylib echo "Removing /Applications/vkcubepp.app" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /Applications/vkcubepp.app echo "Removing /usr/local/lib/libshaderc_shared.1.dylib" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libshaderc_shared.1.dylib echo "Removing /usr/local/lib/libVkLayer_khronos_validation.dylib" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libVkLayer_khronos_validation.dylib echo "Removing /usr/local/lib/cmake/vulkan/SPVRemapperTargets-release.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/SPVRemapperTargets-release.cmake echo "Removing /usr/local/share/vulkan" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/share/vulkan echo "Removing /usr/local/lib/cmake/vulkan/HLSLTargets-release.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/HLSLTargets-release.cmake echo "Removing /usr/local/lib/cmake/vulkan/SPIRV-Tools-reduce" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/SPIRV-Tools-reduce echo "Removing /usr/local/lib/libVkLayer_api_dump.dylib" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libVkLayer_api_dump.dylib echo "Removing /usr/local/lib/libspirv-cross-c-shared.0.dylib" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libspirv-cross-c-shared.0.dylib echo "Removing /usr/local/lib/libshaderc.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libshaderc.a echo "Removing /usr/local/lib/libspirv-cross-c-shared.dylib" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libspirv-cross-c-shared.dylib echo "Removing /usr/local/lib/cmake/vulkan/SPIRV-Tools" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/SPIRV-Tools echo "Removing /usr/local/lib/libvulkan.1.dylib" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libvulkan.1.dylib echo "Removing /usr/local/lib/cmake/vulkan/SPVRemapperTargets.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/SPVRemapperTargets.cmake echo "Removing /usr/local/lib/libspirv-cross-cpp.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libspirv-cross-cpp.a echo "Removing /usr/local/include/glslang" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/include/glslang echo "Removing /usr/local/bin/vkvia" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/vkvia echo "Removing /usr/local/lib/cmake/vulkan/glslangTargets-release.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/glslangTargets-release.cmake echo "Removing /usr/local/lib/libshaderc_util.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libshaderc_util.a echo "Removing /usr/local/lib/cmake/vulkan/OGLCompilerTargets-release.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/OGLCompilerTargets-release.cmake echo "Removing /usr/local/bin/spirv-val" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/spirv-val echo "Removing /usr/local/lib/cmake/vulkan/OGLCompilerTargets.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/OGLCompilerTargets.cmake echo "Removing /usr/local/lib/libglslang.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libglslang.a echo "Removing /Applications/vkconfig.app" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /Applications/vkconfig.app echo "Removing /usr/local/lib/cmake/vulkan/glslangValidatorTargets-release.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/glslangValidatorTargets-release.cmake echo "Removing /usr/local/lib/libspirv-cross-c.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libspirv-cross-c.a echo "Removing /Applications/vkcube.app" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /Applications/vkcube.app echo "Removing /usr/local/bin/spirv-cfg" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/spirv-cfg echo "Removing /usr/local/lib/libspirv-cross-msl.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libspirv-cross-msl.a echo "Removing /usr/local/include/spirv-tools" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/include/spirv-tools echo "Removing /usr/local/lib/cmake/vulkan/OSDependentTargets.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/OSDependentTargets.cmake echo "Removing /usr/local/bin/spirv-remap" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/spirv-remap echo "Removing /usr/local/lib/libSPIRV-Tools.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libSPIRV-Tools.a echo "Removing /usr/local/bin/spirv-opt" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/spirv-opt echo "Removing /usr/local/lib/cmake/vulkan/SPIRVTargets.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/SPIRVTargets.cmake echo "Removing /usr/local/include/vulkan" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/include/vulkan echo "Removing /usr/local/bin/spirv-link" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/spirv-link echo "Removing /usr/local/include/SPIRV" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/include/SPIRV echo "Removing /usr/local/lib/cmake/vulkan/HLSLTargets.cmake" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/cmake/vulkan/HLSLTargets.cmake echo "Removing /usr/local/lib/libOGLCompiler.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libOGLCompiler.a echo "Removing /usr/local/bin/spirv-as" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/bin/spirv-as echo "Removing /usr/local/lib/libHLSL.a" | tee -a /tmp/VULKAN_UNINSTALL.log rm -rf /usr/local/lib/libHLSL.a
true
9173cb03d1c534dd4d4967bb587ddf26b92dfbdf
Shell
DevCool/CPP_Dev
/projects/Makefile.win32
UTF-8
1,121
2.75
3
[]
no_license
#!/bin/bash make CC=i586-mingw32msvc-g++ CFLAGS= CFLAGS2=`/opt/SDL-1.2.13/bin/sdl-config --cflags` LDFLAGS= LDFLAGS2=`/opt/SDL-1.2.13/bin/sdl-config --libs` LDFLAGS3=`/opt/SDL-1.2.13/bin/sdl-config --libs` -lopengl32 -lglu32 all: bin/fileio.exe bin/opengl1.exe bin/opengl2.exe bin/opengl3.exe bin/opengl4.exe bin/opengl5.exe rebuild: cleanest all bin/fileio.exe: fileio/*.cpp $(CC) $(CFLAGS) fileio/*.cpp -o $@ $(LDFLAGS) bin/opengl1.exe: opengl1/*.cpp $(CC) $(CFLAGS2) opengl1/*.cpp -o $@ $(LDFLAGS2) bin/opengl2.exe: opengl2/*.cpp $(CC) $(CFLAGS2) opengl2/*.cpp -o $@ $(LDFLAGS3) bin/opengl3.exe: opengl3/*.cpp $(CC) $(CFLAGS2) opengl3/*.cpp -o $@ $(LDFLAGS3) bin/opengl4.exe: opengl4/*.cpp $(CC) $(CFLAGS2) opengl4/*.cpp -o $@ $(LDFLAGS3) bin/opengl5.exe: opengl5/*.cpp $(CC) $(CFLAGS2) opengl5/*.cpp -o $@ $(LDFLAGS3) clean: rm -f fileio/*.o rm -f opengl1/*.o rm -f opengl2/*.o rm -f opengl3/*.o rm -f opengl4/*.o rm -f opengl5/*.o cleanest: rm -f bin/fileio.exe rm -f bin/opengl1.exe rm -f bin/opengl2.exe rm -f bin/opengl3.exe rm -f bin/opengl4.exe rm -f bin/opengl5.exe
true
3e034780ed0406018e9351999f9c90ac46b23bdf
Shell
bunsanorg/yandex_contest_invoker_compat_jni
/jni_gen.sh
UTF-8
2,160
3.703125
4
[]
no_license
#!/bin/bash -e cd "$(dirname "$0")" root="$PWD" java="$root/java/src/main/java" class="$root/java/target/classes" include="$root/jni_include" getclasses() ( cd "$java" && find com/yandex/contest/invoker/impl -type f -name '*.java' | \ sed -r 's|\.java$||' | tr '/' '.' | \ fgrep -v 'com.yandex.contest.invoker.impl.IHandle' ) getclassarray() { getclasses | tr '.' '/' | awk 'BEGIN {print "{" } { print "\t\"" $0 "\"," } END { print "}" }' } updatelist() { cat >"$1" <<EOF const char *com_yandex_contest_invoker_impl_classNames[] = $(getclassarray); const unsigned com_yandex_contest_invoker_impl_classNamesSize = $(getclasses | wc -l); EOF } updateheaders() { local builded="$include/builded" local list="$include/com_yandex_contest_invoker_impl_PackageInitClasses.h" if [[ -f $builded ]] then echo -n "Previous build was terminated, cleaning..." rm -r "$include" echo "OK" fi mkdir -p "$include" echo "$(basename "$builded")" >"$builded" echo "$(basename "$list")" >>"$builded" local changed="0" if [[ ! -e $list ]] then changed="1" fi for i in `getclasses` do local srcfile="$java/$(echo "$i" | tr '.' '/').java" local classfile="$class/$(echo "$i" | tr '.' '/').class" local headerfile="$include/$(echo "$i" | tr '.' '_').h" if [[ $headerfile -ot $classfile ]] then changed="1" echo -n "Building \"$i\"..." javah -classpath "$class" -d "$include" "$i" echo "OK" fi echo "$(basename "$headerfile")" >>"$builded" done for i in `ls "$include"` do local fname="$(basename "$i")" if ! fgrep "$fname" "$builded" >/dev/null 2>&1 then changed="1" echo -n "File \"$fname\" was not builded, removing..." rm "$include/$i" echo "OK" fi done if [[ $changed = 1 ]] then echo -n "Updating class list..." updatelist "$list" echo "OK" fi echo "Build completed." rm "$builded" } updateheaders
true
7dae6247cf165f1660f8f5267c465b0528d893cb
Shell
giuliapuntoit/post-quantum-sphincs-tls
/tests/run_testbed_rsaecdsa.sh
UTF-8
2,886
3.78125
4
[ "MIT" ]
permissive
#!/bin/bash # This script is testing a RSA and ECDSA TLS handshakes with DH key exchange. The parameter passed is the name of the directory which contains both the liboqs and the openssl libraries already compiled. # Use one parameter to choose the directory # Use no parameters to use default directory if [ $# -eq 1 ] then echo "Test this directory: " dir=$1 else echo "Test default directory: " dir=~/testbed_for_liboqs_tests/openssl_for_liboqs_tests fi echo $dir cd cd $dir cd openssl_pq output_dir=~/tests/results/output_tls_s_time_rsaecdsa.txt # First create RSA server certificates apps/openssl req -x509 -new -newkey rsa -keyout rsa_CA.key -out rsa_CA.crt -nodes -subj "/CN=oqstest CA" -days 365 -config apps/openssl.cnf apps/openssl genpkey -algorithm rsa -out rsa_srv.key apps/openssl req -new -newkey rsa -keyout rsa_srv.key -out rsa_srv.csr -nodes -subj "/CN=oqstest server" -config apps/openssl.cnf apps/openssl x509 -req -in rsa_srv.csr -out rsa_srv.crt -CA rsa_CA.crt -CAkey rsa_CA.key -CAcreateserial -days 365 sleep 2 # Need of a TLS server and a TLS client apps/openssl s_server -cert rsa_srv.crt -key rsa_srv.key -www -tls1_3 & server_pid=$! echo "------------------------------------------------------------------------" > $output_dir echo "RSA" >> $output_dir echo "########################################################################" >> $output_dir echo "Testing with s_time:" # Loop in order to compute mean and std dev for i in {1..10} do sleep 2 echo "ITERATION " $i apps/openssl s_time -new -time 10 | tail -n 2 >> $output_dir done kill -9 $server_pid # First create ECDSA server certificates apps/openssl req -x509 -new -newkey ec:<(apps/openssl ecparam -name secp384r1) -keyout ecdsa_CA.key -out ecdsa_CA.crt -nodes -subj "/CN=oqstest" -days 365 -config apps/openssl.cnf apps/openssl genpkey -genparam -algorithm EC -out ecdsa_srv.key -pkeyopt ec_paramgen_curve:secp384r1 -pkeyopt ec_param_enc:named_curve apps/openssl req -new -newkey EC -keyout ecdsa_srv.key -out ecdsa_srv.csr -nodes -subj "/CN=oqstest server" -config apps/openssl.cnf -pkeyopt ec_paramgen_curve:secp384r1 -pkeyopt ec_param_enc:named_curve apps/openssl x509 -req -in ecdsa_srv.csr -out ecdsa_srv.crt -CA ecdsa_CA.crt -CAkey ecdsa_CA.key -CAcreateserial -days 365 sleep 2 # Need of a TLS server and a TLS client apps/openssl s_server -cert ecdsa_srv.crt -key ecdsa_srv.key -www -tls1_3 & server_pid=$! echo "------------------------------------------------------------------------" >> $output_dir echo "ECDSA" >> $output_dir echo "########################################################################" >> $output_dir echo "Testing with s_time:" # Loop in order to compute mean and std dev for i in {1..10} do sleep 2 echo "ITERATION " $i apps/openssl s_time -new -time 10 | tail -n 2 >> $output_dir done kill -9 $server_pid echo "Done."
true
f9fd0c517616980cc70f860e2190d32afd15ecf7
Shell
dj0nz/cptools
/delete-unused-hosts.sh
UTF-8
1,147
3.921875
4
[ "Unlicense" ]
permissive
#!/bin/bash # # Loeschen unbenutzer Host-Objekte aus der Check Point Datenbank # Als Eingabe wird der CSV-Export aus Tufin SecureTrack ("Unattached Network Objects") erwartet # # dj0Nz 2020 INFILE=$1 LOGFILE=hosts-purge.log cat /dev/null > $LOGFILE if [ $1 = "" ]; then echo "Usage: parse.sh <input file>" exit 1 fi if [[ -f $INFILE && -s $INFILE ]]; then cat $INFILE | grep ^\"Host | tr -d '"' | awk -F , '{print $2}' > $INFILE.tmp else echo "No valid input file" exit 1 fi mgmt_cli login session-name "Mgmt CLI" session-description "Delete unused hosts" > id.txt while read line; do USED=`mgmt_cli where-used name "$line" -s id.txt | grep total | awk -F : '{print $2}' | awk '{$1=$1};1' | tr -d '\r'` if [ "$USED" == "0" ]; then echo "Object $line is not used, deleting..." mgmt_cli delete host name "$line" -s id.txt else echo "Object $line used somewhere. Adding record to logfile." mgmt_cli where-used name "$line" --format json -s id.txt >> $LOGFILE fi done < $INFILE.tmp echo "" echo "Done. Cleaning up." rm $INFILE.tmp mgmt_cli publish -s id.txt mgmt_cli logout -s id.txt rm id.txt
true
461f94cdaf5cd6e5a0de1427d86daf249519fdc0
Shell
Heesun-Yang/robipozzi-tekton
/2-windfire-restaurants/run-s2i-pipeline.sh
UTF-8
919
3.28125
3
[ "Apache-2.0", "LicenseRef-scancode-dco-1.1" ]
permissive
source ../../setenv.sh # ##### START - Variable section SCRIPT=run-s2i-pipeline.sh OPENSHIFT_PROJECT=windfire # ##### END - Variable section run() { oc project $OPENSHIFT_PROJECT tkn pipeline start windfire-restaurants-backend-s2i -s pipeline -w name=workspace,claimName=windfire-restaurants-pvc -p APP_NAME=windfire-restaurants-backend -p GIT_REPO=https://github.com/robipozzi/windfire-restaurants-node -p IMAGE=quay.io/robipozzi/windfire-restaurants-node:1.0 } setOpenshiftProject() { ## Create OpenShift Project echo ${grn}Enter OpenShift project - leaving blank will set project to ${end}${mag}windfire : ${end} read OPENSHIFT_PROJECT if [ "$OPENSHIFT_PROJECT" == "" ]; then OPENSHIFT_PROJECT=windfire fi run } # ############################################## # #################### MAIN #################### # ############################################## setOpenshiftProject
true
520c19aab3540b8e03f0d4751f97fb94b6bac23f
Shell
ngs/dotfiles
/rc.d/zsh/custom/nodenv.plugin.zsh
UTF-8
674
3.578125
4
[]
no_license
FOUND_NODENV=0 nodenvdirs=("$HOME/.nodenv" "/usr/local/opt/nodenv" "/usr/local/nodenv" "/opt/nodenv") for nodenvdir in "${nodenvdirs[@]}" ; do if [ -d $nodenvdir/bin -a $FOUND_NODENV -eq 0 ] ; then FOUND_NODENV=1 if [[ $NODENV_ROOT = '' ]]; then NODENV_ROOT=$nodenvdir fi export NODENV_ROOT export PATH=${nodenvdir}/bin:$PATH eval "$(nodenv init --no-rehash -)" function current_node() { echo "$(nodenv version-name)" } function nodenv_prompt_info() { echo "$(current_node)" } fi done unset nodenvdir if [ $FOUND_NODENV -eq 0 ] ; then function nodenv_prompt_info() { echo "system: $(node --version)" } fi
true
dc813f67c9d45a2cc46cc4c337a50799bb132e2a
Shell
maddy-nit/bashscripts
/temp.sh
UTF-8
204
3.484375
3
[]
no_license
#!/bin/bash STR="Sarah;Lisa;Jack;Rahul;Johnson" #String with names IFS=';' read -ra NAMES <<< "$STR" #Convert string to array #Print all names from array for i in "${NAMES[@]}"; do echo $i done
true
14a615ae68e6387a1983473b673af9f770ecaa3c
Shell
mariusmateoc/dotfiles
/src/os/install/macos/main.sh
UTF-8
622
2.59375
3
[ "MIT" ]
permissive
#!/bin/bash cd "$(dirname "${BASH_SOURCE[0]}")" \ && . "../../utils.sh" \ && . "./utils.sh" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ./xcode.sh ./homebrew.sh ./bash.sh ./git.sh ./browsers.sh ./compression_tools.sh ./gpg.sh ./image_tools.sh ./misc.sh ./misc_tools.sh ./vscode.sh # Volta and latest Node.js with frontend dependencies ./../volta.sh ./../volta_packages.sh # Latest stable python with pip ./../pyenv.sh ./../pip.sh # Latest version of Ruby ./../rvm.sh ./quick_look.sh ./tmux.sh ./video_tools.sh ./../vim.sh ./bash_completions.sh ./web_font_tools.sh brew_cleanup
true
92d50126f318814ab184a6875be70aae0ec7397a
Shell
5l1v3r1/OSSEC-Cloudflare-Ban-IP
/cloudflare_ban.sh
UTF-8
3,450
3.21875
3
[]
no_license
#!/bin/sh # # Açıklama: OSSEC ile Cloudflare Üzerinden Zararlı İstekleri Banlamak # # Script konumu: /var/ossec/active-response/cloudflare_ban.sh # Sonrasında chmod +x cloudflare_ban.sh komutu vermeyi unutmayın! # # Ossec SH Dosya Yolu /var/ossec/active-response/bin/cloudflare-ban.sh # # OSSEC Conf /var/ossec/etc/ossec.conf Editleyin ve Aşağıdaki Kodları Giriniz. # Command kısmına OSSEC'in Cloudflare_ban.sh scriptimizi çalıştırması için gerekli kodları giriyoruz. # Time out süresi kullanabilmesi için yes değeri de veriyorum. # Koddaki srcip aynen kalsın! Script değil Source ip kısaltmasıdır :) # <command> # <name>cloudflare_ban</name> # <executable>cloudflare_ban.sh</executable> # <timeout_allowed>yes</timeout_allowed> # <expect>srcip</expect> # </command> # # OSSEC Conf /var/ossec/etc/ossec.conf Editleyin ve Aşağıdaki Kodları Giriniz. # Active Response'yi açarak Cloudflare_ban.sh scriptimizin hangi kurallarda tetikleneceğini yazıyoruz. # Dikkat ederseniz birkaç örnek kural 31151,31152,31153,31154,31161,31164,31165,31104,31100 gibi aşağıda girdim. # Ayrıca timeout süresine 43200 saniye değeri ile 12 saat süre verdim. # 12 saat süre sonrasında blokelenen ip'yi Cloudflare üzerinden silecektir. # <active-response> # <command>cloudflare_ban</command> # <location>server</location> # <rules_id>31151,31152,31153,31154,31161,31164,31165,31104,31100</rules_id> # <timeout>43200</timeout> # </active-response> echo "Kötü Çocukların IP adreslerini Cloudflaye Göndermeye Başladık!" # TANIMLAMALAR ACTION=$1 USER=$2 IP=$3 PWD=`pwd` TOKEN='CLOUDFLAREPUBLICAPI' USER='CLOUDFLAREÜYEEPOSTASI' MODE='block' # Cloudflare'deki block veya challenge modu dilerseniz bloke etmeyebilirsiniz. ACTIVERESPONSE='/var/ossec/logs/active-responses.log' # Active-Response loguna bloke ve deleteleri basacak # Loglamayı Çağırıyoruz ve Active-response.log dosyasına script sonuçlarını yazdırıyoruz echo "`date` $0 $1 $2 $3 $4 $5" >> $ACTIVERESPONSE # IP Adresini Vermemiz Şart if [ "x${IP}" = "x" ]; then echo "$0: Missing argument <action> <user> (ip)" exit 1; fi # Yaramaz Çocukların IPlerini CF APIye Ekliyoruz if [ "x${ACTION}" = "xadd" ]; then curl -sSX POST "https://api.cloudflare.com/client/v4/user/firewall/access_rules/rules" \ -H "X-Auth-Email: $USER" \ -H "X-Auth-Key: $TOKEN" \ -H "Content-Type: application/json" \ --data "{\"mode\":\"$MODE\",\"configuration\":{\"target\":\"ip\",\"value\":\"$IP\"},\"notes\":\"OSSEC Blokesi\"}" exit 0; # Timeout süremiz dolunca yaramaz çocukların IPlerini Siliyoruz ve blokelerini kaldırma işlemi. elif [ "x${ACTION}" = "xdelete" ]; then # Cloudflarede blokeli olan IP'leri çağırıyoruz JSON=$(curl -sSX GET "https://api.cloudflare.com/client/v4/user/firewall/access_rules/rules?mode=$MODE&configuration_target=ip&configuration_value=$IP" \ -H "X-Auth-Email: $USER" \ -H "X-Auth-Key: $TOKEN" \ -H "Content-Type: application/json") # Cloudflareden süresi dolan yaramaz çocukların iplerinin blokelerini açıyoruz. ID=$(echo $JSON | jq -r '.result[].id') curl -sSX DELETE "https://api.cloudflare.com/client/v4/user/firewall/access_rules/rules/$ID" \ -H "X-Auth-Email: $USER" \ -H "X-Auth-Key: $TOKEN" \ -H "Content-Type: application/json" exit 0; # Geçersiz Eylemler else echo "$0: invalid action: ${ACTION}" fi exit 1;
true
c79c15ec3f7fa113df1b2b764e6aaf7ea5af9b90
Shell
kukaiiwaros/robot-manipulation-cluster
/CAMERA/start-dapplications.sh
UTF-8
1,462
3.515625
4
[ "MIT" ]
permissive
#!/bin/bash USER_BASH_RC="/home/ros/.bashrc" function stop-background-apps() { if [[ $(jobs -p|wc -l) -ge 1 ]]; then kill -2 $(jobs -p) >/dev/null 2>&1 fi } if [[ $# -ne 2 ]]; then echo "Usages: $0 ROS_MASTER_URI MYSELF_CONTAINER_IP" echo "for example, $0 "http://10.2.2.2:11311" "10.2.2.2"" exit 1 else # start rosmaster export ROS_MASTER_URI=$1 export ROS_IP=$2 # add find string ROS_MASTER_URI in /home/ros/.bashrc, # if exists delete and add new, if not, add new. echo "export ROS_MASTER_URI=$1" >> $USER_BASH_RC echo "export ROS_IP=$2" >> $USER_BASH_RC source $USER_BASH_RC # wait for master while [[ ! $(rostopic list 2>/dev/null) ]]; do sleep 1 printf " waiting for ros master \r" done echo "connected to ros master" # add camera device recognize # start camera 0 # set re-enter and device access if [[ -e /dev/video0 ]]; then sudo chmod a+rwx /dev/video0 # add retry open camera roslaunch video_stream_opencv camera.launch camera_name:=camera0 video_stream_provider:=0 & camera0_pid=$! else echo "camera0 not found!" fi # start camera 1 if [[ -e /dev/video1 ]]; then sudo chmod a+rwx /dev/video1 # add retry open camera roslaunch video_stream_opencv camera.launch camera_name:=camera1 video_stream_provider:=1 & camera1_pid=$! else echo "camera1 not found!" fi trap "stop-background-apps" 2 9 wait $camera0_pid $camera1_pid fi
true
9248996e3ad4c92194f741c9080db6b4bf64d5dc
Shell
nephelaiio/ansible-role-gitlab
/templates/gitlab-backup.sh.j2
UTF-8
534
3.234375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash #{{ ansible_managed }} # backup application data /opt/gitlab/bin/gitlab-backup # find latest data backup file unset -v latest_data for file in $(find {{ gitlab_backup_path }} -type f -name "*gitlab_backup.tar") do [[ $file -nt $latest_data ]] && latest_data=$file done latest_config=$(echo $latest_data | sed 's/gitlab_backup.tar/gitlab_config.tgz/') # backup configuration data tar cvzf $latest_config {{ gitlab_backup_source }} find {{ gitlab_backup_path }} -name "*gitlab_config.tgz" -mtime +30 -delete
true
15e9daa59b12ed6ff18b3d780ddec79b45ada565
Shell
nogizhopaboroda/.dotfiles
/.zshrc
UTF-8
1,812
3.234375
3
[]
no_license
HERE=`dirname "$0"` BREW_WORKSPACE=${BREW_WORKSPACE:-'default'} BREWFILE_PATH=$HERE/Brewfile.$BREW_WORKSPACE source $HERE/zsh_plugins.sh #general settings export EDITOR='nvim' #colorize man pages export MANROFFOPT='-c' export LESS_TERMCAP_mb=$'\e[1;32m' export LESS_TERMCAP_md=$'\e[1;32m' export LESS_TERMCAP_me=$'\e[0m' export LESS_TERMCAP_se=$'\e[0m' export LESS_TERMCAP_so=$'\e[5;30;43m' export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_us=$'\e[1;4;31m' #zsh keybindings bindkey "^[[1;3D" backward-word bindkey "^[[1;3C" forward-word bindkey "^[r" clear-screen #functions #usage: #git only-new | each rm function each() { while read line; do for f in "$@"; do $f $line done done } function mkcd() { mkdir $1 && cd $1 } function bcat(){ bat "$1" --style=plain --paging=never } function dump-brew(){ brew bundle dump --force --file=$BREWFILE_PATH --verbose echo "dumped in $BREWFILE_PATH" } function sg(){ LINK="http://www.google.com/search?hl=en&q=$@" open $LINK } #aliases alias pbr="git br" alias cbr="pbr | tr -d '\n' | pbcopy; echo 'branch name copied to clipboard'" alias pwdc="pwd | tr -d '\n' | pbcopy" alias pick-commit="git log --pretty=format:'%H %s' | fzf | grep -o '^\S*' | tr -d '\n'" alias pick-branch="git branch | fzf" alias jsn="python -mjson.tool" alias jsnp="python -c \"import sys; jsonp=sys.stdin.read(); print(jsonp[ jsonp.index('(') + 1 : jsonp.rindex(')') ])\" | jsn" alias serve="python -m SimpleHTTPServer" alias show-workspace="echo $BREW_WORKSPACE" alias sl="pmset sleepnow" alias re-source="source ~/.zshrc" alias cat="ccat --color='always'" alias sha256="openssl dgst -sha256" alias whereami="curl 'http://ip-api.com/json?lang=en&fields=country,city,as,query' | jsn" alias tt="gawk -f <(curl -Ls git.io/translate) --"
true
dd59b5383d999efbd95d4387c49acfd188fde975
Shell
poornimaa/MOLSA
/SSAS/Development/CuramSDEJ/xmlserver/xmlserverprint.sh
UTF-8
1,809
3.671875
4
[]
no_license
#!/bin/sh # Sample UNIX script for Curam XMLServer printing. # This script illustrates printing on UNIX or UNIX-like # environments. # In general printing capabilities vary widely # by OS distribution, version, installed software, # physical printer capabilities, etc. # Review your local environment for requirements # and how to best implement printing support. # echo ---------------------------------------------------- >> XMLServer.log # log output echo File: $1 >> XMLServer.log echo Print Server: $2 >> XMLServer.log Platform=`/bin/uname` echo Platform: $Platform >> XMLServer.log # The following illustrates some possible print solutions # for various platforms: case $Platform in # z/OS: OS/390) # On OS/390 (z/OS) use of the lop command as # illustrated would be dependent on the Infoprint # Server installation and configuration, related # software, and a printer with direct PDF support # and sufficient memory. echo Starting print... >> XMLServer.log lp -d $2 $1 echo Printing Completed >> XMLServer.log ;; AIX) # AIX has no native print support for PDF files, # so you would need to implement functionality such as # pdf2ps to convert the generated PDF file to # PostScript for printing with lpr; e.g.: # see the IBM Redbook SG24-6018-00 # pdf2ps $1 $1.ps # lpr -P $2 $1.ps echo $Platform printing implementation is TBD. >> XMLServer.log ;; # Other platforms: *) # Your local print functionality to be implemented here ... echo $Platform printing implementation is TBD. >> XMLServer.log ;; esac echo ---------------------------------------------------- >> XMLServer.log
true
0906a75e840c36d4c5c6085391171a7978256feb
Shell
sunsided/etcd-sandbox
/etcd-standalone/api/.pretty
UTF-8
197
2.640625
3
[]
no_license
#!/usr/bin/env bash # if jsonpp is installed (jsonpp-bin AUR package on Arch) # then it will be used as a JSON formatter; otherwise cat is used command -v jsonpp >/dev/null 2>&1 && jsonpp || cat
true
a157030a19188f184d86019a0df0bb3322dbe8b8
Shell
calebmeyer/dotfiles
/install_source_code_pro.sh
UTF-8
296
2.8125
3
[]
no_license
#!/bin/bash mkdir -p /tmp/adodefont cd /tmp/adodefont if [ ! -f "1.030R-it.zip" ] then wget https://github.com/adobe-fonts/source-code-pro/archive/2.010R-ro/1.030R-it.zip unzip 1.030R-it.zip mkdir -p ~/.fonts cp source-code-pro-2.010R-ro-1.030R-it/OTF/*.otf ~/.fonts/ fc-cache -f -v fi
true
eb79706284d7729108e4da05363b9233e5267498
Shell
ganesh01081998/MyShellScripts
/GaneshAdapa/loopingstatements/switch.sh
UTF-8
371
3.34375
3
[]
no_license
# calculator continue="yes" while [ $continue == "yes" ] do echo "Select your choice: 1)add 2) sub 3) Mul 4)Div 5)exit" read op echo "Enter one number" read a echo "Enter second Number" read b case $op in 1) c=`expr $a + $b ` ;; 2) c=`expr $a - $b ` ;; 3) c=`expr $a \* $b ` ;; 4) c=`expr $a / $b ` ;; 5) exit esac echo "Result is: $c" done
true
51f1326030b4504066d541c409deb2811f0d3039
Shell
seemathorat/IfAndElseProbelm
/HeadOrTail.sh
UTF-8
107
2.90625
3
[]
no_license
#!/bin/bash -x head=0 random=$((RANDOM%2)) if [ $random -eq 0 ] then echo "head" else echo "tail" fi
true
706c14ed4a850334cb4a98a7d18074e445e19213
Shell
ecbaldwin/git-replay
/test/test0002-push-to-branch
UTF-8
2,801
3.75
4
[]
no_license
#!/bin/bash set -e . "$(dirname "$0")/common.sh" create_git_server $TEST_TMP_DIR/server.git $TEST_TMP_DIR/upstream.git create_git_client $TEST_TMP_DIR/server.git $TEST_TMP_DIR/client pushd $TEST_TMP_DIR/client ######################################################################## # Test amending the top commit and pushing it to the server ######################################################################## # Establish something on master first quick_commit_files "First commit" one git push origin master:master # Switch to a feature branch git checkout -b feature quick_commit_files "Second commit" two oldhead=$(git rev-parse HEAD) remote_push_branch=feature remote_fetch_branch=refs/heads/feature git push origin feature:$remote_push_branch echo "a change" > two git commit -a --amend -C HEAD git-replay push origin feature:$remote_push_branch git fetch origin $remote_fetch_branch assert_equal "local and remote branches" "$(git rev-parse FETCH_HEAD)" "$(git rev-parse feature)" ######################################################################## # Test that the server rejects a push ######################################################################## git reset --hard $oldhead touch three git add three git commit --amend -C HEAD not git-replay push origin feature:$remote_push_branch git fetch origin $remote_fetch_branch assert_not_equal "local and remote branches" "$(git rev-parse FETCH_HEAD)" "$(git rev-parse feature)" # Be sure that the git command cannot force push it not git push origin +feature:$remote_push_branch assert_not_equal "local and remote branches" "$(git rev-parse origin/feature)" "$(git rev-parse feature)" ######################################################################## # Try some rebasing ######################################################################## # Put something else on master to rebase to. git checkout master quick_commit_files "Four" four quick_commit_files "Five" five git push origin master:master # Go back to the feature branch and try to push a rebase. git checkout feature git fetch origin git rebase origin/master # This should fail not git-replay push origin feature:$remote_push_branch # And a git force push shouldn't work either. not git push origin +feature:$remote_push_branch # At this point, I want the tool to help me merge the change back but I haven't # implemented that yet. So, we'll just reset back to the upstream to eliminate # the divergent commit and then rebase. Then, the push should work. git fetch origin $remote_fetch_branch git reset --hard FETCH_HEAD git rebase origin/master git-replay push origin feature:$remote_push_branch git fetch origin $remote_fetch_branch assert_equal "local and remote branches" "$(git rev-parse FETCH_HEAD)" "$(git rev-parse feature)"
true
cfed88bb44823df0897a282bd774f2f8e83285c3
Shell
nullhack/docker
/redis/build.sh
UTF-8
700
2.59375
3
[ "MIT" ]
permissive
cd ../traefik bash build.sh cd - cd ../ca-maker/ bash build.sh [ -n "$(sudo docker volume ls -q -f name=redis-certs)" ] || sudo docker run -ti --rm -v redis-certs:/certs -e OWNER=1001 -e GEN_NAME=redis ca:local cd - [ -n "$(sudo docker network ls -q -f name=redis_network)" ] || sudo docker network create --driver bridge --attachable redis_network [ -n "$(sudo docker container ls -q -f name=redis)" ] || sudo docker-compose up -d # sudo docker run -ti --rm --network redis_network -e REDIS_PASSWORD=password -v redis-certs:/certs bitnami/redis:6.2 /bin/bash -c "redis-cli --tls -a password -p 6379 -h redis --cert /certs/client/redis.crt --key /certs/client/redis.key --cacert /certs/ca/ca.crt"
true
5695984738a46a29d958d6fc54e153ec4024a252
Shell
Oldtooth/game-servers
/linux/OpenTTD/install.sh
UTF-8
782
3.453125
3
[ "MIT" ]
permissive
#!/bin/bash [ -z $CALLED_FROM_MAIN_SCRIPT ] && { echo "ERROR: This script can only be called from ./game-servers"; exit 1; } DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" info "Downloading game server files" curl -L "https://binaries.openttd.org/releases/1.7.1/openttd-1.7.1-linux-generic-amd64.tar.gz" | tar -xvz -C "$DIR/server" --strip 1 info "Downloading graphics set" curl -L "https://binaries.openttd.org/extra/opengfx/0.5.2/opengfx-0.5.2-all.zip" > "$DIR/server/opengfx-0.5.2-all.zip" info "Extracting graphics set" unzip -q "$DIR/server/opengfx-0.5.2-all.zip" -d "$DIR/server" tar -xf "$DIR/server/opengfx-0.5.2.tar" -C "$DIR/server/baseset" --strip 1 info "Removing temporary files" rm "$DIR/server/opengfx-0.5.2-all.zip" rm "$DIR/server/opengfx-0.5.2.tar"
true
d39669a9dfc68e8fd1f354a867fc2d66cb4db4ac
Shell
Natemen96/dotties
/.zshrc
UTF-8
7,930
2.828125
3
[]
no_license
#!/bin/env zsh # If you come from bash you might have to change your $PATH. export PATH=$HOME/bin:/usr/local/bin:$PATH DEFAULT_USER=$(whoami) # Path to your oh-my-zsh installation. #export ZSH="$HOME/.oh-my-zsh" # Load Antigen source ~/.config/antigen.zsh # Bundles from the default repo (robbyrussell's oh-my-zsh). antigen bundle git antigen bundle sudo antigen bundle conda-zsh-completion antigen bundle pip antigen bundle zsh-users/zsh-autosuggestions antigen bundle zsh-users/zsh-syntax-highlighting antigen bundle vi-mode # Load the theme. antigen theme romkatv/powerlevel10k # Tell Antigen that you're done. antigen apply POWERLEVEL9K_MODE="awesome-patched" POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir vcs) POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs anaconda time) POWERLEVEL9K_ANACONDA_LEFT_DELIMITER="" POWERLEVEL9K_ANACONDA_RIGHT_DELIMITER="" COMPLETION_WAITING_DOTS="true" # DISABLE_UNTRACKED_FILES_DIRTY="true" ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#93a1a1" export HISTFILE="$HOME/.zsh_history" export HISTSIZE=100000 export SAVEHIST=100000 setopt BANG_HIST # Treat the '!' character specially during expansion. setopt EXTENDED_HISTORY # Write the history file in the ":start:elapsed;command" format. setopt INC_APPEND_HISTORY # Write to the history file immediately, not when the shell exits. setopt SHARE_HISTORY # Share history between all sessions. setopt HIST_EXPIRE_DUPS_FIRST # Expire duplicate entries first when trimming history. setopt HIST_IGNORE_DUPS # Don't record an entry that was just recorded again. setopt HIST_IGNORE_ALL_DUPS # Delete old recorded entry if new entry is a duplicate. setopt HIST_FIND_NO_DUPS # Do not display a line previously found. setopt HIST_IGNORE_SPACE # Don't record an entry starting with a space. setopt HIST_SAVE_NO_DUPS # Don't write duplicate entries in the history file. setopt HIST_REDUCE_BLANKS # Remove superfluous blanks before recording entry. setopt HIST_VERIFY # Don't execute immediately upon history expansion. setopt HIST_BEEP # Beep when accessing nonexistent history. # User configuration setopt CORRECT zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' # Compilation flags # export ARCHFLAGS="-arch x86_64" iatest=$(expr index "$-" i) # If not running interactively, don't do anything case $- in *i*) ;; *) return;; esac #Editor Env Variables #Editor is for Terminal export EDITOR='/usr/bin/nvim' #Visual o/w export VISUAL='/usr/bin/nvim' # Color for manpages in less makes manpages a little easier to read export LESS_TERMCAP_mb=$'\E[01;31m' export LESS_TERMCAP_md=$'\E[01;31m' export LESS_TERMCAP_me=$'\E[0m' export LESS_TERMCAP_se=$'\E[0m' export LESS_TERMCAP_so=$'\E[01;44;33m' export LESS_TERMCAP_ue=$'\E[0m' export LESS_TERMCAP_us=$'\E[01;32m' # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" # set variable identifying the chroot you work in (used in the prompt below) if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then debian_chroot=$(cat /etc/debian_chroot) fi # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm-color|*-256color) color_prompt=yes;; esac # uncomment for a colored prompt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal window # should be on the output of commands, not on the prompt force_color_prompt=yes if [ -n "$force_color_prompt" ]; then if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then # We have color support; assume it's compliant with Ecma-48 # (ISO/IEC-6429). (Lack of such support is extremely rare, and such # a case would tend to support setf rather than setaf.) color_prompt=yes else color_prompt= fi fi unset color_prompt force_color_prompt if [ -x /usr/bin/dircolors ]; then test -r $HOME/.dircolors && eval "$(dircolors -b $HOME/.dircolors)" || eval "$(dircolors -b)" fi # colored GCC warnings and errors export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' # Make sure we can access scripts directory if [[ -d $HOME/.config/scripts ]]; then export PATH="$HOME/.config/scripts:$PATH" source $HOME/.config/scripts/fzf-tools source $HOME/.config/scripts/generalFunctions else echo "scripts directory missing, functionality will be greatly reduced" fi # Alias definitions. must be sourced AFTER generalFunctions [[ -f $HOME/.config/aliasrc ]] && source $HOME/.config/aliasrc # symlinks. if [ -d "$HOME/.config/symlinks" ]; then export PATH="$HOME/.config/symlinks:$PATH" fi export JAVA_HOME PATH=$PATH:$JAVA_HOME export PATH #Matlab Path append export PATH="/usr/local/MATLAB/R2019b/bin:$PATH" #getPkgMan #TODO: get this script working #go-lang #if [[ $(which go) = *"not found"* ]]; then # if ask "Go not installed, install now?" N; then # pkgInstall go # fi #else # export GOPATH=$HOME/gocode # export PATH=$PATH:$(go env GOPATH)/bin # export GOPATH=$(go env GOPATH) #fi [[ -d "/usr/lib/jvm/" ]] && export JAVA_HOME="/usr/lib/jvm/java-8-oracle/" #Tensorflow Source Builds [[ -d "$HOME/tensorflow_builds" ]] && export tfcputools=$HOME/tensorflow_builds/tf_cpu/tensorflow/bazel-bin/tensorflow/tools && export tfgputools=$HOME/tensorflow_builds/tf_gpu/tensorflow/bazel-bin/tensorflow/tools #CUDNN export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64" export CUDA_HOME="/usr/local/cuda/" export PATH="$PATH:/usr/local/cuda/bin" setopt auto_cd # Update LINES and COLUMNS after each command if necessary # Include filenames with leading dots in pattern matching setopt dotglob # Load history expansion result as the next command, don't run them directly setopt histverify # some usefull functions export CUDA_HOME=/usr/local/cuda # Runs a ls immediately when you're inside a file. if [ ! -z "$LOAD_ROS_ENV" ] ; then source /opt/ros/melodic/setup.bash source $HOME/catkin_ws/devel/setup.bash export LD_LIBRARY_PATH=/usr/local/lib:$HOME/catkin_ws/devel/lib:/opt/ros/melodic/lib:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64 source /usr/share/gazebo/setup.sh fi #comprehensive logs if [ ! -d "$HOME/.logs" ]; then mkdir $HOME/.logs fi export LOGPATH=$HOME/.logs export ANACONDA_PATH="$HOME/anaconda3/" if [ -d $ANACONDA_PATH ]; then # >> conda initialize>> # # !! Contents within this block are managed by 'conda init' !! __conda_setup="$("$ANACONDA_PATH/bin/conda" 'shell.zsh' 'hook' 2> /dev/null)" if [ $? -eq 0 ]; then eval "$__conda_setup" else if [ -f "$ANACONDA_PATH/etc/profile.d/conda.sh" ]; then . "$ANACONDA_PATH/etc/profile.d/conda.sh" else export PATH="$HOME/anaconda3/bin:$PATH" fi fi unset __conda_setup # << conda initialize<< fi #better binary calculator setup [[ -f $HOME/.config/bcrc ]] && export BC_ENV_ARGS=$HOME/.config/bcrc #Chezmoi Aliases export CHEZMOI_PATH=$HOME/.local/share/chezmoi #Chezmoi Aware Edit sh function because I keep forgetting to edit the chezmoi files using "chezmoi edit" instead of just editing the local copies. hostname=$(hostname -f) if [ "$hostname" = "noahserver.ele.uri.edu" ]; then #Task Warrior server export TASKDDATA=/var/taskd [ ! -d "$TASKDDATA" ] && sudo mkdir -p $TASKDDATA; fi # source $HOME/.bashrc.task [[ -f $HOME/.config/zhstrconf ]] && source $HOME/.config/zhstrconf [[ -f $HOME/.config/p10k.zsh ]] && source $HOME/.config/p10k.zsh POWERLEVEL9K_COLOR_SCHEME='light' # Used for comprehensive logging log(){ if [ "$(id -u)" -ne 0 ]; then echo "$(date "+%Y-%m-%d.%H:%M:%S") $(pwd) $(history -1)" >> $HOME/.logs/zsh-history-$(date "+%Y-%m-%d").log; fi } precmd() { log } export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
true
8a07975eb33814ad08d28c5d1b6abe66d662cfab
Shell
jamilg/Bacys
/monitoring.sh
UTF-8
578
3.09375
3
[]
no_license
#!/bin/bash #run this script as a cron job # --- #MBACKUPDIR-mumkunse bir fayldan oxusun. Butun arxivlerin saxlandigi, storage elementde olan username@myHost:/MBACKUPDIR/ echo "Host:" read HOSTS COUNT=1 for myHost in $HOSTS do count=$(ping -c $COUNT $myHost | grep 'received' | awk -F',' '{ print $2 }' | awk '{ print $1 }') if [ $count=0 ] then #here will be the processes to do when computers are donw. echo "Host : $myHost is down (ping failed) at $(date)" >> monitoring_log #myHost iwlemeyen kompdu. Bize lazimdi MBACKUPDIR=myHost adlipap fi done exit 0
true
8c49f6f73df6590f9b0e133bfb823d985516d945
Shell
mtthwcmpbll/dotfiles
/.zshrc
UTF-8
2,026
2.890625
3
[]
no_license
# General shell environment variables source ~/.env # Source any user secrets source ~/.secrets # Path to your oh-my-zsh installation. export ZSH=~/.oh-my-zsh # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded. ZSH_THEME="spaceship" SPACESHIP_KUBECONTEXT_SHOW=false # Enable command auto-correction. ENABLE_CORRECTION="false" # Use the dotfiles repo .zsh-custom ZSH_CUSTOM=$DOTFILES_DIR/zsh_custom # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. plugins=(git cf go-flags-completion) # Load Oh-My-Zsh source $ZSH/oh-my-zsh.sh # User configuration export HISTSIZE=100000 SAVEHIST=100000 mkdir -p "$HOME/.zsh_logs" function precmd() { if [ "$(id -u)" -ne 0 ]; then FULL_CMD_LOG="$HOME/.zsh_logs/zsh-history-$(date -u "+%Y-%m-%d").log" echo "$USER@`hostname`:`pwd` [$(date -u)] `\history -1`" >> ${FULL_CMD_LOG} fi } # Set personal aliases, overriding those provided by oh-my-zsh libs, # plugins, and themes. Aliases can be placed here, though oh-my-zsh # users are encouraged to define aliases within the ZSH_CUSTOM folder. # For a full list of active aliases, run `alias`. source ~/.aliases source ~/.plugins # Configure a custom location for zsh autocompletions fpath=($fpath $DOTFILES_DIR/zsh_custom/completions) # Warn if the dotfiles repo has uncommitted changes [[ $(git --git-dir=$DOTFILES_DIR/.git --work-tree=$DOTFILES_DIR status 2> /dev/null | tail -n1) != "nothing to commit, working tree clean" ]] && echo "$fg[yellow]⚠️ You have uncommitted changes in your dotfiles repository!$reset_color" autoload -U +X bashcompinit && bashcompinit complete -o nospace -C /usr/local/bin/terraform terraform #brew install buildpacks/tap/pack . $(pack completion --shell zsh)
true
4220051b41a1e94cdd8ecc51c3bf9890a69f2f8b
Shell
Peace-Song/College_materials
/2020-1/Operating_System/projects/project_6/xv6-riscv-snu/compare
UTF-8
711
3.546875
4
[ "MIT" ]
permissive
#!/bin/bash #--------------------------------------------------------------------- # # 4190.307: Operating Systems (Spring 2020) # # PA#6: Utility script for test result compare # # June 2, 2020 # # Yeon-Gyu Jeong # Systems Software and Architecture Laboratory # Department of Computer Science and Engineering # Seoul National University # #--------------------------------------------------------------------- readonly NUM_TEST=10 if [ "${1}" == "" ] || [ ${1} -lt 0 ] || [ ${1} -ge ${NUM_TEST} ]; then echo "Invalid argument." echo " Usage: ${0} [test_number]" echo " [test_number] must be in range [0, ${NUM_TEST})" exit 1 else diff --side-by-side "out/kthtest${1}.out" "ans/kthtest${1}.ans" fi
true
04865c9642eb6f04906e6054e6b250bb9b064fd3
Shell
timcheadle/cs-projects
/cs455/cwkb
UTF-8
946
3.296875
3
[]
no_license
#!/usr/bin/sh nwdir="/home/courses/csnets/nw42" # last changed 11-7-99 # shell program for Network Workbench # # script works with all parts of the project # # there is is one substitution parameter, the project name # # to compile type "cwkb projname" for example "cwkb dlc1" # # this script is intended to run in the user's working # directory, which must also contain the project code module # (such as topo.cpp) being completed in the assignment, as well as # input files wan.txt, lan.txt, mc.txt and emailn.txt (0 to 3 required # depending on the project part). Output file diskout.txt will be # generated in the same directory. # partno=$1 if [ "$1" = "dlc3" ] || [ "$1" = "int3" ]; then oblib="wkbrd" else oblib="wkbud" fi CC ${partno}.cpp -compat -I${nwdir}/code -I. -L${nwdir}/sun -l${oblib} -misalign -o NW${partno} if [ $? -eq 0 ]; then echo "compile successful, program in NW"${partno} else echo "compile/link not successful" fi
true
87261e357bf5500da7d0163e724dfba6fd668e1f
Shell
medthehatta/nifty-scripts
/go_status.sh
UTF-8
546
3.171875
3
[]
no_license
#!/bin/bash BASE="/home/med/scripts" MULTIPLEX="${BASE}/dmplex" FIFO="/tmp/med-status" EXENAME="statusbar.py" STATUS="python3 ${BASE}/${EXENAME}" LOG="status.log" FONT="cure" if [ ! -e "${FIFO}" ]; then mkfifo "${FIFO}"; fi RUNNING_TAIL=`ps aux | grep -i ${FIFO} | grep -v grep` if [ ! -n "${RUNNING_TAIL}" ]; then tail -f "${FIFO}" | "${MULTIPLEX}" | dzen2 -fn ${FONT} -h 11 -ta r -x 200 -p & fi PID=`ps aux | grep -i ${EXENAME} | grep -v grep | gawk '{print $2}'` if [ -n "${PID}" ]; then kill ${PID} fi exec $STATUS 2>"${BASE}/${LOG}"
true
96382cce182674a635e2cfad47ea12674b50dab8
Shell
coreos/coreos-installer
/tests/help.sh
UTF-8
977
3.84375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # Check help text maximum line length set -euo pipefail rootdir="$(dirname $0)/.." help() { "${rootdir}/target/debug/coreos-installer" $* -h } hidden= fail=0 total=0 checklen() { local length subcommand subcommands total=$((${total} + 1)) echo "Checking coreos-installer $*..." length=$(help $* | wc -L) if [ "${length}" -gt 80 ] ; then echo "$* --help line length ${length} > 80" fail=1 fi subcommands=$(help $* | awk 'BEGIN {subcommands=0} /^$/ {if (subcommands) exit} {if (subcommands) print $1} /^Commands:$/ {subcommands=1}') for subcommand in ${subcommands}; do checklen $* ${subcommand} done } checklen if [ ${total} -lt 2 ]; then echo "Detected no subcommands" fail=1 fi # Hidden commands that users might invoke anyway (i.e. deprecated ones) hidden=1 checklen iso embed checklen iso show checklen iso remove checklen pack checklen dev if [ "${fail}" = 1 ]; then exit 1 fi
true
626a9c257558ec80174ce29ef4691a3d68f725ff
Shell
kubernetes-client/javascript
/generate-client.sh
UTF-8
642
3.609375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -o errexit set -o nounset set -o pipefail . settings if [[ -z ${GEN_ROOT:-} ]]; then : "${GEN_COMMIT?Need to set GEN_COMMIT to kubernetes-client/gen commit}" TEMP_FOLDER=$(mktemp -d) trap "rm -rf ${TEMP_FOLDER}" EXIT SIGINT GEN_ROOT="${TEMP_FOLDER}/gen" echo ">>> Cloning gen repo" git clone --recursive https://github.com/kubernetes-client/gen.git "${GEN_ROOT}" (cd ${GEN_ROOT} && git checkout ${GEN_COMMIT}) else echo ">>> Reusing gen repo at ${GEN_ROOT}" fi TYPESCRIPT="${GEN_ROOT}/openapi/typescript.sh" echo ">>> Running ${TYPESCRIPT}" ${TYPESCRIPT} src/gen settings echo ">>> Done."
true
fe884bf71ebee3e77adf0d04592c0faf21bf63a3
Shell
erinfry6/AncGeneExpReconstructionBT
/Extract.AGER.SummaryStats.sh
UTF-8
1,175
2.75
3
[]
no_license
## this script identifies the best model parameters to include in analyzing the evolution of gene expression ## created by Erin Fry (efry@uchicago.edu) ## User should have R installed ## Non-indented lines should be evaluated for modification speficic to user's purpose ########################################################### export path=/Users/lynchlab/Desktop/ErinFry/ReconAncNeoTranscriptomes/BrainConstitiutive/BTReconstruct ##full absolute path to main directory export pathData=${path}/data export pathScripts=${path}/scripts export pathResults=${path}/resultsSQRT export pathTemporary=${pathResults}/temporary export pathCommands=${pathScripts}/commands ########################################################### ## for the following code to work, you must have a gene 1. for me this is a duplicate of gene #2 if [ -e ${pathResults}/AncRecon/gene1.txt ]; then echo 'already here' else cp -r ${pathResults}/AncRecon/gene2.txt ${pathResults}/AncRecon/gene1.txt fi ########################################################### ## Extract reconstruction information using 'Create.AGER.Summary.File.R' R --vanilla <Create.AGER.Summary.File.R
true
bcb079addced71d8ab81814addfa9ebb8a6c0830
Shell
aamairia/php7-spnego
/docker-config/sendmail_config.sh
UTF-8
375
2.8125
3
[]
no_license
#!/bin/sh # set host in hosts line=$(head -n 1 /etc/hosts) line2=$(echo $line | awk '{print $2}') echo "$line $line2.localdomain" >> /etc/hosts hostname >> /etc/mail/relay-domains \ && m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf #remove localhost limit sed -i -e "s/Port=smtp,Addr=127.0.0.1, Name=MTA/Port=smtp, Name=MTA/g" \ /etc/mail/sendmail.mc sendmail -bd
true
adb18f51dd4770299b5dd5add6ec4ea8dc4ffa01
Shell
falconray0704/sysCfg
/qemu_kvm/backup_restore/restore_02_import_snapshots.sh
UTF-8
735
3.34375
3
[]
no_license
#!/bin/sh . ./env_configs SNAPSHOT_NAMES=$(cat "${Snapshots_List}") #echo ${SNAPSHOT_NAMES} #exit 0 for Snapshot_Name in ${SNAPSHOT_NAMES} do if [ ! -z ${Snapshot_Name} ] then # echo "Exporting snapshot: ${Snapshot_Name} " virsh snapshot-create ${Source_VM_Name} ${Snapshots_Path}/${Snapshot_Name}.xml --redefine if [ $? -eq 0 ] then echo "[SUCCESS] Imported snapshot: ${Snapshots_Path}/${Snapshot_Name}.xml" else echo "[FAIL] Imported snapshot: ${Snapshots_Path}/${Snapshot_Name}.xml" exit 1 fi else echo "[FAIL] Empty snapshot name is invalid!!!" exit 1 fi done echo "[SUCCESS] Import new VM success!" sudo systemctl restart libvirtd virsh list --all virsh snapshot-list ${Source_VM_Name} --tree
true
161e4284a744bc82fb563bcdfcd3028cdcceba6e
Shell
nbenn/glinternet-support
/scripts_sh/test_glinternet.sh
UTF-8
2,406
3.875
4
[]
no_license
usage() { cat << EOF usage: $0 options This script tests glinternet with simulated data. OPTIONS: -h Show this message -r Path of Rscript binary to use (default: Rscript) -s Branch name of glinternet library to use (default: 0.mint) -c Number of cols in design matrix (default: 1000) -u Hierarchy setting of simulation (default: strong) -v Run glinternet in verbose mode (default: FALSE) -w Write fit result to file (default: FALSE) -n Number of processors to use (default: 1) EOF } function get_jobid { output=$($*) echo $output | head -n1 | cut -d'<' -f2 | cut -d'>' -f1 } while getopts ":h:r:s:c:u:v:w:n:" option; do case "$option" in h ) usage; exit 1 ;; r ) RSCBIN=$OPTARG ;; s ) BRNCH=$OPTARG ;; c ) SIZE=$OPTARG ;; u ) HIER=$OPTARG ;; v ) VERB=$OPTARG ;; w ) WRIT=$OPTARG ;; n ) NPROC=$OPTARG ;; \?) usage; exit 1 ;; esac done if [[ -z "$BRNCH" ]]; then BRNCH="0.mint"; fi if [[ -z "$HIER" ]]; then HIER="strong"; fi if [[ -z "$SIZE" ]]; then SIZE="1000"; fi if [[ -z "$VERB" ]]; then VERB="FALSE"; fi if [[ -z "$WRIT" ]]; then WRIT="FALSE"; fi if [[ -z "$NPROC" ]]; then NPROC="1"; fi if [[ "$VERB" != "TRUE" && "$VERB" != "FALSE" ]]; then echo "Verbosity setting has to be TRUE/FALSE; instead it is ${VERB}" usage exit 1 fi if [[ "$WRIT" != "TRUE" && "$WRIT" != "FALSE" ]]; then echo "Write fit setting has to be TRUE/FALSE; instead it is ${WRIT}" usage exit 1 fi if [[ -z "$RSCBIN" ]]; then RSCBIN="Rscript" RVERS="x86_64" else STRARR=(${RSCBIN//\// }) RVERS=${STRARR[${#STRARR[@]}-3]} fi # check if binary exists if ! command -v ${RSCBIN} &>/dev/null ; then echo "no Rscript found with path '$RSCBIN'" usage exit 1 fi if [ "$NPROC" -lt 1 ] || [ "$NPROC" -gt 24 ]; then echo "choose a number between 1 and 24 for -n opt" usage exit 1 fi if [ "$BRNCH" == "8.fma" ]; then AVX2="-R avx2" fi NICEBR=$(echo "$BRNCH" | tr '[.]' '-') mkdir -p $(dirname $0)/../euler/test/${NICEBR}_simulated cd $(dirname $0)/../euler/test/${NICEBR}_simulated JOBID=$(bsub -n $NPROC -W 01:00 $AVX2 -o ${RVERS}_${HIER}_${SIZE}_%J.out -J "test_${NICEBR}" \ "$RSCBIN ../../../scripts_r/glinternet_simulated.R $BRNCH $VERB $WRIT $HIER $SIZE") echo $JOBID JOBID=$(get_jobid echo $JOBID) touch ${RVERS}_${HIER}_${SIZE}_${JOBID}.out cd -
true
d771ad525fc3088f6f7090e7edcbe6dbff79e680
Shell
davep-github/dpw
/bin/frommac
UTF-8
424
3.8125
4
[]
no_license
#!/bin/bash tmpFile=/tmp/-fromdos-.$$ prog=`basename $0` if [ -s "$tmpFile" ] then echo $prog: temp file $tmpFile exists exit 1 fi for i in $* do if [ ! -f "$i" ] then echo $prog: $i: no such regular file continue fi if [ ! -w "$i" -o ! -r "$i" ] then echo $prog: $i: bad perms continue fi tr '\015' '\012' < $i > $tmpFile mv $tmpFile $i || { echo "$prog: mv $tmpFile to $i failed." exit 1 } done
true
7bb261ae15103e4ffa7081437fa08d505704d9ed
Shell
vaddi/biotopi
/inc/bin/radiation.sh
UTF-8
124
2.609375
3
[]
no_license
#!/bin/bash DEVICE="/dev/ttyUSB0" RESULT=$( sudo head -n2 ${DEVICE} | tr -d "\n" ) echo ${RESULT} exit 0 # end of file
true
e0c02f52ba33476f4c8bbeb8b6188240b72c002e
Shell
vinicius91/star_wars_api
/deploy/server_setup.sh
UTF-8
1,403
3.09375
3
[]
no_license
#!/usr/bin/env bash # TODO: Set to URL of git repo. PROJECT_GIT_URL='https://github.com/vinicius91/star_wars_api.git' PROJECT_BASE_PATH='/usr/local/apps' VIRTUALENV_BASE_PATH='/usr/local/virtualenvs' # Set Ubuntu Language locale-gen en_GB.UTF-8 # Install Python, SQLite and pip apt-get update apt-get install -y python3-dev sqlite python-pip supervisor nginx git # Upgrade pip to the latest version. pip install --upgrade pip pip install virtualenv mkdir -p $PROJECT_BASE_PATH git clone $PROJECT_GIT_URL $PROJECT_BASE_PATH/star_wars_api mkdir -p $VIRTUALENV_BASE_PATH virtualenv --python=python3 $VIRTUALENV_BASE_PATH/star_wars_api source $VIRTUALENV_BASE_PATH/star_wars_api/bin/activate pip install -r $PROJECT_BASE_PATH/star_wars_api/requirements.txt # Run migrations cd $PROJECT_BASE_PATH/star_wars_api/src # Setup Supervisor to run our uwsgi process. cp $PROJECT_BASE_PATH/star_wars_api/deploy/supervisor_star_wars_api.conf /etc/supervisor/conf.d/star_wars_api.conf supervisorctl reread supervisorctl update supervisorctl restart star_wars_api # Setup nginx to make our application accessible. cp $PROJECT_BASE_PATH/star_wars_api/deploy/nginx_star_wars_api.conf /etc/nginx/sites-available/star_wars_api.conf rm /etc/nginx/sites-enabled/default ln -s /etc/nginx/sites-available/star_wars_api.conf /etc/nginx/sites-enabled/star_wars_api.conf systemctl restart nginx.service echo "DONE! :)"
true
b680809ba443aba45ef89748f8591dde37d970f1
Shell
xxinran/vhive
/scripts/self-hosted-kind/easy-recreate.sh
UTF-8
1,682
3.171875
3
[ "LicenseRef-scancode-proprietary-license", "MIT" ]
permissive
#!/bin/bash # MIT License # # Copyright (c) 2021 Mert Bora Alper and EASE lab # # 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. # Execute this script (on the local) as # GH_ACCESS_TOKEN=... ./easy-recreate.sh <HOSTNAME> <N> [USER] # set -x set -e PWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" REMOTE=$1 COUNT=$2 AS_USER=${3:-`whoami`} sudo apt update -qq sudo apt install software-properties-common sudo add-apt-repository --yes --update ppa:ansible/ansible sudo apt install -q ansible ansible-playbook -u $AS_USER -i ${REMOTE}, ${PWD}/delete-runners.yaml for i in $(seq ${COUNT}); do ansible-playbook -u $AS_USER -i ${REMOTE}, ${PWD}/create-runner.yaml done
true
95ee03fcb2f12b4faf5d57656db6209a81b16576
Shell
svekars/katacoda-scenarios
/datum-intro/course.sh
UTF-8
469
2.671875
3
[]
no_license
#!/bin/bash launch.sh echo "Installing Pachyderm..." sleep 10 curl -o /tmp/pachctl.deb -L https://github.com/pachyderm/pachyderm/releases/download/v1.10.0/pachctl_1.10.0_amd64.deb sudo dpkg -i /tmp/pachctl.deb sleep 1 chmod +x install-pachyderm.sh ./install-pachyderm.sh until timeout 1s ./check_ready.sh app=pachd; do sleep 5; done echo "Deploying a pipeline..." chmod +x deploy-pipeline.sh ./deploy-pipeline.sh echo "Installing pandas..." pip install pandas
true
ef0612c39703afd9a0e6c4ddc3201eb6f3477112
Shell
andersonledo/ironman
/scripts/screens/models/ex.sh
UTF-8
1,163
3.640625
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash clear splash=`cat splash.screen` echo "$splash" sleep 3 clear header=`cat header.screen` echo "$header" select OPTION in MAILS PROJECT do case $OPTION in MAILS) mails() break ;; PROJECT) projects() break ;; none) break ;; *) echo "Erro - escolha uma opção válida." ;; esac done echo -n "Enter your name and press [ENTER]: " read name echo -n "Enter your gender and press [ENTER]: " read -n 1 gender echo grep -i "$name" "$friends" if [ $? == 0 ]; then echo "You are already registered, quitting." exit 1 elif [ "$gender" == "m" ]; then echo "You are added to Michel's friends list." exit 1 else echo -n "How old are you? " read age if [ $age -lt 25 ]; then echo -n "Which colour of hair do you have? " read colour echo "$name $age $colour" >> "$friends" echo "You are added to Michel's friends list. Thank you so much!" else echo "You are added to Michel's friends list." exit 1 fi fi function mails { echo ">>> MAILS" } function projects { echo ">>> PROJECTS" } exit 0
true
0938d2a472a1d71f89534d339822e500f18a2adb
Shell
qiuyuguo/bioinfo_toolbox
/setup/install_dev_tools.sh
UTF-8
6,868
3.03125
3
[ "MIT" ]
permissive
mkdir -p $HOME/Downloads mkdir -p $HOME/bin cd $HOME/Downloads NUM_THREADS=$( cat /proc/cpuinfo | grep -c '^processor') USABLE_THREADS=$(expr $NUM_THREADS - 1) #glibc wget https://ftp.gnu.org/gnu/libc/glibc-2.24.tar.gz tar zxvf glibc-2.24.tar.gz mkdir glibc-2.24-objdir pushd glibc-2.24-objdir/ ../glibc-2.24/configure --prefix=$HOME/Downloads/glibc-2.24_install make -j make install popd #gcc, may a a few hours wget http://www.netgull.com/gcc/releases/gcc-6.3.0/gcc-6.3.0.tar.gz tar zxf gcc-6.3.0.tar.gz pushd gcc-6.3.0/ ./contrib/download_prerequisites popd mkdir gcc-6.3.0-objdir pushd gcc-6.3.0-objdir/ ../gcc-6.3.0/configure --prefix=$HOME/Downloads/gcc-6.3.0_install --enable-shared --enable-threads \ --with-system-zlib --enable-languages=c,c++,fortran,go --disable-multilib #--with-gmp #--with-mpfr #--with-mpc #--with-isl make -j $USABLE_THREADS && make install ln -sf $PWD/gcc $HOME/bin/ ln -sf $PWD/g++ $HOME/bin/ ln -sf $PWD/go $HOME/bin/ ln -sf $PWD/gfortran $HOME/bin/ popd echo 'export LD_LIBRARY_PATH=$HOME/Downloads/gcc-6.3.0_install/lib:$LD_LIBRARY_PATH' >> $HOME/.bashrc echo 'export LD_LIBRARY_PATH=$HOME/Downloads/gcc-6.3.0_install/lib64:$LD_LIBRARY_PATH' >> $HOME/.bashrc echo 'export CC=$HOME/bin/gcc' >> $HOME/.bashrc echo 'export CXX=$HOME/bin/g++' >> $HOME/.bashrc #cmake wget https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.sh bash cmake-3.7.2-Linux-x86_64.sh ln -s $PWD/cmake-3.7.2-Linux-x86_64/bin/* $HOME/bin/ #zlib wget http://www.zlib.net/zlib-1.2.11.tar.gz tar zxvf zlib-1.2.11.tar.gz pushd zlib-1.2.11/ ./configure --prefix=$HOME/Downloads/zlib-1.2.11_install make && make install echo 'export LD_LIBRARY_PATH=$HOME/Downloads/zlib-1.2.11_install:$LD_LIBRARY_PATH' >> /home/guoy28/.bashrc popd #openssl (for https) wget https://github.com/openssl/openssl/archive/OpenSSL_1_1_0e.tar.gz tar zxvf OpenSSL_1_1_0e.tar.gz pushd openssl-OpenSSL_1_1_0e/ ./config --prefix=$HOME/Downloads/openssl_1_1_0e_install && make -j && make install popd #libcurl wget https://curl.haxx.se/download/curl-7.53.1.tar.gz tar zxvf curl-7.53.1.tar.gz pushd curl-7.53.1/ ./configure --prefix=$HOME/Downloads/curl-7.53.1_install --with-ssl=$HOME/Downloads/openssl_1_1_0e_install && make -j && make install popd #BLAS wget http://github.com/xianyi/OpenBLAS/archive/v0.2.19.tar.gz tar xzvf v0.2.19.tar.gz pushd OpenBLAS-0.2.19/ make -j make PREFIX=$HOME/Downloads/OpenBLAS-0.2.19_install install popd #python +setuptools+pip wget https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz tar zxvf Python-2.7.12.tgz pushd Python-2.7.12/ ./configure --prefix=$HOME/Downloads/python-2.7.12_install make -j 6 && make install ln -sf $HOME/Downloads/python-2.7.12_install/bin/python $HOME/bin/ wget https://github.com/pypa/setuptools/archive/v29.0.1.zip unzip v29.0.1.zip pushd setuptools-29.0.1/ python bootstrap.py python setup.py install popd wget https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz#md5=35f01da33009719497f01a4ba69d63c9 tar zxvf pip-9.0.1.tar.gz pushd pip-9.0.1/ python setup.py install ln -sf $HOME/Downloads/python-2.7.12_install/bin/pip ~/bin/ popd popd #python3 wget -O - https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz | tar zxf - pushd Python-3.6.1/ ./configure --prefix=$HOME/Downloads/Python-3.6.1_install make -j && make install ln -sf $HOME/Downloads/Python-3.6.1_install/bin/python3 $HOME/bin ln -sf $HOME/Downloads/Python-3.6.1_install/bin/pip3 $HOME/bin #perl #boost wget -O boost_1_63_0.tar.gz 'https://downloads.sourceforge.net/project/boost/boost/1.63.0/boost_1_63_0.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fboost%2Ffiles%2Fboost%2F1.63.0%2F&ts=1487717694&use_mirror=droneda ta' tar zxvf boost_1_63_0.tar.gz pushd boost_1_63_0/ ./bootstrap.sh ./b2 popd #xslt if ! [ -x "$(command -v xsltproc)" ]; then wget ftp://xmlsoft.org/xslt/libxslt-1.1.29-rc1.tar.gz tar zxvf libxslt-1.1.29-rc1.tar.gz pushd libxslt-1.1.29/ ./configure --prefix=$HOME/Downloads/libxslt-1.1.29_install make -j && make install ln -s $HOME/Downloads/libxslt-1.1.29_install/bin/xsltproc $HOME/bin popd fi #asciidoc wget https://github.com/asciidoc/asciidoc/archive/8.6.9.zip unzip 8.6.9.zip pushd asciidoc-8.6.9/ autoconf ./configure --prefix=$HOME/Downloads/asciidoc-8.6.9_install make && make install ln -sf $PWD/asciidoc.py ~/bin/asciidoc ln -sf $PWD/a2x.py ~/bin/a2x popd #xmlto wget http://pkgs.fedoraproject.org/repo/pkgs/xmlto/xmlto-0.0.28.tar.bz2/93bab48d446c826399d130d959fe676f/xmlto-0.0.28.tar.bz2 tar jxvf xmlto-0.0.28.tar.bz2 pushd xmlto-0.0.28/ ./configure --prefix=$HOME/Downloads/xmlto-0.0.28_install make && make install chmod +x $HOME/Downloads/xmlto-0.0.28_install/bin/xmlto ln -sf $HOME/Downloads/xmlto-0.0.28_install/bin/xmlto ~/bin/ popd #git wget https://github.com/git/git/archive/v2.11.0.zip unzip v2.11.0.zip pushd git-2.11.0/ make configure && \ ./configure --prefix=$HOME/Downloads/git-2.11.0_install --with-curl && \ make all doc && \ make install ln -sf $HOME/Downloads/git-2.11.0_install/bin/git ~/bin popd #git bash autocompletion echo 'source $HOME/Downloads/git-2.11.0/contrib/completion/git-completion.bash' >> $HOME/.bashrc #####R##### #libcurl wget https://curl.haxx.se/download/curl-7.53.1.tar.gz tar zxvf curl-7.53.1.tar.gz pushd curl-7.53.1/ ./configure --prefix=$HOME/Downloads/curl-7.53.1_install && make -j && make install #xz, lzma libs wget http://tukaani.org/xz/xz-5.2.3.tar.gz tar zxvf xz-5.2.3.tar.gz pushd xz-5.2.3/ ./configure --prefix=$HOME/Downloads/xz-5.2.3_install && make -j && make install popd #R wget https://cloud.r-project.org/src/base/R-3/R-3.3.2.tar.gz tar zxvf R-3.3.2.tar.gz pushd R-3.3.2/ export CFLAGS="-I$HOME/Downloads/xz-5.2.3_install/include -I$HOME/Downloads/curl-7.53.1_install/include" &&\ export LDFLAGS="-L$HOME/Downloads/xz-5.2.3_install/lib -L$HOME/Downloads/curl-7.53.1_install/lib " &&\ ./configure --disable-openmp --prefix=$HOME/Downloads/R-3.3.2_install &&\ make -j && make install ln -s $HOME/Downloads/R-3.3.2_install/bin/* $HOME/bin popd #octave curl https://ftp.gnu.org/gnu/octave/octave-4.2.1.tar.gz | tar zxv pushd octave-4.2.1/ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/isilon/Analysis/datainsights/users/guoy28/Downloads/OpenBLAS-0.2.19_install/lib && ./configure --prefix=$HOME/Downloads/octave-4.2.1_install --with-blas=$HOME/Downloads/OpenBLAS-0.2.19_install/lib --disable-readline make -j && make install ln -s $HOME/Downloads/octave-4.2.1_install/bin/octave $HOME/bin/ popd #datamash wget -O - http://ftp.gnu.org/gnu/datamash/datamash-1.1.0.tar.gz | tar xzf - pushd datamash-1.1.0 ./configure --prefix=$HOME/Downloads/datamash-1.1.0_install make -j && make check && make install ln -sf $HOME/Downloads/datamash-1.1.0_install/bin/datamash $HOME/bin popd echo 'export LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBRARY_PATH' >> $HOME/.bashrc
true
86174ee2aaef185630bc60040dda22136b1e504d
Shell
atheheath/ultitracker-frontend
/scripts/elastic-beanstalk/create_eb_zip.sh
UTF-8
366
3.578125
4
[ "MIT" ]
permissive
#!/bin/bash ROOTDIR=$1 OUTFILE=$2 if [[ "${ROOTDIR}" == "" ]] then echo "Please pass root directory as first argument" exit 1 fi if [[ "${OUTFILE}" == "" ]] then echo "Please pass outfile as second argument" exit 1 fi rm ${OUTFILE} zip -r ${OUTFILE} ${ROOTDIR} -x "**/node_modules/*" "node_modules/*" "**/.git/*" ".git/*" "**/config/*" "config/*"
true
e9f4bf36a5897f9a4a713fa8a8eca85b7a83b3f3
Shell
aturkewi/othello
/bin/deploy.sh
UTF-8
276
2.515625
3
[]
no_license
#!/bin/bash echo "building" npm run build echo "deleting branch locally if it exists" git branch -D gh-pages git checkout -b gh-pages && rm -rf static/ && mv ./build/* ./ && git add . && git commit -m "deploy" && git push origin gh-pages:gh-pages -f && git checkout master
true
1bc16f5b711474655003d50441eff561e6e15799
Shell
oltdaniel/rwth-ping
/scripts/first_time.sh
UTF-8
306
2.546875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash source $(dirname $0)/helpers.sh cd $(dirname $0)/.. log "INF" "Starting influxdb." docker-compose up -d influxdb log "INF" "Waiting for influxdb to be ready." sleep 3 bash $(dirname $0)/setup_influxdb.sh log "INF" "Start all other services." docker-compose up -d log "SUC" "Done."
true
545a472f1f4f3ff0cf45252d14b5674fb6e66a01
Shell
in-the-keyhole/ng-nginx-s2i
/s2i/bin/assemble
UTF-8
618
3.484375
3
[]
no_license
#!/bin/bash -e # # S2I assemble script for the 'ng-nginx-s2i' image. # The 'assemble' script builds your application source so that it is ready to run. # # For more information refer to the documentation: # https://github.com/openshift/source-to-image/blob/master/docs/builder_image.md # if [[ "$1" == "-h" ]]; then # If the 'ng-nginx-s2i' assemble script is executed with '-h' flag, # print the usage. exec /usr/libexec/s2i/usage fi pushd /tmp/src echo "---> Running npm install..." npm install npm install --only=dev echo "---> Running ng build" npm run build popd mv /tmp/src/dist/* /usr/share/nginx/html/
true
12caa969db895cc68ccb99d26368fded5ac974ba
Shell
jma78/NoduleX_Docker
/NoduleX_code/dicom_and_image_tools/walk-doi.sh
UTF-8
2,345
4.5
4
[]
no_license
#!/usr/bin/env bash # # Walk LIDC-IDRI directory structure looking for directories with more than N dicom files in it # Echo any such directory path to stdout. # N will default to 20, but can be supplied as second arg. # If you set N to a negative value, you will find directories with LESS THAN |N| dicom files, but # containing AT LEAST ONE regular file. # # usage: # walk-doi.sh root_dir N if [ "$1" = "-h" ] then echo "Usage: $(basename $0) ROOT-DIR N" echo echo " ROOT-DIR: Sample's top-level directory." echo " N: Minimum number of dicom files required to include directory" echo " or maximum number if set to negative (ex -20 finds" echo " directories with less than 20 dicom files, and at least ONE" echo " regular file of any kind." echo exit 1 fi # Platform-independant substitute for "readlink -f" based on code found at: # http://stackoverflow.com/a/19250873 # Modified to only care about "existence" (file or directory is OK) function get_realpath() { [[ ! -e "$1" ]] && return 1 # failure : file does not exist. [[ -n "$no_symlinks" ]] && local pwdp='pwd -P' || local pwdp='pwd' # do symlinks. echo "$( cd "$( echo "${1%/*}" )" 2>/dev/null; $pwdp )"/"${1##*/}" # echo result. return 0 # success } ROOTDIR=$1 N=20 if [ "$#" -gt 1 ] ; then N=$2 fi if [ "$#" -lt 1 ] ; then ROOTDIR=$(pwd) fi LESS_THAN=0 if [ "$N" -lt "0" ] ; then LESS_THAN=1 N=$(($N * -1)) fi #DIR=$(readlink -f $ROOTDIR) # NOTE: Will not work on Mac DIR=$(get_realpath $ROOTDIR) # This one is platform-agnostic LEN=${#DIR} LEN=$(( LEN - 1 )) if [[ "${DIR:$LEN}" == "/" ]] ; then DIR=${DIR:0:$LEN} # drop the extra trailing slash fi for dir in `find $DIR -type d` ; do NDICOMS=$(ls -l $dir/*.{dcm,dicom} 2> /dev/null | wc -l) if [ "$LESS_THAN" -eq 0 ] ; then if [ "$NDICOMS" -gt "$N" ] ; then echo "$dir" fi else NDIRS=$(ls -ld $dir/*/ 2> /dev/null | wc -l) NFILES=$(ls -l $dir 2> /dev/null | wc -l) NFILES=$(($NFILES - 1)) # Account for "total" line if [ "$NDICOMS" -lt "$N" ] && [ "$NFILES" -gt 0 ] && [ "$NDIRS" -ne "$NFILES" ] && [ "$dir" != "$DIR" ] ; then echo "$dir" fi fi done
true
93c379796dfcc442d60e23114d3ab1264058a555
Shell
guoshijie/go_anywhere
/tolocal.sh
UTF-8
845
3.484375
3
[]
no_license
#/bin/bash #connect to Anywhere function tips() { echo " ****************************** * * * Connect to Anywhere! * * by gsj * * * ****************************** " } tips local=~/work/go_anywhere/local.txt awk -F, ' BEGIN { #print "Please input your choice" } { printf "%-2s)-->%-18s path: %-35s\n",FNR,$1,$2 } END { print "Q )-->Quit" print "\nPlease input your choice..." } ' $local read input if [[ "$input" = "q" || "$input" = "Q" ]];then printf "Bye~\n\n" else host=`awk -F, -v input=$input ' { if(FNR==input) { print $2 } } ' $local` if test -z $host;then echo "your select is error,Bye Bye!" else echo "OK,Your select is "$host cd $host fi fi
true
7fcd1e83906ca8a3781918260236285eed1d3b0f
Shell
anhuipl2010/kcf_matlab_coder
/kcf_codelite/kcf/auto_test/main.sh
UTF-8
661
2.640625
3
[]
no_license
#!/bin/bash function main(){ frame_begin=$1; frame_num=$2; seq=$3; name1="../color/" name2="$seq" name3="_p_def.h" str1=$name1$name2$name3 cp $str1 ../src/p_def.h matlab -nodisplay -r "gen_line;quit" sh test.sh chmod 777 ../Debug/kcfs ./../Debug/kcfs $frame_begin $frame_num $seq cd ./../../../kcf_m matlab -nodisplay -r "run_a($frame_begin,$frame_num,$seq);quit" mv pos_*.txt /home/zhangxin/Desktop/codelite/kcf/output cd ./../kcf_codelite/kcf/auto_test cp ../color/ground_rect*.txt ../output matlab -nodisplay -r "add_rect($frame_begin,$frame_num,$seq);quit" rm ../Debug/* rm test.sh rm kcfsz.txt } main 1 80 4
true
86ace2e80759f8387a7f5b5df41a97b5c79ec139
Shell
lefticus/decent_ci_runner
/decent_ci
UTF-8
730
3.21875
3
[]
no_license
#! /bin/sh ### BEGIN INIT INFO # Provides: decent_ci # Required-Start: $remote_fs $all # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: Executes the decent_ci system as a daemon ### END INIT INFO . /lib/init/vars.sh . /lib/lsb/init-functions case "$1" in start) start-stop-daemon --start --background --exec /etc/init.d/decent_ci -- background ;; background) /usr/local/bin/decent_ci_run.sh /usr/local/etc/decent_ci_config.yaml false ;; restart|reload|force-reload) echo "Error: argument '$1' not supported" >&2 exit 3 ;; stop) ;; *) echo "Usage: $0 start|stop" >&2 exit 3 ;; esac
true
3e51a16fcc4896bf50b7b4b523cff3b666d3e2f7
Shell
ellefeg/assembly2orf
/addons/IsoformFilter-ExpressionNoClusters.sh
UTF-8
4,263
4
4
[]
no_license
#!/bin/bash # ------------------------------------------------------------------ # Author: Laura Grice # Date: 22 November 2018 # Title: IsoformFilter-ExpressionNoClusters.sh # Goal: To filter to remove redundant TRINITY isoforms and Transdecoder *|m.xxxx sequences # Usage: IsoformFilter-Expression.sh {species} {fasta/s to filter} {kallisto matrix} # ------------------------------------------------------------------ # Assumptions and requirements # assembly2orf output (.cds or .pep OK) # This is the "filter second" process - i.e. filtering isoforms AFTER assembly2orf - which in trials seemed to give better results than filtering directly from the Trinity # OPTIONAL: You can input multiple files as long as they have identical sequence IDs (e.g. cds and pep) - separate with a comma: file1,file2 # The first file will be used to pull out sequences of interest and to calculate sizes for the |m.... duplicate ORFs - the order shouldn't matter too much but it may be a bit quicker to calculate lengths for .pep files than .cds files # The names should look like: # PAL6_TRINITY_DN28196_c3_g1_i12|m.16421 # Where PAL6 = species code # TRINITY_DN28196_c3_g1_i12 is a code output by Trinity (the script won't work if there's not a T at the start of this bit) # |m.16421 is a code appended by Transdecoder (in assembly2orf) # gene count matrix # must be a Kallisto matrix (abundance.tsv) # or any 5-column tsv file where col1 = gene ID, col5 = tpm # The script is happy to have plain file IDs (e.g. myfile) or paths (e.g. /path/to/myfile) # ---------------- # rename variables # ---------------- species=$1 fasta=$2 fasta_string=$(echo "$fasta" | sed 's/,/ /g') main_fasta=$(echo "$fasta" | cut -f 1 -d ",") # get a reference of fasta names grep ">" "$main_fasta" | sed 's/>//g' | awk '{print $1, $1}' | sed 's/ /\t/g' | sed 's/^[0-9a-zA-Z]*_//' | sort -k1,1 > "$species"_nameReference counts_unsorted=$3 sort -k1,1 "$counts_unsorted" > $(basename "$counts_unsorted")_"$species"_sorted counts=$(basename "$counts_unsorted")_"$species"_sorted # ----------------------------------------- # Select longest |m.xxxxxx ORF per family # ----------------------------------------- # TransDecoder can output multiple ORFs per isoform (e.g. PAL6_TRINITY_DN28196_c3_g1_i12|m.16421 and PAL6_TRINITY_DN28196_c3_g1_i12|m.16422). This step will select the longest ORF per isoform. # The command works out the size of each *|m.xxxxxx ORF. For each line it prints the full ORF ID plus the isoform ID. Then it sorts sorts longest-to-shortest for each ORF and selects the biggest ORF for each isoform. These longest unique ORFs will be used as input to determine the most expressed isoform per gene. fastalength "$main_fasta" | sed 's/ /\t/g' | awk '{print $2, $2, $1}' | sed 's/ /\t/g' | sed 's/|m\.[0-9]*\t/\t/' | sort -nrk3,3 | sort -u -k1,1 | sed 's/^[0-9a-zA-Z]*_//' | cut -f 1-2 | sort -k1,1 > "$species"_uniqORFs # ----------------------------------------- # Join to Kallisto table and get most expressed isoforms # ----------------------------------------- join "$species"_uniqORFs "$counts" | sed 's/ /\t/g' | awk '{print $1, $1, $2, $3, $4, $5, $6}' | sed 's/ /\t/g' | sed 's/_i[0-9]*\t/\t/' | sort -grk7,7 | sort -u -k1,1 | grep "TRINITY" | cut -f 3 | sort > "$species"_seqToGet # ----------------------------------------- # Get sequences # ----------------------------------------- for input in $(echo "$fasta_string") do ~/scripts/software/UCSC/faSomeRecords "$input" "$species"_seqToGet $(basename "$input").filtered.fa done # ----------------------------------------- # Cleanup # ----------------------------------------- #rm "$species"_nameReference $(basename "$fnodes_unsorted")_sorted "$species"_size "$species"_uniqORFs "$species"_familyXref "$species"_seqOfInterest "$species"_seqToGet $(basename "$counts_unsorted")_sorted rm "$species"_nameReference $(basename "$counts_unsorted")_"$species"_sorted "$species"_uniqORFs "$species"_seqToGet # ----------------------------------------- # Done # ----------------------------------------- echo -e "Isoform filtering complete for sample "$species" at $(date).\nYour output is in $(pwd).\nFile/s *.filtered.fa contain the filtered fasta sequences.\n\nScript made by Laura Grice 26.11.18"
true
314dea88114d98771b6cefb9870205c674f466e7
Shell
klesh/dotfiles
/bin/tzs
UTF-8
183
3.390625
3
[ "MIT" ]
permissive
#!/bin/sh # list all timezones with their offsets ZONES="$(timedatectl list-timezones)" for ZONE in $ZONES do OFFSET="$(env TZ=${ZONE} date +%:z)" echo "$ZONE $OFFSET" done
true
ae3ea30b0f618613425685e12d04e46b18bee675
Shell
hipe/hipe-filemetrics
/test/manual/tmp.sh
UTF-8
332
3.390625
3
[]
no_license
#!/bin/bash array=( zero one two three four five ) count=${#array[@]} index=0 while [ "$index" -lt "$count" ] ; do echo ${array[$index]} if [ "$index" -eq "3" ] ; then echo "fizz" 1>&2 fi if [ "$index" -eq "4" ] ; then echo -n "bo" 1>&2 fi sleep 0.5 ((index ++)) done echo "done with shell script." exit 0
true
aa7fffea5f8c2997ae589f1517e9c3acb5272ed5
Shell
isgasho/vault-auth-slack
/scripts/dev.sh
UTF-8
1,324
3.265625
3
[ "MIT", "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash set -eEuo pipefail # Setup scratch SCRATCH="$(pwd)/tmp" mkdir -p "${SCRATCH}/plugins" # Build plugin go build -o "${SCRATCH}/plugins/vault-auth-slack" # Run vault vault server \ -dev \ -dev-plugin-init \ -dev-plugin-dir "${SCRATCH}/plugins" \ -dev-root-token-id "root" \ -log-level "debug" \ & sleep 2 VAULT_PID=$! # Cleanup function cleanup { echo "" echo "==> Cleaning up" kill -INT "${VAULT_PID}" rm -rf "${SCRATCH}" } trap cleanup EXIT # Login vault login root vault write sys/policy/user policy=-<<EOF path "secret/*" { capabilities = ["create", "read", "update", "delete", "list"] } EOF vault write sys/policy/group policy=-<<EOF path "secret/*" { capabilities = ["read"] } EOF vault write sys/policy/usergroup policy=-<<EOF path "*" { capabilities = ["create", "read", "update", "delete", "list"] } EOF # Enable plugin vault plugin list vault auth enable -path=slack -plugin-name=vault-auth-slack plugin # Configure vault write auth/slack/config \ access_token="${SLACK_ACCESS_TOKEN}" \ teams="${SLACK_TEAMS}" # Display config vault read auth/slack/config # Add policies vault write auth/slack/map/users/sethvargo policy=user vault write auth/slack/map/groups/events policy=group vault write auth/slack/map/usergroups/vault policy=usergroup # Wait wait $!
true
6b2502593a587dce0f01313fece3771f18f8c6be
Shell
Accelize/nimbix_drm_demo
/helloworld_fpga/autorun.sh
UTF-8
221
3.0625
3
[]
no_license
#!/bin/bash cd /opt/accelize/helloworld_fpga SSHCMD="./run.sh -n 1 $*" ! xdpyinfo | grep VNC > /dev/null 2>&1 ISVNC=$? # if running on VNC if [ ${ISVNC} -eq 1 ]; then terminator -b -f -e "${SSHCMD}" else ${SSHCMD} fi
true
5bfab54eee3d1349b3e49b82f68f016f3eb5e568
Shell
rarae/linuxLearnning
/myshell/for.sh
UTF-8
444
3.265625
3
[]
no_license
#!/bin/bash echo "for-in循环简单实例" for str in fool beautiful silly handsome charming out-going do echo "you are very" $str "!" done echo for file in `ls ./` do echo -n $file" " done echo #一般语言式循环 echo "使用C式for命令" for((i=1; i<=10; i++)) do echo -n $i " " done echo #while num=1 while [ $num -le 6 ] do echo "num="$num let num++ done #break n #退出几层循环 break为退出1层循环,可省略1
true
b6f77c38a6a5e8ff5f3bdc95e2ad6be8b0fe3408
Shell
danaele/ConnectivityWorkflow
/ExtractLabels.sh
UTF-8
552
2.703125
3
[]
no_license
#!/bin/sh export toolDIR=$1 export SUBJECT=$2 export NewJSONFILE_PATH=$3 export DTI_DIR=$4 export overlapFlag=$5 #Create label surfaces $toolDIR/ExtractLabelSurfaces --extractPointData --translateToLabelNumber --labelNameInfo labelListName.txt --labelNumberInfo labelListNumber.txt --useTranslationTable --labelTranslationTable ${NewJSONFILE_PATH} -a colour --vtkLabelFile ${DTI_DIR}/${SUBJECT}_combined_MiddleSurf_AALCOLOR.vtk --createSurfaceLabelFiles --vtkFile ${DTI_DIR}/${SUBJECT}_combined_InnerSurf.vtk ${overlapFlag} --ignoreLabel "0 0 0"
true
770f341612a4c44c9afd071abe7ef77427ce9f37
Shell
renxida/my_de
/brightness.sh
UTF-8
521
3.28125
3
[]
no_license
#!/bin/bash CURRENT_BRIGHTNESS=$(xrandr --verbose| awk '/^eDP-1-1/,/^DP1/{if ($1 ~ /Brightness/) {print $NF; exit} }') if [ "$1" = "dec" ] then xrandr --output eDP-1-1 --brightness `echo $CURRENT_BRIGHTNESS - 0.1 |bc` elif [ "$1" = "inc" ] then xrandr --output eDP-1-1 --brightness `echo $CURRENT_BRIGHTNESS + 0.1 |bc` else xrandr --output eDP-1-1 --brightness 1 echo brightess reset fi if awk 'BEGIN{exit ARGV[1]<ARGV[2]}' "$CURRENT_BRIGHTNESS" "1" then xrandr --output eDP-1-1 --brightness 1 fi
true
f98dc8590a3b92fc3ee3eb7111b0cafbba34bb16
Shell
CarbsLinux/repository
/extra/webkit2gtk/build
UTF-8
1,777
2.75
3
[ "MIT" ]
permissive
#!/bin/sh -e make -C unifdef # Remove gettext requirement. clsed 's/ngettext/printf/g' Tools/MiniBrowser/gtk/BrowserDownloadsBar.c clsed '/po_files \*\.po/d' Source/WebCore/platform/gtk/po/CMakeLists.txt clsed '/if.*GETTEXT_FOUND/,/^endif/d' Source/WebCore/platform/gtk/po/CMakeLists.txt clsed '/^GETTEXT_C/d' Source/WebCore/platform/gtk/po/CMakeLists.txt # Fix clang build. clsed '/LC_ALL/d' Source/JavaScriptCore/jsc.cpp clsed '/WTFLogAlways/d' Source/JavaScriptCore/jsc.cpp export DESTDIR="$1" # Webkit's CMake configuration forces color output using clang-specific flags # when using Ninja as the CMAKE_GENERATOR. We should disable them. clsed s,-fcolor-diagnostics,, Source/cmake/WebKitCompilerFlags.cmake cmake -B build \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_SKIP_RPATH=ON \ -DUNIFDEF_EXECUTABLE="$PWD/unifdef/unifdef" \ -DLIB_INSTALL_DIR=/usr/lib \ -DENABLE_BUBBLEWRAP_SANDBOX=OFF \ -DENABLE_DOCUMENTATION=OFF \ -DENABLE_GAMEPAD=OFF \ -DENABLE_GEOLOCATION=OFF \ -DENABLE_GLES2=ON \ -DENABLE_INTROSPECTION=OFF \ -DENABLE_JOURNALD_LOG=OFF \ -DENABLE_MINIBROWSER=OFF \ -DENABLE_SAMPLING_PROFILER=OFF \ -DENABLE_SPELLCHECK=OFF \ -DENABLE_WEB_CRYPTO="$(cpt l -C libtasn1 ON OFF)" \ -DENABLE_QUARTZ_TARGET=OFF \ -DENABLE_WAYLAND_TARGET=ON \ -DENABLE_X11_TARGET=OFF \ -DPORT=GTK \ -DUSE_AVIF=OFF \ -DUSE_LIBHYPHEN=OFF \ -DUSE_LIBNOTIFY="$(cpt l -C libnotify ON OFF)" \ -DUSE_LIBSECRET=OFF \ -DUSE_OPENJPEG="$(cpt l -C openjpeg2 ON OFF)" \ -DUSE_SOUP2=ON \ -DUSE_WOFF2=OFF \ -DUSE_WPE_RENDERER=OFF \ -Wno-dev cmake --build build cmake --install build
true
16f475193c8e9d427ca25b3b57d6686e8d7731ec
Shell
dynastymasra/privy
/start.sh
UTF-8
295
3
3
[]
no_license
#!/bin/bash -e case $1 in "run") docker-compose build privy docker-compose run --rm privy migrate:run docker-compose run --rm privy migrate:seed docker-compose up privy ;; "up") docker-compose up privy ;; *) echo "usage: $0 [run|up]" exit 1 ;; esac
true
9a0a7d80c8b7802e36725356eceb69573b640fcf
Shell
whitemeow/flink-kubernetes
/flink-docker/docker-entrypoint.sh
UTF-8
3,333
3.171875
3
[ "Apache-2.0" ]
permissive
#!/bin/sh ################################################################################ # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you 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. ################################################################################ ### If unspecified, the hostname of the container is taken as the JobManager address JOB_MANAGER_RPC_ADDRESS=${JOB_MANAGER_RPC_ADDRESS:-$(hostname -f)} ### if [ "$1" == "--help" -o "$1" == "-h" ]; then echo "Usage: $(basename $0) (jobmanager|taskmanager)" exit 0 elif [ "$1" == "jobmanager" ]; then echo "Starting Job Manager" sed -i -e "s/jobmanager.rpc.address: localhost/jobmanager.rpc.address: ${JOB_MANAGER_RPC_ADDRESS}/g" $FLINK_HOME/conf/flink-conf.yaml sed -i -e "s/jobmanager.heap.mb: 1024/jobmanager.heap.mb: ${JOB_MANAGER_HEAP_MB}/g" $FLINK_HOME/conf/flink-conf.yaml echo "blob.storage.directory: /flink-blob/" >> "$FLINK_HOME/conf/flink-conf.yaml" echo "blob.server.port: 6124" >> "$FLINK_HOME/conf/flink-conf.yaml" echo "query.server.port: 6125" >> "$FLINK_HOME/conf/flink-conf.yaml" #echo "metrics.reporters: prom" >> "$FLINK_HOME/conf/flink-conf.yaml" #echo "metrics.reporter.prom.class: org.apache.flink.metrics.prometheus.PrometheusReporter" >> "$FLINK_HOME/conf/flink-conf.yaml" #echo "metrics.reporter.prom.port: 9250-9300" >> "$FLINK_HOME/conf/flink-conf.yaml" ### if STATE_CHECKPOINTS_DIR is set, append environment to the config file if [ "${STATE_CHECKPOINTS_DIR}" != "" ]; then echo "state.checkpoints.dir: ${STATE_CHECKPOINTS_DIR}" >> $FLINK_HOME/conf/flink-conf.yaml fi echo "config file: " && grep '^[^\n#]' $FLINK_HOME/conf/flink-conf.yaml exec $FLINK_HOME/bin/jobmanager.sh start-foreground cluster elif [ "$1" == "taskmanager" ]; then sed -i -e "s/jobmanager.rpc.address: localhost/jobmanager.rpc.address: ${JOB_MANAGER_RPC_ADDRESS}/g" $FLINK_HOME/conf/flink-conf.yaml sed -i -e "s/taskmanager.numberOfTaskSlots: 1/taskmanager.numberOfTaskSlots: ${NUMBER_OF_TASK_SLOTS}/g" $FLINK_HOME/conf/flink-conf.yaml sed -i -e "s/taskmanager.heap.mb: 1024/taskmanager.heap.mb: {TASK_MANAGER_HEAP_MB}/g" $FLINK_HOME/conf/flink-conf.yaml echo "blob.storage.directory: /flink-blob/" >> "$FLINK_HOME/conf/flink-conf.yaml" echo "blob.server.port: 6124" >> "$FLINK_HOME/conf/flink-conf.yaml" echo "query.server.port: 6125" >> "$FLINK_HOME/conf/flink-conf.yaml" echo "Starting Task Manager" echo "config file: " && grep '^[^\n#]' $FLINK_HOME/conf/flink-conf.yaml exec $FLINK_HOME/bin/taskmanager.sh start-foreground fi exec "$@"
true
b27b7f55ca12c812a8f8ec98220f4d981bfe47e2
Shell
magicsong/yunify-k8s
/vmimage/1.13.x/build-scripts/cni.sh
UTF-8
749
3.640625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash POD_CIDR="192.168.0.0/16" CNI="calico" CNIPATH=/root/CNI set -e # parse args while [[ $# -gt 0 ]] do key="$1" case $key in --pod-cidr) POD_CIDR=$2 shift shift # past argument ;; -n|--CNI) CNI=$2 shift # past argument shift # past value ;; -t|--tag) tag="$2" shift # past argument shift # past value ;; *) # unknown option POSITIONAL+=("$1") # save it in an array for later shift # past argument ;; esac done echo "CNI=${CNI}, pod-cidr=${POD_CIDR}" if [ $CNI == "calico" -a $POD_CIDR != "192.168.0.0/16" ]; then sed -i -e "s?192.168.0.0/16?$POD_CIDR?g" ${CNIPATH}/calico/calico.yaml fi echo "apply yaml" kubectl apply -f ${CNIPATH}/${CNI}/${CNI}.yaml
true
13913b6924632ff24754e8a8ec6de3cba2bf2132
Shell
clicknull/ios-scripts
/pentest.sh
UTF-8
414
2.609375
3
[]
no_license
#!/bin/sh REPOS=/etc/apt/sources.list.d/cydia.list echo deb http://repo.coolstar.org/ ./ >> $REPOS echo deb http://cydia.radare.org/ ./ >> $REPOS apt-get install wget nmap com.evilpigeon.dk.nmapgui netcat echo "Set SUID bit for /usr/bin/nmap. Unsecure!" chmod u+s /usr/bin/nmap echo "Installing python and pip" wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate chmod +x get-pip.py ./get-pip.py
true
3e2b531db25b297dff98d540e42607a985b500f9
Shell
jnnishad/Docker-Data
/checker.sh
UTF-8
236
3.25
3
[]
no_license
sample="3 4 abab 9 aatacanaa 5 bbbbb" for i in ${sample[@]} do size=${#i} for((j=$size-1,j>=0,j--)) do interchange="$interchange{i:$j:1}" done if [ '$i' == '$interchange' ] then echo '' else echo ${#i} fi done echo -e "4 \n6 \n0"
true
05f02f11068594f855da1b754505184b76710e49
Shell
danielkang674/weeklyToDo-database
/rebuild.sh
UTF-8
340
2.609375
3
[]
no_license
if [ "$1" == "nocontainer" ]; then echo "Starting new container.." else echo "Restarting container.." docker stop weekly-database && docker rm -f weekly-database fi docker pull danielkang674/weekly-database:latest && docker run --name weekly-database -p 3001:3001 --network br0 --env-file .env -d danielkang674/weekly-database:latest
true
ecc4d15f76188167a71adef5b18619255a2d5780
Shell
tristanballard/heatwave_humidity
/wget.scripts/pi.control/wget-20160708064822.sh
UTF-8
126,761
2.671875
3
[]
no_license
#!/bin/bash ############################################################################## # ESG Federation download script # # Template version: 1.2 # Generated by esgf-index1.ceda.ac.uk - 2016/07/08 06:48:22 # Search URL: http://esgf-index1.ceda.ac.uk/esg-search/wget/?distrib=false&query=tasmax huss&dataset_id=cmip5.output1.NCC.NorESM1-M.piControl.day.atmos.day.r1i1p1.v20110901|esgf-data1.ceda.ac.uk&dataset_id=cmip5.output1.MOHC.HadGEM2-ES.piControl.day.atmos.day.r1i1p1.v20110524|esgf-data1.ceda.ac.uk&dataset_id=cmip5.output1.MOHC.HadGEM2-CC.piControl.day.atmos.day.r1i1p1.v20111115|esgf-data1.ceda.ac.uk&dataset_id=cmip5.output1.CCCma.CanESM2.piControl.day.atmos.day.r1i1p1.v20120410|esgf-data1.ceda.ac.uk&dataset_id=cmip5.output1.CSIRO-BOM.ACCESS1-0.piControl.day.atmos.day.r1i1p1.v4|esgf-data1.ceda.ac.uk&dataset_id=cmip5.output1.CSIRO-BOM.ACCESS1-3.piControl.day.atmos.day.r1i1p1.v4|esgf-data1.ceda.ac.uk&dataset_id=cmip5.output1.BCC.bcc-csm1-1.piControl.day.atmos.day.r1i1p1.v1|esgf-data1.ceda.ac.uk # ############################################################################### # first be sure it's bash... anything out of bash or sh will break # and the test will assure we are not using sh instead of bash if [ $BASH ] && [ `basename $BASH` != bash ]; then echo "######## This is a bash script! ##############" echo "Change the execution bit 'chmod u+x $0' or start with 'bash $0' instead of sh." echo "Trying to recover automatically..." sleep 1 /bin/bash $0 $@ exit $? fi version=1.3.2 CACHE_FILE=.$(basename $0).status openId=https://hydra.fsl.noaa.gov/esgf-idp/openid/tristan.ballard search_url='http://esgf-index1.ceda.ac.uk/esg-search/wget/?distrib=false&query=tasmax huss&dataset_id=cmip5.output1.NCC.NorESM1-M.piControl.day.atmos.day.r1i1p1.v20110901|esgf-data1.ceda.ac.uk&dataset_id=cmip5.output1.MOHC.HadGEM2-ES.piControl.day.atmos.day.r1i1p1.v20110524|esgf-data1.ceda.ac.uk&dataset_id=cmip5.output1.MOHC.HadGEM2-CC.piControl.day.atmos.day.r1i1p1.v20111115|esgf-data1.ceda.ac.uk&dataset_id=cmip5.output1.CCCma.CanESM2.piControl.day.atmos.day.r1i1p1.v20120410|esgf-data1.ceda.ac.uk&dataset_id=cmip5.output1.CSIRO-BOM.ACCESS1-0.piControl.day.atmos.day.r1i1p1.v4|esgf-data1.ceda.ac.uk&dataset_id=cmip5.output1.CSIRO-BOM.ACCESS1-3.piControl.day.atmos.day.r1i1p1.v4|esgf-data1.ceda.ac.uk&dataset_id=cmip5.output1.BCC.bcc-csm1-1.piControl.day.atmos.day.r1i1p1.v1|esgf-data1.ceda.ac.uk' #These are the embedded files to be downloaded download_files="$(cat <<EOF--dataset.file.url.chksum_type.chksum 'huss_day_NorESM1-M_piControl_r1i1p1_11510101-12001231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/huss/huss_day_NorESM1-M_piControl_r1i1p1_11510101-12001231.nc' 'SHA256' '8c759a8ab2653eb4552769df938f5cfb474a891f1ca9a83547a31a514ef2ddb2' 'huss_day_NorESM1-M_piControl_r1i1p1_10500101-10991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/huss/huss_day_NorESM1-M_piControl_r1i1p1_10500101-10991231.nc' 'SHA256' '4efccac24e8149b43afcb855c45a8d900449951b58eba21ff0aced3df8b74fa7' 'huss_day_NorESM1-M_piControl_r1i1p1_10000101-10491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/huss/huss_day_NorESM1-M_piControl_r1i1p1_10000101-10491231.nc' 'SHA256' '3cd43a2b8975791821a70eee8dd4c01f0f609cdc6d327a6d2e561a2006de5365' 'huss_day_NorESM1-M_piControl_r1i1p1_11500101-11501231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/huss/huss_day_NorESM1-M_piControl_r1i1p1_11500101-11501231.nc' 'SHA256' '34836be33f1dcfff66cfdd7f0d8db26766016f142426bfffb828738303d91739' 'huss_day_NorESM1-M_piControl_r1i1p1_11000101-11491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/huss/huss_day_NorESM1-M_piControl_r1i1p1_11000101-11491231.nc' 'SHA256' 'd53b586e8dff307082c7d169307b9c1454d141c6d05ae3b4761f97912bd4f269' 'huss_day_NorESM1-M_piControl_r1i1p1_09500101-09991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/huss/huss_day_NorESM1-M_piControl_r1i1p1_09500101-09991231.nc' 'SHA256' '1522117f375827837ee4f73a0937bbf738e5cb300b70d0de7a18ee757afebd92' 'huss_day_NorESM1-M_piControl_r1i1p1_09000101-09491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/huss/huss_day_NorESM1-M_piControl_r1i1p1_09000101-09491231.nc' 'SHA256' '6109d318029d9fae08c8faedbea68addba1b78f62c16ea8de55c7b6b6c9498dd' 'huss_day_NorESM1-M_piControl_r1i1p1_07500101-07991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/huss/huss_day_NorESM1-M_piControl_r1i1p1_07500101-07991231.nc' 'SHA256' 'd53827b42cddb369d021bdbc487d4c99d90ae4b59c78a67c9f66d2a8c68f823f' 'huss_day_NorESM1-M_piControl_r1i1p1_07000101-07491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/huss/huss_day_NorESM1-M_piControl_r1i1p1_07000101-07491231.nc' 'SHA256' '92c7996751ed013fae7c967f580ca07ab9a4d822ea75aae8d25bd3357ef67d70' 'huss_day_NorESM1-M_piControl_r1i1p1_08500101-08991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/huss/huss_day_NorESM1-M_piControl_r1i1p1_08500101-08991231.nc' 'SHA256' 'bdbe42d895595d36f2f38b314c38f902cdc1bb192f6ed589c7a3842783f3e7bb' 'huss_day_NorESM1-M_piControl_r1i1p1_08000101-08491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/huss/huss_day_NorESM1-M_piControl_r1i1p1_08000101-08491231.nc' 'SHA256' 'a3e82fba40fc6ca3044bac6deff2b88a744122e0f1d5612d971400e3e8a38001' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20941201-20991130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20941201-20991130.nc' 'SHA256' '862bb97c6c3db71e2a14fb9eb843aecfb27729e83759c0b3f54316584b00cca7' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20891201-20941130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20891201-20941130.nc' 'SHA256' 'f83a520f28869e95d2f66d862b78b58a8969789d01e8cdad0fe0f4eb12f98767' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20991201-20991230.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20991201-20991230.nc' 'SHA256' 'd4b6c747bd87dbcd83d671b83b3a0935e3f6d4cf8dda6c4ea750aa16257783c2' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19841201-19891130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19841201-19891130.nc' 'SHA256' '1ba0a5ee766f8bae5638e9e80619a1244d27cbcb2abdd0277782ed98abfc767c' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19691201-19741130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19691201-19741130.nc' 'SHA256' 'c828da3611294c6c0df7490ce74a385f053b28b8f7df005c38efcda12b1620f1' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19891201-19941130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19891201-19941130.nc' 'SHA256' '8aad4c8f9b0d3b6939db98a5b42bcd6f047165d4110eed9f9fd18b08fc9ac872' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19741201-19791130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19741201-19791130.nc' 'SHA256' 'f3991875a84465bdd8d89d8921ccd8ebd8a7b6d913295dbf76872a641f2f6bfa' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19791201-19841130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19791201-19841130.nc' 'SHA256' '68a21536ad75f75a4b2368ab84d23d9cc9508ece6bb0e550d21c9e9d31ffe4dc' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20591201-20641130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20591201-20641130.nc' 'SHA256' '39058cfbcf53755a35d7dbf93c5c64991d8c7be79d283307ce74b9ff3a87414d' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20641201-20691130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20641201-20691130.nc' 'SHA256' '339a456ba95c0f139ea972cd4e520e07dc61f3839a7328b661c8aa3b42cc5883' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20791201-20841130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20791201-20841130.nc' 'SHA256' 'd7eaa86b96d1de3feca55db18a12b5a69ffc4bf277a11fe8dcc6547b56c6439e' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20741201-20791130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20741201-20791130.nc' 'SHA256' '3a2b47ee1acb486e18375c5a391d4b8377a9ee7fa869ab15748c44522a8202ab' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20841201-20891130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20841201-20891130.nc' 'SHA256' '5ff05085222e216a6c70111d6b1843c10ee4176f677449b598497a2042e2e2ce' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20691201-20741130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20691201-20741130.nc' 'SHA256' '19f35dc152ad643dd1f050d487540974103d514b52dab469c1b03d3e5e2bb7dd' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20491201-20541130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20491201-20541130.nc' 'SHA256' '3853a0da473bf301b5afa1bcebf2741a7b81f8d3dd9fb06a8e5d66dddeba4fdc' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20541201-20591130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20541201-20591130.nc' 'SHA256' '8dd6beb613187a240c43beb918751313660c90ba142884a656cd7662ccfdfb98' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20291201-20341130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20291201-20341130.nc' 'SHA256' '02fbc5d98d5272d098f06218abe39104cbdf5e0c0956333837ccb93786f15d01' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20391201-20441130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20391201-20441130.nc' 'SHA256' '3a147bb74fe08643de40d43e3876aebeb1a05e14f7479d451d074b105b27caf8' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20341201-20391130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20341201-20391130.nc' 'SHA256' '175a69c52045a946665265206e1a53a81a9871f0c0676dd149cb924cfb106bcc' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20441201-20491130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20441201-20491130.nc' 'SHA256' '1ae71066f99bb10e61b71752cd704b776f15901990e791fb74b4c942ccf91902' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20241201-20291130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20241201-20291130.nc' 'SHA256' 'e200a821499408765df0f68c8cfee3689cd1400354c993127986598354566678' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19991201-20041130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19991201-20041130.nc' 'SHA256' 'a49063a8a7b24530bb3b1092b2cdab45a72f2790b20c2568f00f80ac791ab0df' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20141201-20191130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20141201-20191130.nc' 'SHA256' '31683ef17b1d98197f8c5cd89e6b323747fecfc6dde3809a763a2ad8f14b986f' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20191201-20241130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20191201-20241130.nc' 'SHA256' 'b890ad830fd05530c0fbeb3cff29ffc30f4a1725b277dca6f63622c7a3c30753' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20041201-20091130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20041201-20091130.nc' 'SHA256' 'eb4f9d3dc47d0a0628d8a605ef74b2bf4a54016f2645baa6b54aa5e3b65f86e0' 'huss_day_HadGEM2-CC_piControl_r1i1p1_20091201-20141130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_20091201-20141130.nc' 'SHA256' '8beaf55fc3497742c9fc1d0269441d4c0928b8205531495aad3f3299dc162a2e' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19941201-19991130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19941201-19991130.nc' 'SHA256' 'ac55bb2978a14b68fb8140ec75ec8a0626312ce07cb762386d68983fd53db087' 'huss_day_HadGEM2-CC_piControl_r1i1p1_18791201-18841130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_18791201-18841130.nc' 'SHA256' '20f422f794e9d0c384c3c88600a7e0cc3b421d2354a4a6f7211fa63de72dacff' 'huss_day_HadGEM2-CC_piControl_r1i1p1_18741201-18791130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_18741201-18791130.nc' 'SHA256' '092cbd473f2e46ea3e86b114e5aa758a4703357cf41ef316a888d2ee21cb541d' 'huss_day_HadGEM2-CC_piControl_r1i1p1_18841201-18891130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_18841201-18891130.nc' 'SHA256' '91b27cf59784ab69559ca5ac84129a6c760695a9d43704b0f66588d5befee6fa' 'huss_day_HadGEM2-CC_piControl_r1i1p1_18691201-18741130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_18691201-18741130.nc' 'SHA256' '5b42175d2c44bd45b37964835c5086cdc25e7bbd6eb9f06f4478db7ff06cf3fd' 'huss_day_HadGEM2-CC_piControl_r1i1p1_18641201-18691130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_18641201-18691130.nc' 'SHA256' 'b318e8335493a0d53171a8a209a16ca986bc25868556a88fb79b7d74cf8eea3f' 'huss_day_HadGEM2-CC_piControl_r1i1p1_18591201-18641130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_18591201-18641130.nc' 'SHA256' 'ffbb322b224f0f9a8783891adfe4400ae5d60b7d1a9142ed558a4d124d8090a2' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19341201-19391130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19341201-19391130.nc' 'SHA256' 'c9a4320614293e60d09a7025e8d9daa890199e1ec9447d9ab0b7aa429b460d65' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19391201-19441130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19391201-19441130.nc' 'SHA256' '1411123bace2faeafe29ce2887dd4fdfe6afdac16b7e4a25f4f755752a79f855' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19291201-19341130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19291201-19341130.nc' 'SHA256' 'b417c7c35b99ba93b5fd20d42397e2429cd5783e0da083f0c6b846e918403c31' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19241201-19291130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19241201-19291130.nc' 'SHA256' 'b682751840e8494ffa41a7ccfcc597a427f67810d89bf311acae178f613bc0f1' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19141201-19191130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19141201-19191130.nc' 'SHA256' 'c32669a348f8d9f3be1dea6dc45dec970b22cbcfef725a24fe309f7a8373fed9' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19191201-19241130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19191201-19241130.nc' 'SHA256' '5ff8cfc24fc8032893d3c1795ace2ce21c5dca3a85df3840f428a9d060d7985e' 'huss_day_HadGEM2-CC_piControl_r1i1p1_18891201-18941130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_18891201-18941130.nc' 'SHA256' '5abfad1b8a4872e0990af332a9d4d662623d1bcd6856714064cab2badaf526ed' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19041201-19091130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19041201-19091130.nc' 'SHA256' '6d0faf6c9337a8abcacb83e472f305e3be80cef8eea1cfd55c06d61a1180a36f' 'huss_day_HadGEM2-CC_piControl_r1i1p1_18991201-19041130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_18991201-19041130.nc' 'SHA256' '8e3b916aa49c9e7a60d9f6c0eb3d2f52797b383dfc8f3f4f2f8c56bf11941c3a' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19091201-19141130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19091201-19141130.nc' 'SHA256' 'f6f668a4951673d5ba15ac1d0e98e79e1773e8129f9cb89b5b60f9255c11a9bc' 'huss_day_HadGEM2-CC_piControl_r1i1p1_18941201-18991130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_18941201-18991130.nc' 'SHA256' 'b3a38e3bdc75a5b2c975878abdbc0042ca216dc4f0fd56cc69ae1ae4c2ceca07' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19491201-19541130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19491201-19541130.nc' 'SHA256' '83849b4fe5a94f636a1b51880c81ac64fabe5db5ca788c9528cd527843110b80' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19441201-19491130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19441201-19491130.nc' 'SHA256' 'f5097b3eea8b462bfe823d7b187e602b5f01060318eb4c8b046cc4a69f27cec0' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19591201-19641130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19591201-19641130.nc' 'SHA256' '754a737b296ab12b615e8a31afa47229578c2459bb45bc577415fd71c85bb7c6' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19541201-19591130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19541201-19591130.nc' 'SHA256' '6c12544e84876cf6031f9003410a1e47af96885c2be5f6ff531b10ab9eb9bcf2' 'huss_day_HadGEM2-CC_piControl_r1i1p1_19641201-19691130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/huss/huss_day_HadGEM2-CC_piControl_r1i1p1_19641201-19691130.nc' 'SHA256' '5b808ff22e365f6d260b7e39ace77ec1708c32c3f584984bb9b03e17f03c82ff' 'huss_day_ACCESS1-0_piControl_r1i1p1_05500101-05741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_05500101-05741231.nc' 'SHA256' '313041bd54db755265f27812f7c2619acc872a638b38880dc39b60264c575ae4' 'huss_day_ACCESS1-0_piControl_r1i1p1_05250101-05491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_05250101-05491231.nc' 'SHA256' '909f189dbb4dba5a76cc76a982778943f821d6de7f21f745b92822e7863b08a6' 'huss_day_ACCESS1-0_piControl_r1i1p1_04750101-04991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_04750101-04991231.nc' 'SHA256' 'cf751f954576b2d608909c6d5ecf098d70bb7d895b622d1e698535ea3754e759' 'huss_day_ACCESS1-0_piControl_r1i1p1_05750101-05991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_05750101-05991231.nc' 'SHA256' '9e12bf7295318140ec0fdcdafd721cfebcda639fc41f22bf076eb670421c8320' 'huss_day_ACCESS1-0_piControl_r1i1p1_05000101-05241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_05000101-05241231.nc' 'SHA256' 'c1c09de3bc5cb8e66f7cb444fabc67f7dd01f566752b5bddc6c3c73e4eb8bba9' 'huss_day_ACCESS1-0_piControl_r1i1p1_06250101-06491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_06250101-06491231.nc' 'SHA256' '17404d70dae6b6f77c6fc1ca6bc120e95bef2c69b2ca6e58a533b14e9f8f202d' 'huss_day_ACCESS1-0_piControl_r1i1p1_06000101-06241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_06000101-06241231.nc' 'SHA256' 'd00efbc380859971463ec5cbfc06e8af78a42579fb64d45ce1befa3e3ebb082f' 'huss_day_ACCESS1-0_piControl_r1i1p1_06750101-06991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_06750101-06991231.nc' 'SHA256' '76bdcceab3c3691f5a2ad7e5f44ff149c5ccdb130943e9005682c4f37f9be650' 'huss_day_ACCESS1-0_piControl_r1i1p1_07500101-07741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_07500101-07741231.nc' 'SHA256' 'cd17cb7c2bdd6625665b08a447b10ccb05d6cf899c500e07c8c2a9a6c8dbdbcf' 'huss_day_ACCESS1-0_piControl_r1i1p1_07000101-07241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_07000101-07241231.nc' 'SHA256' 'bb9c2ba1e19d38cec3960c0201e5b3944c3917528f0f0d1e71b179d4b5c29f6e' 'huss_day_ACCESS1-0_piControl_r1i1p1_07750101-07991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_07750101-07991231.nc' 'SHA256' 'aedd9e771a46a1d33d248c950c3a0b1b668b5c77710b09f81e32b21513499190' 'huss_day_ACCESS1-0_piControl_r1i1p1_06500101-06741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_06500101-06741231.nc' 'SHA256' 'e7b03290f2cb1ca9ebea9392e7159269bcdc81fd01ec7fb1813f76c6ae341633' 'huss_day_ACCESS1-0_piControl_r1i1p1_07250101-07491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_07250101-07491231.nc' 'SHA256' '5113ab63af95854b8c734c5b5c380ee1c433f6e89296879365a2ac88274f5ea4' 'huss_day_ACCESS1-0_piControl_r1i1p1_04250101-04491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_04250101-04491231.nc' 'SHA256' '83ca9b64187ef5cb97c01bf6609ee63bcd566b1c5ee7b890eb0e49d9c7bd687c' 'huss_day_ACCESS1-0_piControl_r1i1p1_03250101-03491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_03250101-03491231.nc' 'SHA256' 'cb13a2dda40eed8cf82c10cc633e35a43b34aaf4573c0107e0a295ec7756cef5' 'huss_day_ACCESS1-0_piControl_r1i1p1_03750101-03991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_03750101-03991231.nc' 'SHA256' 'b516d1bf2935df4198d10127c57a30617af11b3c2b180c17c7c21952f595165b' 'huss_day_ACCESS1-0_piControl_r1i1p1_04000101-04241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_04000101-04241231.nc' 'SHA256' '9af2c4a3a5250647fb80a4d6341f20e4de3bda809ad8bb23919e9333b66d2550' 'huss_day_ACCESS1-0_piControl_r1i1p1_03000101-03241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_03000101-03241231.nc' 'SHA256' 'e55e6e240fe1b6e05439ac082c9efdb24c1ab6aaafd8fee0098fdb39f3ab9d41' 'huss_day_ACCESS1-0_piControl_r1i1p1_04500101-04741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_04500101-04741231.nc' 'SHA256' '329698dfe77231098c4d2602c3383c7a13071bf733057de763bae06ea29c41d8' 'huss_day_ACCESS1-0_piControl_r1i1p1_03500101-03741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-0_piControl_r1i1p1_03500101-03741231.nc' 'SHA256' '469e01c5040b4fd085b8c422bd5794a96bcb214e11b76c39837a418f4daacb57' 'huss_day_HadGEM2-ES_piControl_r1i1p1_24251201-24351130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_24251201-24351130.nc' 'SHA256' '4f4454e0f20caaa64962d5ba9cecb91999927621ba3832ed396dd888a65d0e26' 'huss_day_HadGEM2-ES_piControl_r1i1p1_24151201-24251130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_24151201-24251130.nc' 'SHA256' 'ff29304574902418ab5bb8a061b1925c789e5865b62dbefcfefd49bed32ea542' 'huss_day_HadGEM2-ES_piControl_r1i1p1_24051201-24151130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_24051201-24151130.nc' 'SHA256' 'cd74b6f9247dad8bf6eeb763cf6d76a0451fcffb0baffbf04929c49fcc23abdd' 'huss_day_HadGEM2-ES_piControl_r1i1p1_23951201-24051130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_23951201-24051130.nc' 'SHA256' 'e49c92bacd9f69032bf72e310599829c01bd20a8350454b5f691b61ca52d62bb' 'huss_day_HadGEM2-ES_piControl_r1i1p1_23651201-23751130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_23651201-23751130.nc' 'SHA256' 'd6ab613352fc51d68e18ec9df9352bd52917df8c3f32f1d5cea1c622e2acebcc' 'huss_day_HadGEM2-ES_piControl_r1i1p1_23281201-23381130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_23281201-23381130.nc' 'SHA256' 'adfe274ecb24539c5da27d8bc35d97c277cb868746f6e86ad4b45e9766560238' 'huss_day_HadGEM2-ES_piControl_r1i1p1_23381201-23481130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_23381201-23481130.nc' 'SHA256' '73a30367f9ea56fde9d527a00220f290d7b9f50b715ee276c0956cb17c57a853' 'huss_day_HadGEM2-ES_piControl_r1i1p1_23751201-23851130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_23751201-23851130.nc' 'SHA256' '2706d6e30b2af6e243c9ff455a61e417ee1deb986fa38aea0502676cfc50e1d4' 'huss_day_HadGEM2-ES_piControl_r1i1p1_23481201-23551130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_23481201-23551130.nc' 'SHA256' 'c41400484e31670da786e74cb101a3ab276c3cb1ffb2b0f470ea93cc1ccf7b95' 'huss_day_HadGEM2-ES_piControl_r1i1p1_23851201-23951130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_23851201-23951130.nc' 'SHA256' 'f51348816ed73bbba45f331383a1a94e9adc61d8730043924adeb4310c685778' 'huss_day_HadGEM2-ES_piControl_r1i1p1_23551201-23651130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_23551201-23651130.nc' 'SHA256' '0e924f2e6caa20503cb1476d9a9cd9fff2882e317b2b1cd68f4c35472ac68321' 'huss_day_HadGEM2-ES_piControl_r1i1p1_22981201-23081130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_22981201-23081130.nc' 'SHA256' '9334292d49d2e01de4fa9cf535aae626d588d6466e5a3f7b6a80b061b174fefc' 'huss_day_HadGEM2-ES_piControl_r1i1p1_23181201-23281130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_23181201-23281130.nc' 'SHA256' '64e307a1d1209c654964a764cced655db03e99b09bdcf28d358a2be97dc60dc5' 'huss_day_HadGEM2-ES_piControl_r1i1p1_23081201-23181130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_23081201-23181130.nc' 'SHA256' '4ce44b07b66acc214f59f509428c46f1428a65cd8ba51caf2423e66f623a5338' 'huss_day_HadGEM2-ES_piControl_r1i1p1_22681201-22781130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_22681201-22781130.nc' 'SHA256' '8b423563df62e88d02c0c496902068a2109fb84e948ecef17b018516ccb6f719' 'huss_day_HadGEM2-ES_piControl_r1i1p1_22581201-22681130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_22581201-22681130.nc' 'SHA256' '097bdd48bdb568f00110dade6b0f59321b4c3f8bd2c4d57ad0032f9b8ba396d5' 'huss_day_HadGEM2-ES_piControl_r1i1p1_22881201-22981130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_22881201-22981130.nc' 'SHA256' 'e08822b65326a5a66ef3695f376d49134f95f9bd48100de57229b4508e91bcec' 'huss_day_HadGEM2-ES_piControl_r1i1p1_22781201-22881130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_22781201-22881130.nc' 'SHA256' 'abf750250ee3d0e02ddf37a2eeb0cfba142118f6119350804a81a69ded68e2e5' 'huss_day_HadGEM2-ES_piControl_r1i1p1_22481201-22581130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_22481201-22581130.nc' 'SHA256' 'aa2ea64dcd5d6a628a253b62499b24d325be41a7745305e16d1faf952d6c042e' 'huss_day_HadGEM2-ES_piControl_r1i1p1_22381201-22481130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_22381201-22481130.nc' 'SHA256' '5d5dcf4d6dc2325d54aa3502fa3aa1c77f55a96d3520b73e2e47abf40aafd176' 'huss_day_HadGEM2-ES_piControl_r1i1p1_22281201-22381130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_22281201-22381130.nc' 'SHA256' 'ee0745d8aabe0d0e379b72acb4130db865af67017fc7af1dcd91785d1f3d0f6a' 'huss_day_HadGEM2-ES_piControl_r1i1p1_21881201-21981130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_21881201-21981130.nc' 'SHA256' '696a7a70e7638dfb8719269899e32be5ddf774adeb6f37f6ac6f86a9c254e6cc' 'huss_day_HadGEM2-ES_piControl_r1i1p1_22081201-22181130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_22081201-22181130.nc' 'SHA256' 'faf9ea50c69b60a914cb0bfd0147c7e09f0eb0aced912be14ff94b29f14346c1' 'huss_day_HadGEM2-ES_piControl_r1i1p1_22181201-22281130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_22181201-22281130.nc' 'SHA256' '6ec7b75b67d9b12641acb7c745a6e39bb89e217c8c592561fc301da5a9136179' 'huss_day_HadGEM2-ES_piControl_r1i1p1_21981201-22081130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_21981201-22081130.nc' 'SHA256' '54d1b54b610550420e1496df407f5673ae186ed9113dd98273f367f7708a9e59' 'huss_day_HadGEM2-ES_piControl_r1i1p1_21781201-21881130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_21781201-21881130.nc' 'SHA256' '571e21d0463e1c3e4eda741ebd61beb4dbeeb0641c078a1a7024e44594a16a1d' 'huss_day_HadGEM2-ES_piControl_r1i1p1_21681201-21781130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_21681201-21781130.nc' 'SHA256' 'fa264c5274816181410a9f706576f8a6602899f635c21373aeb64b6e765ba1eb' 'huss_day_HadGEM2-ES_piControl_r1i1p1_21581201-21681130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_21581201-21681130.nc' 'SHA256' 'c12f80293e1bee97561dc14eeb7bb061077701faa16a6e387554e360892b9d42' 'huss_day_HadGEM2-ES_piControl_r1i1p1_21481201-21581130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_21481201-21581130.nc' 'SHA256' 'db05bc43d6723cff3ff5facaac198f762020ce8f9b527a45ae2114cba2a78b0b' 'huss_day_HadGEM2-ES_piControl_r1i1p1_20691201-20791130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_20691201-20791130.nc' 'SHA256' '1fe4e52a3be5cbd2598bf635f03a915351dc32ba6b7645b06ca16505486b11aa' 'huss_day_HadGEM2-ES_piControl_r1i1p1_20981201-21081130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_20981201-21081130.nc' 'SHA256' 'a177113b778816afee765cffd9b54430ca9a7d0ddb7bd4370c10959b72814dca' 'huss_day_HadGEM2-ES_piControl_r1i1p1_20791201-20891130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_20791201-20891130.nc' 'SHA256' '246a5347226a47fff833e825d93aefebae4c242cdb04a9b70e81c109cb1930f9' 'huss_day_HadGEM2-ES_piControl_r1i1p1_21181201-21281130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_21181201-21281130.nc' 'SHA256' 'c3745150a27996a86ae70b0ea3af20b9c480e59569d487c0c4a8712974e8ca94' 'huss_day_HadGEM2-ES_piControl_r1i1p1_20891201-20991110.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_20891201-20991110.nc' 'SHA256' '19fb77aa34f77c72f4b19e5f4f114fad08f96deedeb0b8134b8870485dc0a7e2' 'huss_day_HadGEM2-ES_piControl_r1i1p1_21081201-21181130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_21081201-21181130.nc' 'SHA256' '79256723e65c0b642eecc89454bf9d241375627344a924b40be8aa6f0b62d430' 'huss_day_HadGEM2-ES_piControl_r1i1p1_21281201-21381130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_21281201-21381130.nc' 'SHA256' 'e85c1ade66584511488624124e4ae447cee35ff89c8ef1900bb921ff1adfff07' 'huss_day_HadGEM2-ES_piControl_r1i1p1_21381201-21481130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_21381201-21481130.nc' 'SHA256' '4ce6442143351376b27c48b42ffbc0d6b44c30e3acf08a5c9c9437cda452ae28' 'huss_day_HadGEM2-ES_piControl_r1i1p1_20391201-20491130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_20391201-20491130.nc' 'SHA256' 'c2dae71e3e0a25a2cc779d40a494185d75e33d68db905e13f33d1b37b2d77708' 'huss_day_HadGEM2-ES_piControl_r1i1p1_20091201-20191130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_20091201-20191130.nc' 'SHA256' '3a1dc8c46bf2ec61bec18d22c084f9bd1a0cf6a264979b5f187c6296a83c7364' 'huss_day_HadGEM2-ES_piControl_r1i1p1_20491201-20591130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_20491201-20591130.nc' 'SHA256' '376fc922e697a969917b319aa6bae4130ad3dc0b8f4f9f62214b867f0de124e9' 'huss_day_HadGEM2-ES_piControl_r1i1p1_20291201-20391130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_20291201-20391130.nc' 'SHA256' 'ee6cc65b3538c79fbaf32679a1fed5fe11e84a9e50af914a8714044a2d8005cf' 'huss_day_HadGEM2-ES_piControl_r1i1p1_20591201-20691130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_20591201-20691130.nc' 'SHA256' 'ddfc77d17c1f1a0f1a51a00dcc99da19f9c4f0a191e340b60e7080ff733ca892' 'huss_day_HadGEM2-ES_piControl_r1i1p1_20191201-20291130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_20191201-20291130.nc' 'SHA256' '721ef45be2024e64932943c4bdb43b1c67990909a514f79fb155901d120ac37a' 'huss_day_HadGEM2-ES_piControl_r1i1p1_19991201-20091130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_19991201-20091130.nc' 'SHA256' 'f2289c597fbbe902c7ba559d1351267a235dcfdf6e33a32053df42be486c810e' 'huss_day_HadGEM2-ES_piControl_r1i1p1_19891201-19991130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_19891201-19991130.nc' 'SHA256' '459eecfbfe8bdc43c897a93c89367b50f19939c423949a839a92aa5c291ecf08' 'huss_day_HadGEM2-ES_piControl_r1i1p1_19791201-19891130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_19791201-19891130.nc' 'SHA256' 'd350e127b05e4cee351be8bd9af87bd763a31e4a5a53bdda4b7f21cdb6184cfe' 'huss_day_HadGEM2-ES_piControl_r1i1p1_19491201-19591130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_19491201-19591130.nc' 'SHA256' 'efb3358448fd9d959297cafbf40f05f619af352daa5913f71e164176d593476b' 'huss_day_HadGEM2-ES_piControl_r1i1p1_19691201-19791130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_19691201-19791130.nc' 'SHA256' '82c3ed04a103334a09cf0cb8ebe91df363c70389bbf03ef1a45d1bfa9d87fc05' 'huss_day_HadGEM2-ES_piControl_r1i1p1_19591201-19691130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_19591201-19691130.nc' 'SHA256' '3552ae5fa260caa7bf3b5490bd5c33d070fd9dd07b34c219d12b08e9e1cca1ec' 'huss_day_HadGEM2-ES_piControl_r1i1p1_19391201-19491130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_19391201-19491130.nc' 'SHA256' 'a58204c09c0bbe70fe33d52051a294e2347c184a72e867a3fba98dbfb1b13ab9' 'huss_day_HadGEM2-ES_piControl_r1i1p1_19191201-19291130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_19191201-19291130.nc' 'SHA256' '45182db561c9a429c6b6769e41bf4d8c34400de9954d5c8da057c215bf40f7d2' 'huss_day_HadGEM2-ES_piControl_r1i1p1_19291201-19391130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_19291201-19391130.nc' 'SHA256' '03331e6dff5f408f7846df204babdd735ecb0f427a4b77613ceadbc7392a527d' 'huss_day_HadGEM2-ES_piControl_r1i1p1_18791201-18891130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_18791201-18891130.nc' 'SHA256' '8a13ac3d0c0217fc0e08de6358ddc5eb621b3377c67098522059d54e71c0f5d5' 'huss_day_HadGEM2-ES_piControl_r1i1p1_18691201-18791130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_18691201-18791130.nc' 'SHA256' 'f48e3cc65c6136a02f3444791091da8d122704ff8181132074f439fcf6020f49' 'huss_day_HadGEM2-ES_piControl_r1i1p1_18891201-18991130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_18891201-18991130.nc' 'SHA256' 'a390ed8f64fdf9adb58d4373611447a00c6bc657d989dc6f61ebf1c50bc771bc' 'huss_day_HadGEM2-ES_piControl_r1i1p1_18591201-18691130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_18591201-18691130.nc' 'SHA256' '8b6d515897e309b457aaad79df4da1420a4398b8a921013d75ac89e0fa042d01' 'huss_day_HadGEM2-ES_piControl_r1i1p1_19091201-19191130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_19091201-19191130.nc' 'SHA256' 'e0806fa56ca7a9017c6ecac20f8e1707b37904ada05c1f2876fc02fb1beed083' 'huss_day_HadGEM2-ES_piControl_r1i1p1_18991201-19091130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/day/atmos/day/r1i1p1/v20110524/huss/huss_day_HadGEM2-ES_piControl_r1i1p1_18991201-19091130.nc' 'SHA256' 'd120855db238ae7294f697cef488c252f28b641f47b840bd0d78aca3a3e05428' 'huss_day_bcc-csm1-1_piControl_r1i1p1_01680101-03341231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/BCC/bcc-csm1-1/piControl/day/atmos/day/r1i1p1/v1/huss/huss_day_bcc-csm1-1_piControl_r1i1p1_01680101-03341231.nc' 'SHA256' '8821b38bd4e99bbd43fac1ebc66871222349546abebdb0cbe90e4f079dfa74e3' 'huss_day_bcc-csm1-1_piControl_r1i1p1_03350101-05001231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/BCC/bcc-csm1-1/piControl/day/atmos/day/r1i1p1/v1/huss/huss_day_bcc-csm1-1_piControl_r1i1p1_03350101-05001231.nc' 'SHA256' 'b1e2d63568d949b9f4a7fb4ee12958062284ed1c7dfb0b8c1dd922381566bd10' 'huss_day_bcc-csm1-1_piControl_r1i1p1_00010101-01671231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/BCC/bcc-csm1-1/piControl/day/atmos/day/r1i1p1/v1/huss/huss_day_bcc-csm1-1_piControl_r1i1p1_00010101-01671231.nc' 'SHA256' '132ca031df4957d5f9f62399a9b70012f0031c02dbc05dc63dd370f6a15a4341' 'huss_day_CanESM2_piControl_r1i1p1_23110101-24101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/huss/huss_day_CanESM2_piControl_r1i1p1_23110101-24101231.nc' 'SHA256' '50901c001a926b66b1f89ac858dcfc552e4a8ceb9fd44adbaff4f98008d0b872' 'huss_day_CanESM2_piControl_r1i1p1_20150101-23101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/huss/huss_day_CanESM2_piControl_r1i1p1_20150101-23101231.nc' 'SHA256' 'aaade18f153be95af2d7fd6925ad28369add012b40616f0bb8b9233069722793' 'huss_day_CanESM2_piControl_r1i1p1_25110101-26101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/huss/huss_day_CanESM2_piControl_r1i1p1_25110101-26101231.nc' 'SHA256' 'f26ece9c5792e4830a2dcc5a49bbaba299daae2b5ea1ca3e690f0c596a622314' 'huss_day_CanESM2_piControl_r1i1p1_24110101-25101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/huss/huss_day_CanESM2_piControl_r1i1p1_24110101-25101231.nc' 'SHA256' 'e14313c329b012eb3f4b2e72ee861b550656b0eec1ce0f00991eba7fbac1cb9a' 'huss_day_CanESM2_piControl_r1i1p1_26110101-27101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/huss/huss_day_CanESM2_piControl_r1i1p1_26110101-27101231.nc' 'SHA256' '90b428739d1f32f8412187d55a34764b120f1e8f710bd4a6add2fc7ab0860f8a' 'huss_day_CanESM2_piControl_r1i1p1_27110101-28101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/huss/huss_day_CanESM2_piControl_r1i1p1_27110101-28101231.nc' 'SHA256' 'ba0db89369cf8c8bb3e7abc125a6812e4be04c382a0fb3e3848462e213be2ee4' 'huss_day_CanESM2_piControl_r1i1p1_28110101-29101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/huss/huss_day_CanESM2_piControl_r1i1p1_28110101-29101231.nc' 'SHA256' '4d7812dc8ead59f0a2cd79e7e83f50c42dc2cc8a78c082012fe50ff116f519b7' 'huss_day_CanESM2_piControl_r1i1p1_30110101-31101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/huss/huss_day_CanESM2_piControl_r1i1p1_30110101-31101231.nc' 'SHA256' 'e15407a1c7f2625d0c96ee54485a395789a4dfeab10b006e8d74d5bf43de17ae' 'huss_day_CanESM2_piControl_r1i1p1_29110101-30101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/huss/huss_day_CanESM2_piControl_r1i1p1_29110101-30101231.nc' 'SHA256' '08a5ad49f860bc2dc74664c3c1267c58195f902a1984e5fe6c0b20dbe77dab2a' 'huss_day_ACCESS1-3_piControl_r1i1p1_03500101-03741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_03500101-03741231.nc' 'SHA256' 'c3bf1d35f229304db1687f900a64cda8c68616fc80251f67a5ab3e01abf0d6a7' 'huss_day_ACCESS1-3_piControl_r1i1p1_02500101-02741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_02500101-02741231.nc' 'SHA256' 'ae7931fdac25b71d696cac244ab0c1950d17feb15ee38860932d513385ce09de' 'huss_day_ACCESS1-3_piControl_r1i1p1_03000101-03241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_03000101-03241231.nc' 'SHA256' 'b850e40f2b70cc6066b701940fa9f90c9079da6a3733e35186331b042846fe58' 'huss_day_ACCESS1-3_piControl_r1i1p1_04250101-04491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_04250101-04491231.nc' 'SHA256' '3439f9df9293b6676a1ec0dc54ca99bde38f642358f40de1e18fcfcc8161a73c' 'huss_day_ACCESS1-3_piControl_r1i1p1_04000101-04241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_04000101-04241231.nc' 'SHA256' 'b769d1871d85eba4c13a2e097d55d726ee120e6135599f8b3954e91e7c494f12' 'huss_day_ACCESS1-3_piControl_r1i1p1_03750101-03991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_03750101-03991231.nc' 'SHA256' 'a6cb93a1b6e31d34933f7872ad314673453b38609ee0a2cff82196ec4d7d54ed' 'huss_day_ACCESS1-3_piControl_r1i1p1_03250101-03491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_03250101-03491231.nc' 'SHA256' '17f9f97af3aa4663747171b7f235152ad8e383060d4970556ea2a209f7dbf2e3' 'huss_day_ACCESS1-3_piControl_r1i1p1_02750101-02991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_02750101-02991231.nc' 'SHA256' 'd295c8931edf9728e23b203fa44e4619067bce29e3d200f5fb92da7dcb741c48' 'huss_day_ACCESS1-3_piControl_r1i1p1_07250101-07491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_07250101-07491231.nc' 'SHA256' 'b196d0d2ba5d35e3dfb686b7dd4de44ff748b67a17ce3ea906419cf4eeb85cf7' 'huss_day_ACCESS1-3_piControl_r1i1p1_06750101-06991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_06750101-06991231.nc' 'SHA256' 'd584422b3fa1f9503bff105b86c5ec29e6cd2e13fde11728f4a6858d857f5d51' 'huss_day_ACCESS1-3_piControl_r1i1p1_06500101-06741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_06500101-06741231.nc' 'SHA256' '7ba7b798608a776b31f3628b1f091762ea59f62b094ccf4731002263749d53ec' 'huss_day_ACCESS1-3_piControl_r1i1p1_07000101-07241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_07000101-07241231.nc' 'SHA256' 'fce5816285ff93d6bd4f4cda2120b037a054011f290eed93c7f651798da9b284' 'huss_day_ACCESS1-3_piControl_r1i1p1_05500101-05741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_05500101-05741231.nc' 'SHA256' '438226be79b01c92618f1eb6e2e3eb683c5bc96d2e894296ec1c292ba2aa124d' 'huss_day_ACCESS1-3_piControl_r1i1p1_04750101-04991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_04750101-04991231.nc' 'SHA256' 'ac40150bbf85718e466037253b32cb39d9920c13263fe091dc378a40dfb5ef8f' 'huss_day_ACCESS1-3_piControl_r1i1p1_04500101-04741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_04500101-04741231.nc' 'SHA256' '4669359e8fa56860dc9ef71be835fb889e979777fe91561be149aef8c1410e39' 'huss_day_ACCESS1-3_piControl_r1i1p1_06250101-06491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_06250101-06491231.nc' 'SHA256' '3515c83b3937989d38924905233eb9b03296e6cfbec3d7c08073eeaf2cc720c4' 'huss_day_ACCESS1-3_piControl_r1i1p1_05750101-05991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_05750101-05991231.nc' 'SHA256' '7fb2b39d166c3bbcaeafa11f48f3f3d5e61494d1b70d6a35aa640fa24b089b5f' 'huss_day_ACCESS1-3_piControl_r1i1p1_05000101-05241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_05000101-05241231.nc' 'SHA256' 'd1cd0b79fa688e3d022a747c8e8d37ddb63508d38e769e0a523b51ccf5892c13' 'huss_day_ACCESS1-3_piControl_r1i1p1_06000101-06241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_06000101-06241231.nc' 'SHA256' '49b4f1b4b92a64149d4766d80b881542e21449acd09bdd385004ffc426a26119' 'huss_day_ACCESS1-3_piControl_r1i1p1_05250101-05491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/huss/huss_day_ACCESS1-3_piControl_r1i1p1_05250101-05491231.nc' 'SHA256' '25009a4ec9afcff4c2d0b42a2871996239b57943eec9366509872f172e03bee3' 'tasmax_day_NorESM1-M_piControl_r1i1p1_07000101-07491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/tasmax/tasmax_day_NorESM1-M_piControl_r1i1p1_07000101-07491231.nc' 'SHA256' 'adebce1d6fdc15f360bc10b3b21d5a115e271a4622eace4c30f9c74f9f3b96a5' 'tasmax_day_NorESM1-M_piControl_r1i1p1_08500101-08991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/tasmax/tasmax_day_NorESM1-M_piControl_r1i1p1_08500101-08991231.nc' 'SHA256' '632fe996208a110f2da2613e26171a5bec5acb0b9d9e444ce59722f97f0c04d3' 'tasmax_day_NorESM1-M_piControl_r1i1p1_08000101-08491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/tasmax/tasmax_day_NorESM1-M_piControl_r1i1p1_08000101-08491231.nc' 'SHA256' '2c1c98a7a8588cd54e4486cb6d96bccb27f745c0fd759b7daa531c9879b5c8b5' 'tasmax_day_NorESM1-M_piControl_r1i1p1_07500101-07991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/tasmax/tasmax_day_NorESM1-M_piControl_r1i1p1_07500101-07991231.nc' 'SHA256' '66eea67c4a169f026e74339508af9aa32c6520926061d5ebb9bce3f3d337faa0' 'tasmax_day_NorESM1-M_piControl_r1i1p1_09000101-09491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/tasmax/tasmax_day_NorESM1-M_piControl_r1i1p1_09000101-09491231.nc' 'SHA256' '783e874ed3ae1648f88bede41046ae874a8713e8dd2c983a906ef2de6d7ab7a4' 'tasmax_day_NorESM1-M_piControl_r1i1p1_09500101-09991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/tasmax/tasmax_day_NorESM1-M_piControl_r1i1p1_09500101-09991231.nc' 'SHA256' '7f51b73d1bdadd51298584cb7a60e00078a74a993b866f73f89d6c835195ce1e' 'tasmax_day_NorESM1-M_piControl_r1i1p1_11510101-12001231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/tasmax/tasmax_day_NorESM1-M_piControl_r1i1p1_11510101-12001231.nc' 'SHA256' '1fb2bd4e16c5f019392ac1291061af41d95c5ecf079857dde80f8ce8a736b1e5' 'tasmax_day_NorESM1-M_piControl_r1i1p1_11500101-11501231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/tasmax/tasmax_day_NorESM1-M_piControl_r1i1p1_11500101-11501231.nc' 'SHA256' '16b1873ee8b245b9267ec7ee2bc6b74d4654fb6ec601e5b9f1655fc164a5e763' 'tasmax_day_NorESM1-M_piControl_r1i1p1_11000101-11491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/tasmax/tasmax_day_NorESM1-M_piControl_r1i1p1_11000101-11491231.nc' 'SHA256' '9ca78ba58264b6f3c96eb77e3d5466d6b4192e3c2d72d126ffe8a05735ab5ecd' 'tasmax_day_NorESM1-M_piControl_r1i1p1_10500101-10991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/tasmax/tasmax_day_NorESM1-M_piControl_r1i1p1_10500101-10991231.nc' 'SHA256' '2bc6df0aa440cd4100996217bcc13fded0472f409a254f6ceacd0636c37f0daa' 'tasmax_day_NorESM1-M_piControl_r1i1p1_10000101-10491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/NCC/NorESM1-M/piControl/day/atmos/day/r1i1p1/v20110901/tasmax/tasmax_day_NorESM1-M_piControl_r1i1p1_10000101-10491231.nc' 'SHA256' '23c19e8859cb08322da0d57457bcb9ef12bfc32ebcacc6ef6140468b0e4dc5a5' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19291201-19341130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19291201-19341130.nc' 'SHA256' '998388ed4fe61a1963373fbdbe066f613e2440c281fdb82e1da97a487a1b4366' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19191201-19241130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19191201-19241130.nc' 'SHA256' '8f9555e97da52ba05f7f29d8b2e0439ae7425ead032011f821cfd43c99b1a594' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19141201-19191130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19141201-19191130.nc' 'SHA256' 'd851246b5f01f1a1136540125d01bb315e3f17ae097290dbd7c0b637f7b900c1' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19091201-19141130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19091201-19141130.nc' 'SHA256' '79ae38382ffb6216843bbf9fcec2440b2284bc81900561b7a652b95c79b47fda' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19241201-19291130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19241201-19291130.nc' 'SHA256' 'bf21fd0c219d454bc4f3ce09dad3753d9470a4a38fbc72bf3fa3fdd7d0a1ad5a' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19041201-19091130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19041201-19091130.nc' 'SHA256' '006ac7c09a7011ef2bf108b70de265955ddbb88bea86b5137fef75f1d64e4ad8' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_18991201-19041130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_18991201-19041130.nc' 'SHA256' 'c4abeb27fe29535c69f943c79eef9078a3873cc948556273730dc574ee398e81' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_18941201-18991130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_18941201-18991130.nc' 'SHA256' '9894837e21d21e92bc223a9a11f00c042f7156777b5c344ec79649f5ac686a8a' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_18891201-18941130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_18891201-18941130.nc' 'SHA256' '0ae2b329831a823827c249c26569deedf1f4e7ced45fb736f86a7af5e25fc84a' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20691201-20741130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20691201-20741130.nc' 'SHA256' 'dfa4c3cd8b881daf43f17d9118e68ce18b1721619b86b2b3b22bc9002bd34a19' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20591201-20641130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20591201-20641130.nc' 'SHA256' '5032f86afcfe979cabf5bf4bb36e7125a67e189e6e9b74494cb8df32075179c2' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20641201-20691130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20641201-20691130.nc' 'SHA256' '44b3bd194a831855a47dc0b6791678afa9dc78ccde9a41192a4db634fdeebe62' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20541201-20591130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20541201-20591130.nc' 'SHA256' '6a683536e0370a95cf9042d5513ed2ad227d058a70cb783c4aba879241b09ea6' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_18741201-18791130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_18741201-18791130.nc' 'SHA256' '86205b89ba4ed2b8b58776aeac838ef6b068f4cbc9d0b35f09c24782c3615864' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_18691201-18741130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_18691201-18741130.nc' 'SHA256' 'a54e55323c568e37569a3630a3460768ed00357120319b62e6ff70c82c537914' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_18791201-18841130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_18791201-18841130.nc' 'SHA256' 'a2efb765859a87a21b106fe9eee6b163e18de3ac9e0fe0960fb5bd077b8e03a0' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_18841201-18891130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_18841201-18891130.nc' 'SHA256' '377b88a7a49793d80792d7d6ccde2628cbbe7e3d4f240e32f15da19f865187b5' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_18641201-18691130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_18641201-18691130.nc' 'SHA256' '1eea0a65eeb4e4664c2de1e3cb44ac1982493befa80f06a408f80f53f65b370f' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20141201-20191130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20141201-20191130.nc' 'SHA256' '915b92e8415ad650c9c9b2ebf22f0cfeb735cceeb99b1a4d32de50adcce80389' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20191201-20241130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20191201-20241130.nc' 'SHA256' '71c33164e44f6a458da87c024e5533d0091ae716020ba3952993bee06ad1432e' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20091201-20141130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20091201-20141130.nc' 'SHA256' 'cb378e012df90127296fec09097b00087feb79958bb541f84c694b44a06d8574' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20041201-20091130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20041201-20091130.nc' 'SHA256' '77598cbea0af724d367f062af9b7b835e9558987a45cd4f1bbec519ac23bb258' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19991201-20041130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19991201-20041130.nc' 'SHA256' '57350f4cb68e972a462e55f3533148b9bd4147b23bcdc9fbf87251248355d965' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20391201-20441130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20391201-20441130.nc' 'SHA256' 'b084913546f2521ebae1768c580d668fd55900e79a3a79576a65b72133942548' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20341201-20391130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20341201-20391130.nc' 'SHA256' '015d4990c903e3a3471a7485f7f2a13219b1dd88b3c16683d9205bbcb6fca188' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20441201-20491130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20441201-20491130.nc' 'SHA256' 'b729ab9f380266d2901c17e3aac15dfdb03c6a257ca201e739f1741626f47818' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20491201-20541130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20491201-20541130.nc' 'SHA256' '64581dd872d7a87bc7e02b3cb6e20e4174fedf03a9606c0cba02457c4a58c7ef' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20291201-20341130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20291201-20341130.nc' 'SHA256' '2a14b268836c96b9a10d2186f5190ae4b3f0e5c09eecdcd096eb10da4c85f874' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20241201-20291130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20241201-20291130.nc' 'SHA256' '15a88588dffe0e62573ce9da092f5200c69133894b76b525004d0991c94a1ba5' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19391201-19441130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19391201-19441130.nc' 'SHA256' 'd6fb8eef1a1489f7fddee8fe12314523c3bcbd37efcaa0a965d230451f2a81d5' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19491201-19541130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19491201-19541130.nc' 'SHA256' '762b8b872f70dffa105ca69d9077234814d7d416c95c52e0a85f6be2909e4f81' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19341201-19391130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19341201-19391130.nc' 'SHA256' 'e527771dcbcf47041e90d2bd546a41b3b72b67a33a85e086e4ff3cfe588eea94' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19441201-19491130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19441201-19491130.nc' 'SHA256' 'dc76f2d7f1c3ca5e478e6d296fb072db1d47b3abd1964dec96c10131410efa4d' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20741201-20791130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20741201-20791130.nc' 'SHA256' '8c259d14a4000207cf8052d64372d16a51b78e4ad664894482dc13730005844a' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20891201-20941130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20891201-20941130.nc' 'SHA256' '4dce9a831d049e788bf786ebdcbc6639570c15b209d267bde9ab9fced928eed9' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20841201-20891130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20841201-20891130.nc' 'SHA256' 'cfeec4b0dc99180731b9f4a9c521e144fb69802dd28831f29cc61f1f6925df16' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20791201-20841130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20791201-20841130.nc' 'SHA256' '1e8a3d2c15dcfc04ea94494aab8ebb03ad382079e1d6703150b8896c39f2f8a5' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20941201-20991130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20941201-20991130.nc' 'SHA256' '89e965eddb35b55e74732c3bc2b74c77476af17e87b03b47ccb42623c335214b' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19841201-19891130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19841201-19891130.nc' 'SHA256' '039708e6bc5ca4acddde2e25dc054530ed91242ff738c0d62f1fad61a7a94cdf' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19941201-19991130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19941201-19991130.nc' 'SHA256' 'c4e240dfc8ed0845b515c788b2e9d2eb753578e252a5e7602ada31fbc68161b9' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19891201-19941130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19891201-19941130.nc' 'SHA256' '513f174fd8699f9393ea56bf54fb6eeeedafa107efdcfee9de87ecaece444a70' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19791201-19841130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19791201-19841130.nc' 'SHA256' 'bb30a088d10e3fac60935ad1d548f72434b6ac2897e12f2f3c30dfa8d9000d91' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_18591201-18641130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_18591201-18641130.nc' 'SHA256' '19fbf8f31b89e5487f79f4d75df9cbc129258943a9dd2a84444885b55cdd8faf' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_20991201-20991230.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_20991201-20991230.nc' 'SHA256' '913c2f9849e9e2b22e36b8a107142f44cf5f52df2cc725de4bd669da935893d3' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19741201-19791130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19741201-19791130.nc' 'SHA256' '61390dab845f45602651064d9e3a493df512033bdade1cf0da48dfb3a6ee1103' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19691201-19741130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19691201-19741130.nc' 'SHA256' 'e171b7bb61f42ed7538f41a029b4d9f3158ab1e0ac7686fc8914a55c1be193ee' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19641201-19691130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19641201-19691130.nc' 'SHA256' '12c3c8c674471048f44284a408960e7b6e659cbbe556b7069e313896ddd6058a' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19591201-19641130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19591201-19641130.nc' 'SHA256' '568219c058dfcfef7d424771d2e2dec03e3a056e9838cadfa176a73dae292242' 'tasmax_day_HadGEM2-CC_piControl_r1i1p1_19541201-19591130.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-CC/piControl/day/atmos/day/r1i1p1/v20111115/tasmax/tasmax_day_HadGEM2-CC_piControl_r1i1p1_19541201-19591130.nc' 'SHA256' 'e36f4ba043ff43cdbd1be5f7dc9420c5458c7b6d69bddd5d5abc458bee0a15b8' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_07750101-07991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_07750101-07991231.nc' 'SHA256' '592d0907d28c338208bd3d52cbdb6d3e2916914bf6409e0561f6575bc4f3f24a' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_07500101-07741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_07500101-07741231.nc' 'SHA256' 'd8b004639e9e4de7e70ebd1b39ee02482607cf9ed67776016b4b1fb80824d745' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_07000101-07241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_07000101-07241231.nc' 'SHA256' '463486c7970513fdc776d8a35f28e8397c6d081ac5a127bff3971b021772e331' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_07250101-07491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_07250101-07491231.nc' 'SHA256' 'c385d935a6e2343f8155894d7491b4869af6d3b56aef079fab1eea7717db4f41' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_04500101-04741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_04500101-04741231.nc' 'SHA256' '770b839cb2b40dee3a1b6670e2def0fd327cbb728d91b2f52c7cb3dbdedbb5fc' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_04250101-04491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_04250101-04491231.nc' 'SHA256' 'c881172d77bb689cac8c42a1512b989072790aea29240c869bc507e8e3c1fbdc' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_04000101-04241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_04000101-04241231.nc' 'SHA256' '050b73e6df07c41f8d55a525b3edda9cb877cf3248e5ac207809f8b778ed7291' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_03750101-03991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_03750101-03991231.nc' 'SHA256' '5f97f951ccacc38bffea993c938e2dafcffd12deae3811636a09bc2977af2d4e' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_03000101-03241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_03000101-03241231.nc' 'SHA256' '3644cd3fe1035c3417a83ad4f276edfb75529adc6e9861e9b633c7620aaafca1' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_03500101-03741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_03500101-03741231.nc' 'SHA256' '47fded0f891dd8a27df1d1313125b1d9f2bb9cd7519273c2f18c46e6eb960d79' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_03250101-03491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_03250101-03491231.nc' 'SHA256' '8ad5ff97c92e78317c68aa6495d1a7357e02928258e46e763df5a7321fd893ac' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_05750101-05991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_05750101-05991231.nc' 'SHA256' '510a0d36323efd6dc723fd9d78e71c36ab6517220d937ac67ad4939e345a7969' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_05500101-05741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_05500101-05741231.nc' 'SHA256' '6f32e477df7aa27947d8aee1571f0b136a8a1b0fc60bcac2b90de2b638c61fc9' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_06500101-06741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_06500101-06741231.nc' 'SHA256' 'b65676e8ebe72da594d52742afb9b61848e816a24c1e58a4e5b93cbfd7bb8325' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_06250101-06491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_06250101-06491231.nc' 'SHA256' 'f4cd2bfbacba0fd69cb52682c3a710339c0d9b18338fe080c2ce597d2449b64d' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_05250101-05491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_05250101-05491231.nc' 'SHA256' 'dae5e2c4a9f0e9933447117c2995551becb1006a90167223ab349607b81435c1' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_05000101-05241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_05000101-05241231.nc' 'SHA256' '287eb9d00bc05871964a2855a54061662f0aa145700a5b3a9e8b954e8f45c182' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_04750101-04991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_04750101-04991231.nc' 'SHA256' '470bdd7e469f99198b557ad8b921224b31977a0c6b4f9a0c1a3d55647f663877' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_06750101-06991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_06750101-06991231.nc' 'SHA256' '6a3032e6a11bb24e4eae556f34c4998648f6219c4d6724519a08c1ca71a62d92' 'tasmax_day_ACCESS1-0_piControl_r1i1p1_06000101-06241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-0/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-0_piControl_r1i1p1_06000101-06241231.nc' 'SHA256' '495849f5d77736e542326b015e774859b95e7523e99cc28abc7900bb5eff7ac5' 'tasmax_day_bcc-csm1-1_piControl_r1i1p1_03350101-05001231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/BCC/bcc-csm1-1/piControl/day/atmos/day/r1i1p1/v1/tasmax/tasmax_day_bcc-csm1-1_piControl_r1i1p1_03350101-05001231.nc' 'SHA256' '741fca718b212f2c94253a00ad078f7647732ee038b57d31b8d0a64b449be261' 'tasmax_day_bcc-csm1-1_piControl_r1i1p1_01680101-03341231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/BCC/bcc-csm1-1/piControl/day/atmos/day/r1i1p1/v1/tasmax/tasmax_day_bcc-csm1-1_piControl_r1i1p1_01680101-03341231.nc' 'SHA256' '67d830222b8a71a48813b9d607c4fa8e0458db9bebee6b4acd3dcb3b097e4018' 'tasmax_day_bcc-csm1-1_piControl_r1i1p1_00010101-01671231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/BCC/bcc-csm1-1/piControl/day/atmos/day/r1i1p1/v1/tasmax/tasmax_day_bcc-csm1-1_piControl_r1i1p1_00010101-01671231.nc' 'SHA256' 'c87327b434dbbf604a5e8da433d9411f23a350be8dc1986960ccc5f543f5b2fa' 'tasmax_day_CanESM2_piControl_r1i1p1_23110101-24101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/tasmax/tasmax_day_CanESM2_piControl_r1i1p1_23110101-24101231.nc' 'SHA256' '29f8cb336e5f361b4adc3de06c3369d6b4cf91199e3fd104f9e05cbe873ab898' 'tasmax_day_CanESM2_piControl_r1i1p1_20150101-23101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/tasmax/tasmax_day_CanESM2_piControl_r1i1p1_20150101-23101231.nc' 'SHA256' '577f5a4199fb363b67b6dabbff60196ec036ed781ef5cc47178e00f9433f6946' 'tasmax_day_CanESM2_piControl_r1i1p1_30110101-31101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/tasmax/tasmax_day_CanESM2_piControl_r1i1p1_30110101-31101231.nc' 'SHA256' '143514b4ae409b42fc7f40a2144e69f99a4324c4bb2dade5e357420de34ef173' 'tasmax_day_CanESM2_piControl_r1i1p1_29110101-30101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/tasmax/tasmax_day_CanESM2_piControl_r1i1p1_29110101-30101231.nc' 'SHA256' '83e28f013f1b2832ee71850fd13ef970c3d678e98a513b737a09cea3f54613e8' 'tasmax_day_CanESM2_piControl_r1i1p1_27110101-28101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/tasmax/tasmax_day_CanESM2_piControl_r1i1p1_27110101-28101231.nc' 'SHA256' 'd125638110230c8c1e91571da59918890dabebe20c1d3ca73db578f71f659608' 'tasmax_day_CanESM2_piControl_r1i1p1_26110101-27101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/tasmax/tasmax_day_CanESM2_piControl_r1i1p1_26110101-27101231.nc' 'SHA256' '6278a1f93ff9797b8ed39254d31ac5d73aa80a59b9ef20cdd01c6395f353e5e0' 'tasmax_day_CanESM2_piControl_r1i1p1_25110101-26101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/tasmax/tasmax_day_CanESM2_piControl_r1i1p1_25110101-26101231.nc' 'SHA256' 'e1eea8a16da67ab1eb0e4d3382755359c0c5ea9b1b1162d992284426d742848c' 'tasmax_day_CanESM2_piControl_r1i1p1_24110101-25101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/tasmax/tasmax_day_CanESM2_piControl_r1i1p1_24110101-25101231.nc' 'SHA256' 'ae8613d1012bc6aba7b96c410f2103df2bf9200ae435a906c23b2e20020afe7f' 'tasmax_day_CanESM2_piControl_r1i1p1_28110101-29101231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CCCma/CanESM2/piControl/day/atmos/day/r1i1p1/v20120410/tasmax/tasmax_day_CanESM2_piControl_r1i1p1_28110101-29101231.nc' 'SHA256' '5f64fb2bc0d02b97b3d3b48e86ff65050ec089d2ea79a1832961eff90eb00b9f' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_06250101-06491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_06250101-06491231.nc' 'SHA256' '943366b765ad05920154d4ab8c12a3e6eb5f95bc86e37b2d1d52916621033c61' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_05500101-05741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_05500101-05741231.nc' 'SHA256' '871ae236aada051b5beddf8c88517bbbee1b20fce8ae4a7dcdc31695debd42b1' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_05250101-05491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_05250101-05491231.nc' 'SHA256' '2562955f2a3b3c10a6d2a79bee4de5d32f3b5d2f219378d4388aeccca7dc58e7' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_06000101-06241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_06000101-06241231.nc' 'SHA256' '95744c765d340557bfa9dec1d5c9839b23389140ca3ea50d9d3cf8112fe855d4' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_05750101-05991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_05750101-05991231.nc' 'SHA256' '6fb2ec9ab639cc630a9e700ba9e94eb2356903f006ace942ed7b6cb1a1fdb477' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_05000101-05241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_05000101-05241231.nc' 'SHA256' 'ea7f7af99727b8dc69bb20a986d46a7cca698e21fb71b334e56ae7be3c7cf2ad' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_04500101-04741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_04500101-04741231.nc' 'SHA256' 'a3c9c8b709e1f1e247ecf81739ae1ec88bb4867b3880865c207954d162013b96' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_04250101-04491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_04250101-04491231.nc' 'SHA256' 'ce9676d232ad4b35b6238ce17a7e2740b17138e66c3b549111184140c38e18e9' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_04750101-04991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_04750101-04991231.nc' 'SHA256' '1bb1f6a8dc87230d1a7eaf636911d247011c9b74346ca2e0453f1d0500994f5a' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_02500101-02741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_02500101-02741231.nc' 'SHA256' 'c62297e5e64501b451a027279b5b04b2c4fed599bc30231f26cb0be91d0184f8' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_02750101-02991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_02750101-02991231.nc' 'SHA256' '21c3a5ac2190412a5aeca0b266d18091708e0119cefa0e6f17cf3ca6437c6d57' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_07000101-07241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_07000101-07241231.nc' 'SHA256' 'fdbeda910ea5798108e5d4ef0c50e02d004f41b4364ccb0bd463e1ee16423951' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_06750101-06991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_06750101-06991231.nc' 'SHA256' '0afee8203fc97f88468d150178567732e58fe40bb46fadb81fc70ad93e15d846' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_07250101-07491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_07250101-07491231.nc' 'SHA256' '2ce0322881190de7cc61961412e88fdaea7fbaafb14257f07a4da0fd3ae80ec8' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_06500101-06741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_06500101-06741231.nc' 'SHA256' '6f681e5b50a65c23e78b7e2b902a6e1813e42d21ead6afa30ade06c2eaef0d59' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_03500101-03741231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_03500101-03741231.nc' 'SHA256' '84dd5f37ea6797cdb64e72fd61efd77349e0d4757102c56e75b530da16833f22' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_03250101-03491231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_03250101-03491231.nc' 'SHA256' '816632938f8945c94034cc3414382c697b55133236d69ec8c0c172eb0c504681' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_03000101-03241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_03000101-03241231.nc' 'SHA256' 'a37b510b84c7a0c0b5e3d1aa7b50a0efa98b726e48d90b6a5e808fdfc7d10ddf' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_04000101-04241231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_04000101-04241231.nc' 'SHA256' 'f3db1559ce3a665289039517e1943eaf1fb2e521fad38fe7afd18334bbe03a62' 'tasmax_day_ACCESS1-3_piControl_r1i1p1_03750101-03991231.nc' 'http://esgf-data1.ceda.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/CSIRO-BOM/ACCESS1-3/piControl/day/atmos/day/r1i1p1/v4/tasmax/tasmax_day_ACCESS1-3_piControl_r1i1p1_03750101-03991231.nc' 'SHA256' '34915b071b229e4b1ced835d3f515f73ad1a2cc53044296d3f9e226fdfcafc2b' EOF--dataset.file.url.chksum_type.chksum )" # ESG_HOME should point to the directory containing ESG credentials. # Default is $HOME/.esg ESG_HOME=${ESG_HOME:-$HOME/.esg} [[ -d $ESG_HOME ]] || mkdir -p $ESG_HOME ESG_CREDENTIALS=${X509_USER_PROXY:-$ESG_HOME/credentials.pem} ESG_CERT_DIR=${X509_CERT_DIR:-$ESG_HOME/certificates} MYPROXY_STATUS=$HOME/.MyProxyLogon TRUSTSTORE=$ESG_HOME/esg-truststore.ts COOKIE_JAR=$ESG_HOME/cookies MYPROXY_GETCERT=$ESG_HOME/getcert.jar CERT_EXPIRATION_WARNING=$((60 * 60 * 8)) #Eight hour (in seconds) WGET_TRUSTED_CERTIFICATES=$ESG_HOME/certificates # Configure checking of server SSL certificates. # Disabling server certificate checking can resolve problems with myproxy # servers being out of sync with datanodes. CHECK_SERVER_CERT=${CHECK_SERVER_CERT:-Yes} check_os() { local os_name=$(uname | awk '{print $1}') case ${os_name} in Linux) ((debug)) && echo "Linux operating system detected" LINUX=1 MACOSX=0 ;; Darwin) ((debug)) && echo "Mac OS X operating system detected" LINUX=0 MACOSX=1 ;; *) echo "Unrecognized OS [${os_name}]" return 1 ;; esac return 0 } #taken from http://stackoverflow.com/a/4025065/1182464 vercomp () { if [[ $1 == $2 ]] then return 0 fi local IFS=. local i ver1=($1) ver2=($2) # fill empty fields in ver1 with zeros for ((i=${#ver1[@]}; i<${#ver2[@]}; i++)) do ver1[i]=0 done for ((i=0; i<${#ver1[@]}; i++)) do if [[ -z ${ver2[i]} ]] then # fill empty fields in ver2 with zeros ver2[i]=0 fi if ((10#${ver1[i]} > 10#${ver2[i]})) then return 1 fi if ((10#${ver1[i]} < 10#${ver2[i]})) then return 2 fi done return 0 } check_commands() { #check wget local MIN_WGET_VERSION=1.10 vercomp $(wget -V | sed -n 's/^.* \([1-9]\.[0-9.]*\) .*$/\1/p') $MIN_WGET_VERSION case $? in 2) #lower wget -V echo echo "** ERROR: wget version is too old. Use version $MIN_WGET_VERSION or greater. **" >&2 exit 1 esac } usage() { echo "Usage: $(basename $0) [flags] [openid] [username]" echo "Flags is one of:" sed -n '/^while getopts/,/^done/ s/^\([^)]*\)[^#]*#\(.*$\)/\1 \2/p' $0 echo echo "This command stores the states of the downloads in .$0.status" echo "For more information check the website: http://esgf.org/wiki/ESGF_wget" } #defaults debug=0 clean_work=1 #parse flags while getopts ':c:pfF:o:w:isuUndvqhHI:T' OPT; do case $OPT in H) skip_security=1 && use_http_sec=1;; # : Authenticate with OpenID (username,) and password, without the need for a certificate. T) force_TLSv1=1;; # : Forces wget to use TLSv1. c) ESG_CREDENTIALS="$OPTARG";; #<cert> : use this certificate for authentication. f) force=1;; # : force certificate retrieval (defaults to only once per day); for certificate-less authentication (see -H option), this flag will force login and refresh cookies. F) input_file="$OPTARG";; #<file> : read input from file instead of the embedded one (use - to read from stdin) o) openId="$OPTARG";; #<openid>: Provide OpenID instead of interactively asking for it. I) username_supplied="$OPTARG";; #<user_id> : Explicitly set user ID. By default, the user ID is extracted from the last component of the OpenID URL. Use this flag to override this behaviour. w) output="$OPTARG";; #<file> : Write embedded files into a file and exit i) insecure=1;; # : set insecure mode, i.e. don't check server certificate s) skip_security=1 && use_cookies_for_http_basic_auth_start=1;; # : completely skip security. It will only work if the accessed data is not secured at all. -- works only if the accessed data is unsecured or a certificate exists or cookies are saved (latter applies to -H option only). u) update=1;; # : Issue the search again and see if something has changed. U) update_files=1;; # : Update files from server overwriting local ones (detect with -u) n) dry_run=1;; # : Don't download any files, just report. p) clean_work=0;; # : preserve data that failed checksum d) verbose=1;debug=1;; # : display debug information v) verbose=1;; # : be more verbose q) quiet=1;; # : be less verbose h) usage && exit 0;; # : displays this help \?) echo "Unknown option '$OPTARG'" >&2 && usage && exit 1;; \:) echo "Missing parameter for flag '$OPTARG'" >&2 && usage && exit 1;; esac done shift $(($OPTIND - 1)) #setup input as desired by the user if [[ "$input_file" ]]; then if [[ "$input_file" == '-' ]]; then download_files="$(cat)" #read from STDIN exec 0</dev/tty #reopen STDIN as cat closed it else download_files="$(cat $input_file)" #read from file fi fi #if -w (output) was selected write file and finish: if [[ "$output" ]]; then #check the file if [[ -f "$output" ]]; then read -p "Overwrite existing file $output? (y/N) " answ case $answ in y|Y|yes|Yes);; *) echo "Aborting then..."; exit 0;; esac fi echo "$download_files">$output exit fi #assure we have everything we need check_commands if ((update)); then echo "Checking the server for changes..." new_wget="$(wget "$search_url" -qO -)" compare_cmd="grep -vE '^(# Generated by|# Search URL|search_url=)'" if diff -q <(eval $compare_cmd<<<"$new_wget") <(eval $compare_cmd $0) >/dev/null; then echo "No changes detected." else echo "Wget was changed. Dowloading. (old renamed to $0.old.#N)" counter=0 while [[ -f $0.old.$counter ]]; do ((counter++)); done mv $0 $0.old.$counter echo "$new_wget" > $0 fi exit 0 fi ############################################################################## check_java() { if ! type java >& /dev/null; then echo "Java is required for retrieving the certificate and couldn't be found." exit 1 fi jversion=($(jversion=$(java -version 2>&1 | awk '/version/ {gsub("\"","");print $3}'); echo ${jversion//./ })) mVer=${jversion[1]} if ((mVer<5)); then echo "Java version 1.5+ is required for retrieving the certificate." >&2 echo "Current version seems older: $(java -version | head -n1) " >&2 exit 1 fi } proxy_to_java() { local proxy_user proxy_pass proxy_server proxy_port eval $(sed 's#^\(https\?://\)\?\(\([^:@]*\)\(:\([^@]*\)\)\?@\)\?\([^:/]*\)\(:\([0-9]*\)\)\?.*#proxy_user=\3;proxy_pass=\5;proxy_server=\6;proxy_port=\8#'<<<$http_proxy) local JAVA_PROXY= [[ "$proxy_server" ]] && JAVA_PROXY=$JAVA_PROXY" -Dhttp.proxyHost=$proxy_server" [[ "$proxy_port" ]] && JAVA_PROXY=$JAVA_PROXY" -Dhttp.proxyPort=$proxy_port" eval $(sed 's#^\(https\?://\)\?\(\([^:@]*\)\(:\([^@]*\)\)\?@\)\?\([^:/]*\)\(:\([0-9]*\)\)\?.*#proxy_user=\3;proxy_pass=\5;proxy_server=\6;proxy_port=\8#'<<<$https_proxy) [[ "$proxy_server" ]] && JAVA_PROXY=$JAVA_PROXY" -Dhttps.proxyHost=$proxy_server" [[ "$proxy_port" ]] && JAVA_PROXY=$JAVA_PROXY" -Dhttps.proxyPort=$proxy_port" echo "$JAVA_PROXY" } # get certificates from github get_certificates() { # don't if this was already done today [[ -z $force && "$(find $ESG_CERT_DIR -type d -mtime -1 2>/dev/null)" ]] && return 0 echo -n "Retrieving Federation Certificates..." >&2 if ! wget --no-check-certificate https://raw.githubusercontent.com/ESGF/esgf-dist/master/installer/certs/esg_trusted_certificates.tar -O - -q | tar x -C $ESG_HOME; then #certificates tarred into esg_trusted_certificates. (if it breaks, let the user know why wget --no-check-certificate https://raw.githubusercontent.com/ESGF/esgf-dist/master/installer/certs/esg_trusted_certificates.tar echo "Could't update certs!" >&2 return 1 else #if here everythng went fine. Replace old cert with this ones [[ -d $ESG_CERT_DIR ]] && rm -r $ESG_CERT_DIR || mkdir -p $(dirname $ESG_CERT_DIR) mv $ESG_HOME/esg_trusted_certificates $ESG_CERT_DIR touch $ESG_CERT_DIR echo "done!" >&2 fi } #get truststore from github get_truststore() { # don't if this was already done today [[ -z $force && "$(find $TRUSTSTORE -type f -mtime -1 2>/dev/null)" ]] && return 0 echo -n "Retrieving Federation Truststore..." >&2 if ! wget --no-check-certificate https://raw.githubusercontent.com/ESGF/esgf-dist/master/installer/certs/esg-truststore.ts -O $TRUSTSTORE -q ; then #certificates tarred into esg_trusted_certificates. (if it breaks, let the user know why wget --no-check-certificate https://raw.githubusercontent.com/ESGF/esgf-dist/master/installer/certs/esg-truststore.ts -O $TRUSTSTORE echo "Could't update truststore!" >&2 return 1 else touch $TRUSTSTORE fi echo "done!" >&2 } # Retrieve ESG credentials unset pass get_credentials() { check_java #get all certificates get_certificates #get truststore get_truststore if [[ -z "$(find $MYPROXY_GETCERT -type f -mtime -1 2>/dev/null)" ]]; then echo -n "(Downloading $MYPROXY_GETCERT... " mkdir -p $(dirname $MYPROXY_GETCERT) if wget -q --no-check-certificate https://raw.githubusercontent.com/ESGF/esgf-dist/master/installer/certs/getcert.jar -O $MYPROXY_GETCERT;then echo 'done)' touch $MYPROXY_GETCERT else echo 'failed)' fi fi #if the user already defined one, use it if [[ -z $openId ]]; then #try to parse the last valid value if any [[ -f "$MYPROXY_STATUS" ]] && openId=$(awk -F= '/^OpenID/ {gsub("\\\\", ""); print $2}' $MYPROXY_STATUS) if [[ -z $openId ]]; then #no OpenID, we need to ask the user echo -n "Please give your OpenID (Example: https://myserver/example/username) ? " else #Allow the user to change it if desired echo -n "Please give your OpenID (hit ENTER to accept default: $openId)? " fi read -e [[ "$REPLY" ]] && openId="$REPLY" else ((verbose)) && echo "Using user defined OpenID $openId (to change use -o <open_id>)" fi if grep -q ceda.ac.uk <<<$openId; then username=${openId##*/} echo -n "Please give your username if different [$username]: " read -e [[ "$REPLY" ]] && username="$REPLY" fi #get password [[ ! "$pass" ]] && read -sp "MyProxy Password? " pass local args= [[ "$openId" ]] && args=$args" --oid $openId" [[ "$pass" ]] && args=$args" -P $pass" [[ "$username" ]] && args=$args" -l $username" echo -n $'\nRetrieving Credentials...' >&2 if ! java $(proxy_to_java) -Djavax.net.ssl.trustStore=$TRUSTSTORE -Djavax.net.ssl.trustStorePassword=changeit -jar $MYPROXY_GETCERT $args --output $ESG_CREDENTIALS ; then echo "Certificate could not be retrieved" exit 1 fi echo "done!" >&2 } # check the certificate validity check_cert() { if [[ ! -f "$ESG_CERT" || $force ]]; then #not there, just get it get_credentials elif which openssl &>/dev/null; then #check openssl and certificate if ! openssl x509 -checkend $CERT_EXPIRATION_WARNING -noout -in $ESG_CERT 2>/dev/null; then echo "The certificate expires in less than $((CERT_EXPIRATION_WARNING / 60 / 60)) hour(s). Renewing..." get_credentials else #ok, certificate is fine return 0 fi fi } # # Detect ESG credentials # find_credentials() { #is X509_USER_PROXY or $HOME/.esg/credential.pem if [[ -f "$ESG_CREDENTIALS" ]]; then # file found, proceed. ESG_CERT="$ESG_CREDENTIALS" ESG_KEY="$ESG_CREDENTIALS" elif [[ -f "$X509_USER_CERT" && -f "$X509_USER_KEY" ]]; then # second try, use these certificates. ESG_CERT="$X509_USER_CERT" ESG_KEY="$X509_USER_KEY" else # If credentials are not present, just point to where they should go echo "No ESG Credentials found in $ESG_CREDENTIALS" >&2 ESG_CERT="$ESG_CREDENTIALS" ESG_KEY="$ESG_CREDENTIALS" #they will be retrieved later one fi #chek openssl and certificate if (which openssl &>/dev/null); then if ( openssl version | grep 'OpenSSL 1\.0' ); then echo '** WARNING: ESGF Host certificate checking might not be compatible with OpenSSL 1.0+' fi check_cert || { (($?==1)); exit 1; } fi if [[ $CHECK_SERVER_CERT == "Yes" ]]; then [[ -d "$ESG_CERT_DIR" ]] || { echo "CA certs not found. Aborting."; exit 1; } PKI_WGET_OPTS="--ca-directory=$ESG_CERT_DIR" fi #some wget version complain if there's no file present [[ -f $COOKIE_JAR ]] || touch $COOKIE_JAR PKI_WGET_OPTS="$PKI_WGET_OPTS --certificate=$ESG_CERT --private-key=$ESG_KEY --save-cookies=$COOKIE_JAR --load-cookies=$COOKIE_JAR --ca-certificate=$ESG_CERT" } check_chksum() { local file="$1" local chk_type=$2 local chk_value=$3 local local_chksum=Unknown case $chk_type in md5) local_chksum=$(md5sum_ $file | cut -f1 -d" ");; sha256) local_chksum=$(sha256sum $file|awk '{print $1}'|cut -d ' ' -f1);; *) echo "Can't verify checksum." && return 0;; esac #verify ((debug)) && echo "local:$local_chksum vs remote:$chk_value" >&2 echo $local_chksum } #Our own md5sum function call that takes into account machines that don't have md5sum but do have md5 (i.e. mac os x) md5sum_() { hash -r if type md5sum >& /dev/null; then echo $(md5sum $@) else echo $(md5 $@ | sed -n 's/MD5[ ]*\(.*\)[^=]*=[ ]*\(.*$\)/\2 \1/p') fi } get_mod_time_() { if ((LINUX)); then #on linux modtime is stat -c %Y <file> echo "$(stat -c %Y $@)" elif ((MACOSX)); then #on a mac modtime is stat -f %m <file> echo "$(stat -f %m $@)" fi return 0; } remove_from_cache() { local entry="$1" local tmp_file="$(grep -ve "^$entry" "$CACHE_FILE")" echo "$tmp_file" > "$CACHE_FILE" unset cached } #Download data from node using cookies and not certificates. download_http_sec() { #The data to be downloaded. data=" $url" filename="$file" #Wget args. if ((insecure)) then wget_args=" --no-check-certificate --cookies=on --keep-session-cookies --save-cookies $COOKIES_FOLDER/wcookies.txt " else wget_args=" --ca-directory=$WGET_TRUSTED_CERTIFICATES --cookies=on --keep-session-cookies --save-cookies $COOKIES_FOLDER/wcookies.txt " fi if ((use_cookies_for_http_basic_auth_start)) || ((use_cookies_for_http_basic_auth)) then wget_args=" $wget_args"" --load-cookies $COOKIES_FOLDER/wcookies.txt" fi if((force_TLSv1)) then wget_args=" $wget_args"" --secure-protocol=TLSv1 " fi if [[ ! -z "$ESGF_WGET_OPTS" ]] then wget_args="$wget_args $ESGF_WGET_OPTS" fi #use cookies for the next downloads use_cookies_for_http_basic_auth=1; #Debug message. if ((debug)) then echo -e "\nExecuting:\n" echo -e "wget $wget_args $data\n" fi #Try to download the data. command="wget $wget_args $data" http_resp=$(eval $command 2>&1) cmd_exit_status="$?" if ((debug)) then echo -e "\nHTTP response:\n $http_resp\n" fi #Extract orp service from url ? #Evaluate response. #redirects=$(echo "$http_resp" | egrep -c ' 302 ') #(( "$redirects" == 1 )) && if echo "$http_resp" | grep -q "/esg-orp/" then urls=$(echo "$http_resp" | egrep -o 'https://[^ ]+' | cut -d'/' -f 3) orp_service=$(echo "$urls" | tr '\n' ' ' | cut -d' ' -f 2) #Use cookies for transaction with orp. wget_args=" $wget_args"" --load-cookies $COOKIES_FOLDER/wcookies.txt" #Download data using either http basic auth or http login form. if [[ "$openid_c" == */openid/ || "$openid_c" == */openid ]] then download_http_sec_open_id else download_http_sec_decide_service fi else if echo "$http_resp" | grep -q "401 Unauthorized" \ || echo "$http_resp" | grep -q "403: Forbidden" \ || echo "$http_resp" | grep -q "Connection timed out." \ || echo "$http_resp" | grep -q "no-check-certificate" \ || (( $cmd_exit_status != 0 )) then echo "ERROR : http request to OpenID Relying Party service failed." failed=1 fi fi } #Function that decides which implementaion of idp to use. download_http_sec_decide_service() { #find claimed id pos=$(echo "$openid_c" | egrep -o '/' | wc -l) username_c=$(echo "$openid_c" | cut -d'/' -f "$(($pos + 1))") esgf_uri=$(echo "$openid_c" | egrep -o '/esgf-idp/openid/') host=$(echo "$openid_c" | cut -d'/' -f 3) #test ceda first. if [[ -z "$esgf_uri" ]] then openid_c_tmp="https://""$host""/openid/" else openid_c_tmp="https://""$host""/esgf-idp/openid/" fi command="wget "$openid_c_tmp" --no-check-certificate ${force_TLSv1:+--secure-protocol=TLSv1} -O-" if [[ ! -z "$ESGF_WGET_OPTS" ]] then command="$command $ESGF_WGET_OPTS" fi #Debug message. if ((debug)) then echo -e "\nExecuting:\n" echo -e "$command\n" fi #Execution of command. http_resp=$(eval $command 2>&1) cmd_exit_status="$?" if ((debug)) then echo -e "\nHTTP response:\n $http_resp\n" fi if echo "$http_resp" | grep -q "[application/xrds+xml]" \ && echo "$http_resp" | grep -q "200 OK" \ && (( cmd_exit_status == 0 )) then openid_c=$openid_c_tmp download_http_sec_open_id else if [[ -z "$esgf_uri" ]] then echo "ERROR : HTTP request to OpenID Relying Party service failed." failed=1 else download_http_sec_cl_id fi fi } download_http_sec_retry() { echo -e "\nRetrying....\n" #Retry in case that last redirect did not work, this happens with older version of wget. command="wget $wget_args $data" #Debug message. if ((debug)) then echo -e "Executing:\n" echo -e "$command\n" fi http_resp=$(eval $command 2>&1) cmd_exit_status="$?" if ((debug)) then echo -e "\nHTTP response:\n $http_resp\n" fi if echo "$http_resp" | grep -q "401 Unauthorized" \ || echo "$http_resp" | grep -q "403: Forbidden" \ || echo "$http_resp" | grep -q "Connection timed out." \ || echo "$http_resp" | grep -q "no-check-certificate" \ || (( $cmd_exit_status != 0 )) then echo -e "\nERROR : Retry failed.\n" #rm "$filename" failed=1 fi #if retry failed. } #Function for downloading data using the claimed id. download_http_sec_cl_id() { #Http request for sending openid to the orp service. command="wget --post-data \"openid_identifier=$openid_c&rememberOpenid=on\" $wget_args -O- https://$orp_service/esg-orp/j_spring_openid_security_check.htm " #Debug message. if ((debug)) then echo -e "Executing:\n" echo -e "wget $command\n" fi #Execution of command. http_resp=$(eval $command 2>&1) cmd_exit_status="$?" if ((debug)) then echo -e "\nHTTP response:\n $http_resp\n" fi #Extract orp service from openid ? #Evaluate response.If redirected to idp service send the credentials. #redirects=$(echo "$http_resp" | egrep -c ' 302 ') #(( redirects == 2 )) && if echo "$http_resp" | grep -q "login.htm" && (( cmd_exit_status == 0 )) then urls=$(echo "$http_resp" | egrep -o 'https://[^ ]+' | cut -d'/' -f 3) idp_service=$(echo "$urls" | tr '\n' ' ' | cut -d' ' -f 2) command="wget --post-data password=\"$password_c\" $wget_args ${quiet:+-q} ${quiet:--v} -O $filename https://$idp_service/esgf-idp/idp/login.htm" #Debug message. if ((debug)) then echo -e "Executing:\n" echo -e "wget $command\n" fi #Execution of command. http_resp=$(eval $command 2>&1) cmd_exit_status="$?" if ((debug)) then echo -e "\nHTTP response:\n $http_resp\n" fi #Evaluate response. #redirects=$(echo "$http_resp" | egrep -c ' 302 ') #(( "$redirects" != 5 )) \ if echo "$http_resp" | grep -q "text/html" \ || echo "$http_resp" | grep -q "403: Forbidden" \ || (( cmd_exit_status != 0 )) then rm "$filename" download_http_sec_retry fi else echo "ERROR : HTTP request to OpenID Provider service failed." failed=1 fi #if redirected to idp. } download_http_sec_open_id() { #Http request for sending openid to the orp web service. command="wget --post-data \"openid_identifier=$openid_c&rememberOpenid=on\" --header=\"esgf-idea-agent-type:basic_auth\" --http-user=\"$username_c\" --http-password=\"$password_c\" $wget_args ${quiet:+-q} ${quiet:--v} -O $filename https://$orp_service/esg-orp/j_spring_openid_security_check.htm " #Debug message. if ((debug)) then echo -e "Executing:\n" echo -e "$command\n" fi #Execution of command. http_resp=$(eval $command 2>&1) cmd_exit_status="$?" if ((debug)) then echo -e "\nHTTP response:\n $http_resp\n" fi #Evaluate response. #redirects=$(echo "$http_resp" | egrep -c ' 302 ') #(( "$redirects" != 7 )) || if echo "$http_resp" | grep -q "text/html" || (( $cmd_exit_status != 0 )) then rm "$filename" download_http_sec_retry fi #if error during http basic authentication. } download() { wget="wget ${insecure:+--no-check-certificate} ${quiet:+-q} ${quiet:--v} -c ${force_TLSv1:+--secure-protocol=TLSv1} $PKI_WGET_OPTS" while read line do # read csv here document into proper variables eval $(awk -F "' '" '{$0=substr($0,2,length($0)-2); $3=tolower($3); print "file=\""$1"\";url=\""$2"\";chksum_type=\""$3"\";chksum=\""$4"\""}' <(echo $line) ) #Process the file echo -n "$file ..." #get the cached entry if any. cached="$(grep -e "^$file" "$CACHE_FILE")" #if we have the cache entry but no file, clean it. if [[ ! -f $file && "$cached" ]]; then #the file was removed, clean the cache remove_from_cache "$file" unset cached fi #check it wasn't modified if [[ -n "$cached" && "$(get_mod_time_ $file)" == $(echo "$cached" | cut -d ' ' -f2) ]]; then if [[ "$chksum" == "$(echo "$cached" | cut -d ' ' -f3)" ]]; then echo "Already downloaded and verified" continue elif ((update_files)); then #user want's to overwrite newer files rm $file remove_from_cache "$file" unset cached else #file on server is different from what we have. echo "WARNING: The remote file was changed (probably a new version is available). Use -U to Update/overwrite" continue fi fi unset chksum_err_value chksum_err_count while : ; do # (if we had the file size, we could check before trying to complete) echo "Downloading" [[ ! -d "$(dirname "$file")" ]] && mkdir -p "$(dirname "$file")" if ((dry_run)); then #all important info was already displayed, if in dry_run mode just abort #No status will be stored break else if ((use_http_sec)) then download_http_sec if ((failed)) then break fi else $wget -O "$file" $url || { failed=1; break; } fi fi #check if file is there if [[ -f $file ]]; then ((debug)) && echo file found if [[ ! "$chksum" ]]; then echo "Checksum not provided, can't verify file integrity" break fi result_chksum=$(check_chksum "$file" $chksum_type $chksum) if [[ "$result_chksum" != "$chksum" ]]; then echo " $chksum_type failed!" if ((clean_work)); then if !((chksum_err_count)); then chksum_err_value=$result_chksum chksum_err_count=2 elif ((checksum_err_count--)); then if [[ "$result_chksum" != "$chksum_err_value" ]]; then #this is a real transmission problem chksum_err_value=$result_chksum chksum_err_count=2 fi else #ok if here we keep getting the same "different" checksum echo "The file returns always a different checksum!" echo "Contact the data owner to verify what is happening." echo sleep 1 break fi rm $file #try again echo -n " re-trying..." continue else echo " don't use -p or remove manually." fi else echo " $chksum_type ok. done!" echo "$file" $(get_mod_time_ "$file") $chksum >> $CACHE_FILE fi fi #done! break done if ((failed)); then echo "download failed" # most common failure is certificate expiration, so check this #if we have the pasword we can retrigger download ((!skip_security)) && [[ "$pass" ]] && check_cert unset failed fi done <<<"$download_files" } dedup_cache_() { local file=${1:-${CACHE_FILE}} ((debug)) && echo "dedup'ing cache ${file} ..." local tmp=$(LC_ALL='C' sort -r -k1,2 $file | awk '!($1 in a) {a[$1];print $0}' | sort -k2,2) ((DEBUG)) && echo "$tmp" echo "$tmp" > $file ((debug)) && echo "(cache dedup'ed)" } http_basic_auth_func_info_message() { echo "********************************************************************************" echo "* *" echo "* Note that new functionality to allow authentication without the need for *" echo "* certificates is available with this version of the wget script. To enable, *" echo "* use the \"-H\" option and enter your OpenID and password when prompted: *" echo "* *" echo "* $ "$(basename "$0")" -H [options...] *" echo "* *" echo "* For a full description of the available options use the help option: *" echo "* *" echo "* $ "$(basename "$0")" -h *" echo "* *" echo "********************************************************************************" } # # MAIN # if ((!use_http_sec)) then http_basic_auth_func_info_message fi echo "Running $(basename $0) version: $version" ((verbose)) && echo "we use other tools in here, don't try to user their proposed 'options' directly" echo "Use $(basename $0) -h for help."$'\n' ((debug)) && cat<<EOF ** Debug info ** ESG_HOME=$ESG_HOME ESG_CREDENTIALS=$ESG_CREDENTIALS ESG_CERT_DIR=$ESG_CERT_DIR ** -- ** -- ** -- ** -- EOF cat <<'EOF-MESSAGE' Script created for 282 file(s) (The count won't match if you manually edit this file!) EOF-MESSAGE sleep 1 check_os ((!skip_security)) && find_credentials if ((use_http_sec)) then if (( ! insecure)) then get_certificates fi #Cookies folder. COOKIES_FOLDER="$ESG_HOME/wget_cookies" if (( force )) then if [ -d $COOKIES_FOLDER ] then rm -rf $COOKIES_FOLDER fi fi #Create cookies folder. if [[ ! -d $COOKIES_FOLDER ]] then mkdir $COOKIES_FOLDER fi if((! use_cookies_for_http_basic_auth_start)) then #Read openid. if [[ ! -z "$openId" ]] then openid_c="$openId" elif ( (("$#" > 1)) || (("$#" == 1)) ) then openid_c=$1 else read -p "Enter your openid : " openid_c fi #Read username. if [[ ! -z "$username_supplied" ]] then username_c="$username_supplied" elif (("$#" == 2)) then username_c=$2 elif [[ "$openid_c" == */openid/ || "$openid_c" == */openid ]] then read -p "Enter username : " username_c fi #Read password. read -s -p "Enter password : " password_c echo -e "\n" fi #use cookies fi #use_http_sec #do we have old results? Create the file if not [ ! -f $CACHE_FILE ] && echo "#filename mtime checksum" > $CACHE_FILE && chmod 666 $CACHE_FILE #clean the force parameter if here (at htis point we already have the certificate) unset force download dedup_cache_ echo "done"
true
aaece331c84587d91fcae84375877dfd4ded1ec3
Shell
lenkite/RETIRED-dotfiles
/zshenv
UTF-8
1,505
3.828125
4
[]
no_license
# Purpose of zshenv: # http://zsh.sourceforge.net/Intro/intro_3.html # zshenv's are sourced on every shell # lenkite's dotfiles zshenv does two things # * Sourcers ~/.env if present. ~/.env must contain lines of the form name=value # it exports corresponding environemnt variables. Ideally I would want this guy to also # take care of setting these as windows environment variables by using a custom cygwin # program that can invoke win32 api calls. But hey, atleast it works on *nix. # * Looks for a ~/paths file that simply contains lines. Each line is tested to see if it # is a path that exists. If so it is added ot $PATH. envfile=~/.env if [[ -f $envfile ]]; then source $envfile fi # dirname $0 doesnt work for zshenv if [[ -d ~/dotfiles ]]; then export dotfiles=~/dotfiles fi if [[ -d ~/dev/dotfiles ]]; then export dotfiles=~/dev/dotfiles fi # http://zsh.sourceforge.net/Guide/zshguide02.html#l24 typeset -U path path+=( $dotfiles/scripts ~/bin ) pathsf=~/.paths if [[ -f $pathsf ]]; then #http://stackoverflow.com/questions/12651355/zsh-read-lines-from-file-into-array zmodload zsh/mapfile FLINES=( "${(f)mapfile[$pathsf]}" ) LIST="${mapfile[$pathsf]}" # Not required unless stuff uses it integer POS=1 # Not required unless stuff uses it integer SIZE=$#FLINES # Number of lines, not required unless stuff uses it # setting path list sets PATH in zsh path+=( $FLINES ) # echo $SIZE # for ITEM in $FLINES; do # echo $ITEM # (( POS++ )) # done fi
true
4317f5a72d4fe576119a70656cd783fae6588546
Shell
leeyj7141/youngju_workspace
/10-20.sh
UTF-8
221
2.890625
3
[]
no_license
#!/bin/bash for outerloop in 1 2 3 4 5 do echo -n "$outerloop 그룹: " for innerloop in 1 2 3 4 5 do echo -n "$innerloop " if [ "$innerloop" -eq 3 ] then break 2 fi done echo done echo exit 0
true
946248406914e3b128bbf4dd0abc681b22b52eeb
Shell
R33mBash1r/cloudfoundry_routing-ci
/scripts/local_bosh_lite_create
UTF-8
1,805
2.734375
3
[]
no_license
#!/bin/bash set -euxo pipefail env_dir=${HOME}/workspace/deployments-routing/lite cf_deployment_dir=${HOME}/workspace/cf-deployment bosh_deployment_dir=${HOME}/workspace/bosh-deployment pushd "${bosh_deployment_dir}" echo "updating bosh-deployment..." git pull popd pushd "${cf_deployment_dir}" echo "updating cf-deployment..." git pull popd bosh create-env ${bosh_deployment_dir}/bosh.yml \ --state $env_dir/state.json \ -o ${bosh_deployment_dir}/virtualbox/cpi.yml \ -o ${bosh_deployment_dir}/virtualbox/outbound-network.yml \ -o ${bosh_deployment_dir}/bosh-lite.yml \ -o ${bosh_deployment_dir}/bosh-lite-runc.yml \ -o ${bosh_deployment_dir}/jumpbox-user.yml \ -o ${bosh_deployment_dir}/local-dns.yml \ --vars-store $env_dir/bosh-vars.yml \ -v director_name="Bosh Lite Director" \ -v internal_ip=192.168.50.6 \ -v internal_gw=192.168.50.1 \ -v internal_cidr=192.168.50.0/24 \ -v outbound_network_name="NatNetwork" bosh -e 192.168.50.6 --ca-cert <(bosh int $env_dir/bosh-vars.yml --path /director_ssl/ca) alias-env vbox BOSH_CLIENT="admin" BOSH_CLIENT_SECRET="$(bosh int $env_dir/bosh-vars.yml --path /admin_password)" BOSH_ENVIRONMENT="vbox" BOSH_DEPLOYMENT="cf" BOSH_CA_CERT="$(bosh int $env_dir/bosh-vars.yml --path /director_ssl/ca)" export BOSH_CLIENT export BOSH_CLIENT_SECRET export BOSH_ENVIRONMENT export BOSH_DEPLOYMENT export BOSH_CA_CERT STEMCELL_VERSION="$(bosh int ${cf_deployment_dir}/cf-deployment.yml --path=/stemcells/0/version)" echo "will upload stemcell ${STEMCELL_VERSION}" bosh -e vbox upload-stemcell "https://bosh.io/d/stemcells/bosh-warden-boshlite-ubuntu-trusty-go_agent?v=${STEMCELL_VERSION}" bosh -e vbox -n update-cloud-config "${cf_deployment_dir}/iaas-support/bosh-lite/cloud-config.yml" # mac specific sudo route add -net "10.244.0.0/16" "192.168.50.6"
true
85af2c7d7f11a5a540e98b6c992eb5dd67b37f08
Shell
peteches/ansible-playbooks
/roles/a_zsh/files/functions/tman
UTF-8
2,241
3.65625
4
[]
no_license
# vim: filetype=zsh manpage=$1 # give page up and page down clearer variable names. export pageup=${terminfo[kpp]} export pagedown=${terminfo[knp]} export manpref="^w" typeset -A bind_func_map typeset "bind_func_map[killman]"="${manpref}q" typeset "bind_func_map[manpgup]"="${manpref}${pageup}" typeset "bind_func_map[manpgdown]"="${manpref}${pagedown}" typeset "bind_func_map[manfind]"="${manpref}/" typeset "bind_func_map[manfnext]"="${manpref}n" typeset "bind_func_map[manfNext]"="${manpref}N" typeset "bind_func_map[manlineup]"="${manpref}k" typeset "bind_func_map[manlinedown]"="${manpref}j" def __bind() { func=$1 binding=$2 zle -N $func $func bindkey $binding $func } def __unbind() { func=$1 binding=$2 bindkey -r $binding unset -f $func zle -D $i } if [[ -z $manpage ]]; then # Mac compatibility alert, macs don't do shuf. cos they ain't as cool as they pretend to be.` manpage=$( find /usr/share/man/man[0-9] -type f | shuf -n 1 ) fi if [[ -n $TMUX_PANE ]]; then # open up the manpage in a new split tmux split-window -hd "man $manpage" # record what the pane ID is of that pane for use later MAN_PANE=$( tmux list-pane -F '#{pane_id} #{pane_start_command}' | awk -v manpage=$manpage '$NF == manpage { print $1 }' ) # define some functions for interacting with the man page def killman(){ tmux kill-pane -t $MAN_PANE for x in ${(k)bind_func_map[@]}; do __unbind "$x" "${bind_func_map[$x]}" done } # # set a trap so when the spawning pane exits, so does the man page. # TRAPEXIT() { # killman # } def manlineup() { tmux send-keys -t $MAN_PANE "kkkkk" } def manlinedown() { tmux send-keys -t $MAN_PANE "jjjjj" } def manpgdown() { tmux send-keys -t $MAN_PANE "${pagedown}" } def manpgup() { tmux send-keys -t $MAN_PANE "${pageup}" } def manfnext() { tmux send-keys -t $MAN_PANE "n" } def manfNext() { tmux send-keys -t $MAN_PANE "N" } def manfind() { mp=$(tmux list-panes -F '#{session_name}:#{window_index}.#{pane_index} #{pane_start_command}' | awk -v manpage=$manpage '$NF == manpage {print $1}') tmux command-prompt -p "Search man page: " "send-keys -t $mp /%1 c-m" } for x in ${(k)bind_func_map[@]}; do __bind "$x" "${bind_func_map[$x]}" done else man $manpage fi
true
0d8c9d0cabced070ad286b3a3db04249a4c1caab
Shell
cpotter302/aliasrc-shell
/shell/functions/deleteGroup.sh
UTF-8
385
3.4375
3
[]
no_license
#!/bin/bash RED=$(tput setab 0; tput setaf 1) NONE=$(tput sgr0) if [ -f "$ALIAS_RC_ROOT" ]; then if [[ -z $(grep "$1" < "$ALIAS_RC_ROOT") ]]; then echo "could not find group : ${RED}$1${NONE} in alias file" else sed -i "/$1/d" "$ALIAS_RC_ROOT" && echo \ "deleted group: $1" fi else echo "File does named $ALIAS_RC_ROOT does not exist" fi
true
56b6efbdfe21ec7896a1a0cfa1af402bdebbabcb
Shell
mahesndr/dnsrpz
/push-dnsrpz-hook
UTF-8
308
2.65625
3
[]
no_license
#!/bin/bash REPO_NAME=dnsrpz REPO_BRANCH=master REPO_URL=git@github.com:dionipe/$REPO_NAME.git REPO_DIR=~/tmp/$REPO_BRANCH/ TGT_RSYNC1=/var/named cd $REPO_DIR rm -rf $REPO_DIR$REPO_NAME git clone $REPO_URL cd $REPO_NAME git checkout -f $REPO_BRANCH rsync -qazHP $REPO_DIR/$REPO_NAME/ $TGT_RSYNC1 --exclude ".git/"
true
a364be83cf11db8105d2dffca75c0f3a53421cdf
Shell
dexhorthy/dotfiles
/dotfiles/.bin/show_colors
UTF-8
502
2.6875
3
[ "MIT" ]
permissive
#!/bin/bash # Seed random generator RANDOM=$$$(date +%s) if [ $# -ne 0 ] then nl="" else nl="\n" fi echo -ne "$nl" cblock '\033[1;37m' cblock '\033[1;31m' cblock '\033[1;32m' cblock '\033[1;33m' cblock '\033[1;34m' cblock '\033[1;35m' cblock '\033[1;36m' cblock '\033[1;30m' echo -ne "$nl$nl" cblock '\033[0;37m' cblock '\033[0;31m' cblock '\033[0;32m' cblock '\033[0;33m' cblock '\033[0;34m' cblock '\033[0;35m' cblock '\033[0;36m' cblock '\033[0;30m' echo -ne "$nl$nl" echo -ne '\033[0m'
true