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/sh #/path/rshell "user input" ../bin/rshell < multi.txt
Wanderrer/rshell
tests/multi_command.sh
Shell
mit
63
#!/bin/bash # Make sure library path includes install location of Vowpal Wabbit libraries export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib;
mokelly/wabbit_wappa
scripts/bashrc.sh
Shell
mit
148
patNo=113; scriptsFolder=~sharonxx/scripts/SCDS-cbct/patient dataFolder=/stage/sharonxx/proj/mskcc/Patient$patNo cbctFolder=$dataFolder/cbct cbctImageFolder=$dataFolder/cbct/image rcctFolder=$dataFolder/rcct rcctImageFolder=$dataFolder/rcct/image rcctAtlasFolder=$dataFolder/rcct/atlas shapeFolder=$dataFolde...
XiaoxiaoLiu/SCDS
scripts/SCDS-cbct/patient/evaluateROI.bash
Shell
mit
4,121
#!/bin/bash array=( utils positioning component-loader chronos locale mini-ngrx accordion alert dropdown modal \ collapse progressbar tabs \ buttons pagination rating timepicker \ carousel datepicker popover sortable tooltip typeahead ) for i in "${array[@]}" do ng generate @nrwl/angular:library --name=$i --style=c...
valor-software/ng2-bootstrap
_root/tools/gen.sh
Shell
mit
435
#!/bin/sh set -e mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" XCASSET_FILES=() realpath() { DIRECTORY="$(cd "${1%/*}" && pwd)" FILENAME="${1##*/}" echo "$DIRECTORY/$FILENAME" } install_reso...
gs01md/testHuanXin
testHuanxin/Pods/Target Support Files/Pods/Pods-resources.sh
Shell
mit
5,248
#!/bin/bash #set -x PRG=`basename $0` function f_usage { echo "Script discovery zpools"; echo ""; echo "Usage:"; echo " $PRG "; echo ""; echo " REMARK: This script works only on Solaris OS or Linux with ZFS." exit 0; } if [ $# -ne 0 ]; then f_usage; exit 0; fi first=1; fstype="z...
AlbanAndrieu/ansible-nabla
playbooks/files/scripts/jenkins/zpool-discovery.sh
Shell
mit
719
#! /bin/bash -e # $Id$ # ----------------------------------------------------------------------------- # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell # # CppAD is distributed under multiple licenses. This distribution is under # the terms of the # Eclipse Public Lice...
kaskr/CppAD
bin/check_op_code.sh
Shell
epl-1.0
3,036
#!/bin/bash # 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; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be...
apahim/avocado-misc-tests
io/net/ethtool/ethtool_tests.sh
Shell
gpl-2.0
2,275
PARSEC_WORKLOAD="x264" . $SHELLPACK_TOPLEVEL/drivers/driver-parsec-common.sh
kdave/mmtests
drivers/driver-parsec-x264.sh
Shell
gpl-2.0
77
source $pkg_common build() { export CFLAGS="${CFLAGS} -fPIC" # Static library. $cmd_make \ bzip2 && # Shared library. $cmd_make \ -f Makefile-libbz2_so && ln -fs libbz2.so.$version libbz2.so.1 } host_install() { $cmd_mkdir "${cfg_dir_toolchain}/include" $cmd_mkdir "${cfg_dir_tool...
LSTS/glued
rules/bzip2/host.bash
Shell
gpl-2.0
484
#!/bin/bash # # Copyright (C) 2018 Red Hat, 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; either version 2 of the License, or # (at your option) any later version. # # This program is d...
dkopecek/usbguard
src/Tests/UseCase/003_cli_devices_umockdev.sh
Shell
gpl-2.0
3,087
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun ltconfig. # # Copyright (C) 1996-1999 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program is free software; you can redistrib...
petterreinholdtsen/cinelerra-hv
quicktime/thirdparty/lame-3.93.1/ltmain.sh
Shell
gpl-2.0
113,499
#!/bin/bash #dont put pgr_ on MY_FUNCTION_NAME that is done automatically MY_FUNCTION_NAME="funnyDijkstra" DEVELOPER_NAME="Celia Virginia Vergara Castillo" DEVELOPER_EMAIL="vicky_vergara@hotmail.com" YEAR="2017" # Note: the "\n " (change line and four spaces) after each comma # first line are the inputs # - t...
sankepallyrohithreddy/pgrouting
tools/template/create.sh
Shell
gpl-2.0
7,659
#!/bin/sh TEST_SCRIPT=./VMake/executableTester.sh until test -r ${TEST_SCRIPT} ; do TEST_SCRIPT=../${TEST_SCRIPT} done . ${TEST_SCRIPT} setUpdateModeFromArg ${1} testname="`basename $0 .sh`" runAndHandleSystemTestStdLocations "Underworld testRayleighTaylorBenchmark.xml --interactive=False --maxTimeSteps=5 --...
geodynamics/gale
Underworld/SysTest/RegressionTests/oldTesting/testRayleighTaylor2D.0of2.sh
Shell
gpl-2.0
512
#!/bin/sh # Run this to generate all the initial makefiles, etc. # test -f configure.in || { echo "This directory does not look like the top-level directory. stop." exit 1 } rm -rf config.cache autom4te*.cache aclocal.m4 echo "running "`autoheader --version | head -n 1` "..." autoheader || { echo "autohe...
athomason/tcpick
autogen.sh
Shell
gpl-2.0
1,166
#!/bin/bash # Fixing base variables. basedir=/var/lib/{{ ansible_local.domain.domainfull }} url=git://{{ ansible_local.domain.serverfqdn }}/client-pull-installation.git branch={{ ansible_local.domain.client_gitbranch }} # Creo directory dipendenti echo "$(date --rfc-3339=seconds) Installing bin directory." /usr/bin/i...
syntaxerrormmm/server-config
roles/ansible-pull/templates/init-ansible.sh
Shell
gpl-3.0
1,490
#!/bin/bash api="http://127.0.0.1:3000/v2.0.1/users/reminderMail" bearer="" curl -i \ -A "t6 Bash file" \ -H "Accept: application/json" \ -H "Content-Type:application/json" \ -H "Authorization: Bearer $bearer" \ -X GET $api \ --data ''
mathcoll/Easy-IOT
sensors/reminderEmail.sh
Shell
gpl-3.0
236
#!/bin/bash set -e # fail on any error set -u # treat unset variables as error rm -rf deb #create DEBIAN files mkdir -p deb/usr/bin/ mkdir -p deb/DEBIAN #create copyright, docs, compat cp LICENSE deb/DEBIAN/copyright echo "https://github.com/ethcore/parity/wiki" >> deb/DEBIAN/docs echo "8" >> deb/DEBIAN/compat #create...
immartian/musicoin
scripts/deb-build.sh
Shell
gpl-3.0
1,081
#!/bin/bash #PBS -l walltime=4:00:00 #PBS -l nodes=1:ppn=2 #PBS -l vmem=32G #PBS -N Baltic_1_3_5_500_100_no_no_60_78 cd /zhome/fc/e/102910/maritime-vrp/build LD_LIBRARY_PATH=/zhome/fc/e/102910/gcc/lib64 ./maritime_vrp ../data/old_thesis_data/program_params.json ../data/new/Baltic_1_3_5_500_100_no_no_60_78.json
OR-Bologna/maritime-vrp
opt/launchers/Baltic_1_3_5_500_100_no_no_60_78.sh
Shell
gpl-3.0
312
#!/bin/sh cat ndn-js-header.txt ../../../../build/ndn.min.js ../../../../js/transport/xpcom-transport.js > ndn-js.jsm
zhehaowang/ndn-js
tools/forwarder/firefox/modules/make-ndn-js.jsm.sh
Shell
gpl-3.0
118
#!/bin/bash for id in $(docker ps -a | grep slimerjs-wily | awk '{print $1}'); do echo "Removing ${id}" docker rm -f ${id} done
kanaka/raft.js
test/cleanup.sh
Shell
mpl-2.0
137
#!/bin/sh curl --url "http://localhost:8983/solr/$1/replication?command=backup&name=$1"
openaid-IATI/OIPA
OIPA/solr/cron/backup.sh
Shell
agpl-3.0
87
#!/bin/bash # This script sets up the netns env and then runs # the given argument which does the actual tests NS="libtrace_testing" EXEC="ip netns exec $NS" if [ "$(id -u)" != "0" ]; then echo "WARNING: this test most likely needs to be run as ROOT!" 1>&2 fi if [ "$#" -eq 0 ]; then echo "Expects at least on...
LibtraceTeam/libtrace
test/netns-env.sh
Shell
lgpl-3.0
1,489
#!/bin/bash set -euxo pipefail cd "$( dirname "${BASH_SOURCE[0]}" )" go test -tags conformity -test.timeout 60m -failfast "$@" .
ory/hydra
test/conformance/test.sh
Shell
apache-2.0
131
#!/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 ...
kenan435/kubernetes
cluster/gce/gci/configure-helper.sh
Shell
apache-2.0
62,013
#!/bin/bash -ex # 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"...
siddharthteotia/arrow
python/manylinux1/scripts/build_jemalloc.sh
Shell
apache-2.0
1,212
#!/bin/bash # Copyright 2014 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...
wojtek-t/kubernetes
cluster/gce/util.sh
Shell
apache-2.0
28,745
#!/usr/bin/env bash set -e # Create tagged image from git tag LATEST_TAG=$(git describe --abbrev=0 --always) CURRENT_VERSION=$(git describe --always) # Login to registry docker login --username="${REGISTRY_USER}" --password="${REGISTRY_PASS}" --email reg@h17n.de "${REGISTRY_HOST}" # Create and push :latest docker t...
phundament/app
build/scripts/deploy.sh
Shell
bsd-3-clause
785
#!/bin/bash # MYSQLDUMP=mysqldump -u root --password=doesntmatter $MYSQLDUMP --no-data tmlpstats_main > /output/010-structure.sql $MYSQLDUMP --no-create-info tmlpstats_main \ migrations accountabilities withdraw_codes > /output/020-lookups.sql
tmlpstats/tmlpstats
docker/mysql/redump-dumps.sh
Shell
bsd-3-clause
248
#!/bin/sh test_description="Tests for various fixed issues and regressions." . lib/test-lib.sh test_init_ipfs # Tests go here test_expect_success "ipfs init with occupied input works - #2748" ' export IPFS_PATH="ipfs_path" echo "" | time-out ipfs init && rm -rf ipfs_path ' test_expect_success "ipfs cat --help ...
peersafe/go-ipfs
test/sharness/t0500-issues-and-regressions-offline.sh
Shell
mit
485
#!/bin/bash # Configuration # --------------------------------------------------------------------- # The instructor's course repository # A good template to use for course repository names is: # SUBJECT-NUMBER-YEAR-SEMESTER (NO SPACES) readonly REPO=starterupper # Your school email address domain readonly SCHOOL...
hlee314/starterupper
main.sh
Shell
mit
1,505
# # rhsmcertd bash completion script # based on rhn-migrate-classic-to-rhsm bash completion script # # main completion function _rhsmcertd() { local first cur prev opts base COMPREPLY=() first="${COMP_WORDS[1]}" cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" opts="-h --help -c --cert-check-...
vritant/subscription-manager
etc-conf/rhsmcertd.completion.sh
Shell
gpl-2.0
600
#!/bin/sh # exit on the first error set -e # ldconfig --print-cache will return something like # libpcsclite.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libpcsclite.so.1 DIR=$(ldconfig --print-cache | grep libpcsclite.so.1) # get the right part only: /usr/lib/x86_64-linux-gnu/libpcsclite.so.1 DIR=$(echo $DIR | ...
sudheesh001/RFID-DBSync
PCSC/src/spy/install_spy.sh
Shell
gpl-2.0
739
#!/bin/sh test_description='rebase should handle arbitrary git message' . ./test-lib.sh . "$TEST_DIRECTORY"/lib-rebase.sh cat >F <<\EOF This is an example of a commit log message that does not conform to git commit convention. It has two paragraphs, but its first paragraph is not friendly to oneline summary format...
Ikke/git
t/t3405-rebase-malformed.sh
Shell
gpl-2.0
2,146
#!/bin/bash c="10" L="150" h="2.2" let mod2=$(($# % 2)) # [ $# -lt 5 ] || if [ $# -lt 5 ] || [ $mod2 -eq 0 ] ; then echo "Usage: `basename $0` <output_base> <kcut> <mnpair> <lib1> <ins1> <lib2> <ins2> . . . <libN> <insN>" echo "Libraries must be shuffled." # echo "Final assembly under <output_base>_2stg/scaf_l...
estolle/ngopt
tools/assembly_line/assembleMultiLibs_IBS.sh
Shell
gpl-3.0
1,874
#! /bin/bash # # run.sh # # Usage: ./run.sh # # This will start the docker container for demoing the Arthur head. # The container can be stopped with ./stop.sh # echo -n 'Stopping leftover container.. ' docker stop -t 1 arthur-animation-demo echo -n 'Removing.. ' docker rm arthur-animation-demo xhost + docker run --nam...
AmeBel/docker
indigo/arthur-animation/run.sh
Shell
agpl-3.0
513
#!/usr/bin/env bash cd "`dirname $0`" # for a production environment with high-availability requirement, # add the following line in /etc/crontab (replace with correct path!) # 0 * * * * root cd /usr/share/loklak/bin && ./checkalive.sh FLAG=0 if [[ -n `./apicall.sh index.html | grep "loklak"` ]]; then FLAG=1 fi ...
gopalmeena/loklak_server
bin/checkalive.sh
Shell
lgpl-2.1
413
#!/bin/sh # Start script for the OpenCms Shell # # Please make sure that "servlet-api.jar" and "jsp-api.jar" are found. # # get path to opencms base directory pushd `dirname $0` > /dev/null OPENCMS_BASE=`dirs +0 -l` popd > /dev/null # get path to tomcat home if [ -z "$TOMCAT_HOME" ]; then [ -n "$CATALINA_HOME" ] ...
sbonoc/opencms-core
webapp/WEB-INF/cmsshell.sh
Shell
lgpl-2.1
1,024
#!/bin/bash #Dynamic Workload set -u dynamic_dir=$(echo $0 | awk -F"dynamic" '{ print "dynamic_"$2 }' | sed 's/.bash//g') if [ "$dynamic_dir" == "" ]; then echo "autodetect of exp name failed, set dynamic dir manyally" exit fi ####################################### # # Cluster Setup # #####################...
wlloyd/eiger
experiments/dynamic.bash
Shell
apache-2.0
9,483
#!/bin/bash set -o nounset set -o errexit cd "$(dirname "$0")" cp $BIN_DIR/plugins/tools/kitPlugins/robots-trik-v6-interpreter.dll $PWD/../data/plugins/tools/kitPlugins/ cp $BIN_DIR/plugins/tools/kitPlugins/robots-trik-v6-qts-generator.dll $PWD/../data/plugins/tools/kitPlugins/ # cp $BIN_...
iakov/qreal
installer/packages/trik-studio/ru.qreal.root.trik.core.v6/meta/prebuild-win32.sh
Shell
apache-2.0
419
#!/bin/bash local_path=$(cd "$(dirname $0)";pwd) NAME=$(basename $local_path) RESOURCE_DIR=/home/app/content folderName_tmp=${NAME#*-} folderName=${folderName_tmp%%-*} #parse params USAGE="Usage: ./inst.sh [-i] [-u] -i install wgt and config environment -u uninstall wgt and remove source file [-i] option was set...
yugang/crosswalk-test-suite
stability/wrt-stablonglast3d-tizen-tests/inst.sh
Shell
bsd-3-clause
1,600
while true do inotifywait -r -e modify -e move -e create -e delete ../media ../env/src/madrona/madrona/media/ | while read line #inotifywait -r -e modify -e move -e create -e delete ../media | while read line do python manage.py install_media done done
Ecotrust/cogs-priorities
priorities/watch.sh
Shell
bsd-3-clause
317
#!/bin/bash FN="RegParallel_1.4.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.10/data/experiment/src/contrib/RegParallel_1.4.0.tar.gz" "https://bioarchive.galaxyproject.org/RegParallel_1.4.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-regparallel/bioconductor-regparallel_1.4.0_src_all.t...
Luobiny/bioconda-recipes
recipes/bioconductor-regparallel/post-link.sh
Shell
mit
1,303
#!/bin/sh apt-get -y install tcl8.5-dev tk8.5-dev libxt-dev \ mesa-common-dev libglu1-mesa-dev texlive-base \ texlive-latex-recommended texlive-fonts-extra texlive-latex-extra \ texlive-fonts-recommended subversion default-jre
igraph/xdata-igraph
tools/virtual/packer/scripts/rdeps.sh
Shell
gpl-2.0
240
# Library of functions shared by all CI scripts skip_branch_tip_with_tag () { # Sometimes, a branch is pushed at the same time the tag that points # at the same commit as the tip of the branch is pushed, and building # both at the same time is a waste. # # When the build is triggered by a push to a tag, $CI_BRANC...
tacker66/git
ci/lib.sh
Shell
gpl-2.0
7,025
BootstrapFreeBsd() { if [ "$QUIET" = 1 ]; then QUIET_FLAG="--quiet" fi $SUDO pkg install -Ay $QUIET_FLAG \ python \ py27-virtualenv \ augeas \ libffi }
nohona/cron-crm
usr/local/certbot/letsencrypt-auto-source/pieces/bootstrappers/free_bsd.sh
Shell
gpl-3.0
179
#!/bin/bash # # This is the script that runs inside Docker, once the image has been built, # to execute all tests for the "pull request" project. WORKSPACE_BASE=`pwd` MY_DIR="$(dirname "$0")" TEST_SCRIPT=./tests.sh BUILD_DIR=/tmp/protobuf set -e # exit immediately on error set -x # display all commands # The proto...
yedidiaklein/moodle-local_video_directory
classes/task/googleSpeech/google/protobuf/kokoro/linux/pull_request_in_docker.sh
Shell
gpl-3.0
2,362
#!/usr/bin/env bash # Copyright 2016 The TensorFlow Authors. 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...
calebfoss/tensorflow
tensorflow/tools/ci_build/ci_parameterized_build.sh
Shell
apache-2.0
19,329
#!/bin/bash # Copyright 2014 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...
CrunchyData/dnsbridge
src/github.com/openshift/kubernetes/hack/e2e-test.sh
Shell
apache-2.0
2,021
#!/bin/bash #Usage message function usage { echo 'ARM Emulator Cross Build and Test Script' echo 'This script cross builds coreclr source and tests the binaries generated' echo '' echo 'Typical usage:' echo ' coreclr source is at ~/clr' echo ' corefx source is at ~/cfx' echo ' --te...
shahid-pk/coreclr
tests/scripts/arm32_ci_script.sh
Shell
mit
16,452
#!/usr/bin/env bash . "test/testlib.sh" begin_test "fsck default" ( set -e reponame="fsck-default" git init $reponame cd $reponame # Create a commit with some files tracked by git-lfs git lfs track *.dat echo "test data" > a.dat echo "test data 2" > b.dat git add .gitattributes *.dat git commit ...
Jericho25/-git-lfs_miilkyway
test/test-fsck.sh
Shell
mit
2,983
#!/bin/sh # Copyright (C) 2014 OpenWrt.org # . /lib/functions.sh # 'ubi' partition on NAND contains UBI CI_UBIPART="ubi" nand_find_volume() { local ubidevdir ubivoldir ubidevdir="/sys/devices/virtual/ubi/$1" [ ! -d "$ubidevdir" ] && return 1 for ubivoldir in $ubidevdir/${1}_*; do [ ! -d "$ubivoldir" ] && conti...
fevenor/openwrt
package/system/procd/files/nand.sh
Shell
gpl-2.0
7,427
set -e; ########################################################### # # Unit tests for sampleFile program # ############################################################ BT=${BT-../../bin/bedtools} FAILURES=0; check() { if diff $1 $2; then echo ok else FAILURES=$(expr $FAILURES + 1); echo fail fi } #...
nkindlon/bedtools2
test/sample/test-sample.sh
Shell
gpl-2.0
4,111
#!/bin/bash HOSTNAME="$1" for KEY in $(terminus ssh-key:list --fields=Description,ID 2>/dev/null | grep "$HOSTNAME" | sort -r | sed -e 's/ *[^ ]* *//'); do echo "Trying to remove key $KEY" terminus ssh-key:remove $KEY done
kalabox/lando
examples/pantheon-wordpressnetworkfolder/remove-keys.sh
Shell
gpl-3.0
228
#!/bin/bash if [ -z "${PYTHON}" ] then export PYTHON=python #PYTHON=pychecker fi if [ -z "${PYTHONARGS}" ] then export PYTHONARGS=-tt #PYTHONARGS=-#1000 fi if [ -n "${CUDA_TESTS+x}" ] then PYTHONPATH=`pwd`:${PYTHONPATH} python tests/cuda_test.py fi PYTHONPATH=`pwd`:${PYTHONPATH} ${PYTHON} ${PYTHONAR...
shoaibkamil/asp
run_tests.sh
Shell
bsd-3-clause
856
#!/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 "Lice...
abti/gobblin
bin/gobblin-aws.sh
Shell
apache-2.0
1,000
#!/usr/bin/env bash # Copyright 2016 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...
peterbraden/tensorflow
tensorflow/tools/ci_build/builds/builds_common.sh
Shell
apache-2.0
5,195
#!/bin/bash if [ ! -z $TRAVIS_BRANCH ] && [ "$TRAVIS_BRANCH" != "master" ] ; then export UPLOADTOOL_SUFFIX=$TRAVIS_BRANCH fi # set up the release message to use source ${TRAVIS_BUILD_DIR}/scripts/release-message.sh echo "Submitting the folloing apk for continuous build release:" ls -lh ../subsurface-mobile-build-do...
torvalds/subsurface
scripts/android/after_success.sh
Shell
gpl-2.0
556
# Copyright 2004-present Facebook. All Rights Reserved. # # Usage: # # To enable tab-completion for buck commands in bash, run the following # command: # # source path/to/this/file/buck-completion.bash # # # Debugging: # # This script will output a bunch of information about what it is doing and # considering to $D...
facebook/buck
scripts/buck-completion.bash
Shell
apache-2.0
12,800
calculate_concurrency() { MEMORY_AVAILABLE=${MEMORY_AVAILABLE-$(detect_memory 512)} WEB_MEMORY=${WEB_MEMORY-512} WEB_CONCURRENCY=${WEB_CONCURRENCY-$((MEMORY_AVAILABLE/WEB_MEMORY))} if (( WEB_CONCURRENCY < 1 )); then WEB_CONCURRENCY=1 elif (( WEB_CONCURRENCY > 32 )); then WEB_CONCURRENCY=32 fi WEB_...
elais/heroku-buildpack-nodejs
profile/nodejs.sh
Shell
mit
1,034
#! /bin/sh # # This is kernel build script for ubuntu 11.04's 2.6.38 kernel. # die () { echo $1 exit 1 } ORIGINAL_FLAVOUR=`uname -r | cut -d - -f 3-` # e.g. generic generic-pae server NEW_FLAVOUR=${ORIGINAL_FLAVOUR}-ccs echo "Building "${NEW_FLAVOUR}" from "${ORIGINAL_FLAVOUR}"." export CONCURRENCY_LEVEL=`gr...
redbmk/optimus-g-kernel
specs/build-ubuntu_11.04.sh
Shell
gpl-2.0
3,379
#!/usr/bin/env bash set -e TEST_DESCRIPTION="Basic systemd setup" IMAGE_NAME="basic" RUN_IN_UNPRIVILEGED_CONTAINER=${RUN_IN_UNPRIVILEGED_CONTAINER:-yes} TEST_REQUIRE_INSTALL_TESTS=0 . $TEST_BASE_DIR/test-functions test_create_image() { create_empty_image_rootdir # Create what will eventually be our root file...
filbranden/systemd
test/TEST-01-BASIC/test.sh
Shell
gpl-2.0
715
#!/bin/bash # Copyright 2012 Vassil Panayotov # 2014 Johns Hopkins University (author: Daniel Povey) # Apache 2.0 # Makes train/test splits source path.sh echo "=== Starting initial VoxForge data preparation ..." echo "--- Making test/train data split ..." # The number of speakers in the test set nspk...
saikrishnar/Forced-Alignment
Post_2/voxforge_XX/s5/local/voxforge_data_prep.sh
Shell
gpl-2.0
5,559
#!/bin/bash # Copyright 2015 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 ...
humblec/glusterblock-provisioner
vendor/k8s.io/kubernetes/test/kubemark/start-kubemark.sh
Shell
apache-2.0
11,424
#!/bin/sh echo "Stripping obsolete PO translations" for x in *.po; do msgattrib --no-obsolete -o ${x}.new ${x} mv ${x}.new ${x} done
psavery/avogadro
scripts/clean-po.sh
Shell
gpl-2.0
143
#!/bin/bash set -iuo pipefail IFS=$'\n\t' readonly AUDITOR_ROLE='system:image-auditor' readonly CLUSTER_READER_ROLE='cluster-reader' readonly REGISTRY_VIEWER_ROLE='registry-viewer' readonly USAGE="Usage: $(basename ${BASH_SOURCE[0]}) [OPTIONS] It fetches manifests of images from OpenShift integrated registry forcin...
mkumatag/origin
contrib/migration/migrate-image-manifests.sh
Shell
apache-2.0
9,109
#!/usr/bin/env bash # Copyright 2016 The TensorFlow Authors. 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...
jeffzheng1/tensorflow
tensorflow/tools/ci_build/gpu_build/parallel_gpu_execute.sh
Shell
apache-2.0
1,612
#!/bin/sh rm -Rf release mkdir release GEM_PLATFORM=java gem build gherkin.gemspec GEM_PLATFORM=x86-mswin32 gem build gherkin.gemspec GEM_PLATFORM=x86-mingw32 gem build gherkin.gemspec mv *.gem release
BrentonEarl/Blotter
vendor/gems/ruby/2.2.0/gems/gherkin-2.12.2/build_native_gems.sh
Shell
mit
201
rm -f -r .deps/ rm -f -r Makefile rm -f -r Makefile.in
kd0oss/ghpsdr3-kd0oss
trunk/src/wdspserver/cleanup.sh
Shell
gpl-3.0
55
#!/bin/sh # Use du to exercise a corner of fts's FTS_LOGICAL code. # Show that du fails with ELOOP (Too many levels of symbolic links) # when it encounters that condition. # Copyright (C) 2006-2015 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the ter...
kdave/coreutils
tests/du/long-sloop.sh
Shell
gpl-3.0
2,359
#!/bin/sh set -ev CMAKE_FLAGS=$* MAKEPROG=make if ninja --version >/dev/null 2>&1; then MAKEPROG=ninja CMAKE_FLAGS="-GNinja $CMAKE_FLAGS" fi mkdir -p cmake_build && cd cmake_build cmake $CMAKE_FLAGS .. for LIB in $BUILD_LIBS; do if ! grep "^BUILD_${LIB}:BOOL=ON$" CMakeCache.txt ; then echo "failed to conf...
RobberPhex/thrift
build/docker/scripts/cmake.sh
Shell
apache-2.0
383
#!/bin/bash CMD="$1" shift; # convert the libtool internal path resolve_cmd() { local C="$1" local C2="$(echo "$C" | sed 's#^\(.*/\)\.libs/lt-\([^/]\+\)$#\1\2#')" if [[ "$C2" != "$C" && ! -x "$C2" ]]; then # such a file does not exist... back to $C C2="$C" fi echo "$C2" } if [[ $...
abferm/network-manager
tools/test-sudo-wrapper.sh
Shell
gpl-2.0
699
#!/bin/sh set -eu # sync disks sync # crash the kernel echo 1 > /proc/sys/kernel/sysrq echo c > /proc/sysrq-trigger
petervo/cockpit
pkg/kdump/crashkernel.sh
Shell
lgpl-2.1
118
#!/bin/bash # **install_openvpn.sh** # Install OpenVPN and generate required certificates # # install_openvpn.sh --client name # install_openvpn.sh --server [name] # # name is used on the CN of the generated cert, and the filename of # the configuration, certificate and key files. # # --server mode configures the hos...
neerajrawat/mygrizzly
tools/install_openvpn.sh
Shell
apache-2.0
5,017
#!/bin/bash -e spec=`ls tools/tizen/*.spec` version=`rpm --query --queryformat '%{version}\n' --specfile $spec` name=`echo $name|cut -d" " -f 1` version=`echo $version|cut -d" " -f 1` name=iotivity rm -rf $name-$version builddir=`pwd` sourcedir=`pwd` echo `pwd` # Clean tmp directory. rm -rf ./tmp # Create direc...
heejin-kim/TizenRT
external/iotivity/iotivity_1.2-rel/gbsbuild.sh
Shell
apache-2.0
2,776
#!/bin/bash # Copyright 2015 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 ...
raffaelespazzoli/origin
vendor/k8s.io/kubernetes/test/images/volumes-tester/rbd/ceph.conf.sh
Shell
apache-2.0
895
# 顶点云在 Linux 环境下的配置脚本 cd .. mkdir venv cd venv python3 -m venv . cd .. source venv/bin/activate pip3 install -r requirements.txt --index-url https://pypi.douban.com/simple pip3 install gunicorn --index-url https://pypi.douban.com/simple pip3 install eventlet --index-url https://pypi.douban.com/simple pip3 i...
Forec/zenith-cloud
web/settings/setup.sh
Shell
isc
505
basedir=$(dirname $0) cd $basedir cd .. if [ ! -f dist/JDEECoVisualizer.jar ]; then ant -buildfile build.xml just_dist fi java -cp "dist/JDEECoVisualizer.jar:plugins/*:$CLASSPATH" cz.filipekt.jdcv.measuring.MeasureFileSearch
filipekt/JDEECoVisualizer
bin/measure_A_unix.sh
Shell
mit
228
#!/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() { local source="${BUILT_PRODUCTS_DIR}/Pods-PyzeFramework_Tests/$1" local...
lovekesh23/PyzeFramework
Example/Pods/Target Support Files/Pods-PyzeFramework_Tests/Pods-PyzeFramework_Tests-frameworks.sh
Shell
mit
2,433
#!/bin/bash # This script will quit on the first error that is encountered. set -e CIRCLE=$1 DEPLOY_DATE=`date "+%FT%T%z"` SECRET=$(openssl rand -base64 58 | tr '\n' '_') heroku config:set --app=lunahealing \ NEW_RELIC_APP_NAME='lunahealing' \ ADMIN_EMAIL="jessamyn@lunahealing.ca" \ ADMIN_NAME="lunahealing" \ DJANG...
jessamynsmith/lunahealing
scripts/deploy_to_heroku.sh
Shell
mit
709
#!/bin/bash echo -e "Below is a list of colours to demonstrate the options available with bash." # Black 0;30 echo -e "\033[30mThis is Black\033[0m" # Dark Gray 1;30 echo -e "\033[30mThis is Dark Grey\033[1m" # Light Red 1;31 echo -e "\033[31mThis is Light Red\033[0m" # Red 0;31 echo -e "\033[31mThis is Red\033[1m" # L...
varspare/bash-scripts
terminal_colour_tester.sh
Shell
mit
1,110
:<<!EOF! #-------------------------------------------------------------------- DllRelyTest_bit=$1 DllRelyTest_dlllib=$2 DllRelyTest_debugRelease=$3 DllRelyTest_allSame=$4 "$CLOUD_REBUILD" DllRelyTest $DllRelyTest_bit $DllRelyTest_dlllib $DllRelyTest_debugRelease $DllRelyTest_allSame !EOF! #---------------------------...
xylsxyls/xueyelingshuang
src/BigNumber/scripts/before_BigNumber.sh
Shell
mit
585
export PATH="/home/michael/.pyenv/bin:$PATH" #eval "$(pyenv init -)" #eval "$(pyenv virtualenv-init -)"
thebadmonkeydev/dot.minatrix
python/pyenv.bash
Shell
mit
104
$ echo ok ok $ echo ok #=> ok
aureliojargas/clitest
test/ok-2.sh
Shell
mit
31
#!/bin/bash # # # based on https://gist.github.com/domenic/ec8b0fc8ab45f39403dd # # set -e # Exit with nonzero exit code if anything fails DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" TARGET_BRANCH="gh-pages" function doCompile { ${DIR}/compile-static.sh } # Content of this directory will be deployed...
botstory/echo-bot
scripts/deploy-static.sh
Shell
mit
2,332
#!/bin/bash FN="JASPAR2018_0.99.2.tar.gz" URLS=( "http://www.bioconductor.org/packages/devel/bioc/src/contrib/JASPAR2018_0.99.2.tar.gz" ) MD5="f8e457c665c2a81ba3855ccaabd0310e" # Use a staging area in the conda dir rather than temp dirs, both to avoid # permission issues as well as to have things downloaded in a...
martin-mann/bioconda-recipes
recipes/bioconductor-jaspar2018/post-link.sh
Shell
mit
1,094
#!/bin/bash echo -e 'package main\n' > bin.go echo -e 'var libmd5 = "'`md5sum ../../libsocks5connect.so | awk '{print $1}'`'"' >> bin.go echo -e 'var lib = []byte{' >> bin.go cat ../../libsocks5connect.so | gzip | xxd -i | sed "s/[^,]$/}/g" >> bin.go
ma6174/libsocks5connect
cmd/socks5proxy/gen.sh
Shell
mit
252
#!/usr/bin/env bash export module_system=1 b.framework.require 'ui' function b.system.get_version_from_file() { export VERSION VERSION="$(cat $1 | tr "\n" ' ' | sed s/.*VERSION.*=\ //)" } # Initial script provided by http://www.novell.com/coolsolutions/feature/11251.html function b.system.get_system_info() { O...
smileart/omg
modules/system.sh
Shell
mit
6,875
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2012:0670 # # Security announcement date: 2012-05-15 21:10:01 UTC # Script generation date: 2017-01-17 21:17:57 UTC # # Operating System: Red Hat 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - kernel-rt-doc.noarch:3.0.30-rt50.62.el6...
Cyberwatch/cbw-security-fixes
Red_Hat_6/x86_64/2012/RHSA-2012:0670.sh
Shell
mit
3,053
#!/usr/bin/env zsh # # Docker Compose # # Compose is a tool for defining and running multi-container Docker applications. # Link: https://docs.docker.com/compose/ # ------------------------------------------------------------------------------ # Configuration # ---------------------------------------------------------...
ahmadassaf/oh-my-zsh
themes/gaudi/segments/dockercompose.zsh
Shell
mit
3,642
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for CESA-2017:0020 # # Security announcement date: 2017-01-09 18:12:11 UTC # Script generation date: 2017-01-11 21:22:30 UTC # # Operating System: CentOS 7 # Architecture: x86_64 # # Vulnerable packages fix on version: # - gstreamer1-plugins-good.i686:1.4.5-3.el7...
Cyberwatch/cbw-security-fixes
CentOS_7/x86_64/2017/CESA-2017:0020.sh
Shell
mit
883
#!/bin/bash # # Copyright (c) 2013-2021 Munehiro Yamamoto (a.k.a. munepi) # # It may be distributed and/or modified under the MIT License. DARWIN_SUDO_USER=${SUDO_USER:-$([ -z ${SUDO_USER} ] && echo root || echo ${SUDO_USER})} DARWIN_DESTDIR=$(dirname $0) DARWIN_PROFILE_D=${DARWIN_DESTDIR}/profile.d/macosx # given a...
munepi/insttlja
install-tl-macosx.sh
Shell
mit
4,504
#!/bin/bash sudo apt-get install software-properties-common sudo apt-add-repository ppa:ansible/ansible sudo apt-get update sudo apt-get install -y git python python-dev sudo apt-get install -y ansible
bgazzera/vagrant-ansible-server
provision-ansible.sh
Shell
mit
203
swig -python -c++ -o htmc_wrap.cc htmc.i
thespacedoctor/HMpTy
HMpTy/htm/runswig.sh
Shell
mit
41
#!/bin/sh CONVERT=`which convert` SRCFILE="$1" DESTFILE="$2" if [ "${SRCFILE}" = "" -o "${DESTFILE}" = "" ]; then echo "USAGE: $0 {src.filename} {dest.filename}" exit 0 fi if [ ! -f ${SRCFILE} ]; then echo ERROR: missing ${SRCFILE} exit 1 fi declare -a drawableFolders=("drawable-ldpi" "drawable-mdpi" "drawabl...
jackcsk/android-icon-generator
prep_notification_icons.sh
Shell
mit
883
#! /bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" cd $DIR/../server TAG=$(git describe --tags | sed -E "s/\n//g") BRANCH=$(git branch | grep '\*' | sed -E "s/\*//g" | sed -E "s/ //g") COMMIT=$(git log -1 | sed -n 1p | sed -E "s/commit//g" | sed -E "s/ //g") echo "{\"tag\":\"${TAG}\",\"...
EcoSML/ecosml-webapp
docker/cloud-build.sh
Shell
mit
384
#!/bin/bash # # This script is used as the entrypoint for the docker image # # This entrypoint script defaults to using environment variables to populate # a jinja2 config template and writing out the config before starting the service # # If a first parameter is given it overrides the environment variables for the # ...
kbase/handle_mngr
deployment/bin/entrypoint.sh
Shell
mit
3,293
#! HackerRank a="j" until [ -z $a ] do read a echo $a | tr -s ' ' done
MrinmoiHossain/HackerRank
Linux Shell/Text Processing/TrCommand#3.sh
Shell
mit
80
# 4 september 2013 awk ' BEGIN { print "mkdir map" command = "./mmbnmapdump ~/ida/MMBN\\ USA.gba" } !/LevelBackground </ { next } $2 ~ /LB/ { gsub(/LB_/, "") area = $2 subarea = 0 # fall through } /<0>/ { # invalid printf "true && # %s:%X invalid\n", area, subarea subarea++ next } { # valid gsub(/ROM:08/, ...
andlabs/mmbnmapdump
mkextractall_US.sh
Shell
mit
15,535
#!/bin/bash set -e GOMAXPROCS=1 go test -timeout 90s ./... GOMAXPROCS=4 go test -timeout 90s -race ./... # no tests, but a build is something for dir in apps/*/ bench/*/; do dir=${dir%/} if grep -q '^package main$' $dir/*.go 2>/dev/null; then echo "building $dir" go build -o $dir/$(basename $d...
jlr52/nsq
test.sh
Shell
mit
382