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 CWD=$(pwd) LOGFILE=/home/vkoshura/spelbuild.log TESTSFILE=/home/vkoshura/spelbuildtests.log USRFILE=/home/vkoshura/spelbuildbot.usr LOCKFILE=/home/vkoshura/spelbuild.lock TESTSSUMMARYFILE=/home/vkoshura/testssummary.log SEPARATETESTFILE=/home/vkoshura/separatetest.log LOGS=/home/vkoshura/linuxlogs.7z ERROR...
spelteam/spel-scripts
spelbuild.sh
Shell
gpl-3.0
4,748
#!/bin/bash SENSORS=$(which sensors) if [ $# -ne 0 ] then $SENSORS | grep "$1" | awk '{print $3}' | cut -d'+' -f2 else $SENSORS | grep '\(Physical\|Core\)' | sed 's/Physical id \([0-9]\)*:/PCPU \1:/' | tr -d "+" | awk '{print " " $1 " " $2 " " $3}' fi
the-paulus/conky
scripts/cputemp.sh
Shell
gpl-3.0
256
### #code to make runner work on both osx and linux. Essentially, it creates a file path to the script directory and saves this path as $0. In detail: 'if the operating system type is darwin (a mac), then use the greadlink function when the readlink function is called. Then use the greadlink function to find the script...
pedrocrisp/NGS-pipelines
PARE_pipe1/01-runner.sh
Shell
gpl-3.0
3,277
#!/bin/sh set -ex shopt -s extglob CDN_REPLACE_FILES=( build/index.html build/js/download-data.js ) function copySrcToBuild { rm -rf build/ mkdir build/ cp -r src/ build/ } # replaceInFile(file, findText, replaceText) function replaceInFile { sed -i .tmp "s/$2/$3/" $1 rm $1.tmp } function getCdnVersi...
omouse/gcal-invoice
bower_components/angularjs/build.sh
Shell
gpl-3.0
1,990
mkdir bin zip dist/satellite-server-win.zip *.exe *.dll zip -r dist/satellite-server-mac.zip *.app python setup.py sdist
hauckwill/satellite-server
build.sh
Shell
gpl-3.0
123
#!/bin/bash echo "Enabling Aliases..." rm -r $HOME/.bash_it/aliases/enabled 2> /dev/null mkdir -p $HOME/.bash_it/aliases/enabled ln -s $HOME/.bash_it/aliases/available/general.aliases.bash $HOME/.bash_it/aliases/enabled/general.aliases.bash ln -s $HOME/.bash_it/aliases/available/git.aliases.bash $HOME/.bash_it/aliases/...
vpassapera/BashConfigs
install.sh
Shell
gpl-3.0
3,751
#!/bin/bash home=`dirname $0` $home/../../bin/join.sh $home/input1 $home/input2 /tmp/job-output 0 2 diff -s $home/expected_output /tmp/job-output
stupaq/hadoop-relational
inputs/join/test.sh
Shell
gpl-3.0
147
#!/bin/sh -x INSTALL_PATH= [ -z "$INSTALL_PATH" ] && INSTALL_PATH=/usr/local rm $INSTALL_PATH/bin/mdpreview rm $INSTALL_PATH/lib/mdpreview -rf
fboender/mdpreview
uninstall.sh
Shell
gpl-3.0
145
#./bin/bzrflag --world=maps/four_ls.bzw --red-port=50100 --green-port=50101 --purple-port=50102 --blue-port=50103 $@ & ./bin/bzrflag --world=maps/rotated_box_world.bzw --red-port=50100 --green-port=50101 --purple-port=50102 --blue-port=50103 $@ & sleep 2 python bzagents/agent1_spencer.py localhost 50100 & # python bzag...
edwardekstrom/BZRflag
rungame-vs2dumb.sh
Shell
gpl-3.0
454
java -jar /opt/Cryptogen/bin/CryptogenV1.0.jar
Zander-Labuschagne/Cryptogen
deployment/Cryptogen-1.0.1-mt-linux/bin/CryptogenV1.0.sh
Shell
gpl-3.0
47
#!/bin/bash IMAGE=mahno IMAGE_L=registry.gitlab.com/kdudkov/$IMAGE TAG=latest tar czf files.tar.gz actors config core static requirements.txt *.py docker build . -t $IMAGE_L:$TAG -t $IMAGE:$TAG rm files.tar.gz docker push $IMAGE_L:$TAG
kdudkov/tiny-home-automation
build.sh
Shell
gpl-3.0
240
#!/bin/bash # # imagine a file with commented, uncommented and blank lines # # $ cat victim.txt # # comment # 0 1 2 * go hard # 99 * this and that # # another comment # # # There is a blank line above # 12 34 56 /tmp # hello # a tab char contained in this line # # this onel...
javierpeces/my-shell-collection
comments.sh
Shell
gpl-3.0
619
#!/bin/bash ################################################################################### ################this program will install environment automaticly################## ################################################################################### PAHT=$PATH export PATH #当前脚本的的路径 CURRENT_DIR="$(cd $(di...
dishitequ/test_demo
work/work-scripts/初始化服务器/inEnvironment.sh
Shell
gpl-3.0
12,385
#!/bin/sh # upgrade-ux postremove.sh echo " * postremove.sh starts" # remove man page if [[ -f /usr/share/man/man8.Z/upgrade-ux.8 ]]; then rm -f /usr/share/man/man8.Z/upgrade-ux.8 echo " * Removed /usr/share/man/man8.Z/upgrade-ux.8 man page" fi
gdha/upgrade-ux
packaging/HP-UX/postremove.sh
Shell
gpl-3.0
267
#!/bin/bash git clone --depth 1 https://travis-ci:${GITHUB_TOKEN}@github.com/guedouari/desktop.xstr.me.git cd desktop.xstr.me/ # git remote rm origin # git remote add origin https://travis-ci:${GITHUB_TOKEN}@github.com/guedouari/desktop.xstr.me.git rm -rf www cp -r ../www www git add -f www/* git commit -m "upd...
guedouari/xstr.me
scripts/deploy-desktop.sh
Shell
gpl-3.0
418
#!/bin/bash # # FTP Bash Backup. # Copyright (C) 2015 Johnnywoof # # 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 3 of the License, or # (at your option) any later version. # # ...
johnnywoof/FTP-Bash-Backup
backupScript.bash
Shell
gpl-3.0
3,308
#!/usr/bin/env bash # This file is part of The RetroPie Project # # The RetroPie Project is the legal property of its developers, whose names are # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. # # See the LICENSE.md file at the top-level directory of this distribution ...
superjamie/RetroPie-Setup
scriptmodules/libretrocores/lr-parallel-n64.sh
Shell
gpl-3.0
3,499
#!/bin/bash #SBATCH --job-name=pl.lamb.11.prod.1 #SBATCH --output=pl.lamb.11.prod.1.err #SBATCH --time=48:00:00 #SBATCH --nodes=1 #SBATCH --exclusive #SBATCH --mail-type=END # Type of email notification- Available Options (BEGIN,END,FAIL,ALL) #SBATCH --mail-user=dupontke@colostate.edu # Email to which notifications wi...
dupontke/Thermodynamic_Integration
lambda/lambda.11/production.1/submit_pl.lamb.11.prod.1.sh
Shell
gpl-3.0
1,001
histoDistro Data32/full_meoh.{1,2,3,14,17}.32ps.traj 50 hist.dat
jeffcomer/DiffusionFusion
Examples/Smoluchowski/doHist.sh
Shell
gpl-3.0
65
#!/bin/bash #if synclient -l | grep "TouchpadOff .*=.*0" ; then #synclient TouchpadOff=1 ; #else #synclient TouchpadOff=0 ; #fi id="$(xinput | grep "Synaptics"| grep -oP 'id=([0-9]*)' | sed 's/id=//')" if xinput list-props $id | grep "Device Enabled (153):.*1" >/dev/null then xinput disable $id notify-send ...
luffy1012/Scripts
toggletouchpad.sh
Shell
gpl-3.0
401
# # 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, You can obtain one at http://mozilla.org/MPL/2.0/. # # # Copyright (c) 2014, Joyent, Inc. # git ls-tree -r --name-only HEAD | PATH=/usr/node/bin:$PATH xargs license-fil...
joyent/sdc-cnapi
tools/update-license.sh
Shell
mpl-2.0
325
#!/bin/bash . ./util_functions.sh # Default values OTRS_BACKUP_DIR="/var/otrs/backups" OTRS_CONFIG_DIR="${OTRS_ROOT}Kernel/" OTRS_CONFIG_FILE="${OTRS_CONFIG_DIR}Config.pm" OTRS_CONFIG_MOUNT_DIR="/Kernel" mysqlcmd="mysql -uroot -h$OTRS_DB_SERVER -p$MYSQL_ROOT_PASSWORD " function wait_for_db(){ while t...
wdouglascampbell/docker-otrs
scripts/functions.sh
Shell
agpl-3.0
8,098
nosetests --with-coverage --cover-package=ease
TsinghuaX/ease
run_tests.sh
Shell
agpl-3.0
47
#!/bin/bash -e # mock runner is not setting up the system correctly # https://issues.redhat.com/browse/CPDEVOPS-242 if [[ "$(rpm --eval "%dist")" == ".el8" ]]; then readarray -t pkgs < automation/check-merged.packages.el8stream else readarray -t pkgs < automation/check-merged.packages fi dnf install -y "${pkgs[@]}" ...
oVirt/ovirt-hosted-engine-setup
automation/check-merged.sh
Shell
lgpl-2.1
630
#!/bin/sh # Sapwood server startup/shutdown script if [ "x$AF_PIDDIR" = "x" ]; then echo "$0: Error, AF_PIDDIR is not defined" exit 2 fi if [ ! -w $AF_PIDDIR ]; then echo "$0: Error, directory $AF_PIDDIR is not writable" exit 2 fi PROG=/usr/lib/sapwood/sapwood-server SVC="Sapwood image server" case "$1" in s...
GNOME/sapwood
debian/sapwood-server.sh
Shell
lgpl-2.1
708
#!/bin/sh [ -d ./tmp ] && rm -rf ./tmp DEVKIT_ROOT=/sifteam/jackal/builds/opensif/gbquad/tmp/ CROSS=${DEVKIT_ROOT}/sysroots/x86_64-linux/usr/bin/mips32el-oe-linux/mipsel-oe-linux- export CFLAGS+="-I${DEVKIT_ROOT}/sysroots/gbquad/usr/include \ -I${DEVKIT_ROOT}/sysroots/gbquad/usr/include/libxml2 \ -I${DEVKIT_ROOT}/...
oe-alliance/e2openplugin-CrossEPG
make_e2_oealliance.sh
Shell
lgpl-2.1
1,053
#!/bin/bash rel=../.. if [ x"$TOP" == x ]; then TOP=`pwd`/$rel; fi . $rel/linux-ow.sh dos=1 doshuge=1 dostiny=1 # MS-DOS tiny model if [ "$1" == "clean" ]; then do_clean rm -fv test.dsk test2.dsk nul.err tmp.cmd tmp1.cmd tmp2.cmd exit 0 fi if [ "$1" == "disk" ]; then make_msdos_data_disk test.dsk || ...
joncampbell123/doslib
hw/pcie/make.sh
Shell
lgpl-2.1
813
#!/usr/bin/env bash set -Eeuo pipefail IFS=$'\n\t' current="$(pwd)" root="$( cd "$(dirname "$0")" pwd -P )" outDir="${root}/generated_media" # Create example files. echo "Not a valid video file" > "${root}/library/Demo.mov" echo "Not a valid mp3 file" > "${root}/library/Demo.mp3" # Delete old data rm -rf "${outDi...
Komet/MediaElch
scripts/create_fakes.sh
Shell
lgpl-3.0
4,024
#! /bin/bash filenames[0]="default.cow" filenames[1]="neko.cow" filenames[2]="tux.cow" filenames[3]="penguin.cow" DFORMAT="+%A %B %d, %Y %l:%M:%S %P" SLEEPSECS=120 while [ 1 ]; do for ii in 0 1 2 3; do fname=${filenames[ii]} ./cowsay.scm --file ${fname} $(date "$DFORMAT") sleep ${SLEEPSE...
robertharamoto/Basics
Cowsay/say-time.sh
Shell
unlicense
338
#!/bin/bash # Install rJava on Mac export JAVA_HOME=/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home export JAVA_CPPFLAGS=-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/ R CMD javareconf...
caesar0301/warp-drive
utilities/insall_rjava_rgdal_mac.sh
Shell
apache-2.0
568
#!/usr/bin/env bash rm -rf node_modules/cerebral ln -s ../cerebral/packages/cerebral node_modules rm -rf node_modules/cerebral-provider-firebase ln -s ../cerebral/packages/cerebral-provider-firebase node_modules rm -rf node_modules/cerebral-router ln -s ../cerebral/packages/cerebral-router node_modules
saitodisse/scrap-cerebral-2
scripts/link-cerebral-source.sh
Shell
apache-2.0
307
#!/bin/bash : ${SECURE_RANDOM:=true} : ${EXPOSE_JMX_METRICS:=false} : ${EXPOSE_JMX_METRICS_PORT:=20105} : ${EXPOSE_JMX_METRICS_CONFIG:=config.yaml} : ${TRUSTED_CERT_DIR:=/certs/trusted} : ${EXPOSE_JMX_BIND_ADDRESS:=0.0.0.0} echo "Importing certificates to the default Java certificate trust store." if [ -d "$TRUSTED...
hortonworks/cloudbreak
docker-cloudbreak/bootstrap/start_cloudbreak_app.sh
Shell
apache-2.0
1,326
#!/bin/bash ############################################################################# # # (c) Copyright 2014 IBM # # 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....
CLMDev/leanJazz
automations/clm-e1/src/OpenSource-CLM/20140807001/DeployCLMApp/InstallCLMApp.sh
Shell
apache-2.0
3,117
#!/bin/bash # Copyright 2016 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 required...
jasonbishop/contrib
micro-demos/services/split1_rhs.sh
Shell
apache-2.0
1,370
#!/bin/bash # Save trace setting XTRACE=$(set +o | grep xtrace) set +o xtrace if [[ "$1" == "source" ]]; then # no-op : elif [[ "$1" == "stack" && "$2" == "install" ]]; then echo_summary "Installing networking-bgpvpn" setup_develop $NETWORKING_BGPVPN_DIR elif [[ "$1" == "stack" && "$2" == "pre-install" ]]; then ...
nikesh-mahalka/networking-bgpvpn
devstack/plugin.sh
Shell
apache-2.0
1,212
#!/usr/bin/env bash # Copyright 2014 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 applica...
k82/kubernetes
cluster/gce/config-default.sh
Shell
apache-2.0
23,503
#!/bin/bash # Docs at: https://github.com/docker-library/docs/tree/master/mysql docker run -p 3306:3306 -e MYSQL_ROOT_PASSWORD=beatIt -e MYSQL_DATABASE=LOCAL -e MYSQL_USER=DEV -e MYSQL_PASSWORD=BEATIT -v /home/dev/mysqldata:/var/lib/mysql -d mysql:5.7
peeejeee/cinnamon-tools
database/runMySql.sh
Shell
apache-2.0
254
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Licens...
yuanke/hadoop-hbase
bin/hadoop-daemon.sh
Shell
apache-2.0
3,689
#!/bin/bash # Copyright 2013-2014 Sebastian Kreft # # 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 a...
stfp/git-lint
scripts/custom_linters/tidy-wrapper.sh
Shell
apache-2.0
935
# Change DEVICE2 to some device detected by "sensors" sensors DEVICE2 | cut -f2 -d"+" -s | cut -c1-2
romelperez/conky-command
conky/temperature2.sh
Shell
apache-2.0
101
#!/bin/bash ./frproxy.sh stop echo "==============start stop;" ./frproxy.sh start echo "$? expect 0" ./frproxy.sh stop echo "$? expect 0" echo "==============start restart stop" ./frproxy.sh start echo "$? expect 0" ./frproxy.sh restart echo "$? expect 0" ./frproxy.sh stop echo "$? expect 0" echo "==============restar...
cychenyin/sfproxy
releases/frproxytester.sh
Shell
apache-2.0
973
#!/bin/bash export LC_ALL=C set -o pipefail set -o nounset set -o errexit awk -F"\t" '{print $1" "$2}' # multi-column-output
hxdone/cheatsheets
hadoop-stuff/multi-output/bin/get_result_b.sh
Shell
apache-2.0
127
#!/bin/bash echo "Compressing Javascript..." java -jar yui.jar ../js/route-calculator.js -o ../js/route-calculator.min.js java -jar yui.jar ../js/station-calculator.js -o ../js/station-calculator.min.js java -jar yui.jar ../js/init.js -o ../js/init.min.js java -jar yui.jar ../js/station_ids.js -o ../js/station_ids.min...
awhipp/RealEVEMarket
compressor/minimize.sh
Shell
apache-2.0
420
#!/bin/bash # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you ...
seraphin/hibench
dfsioe/bin/run-read.sh
Shell
apache-2.0
1,859
#!/usr/bin/env bash #=============================================================================== # # FILE: download.sh # # USAGE: ./download.sh # # DESCRIPTION: This script will allow the user to download a database backup # from AWS S3 storage. You can get a list of the backup...
devopscenter/dcUtils
db/download.sh
Shell
apache-2.0
7,342
#!/bin/bash # 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 applicabl...
evandbrown/kube-jenkins-imager
cluster_down.sh
Shell
apache-2.0
997
#!/bin/bash # Copyright 2016 Google, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
lukeFalsina/dataproc-initialization-actions
datalab/datalab.sh
Shell
apache-2.0
4,022
#!/bin/bash source ${CLOUDIFY_LOGGING} webui_port=$(ctx node properties webui_port) XAPDIR=`cat /tmp/gsdir` # left by install script interfacename=$(ctx node properties interfacename) IP_ADDR=$(ip addr | grep inet | grep ${interfacename} | awk -F" " '{print $2}'| sed -e 's/\/.*$//') export LOOKUPLOCATORS=$IP_ADDR if ...
kemiz/xap-4-cloudify-3
xap-scripts/start-ui.sh
Shell
apache-2.0
977
#!/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");...
ArvinDevel/incubator-pulsar
site/scripts/javadoc-gen.sh
Shell
apache-2.0
2,705
export OS_PROJECT_DOMAIN_ID=default export OS_USER_DOMAIN_ID=default export OS_PROJECT_NAME=admin export OS_TENANT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD={{admin_password}} export OS_AUTH_URL=http://{{controller_addr}}:35357/v3
sandvine/os-ansible-deployment-lite
ansible/roles/keystone/templates/admin-openrc.sh
Shell
apache-2.0
244
#!/bin/bash if [ -z "$RED5_HOME" ]; then export RED5_HOME=.; fi export JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=0.0.0.0:8787,server=y,suspend=n $JAVA_OPTS" # Start Red5 exec $RED5_HOME/start.sh "$@"
ant-media/Ant-Media-Server
src/main/server/start-debug.sh
Shell
apache-2.0
222
#!/bin/bash source "$(dirname "${BASH_SOURCE}")/../../hack/lib/init.sh" trap os::test::junit::reconcile_output EXIT os::test::junit::declare_suite_start "cmd/quota" os::cmd::expect_success 'oc new-project foo --as=deads' os::cmd::expect_success 'oc label namespace/foo owner=deads' os::cmd::expect_success 'oc create c...
gashcrumb/origin
test/cmd/quota.sh
Shell
apache-2.0
1,310
#!/bin/sh -e _SCRIPT_DIR="$( cd -P -- "$(dirname -- "$(command -v -- "$0")")" && pwd -P )" CONFIGURATION=Debug RUNTESTS=true while [ $# -gt 0 ]; do case "$1" in --configuration|-c) CONFIGURATION=$2 shift ;; --notest) RUNTESTS=false ;; *) echo "Invalid argument: $1" ...
IxMilia/Dxf
build-and-test.sh
Shell
apache-2.0
872
#!/bin/bash FAUCETHOME=`dirname $0`"/.." for i in clib faucet tests ; do ls -1 $FAUCETHOME/$i/[a-z]*.py ; done | xargs realpath | sort
wackerly/faucet
tests/src_files.sh
Shell
apache-2.0
136
#!/bin/sh java -jar agent-1.0.jar
Kerbores/ONEKEY-AGENT
Agent/src/main/scripts/start.sh
Shell
apache-2.0
35
#!/bin/bash # Generates client-side items, including building ember and copying CSS cp -R ${DJANGO_ADMIN_STATIC} ${EDCTF_ADMIN_STATIC} \ && cp -R ${REST_FRAMEWORK_CSS_DIR} ${EDCTF_REST_STATIC}
IAryan/edCTF
scripts/build_frontend-prod.bash
Shell
apache-2.0
196
#!/bin/bash # set default values for variables if they are not already defined ARCH=${ARCH-dpdk} CTRL_PLANE_DIR=${CTRL_PLANE_DIR-./src/hardware_dep/shared/ctrl_plane} # controllers for the examples declare -A controller_for_example controller_for_example["acceptor"]="netpaxos_controller" controller_for_example["coord...
usi-systems/p4paxos
dpdk_p4@elte/netpaxos_controller/run.sh
Shell
apache-2.0
2,721
HOME=$(dirname $0) cd $HOME/.. destination=src/main/resources/com/graphhopper/util/ translations="en_US SKIP ar ast bg ca cs_CZ da_DK de_DE el es fa fil fi fr_FR fr_CH gl he hsb hu_HU it ja lt_LT ne nl pl_PL pt_BR pt_PT ro ru si sk sv_SE tr uk vi_VI zh_CN" file=$1 # You can execute the following # curl 'https://docs...
bendavidson/graphhopper
core/files/update-translations.sh
Shell
apache-2.0
891
#!/bin/bash # # Copyright (C) 2017 Dan Iverson # # You may distribute under the terms of either the GNU General Public # License or the Apache License, as specified in the LICENSE file. # # For more information, see the LICENSE file. # #Uncomment next line for debugging output #set -x SCRIPT=$0 ovj_usage() { cat...
OpenVnmrJ/OpenVnmrJ
src/scripts/ovjGetVB.sh
Shell
apache-2.0
4,670
#!/bin/bash # # Summary: Inicialize PostgreSQL dockerized # Author: Daniel Peña <dppascual@gmail.com> # Version: 9.6-0.2 # set -eo pipefail source ${PG_APP_HOME}/functions [[ $DEBUG == true ]] && set -x # Check if there are arguments to be passed to postgres if [[ ${1:0:1} == "-" ]]; then EXTRA_ARGS="$@" set...
dppascual/docker-postgresql
entrypoint.sh
Shell
apache-2.0
548
#!/bin/bash # # GWTriFold\tools\karst.sh # simple organizational/build system for tertiary package resources # (documentation, non-primary-programming-language assets) # Copyright 2013-2014 Nathan Ross (nrossit2@gmail.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file e...
nathanross/GWTriFold
GWTriFold/tools/karst.sh
Shell
apache-2.0
2,344
#! /bin/bash # GRUB uses roughly 4.6 Mb of disk GRUB_KB=5000 BASE_KB=$GRUB_KB usage() { echo "Usage: $0 [OPTIONS] BINARY" 1>&2 echo "" echo "Create a bootable grub image for a multiboot compatible BINARY" echo "" echo "OPTIONS:" echo "-c Unmount and clean previous image, for consecutive development runs" ...
ingve/IncludeOS
etc/scripts/grubify.sh
Shell
apache-2.0
4,035
#!/bin/bash EXCLUDEFILE="/opt/pysk/etc/serverconfig/exclude/`hostname`" EXCLUDES="" if [ -s $EXCLUDEFILE ] ; then for i in `cat $EXCLUDEFILE`; do EXCLUDES="$EXCLUDES -x `basename $i`" done fi diff -wur -x php-fpm.conf -x known_hosts $EXCLUDES /opt/pysk/serverconfig/ / | grep -v 'Only in /' | less
philwo/pysk
serverconfig/diff.sh
Shell
apache-2.0
318
#!/bin/sh # # builder_common.sh # # part of pfSense (https://www.pfsense.org) # Copyright (c) 2004-2016 Rubicon Communications, LLC (Netgate) # All rights reserved. # # FreeSBIE portions of the code # Copyright (c) 2005 Dario Freni # and copied from FreeSBIE project # All rights reserved. # # Licensed under the Apache ...
NOYB/pfsense
tools/builder_common.sh
Shell
apache-2.0
58,525
#!/bin/bash -e echo "Not to be run in shell, view file instead" exit 0 sudo su - apt-get install backupninja hwinfo cp /usr/share/doc/backupninja/examples/example.sys /etc/backup.d/10-sysinfo.sys # if mysql is installed #cp /usr/share/doc/backupninja/examples/example.mysql /etc/backup.d/50-databases.mysql cp /usr/shar...
rezapx/private
nano_nano/bash-scripts/install-scripts/backupninja.sh
Shell
apache-2.0
1,206
#!/bin/bash # Archivo de instalación de herramientas necesarias para othello # Instalar MongoDB sudo apt-get install mongodb-server # Instalar Python3 sudo apt-get install python3 # Instalar Pip sudo apt-get install python3-pip # Instalar dependencias sudo pip install -r requirements.txt
dandelea/othello_tais
install.sh
Shell
apache-2.0
292
#!/bin/bash set -o errexit CMD="/usr/bin/ceph-osd" ARGS="-f -d -i ${OSD_ID} --osd-journal ${OSD_DIR}/journal -k ${OSD_DIR}/keyring" # Loading common functions. source /opt/kolla/kolla-common.sh # Execute config strategy set_configs # Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases # of...
chenzhiwei/kolla
docker/ceph/ceph-osd/start.sh
Shell
apache-2.0
1,099
#!/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 ...
mbohlool/client-python
scripts/update-client.sh
Shell
apache-2.0
2,744
#!/bin/bash coffee --watch --compile *.coffee& coffee --watch --compile wwwfiles/js/*.coffee& jade -w -P wwwfiles/*.jade& echo "The development environment has ready!"
Preffer/iportal
development.sh
Shell
apache-2.0
169
echo "Testing wdc --get" RES="$(wdc --get)" test_result $? "$RES" "TestCommit1"
dolik-rce/thewatchdog
tests/integration/test_13_wdc_get_nonempty.sh
Shell
bsd-2-clause
80
#!/bin/sh # ~/.macos — https://mths.be/macos # Close any open System Preferences panes, to prevent them from overriding # settings we’re about to change osascript -e 'tell application "System Preferences" to quit' # Ask for the administrator password upfront sudo -v # Keep-alive: update existing `sudo` time stamp u...
podkovyrin/dotfiles
macos.sh
Shell
bsd-2-clause
16,926
#!/bin/sh X=0 git status —porcelain > _.p while read FILE; do # ... X=1 done < _.p
wkoszek/sh_advanced
debugging/status2.sh
Shell
bsd-2-clause
88
#!/bin/bash MAJOR="0" MINOR="2" BUILD=`./build.version` GITID=`git log | grep commit | head -n 1 | cut -d " " -f 2` DATE=`date +%Y%m%d` HOST=`hostname` echo "(* This file is generated by version.sh *)" echo "structure Version =" echo "struct" echo " val major = \"${MAJOR}\"" echo " val minor = \"${MINOR}\"" echo ...
gian/kuruc
src/kuruc/version.sh
Shell
bsd-2-clause
541
#!/bin/sh # # Convert a file into a #defined string using bourne shell and awk. # # Check if the awk interpreter is available. awk -- '' </dev/null >/dev/null 2>&1 if [ $? -ne 0 ] then echo "This script depends on awk, which I cannot find" 1>&2 exit 1 fi # Check that the SYMBOL name to use was specified. if [...
wjohnsaunders/tvguidefetch
make-config-from-file.sh
Shell
bsd-2-clause
1,342
#!/bin/sh make clean ./configure --cc=`xcrun -f --sdk iphoneos clang` \ --arch=armv7 \ --cpu=cortex-a8 \ --sysroot=`xcrun --sdk iphoneos --show-sdk-path` \ --target-os=darwin \ --extra-cflags='-arch armv7 -Wno-asm-operand-widths -integrated-as' \ --extra-ldflags='-arch armv7 -miphoneos-version-min=8.0' \ --ena...
insidegui/libav-ios-build
build_armv7.sh
Shell
bsd-2-clause
507
#!/bin/bash docker exec -it $(docker-compose ps -q mysql | head -1) /bin/bash -c " \ export MYSQL_PWD=root; echo 'DROP DATABASE IF EXISTS reference' | mysql -uroot; \ echo 'CREATE DATABASE reference' | mysql -uroot; \ " docker-compose run liquibase \ --username=root \ --password=root \ --url=j...
DASPRiD/Ajasta
docker/dev/create-changelog-diff.sh
Shell
bsd-2-clause
1,201
#!/bin/bash # Setup miniconda environment that is compatible with manylinux2014 docker image conda create -n buildenv -y conda conda-build anaconda-client source /root/miniconda3/bin/activate buildenv conda env list conda install -y conda-build anaconda-client
numba/llvmlite
buildscripts/manylinux2014/configure_conda.sh
Shell
bsd-2-clause
261
#!/bin/bash # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Check that we're able to submit from a directory that doesn't exist on the # trunk. This tests for a previous bug where we ended up with ...
coreos/depot_tools
tests/submit-from-new-dir.sh
Shell
bsd-3-clause
950
#!/usr/bin/env bash # Prerequisites: # - [Git version control system](https://git-scm.com/) # Check if it is installed by running: # # bash -c 'command -v git' # # ... if that returns a path, then this script should work fine. # Presumably, if you are using git pre-commit hooks, it is safe to say that # ...
mparker17/simple-linter-git-hooks
pre-commit/2-whitespace.sh
Shell
bsd-3-clause
2,990
#!/bin/sh sysdir=`/var/disks/front_tray/identify-sys.sh $1` if [ x"$sysdir" != "x" ]; then cat $sysdir/model fi
jncronin/monitor
identify-scripts/identify-model.sh
Shell
bsd-3-clause
116
#!/usr/bin/env bash set -e CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $CWD python3 py.py
Dekken/maiken
test/test.sh
Shell
bsd-3-clause
105
#!/bin/sh if [ "$1" == "" ]; then echo "Usage: ./run.sh <times> <max>" exit 1 fi times=$1 max=$2 export TIME="user/system/elapsed: %U %S %e" TIMER="/usr/bin/time --quiet" # vanilla version count=0 deadlock=0 rm -f OUTPUT.vanilla touch OUTPUT.vanilla while [ $count -lt $times ]; do printf "vanilla:\tg...
pgerakios/Deadlock-avoidance-for-C-pthreads
nulltests/bank_transactions/run.sh
Shell
bsd-3-clause
1,170
# set required variables WORKLOAD_FILE=${TOP_DIR}/workloads/workload_SIMPLE_MULTICOLUMN_QUERIES_p500_w0_1234.sql ALGORITHM=bc
dbgroup-at-ucsc/dbtune
resources/workloads/postgres/.unsupported/convergence/bc_queries/config.sh
Shell
bsd-3-clause
127
#!/bin/bash set -u . ~/.tikradiorc while true; do :> "$PUTKI" rm -f -- "$KILLFILE" ./savepid $TAILPID tail -f $PUTKI | \ { while [ ! -e $KILLFILE ]; do read file || exit 0; \ ln -sf "$file" "$HOME/music/now-playing.musaa"; \ $SOITA $SOITA_OPTS "$file" >/dev/null 2>$SOITA_OUT & echo $! > $SOITAPID; \ wait ...
tietokilta-saato/tikplay
legacy/tikradio/server/tikradio.sh
Shell
mit
444
# Switch between python2 and python3 easily. (particularly useful for depot_tools on Arch) ls -al /usr/bin/python sudo ln -s -f /usr/bin/$@ /usr/bin/python ls -al /usr/bin/python
jdashg/snippets
set-python.sh
Shell
mit
180
#!/bin/bash REPEAT=4 for i in $(seq 1 1 $REPEAT) do echo "Run $i" echo "******************************************" ./runner.sh echo "******************************************" done
radical-experiments/AIMES-Swift
Swift_Experiments/strategy_4/experiment.sh
Shell
mit
200
#!/usr/bin/env bash # get the current path CURRENT_PATH=$(pwd) # find the script path ROOT_PATH=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) # change to the root path cd $ROOT_PATH # determine if condo.sh already exists if [ -f condo-local.sh ]; then # delete it rm -f condo-local.sh fi # copy the template...
automotiveMastermind/condo
condo.sh
Shell
mit
669
#/bin/bash set -e if [[ ! "$TESTSPACE" = /* ]] || [[ ! "$PATH_TO_REDMINE" = /* ]] || [[ ! "$REDMINE_VER" = * ]] || [[ ! "$NAME_OF_PLUGIN" = * ]] || [[ ! "$PATH_TO_PLUGIN" = /* ]]; then echo "You should set"\ " TESTSPACE, PATH_TO_REDMINE, REDMINE_VER"\ " NAME_OF_PLUGIN, PATH_TO_PLUGIN"\ ...
olemskoi/redmine_intouch
travis.sh
Shell
mit
1,590
#!/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" install_resource() { case $1 in *.storyboard) echo "ibtool --reference-external-strings-file --errors --warnings --notices ...
rickykaka1899/podTestLibrary
Example/Pods/Target Support Files/Pods-podTestLibrary/Pods-podTestLibrary-resources.sh
Shell
mit
4,166
#! @shell@ -e showSyntax() { # !!! more or less cut&paste from # system/switch-to-configuration.sh (which we call, of course). cat <<EOF Usage: $0 [OPTIONS...] OPERATION The operation is one of the following: switch: make the configuration the boot default and activate now boot: make the config...
andreassalomonsson/nixos
modules/installer/tools/nixos-rebuild.sh
Shell
mit
7,010
#!/bin/bash FN="pd.celegans_3.12.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.11/data/annotation/src/contrib/pd.celegans_3.12.0.tar.gz" "https://bioarchive.galaxyproject.org/pd.celegans_3.12.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-pd.celegans/bioconductor-pd.celegans_3.12.0_src_a...
roryk/recipes
recipes/bioconductor-pd.celegans/post-link.sh
Shell
mit
1,424
#!/bin/bash apt-get -y remove --purge mysql-server
vincent-zurczak/roboconf-docker-compliant-lamp
src/main/model/graph/Mysql/scripts/undeploy.sh
Shell
mit
53
#!/bin/bash psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" -a --dbname=VOTER < /sql/create_database.sql psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" -a --dbname=VOTER < /sql/create_tables.sql psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" -a --dbname=VOTER < /sql/populate_static_data.sql
national-voter-file/national-voter-file
src/main/sql/dockerResources/z-init-db.sh
Shell
mit
308
#!/bin/bash FN="XtraSNPlocs.Hsapiens.dbSNP144.GRCh38_0.99.12.tar.gz" URLS=( "https://bioconductor.org/packages/3.11/data/annotation/src/contrib/XtraSNPlocs.Hsapiens.dbSNP144.GRCh38_0.99.12.tar.gz" "https://bioarchive.galaxyproject.org/XtraSNPlocs.Hsapiens.dbSNP144.GRCh38_0.99.12.tar.gz" "https://depot.galaxyproje...
roryk/recipes
recipes/bioconductor-xtrasnplocs.hsapiens.dbsnp144.grch38/post-link.sh
Shell
mit
1,604
#! /bin/sh # # cvs.sh # # This file contains support code from Makefile.common # It defines a shell function for each known target # and then does a case to call the correct function. unset MAKEFLAGS call_and_fix_autoconf() { $AUTOCONF || exit 1 } strip_makefile() { if test ! -f $makefile_wo; then perl -e '$...
MagicGroup/eva
admin/cvs.sh
Shell
gpl-2.0
18,828
#!/bin/bash set -x PREFIX="$1";shift ARCHIVE="$1";shift mkdir -p "$(dirname $ARCHIVE)" # Gather variables from bitbake bitbake_vars="$(mktemp)" bitbake -e orion-headless-image 2>&1 > $bitbake_vars eval $(grep '^TOPDIR=' $bitbake_vars) eval $(grep '^TMPDIR=' $bitbake_vars) eval $(grep '^DEPLOY_DIR=' $bitbake_vars) eva...
novatechweb/ansible-virtd-docker-mariadb-bacula-nginx
roles/buildbot-worker-ntel/files/ci-archive.sh
Shell
gpl-2.0
996
#!/bin/bash tar -xzf python.tar.gz export PATH=miniconda2/bin:$PATH python process_NCEI_03_tmin_15d.py NCEI_WIS_$1 $1 /mnt/gluster/megarcia/WIS_Climatology/grids
megarcia/GT16_JGRA
htcondor/process_NCEI_03_tmin_15d.sh
Shell
gpl-3.0
163
#!/bin/bash set -eux CURRENTDIR=$(pwd) if [ ${CURRENTDIR} == "/" ] ; then cd /home CURRENTDIR=/home fi export TEST_ARTIFACTS=${CURRENTDIR}/logs if [ -z "${TEST_SUBJECTS:-}" ]; then export TEST_SUBJECTS=${CURRENTDIR}/untested-atomic.qcow2 fi # The test artifacts must be an empty directory rm -rf ${TEST_ARTI...
arilivigni/ci-pipeline
config/Dockerfiles/singlehost-test/upstreamfirst-test.sh
Shell
gpl-3.0
2,288
#!/bin/bash # # libido: code=bash(three) # # libido: expand code three ici
Sylvain303/libido
test/python/in_with_dep.sh
Shell
gpl-3.0
77
#!/bin/bash # Removes files in folders rm data/* rm res/* rm res_lab/*
francocurotto/GraphSLAM
src/python-helpers/v2-unknown-correspondence/removeFilesInFolders.sh
Shell
gpl-3.0
71