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
#!/bin/bash StudentName=`zenity --entry --title "Your Name" --text "Please enter your name (with no spaces) so we can store your work"` git checkout -b "$StudentName" while [ $? -ne 0 ]; do StudentName=`zenity --entry --title "Your Name" --text "Please enter your name again (with no spaces, you may need your surname...
UTC-Sheffield/mcpi_ideas
end_session.sh
Shell
gpl-3.0
555
# Bulk convert shapefiles to geojson using ogr2ogr # Outputs as geojson with the crs:84 SRS (for use on GitHub or elsewhere) CONTENT_DIR=./content mkdir -p ${CONTENT_DIR} function shp2geojson() { ogr2ogr -f GeoJSON -t_srs crs:84 "$1.geojson" "$1.shp" } #unzip all files in a directory for var in *.zip; do unzip -...
sbobovyc/Scalable-Warfare-Engine
src/web/geojson-conversion.sh
Shell
gpl-3.0
448
# Opentestbench : an open-source framework to assess the performances of image compression schemes # Copyright (C) 2015 intoPIX s.a. , Sébastien Lugan # Copyright (C) 2015 Universite Catholique de Louvain, Alexandre Willème # # Opentestbench is free software: you can redistribute it and/or modify # it...
uclouvain/opentestbench
benchmark/j2ktba_VISUAL/j2ktba_VISUAL.sh
Shell
gpl-3.0
9,051
#!/usr/bin/env bash set -e brew uninstall parallel # conflicts with moreutils brew install moreutils brew install wget brew cask install xquartz PYTHON_VERSION="python-3.7.7-macosx10.9.pkg" wget "https://www.python.org/ftp/python/3.7.7/$PYTHON_VERSION" sudo installer -pkg "$PYTHON_VERSION" -target / # Works ar...
cfriedt/gnuradio-for-mac-without-macports
scripts/install-ci-dependencies.sh
Shell
gpl-3.0
584
#!/bin/bash java -cp baraza.jar org.baraza.ide.BSetup ./projects/setup.xml
enbiso/openbaraza
build/setup.sh
Shell
gpl-3.0
76
cd ./src make clean make all cd -
markmccormack/concentrator
build.sh
Shell
gpl-3.0
34
#!/bin/bash # useful script to test all the different build types that we support. # This helps when doing large merges # Andrew Tridgell, November 2011 . ~/.profile set -ex # CXX and CC are exported by default by travis c_compiler=${CC:-gcc} cxx_compiler=${CXX:-g++} unset CXX CC export BUILDROOT=/tmp/ci.build rm -...
squilter/ardupilot
Tools/scripts/build_ci.sh
Shell
gpl-3.0
6,295
#!/bin/bash set -e pegasus_lite_version_major="4" pegasus_lite_version_minor="7" pegasus_lite_version_patch="0" pegasus_lite_enforce_strict_wp_check="true" pegasus_lite_version_allow_wp_auto_download="true" . pegasus-lite-common.sh pegasus_lite_init # cleanup in case of failures trap pegasus_lite_signal_int INT trap...
elainenaomi/sciwonc-dataflow-examples
dissertation2017/Experiment 1B/logs/w-07-A/20161211T020215+0000/00/00/statscpumemory_0_ID0000003.sh
Shell
gpl-3.0
1,252
python parser.py -f fromScholar.bib -p Alyaev python parser.py -f reports.bib -p Alyaev -o reports.tex
alin256/alayev--v-eu
python/run_parser.sh
Shell
gpl-3.0
103
#!/bin/sh mkdir /usr/share/artisan/SR700 cp cmds/*.py /usr/share/artisan/SR700/
infinigrove/SR700-Artisan-PDServer
Install.linux.sh
Shell
gpl-3.0
81
#!/bin/bash -e # helper function for see information about writing data write(){ [ "$#" == "2" ] || return 0 val="$1" file="$2" echo $val >> $file echo "$val >> $file" } manage_zram(){ case $1 in start) [ -z ${zram[size]} ] && return 0 # if module not loaded create many zr...
MaximKraev/systemd-swap
systemd-swap.sh
Shell
gpl-3.0
4,467
# For the revision. for h in cornell1 cornell2 cornell3 cornell4 cornellfx5 cornellfx6 cornellfx7 cornellfx8 cornellfx9 cornellfx10 ; do sed s/SPECIESNAME/$h/g < R/obsiter.R > R/obsiter.R.temp Rscript R/obsiter.R.temp > R/obsiter.R.$h done rm R/obsiter.R.temp # For the submitted version #for h in {1..4}; do # sed...
goshng/Mauve-Analysis
R/obsiter.sh
Shell
gpl-3.0
443
docker run -tiP -v ~/github/node_core/app/index.js:/home/node/index.js \ -v ~/github/node_core/app/js:/home/node/js \ -v ~/github/node_core/app/img:/home/node/img \ -v ~/github/node_core/app/css:/home/node/css \ -v ~/github/node_core/app/fonts:/home/node/f...
keyax/node_core
docknode.sh
Shell
gpl-3.0
380
#!/bin/bash #================ # FILE : config.sh #---------------- # PROJECT : OpenSuSE KIWI Image System # COPYRIGHT : (c) 2013 SUSE LINUX Products GmbH. All rights reserved # : # AUTHOR : Robert Schweikert <rjschwei@suse.com> # : # BELONGS TO : Operating System...
b1-systems/kiwi
build-tests/x86/suse/test-image-azure/config.sh
Shell
gpl-3.0
3,666
#!/bin/bash set -e pegasus_lite_version_major="4" pegasus_lite_version_minor="6" pegasus_lite_version_patch="0" . pegasus-lite-common.sh pegasus_lite_init # cleanup in case of failures trap pegasus_lite_exit INT TERM EXIT echo -e "\n################################ Setting up workdir ###############################...
elainenaomi/sciwonc-dataflow-examples
sbbd2016/data/google-cloud/w-08/dags/elaine.n.watanabe/pegasus/example_workflow/20160517T182651+0000/calculateratio_2_ID0000007.sh
Shell
gpl-3.0
1,098
#!/bin/sh unzip -o core-latency-20190614.zip cd core-latency-master make echo $? > ~/install-exit-status cd ~ echo "#!/bin/sh cd core-latency-master ./core-latency > \$LOG_FILE 2>&1 echo \$? > ~/test-exit-status" > core-latency chmod +x core-latency
phoronix-test-suite/phoronix-test-suite
ob-cache/test-profiles/pts/core-latency-1.0.0/install.sh
Shell
gpl-3.0
253
if [ -z $TMPDIR ]; then TMPDIR="/tmp" fi GREP=""; if [[ -n $2 ]]; then GREP="grep \"<$2>\"" ; else GREP="grep \"<.*>\""; fi echo $GREP if [[ $1 = "tat-kaz" ]]; then hfst-fst2strings ../.deps/tat.LR-debug.hfst | sort -u | sed 's/:/%/g' | cut -f1 -d'%' | sed 's/^/^/g' | sed 's/$/$ ^.<sent>$/g' | tee $TMPDIR/tmp_...
wikimedia/operations-debs-contenttranslation-apertium-kaz-tat
dev/inconsistency.sh
Shell
gpl-3.0
1,506
#!/bin/sh # ensure that touch f; ln -T f no-such-file/ does not mistakenly succeed # Copyright (C) 2009-2018 Free Software Foundation, Inc. # 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 Software Foundation, eith...
pexip/os-coreutils
tests/ln/slash-decorated-nonexistent-dest.sh
Shell
gpl-3.0
1,017
#!/bin/bash # file to manage : # - .aliases # - .bash_profile # - .bash_prompt # - .bashrc # - .exports # - .functions # - .vimrc # - .vim # - .screenrc execPath=$(cd $(dirname $0); pwd) workDir=$HOME files[0]=".aliases" files[1]=".bash_profile" files[2]=".bash_prompt" files[3]=".bashrc" files[4]=".exports" files[5...
Fredoo404/dotfiles
dotfiles.sh
Shell
gpl-3.0
1,134
#!/bin/sh if [ $# -lt 1 ]; then cat <<EOF Usage: blackbox_s3upgrade.sh PREFIX EOF exit 1; fi PREFIX=`pwd`"/$1" shift 1 samba4bindir="$BINDIR" samba_tool="$samba4bindir/samba-tool" samba_net="$samba4bindir/net" testparm="$samba4bindir/testparm" . `dirname $0`/../../../testprogs/blackbox/subunit.sh rm -rf $PREFIX/sa...
amitay/samba
source4/setup/tests/blackbox_s3upgrade.sh
Shell
gpl-3.0
3,533
#!/bin/bash function play() { echo "+----------------------------------------------+"; echo "Start FM transmission on $frequence MHz"; echo "+----------------------------------------------+"; for musique in `ls "$dossier"*.mp3 "$dossier"*.wav "$dossier"*.flac "$dossier"*.mov $option 2>/dev/null` do echo ""; ...
0x010C/piFMp
pifmp-old.sh
Shell
gpl-3.0
1,384
#!/usr/bin/env bash for j in `seq 1 $3`; do for i in `seq 1 $1`; do taskset -c $(($(($j-1))*$4)) cpulimit -l $2 inf-loop.sh & done # for i in `seq 1 $1`; do nice --9 taskset -c $(($(($j-1))*$4)) inf-loop.sh & done done
Baseerat/ansible
apps/vmware/roles/workload/files/inf-loop-cpulimit.sh
Shell
gpl-3.0
226
# Copyright (C) 1998-2014 ABINIT group (XG) sed -e 's&#CODE_PAR&$CODE_PAR&' Utilities/,perl_tmp > Utilities/,perl_location_command
SamKChang/abinit-7.10.5_multipole
developers/various/change_perl.sh
Shell
gpl-3.0
132
#!/bin/bash # # hipfile.com module # Copyright (c) 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, or # (a...
alexreg/plowshare
src/modules/hipfile.sh
Shell
gpl-3.0
19,817
#!/bin/sh unzip -o selenium-scripts-9.zip # Drivers unzip -o geckodriver-v0.26.0-win64.zip unzip -o chromedriver_win32_v79.zip # Script echo "#!/bin/sh cmd /c \"\$DEBUG_REAL_HOME\AppData\Local\Programs\Python\Python37\Scripts\pip3.exe\" install --user selenium rm -f run-benchmark.py cp -f selenium-run-\$1.py run-benc...
phoronix-test-suite/phoronix-test-suite
ob-cache/test-profiles/system/selenium-1.0.16/install_windows.sh
Shell
gpl-3.0
1,085
#!/bin/bash silver -I .. -o logic.jar $@ logic
krame505/logic
compile.sh
Shell
gpl-3.0
48
#!/bin/bash PIDNUM=`cat var/run/lighttpd.pid` kill -9 $PIDNUM
NachE/robWI
stop.sh
Shell
gpl-3.0
64
#/bin/bash function cloneCode { cd /root/sensys git config --global url.https://.insteadof git:// git clone git://sid-gerrit.devtools.intel.com/css/grei cd ./grei git fetch git checkout -b remote_origin_v0.27 origin/v0.27 } function configODBC { cd /root/sensys/grei sed -i '/Driver = <Path to the PostgreSQL O...
hunering/demo-code
sensys/dockerfile/centos/install-sensys.sh
Shell
gpl-3.0
2,356
#!/bin/bash ################################################################### # Copyright (C) 2016 Jonathan Soto Veneri # # # # This program comes with ABSOLUTELY NO WARRANTY. # # This is free software, and you ar...
John3/Jx
scripts/mq75_uninstall_server.sh
Shell
gpl-3.0
2,015
#!/bin/bash -e . ../lfs.comm build_src() { version=5.19 srcfil=file-$version.tar.gz srcdir=file-$version tar -xf $LFSSRC/$srcfil && cd $srcdir ./configure --prefix=/usr make $JOBS make check make install cd .. && rm -rf $srcdir } build
fangxinmiao/projects
Architeture/OS/Linux/Distributions/LFS/build-scripts/lfs-7.6-systemd/2-build-final-system/05-File.sh
Shell
gpl-3.0
278
#!/bin/bash -e # The Procps package contains programs for monitoring processes. . ../lfs.comm build_src() { version=3.3.12 srcfil=procps-ng-$version.tar.xz srcdir=procps-ng-$version tar -xf $LFSSRC/$srcfil && cd $srcdir ./configure --prefix=/usr \ --exec-prefix= \ --libdir=/usr/...
fangxinmiao/projects
Architeture/OS/Linux/Distributions/LFS/build-scripts/lfs-8.2-systemd/2-build-final-system/48-Procps-ng.sh
Shell
gpl-3.0
642
#!/bin/bash #Includes . ./sources/common_files.sh #Prototype: really_convert_file in_filename out_filename function really_convert_file () { $BASE_LAME_COMMAND "${1}" "${2}" &> /dev/null return $? } #Prototype: really_apply_gain file_to_gain function really_apply_gain () { $BASE_MP3GAIN_COMMAND "${1}" &> /dev/nul...
fsvm88/mp3conv
sources/execs.sh
Shell
gpl-3.0
1,732
#!/bin/sh # USAGE: add_if_suricata.sh wg0 CUSTOM_RULES="/mnt/data/suricata-rules" for file in $(find ${CUSTOM_RULES} -name '*.rules' -print) do if [ -f "${file}" ]; then bname=$(basename ${file}) cp "${file}" "/run/ips/rules/${bname}" # Check if the existing filename is already in the rule...
opustecnica/public
UDM/add_if_suricata.sh
Shell
gpl-3.0
896
#!/usr/bin/env bash # # This script builds the application from source for multiple platforms. set -e # Get the parent directory of where this script is. SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )" # Change into that d...
dayglojesus/packer
scripts/build.sh
Shell
mpl-2.0
1,738
#!/bin/bash # DEPENDENCIES # On UBUNTU run # sudo apt-get install git-core build-essential curl openssl libssl-dev function usage { echo "Usage: $0 newProjectDir nodejsGitTag" echo "e.g. $0 fooProj v0.6.9" } if [ $# -ne 2 -o $# -eq 0 -o "$1" == "-h" ]; then usage exit 1 fi ORIG_DIR=`pwd` SCRIPT_DIR="$( c...
creativewebsrl/boardespresso
init.sh
Shell
agpl-3.0
1,433
#!/bin/sh # update-repair script for nosh-cs set -e # Check if running as root user if [[ $EUID -ne 0 ]]; then echo "This script must be run as root. Aborting." 1>&2 exit 1 fi # Check os and distro if [[ "$OSTYPE" == "linux-gnu" ]]; then if [ -f /etc/debian_version ]; then # Ubuntu or Debian WEB_GROUP=www-da...
shihjay2/nosh-cs
updaterepair.sh
Shell
agpl-3.0
1,854
#!/usr/bin/env bash set -e echo "" > coverage.txt for d in $(go list ./... | grep -v vendor); do go test -race -v -cpu=2 -coverprofile=profile.out -covermode=atomic $d if [ -f profile.out ]; then cat profile.out >> coverage.txt rm profile.out fi done
ofux/deluge
test.sh
Shell
agpl-3.0
281
#!/bin/bash # # generate python files based on the designer ui files. pyuic4 and pyrcc4 # should be on the path. # if [ ! -d "designer" ] then echo "Please run this from the project root" exit fi mkdir -p aqt/forms init=aqt/forms/__init__.py temp=aqt/forms/scratch rm -f $init $temp echo "# This file auto-gen...
timrae/anki
tools/build_ui.sh
Shell
agpl-3.0
939
#!/bin/bash cd ~/Downloads function showStatus() { printf "${1}\n" } showStatus "Running RaspberryPi setup" showStatus "Purging unnecessary packages" sudo apt-get remove --purge -y scratch2 minecraft-pi wolfram-engine sonic-pi dillo libreoffice libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-bas...
PrabhanshuAttri/dev-files
installers/raspberry.sh
Shell
agpl-3.0
1,288
#!/usr/bin/env bash source /root/.bashrc cd /hail-elasticsearch-pipelines python2.7 gcloud_dataproc/submit.py --run-locally "$@"
macarthur-lab/xbrowse
deploy/docker/pipeline-runner/config/run_hail_locally.sh
Shell
agpl-3.0
132
#!/bin/bash BOOKDIR=../essential-scala/dist STEM=essential-scala sbt "run $BOOKDIR/$STEM.pdf $BOOKDIR/$STEM-preview.pdf $BOOKDIR/$STEM-preview-with-full-toc.pdf" open $BOOKDIR/$STEM-preview-with-full-toc.pdf
d6y/toctastic
escala.sh
Shell
agpl-3.0
207
#!/bin/bash #placeholder script for historical analysis curl https://www.biopharmcatalyst.com/calendars/historical-catalyst-calendar | grep -oP "ticker.*?<|data-value.*?>" | sed 's/.*>\(.*\)</\1/g' | sed 's/.*\"\(.*\)\".*/ \1/g' | tr -d '\n'|sed 's/\([0-9]\{10\}\)/\1\n/g'| sed 's/\s\+/ /g' | sed 's/Ticker//g' | sed 's...
automayt/pharmakarma
scripts/history.sh
Shell
agpl-3.0
392
#!/bin/sh # fast way to build the ZIP for testing an deployment mvn -pl '!languagetool-http-client,!languagetool-wikipedia,!languagetool-office-extension,!languagetool-dev,!languagetool-rpm-package,!languagetool-tools' clean package -DskipTests
jimregan/languagetool
build-zip.sh
Shell
lgpl-2.1
246
#!/bin/sh LAIK_BACKEND=single ../examples/propagation2d 10 10 > test-propagation2d-10.out cmp test-propagation2d-10.out "$(dirname -- "${0}")/test-propagation2d-10.expected"
envelope-project/laik
tests/test-propagation2d-10-single.sh
Shell
lgpl-3.0
174
#!/bin/bash #find . -name 'SupportTool.exe' cd ~/.steam/debian-installation/steamapps/common/Divinity\ Original\ Sin\ 2/ mv -iv ./bin ./bin.bak \ && ln -sv DefEd/bin bin \ && cd bin \ && mv -iv ./SupportTool.exe ./SupportTool.bak \ && ln -sv EoCApp.exe SupportTool.exe
ericherman/code-snips
shell/fix-divinity-2.sh
Shell
lgpl-3.0
275
#!/bin/bash # applies every script (has to be given via parameter) to all xml-files in the current folder # if a script failes the filename of the xml-file will be written to 'out.txt' > out.txt scripts=("$@") for i in *.xml do echo $i for arg in "${scripts[@]}"; do echo $arg if (perl $arg $i) then echo...
haoess/dta-tools
tei-checks/check_all.sh
Shell
lgpl-3.0
382
#!/bin/bash if [ -z "${COMEDI_DEV_ROOT}" ] ; then echo "You have not sourced the file commands.sh yet" /bin/echo -ne "please do the following\n\n" echo " cd .. && source commands.sh && cd -" exit 1 fi function setall_outputs() { value=$1 incr=$2 if [ -z $incr ] ; then incr=1 ...
accesio/AIOComedi
tests/test_pcie_iiro8.sh
Shell
lgpl-3.0
1,352
#!/usr/bin/env bash set -e if [[ "$RUN_TESTS" == "ON" ]] then docker pull tangocs/mysql:9.2.2 docker pull tangocs/tango-cs:latest git clone -b Release_1.15 --depth 1 https://github.com/tango-controls/tango_admin.git else mkdir tango_admin fi if [[ "$SONAR_SCANNER" == "ON" || "$COVERALLS" == "ON" ]] then g...
tango-controls/cppTango
.travis/before_install.sh
Shell
lgpl-3.0
971
# This is a quick bash script to ensure all the # lessons work as expected. Run this (./test.sh) # and make sure there are no errors in the output. yarn add webpack yarn cd lessons cd 01-basic_io webpack; rm -rf dist cd ../02-starting_point webpack; rm -rf dist cd ../03-multiple_files webpack; rm -rf dist cd ../04-mul...
freestylebit/webpack-tutorial
test.sh
Shell
unlicense
777
#!/bin/bash brew install sonar-scanner brew install tailor sudo pip install lizard bundle install --path vendor/bundle
pietrocaselani/Trakt-Swift
setup.sh
Shell
unlicense
120
ogr2ogr -f GeoJSON -t_srs EPSG:4326 AddressPoints.geojson AddressPoints.shp
baltimorecounty/address-points
script/shp2geojson.sh
Shell
unlicense
75
#!/usr/bin/env bash # ----------------------------------------------------------------------------- # tvim: open file(s) in parent vim instance # # USAGE: # tvim <layout> [<file> <file>...] # # Layout # sp Open file in horizontal split # vs Open file in vertical split # tab Open file in tab # # See Als...
atweiden/macfiles
.functions.d/tvim.sh
Shell
unlicense
1,046
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" #" echo "Running MongoDB container called mongodb" MONGO_ID=$(docker run -t -v $DIR/data:/data --name=mongodb -d dockerfile/mongodb mongod) GRAPH_OPTS="-t -p 80 -v $DIR/app:/home/app --link=mongodb:db" if [ ! -z "$1" ]; then echo "Running grap...
pirati-cz/DEPRECATED-graph
run-container.sh
Shell
unlicense
553
#!/usr/bin/env bash export SCALA_HOME=/opt/scala-2.10.3 export SPARK_HOME=__SPARK_HOME__ export SPARK_WORKER_CORES=1 export SPARK_MASTER_IP=__MASTER__ export HADOOP_HOME="/etc/hadoop" export MASTER="spark://__MASTER__:7077" export SPARK_LOCAL_DIR=/tmp/spark #SPARK_JAVA_OPTS="-Dspark.local.dir=/tmp/spark " #SPARK_JAVA_O...
LuqmanSahaf/etcd-spark
spark-1.1.0/spark-base/files/spark-env.sh
Shell
apache-2.0
790
#!/usr/bin/env bash set -e # Install build toolchain and compilers apt-get -qq update && apt-get -qq install -y --no-install-recommends \ autoconf \ automake \ bzip2 \ file \ g++ \ gcc \ make \ cmake \ clang \ scons \ patch \ xz-utils # Cleanup rm -rf /var/lib/apt/lists/*
Dockbit/library
base/components/build_toolchain.sh
Shell
apache-2.0
301
#!/bin/bash set -u IMG=$1 if [ -z ${IMG} ]; then exit; fi cat > config/overlays/dev-image-config/inferenceservice_patch.yaml << EOF apiVersion: v1 kind: ConfigMap metadata: name: inferenceservice-config namespace: kfserving-system data: storageInitializer: |- { "image" : "${IMG}", "memoryR...
kubeflow/kfserving-lts
hack/storageInitializer_patch_dev.sh
Shell
apache-2.0
434
#!/bin/bash npm install -g npm@latest npm install -g forever
riadev/3DN
setup_dependency.bash
Shell
apache-2.0
62
#!/usr/bin/env bash #********************************************************************** # Copyright 2016 Crown Copyright # # 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://ww...
gchq/stroom
stroom-ui/docker/build.sh
Shell
apache-2.0
1,198
#!/usr/bin/env bash # See https://github.com/codecov/example-cpp11-cmake/blob/master/.travis.yml if [ "$GCOV" != "" ]; then lcov --gcov-tool $GCOV --capture --directory src/bm_sim/.libs/ --output-file coverage.info lcov --remove coverage.info '/usr/*' --output-file coverage.info lcov --remove coverage.info '...
p4lang/behavioral-model
travis/codecov.sh
Shell
apache-2.0
426
#!/usr/bin/env bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../ && pwd )" export PYTHONPATH="${PYTHONPATH}:${DIR}" VENV_DIR=${DIR}/.venv action_init () { . ${VENV_DIR}/bin/activate } ### Main action_init
vin0110/haas
scripts/init.sh
Shell
apache-2.0
217
#!/bin/bash # Copyright 2016 gRPC authors. # # 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 t...
jtattermusch/grpc
tools/run_tests/dockerize/build_and_run_docker.sh
Shell
apache-2.0
3,078
#!/bin/bash # avoid dpkg frontend dialog / frontend warnings export DEBIAN_FRONTEND=noninteractive # Prepare to install Oracle apt-get update && apt-get install -y libaio1 net-tools bc && ln -s /usr/bin/awk /bin/awk && mkdir /var/lock/subsys && mv /assets/chkconfig /sbin/chkconfig && chmod 755 /sbin/chkconfig && # I...
wnameless/docker-oracle-xe-11g
assets/setup.sh
Shell
apache-2.0
1,942
#!/bin/bash ### ================================================================================================ ### 프로그램 명 : initialize.bash, Version 0.00.002 ### 프로그램 설명 : CentOS 초기화 (수작업) ### https://github.com/pnuskgh/Initialize ### 작성자 ...
pnuskgh/Initialize
initialize.bash
Shell
apache-2.0
3,112
#!/bin/sh . /opt/dsg/bin/fglSetEnv.sh echo "set JAVA_HOME to ${JAVA_HOME}" HOSTNAME=`hostname` echo "hostname is set to ${HOSTNAME}" function createAgents { fglcmd.sh -cmd agent:create -name ${HOSTNAME}_linux -type Linux_System -host ${HOSTNAME} echo "LInux_System agent create done" fglcmd.sh -cmd agent:create...
vannorton/chef-repo-medrec-demo
cookbooks/foglight/files/default/configAgents.sh
Shell
apache-2.0
1,457
#!/bin/bash openstack project create --description "Kubernetes on Openstack: Lab-01" kube-os-lab-01 openstack project create --description "Kubernetes on Openstack: Lab-02" kube-os-lab-02 openstack project create --description "Kubernetes on Openstack: Lab-03" kube-os-lab-03 openstack project create --description "Kube...
v1k0d3n/traveling-circus
preparation/openstack/add-labs.sh
Shell
apache-2.0
2,212
#!/bin/sh . /home/db2inst1/sqllib/db2profile db2ts stop for text db2 force application all db2stop
skymeyer/syspreps
susestudio/SugarEPS/sysprep/db2scripts/db2-stop.sh
Shell
apache-2.0
100
dir=/hps/nobackup2/production/ensembl/anja/gnomad/Genomes/ for i in {1..22} X Y do mv $dir/gnomad.genomes.r2.1.sites.chr${i}.vcf.gz $dir/gnomad.genomes.r2.1.sites.chr${i}_noVEP.vcf.gz done
at7/work
pipelines/remap_gnomad/genomes/rename_trimmed_files.sh
Shell
apache-2.0
191
#!/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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
google/tink
tools/testing/cross_language/aead_envelope_test.sh
Shell
apache-2.0
4,043
#!/bin/bash ################################################################ # (c) Copyright 2018 B-LUC Consulting and Thomas Bullinger # # 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 # #...
B-LUC/AdminTools
usr/local/sbin/.Appliances/mx.postinstall.sh
Shell
apache-2.0
30,128
#!/bin/bash # Copyright 2016 The Kubernetes Authors. # # 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 o...
mikedanese/test-infra
jobs/maintenance-pull-clean-ssh-keys.sh
Shell
apache-2.0
1,036
#!/bin/sh set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRO...
jingchc/Mr-Ride-iOS
Pods/Target Support Files/Pods/Pods-frameworks.sh
Shell
apache-2.0
4,094
#!/bin/bash # Run any command in the devel image set -e set -x CURDIR="$(dirname $BASH_SOURCE)" . $CURDIR/build-env.sh RUN_ARGS=( \ --rm -v $PWD:$PWD --workdir $PWD -e CLEAN_BUILD -e IMG_TAG -e BUILD_IMG_TAG -e BUILD_VERSION -e BUILD_INFO -e LOCAL_USER_ID=$(id -u) -e COVERALLS_REPO_TOKEN=$COVERA...
michaeldayreads/marathon-bigip-ctlr
build-tools/run-in-docker.sh
Shell
apache-2.0
495
#!/bin/bash # # Copyright IBM Corp. All Rights Reserved. # # SPDX-License-Identifier: Apache-2.0 # PATH=build/bin/:${PATH} # Takes in 4 arguments # 1. Output doc file # 2. Preamble Text File # 3. Postscript File # 4. Array of commands generateHelpText() { local DOC="$1" local preamble="$2" local postscript...
manish-sethi/fabric-sidedb
scripts/help_docs.sh
Shell
apache-2.0
4,813
#connect the SAP HANA Integration System #hdbuserstore set <mykey> <host:port> <user> <password> hdbuserstore set HXECIKEY "${HANA_HOST}:${HANA_PORT}" "${HANA_USER}" "${HANA_PASSWORD}" #create workspace local on the Jenkins server regi create workspace regi_workspace --key=HXECIKEY -f cd regi_workspace mkdir -p ${PAC...
seVladimirs/SITreg
build.sh
Shell
apache-2.0
1,792
#!/bin/bash # # Copyright 2018 Google Inc # # 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 t...
google/crmint
scripts/install.sh
Shell
apache-2.0
1,569
#!/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"); y...
mlperf/training_results_v0.7
Fujitsu/benchmarks/resnet/implementations/implementation_open/mxnet/3rdparty/tvm/docker/install/ubuntu_install_llvm.sh
Shell
apache-2.0
1,879
#!/usr/bin/env bats @test "noms help" { noms --help }
evernote/noms-client
spec/02noms.sh
Shell
apache-2.0
62
#!/usr/bin/env bash source `pwd`/env-setup.sh if [ -f /etc/dcos-setup-done ]; then log "DCOS ${DCOS_NODE_TYPE} already set up." else log "Setting up DCOS ${DCOS_NODE_TYPE}..." curl -O http://${BOOTSTRAP_NODE_ADDRESS}:${BOOTSTRAP_PORT}/dcos_install.sh if [ "${DCOS_NODE_TYPE}" = "master" ]; then bash ./dco...
data-fellas/dcos-up
provision/setup-dcos-node.sh
Shell
apache-2.0
2,148
# Edu-related packages pkgs="$pkgs idle python3-pygame python-pygame python-tk idle3 python3-tk python-picamera python3-picamera python3-pygame python-pygame python-tk python3-tk dillo x2x scratch nuscratch timidity smartsim penguinspuzzle pistore sonic-pi python3-numpy python3-pifacecommon python3-pifacedigitalio pyt...
BoatData/pi_config
scripts/strip_pi.sh
Shell
apache-2.0
1,625
#!/bin/bash # Copyright 2015 Insight Data Science # # 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 ...
InsightDataScience/pegasus
service/storm/start_master.sh
Shell
apache-2.0
807
: '@(#)vnmr_setgauss.sh 22.1 03/24/08 1991-1996 ' # # # Copyright (C) 2015 University of Oregon # # You may distribute under the terms of either the GNU General Public # License or the Apache License, as specified in the LICENSE file. # # For more information, see the LICENSE file. # # : setgauss : add a Gaussian...
OpenVnmrJ/OpenVnmrJ
src/scripts/vnmr_setgauss.sh
Shell
apache-2.0
504
#!/bin/sh SCRIPT_PATH=$1 TARGET=${SCRIPT_PATH}../ocf_mylight_default_db.c TOOL="$(basename $0)" TIMESTAMP=`date -R` if [ $# -ne 0 ]; then cd ${SCRIPT_PATH} fi echo $TOOL $TIMESTAMP cat tpl_head.c > ${TARGET} xxd -i default_svr_db.json >> ${TARGET} echo "#ifdef CONFIG_EXAMPLES_OCFMYLIGHT_DIMMER" >> ${TARGET} xxd -i ...
JunhwanPark/TizenRT
apps/examples/ocf_mylight/json/generate_c.sh
Shell
apache-2.0
672
# Copyright © 2018 Feature.su. All rights reserved. # Licensed under the Apache License, Version 2.0 yum -y install wkhtmltopdf xorg-x11-server-Xvfb xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi # xvfb-run -a -s "-screen 0 1024x768x24" wkhtmltopdf http://www.google.com output.pdf
faew/linux.feature
script/centos7/40-install-wkhtmltopdf.sh
Shell
apache-2.0
282
#!/bin/bash # This variant of the lein script is meant for downstream packagers. # It has all the cross-platform stuff stripped out as well as the # logic for running from a source checkout and self-install/upgrading. export LEIN_VERSION="2.6.1" if [ "$(whoami)" = "root" ] && [ "$LEIN_ROOT" = "" ]; then echo "WA...
loewenstein/jepsen-release
src/leiningen/lein.sh
Shell
apache-2.0
4,338
git clone ssh://git@stash.sisa.samsung.com:7999/csil/stelvio.git
bayvictor/distributed-polling-system
bin/gitclone.sh
Shell
apache-2.0
65
#!/bin/bash VERSION=0.2 TMPDIR=/tmp/google-api-php-client RELFILE=/tmp/google-api-php-client-${VERSION}.tar.gz rm -f $RELFILE rm -rf $TMPDIR mkdir $TMPDIR cp -r * $TMPDIR cd $TMPDIR find . -name ".*" -exec rm -rf {} \; &>/dev/null cd .. tar c google-api-php-client | gzip > $RELFILE rm -rf $TMPDIR
amaxwell01/heka-interactive-google-buzz-app
google-api-php-client/makeRelease.sh
Shell
apache-2.0
315
#!/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"); you...
dougc333/bigtopdc
bigtop-packages/src/common/zookeeper/hadoop-zookeeper.sh
Shell
apache-2.0
5,114
#!/bin/bash set -euo pipefail scripts/setup1-infra.sh scripts/setup2-containers.sh scripts/setup3-showconf.sh
moretea/microservices-demo
deploy/aws-ecs/setup.sh
Shell
apache-2.0
112
#! /system/bin/sh /system/bin/iw reg set `getprop ro.product.locale.region`
baidurom/devices-onex
vendor/system/bin/initial_regdom.sh
Shell
apache-2.0
77
#!/bin/sh ############################ ##change current directory ############################ if [ `echo $0 | grep -c "/"` -gt 0 ];then cd ${0%/*} fi schemeName="Dentist" binDir=`pwd` destinationDir="`pwd`/../packages" ###最终生成文件目录 projectName="`pwd`/../Dentist.xcodeproj" workspaceName="`pwd...
BenXia/Dentist
Bin/createPackages.sh
Shell
artistic-2.0
7,648
rename -v 's/frasier_season_//' *.mp4 rename -v 's/_episode//' *.mp4 rename -v 's/-(.*)\.mp4/.mp4/' *.mp4
herodotous/pururin
rename.sh
Shell
artistic-2.0
115
#!/bin/bash function nvm_load { case "$(uname)" in MINGW*) ;; *) export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm ;; esac } function nvm_use { echo "Using version: $NODE_VERSION -- arch: $NODE_ARCH"; ...
bureau14/qdb-api-nodejs
scripts/teamcity/commands.sh
Shell
bsd-2-clause
737
#!/usr/bin/env sh if [ -t 1 ]; then echo Redirect stdout to output-file exit 1 fi set -e soxi "$1" 1>&2 echo >&2 Converting to little-endian s16 mono at rate 44k1 sox "$1" -t raw -e signed -b 16 -L - channels 1 rate 44100
biotty/rmg
sound/import_sample.sh
Shell
bsd-2-clause
232
# This hook creates wrappers for foo-config scripts in cross builds. # # Wrappers are created in ${wrksrc}/.xbps/bin and this path is appended # to make configure scripts find them. generic_wrapper() { local wrapper="$1" [ ! -x ${XBPS_CROSS_BASE}/usr/bin/${wrapper} ] && return 0 [ -x ${XBPS_WRAPPERDIR}/${wrapper} ]...
ylixir/void-packages
common/hooks/pre-configure/02-script-wrapper.sh
Shell
bsd-2-clause
3,933
#!/bin/sh # absolute path to application we are testing application=$FCLAW_APPLICATIONS_BUILD_DIR/clawpack/shallow/2d/bump/bump # change to source dir for working directory cd $FCLAW_APPLICATIONS_SRC_DIR/clawpack/shallow/2d/bump/ # run programs, exit script with nonzero on failure (or else script will exit with value...
ForestClaw/forestclaw
applications/clawpack/shallow/2d/bump/regressions.sh
Shell
bsd-2-clause
539
#!/usr/bin/env sh # Compute the mean image from the imagenet training lmdb # N.B. this is available in data/ilsvrc12 DATA=$1 DIRPATH=$2 TOOLS=/home/hypan/workspace/caffe/build/tools $TOOLS/compute_image_mean $DATA/train_lmdb_shuffle \ $DIRPATH/train.binaryproto echo "Done."
last-one/tools
caffe/data/make_lmdb_mean.sh
Shell
bsd-2-clause
280
#!/bin/sh # Script for Vagrant provisioning export DEBIAN_FRONTEND=noninteractive echo "post provision: started" sudo locale-gen UTF-8 sudo touch /var/lib/cloud/instance/locale-check.skip echo "post provision: finished" exit 0
bborbe/vagrant
ubuntu_puppet/resources/vagrant/post_provision.sh
Shell
bsd-2-clause
231
#!/usr/bin/env bash echo '-- Install Chef...' cd /tmp curl -L https://www.opscode.com/chef/install.sh | bash echo '-- Cleanup Chef...' rm -f /tmp/chef*deb
XNerv/packer-debian
scripts/install-chef.sh
Shell
bsd-3-clause
157
#!/usr/bin/env bash set -e echo "Running simulation for 5s" timeout 5s run_avr --mcu atmega328p --freq 16000000 /input/LedToggle-atmega328p.elf
spoorcc/docker_embedded
avr/src/test.sh
Shell
bsd-3-clause
145
#!/bin/bash # stop all containers docker stop --force $(docker ps -a -q) # destroy all containers docker rm --force $(docker ps -a -q) # destroy all images docker rmi --force $(docker images -q)
GetStream/Winds
scripts/docker-cleanup.sh
Shell
bsd-3-clause
198