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 set -e do_reset_config() { /setMyCnf.sh } reset_root_pw() { if ! grep -q ${MYSQL_ROOT_PASSWORD} /root/.my.cnf ; then echo "resetting mysql root pw" /usr/bin/mysqladmin -u root password "${MYSQL_ROOT_PASSWORD}" mv -f /root/postConfig.my.cnf /root/.my.cnf fi } case "$*" in ...
sveesible/percona-pxc1
docker-entrypoint.sh
Shell
apache-2.0
1,451
#!/bin/bash set -e # keep exit status status=0 ANSIBLE_CONFIG=/ansible/ansible.cfg ANSIBLE_PLAYBOOK=/ansible/provision-vm.yml ANSIBLE_INVENTORY=/ansible/environments/docker/inventory ANSIBLE_SECRETS=/ansible/environments/vm/secrets/vm.yml # start docker container docker run --detach ...
baszoetekouw/OpenConext-deploy
tests/travis-build.sh
Shell
apache-2.0
5,248
# Copyright 2022 The Google Research 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 agree...
google-research/google-research
sail_rl/run.sh
Shell
apache-2.0
859
#!/bin/bash # Setup sudo dpkg -s mesos if [ $? -eq 0 ] then echo "Mesos is already installed" exit $? fi if [ -z "$MESOS_VERSION" ] then MESOS_VERSION=`curl -H "Metadata-Flavor: Google" "http://metadata.google.internal/computeMetadata/v1/instance/attributes/mesosversion"` if [ -z "$MESOS_VERSION" ] then ech...
samklr/terraform-mesos
scripts/mesos_install.sh
Shell
apache-2.0
2,007
#!/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 appli...
jtk54/spinnaker
dev/clean_google_image.sh
Shell
apache-2.0
1,837
#!/bin/bash # Copyright (C) 2013-2015 Computer Sciences Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
crawlik/ezbake-platform-services
efe/build-vm.sh
Shell
apache-2.0
1,117
#!/bin/bash -e # 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 appli...
legrosbuffle/kythe
kythe/extractors/cmake/test_extract_compilation_database.sh
Shell
apache-2.0
1,815
#!/bin/bash set -e rm -rf stage rm -rf public ./hugo mkdir stage -p mv public/* stage cp favicon.png stage/images/ rsync --delete -rcv stage/* con:/www/docs.factcast.org rm -rf stage
uweschaefer/factcast
factcast-site/documentation/release.sh
Shell
apache-2.0
188
# ----------------------------------------------------------------------------- # # Package : fliplog # Version : 0.3.13 # Source repo : https://github.com/fliphub/fliplog # Tested on : RHEL 8.3 # Script License: Apache License, Version 2 or later # Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com> # # Discl...
ppc64le/build-scripts
f/fliplog/fliplog_rhel_8.3.sh
Shell
apache-2.0
3,048
#!/bin/bash . 000_define.sh printf "Prepare some system config.\n" ${sudo_cmd} cp ${verbose} 000_define.sh ${new_root}/ ${sudo_cmd} cp ${verbose} ${chroot_files}/in_chroot_task.sh ${new_root}/ ${sudo_cmd} cp ${verbose} /etc/resolv.conf ${new_root}/etc/ if [ $use_packages = 1 ] ; then ${sudo_cmd} cp ${verbose}...
ppv77/qsgentoo
450_prepare_other.sh
Shell
apache-2.0
1,073
#!/bin/bash ############################################## ####### Install from scratch ############################################## echo "installing site from scratch" source ./build_scripts/backup_src_dir.sh ############################################ ##### Download Drupal ###############################...
heavyengineer/drupal-tug
build_scripts/install_from_scratch.sh
Shell
apache-2.0
1,239
#!/bin/bash -e # Copyright 2015 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...
benjyw/kythe
kythe/cxx/extractor/testdata/test_modules.sh
Shell
apache-2.0
1,476
#!/bin/bash # # Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) # # This file is part of Orfeo Toolbox # # https://www.orfeo-toolbox.org/ # # 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 o...
orfeotoolbox/OTB
CI/otb_coverage.sh
Shell
apache-2.0
1,369
# ----------------------------------------------------------------------------- # # Package : error-symbol # Version : 0.1.0 # Source repo : https://github.com/jonschlinkert/error-symbol # Tested on : RHEL 8.3 # Script License: Apache License, Version 2 or later # Maintainer : BulkPackageSearch Automation <sethp@us.ibm...
ppc64le/build-scripts
e/error-symbol/error-symbol_rhel_8.3.sh
Shell
apache-2.0
3,078
#!/bin/bash set -e set -x SCRIPTPATH=$( cd "$(dirname "$0")" ; pwd -P ) DIRBUILD=~/tmp/bitcoin # wget -qO- https://github.com/bitcoin/bitcoin/archive/v0.10.0.tar.gz | tar xvz -C ~/tmp rm -rf ${DIRBUILD} cp -r ~/tmp/bitcoin-0.10.0 ${DIRBUILD} cd ${DIRBUILD} ./autogen.sh CONFIGFLAGS="-disable-tests --without-gui --ena...
y12studio/y12docker
elf-btcd/build.sh
Shell
apache-2.0
594
#!/bin/bash . ./env.sh LB_OPTS="--resource-dir ${LB_RESOURCE_DIR}" if [ "$OS" = "Windows_NT" ]; then LB_RESOURCE_DIR=`{ cd $LB_RESOURCE_DIR && pwd -W; }` LB_OPTS="--resource-dir ${LB_RESOURCE_DIR}" fi java -jar linkbinder-subscriber/build/libs/linkbinder-subscriber*.jar $LB_OPTS
otsecbsol/linkbinder
run_subscriber.sh
Shell
apache-2.0
292
npm install -g wcm-design.tar.gz npm install -g --unsafe-perm --no-optional dashboard.tar.gz npm install -g nw@0.12
OpenNTF/WebDevToolkitForDx
install.sh
Shell
apache-2.0
116
#!/bin/bash cname="$1" # Container name. if [ x"$cname" == "x" ]; then echo "Invalid container usage" >&2 exit 4 fi SDIR=$(readlink -f `dirname "${BASH_SOURCE[0]}"`) if [ "`docker inspect --format '{{ .State.Running }}' "$cname"`" != "true" ]; then echo "[FAIL] Container $cname is not running" exit 3 else echo...
millerlogic/cluster-deploy
roles/docker-container/status-container.sh
Shell
apache-2.0
341
#!/bin/bash # # <#> a <http://purl.org/twc/vocab/conversion/ConversionTrigger> ; # rdfs:seeAlso <https://github.com/timrdf/csv2rdf4lod-automation/wiki/Conversion-trigger>, # <https://github.com/timrdf/csv2rdf4lod-automation/blob/master/bin/cr-create-convert-sh.sh> . # # datasetID versionID (lastMod...
timrdf/csv2rdf4lod-automation
test/source/lebot/domain-template-leaves-spaces/version/2011-Jun-09/convert-domain-template-leaves-spaces.sh
Shell
apache-2.0
2,599
#!/usr/bin/env 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 ag...
google/coset
scripts/build-gh-pages.sh
Shell
apache-2.0
2,130
mkdir ~/src cd ~/src/ #mv victor victor_old mkdir ~/src/victor cd ~/src/victor git clone https://github.com/bayvictor/distributed-polling-system.git # ./down.sh cd distributed-polling-system/ diff bin ~/bin -dup >../diff.txt cat ../diff.txt |grep -e ^Only >../test.txt cat ../test.txt |grep home >../home.txt cat ...
bayvictor/distributed-polling-system
bin/curdir_git_sync_bin_dir.sh
Shell
apache-2.0
669
python -c "import socket; s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM); s.connect(('8.8.8.8', 80)); print(s.getsockname()[0]); s.close()"
bayvictor/distributed-polling-system
bin/find_localhost_ip.sh
Shell
apache-2.0
147
#!/bin/sh javac -Xlint:unchecked Jcp.java
drednout/java_learning
jcp/build.sh
Shell
bsd-2-clause
43
# Convert Google's zipped csv files to year-by-year # Usage: # ./ngram.sh IN START END OUT # IN - folder where the zip files are kept. This script reads all of them # START - First year to process # END - Last year to process # OUT - Output folder. # e.g. # ./ngram.sh ~/Downloads 1789 2009 year IN=$1 START=$2 END=$3...
organisciak/field-exam
ngrams/ngram.sh
Shell
bsd-2-clause
635
#!/bin/sh set -e SLITE_LIST=`cat sippy_lite.list` git checkout sippy_git_master git pull git branch -D sippy_git_master_toplevel git subtree split --prefix=sippy --branch=sippy_git_master_toplevel git checkout sippy_git_master_toplevel mkdir -p sippy_lite/Math mkdir -p sippy_lite/Time for f in ${SLITE_LIST} do git ...
sippy/rtp_cluster
sippy_lite/update_sippy_lite.sh
Shell
bsd-2-clause
565
#!/bin/sh set -o errexit set -o nounset abort() { echo "$@" exit 1 } ensure_root_dir() { if [ -z "${ROOT:-}" ]; then ROOT="$(pwd)" export ROOT if [ ! -e "${ROOT}/test/script/setup.sh" ]; then abort "${ROOT} is not a valid test root." fi fi } find_tmp_dir() { ensure_root_dir TMP_DIR...
conormcd/clj-libssh2
test/script/teardown.sh
Shell
bsd-2-clause
907
#!/bin/sh # Copyright 2009-2012 Urban Airship Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this # list of condi...
jamesstout/ios-library_LITE
PushSample/checkConfig.sh
Shell
bsd-2-clause
1,664
#!/bin/bash # Compile a language knowledge base from a grammar # [20080707] (air) # :: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::: # :: FIRST: Copy this script into your Project root folder :::::: here="$( cd "$( dirname "${BASH_SOURCE[0]}"...
minigeek/MMDAgent
Release/AppData/Logios/CompileLanguage.sh
Shell
bsd-3-clause
1,363
#!/bin/sh sudo apt-get update sudo apt-get upgrade # These aren't necessary per se but I like having # them around (20140125/straup) # sudo apt-get install sysstat htop unzip # sudo apt-get install tcsh emacs24-nox # Chances are good you will have already installed # git if you're reading this file (20140125/straup...
cooperhewitt/label-whisperer
ubuntu/setup.sh
Shell
bsd-3-clause
598
#!/bin/bash browserify -t jadeify client/amp.js -o client/amp.bundle.js node server.js
benbenolson/NetFlow-Viewer
server/run.sh
Shell
bsd-3-clause
88
#!/bin/bash MD=$(which md5sum) if [ "$MD" == "" ]; then MD=$(which md5) fi if [ "$MD" == "" ]; then echo "Missing MD5!" exit 1 fi VERBOSE="" if [[ "$1" == "-v" || "$1" == "-vv" || "$1" == "-vvv" ]]; then VERBOSE="$1" shift fi if [ "$1" == "" ]; then rm -f test/err find src/test-scripts -na...
compgen-io/cgpipe
test.sh
Shell
bsd-3-clause
2,073
# This script is for installing dependencies in Linux for testing sudo apt-get update && sudo apt-get install -y python-software-properties python g++ make clang build-essential && # sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y && # sudo apt-get update && # sudo apt-get install -y postgresql-9.1 postgre...
zhm/node-spatialite
install_deps.sh
Shell
bsd-3-clause
1,215
make -C libs/ilclient clean make -C libs/vgfont clean make -C hello_world clean make -C hello_triangle clean make -C hello_triangle2 clean make -C hello_video clean make -C hello_audio clean make -C hello_font clean make -C hello_dispmanx clean make -C hello_tiger clean make -C hello_encode clean make -C hello_jpeg cle...
Razdroid/android_vendor_rpi_userland
host_applications/linux/apps/hello_pi/rebuild.sh
Shell
bsd-3-clause
726
# Copyright (c) 2013 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. EXECUTABLES="bdftopcf${NACL_EXEEXT}" NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" NACLPORTS_LDFLAGS+=" -Dmain=nacl_main" export LIBS="-Wl,--undefined=na...
Schibum/naclports
ports/bdftopcf/build.sh
Shell
bsd-3-clause
590
#/bin/bash # Creates the salt used to protect all applications from csrf attacks. set -e -x source ../kube/config.sh source ../bash/ramdisk.sh cd /tmp/ramdisk head -c 32 /dev/urandom > salt.txt kubectl create secret generic csrf-salt --from-file=salt.txt cd -
google/skia-buildbot
kube/create-csrf-salt-secret.sh
Shell
bsd-3-clause
263
#!/bin/sh # $FreeBSD$ # Copyright (c) 2009 Douglas Barton # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice...
jhbsz/OSI-OS
usr.sbin/service/service.sh
Shell
bsd-3-clause
4,052
#!/bin/bash if [ "$#" != "4" ]; then echo "ID algo1 algo2 algo3" exit fi id=$1 algo1=$2 algo2=$3 algo3=$4 list=../data/sequin.list results=../results/sequin abd="0.01 1.0 2.5 5.0 7.5 10" #abd="0.01 1 2.5 5 7.5 10 25 50 75 100" #echo "#accession algorithm aligner sensitivity(%) precision(%)" for aa in `echo "top...
Kingsford-Group/scalloptest
plots/collect.sequin.roc.sh
Shell
bsd-3-clause
2,563
#!/bin/bash fw_depends mysql java sbt cd play2-java-jooq-hikaricp rm -rf target/ project/target/ project/project/ sbt stage target/universal/stage/bin/play2-java-jooq-hikaricp -Dplay.server.provider=play.core.server.AkkaHttpServerProvider &
valum-framework/FrameworkBenchmarks
frameworks/Java/play2-java/setup_java_jooq_hikaricp.sh
Shell
bsd-3-clause
245
#!/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...
bryanro92/Recipe-Sharing
Pods/Target Support Files/Pods-Recipe-Sharing/Pods-Recipe-Sharing-frameworks.sh
Shell
mit
3,973
#!/bin/bash FOLDER=$1 cd ${FOLDER} BRANCHES=$(git branch -a | wc -l); TAGS=$(git tag -l | wc -l); REVERTS=$(git log --oneline | grep 'revert' | wc -l); echo "{\"branches\": \"$BRANCHES\", \"tags\": \"$TAGS\", \"reverts\": \"$REVERTS\"}";
benas/gossed
examples/git/git-stats.sh
Shell
mit
242
#!/bin/bash set -e /usr/local/bin/provision-soa-service sdk_service /usr/local/bin/provision-soa-service sdk_certify exec "$@"
gudTECH/retailops-sdk
verify/docker-entrypoint.sh
Shell
mit
129
#!/bin/bash -e export REDIS_DOWNLOAD_URL='http://download.redis.io/releases/redis-stable.tar.gz' export REDIS_SERVICE_NAME='redis' export REDIS_USER_NAME='redis' export REDIS_GROUP_NAME='redis' export REDIS_PORT='6379' export REDIS_INSTALL_BIN_FOLDER='/opt/redis/bin' export REDIS_INSTALL_CONFIG_FOLDER='/opt/redis/...
gdbtek/linux-cookbooks
cookbooks/redis/attributes/default.bash
Shell
mit
418
#!/bin/bash # OCO data Rscript oco-download/01.oco.download.R Rscript oco-download/02.oco.process.R # MODIS data Rscript modis-download/01-modis.get.site.info.R Rscript modis-download/02-modis.download.R Rscript modis-download/03-modis.process.R # Flux tower data Rscript flux-download/01.download.flux.R Rscript flux...
EcoForecast/GPP
w1.prepare.data.sh
Shell
mit
386
#!/bin/bash rm -r tmp rm -r installs rm lib/virtual-network-interface/vnicppcodegen
madMAx43v3r/virtual-network-tools
clean_all.sh
Shell
mit
86
#!/bin/sh set -e sudo -k echo "This script requires superuser authority to configure stns yum repository:" sudo sh <<'SCRIPT' set -x # import GPG key gpgkey_path=`mktemp` curl -fsS -o $gpgkey_path https://repo.stns.jp/gpg/GPG-KEY-stns rpm --import $gpgkey_path rm $gpgkey_path # add config for stns y...
pyama86/STNS
package/scripts/yum-repo.sh
Shell
mit
482
# == Name # # mysql.user # # === Description # # Manages MySQL users # # === Parameters # # * state: The state of the resource. Required. Default: present. # * user: The username of the mysql user. unique. # * host: The host of the mysql user. Required. unique. # * password: The password of the mysql user. # # Unintuit...
wffls/waffles
resources/mysql_user.sh
Shell
mit
2,614
#!/bin/bash # $1 = strip executable # $2 = JSON input file $1 $2 > out1.json $1 out1.json > out2.json cmp -s out1.json out2.json
nncarlson/petaca
test/yajl_fort/strip-cmp.sh
Shell
mit
130
#! /bin/sh rm -rf publish node ./bin/nodeppt release ppts/demo.md -a cd publish mv demo.html index.html git init git add -A date_str=`date "+DATE: %m/%d/%Y%nTIME: %H:%M:%S"` git commit -m "build with nodeppt on $date_str" #exit echo 'push remote github' git push -u git@github.com:ksky521/nodeppt.git master:gh-pages ...
zkyeu/vuePPT
gh-page.sh
Shell
mit
328
#!/bin/bash echo "Now you can connect to http://localhost:9090" cd dev-resources/private/browser python -m SimpleHTTPServer 9090
Lambda-X/replumb
scripts/browser-repl.sh
Shell
epl-1.0
130
#!/bin/sh perl <<EOF print "Hi from perl!\n"; exit(0); EOF
ggnull35/scbind
examples/perldemo.sh
Shell
gpl-2.0
60
#!/bin/sh ifconfig eth0 0.0.0.0 down ifconfig eth1 0.0.0.0 down ifconfig eth2 0.0.0.0 down ifconfig eth3 0.0.0.0 down #ifconfig bond0 10.4.53.196 netmask 255.255.255.0 up ifconfig bond0 192.168.0.5 netmask 255.255.255.0 up ifenslave bond0 eth0 eth1 eth2 eth3 #eth2 eth3 ifconfig bond0 down echo balance-alb > /sys/cl...
yellowback/ubuntu-precise-armadaxp
tools/nas/bond_4link_setup.sh
Shell
gpl-2.0
603
#!/usr/bin/env bash # # This file is part of Zenodo. # Copyright (C) 2015-2018 CERN. # # Zenodo 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 ...
slint/zenodo
scripts/recreate.sh
Shell
gpl-2.0
1,272
#!/bin/sh # # Copyright (c) 2009 Red Hat, Inc. # test_description='Test updating submodules This test verifies that "git submodule update" detaches the HEAD of the submodule and "git submodule update --rebase/--merge" does not detach the HEAD. ' . ./test-lib.sh compare_head() { sha_master=$(git rev-list --max-...
brunosantiagovazquez/git
t/t7406-submodule-update.sh
Shell
gpl-2.0
26,863
#!/bin/sh URL="https://codeload.github.com"; AUTHOR="philwareham"; REPO="textpattern-classic-admin-theme"; EXTRACT="textpattern/admin-themes/classic"; TAG="master"; if [ ! -z "$1" ]; then TAG="$1"; fi echo "Get repo: $REPO :: $TAG"; echo "-------------------------------------------------------------------------...
jools-r/textpattern
.github/get-classic-admin-theme.sh
Shell
gpl-2.0
448
#!/bin/bash if [ -n "$1" ]; then host="$1" else echo "Usage: $0 container-name" exit 1 fi IPADDR=`docker inspect "--format={{.NetworkSettings.IPAddress}}" "$host"` if [ -z "$IPADDR" ]; then echo "Failed to find IP address for $host" exit 1 else echo "$IPADDR" fi ssh -t -l root "$IPADDR"
apergos/docker-lvs-nginx
ssh-to-instance.sh
Shell
gpl-2.0
316
#!/usr/bin/env bash # vim: set sw=4 et sts=4 tw=80 : # Copyright 2009 Ali Polatel <polatel@gmail.com> # Distributed under the terms of the GNU General Public License v2 . test-lib.bash clean_files+=( "lucifer.sam" ) start_test "t22-renameat-second-atfdcwd-deny" SYDBOX_WRITE="${cwd}/see.emily.play" sydbox -- ./t22_re...
larsuhartmann/sydbox
tests/progtests/t22-renameat-second-atfdcwd.bash
Shell
gpl-2.0
755
#!/bin/bash # Deployer for Travis-CI # Default Variables # # Here are all of the user-set variables used by Deployer. # See the "Cross-platform deployment" page on SRB2 Wiki for documentation. # Core Parameters : ${DPL_ENABLED} # Enable Deployer behavior; must be set for any deployment activity : ${DPL...
STJr/SRB2
deployer/travis/deployer_defaults.sh
Shell
gpl-2.0
4,965
: $XConsortium: hostinfo.sh /main/2 1996/05/10 16:42:59 drk $ : # hostinfo [ cpu debug name rating regress type ... ] # # print info for the current host on one line in argument order # # some of this is a stretch but we have to standardize on something # if you don't like the results then change it here # # to generat...
sTeeLM/MINIME
toolkit/srpm/SOURCES/cde-2.2.4/programs/dtksh/ksh93/src/lib/lib0ast/hostinfo.sh
Shell
gpl-2.0
8,761
#!/bin/sh # Clear out daemon # Startup Items is deprecated, should this be removed? # the daemon is already been launched using launchctl and this folder doent appear to be created anymore. # https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/StartupItems.html if [ -d /Li...
360Controller/360Controller
Install360Controller/Scripts/upgrade.sh
Shell
gpl-2.0
2,536
USE_RAMDISK=YES \ MFSEXPORTS_EXTRA_OPTIONS="allcanchangequota,ignoregid" \ MOUNT_EXTRA_CONFIG="mfscachemode=NEVER" \ setup_local_empty_lizardfs info cd "${info[mount0]}" gid1=$(id -g lizardfstest_1) gid2=$(id -g lizardfstest) mfssetquota -g $gid1 0 0 3 8 . # exceed quota by creating 1 directory and some files (8...
cloudweavers/lizardfs
tests/test_suites/ShortSystemTests/test_quota_inodes.sh
Shell
gpl-3.0
2,266
#!/bin/bash /usr/local/bin/demo-worker -a stateline:5555
traitecoevo/stateline
docker/config/launch_worker.sh
Shell
gpl-3.0
58
#!/bin/sh export CFLAGS="-Os" TARCH=mips TARGET_ARCH=mips HOST_COMPILER=mipsel-linux-android "$(dirname "$0")/android-build.sh"
xiangshouding/ShadowVPN
dist-build/android-mips.sh
Shell
gpl-3.0
128
#!/bin/bash gnuplot test_g/Hist-L=32_PP=16-8/temp/*.plot convert -delay 10 -loop 0 test_g/Hist-L=32_PP=16-8/graphs/{1..200}.jpg animate-Hist-L=32_PP=16-8.gif
nlare/Landau-Wang-omp
plot_test_hist_graph-L=32_PP=16-8.sh
Shell
gpl-3.0
158
#!/bin/sh # # Copyright (c) 2013-2015 by The SeedStack authors. All rights reserved. # # This file is part of SeedStack, An enterprise-oriented full development stack. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, Yo...
ydautremay/seed
deploy_ghpages.sh
Shell
mpl-2.0
688
# http://stackoverflow.com/a/5148851 if [[ `git status --porcelain` ]]; then exit 1 fi
ttanner/mucmiete
require-clean-working-tree.sh
Shell
agpl-3.0
89
#!/bin/bash mkdir -p "${TOMCAT_HOME}" pushd "${TOMCAT_HOME}" >/dev/null tar -xf "${DOCKER_SRC}/apache-tomcat-${TOMCAT_VERSION}.tar.gz" --strip-components=1 ln -s "${TOMCAT_HOME}/" "/var/lib/tomcat${TOMCAT_MAJOR}" ln -s "${TOMCAT_HOME}/conf/" "/etc/tomcat${TOMCAT_MAJOR}" ln -s "${TOMCAT_HOME}/logs/" "/var/log/tomcat$...
inn1983/docker-builder
www-servers/tomcat/7.0.57/build.sh
Shell
lgpl-3.0
418
#!/bin/sh # # create_core_pkg.sh # # part of pfSense (https://www.pfsense.org) # Copyright (c) 2004-2013 BSD Perimeter # Copyright (c) 2013-2016 Electric Sheep Fencing # Copyright (c) 2014-2021 Rubicon Communications, LLC (Netgate) # All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"...
NewEraCracker/pfsense
build/scripts/create_core_pkg.sh
Shell
apache-2.0
4,935
#!/bin/bash source "$(dirname "${BASH_SOURCE}")/../../hack/lib/init.sh" trap os::test::junit::reconcile_output EXIT # Cleanup cluster resources created by this test ( set +e oc delete project/example project/ui-test-project project/recreated-project oc delete sa/router -n default oc delete node/fake-node oc ...
tdawson/origin
test/cmd/admin.sh
Shell
apache-2.0
35,549
#!/bin/sh -xe # Simple integration test. Make sure to activate virtualenv beforehand # (source venv/bin/activate) and that you are running Boulder test # instance (see ./boulder-start.sh). # # Environment variables: # SERVER: Passed as "letsencrypt --server" argument. Boulder # monolithic defaults to :4000,...
PeterMosmans/letsencrypt
tests/boulder-integration.sh
Shell
apache-2.0
1,802
#!/usr/bin/env bash # This script sets up a go workspace locally and builds all go components. source "$(dirname "${BASH_SOURCE}")/lib/init.sh" function cleanup() { return_code=$? os::util::describe_return_code "${return_code}" exit "${return_code}" } trap "cleanup" EXIT platform="$(os::build::host_platform)" bu...
sdminonne/origin
hack/build-go.sh
Shell
apache-2.0
733
#!/bin/bash # FILE=01 # NODE=Act_1 # # FILE=02 # NODE=5 # # FILE=03 # NODE=A LENGTH=$1 FILE=$2 NODE=$3 perl -Ilib scripts/find.fixed.length.paths.pl \ -allow_cycles 0 \ -input_file data/fixed.length.paths.in.$FILE.gv \ -output_file out/fixed.length.paths.out.$FILE.gv \ -max notice \ -path_length $LENGTH \ -rep...
ronsavage/GraphViz2-Marpa-PathUtils
scripts/find.fixed.length.paths.sh
Shell
artistic-2.0
647
#!/bin/bash cd `dirname $0` . ./script_root.sh . ./addhistory.sh addhistory $0 "$@" # NOTICE: cirrus uses this script too. # mount EFI-SYSLINUX partition root=`rootdev` #root=/dev/sda3 syslinux=`echo ${root}|sed -e 's/\(3\|5\)/12/g'` echo mount ${syslinux} | tee /dev/tty1 | logger -t myscript mkdir /tmp/mnt mount ...
crosbuilder/CustomBuilds
script_dev/i915_modeset.sh
Shell
bsd-3-clause
1,105
#!/bin/bash pip install numpy pip install scipy pip install Cython pip install numexpr pip install tables export CFLAGS=-I/usr/include/gdal pip install GDAL==1.8.1 export CFLAGS= pip install -r ga.renci.org.txt
hydroshare/hydroshare2
requirements/install.sh
Shell
bsd-3-clause
212
#!/bin/bash function shapeupdatetotemplate { # local declaration of values dim=${DIM} template=${TEMPLATE} templatename=${TEMPLATENAME} outputname=${OUTPUTNAME} gradientstep=-${GRADIENTSTEP} # debug only # echo $dim # echo ${template} # echo ${templatename} # echo ${outputname} # echo ${out...
bkandel/AtroposMin
Scripts/shapeupdatetotemplate.sh
Shell
bsd-3-clause
9,606
ghc -odir ../../manualDist/ -hidir ../../manualDist/ -o ../../manualDist/bin/CurveProject.exe -O2 --make Main.hs -package-db ../../.cabal-sandbox/i386-windows-ghc-7.6.3-packages.conf.d/ ; cp ../css/*.css ../../manualDist/bin/css
ocramz/CurveProject
src/manualCompilation.sh
Shell
bsd-3-clause
229
#!/usr/bin/env bash __scriptpath=$(cd "$(dirname "$0")"; pwd -P) __init_tools_log=$__scriptpath/init-tools.log __PACKAGES_DIR=$__scriptpath/packages __TOOLRUNTIME_DIR=$__scriptpath/Tools __DOTNET_PATH=$__TOOLRUNTIME_DIR/dotnetcli __DOTNET_CMD=$__DOTNET_PATH/dotnet if [ -z "$__BUILDTOOLS_SOURCE" ]; then __BUILDTOOLS_SO...
ericstj/wcf
init-tools.sh
Shell
mit
6,072
#!/bin/bash DIR=$(mktemp -d) unzip -j $1 -d $DIR/ bash decompress_all.sh $DIR $2 rm -rf $DIR
WangXiang10/GWB_PRL16
include/probImage/probimage/ProbImage/decompress_zip.sh
Shell
mit
93
#!/bin/sh # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions # of the GNU General Public License v.2. # # You should have received a copy of the GNU General Public Licens...
vgmoose/lvm
test/shell/lvconvert-repair-replace.sh
Shell
gpl-2.0
3,569
#!/bin/bash # (C)2016-2020 LGB Gabor Lenart # https://github.com/lgblgblgb/xemu set -e if [ "$1" = "" -o "$2" = "" -o "$3" = "" ]; then echo "BAD USAGE" exit 1 fi DIR="$1" OUT="$2" cd $DIR rm -fr .zip mkdir -p .zip CMD="zip ../$OUT" while [ "$3" != "" ]; do file=`basename "$3"` if [ ! -f "$file" ]; then ec...
lgblgblgb/xclcd
build/zipper.sh
Shell
gpl-2.0
792
#!/bin/sh rm -f ~/.vimrc rm -rf ~/.vim mv -f ~/.vimrc_old ~/.vimrc mv -f ~/.vim_old ~/.vim
pegasuslw/vi_config
vim/uninstall.sh
Shell
gpl-2.0
91
#!/bin/bash # Given base.png and base32.png, makes the various sizes of icons needed for # OS X and Windows, and puts them into .icns and .ico files, respectively. # To run this script, make sure you have png2icns (icnsutils) and imagemagick # installed. On Debian, that means you should run: # sudo aptitude install...
skoppisetty/idigbio-appliance
packaging/icons/build_icons.sh
Shell
gpl-3.0
1,314
#!/bin/sh export CC="afl-clang" if [ -d /usr/lib/afl ]; then export AFL_PATH=/usr/lib/afl fi echo 'int main(){return 0;}' > .a.c [ -z "${CC}" ] && CC=gcc ${CC} ${CFLAGS} ${LDFLAGS} -o .a.out .a.c RET=$? rm -f .a.out .a.c if [ $RET != 0 ]; then echo "Your compiler doesn't supports AFL" exit 1 fi exec sys/install.sh $...
bhootravi/radare2
sys/afl.sh
Shell
gpl-3.0
322
function remove_instance () { echo "========================================" echo " Remove any running instances if any of ${TARGET_IMAGE} virsh domain." echo "========================================" set +e ssh -o StrictHostKeyChecking=no root@"${PROVISIONING_HOST}" virsh destroy ${TARGET_IMAGE} ...
sghai/robottelo-ci
scripts/satellite6-automation-instances.sh
Shell
gpl-3.0
1,729
#!/bin/sh # Copyright (c) 2010-2020 The Open Source Geospatial Foundation and others. # Licensed under the GNU LGPL. # # This library is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation, either version 2.1 ...
astroidex/OSGeoLive
bin/install_gpsprune.sh
Shell
lgpl-2.1
1,573
#! /bin/sh # # Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the ...
andreagenso/java2scala
test/J2s/java/openjdk-6-src-b27/jdk/test/javax/security/auth/Subject/doAs/Test.sh
Shell
apache-2.0
1,861
modpath=$HOME/modules/ git clone https://github.com/ekarlso/puppet-vswitch $modpath/vswitch git clone https://github.com/cprice-puppet/puppetlabs-inifile $modpath/inifile git clone https://github.com/EmilienM/openstack-quantum-puppet $modpath/quantum git clone git://github.com/puppetlabs/puppetlabs-stdlib.git $modpath/...
gwdg/puppet-neutron
examples/install_sample.sh
Shell
apache-2.0
485
#!/bin/bash set -e function usage() { echo "Confirms that no unexpected, generated files exist in the source repository" echo echo "Usage: $0 <timestamp file>" echo echo "<timestamp file>: any file newer than this one will be considered an error unless it is already exempted" return 1 } # parse arguments ...
androidx/androidx
busytown/impl/verify_no_caches_in_source_repo.sh
Shell
apache-2.0
2,966
#!/bin/sh # # Updates the platform update site in hale-build-support with the # built update site in build/updatesite. # # Assumes the hale-build-repository is present next to hale-platform. #./gradlew && rm -R ../hale-build-support/updatesites/platform/* && cp -R ./build/updatesite/* ../hale-build-support/updatesites...
halestudio/hale-platform
update-build-support.sh
Shell
apache-2.0
462
#!/bin/bash # initialize script for Computer Programming Lab # initialize script creates the initial environment for the Computer Programming # Lab by installing the server side dependencies for the lab and invokes the build script. # Mention all the server-side dependencies of the lab in # dependencies.txt # Usage o...
khushpreet-kaur/test-ui-tool-kit-repo
scripts/centos-scripts/initialize.sh
Shell
mit
1,171
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2013-2015 Mike Shal <marfey@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distribu...
p2rkw/tup
test/t8082-gitignore.sh
Shell
gpl-2.0
1,183
#!/bin/sh # # makedist - make an hp-ux distribution. # # # Since the HP-UX software distribution stuff doesn't directly support # symbolic links, we have the option of making an installation script that # creates symbolic links, or include files that are symbolic links in the # distribution. Since we want this distri...
ipwndev/DSLinux-Mirror
user/pixil/libs/flnx/packages/hpux/makedist.sh
Shell
gpl-2.0
933
#!/bin/bash ########################################################################################### ## Copyright 2003, 2015 IBM Corp ## ## ## ## Redistribution and use in s...
PoornimaNayak/autotest-client-tests
linux-tools/logrotate/logrotate.sh
Shell
gpl-2.0
6,461
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2009-2015 Mike Shal <marfey@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distribu...
rmoorman/tup
test/t2060-ghost-tuprules.sh
Shell
gpl-2.0
1,700
#! /bin/sh # Copyright (C) 2011-2013 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; either version 2, or (at your option) # any later version. # # This program ...
DDTChen/CookieVLC
vlc/extras/tools/automake/t/tap-no-spurious.sh
Shell
gpl-2.0
2,550
#! /bin/sh ## Quit immediately an error set -e ## Build the R package from a github branch. ## We assume that all the build tools, and the ## igraph dependencies are already installed, ## but the R packages we depend on are not. ## If not specified, we build the master branch branch=${1-master} ## If not specifie...
igraph/xdata-igraph
tools/virtual/vagrant/scripts/check-r.sh
Shell
gpl-2.0
2,140
#!/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 "Licen...
ivankelly/bookkeeper
microbenchmarks/run.sh
Shell
apache-2.0
1,325
#!/bin/bash ########################################################################## #Aqueduct - Compliance Remediation Content #Copyright (C) 2011,2012 # Vincent C. Passaro (vincent.passaro@gmail.com) # Shannon Mitchell (shannon.mitchell@fusiontechnology-llc.com) # #This program is free software; you can redist...
quark-pat/CLIP
packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5/prod/GEN001180.sh
Shell
apache-2.0
4,690
#!/bin/sh -e DIRECTORY=$(dirname "${0}") SCRIPT_DIRECTORY=$( cd "${DIRECTORY}" || exit 1 pwd ) # shellcheck source=/dev/null . "${SCRIPT_DIRECTORY}/../configuration/project.sh" if [ "${1}" = --help ]; then echo "Usage: ${0} [--ci-mode]" exit 0 fi if [ "${1}" = --ci-mode ]; then #script/shell/tes...
FunTimeCoding/python-utility
script/test.sh
Shell
mit
431
#! /bin/sh # Copyright (C) 2010-2015 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; either version 2, or (at your option) # any later version. # # This program ...
evaautomation/automake
t/lflags.sh
Shell
gpl-2.0
1,799
#!/usr/bin/env bash # # Copyright (C) 2020 Kaspar Schleiser <kaspar@schleiser.de> # 2020 Inria # 2020 Freie Universität Berlin # 2015 Philipp Rosenkranz <philipp.rosenkranz@fu-berlin.de> # # This file is subject to the terms and conditions of the GNU Lesser # General Public Lic...
cgundogan/RIOT
dist/tools/ci/static_tests.sh
Shell
lgpl-2.1
3,920