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 NAME="b4cpe1" CONTAINER="b4cpe:v0.1" NET="net-lwaftr1" IP="193.5.1.2" IP6="fd00:4600::1001" GW6="fd00:4600::1" PORTRANGE="1024-2047" AFTR="fd00:4600:8888::2" docker run --name $NAME -ti --privileged --network=$NET --ip6=$IP6 -v $PWD:/u:ro $CONTAINER $IP $PORTRANGE $GW6 $AFTR docker rm $NAME
amanand/vmx-docker-lwaftr
tests/run-b4cpe1.sh
Shell
apache-2.0
306
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use ...
riptano/brisk
resources/hive/bin/ext/help.sh
Shell
apache-2.0
1,395
#!/bin/bash # # JBoss, Home of Professional Open Source # Copyright 2015, Red Hat, Inc. and/or its affiliates, and individual # contributors by the @authors tag. See the copyright.txt in the # distribution for a full listing of individual contributors. # # Licensed under the Apache License, Version 2.0 (the "License");...
eduarddedu/quickstart
dist/release.sh
Shell
apache-2.0
4,440
#!/bin/bash #get all execution files in ./bin files=(./bin/*) #split file names into arr arr=$(echo $files | tr " " "\n") max_ver_num="$" exe_file=${arr[0]} #iterate over all file names to get the largest version number for x in $arr do output=$(grep -o "[0-9]\.[0-9]" <<<"$x") if [ "$output" \> "$max_ver_num"...
gunrock/gunrock
examples/lp/run.sh
Shell
apache-2.0
2,281
#!/bin/bash #if [ -d '/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2' ]; then # echo "Updating Chef Solo..." # apt-get install make --yes # time gem install -no-rdoc --no-ri chef # rm -Rf /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2 #else # echo "Skipping Chef Solo update." #fi #Fix the vboxsf gues...
Schneider95220/BlogMurVesperia
resources/sandbox/chef-update.sh
Shell
bsd-3-clause
433
#!/bin/bash SETTINGS_FILE=$1 if [[ -z "${SETTINGS_FILE}" ]]; then echo -e "\nERROR: You must pass in a settings file to run with, e.g. 'ci_settings'\n" exit -1 fi cd ureport_project echo "Starting celery deamon with ${SETTINGS_FILE}.py running in [`pwd`]" if [ ! -d "target" ]; then mkdir target fi e...
mbanje/ureport_uganda
ci-start-celery.sh
Shell
bsd-3-clause
499
#!/usr/bin/env bash # Runs all C++ examples set -Eeuo pipefail if [[ "$#" -gt 1 ]]; then echo "usage: run_cpp_examples.sh <prefix, e.g., mpirun -n 4 -oversubscribe>" exit 1 fi PREFIX=${1:-} $PREFIX build/bin/bench $PREFIX build/bin/brunel $PREFIX build/bin/dryrun $PREFIX build/bin/gap_junctions $PREFIX build/b...
halfflat/nestmc-proto
scripts/run_cpp_examples.sh
Shell
bsd-3-clause
440
#!/bin/bash # $Id: build.sh 6864 2007-11-05 13:21:51Z ellefj $ if [ "$JAVA_HOME" = "" ] ; then echo "ERROR: JAVA_HOME not found in your environment." echo echo "Please, set the JAVA_HOME variable in your environment to match the" echo "location of the Java Virtual Machine you want to use." exit 1 fi...
NCIP/cadsr-cgmdr-nci-uk
build.sh
Shell
bsd-3-clause
919
#! /bin/bash # java run wrapper A=`readlink $0` # resolve symlinks A="${A:-$0}" # if original wasn't a symlink, BSD returns empty string SCRIPT_REAL_PATH=$(cd "${A%/*}" && echo "$PWD/${A##*/}") # path to original shell script, resolved from relative paths PROJECT_DIR=`dirname "$SCRIPT_REAL_PATH"` PROJECT_DIR=`di...
dagi/GoodData-CL
notification-distro/bin/gdn.sh
Shell
bsd-3-clause
2,567
#!/bin/sh projectList=( "../src/Services/Catalog/Catalog.API" "../src/Services/Basket/Basket.API" "../src/Services/Ordering/Ordering.API" "../src/Services/Identity/Identity.API" "../src/Web/WebMVC" "../src/Web/WebSPA" "../src/Web/WebStatus" ) pushd $(pwd)/../src/Web/WebSPA npm install npm...
fmustaf/Samples
eShopOnContainers-dev/cli-mac/build-bits.sh
Shell
mit
1,144
#!/bin/bash FN="Neve2006_0.22.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.9/data/experiment/src/contrib/Neve2006_0.22.0.tar.gz" "https://bioarchive.galaxyproject.org/Neve2006_0.22.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-neve2006/bioconductor-neve2006_0.22.0_src_all.tar.gz" ) MD5...
mdehollander/bioconda-recipes
recipes/bioconductor-neve2006/post-link.sh
Shell
mit
1,291
#!/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...
yanghl/seanYang
Pods/Target Support Files/Pods-seanYang/Pods-seanYang-resources.sh
Shell
mit
5,084
#!/bin/sh for dylib in *.dylib *.jnilib do for ref in `otool -L $dylib | grep opt | awk '{print $1'}` do install_name_tool -change $ref @executable_path/../Frameworks/`basename $ref` $dylib done done
bx5974/sikuli
sikuli-ide/target/osx-10.5/Sikuli-IDE.app/Contents/Frameworks/change-lib-path.sh
Shell
mit
215
#!/bin/sh set -e export TIMEZONE=${TIMEZONE:-Europe/Brussels} /usr/local/bin/confd -onetime -backend env exec "$@"
he8us/php-fpm-common
7.1/entrypoint.sh
Shell
mit
118
#!/bin/bash if [ $1 = "-i" ]; then echo "test data for ACME_Corporation, changeset for env_1" return fi $CMD changeset create --env="env_1" --org="ACME_Corporation" --name="TMP" $CMD changeset update --env="env_1" --org="ACME_Corporation" --name="TMP" --add_product="prod_a1" $CMD changeset promote --env="env_...
iNecas/katello
scripts/test/test_data/changeset_a.sh
Shell
gpl-2.0
1,372
#! /bin/sh # Copyright (C) 2011-2014 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 ...
kuym/openocd
tools/automake-1.15/t/tap-bailout-and-logging.sh
Shell
gpl-2.0
1,283
#!/bin/bash # # tester.sh - reads testcases from file and tests busybox applets vs GNU # counterparts # # This should be run from within the tests/ directory. Before you run it, you # should compile up a busybox that has all applets and all features turned on. # set up defaults (can be changed with cmd-line options) B...
carlobar/uclinux_leon3_UD
user/busybox/tests/tester.sh
Shell
gpl-2.0
4,049
#!/bin/sh ### BEGIN INIT INFO # Provides: hwclock # Required-Start: # Required-Stop: $local_fs # Default-Start: S # Default-Stop: 0 6 # Short-Description: Set system clock # Description: Set system clock to hardware clock, according to the UTC # setting in /etc/default...
GeorgeIoak/AM1802-Kernel
targetNFS/etc/init.d/hwclock.sh
Shell
gpl-2.0
2,445
#!/system/bin/sh # Copyright (c) 2009-2014, The Linux Foundation. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notic...
DestructoSphere/android_device_huawei_y6
rootdir/etc/init.qcom.sh
Shell
gpl-3.0
8,043
#!/bin/bash -x # Fix StringFormatMatches programmatically sed -i 's/\(%[0-9]\)%\([a-z]\)/\1$\2/g' res/values*/*.xml
paulvi/fdroidclient
tools/fix-formats.sh
Shell
gpl-3.0
118
#!/bin/sh #assumes that you've already sourced the xilinx shrc file. on the buildbot system, it goes something like: # source /opt/Xilinx/12.3/ISE_DS/settings64.sh #for the vga bug export XIL_PAR_KEEP_BRAM_MULT_APART=1 cd build cp -R build_1200k_skeleton build_1200k_volatile cd build_1200k_volatile echo "=========...
ngoel9/progressive-learning-platform
reference/hw/scripts/build_1200k_linux.sh
Shell
gpl-3.0
1,186
#!/bin/bash #Please find those details full_area_name=CIAF0309 subset_name=cia img_base_name=theta_sebal_ # original data from ETb img_root=/media/disk2part1/RS/3_Products/theta_sebal/ # img_root=eta/ #Should not need to modify after this outdir=$subset_name mkdir $outdir echo $outdir rm $outdir/*.tif -f ogrinfo $fu...
YannChemin/distRS
progcl_test/prog_STATS2/scripts/extract_THETA.sh
Shell
unlicense
762
#!/bin/bash ##===----------------------------------------------------------------------===## ## ## This source file is part of the SwiftNIO open source project ## ## Copyright (c) 2017-2018 Apple Inc. and the SwiftNIO project authors ## Licensed under Apache License v2.0 ## ## See LICENSE.txt for license information ##...
apple/swift-nio
IntegrationTests/plugin_echo.sh
Shell
apache-2.0
1,246
#!/bin/bash -eu # Copyright 2021 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...
googlefonts/oss-fuzz
projects/image-rs/build.sh
Shell
apache-2.0
796
#!/bin/bash # while sleep 9m; do echo -e '\n=====[ Gradle build is still running ]====='; done & echo "Running MySQL docker image..." docker run -p 3306:3306 --name mysql-server -e MYSQL_ROOT_PASSWORD=password -d mysql:8.0.13 docker ps | grep "mysql-server" retVal=$? if [ $retVal == 0 ]; then echo "MySQL docker ...
GIP-RECIA/cas
ci/tests/mysql/run-mysql-server.sh
Shell
apache-2.0
411
#!/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"); ...
ptrendx/mxnet
ci/docker/install/tensorrt.sh
Shell
apache-2.0
1,732
alias lal="ls -al" alias ll='ls -l' alias vssh='vagrant ssh' alias dk="docker " alias dkc="dk ps" alias dkm="dk images" alias dki="dk inspect" alias dkb="dk build" alias cleandkc="dkc -a --no-trunc| grep Exit | awk '{print \$1}' | xargs -L 1 -r docker rm" alias cleandkm="docker rmi $(sudo docker images -f 'dangling=tr...
remoe/coreos-docker-dev
apps/bin/alias.sh
Shell
mit
1,561
#!/bin/bash -eux echo "==> Installed packages before cleanup" dpkg --get-selections | grep -v deinstall # Remove some packages to get a minimal install echo "==> Removing all linux kernels except the currrent one" dpkg --list | awk '{ print $2 }' | grep 'linux-image-3.*-generic' | grep -v $(uname -r) | xargs apt-get ...
hirokazumiyaji/packer-templates
ubuntu/scripts/minimize.sh
Shell
mit
2,148
#!/bin/sh echo 0 > /sys/module/brcmstb_spycat/parameters/ts_tap
BlackHole/oe-alliance-core
meta-brands/meta-xcore/recipes-bsp/spycat-zapper/spycat-zapper.sh
Shell
gpl-2.0
65
# Sequential run ../../../../bin/pw.x < scf.in > scf.out ../../../../bin/ph.x < ph.in > ph.out python pp.py < pp.in ../../../../bin/pw.x < scf_epw.in > scf_epw.out ../../../../bin/pw.x < nscf_epw.in > nscf_epw.out ../../../src/epw.x < epw1.in > epw1.out ../../../src/epw.x < epw3.in > epw3.out ../../../src/epw.x < epw4...
qiaojunfeng/q-e
EPW/tests/Inputs/t01/RUN.sh
Shell
gpl-2.0
1,351
#!/bin/sh sed -e 's/ \*/ [\*]/g' \ -e 's/ \* \(.*\):/[\/list][b]\1[\/b][list]/g' \ -e 's/commit\:\([a-f0-9]\{10\}\)[a-f0-9]*/\[githash\]\1\[\/githash\]/g' \ -e 's/ticket\:\([a-f0-9]*\)/\[ticket\]\1\[\/ticket\]/g'
Zabanya/warzone2100
build_tools/changelog2bbcode.sh
Shell
gpl-2.0
226
#!/bin/sh # This file is part of BOINC. # http://boinc.berkeley.edu # Copyright (C) 2008 University of California # # BOINC 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 3 of the Lic...
justinlynn/boinc-v2
mac_build/buildWxMac.sh
Shell
gpl-3.0
3,269
#!/bin/bash python setup.py install mkdir -p $PREFIX/bin/ cp bin/busco $PREFIX/bin/busco #python script cp scripts/generate_plot.py $PREFIX/bin/generate_plot.py cp scripts/busco_configurator.py $PREFIX/bin/busco_configurator.py # BUSCO needs a config file with paths to external dependencies. These deps are # instal...
roryk/recipes
recipes/busco/build.sh
Shell
mit
1,054
#!/bin/bash FN="EnsDb.Rnorvegicus.v79_2.99.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.8/data/annotation/src/contrib/EnsDb.Rnorvegicus.v79_2.99.0.tar.gz" "https://bioarchive.galaxyproject.org/EnsDb.Rnorvegicus.v79_2.99.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-ensdb.rnorvegicus.v7...
joachimwolff/bioconda-recipes
recipes/bioconductor-ensdb.rnorvegicus.v79/post-link.sh
Shell
mit
1,363
#! /bin/sh # Copyright (C) 2011-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/dist-missing-m4.sh
Shell
gpl-2.0
2,163
#!/bin/bash # A script to generate SQL from PNG images # depends on hexdump DB2_LENGTH_LIMIT=32000 # Converts hexadecimal string to DB2 BLOB format. # # This function splits the string into 32000 byte chunks because # of DB2 limitation "For a hexadecimal constant (X, GX, or UX), # the number of hexadecimal digits mu...
svn2github/zabbix
misc/images/png_to_sql.sh
Shell
gpl-2.0
2,530
#! /bin/sh MODTEST_OVERRIDE1=/proc/modules MODTEST_OVERRIDE_WITH1=tests/tmp/modules export MODTEST_OVERRIDE1 MODTEST_OVERRIDE_WITH1 # Old style echo 'foo_bar 100 1' > tests/tmp/modules [ "`rmmod foo_bar 2>&1`" = "ERROR: Module foo_bar is in use" ] [ "`rmmod foo-bar 2>&1`" = "ERROR: Module foo_bar is in use" ] # Old...
rhuitl/uClinux
user/module-init-tools/tests/test-rmmod/03inuse.sh
Shell
gpl-2.0
1,868
#!/bin/bash cd "`dirname "$0"`"/../ #if ! [ -f epic.rb ]; then # echo "Run this script from the top level directory." >&2 # exit 1 #fi for i in src/epic*.rb; do echo -n "${i}..." ruby -I src $i && echo " OK" done
CatchPlus/EPIC-API-v2
scripts/check_requires.sh
Shell
apache-2.0
216
#!/bin/bash # # Output the revision control version information (git/hg SHA) for the # current directory's dependencies. If multiple packages are contained # within the same git/hg repo we only output the top-level repo and # SHA once. # # The output is sorted by package name: # <package-repo-root>:<sha> dirs=() fun...
iqstack/cockroach
build/depvers.sh
Shell
apache-2.0
1,713
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
intel-hadoop/hadoop
hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh
Shell
apache-2.0
4,225
#!/bin/bash ######################################################################## # # Linux on Hyper-V and Azure Test Code, ver. 1.0.0 # Copyright (c) Microsoft Corporation # # All rights reserved. # Licensed under the Apache License, Version 2.0 (the ""License""); # you may not use this file except in compliance w...
bogdancarpusor/lis-test
WS2012R2/lisa/remote-scripts/ica/SR-IOV_Multiple_fileCopy.sh
Shell
apache-2.0
4,712
#! /bin/bash # BuildTarget: images/gear.png # BuildTarget: images/info.png # BuildTarget: images/plugAdder.png # BuildTarget: images/valueChanged.png set -e cp $GAFFER_ROOT/graphics/gear.png images cp $GAFFER_ROOT/graphics/info.png images cp $GAFFER_ROOT/graphics/plugAdder.png images cp $GAFFER_ROOT/graphics/valueCha...
andrewkaufman/gaffer
doc/source/WorkingWithTheNodeGraph/BoxNode/generate.sh
Shell
bsd-3-clause
336
#!/bin/sh echo "Not implemented for GTA04" #respawn-ttys.sh
Trim/qtmoko
devices/pc/src/devtools/scripts/usb-host.sh
Shell
gpl-2.0
60
#!/bin/bash FN="org.Pt.eg.db_3.14.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.14/data/annotation/src/contrib/org.Pt.eg.db_3.14.0.tar.gz" "https://bioarchive.galaxyproject.org/org.Pt.eg.db_3.14.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-org.pt.eg.db/bioconductor-org.pt.eg.db_3.14.0_...
cokelaer/bioconda-recipes
recipes/bioconductor-org.pt.eg.db/post-link.sh
Shell
mit
1,312
echo Deployment ends
khai-learn-cpp/my-first-glade-project
sh/deploy/after.sh
Shell
mit
21
#!/bin/sh valgrind --tool=memcheck --leak-check=full --show-reachable=yes --num-callers=20 --track-origins=yes --track-fds=yes ./oaisim -b1 -u1 -F -n100 2>leakage
herlesupreeth/OAI-5G
targets/SIMU/USER/valgrind.sh
Shell
gpl-3.0
163
#!/bin/sh export PATH=$PATH:/usr/local/bin if [[ $TERRAMA2_STATUS == 'start' ]]; then pm2 start webapp webmonitor pm2 save elif [[ $TERRAMA2_STATUS == 'stop' ]]; then pm2 stop webapp webmonitor pm2 save else pm2 describe webapp &>/dev/null fi if [[ $? -eq 0 ]]; then exit 0 else exit 1 fi
TerraMA2/terrama2
scripts/mac/check.sh
Shell
lgpl-3.0
318
#!/bin/sh # Copyright 2017 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 to ...
dgquintas/grpc
tools/run_tests/sanity/check_unsecure.sh
Shell
apache-2.0
1,221
## Copyright (c) MediaArea.net SARL. All Rights Reserved. # # Use of this source code is governed by a BSD-style license that can # be found in the License.html file in the root of the source tree. ## #! /bin/sh #----------------------------------------------------------------------- # Default script . ./Relea...
xucp/mpc_hc
src/thirdparty/MediaInfo/library/Release/Release_DLL_Mac_PPC.sh
Shell
gpl-3.0
464
CLASSPATH=$CLASSPATH:. lcm-spy
cheshirekow/codebase
third_party/lcm/test/java/lcm-spy.sh
Shell
gpl-3.0
31
#!/bin/bash find_webconfiguration () { find /var/lib/tomcat/webapps/opencms/WEB-INF/server-scripts/configs/ -name 'opencms_*' -exec cp {} /etc/apache2/sites-available/ \; } check_site_enabled () { cd /etc/apache2/sites-available for file in opencms_*; do if [ ! -f /etc/apache2/sites-enabled/$file ]; ...
it-tavis/opencms-core
modules/org.opencms.workplace.tools.sites/resources/system/modules/org.opencms.workplace.tools.sites/webserver-templates/cron.sh
Shell
lgpl-2.1
578
#!/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 A...
adufilie/flex-sdk
mustella/tests/Managers/StyleManager/SWFs/pre_compile.sh
Shell
apache-2.0
1,073
#!/bin/bash # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # scripts directory THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd) REACT_NATI...
exponentjs/react-native
scripts/packager.sh
Shell
bsd-3-clause
866
rm -rf dist cp -r src dist find dist/ -name *.js -type f -exec mv {} {}.flow \; babel src/ -d dist/ "$@" --source-maps
jeswin/isotropy-mount
build.sh
Shell
mit
119
#!/bin/bash # # IPv4/IPv6 address management using iproute2 (formerly: ifcfg, ifconfig). # # # Copyright (C) 1997-2003 Sistina Software, Inc. All rights reserved. # Copyright (C) 2004-2012 Red Hat, Inc. All rights reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms...
johnruemker/resource-agents
rgmanager/src/resources/ip.sh
Shell
gpl-2.0
21,839
#!/bin/bash # Copyright 2014 The Kubernetes 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 require...
arjones67/kubernetes
cluster/vagrant/util.sh
Shell
apache-2.0
12,900
#!/bin/sh # Unit tests for init.sh # Copyright (C) 2011-2014 Free Software Foundation, Inc. # This file is part of the GNUlib Library. # # 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 ve...
marmeladema/libprelude
libmissing/tests/test-init.sh
Shell
gpl-2.0
2,370
#!/bin/sh # # $Id: remove_control_m.sh 5152 2003-11-18 15:20:45Z nijel $ # # Script to remove ^M from files for DOS <-> UNIX conversions # if [ $# != 1 ] then echo "Usage: remove_control_m.sh <extension of files>" echo "" echo "Example: remove_control_m.sh php3" exit fi for i in `find . -name "*.$1"` do ...
ppramesi/bbcharcoal
web/wp-content/plugins/wp-phpmyadmin/phpmyadmin/scripts/remove_control_m.sh
Shell
gpl-2.0
392
# # Set some language specific variables. Works in conjunction with # tesstrain.sh # #============================================================================= # Language specific info #============================================================================= # Array of all valid language codes. VALID_LANGUAG...
JackFan-Z/tess-two
tess-two/jni/com_googlecode_tesseract_android/src/training/language-specific.sh
Shell
apache-2.0
29,697
#!/bin/bash set -e set -x if test -n "$PY"; then # https://github.com/pycurl/pycurl/blob/master/tests/travis/setup.sh sudo add-apt-repository -y ppa:fkrull/deadsnakes sudo apt-get update sudo apt-get install python$PY-dev if test "$PY" = 2.5; then wget -O - http://python-distribute.org/distribute_setup...
Eddy0402/Environment
vim/ycmd/third_party/bottle/test/travis_setup.sh
Shell
gpl-3.0
386
#!/bin/bash mkdir -p $PREFIX/bin export C_INCLUDE_PATH=${PREFIX}/include export LIBRARY_PATH=${PREFIX}/lib make mv bgt $PREFIX/bin
joachimwolff/bioconda-recipes
recipes/bgt/build.sh
Shell
mit
136
#!/bin/sh # # Copyright (c) 2012 Mozilla Foundation # test_description='diff.context configuration' . ./test-lib.sh test_expect_success 'setup' ' cat >template <<-\EOF && firstline b c d e f preline TARGET postline i j k l m n EOF sed "/TARGET/d" >x <template && git update-index --add x && git co...
velorientc/git_test3
t/t4055-diff-context.sh
Shell
gpl-2.0
1,775
#!/bin/sh name=$1 database=$2 echo "Database Updater check script:" echo " Checking database '${name}' for missing filenames in tables..." echo # Select all entries which are in the updates table entries=$(mysql -uroot ${database} -e "SELECT name FROM updates" | grep ".sql") cd sql/updates/${name} error=0 updates=...
imbavirus/TrinityCore
contrib/check_updates.sh
Shell
gpl-2.0
1,198
#!/bin/sh set -e # Override `/github/home` set by GitHub Actions. export HOME=/home/linuxbrew export HOMEBREW_GITHUB_ACTION="$GITHUB_ACTION" export HOMEBREW_GITHUB_ACTOR="$GITHUB_ACTOR" export HOMEBREW_GITHUB_EVENT_NAME="$GITHUB_EVENT_NAME" export HOMEBREW_GITHUB_EVENT_PATH="$GITHUB_EVENT_PATH" export HOMEBREW_GITHU...
mahori/homebrew-versions
.github/actions/automerge/entrypoint.sh
Shell
bsd-2-clause
569
#!/bin/sh # udevd does clearenv(). Export shell PATH to children. export PATH # Do not run when pcmcia-cs is installed test -x /sbin/cardctl && exit 0 # We get two "add" events for hostap cards due to wifi0 echo "$INTERFACE" | grep -q wifi && exit 0 # Check if /etc/init.d/network has been run yet to see if we are ...
bticino/openembedded
recipes/udev/files/network.sh
Shell
mit
1,477
#!/bin/sh if [ $# -lt 2 ] then echo Missing nifti tool and Binary directory name exit 1 fi NT=$1 DATA=$2 # add some comment and afni extensions, then display them if \ ${NT} -keep_hist -prefix ${DATA}/f4.comment -infiles ${DATA}/anat0.nii \ -add_comment '4 slice time series' \ ...
badbytes/pymeg
extra/arch_aur_pkgs/nifticlib/src/nifticlib-1.1.0/Testing/nifti_regress_test/cmake_testscripts/comment_test.sh
Shell
gpl-3.0
1,082
#!/bin/sh # genscripts.sh - generate the ld-emulation-target specific files # Copyright (C) 2004-2015 Free Software Foundation, Inc. # # This file is part of the Gnu Linker. # # 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 # ...
selmentdev/selment-toolchain
source/binutils-latest/ld/genscripts.sh
Shell
gpl-3.0
14,279
#!/bin/sh ############################################################################## # Copyright (c) 2004 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a...
darlinghq/darling
src/ncurses/misc/gen_edit.sh
Shell
gpl-3.0
2,886
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!-- Copyright (C) 2003 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as p...
pygmalion666/inception
support-files/MacOSX/StartupParameters.plist.sh
Shell
gpl-2.0
1,185
# This snippet setups pkg-config vars. if [ -z "$CHROOT_READY" ]; then export PKG_CONFIG_PATH="${XBPS_MASTERDIR}/usr/lib/pkgconfig:${XBPS_MASTERDIR}/usr/share/pkgconfig" fi
jprjr/void-packages
common/environment/configure/pkg-config.sh
Shell
bsd-2-clause
175
#!/bin/sh test_description='Test notes trees that also contain non-notes' . ./test-lib.sh number_of_commits=100 start_note_commit () { test_tick && cat <<INPUT_END commit refs/notes/commits committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <<COMMIT notes COMMIT from refs/notes/commits...
overtherain/scriptfile
tool-kit/git-2.1.2/t/t3304-notes-mixed.sh
Shell
mit
4,256
#!/usr/bin/env bash # AUTHOR: Shane Gordon # FILE: a2_create_dcd_no_H_or_H2O.sh # ROLE: This is a simple launch script to run: # <main>/Scripts/Analysis_Scripts/a2_create_dcd_no_H_or_H2O.tcl # This will create a version of the centered dcd trajectory without water or # hydrogen ...
s-gordon/MD_workflow_martini_coarse_grain
Scripts/Analysis_Scripts/a2_create_dcd_no_H_or_H2O.sh
Shell
mit
821
sed -e s/\\/lib\\/closure-library/\\/..\\/closure-library/g src/db/path_test.html find ./ -name "*.html" -exec sed -i.bak -e s/\\/lib\\/closure-library/\\/..\\/closure-library/g {} \; find ./ -name "*.html" -exec sed -i.bak -e s/\\/my-deps.js/\\/..\\/my-deps.js/g {} \;
evaks/recoil-build
bin/adj-path.sh
Shell
mit
275
#!/bin/bash echo "$0 invoked as user '${SUDO_USER}' which is member of groups:" groups echo "script being run as user id $EUID" if [[ $EUID -ne 0 ]] ; then echo "UNEXPECTED!!! this script was expectd to be run as root/sudo" ; exit 1 ; fi grep alice /etc/shadow
fabianlee/blogcode
vagrant/auditd/quicktest.sh
Shell
mit
261
#!/bin/bash #============================================================================== # Combine stats measures of surface parcellations and segmentations for # NSPN MPM and DTI data for all subjects # Created by Kirstie Whitaker # Contact kw401@cam.ac.uk #=========================================================...
KirstieJane/UCHANGE_ProcessingPipeline
NSPN_Report_ROIstats_Allsubs.sh
Shell
mit
17,655
#!/bin/sh cd ~/cubium/hab/uvInternal/ ./uvInternal.out & cd ~/cubium/hab/subnetmanager ./subnet_driver.out & cd ~/cubium/hab/uvExternal/ ./uvExternal.out & cd ~/cubium/hab/analog-temp1/ ./analog-temp1.out & cd ~/cubium/hab/analog-temp2/ ./analog-temp2.out & cd ~/cubium/hab/barometer/ ./barometer.out & cd ~/cubium...
Cubium/Cubium
start.sh
Shell
mit
756
#!/usr/bin/env bash command-exists() { # Portable way of checking if a command exists command -v "$1" >/dev/null 2>&1 }
abravalheri/dotfiles
+lib/command-exists.sh
Shell
mit
125
#!/usr/bin/env bash cd /tmp rm -rf angular-cloudsearch; true git clone https://github.com/scottrice10/angular-cloudsearch.git cd angular-cloudsearch npm install --unsafe-perm nodejs server.js
scottrice10/angular-cloudsearch
eb-config/start.sh
Shell
mit
195
#!/bin/sh if [ -f .env ]; then source .env fi SECRET=secret \ PGDATABASE=bactdbtest \ DOMAINS="http://localhost:4200" \ ACCOUNT_KEYS=$ACCOUNT_KEYS \ bash -c 'go run *.go serve'
thermokarst/bactdb
serve.sh
Shell
mit
183
#!/bin/bash set -euo pipefail source ~/.venvs/jjmc89-bot/bin/activate python3 ~/repos/JJMC89_bot/enwiki/category_double_redirect_fixer.py -ns:14 -transcludes:'Category redirect' -always
JJMC89/JJMC89_bot
.toolforge/jobs/cat-dbl-redir-fixer.sh
Shell
mit
188
#!/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...
xuyazhong/SunnyNavigation
Example/Pods/Target Support Files/Pods-SunnyNavigation_Example/Pods-SunnyNavigation_Example-frameworks.sh
Shell
mit
3,735
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2014:1255 # # Security announcement date: 2014-09-17 10:59:43 UTC # Script generation date: 2017-01-01 21:15:31 UTC # # Operating System: Red Hat 5 # Architecture: i386 # # Vulnerable packages fix on version: # - krb5-debuginfo.i386:1.6.1-80.el5_11 # -...
Cyberwatch/cbw-security-fixes
Red_Hat_5/i386/2014/RHSA-2014:1255.sh
Shell
mit
1,250
#!/bin/bash set -x set -e INSTALL_ROOT=$1 SRC_ROOT=$2 mkdir test_build cd test_build cmake -DCMAKE_PREFIX_PATH=$INSTALL_ROOT $SRC_ROOT/src/ATen/test/test_install make ./main
Teaonly/easyLearning.js
TensorExpress/aten/tools/test_install.sh
Shell
mit
174
#!/bin/csh echo "These tests may take a while. Be patient." if (-e BTree.out) rm BTree.out echo "Running BTree test..." ../BTree/BTree < words.sql > BTree.out diff BTree.out BTree.std rm BTree.out rm wordtmp if (-e RTree.out) rm RTree.out echo "Running RTree test..." ../RTree/RTree < boxes.sql > RTree.out diff RTree.o...
tjerwinchen/FusionDB
src/fusiondb/fastdb/GiST/tests/runtests.sh
Shell
mit
557
#!/bin/bash export website_builder_input_path="/var/www/3dly/mobanzhanshi" export website_builder_output_path="/var/www/3dly/mobanzhanshi/anlizhanshi" python build.py
xxd3vin/website-builder
ci.sh
Shell
mit
169
#!/usr/bin/env bash sudo cp nginx.default /etc/nginx/sites-available/default sudo nginx -s reload
andreydelpozo2/breadcrumbs
updatenginx.sh
Shell
mit
100
#!/bin/bash # this script create a service dir for a specified user # get environment variables source /etc/container_environment.sh VESTA_PATH='/usr/local/vesta' user="$1" # only run if user has a value if [ -n "$user" ]; then if [ ! -d "/home/$user" ]; then echo "[e] $user or home directory for user does not ex...
niiknow/vestacp
rootfs/sysprepz/admin/bin/vesta-create-user-service.sh
Shell
mit
654
#!/bin/bash -e VERSION=`cat VERSION` TAG="senzil/shippable_deploy:$VERSION" echo "Building $TAG" docker build --rm -t $TAG .
senzil/shippable_deploy
build.sh
Shell
mit
124
#!/bin/sh -ex #go get -u google.golang.org/grpc #go get -u cloud.google.com/go/compute/metadata #go get -u golang.org/x/oauth2 go get -u github.com/grpc/grpc-go/interop go build -o go-grpc-interop-client github.com/grpc/grpc-go/interop/client go build -o go-grpc-interop-server github.com/grpc/grpc-go/interop/server #...
stepancheg/grpc-rust
interop/get-go-interop.sh
Shell
mit
344
#!/usr/bin/env bash # MIT license # Copyright 2020 Sergej Alikov <sergej.alikov@gmail.com> _DOC='Create or destroy a cloud image-based VM instance on a Linux KVM host (libvirt)' set -euo pipefail usage () { cat <<EOM ${_DOC} Usage: ${0} FLAGS create|destroy INSTANCE-CONFIG-FILE TARGET ${0} --help FLAG...
node13h/ops-scripts
scripts/vm-instance.sh
Shell
mit
7,936
# # Alias file for php # if (( $+commands[php] )) then alias php-serve='php -S 0.0.0.0:8000' fi alias ci='composer install' alias cu='composer update' alias cr='composer require'
gusknul/dotfiles
php/aliases.zsh
Shell
mit
184
#!/bin/bash # # Simple setup script for new systems, mainly to bootstrap Puppet # After running this, cd into /etc/puppet and run `make base` # Installs basic packages for CentOS if [ -d /etc/yum.repos.d/ ]; then VER='6' grep -q 'release 7' /etc/centos-release && VER='7' if [ "$VER" == '6' ]; then ...
phillip-hopper/tools
general_tools/bootstrap-new-node.sh
Shell
mit
1,315
#!/usr/bin/env bash # Fail on any error # set -e python3 -m venv env source env/bin/activate pip3 install -r requirements.txt
HoldYourBreath/Library
scripts/bootstrap.sh
Shell
mit
130
#!/bin/bash $* -e main examples/concurrent.sch
shima3/sch-script
test/5.sh
Shell
mit
47
#!/bin/bash pwd=$(pwd) source ${pwd}/conf/config.sh docker stop ${CONTAINER_NAME} docker rm ${CONTAINER_NAME} docker run -d --name ${CONTAINER_NAME} -e TERM=xterm -v ${SRC_HOST_DIR}:/media/sf_virtual_app -v ${VOLUME_HOST_NAME}:/DATA/app --privileged=true ${IMAGE_NAME} docker logs -f ${CONTAINER_NAME}
QuentinBay/docker-unison
run.sh
Shell
mit
303
#!/bin/bash #FLAGS is filled with arguments for bind-interfaces.sh FLAGS="" #OPTIONS is filled with options for cmake OPTIONS='' MLX5=false MLX4=false MOON=false while :; do case $1 in -h|--help) echo "Usage: <no option> compile without Mellanox drivers; <-m|--mlx5> compile mlx5; <-n|--mlx4> compile mlx4; <-h|...
scholzd/libmoon
build.sh
Shell
mit
1,957
#!/bin/bash ulimit -c unlimited for f in $(ls *.test); do ./$f 2> /dev/null > /dev/null & PID=$! wait $PID mv -f /cores/core.$PID $f.core done
tjfontaine/llmdb
tests/test-runner.sh
Shell
mit
153
#!/bin/bash now=`date +'%Y-%m-%d %T'` printf "[${now}]\n" # scan with ClamAV first (faster) clamscan -rio --enable-stats --move /data/av/quarantine /data/av/scan # scan with maldet second, if file still in /data/av/scan files=$(shopt -s nullglob dotglob; echo /data/av/scan/*) if (( ${#files} )) then maldet -a /da...
rordi/docker-antivirus
assets/bin/scanfile.sh
Shell
mit
770
#!/bin/sh # ---------------------------------------------------------------------------- # etl - Extract, Transform, Load handler for data produced by Machine Learning # pipeline. # # Usage: ./etl.sh # ---------------------------------------------------------------------------- ETL_APP=`pwd`/etl.py TMP_DIR=`pwd`/etl...
agileronin/skills-api
etl/etl.sh
Shell
mit
1,702
dirs="alphabet_fast" #Add the tick sounds for dir in $dirs do new_dir="${dir}/channels5/" a=`ls ${new_dir} --all | grep ogg` echo "*************************************************************" echo "DIR = ${new_dir}" echo ${a} echo "-------------------------------------------------------------" for i...
singleswitch/ticker
voice_recordings/add_tick_to_sounds.sh
Shell
mit
712