code
stringlengths
2
1.05M
repo_name
stringlengths
5
110
path
stringlengths
3
922
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
2
1.05M
curl "https://api.esios.ree.es/indicators/10206?start_date=2016-10-21T17:39:30&end_date=2016-10-22T17:39:30" -X GET \ -H "Accept: application/json; application/vnd.esios-api-v1+json" \ -H "Content-Type: application/json" \ -H "Host: api.esios.ree.es" \ -H "Authorization: ...
hackathinho/open-clean-energy
backend/query_real.sh
Shell
gpl-3.0
430
uci get network.lan.ifname brctl show ifconfig ping -c 3
Mirafratechnologies/Automation
Mirafra_automation_framework/LAN_Interface_Bribge_1/interfaceBrigde.sh
Shell
gpl-3.0
57
#!/bin/bash SBATCH_ARGS="-n 1 -N 1 --exclusive" BASIS="CCD" METHOD="CAS(4,4)" DISTANCES="$(seq -w 0.90 0.05 3.0) " EQUILIBRIUM="1.20" S2EIG="T" GEOMETRY=" o h 1 d h 1 d 2 110.6 " source ../src/bench_mrcc.sh # How to update the variables of the Z-matrix function update_z_variables () { ZVARIABLES="d $1" } fun...
scemama/Bench_MRCC
H2O/common.sh
Shell
gpl-3.0
384
#!/bin/bash # # Instalador desatendido para Openstack sobre CENTOS # Reynaldo R. Martinez P. # E-Mail: TigerLinux@Gmail.com # Julio del 2013 # # Script de instalacion y preparacion de indentidades Keystone para Nova # PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin if [ -f ./configs/main-confi...
tigerlinux/openstack-grizzly-installer-centos6
modules/keystone-nova.sh
Shell
gpl-3.0
3,234
#!/bin/sh gzip -dc /Scaffold/Data/Path/Picoides_pubescens.scaf.noBacterial.fa.gz > PWD/outdata/PICPU/Picoides_pubescens.scaf.noBacterial.fa && echo gzip PICPU was OK perl PWD/bin/denovo_repeat_find.pl -RepeatModeler PWD/outdata/PICPU/Picoides_pubescens.scaf.noBacterial.fa && echo rptmd PICPU was OK ln -s PWD/outdat...
gigascience/paper-zhang2014
Repeat_annotation/outdata/PICPU/sPICPU.sh
Shell
gpl-3.0
1,636
cp log_gaia3.txt "/home/bryan/GAIA/output/maps/20100508-000858 - FES M2, 20N, 1 deg gr, NEW eq-gr code/"
tectronics/gaia-physics
copy_gaia_log3.sh
Shell
gpl-3.0
105
gapt_version="2.15.2" heap_size="2g" stack_size="20m" for _binary in "$JAVA_HOME/bin/java" "$(which java)"; do if [[ -x "$_binary" ]]; then java="$_binary" break fi done if [[ -z "$java" ]]; then echo "Java executable not found, please check your path and maybe set JAVA_HOME correctly." >&...
gapt/gapt
include.sh
Shell
gpl-3.0
718
#!/bin/bash # Script to simplify the names and directory tree of MiSeq/HiSeq output files. # Destroy the nested folders in MiSeq folder, extract all archieves and then simplify filenames. # Generate a single .tar.gz archieve containing all the data # Raw data folder containing the input files, typically "somename-123...
haBiophysics/public
sequences/miseq_simplifyNames.sh
Shell
gpl-3.0
997
# 95_show_output_location.sh LogPrint "The output files are saved as $VAR_DIR/${PROGRAM%.*}-${TIME_STAMP}.[txt|html]"
gdha/criux
opt/criux/scripts/cleanup/default/95_show_output_location.sh
Shell
gpl-3.0
120
while true do python ../docsim/CreateDocVectors.py done
adityamogadala/xLiMeSemanticIntegrator
service/vecgenerator.sh
Shell
gpl-3.0
57
#------------------------------------------- # Author : LHearen # E-mail : LHearen@126.com # Time : 2015-12-28 14:48 # Description : Used to prepared different directories in remote # testing clients; #------------------------------------------- mkdir -p /home/res cd /home/res mkdir imag...
Hearen/Linux-scripts
tools/resDir.sh
Shell
gpl-3.0
343
cnee --replay -f xnee.xns -ns
simono41/shell-scripte
cnee-play.sh
Shell
gpl-3.0
30
#!/bin/sh /usr/libexec/qemu-kvm -smp 1 -m 512 -vnc :3100 -cdrom minimal_linux_live.iso
jnouyang/PrognosticLinux
src/qemu64.sh
Shell
gpl-3.0
90
#!/bin/sh # Run this to generate all the initial makefiles, etc. which gnome-autogen.sh || { echo "You need to install gnome-common" exit 1 } REQUIRED_AUTOMAKE_VERSION=1.9 . gnome-autogen.sh
loganek/gnome-subfinder
autogen.sh
Shell
gpl-3.0
201
#!/bin/sh echo "mount 172.16.2.16 to /mnt/share_16" sudo mount -t cifs //172.16.2.16/share /mnt/share_16 -o username=$USER,password=T123.blw,domain=smartisan.cn,vers=1.0 echo "mount 172.16.2.240 to /mnt/flash_240" sudo mount -t cifs //172.16.2.240/flash /mnt/flash_240 -o username=$USER,password=T123.blw,domain=smarti...
brucework/demo
tools/cmd/mount.sh
Shell
gpl-3.0
1,230
# # System initialization script for rez. Source this file in order to use rez. You probably # want to do that in ~/.bashrc or equivalent startup script. # # rez version export REZ_VERSION=!REZ_VERSION! # rez OS export REZ_PLATFORM=!REZ_PLATFORM! # where rez is installed export REZ_PATH=!REZ_BASE_PATH!/!REZ_VERSION!...
holofermes/rez
init.sh
Shell
gpl-3.0
2,349
#!/bin/bash echo -e "`./dozdate -sd"Mon 27 Dec 118E" "%a %d %b %Y"`\tMon 27 Dec 118E" echo -e "`./dozdate -sd"Tue 25 Jan 1190" "%a %d %b %Y"`\tTue 25 Jan 1190" echo -e "`./dozdate -sd"Wed 26 Jan 1190" "%a %d %b %Y"`\tWed 26 Jan 1190" echo -e "`./dozdate -sd"Fri 25 Feb 1190" "%a %d %b %Y"`\tFri 25 Feb 1190" echo -e "`./...
dgoodmaniii/dozenal-droid
DozcalDroid/jni/dozdate/symm_run.sh
Shell
gpl-3.0
9,188
#!/bin/bash source /usr/share/InnoRoute/tn_env.sh source /usr/share/InnoRoute/tn_func_ll.sh if [[ $# == 0 ]]; then echo "$0 <ex> is used to execute a selftest that might alter all" echo "currenly configured values and might even lead to a non-responding system" echo "The parameter <ex> can have any value. Witho...
InnoRoute/packages
TN_tools/files/TN_selftest.sh
Shell
gpl-3.0
13,404
msgmerge es.po cloudsn.pot -o es.po
chuchiperriman/cloud-services-notifications
po/updatetrans.sh
Shell
gpl-3.0
36
#!/usr/bin/expect -f spawn yo polymer:gh expect "We're constantly looking for ways to make yo better!" send -- "Y\n" expect "What is your GitHub username?" send -- "Rise-Vision\n" expect "What is your element's name: (rise-apis)" send -- "\n" interact
Rise-Vision/rise-apis
gh-deployment.sh
Shell
gpl-3.0
251
#!/bin/bash python AnalyzeSimulation.py --paralog1 YER102W --paralog2 YBL072C --simnum 79 > YER102W_YBL072C_MG94_nonclock_Sim79_PrintScreen.txt
xjw1001001/IGCexpansion
Simulation/ShFiles/MG94_YER102W_YBL072C_sim79.sh
Shell
gpl-3.0
145
#!/bin/bash -l source switch_to_2015a module load worker/1.6.6-intel-2015a wsub -batch sasw.pbs -data score.csv -l walltime=00:15:00 -l nodes=1:ppn=20
gjbex/worker
examples/sas_example/worker_sas.sh
Shell
gpl-3.0
153
#!/bin/bash # This script is written to set up my debian 8 system. # Don't execute this script as root! # Start in the home directory cd ############################################### # Add the keyboard shortcut CTRL + ALT + T ############################################### # I am not done with this one yet... # htt...
chGoodchild/setup_scripts
debian_setup_on_e6410/debian_setup_1.sh
Shell
agpl-3.0
6,456
#!/bin/bash echo Running "$@" export DYLD_LIBRARY_PATH=/Applications/MATLAB/MATLAB_Runtime/v85/runtime/maci64:/Applications/MATLAB/MATLAB_Runtime/v85/sys/os/maci64:/Applications/MATLAB/MATLAB_Runtime/v85/bin/maci64 "$@"
MTG/makam-symbolic-phrase-segmentation
run_mcr_mac.sh
Shell
agpl-3.0
221
#/bin/sh -e # Copyright (C) 2004 Rafael Laboissiere # # This file is part of PLplot. # # PLplot is free software; you can redistribute it and/or modify # it under the terms of the GNU General Library Public License as published # by the Free Software Foundation; either version 2 of the License, or # (at your option) ...
pemryan/DAKOTA
packages/plplot/scripts/check-tarball-cvs.sh
Shell
lgpl-2.1
1,577
if [ "$CI_PULL_REQUEST" = "10337" ] || [ "$CI_BRANCH" = "vernac+qed_special_case_inject_proof" ]; then paramcoq_CI_REF=vernac+qed_special_case_inject_proof paramcoq_CI_GITURL=https://github.com/ejgallego/paramcoq equations_CI_REF=vernac+qed_special_case_inject_proof equations_CI_GITURL=https://github....
Matafou/coq
dev/ci/user-overlays/10337-ejgallego-vernac+qed_special_case_inject_proof.sh
Shell
lgpl-2.1
352
#!/bin/sh rm -f "$TEMP_DIR/file.mpd" rm -f "$TEMP_DIR/dash_ctx" test_begin "dash-mainprofile-singlefile" do_test "$MP4BOX -add $EXTERNAL_MEDIA_DIR/counter/counter_30s_I25_baseline_1280x720_512kbps.264 -new $TEMP_DIR/file.mp4" "dash-input-preparation" do_test "$MP4BOX -dash 1000 $TEMP_DIR/file.mp4#video -single-fil...
porcelijn/gpac
tests/scripts/dash-main-singlefile.sh
Shell
lgpl-2.1
634
#! /bin/bash # # Very simpleminded filename "rename" utility (based on "lowercase.sh"). # # The "ren" utility, by Vladimir Lanin (lanin@csd2.nyu.edu), #+ does a much better job of this. ARGS=2 E_BADARGS=65 ONE=1 # For getting singular/plural right (see below). if [ $# -ne "$ARGS" ] then echo "...
liruiqiu/tlpi
sh/sh/rn.sh
Shell
lgpl-3.0
1,320
#!/bin/bash ############################################# ######### W2IO INSTALATION ########## ############################################# if [ ! -d "/opt/mpe2-1.3.0" ]; then echo -n "Untarring" mkdir /opt/mpe2-1.3.0/ -p tar -xzf /opt/w2io/files/mpe2.tar.gz -C /opt/mpe2-1.3.0/ --strip-components=1 --overwri...
Pablites/W2IO
bin/w2io-instalation.sh
Shell
lgpl-3.0
833
#!/bin/bash extract='/media/trolleway/46fa49bc-b42a-411f-99f6-4a24dbea79dd/home/trolleway/tmp/restrictions/RU-cit-20190914-ru-shape.zip' ng_cutter -clipsrc extent3857.geojson -overwrite -f GPKG sea.gpkg -nlt MULTIPOLYGON /home/trolleway/openstreetmapdata/water-polygons-generalized-3857/water_polygons_z3.shp ng_cutter...
trolleway/geodata
wikipedia-russia-transpolar/clip.sh
Shell
unlicense
660
#!/bin/bash set -x #git clone https://github.com/php/php-src.git php #cd php git pull git checkout PHP-7.1 ./buildconf export CC=/usr/bin/clang export CXX=/usr/bin/clang++ ./configure
javier-ruiz-b/docker-rasppi-images
phpbuild/run.sh
Shell
apache-2.0
185
#! /bin/sh # define env GDRIVE_REFRESH_TOKEN, GDRIVE_DIR TARGET=$1 COMMIT=$(echo $TRAVIS_COMMIT | sed 's!^\(.\{10\}\).*!\1!') ./gdrive upload --recursive --refresh-token $GDRIVE_REFRESH_TOKEN --parent $GDRIVE_DIR $TARGET
mamewotoko/podplayer
ci/upload.sh
Shell
apache-2.0
223
#!/bin/sh # Copyright 2005-2017 ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # # In applying this licence, ECMWF does not waive the privileges and immunities granted to it by # virtue of its status as an int...
0x1mason/GribApi.XP
grib_api/tests/bufrdc_desc_ref.sh
Shell
apache-2.0
1,043
#!/bin/sh sudo openssl dhparam -out dhparam.pem 2048
kkpoon/docker-standard-febe-proxy
gen-dhparam.sh
Shell
apache-2.0
54
#!/bin/bash set -e PARENT_DIR=$(dirname $(cd "$(dirname "$0")"; pwd)) CI_DIR="$PARENT_DIR/ci/environment" DEFAULT_ORIENT_VERSION="3.2.0" # launch simple instance in debug mode with shell hang up while [ $# -ne 0 ]; do case $1 in -h) #set option "a" HANG_UP=true shift ;; *) ODB_VERSION=${1...
orientechnologies/pyorient
ci/start-ci.sh
Shell
apache-2.0
3,625
#!/bin/bash # # Script name: verify_top_install.sh # This script is to verify the installation of Tricircle in Top OpenStack. # # In this script, there are some parameters you need to consider before running it. # # 1, Post URL whether is 127.0.0.1 or something else, # 2, This script create a subnet called net1 10.0.0....
stackforge/tricircle
devstack/verify_top_install.sh
Shell
apache-2.0
2,501
echo "compiling ..." ./compile.sh # this module is built with an implicit main method java \ --add-opens com.acme.bids.db/com.acme.bids.db.impl=com.acme.bids.service \ --module-path mlib \ -m com.acme.bids.service # OR this: # java --permit-illegal-access --module-path mlib -m com.acme.bids.service
codetojoy/talk_maritimedevcon_java_9_modules
eg_03_3_java_9_command_line/build_and_run.sh
Shell
apache-2.0
304
#!/bin/bash set -e # This will abort the script if any command outputs errors MASTER_BRANCH="master" DEVELOP_BRANCH="develop" function usage { echo "Usage: deploy.sh [NEW VERSION]" } function error { echo "Error: $1" echo usage exit } function confirm_deploy { echo -e "Deploying Momus. This...
Studentmediene/Momus
scripts/deploy.sh
Shell
apache-2.0
3,219
#!/bin/bash -e # # Bashhub.com Installation shell script # # Ryan Caloras (ryan@bashhub.com) # # http://www.gnu.org/s/hello/manual/autoconf/Portable-Shell.html # # The only shell it won't ever work on is cmd.exe. set -e bash_profile_hook=' ### Bashhub.com Installation. ### This Should be at the EOF. https://bashhub.c...
rcaloras/bashhub-client
install-bashhub.sh
Shell
apache-2.0
8,699
#!/bin/bash # # Usage: # ./run.sh <function name> set -o nounset set -o pipefail set -o errexit # The original code by Andreas Zeller (author of the paper) is mentioend here: # https://lobste.rs/s/gone7a/celebration_code_6_pieces_code_had_impact # (The shorter one inline didn't seem to run.) download() { wget -...
oilshell/blog-code
ddmin/run.sh
Shell
apache-2.0
773
#!/bin/bash dimension=8 output=faiss_dbscan_output_02.log rm $output for n_size in 10000 30000 50000 80000 100000 300000 500000 800000 1000000 3000000 5000000 8000000 10000000 do echo "Running Faiss DBSCAN by nsize = $n_size, dimension = $dimension"; python faiss_dbscan_general_test.py -n $n_size -d $dimension >...
stephenliu1989/HK_DataMiner
hkdataminer/scripts/run_2.bash
Shell
apache-2.0
417
#!/usr/bin/env bash # 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 "Licens...
scalingdata/Impala
thirdparty/hadoop-2.7.1.2.3.0.0-2557/sbin/slaves.sh
Shell
apache-2.0
2,226
#!/bin/bash ##################################################################################### # Copyright (c) 2015 Huawei Technologies Co.,Ltd. # chigang@huawei.com # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which acco...
Justin-chi/compass-ci
build/install.sh
Shell
apache-2.0
3,003
#!/bin/bash echo "trying image in index" curl -XPOST -H "Content-Type:application/json" http://localhost:5000/api/score -d '{ "url" : "/src/data/pos.jpg" }' echo "trying image not in index" curl -XPOST -H "Content-Type:application/json" http://localhost:5000/api/score -d '{ "url" : "/src/data/neg.jpg" }'
gophronesis/ndd
docker/test_api.sh
Shell
apache-2.0
315
#!/usr/bin/env bash cp -r paperwork-plugin/src/main/groovy/* buildSrc/src/main/groovy/
zsoltk/paperwork
scripts/refresh-integration-dependencies.sh
Shell
apache-2.0
87
#!/bin/bash # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
GoogleCloudPlatform/spanner-commit-timestamps-java
run.sh
Shell
apache-2.0
1,318
##### GLOBALS ###### CHANNEL_NAME="$1" CHANNELS="$2" CHAINCODES="$3" ENDORSERS="$4" START_COUNT=100 END_COUNT=1200 INTERVAL=100 SLEEP_TIME=10 RUN_TIME_HOURS=1 ##### SET DEFAULT VALUES ##### : ${CHANNEL_NAME:="mychannel"} : ${CHANNELS:="1"} : ${CHAINCODES:="1"} : ${ENDORSERS:="4"} : ${TIMEOUT:="60"} COUNTER=1 MAX_RETR...
phariel/fabric
test/tools/AuctionApp/api_driver.sh
Shell
apache-2.0
44,178
#!/bin/bash # Copyright 2015 Observable Networks # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
obsrvbl/ona
images/iso/ona/configure.sh
Shell
apache-2.0
1,168
#!/sbin/sh # Copyright 2016 Antoine GRAVELOT # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
Nevax07/FreedomOS
assets/tools/common/multi_window.sh
Shell
apache-2.0
657
pkg_name=gdbm pkg_origin=core pkg_version=1.14.1 pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>" pkg_description="\ GNU dbm is a set of database routines that use extensible hashing. It works \ similar to the standard UNIX dbm routines.\ " pkg_upstream_url="http://www.gnu.org/software/gdbm/gdbm.html" pkg_l...
be-plans/be
gdbm/plan.sh
Shell
apache-2.0
1,779
#!/bin/bash set -e dir=/tmp/twitter-server.$$ trap "rm -fr $dir" 0 1 2 echo 'making site...' 1>&2 ./sbt --warn twitter-server-doc/make-site echo 'cloning...' 1>&2 git clone -b gh-pages --single-branch git@github.com:twitter/twitter-server.git $dir >/dev/null 2>&1 savedir=$(pwd) cd $dir git rm -fr . touch .nojekyll...
BuoyantIO/twitter-server
pushsite.bash
Shell
apache-2.0
442
#!/bin/bash # # 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"); yo...
elyast/saltstack-formulas
zeppelin/files/zeppelin-env.sh
Shell
apache-2.0
5,387
#!/bin/bash # Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
DataBiosphere/dsub
examples/custom_scripts/submit_list.sh
Shell
apache-2.0
1,817
#!/usr/bin/env bash set -ex : ${INTEGCB_LOCATION?"integcb location"} cd $INTEGCB_LOCATION && \ ./cbd regenerate && \ ./cbd start commondb && \ sudo ./cbd migrate && \ sudo rm -fr .schema/ && \ cd ..
hortonworks/cloudbreak
integration-test/scripts/schema-migration.sh
Shell
apache-2.0
201
#!/bin/bash echo "Running pre-installation steps" x=$(kubectl get crd cstorpoolclusters.openebs.io -o jsonpath="{.spec.scope}" 2>&1 ) if [[ $x == 'Cluster' ]]; then kubectl delete crd cstorpoolclusters.openebs.io fi echo "Installing cspc operator" kubectl apply -f https://raw.githubusercontent.com/openebs/open...
ksatchit/openebs
k8s/cspc_install.sh
Shell
apache-2.0
355
#!/bin/bash # # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
GoogleCloudPlatform/java-docs-samples
memorystore/redis/gce_deployment/deploy.sh
Shell
apache-2.0
1,677
#!/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 m...
lyy4j/rmq4note
bin/os(note).sh
Shell
apache-2.0
5,302
#!/bin/bash # change release channel # # DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source "${DIR}"/functions.sh # Set release channel release_channel # echo " " echo "CoreOS release channel was updated to '$channel' !!!" echo "You need to reboot your VMs if they are running or on next VMs' boot new '$c...
TheNewNormal/kube-cluster-osx
src/change_release_channel.command
Shell
apache-2.0
400
#!/bin/bash sleep 5 kill $(ps aux | grep '[s]upervisord' | awk '{print $2}') sleep 5 /app/init app:rake gitlab:setup force=yes sleep 5 kill $(ps aux | grep '[s]upervisord' | awk '{print $2}') sleep 5 /app/init app:start
CenturyLinkLabs/docker-gitlab
dbsetup.sh
Shell
apache-2.0
221
#!/usr/bin/env bash # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softwa...
aliyun-beta/aliyun-oss-hadoop-fs
hadoop-tools/hadoop-sls/src/main/bin/rumen2sls.sh
Shell
apache-2.0
2,842
#!/bin/sh ########################################################################## # If not stated otherwise in this file or this component's Licenses.txt # file the following copyright and licenses apply: # # Copyright 2016 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may ...
rdkcmf/rdk-sysint
lib/rdk/gwConnNotify.sh
Shell
apache-2.0
1,895
#!/usr/bin/env bash set -e set -o pipefail BUILD_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" source ${BUILD_DIR}/ci/common/common.sh source ${BUILD_DIR}/ci/common/dependencies.sh source ${BUILD_DIR}/ci/common/deps-repo.sh source ${BUILD_DIR}/ci/common/doc.sh source ${BUILD_DIR}/ci/common/neovim.sh source ${...
sschaef/bot-ci
ci/clang-report.sh
Shell
apache-2.0
3,431
#!/bin/bash : rm /tmp/*.pid # altering the core-site configuration #sed s/HOSTNAME/$HOSTNAME/ /usr/local/hadoop/etc/hadoop/core-site.xml.template > /usr/local/hadoop/etc/hadoop/core-site.xml /etc/init.d/nginx start service sshd start echo "starting kafka" cd $KAFKA_HOME #echo "host.name=sandbox" >> config/server....
MiniPlayer/log-island
logisland-docker/full-container/bootstrap.sh
Shell
apache-2.0
1,836
#!/bin/sh CALC=$(echo "scale=400;ibase=16;bs=$2;ibase=A;pow=$3;dpow=$1;print (bs * 2 ^ pow)" | bc -l) TGT=$(echo "scale=400;ibase=16;bs=$2;ibase=A;pow=$3;dpow=$1;print (10 ^ dpow)" | bc -l) RET=$(echo "scale=400;ibase=16;bs=$2;ibase=A;pow=$3;dpow=$1;print (10 ^ dpow - bs * 2 ^ pow)" | bc -l) BRET=$(echo "scale=400;iba...
aclex/floaxie
bc/check.sh
Shell
apache-2.0
491
#! /bin/bash # -*- coding: utf-8 -*- PREFIX=`pwd` SRCDIR=`pwd` BINDIR=`pwd`/../../bin WORKDIR=${PREFIX}/work file_exist() { local FILENAME=${SRCDIR}/$1 if [ ! -e $FILENAME ]; then echo "[*NG*] $1 not found!!" else echo "[ OK ] $1" fi } make_dirs() { install -pd ${WORKDIR}/usr/bin ...
beluganos/beluganos
etc/ztp/make.sh
Shell
apache-2.0
2,342
#!/usr/bin/env bash input=${1} log="ltr.log" echo "$(date) $0" >> ${log} if [ -z ${input} ]; then echo "Usage: ${0} <input fasta>" exit 1 fi # Check for gzip if [ "${input}" != "${input%%.gz}" ]; then echo "error: run 'gzip -d ${input}' first because bowtie can't handle gzipped fasta" exit 1 fi # Check .fa if [ "...
vavrusa/sololtr
db2pred.sh
Shell
apache-2.0
887
#!/bin/bash ############################################################################### # Install librarian_puppet and dependency ruby # Globals: # None # Arguments: # $@ # Returns: # None ############################################################################### install_librarian_puppet() { echo 'Ins...
ajxb/ubuntu-build-server-sandbox
provisioners/script/install_puppet.sh
Shell
apache-2.0
3,448
#!/bin/bash CMD=${1:-docker} $CMD rm $($CMD ps -a -q) exit 0
joequant/bitquant
bitstation/util/rm-stopped-containers.sh
Shell
bsd-2-clause
62
#!/usr/bin/env bash LIB_VERSION=13.0.0 MASON_NAME=mesa MASON_VERSION=${LIB_VERSION}-egl-cxx11abi MASON_LIB_FILE=lib/libEGL.so MASON_PKGCONFIG_FILE="lib/pkgconfig/egl.pc lib/pkgconfig/gbm.pc lib/pkgconfig/dri.pc lib/pkgconfig/glesv2.pc" . ${MASON_DIR}/mason.sh function mason_load_source { mason_download \ ...
hydrays/osrm-backend
third_party/mason/scripts/mesa/13.0.0-egl-cxx11abi/script.sh
Shell
bsd-2-clause
1,554
#!/bin/sh ## one script to be used by travis, jenkins, packer... umask 022 rolesdir=$(dirname $0)/.. [ ! -d $rolesdir/juju4.redhat_epel ] && git clone https://github.com/juju4/ansible-redhat-epel $rolesdir/juju4.redhat_epel ## galaxy naming: kitchen fails to transfer symlink folder #[ ! -e $rolesdir/juju4.sysdigcapt...
juju4/ansible-sysdigcapture
get-dependencies.sh
Shell
bsd-2-clause
551
#!./tester # include math include assert testcase_begin test_max_writes_first_parameter_if_only_one_is_passed() { assert that math_max 1 writes 1 } test_max_writes_first_parameter_if_bigger_than_second_parameter() { assert that math_max 2 1 writes 2 } test_max_writes_second_parameter_if_bigger_than_first_parameter()...
zmvlm-thiys/bash_include
test/test-math.sh
Shell
bsd-2-clause
1,605
#!/usr/bin/env bash # ############################################################################# # # File: fyredra.sh # # Version: 0.8 # Date: 20130808_1100 # Modified: 20150921_1255 # # Information: Custom netfilter/iptables firewall designed to work such as # gateway server for multiple internal priva...
reymervargas/tensixths
Shell Scripting/bash/fyredra.sh
Shell
bsd-2-clause
6,340
#! /bin/bash #************************************************************* # File: minielfinstall.sh # Author: Ram Kumar {ram@ee.ucla.edu} # Description: Install the tools required for Mini-ELF loader #************************************************************* if [ -z "${SOSROOT}" ]; then echo "SOSROOT environment...
nesl/sos-2x
tools/elfloader/minielfinstall.sh
Shell
bsd-3-clause
1,841
#!/bin/bash # This script compares nwb files in two directories, saving the result # (showing differences) in a third directory. nwb1=$1 nwb2=$2 dest=$3 if [ ! -d "$nwb1" ]; then nwb1="../created_nwb_files_py2" fi if [ ! -d "$nwb2" ]; then nwb2="../created_nwb_files_py3" fi if [ ! -d "$dest" ]; then dest="../t...
NeurodataWithoutBorders/api-python
examples/utility_scripts/cmp_created.sh
Shell
bsd-3-clause
1,192
clapgen --hpp=hpp --namespace=JEB::Test helptext.txt
jebreimo/JEBTest
JEBTest/Test/helptext.sh
Shell
bsd-3-clause
54
#!/bin/bash set -e SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) ${HADOOP_HOME}/bin/hdfs dfs -rm -f -r /training-input ${HADOOP_HOME}/bin/hdfs dfs -rm -f -r /training-correct-input ${HADOOP_HOME}/bin/hdfs dfs -rm -f -r /testing-input ${HADOOP_HOME}/bin/hdfs dfs -rm -f -r /testing-correct-input ${HADO...
agrippa/spark-swat
functional-tests/nn/convert.sh
Shell
bsd-3-clause
1,862
ᐅ kubectl create -f renderer/src/renderer/controller.yaml replicationcontrollers/renderer ᐅ kubectl create -f renderer/src/renderer/service.yaml services/renderer ᐅ kubectl create -f dispatcher/controller.yaml replicationcontrollers/dispatcher ᐅ kubectl create -f dispatcher/service.yaml services/dispatcher ᐅ kubectl cr...
olostan/slides_multimicro
web/samples/kube_create.sh
Shell
bsd-3-clause
438
#!/usr/bin/env bash if [ ! -f /etc/nginx/.provisioned ] then sed -i 's/worker_processes 4/worker_processes 1/g' /etc/nginx/nginx.conf sed -i 's/# multi_accept on/multi_accept on/g' /etc/nginx/nginx.conf sed -i 's/sendfile on/sendfile off/g' /etc/nginx/nginx.conf rm -f /etc/nginx/nginx.conf rm -f ...
16nsk/kohana-egotist
vagrant/shell/setup-web-server.sh
Shell
bsd-3-clause
568
#!/bin/bash cd .. bin/rshell << 'EOF' (test -e /bin/fake #file doesnt exist || echo file should not exist) && echo I should go (echo A && echo B) || (echo C && echo D) (echol A && echo B) || (echo C && echo D) echo for some reason this messes up when ran as a script but works perfect when ran typed in normally idk ((ec...
prodr010/rshell
tests/precedence_test.sh
Shell
bsd-3-clause
828
#!/bin/bash # This script does for linux the same as build.bat for DOS, # it compiles the KoOS kernel, hopefully ;-) echo "lang fix en" echo "lang fix en" > lang.inc fasm -m 16384 kpack.asm kpack rm -f lang.inc exit 0
devlato/kolibrios-llvm
programs/other/kpack/trunk/build.sh
Shell
mit
228
#!/bin/bash set -ex DIR=$(pwd) # works on Linux and Mac; see https://unix.stackexchange.com/questions/30091/fix-or-alternative-for-mktemp-in-os-x WORK_DIR=`mktemp -d 2>/dev/null || mktemp -d -t 'tmpdir'` if [[ ! "$WORK_DIR" || ! -d "$WORK_DIR" ]]; then echo "Could not create temp dir" exit 1 fi function cleanu...
Piasy/OkBuck
tooling/errorprone/createtinyjavaxtools.sh
Shell
mit
1,105
#!/bin/sh set -e RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" install_resource() { case $1 in *.storyboard) echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${U...
mice3/M3SideMenu
Example/Pods/Pods-Tests-resources.sh
Shell
mit
3,603
#!/bin/bash set -e if [ -z "${1}" ]; then echo "USAGE: ${0} DOMAIN.TLD" exit 1 fi DOMAIN=${1} if [ ! -f /etc/apache2/sites-available/${DOMAIN} ]; then echo "DOMAIN ${DOMAIN} DOES NOT EXISTS" exit 1 fi egrep "ServerAlias" /etc/apache2/sites-available/${DOMAIN} | egrep -v "www\.${DOMAIN}" | awk '{print $2}'
matteomattei/servermaintenance
Debian7/LAMP_24/ALIAS_LIST.sh
Shell
mit
313
#!/bin/bash ########################################################################## # This script starts the installation and configuration process of the # specified application and finally it shows a log file which contains # reported installation steps and posible errors. # @author César Rodríguez González # @ver...
cesar-rgon/linux-app-installer
app-scripts/stellarium.sh
Shell
mit
764
#!/bin/bash docker stop jupyterhub docker rm jupyterhub docker run -itd \ -v $(pwd):/home/jupyterhub/hostdir \ -p 0.0.0.0:8000:8000 \ -p 0.0.0.0:8080:8080 \ --name jupyterhub \ hermantolentino/docker-deeplearning:v1 \ supervisord -c /etc/supervisord.conf
PHI-Toolkit/docker-jupyterhub
launch-jupyterhub.sh
Shell
mit
255
#!/usr/bin/env bash . "test/testlib.sh" # these tests rely on GIT_TERMINAL_PROMPT to test properly ensure_git_version_isnt $VERSION_LOWER "2.3.0" begin_test "attempt private access without credential helper" ( set -e reponame="$(basename "$0" ".sh")" setup_remote_repo "$reponame" clone_repo "$reponame" with...
ryansimmen/git-lfs
test/test-credentials-no-prompt.sh
Shell
mit
688
#!/bin/bash # Project MCM # # Copyright (C) <2015-2017> Tim Waizenegger, <University of Stuttgart> # # This software may be modified and distributed under the terms # of the MIT license. See the LICENSE file for details. p=$(pwd) export PYTHONPATH=$PYTHONPATH:$p/mcm source venvBB/bin/activate
timwaizenegger/swift-bluebox
setenv.sh
Shell
mit
297
#!/bin/bash API="${API_ORIGIN:-http://localhost:4741}" URL_PATH="/sign-out" curl "${API}${URL_PATH}/${ID}" \ --include \ --request DELETE \ --header "Content-Type: application/json" \ --header "Authorization: Token token=$TOKEN" echo
ga-wdi-boston/rails-overview-08
scripts/sign-out.sh
Shell
mit
244
cd Sigma_n_1 essi -f main.fei cp Monotonic_Contact_Behaviour_Adding_Normal_Load.h5.feioutput Analytical_Solution_Normal_Stress.feioutput cp Monotonic_Contact_Behaviour_Adding_Tangential_Load.h5.feioutput Analytical_Solution_Shear.feioutput bash compare.sh cd .. cd Sigma_n_1e3 essi -f main.fei cp Monotonic_Contact_Beha...
BorisJeremic/Real-ESSI-Examples
analytic_solution/test_cases/Contact/Stress_Based_Contact_Verification/SoftContact_NonLinHardSoftShear/Normal_Load/script.sh
Shell
cc0-1.0
1,131
#!/bin/sh set -x function system { "$@" if [ $? -ne 0 ]; then echo "make.sh: unsuccessful command $@" echo "abort!" exit 1 fi } if [ $# -eq 0 ]; then echo 'bash make.sh slides1|slides2' exit 1 fi name=$1 rm -f *.tar.gz opt="--encoding=utf-8" opt= rm -f *.aux # Plain HTML documents html=${name}...
CompPhysics/ComputationalPhysics
doc/src/Projects/2017/Project5/WaveEquation/make.sh
Shell
cc0-1.0
2,075
#!/bin/bash # © Copyright IBM Corporation 2015. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html if [ "$LICENSE" = "accept" ...
robipozzi/iib-docker
10.0.0.10/iib-license-check.sh
Shell
epl-1.0
1,460
# nolog for r in 0 1 2 do cd /tmp /dev/shm/silo/out-perf.masstree/benchmarks/dbtest --bench tpcc --num-threads 24 --scale-factor 24 --runtime 30 --numa-memory 48G --bench-opts --new-order-remote-item-pct=1 &> "/tmp/result_silo_mid.n1.r$r.log" done sudo mkdir /testnvm sudo chmod 666 /testnvm nvm_latency=5000 # fixe...
wangtzh/foedus_code
experiments-core/src/foedus/tpcc/silo_related/run_silo_mid.sh
Shell
gpl-2.0
952
#!/bin/bash `dirname $0`/run_ml.sh 60D 111 $*
ProjektMedInf/ProjMedInf
magic-lantern/contrib/qemu/scripts/run_ml_60D.sh
Shell
gpl-2.0
47
#!/usr/bin/env bash # # This code is part of Pcap_DNSProxy # Pcap_DNSProxy, a local DNS server based on WinPcap and LibPcap # Copyright (C) 2012-2019 Chengr28 # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Soft...
rampageX/Pcap_DNSProxy
Source/Auxiliary/Scripts/Update_WhiteList.sh
Shell
gpl-2.0
2,299
#!/bin/bash export RTMIDI_API=MACOSX_CORE export DYLD_LIBRARY_PATH=/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/lib MODULE=`basename $0 .sh` EEGSYNTH=$HOME/eegsynth INIDIR=`dirname $0` $EEGSYNTH/module/$MODULE/$MODULE.py -i $INIDIR/playback...
oostenveld/eegsynth-matlab
patches/caroltrio/playbacksignal_sound.sh
Shell
gpl-2.0
337
#!/bin/sh if cli-shell-api existsActive service task-scheduler; then /etc/init.d/cron restart else echo "Task scheduler is not configured" fi
osvx/vyatta-cron
scripts/vyatta-restart-crond.sh
Shell
gpl-2.0
150
. /usr/share/libubox/jshn.sh . /usr/share/wginstaller/wg.sh wg_timeout () { local int=$1 handshake=$(wg show $int latest-handshakes | awk '{print $2}') timeout=$(uci get wgserver.@server[0].timeout_handshake) if [ $handshake -ge $timeout ]; then echo "1" else echo "0" fi } wg_check_interface () { local i...
tru7/packages
net/wg-installer/wg-server/lib/wg_functions.sh
Shell
gpl-2.0
2,307
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. DIE=0 if [ -n "$GNOME2_DIR" ]; then ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS" LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH" PATH="$GNOME2_DIR/bin:$PATH" export PATH export LD...
coolshou/multiget
autogen.sh
Shell
gpl-2.0
4,519
#!/bin/sh test_description='test dumb fetching over http via static file' . ./test-lib.sh . "$TEST_DIRECTORY"/lib-httpd.sh start_httpd test_expect_success 'setup repository' ' git config push.default matching && echo content1 >file && git add file && git commit -m one && echo content2 >file && git add file && ...
ajshastri/git
t/t5550-http-fetch-dumb.sh
Shell
gpl-2.0
13,112
# Plowshare depositfiles.com module # Copyright (c) 2010-2013 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, o...
Raziel-23/plowshare-modules-legacy
depositfiles.sh
Shell
gpl-3.0
13,270