code
stringlengths
2
1.05M
repo_name
stringlengths
5
110
path
stringlengths
3
922
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
2
1.05M
#!/bin/sh : <<SCRIPTHEADER Description: Users activity and accounts cleaner for MediaWiki Deletes specified user accounts ID and their pages, revisions, changes, and related indexes and cache. Tested with MediaWiki 1.16 to 1.19 but acts respectful with any version. Idea taken from http://stackoverflow.com/question...
edrabbit/cleanmediawiki
cleanmediawiki.sh
Shell
gpl-3.0
24,900
#!/usr/bin/bash # -*- mode: shell-script; fill-column: 80; -*- # # 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 2021 Joyent, Inc. # export PS4='[\D{%F...
joyent/sdc-amon
boot/setup.sh
Shell
mpl-2.0
2,296
#!/bin/bash LC_CTYPE=en_US.UTF-8 ccl --quiet --no-init --eval '(DECLAIM (OPTIMIZE (SAFETY 3) (DEBUG 3) (SPEED 0) (SPACE 0)))' --eval '(load "compile.lisp")' --eval '(ccl:quit)'
GitoriousLispBackup/com-informatimago
ccl.sh
Shell
agpl-3.0
187
#!/bin/bash rm -rf outfile/* mkdir outfile/simple ../../aspviz -v maze.aspviz -o outfile/simple maze-problem.lp maze.lp mkdir outfile/broken ../../aspviz -v maze.aspviz -n 1 -o outfile/broken maze-broken.lp maze-problem.lp mkdir outfile/anim ../../aspviz -v maze-anim.aspviz -o outfile/anim maze-problem.lp maze.l...
zootalures/aspviz
examples/maze/makeresults.sh
Shell
agpl-3.0
679
sudo apt-get update sudo apt-get upgrade sudo apt-get install vim git apache2 mysql-server libapache2-mod-php php php-mysql php-mbstring thunderbird curl sudo a2enmod rewrite userdir wget -nv http://download.opensuse.org/repositories/isv:ownCloud:desktop/Ubuntu_16.10/Release.key -O Release.key sudo apt-key add - < ...
ldandoy/scripts
install_machine.sh
Shell
agpl-3.0
1,155
#!/bin/sh -eu THIS_SCRIPT=$0 THIS_DIR=$(dirname ${THIS_SCRIPT}) get_virtualenv_from_requirements_file() { # Create the virtualenv based on the hash of the requirements file REQUIREMENTS_FILE=${THIS_DIR}/../requirements.txt REQUIREMENTS_HASH=$(sha256sum ${REQUIREMENTS_FILE} |cut '-d ' -f1) echo ${VENV_...
greendragonsoft/ssldump.com
script/get_virtualenv_from_requirements_file.sh
Shell
agpl-3.0
366
#!/usr/bin/env bash set -e # GitHub Actions pinned an older mysql-client version on runners temporarily # due to an issue with the new version, so installation is not currently possible, # see https://github.com/actions/virtual-environments/pull/4674; uncomment once fixed # sudo apt-get mysql-client sudo apt-get insta...
reimandlab/ActiveDriverDB
setup.sh
Shell
lgpl-2.1
5,003
#!/bin/sh # Run this to generate all the initial makefiles, etc. if ! [ -f mu/mu.c ] ; then echo "You must run this script in the top-level $PROJECT directory" exit 1 fi AUTORECONF=`which autoreconf` if [ -z "$AUTORECONF" ] ; then echo "*** No autoreconf found, please install it ***" exit 1 fi # NOC...
djcb/mux
autogen.sh
Shell
lgpl-2.1
715
#!/bin/sh -ex rsync -av /usr/ usr.1 rsync -av /usr/ usr.2 # this shouldn't transfer any additional files echo we should get 4 here if no additional files are transfered rsync -auv /usr/ usr.1 | tee a wc -l a | grep 4 rsync -auv /usr/ usr.2 | tee a wc -l a | grep 4 echo OK
ajnelson/ceph
qa/workunits/misc/multiple_rsync.sh
Shell
lgpl-2.1
275
#!/bin/bash PIDFILE=/var/tmp/midonet-agent-pid.lock WDPIDFILE=/var/tmp/midonet-agent-wd-pid.lock if [ -f $PIDFILE ]; then echo "[midonet-agent-monitor] Lockfile found at $PIDFILE, killing process" PID=$(cat $PIDFILE) WDPID=$(cat $PIDFILE) kill $PID kill $WDPID rm -f $PIDFILE rm -f $WDPIDFILE echo "[mido...
midonet/bees
confd/bin/midonet-agent-restart.sh
Shell
lgpl-3.0
829
rm -Rf 72x72 48x48 36x36 drawable-*; sizes="72 48 36" for size in $sizes; do mkdir ${size}x${size}; for icon in `ls ./svg/`; do iconPngName=$( echo $icon | cut -d . -f -1 )".png" inkscape --without-gui --export-png="./"${size}x${size}"/"$iconPngName --export-dpi=72 --export-background-opa...
VivienBarousse/dropvault-icons
build.sh
Shell
lgpl-3.0
483
test -d libunwind-1.1 && rm -fr libunwind-1.1 tar zxvf libunwind-1.1.tar.gz cd libunwind-1.1 ./configure --prefix=${prefix_3rd} make -j`nproc` make install cd .. test -d gperftools-2.1 && rm -fr gperftools-2.1 tar zxvf gperftools-2.1.tar.gz cd gperftools-2.1 ./configure --enable-frame-pointers --prefix=${prefix_3rd} m...
Qihoo360/huststore
third_party/build_tcmalloc.sh
Shell
lgpl-3.0
353
#!/bin/bash pacman -Syu --noconfirm pacman -S --noconfirm sudo sudo pacman -Syu --noconfirm sudo pacman -S --noconfirm xorg sudo pacman -S --noconfirm xorg-xinit sudo pacman -S --noconfirm xorg-xrandr sudo pacman -S --noconfirm xorg-server-utils sudo pacman -S --noconfirm lightdm sudo pacman -S --noconfirm lightdm-...
aaronfranke/Linux-tools
arch-only/setup-xfce.sh
Shell
lgpl-3.0
741
#!/bin/bash cd $HOME echo "Removing old ovs configuration." sudo /etc/init.d/openvswitch-switch stop sudo kill `cd /usr/local/var/run/openvswitch && cat ovsdb-server.pid ovs-vswitchd.pid` sudo rm -rf /usr/local/var/run/openvswitch sudo mkdir -p /usr/local/var/run/openvswitch sudo rm -rf /usr/local/etc/openvswitch sudo ...
YLcoding/Taxes-Holden-Game-Project
start-ovs-deb.sh
Shell
unlicense
2,879
#!/bin/sh # base16-shell (https://github.com/chriskempson/base16-shell) # Base16 Shell template by Chris Kempson (http://chriskempson.com) # Black Metal (Bathory) scheme by metalelf0 (https://github.com/metalelf0) export BASE16_THEME=black-metal-bathory color00="00/00/00" # Base 00 - Black color01="5f/87/87" # Base 08...
j-c-m/dotfiles
.config/base16-shell/scripts/base16-black-metal-bathory.sh
Shell
unlicense
4,015
#!/bin/bash # Statusbar loop while true; do text="" if [[ 10 == $(date +%H) ]]; then minutes=$(date +%M) if (( 45 <= $minutes && $minutes <= 59 )); then text="STANDUP! " fi fi xsetroot -name "$text$( date +"%F %R" )" #sleep 1m # Update time every minute sle...
arturocastro/dotfiles
xroot.sh
Shell
unlicense
360
#!/usr/bin/env bash rm -rf ~/tmp-ggchatabyss-deploy rm -rf ~/tmp-ggchatabyss-deploy_backup mkdir ~/tmp-ggchatabyss-deploy mkdir ~/tmp-ggchatabyss-deploy_backup cp -r ggchatabyss/* ~/tmp-ggchatabyss-deploy/ cp -r /var/www/ggchatabyss/ggchatabyss/local_settings.py ~/tmp-ggchatabyss-deploy/ggchatabyss/local_settings.py ...
freenoth/ggchatabyss
deploy/deploy_django_project.sh
Shell
unlicense
867
#!/bin/bash -ex gcloud compute networks create 'demo-net' \ --mode 'auto' gcloud compute firewall-rules create 'demo-extfw' \ --network 'demo-net' \ --allow 'tcp:22,tcp:4040,tcp:6783,udp:6783,tcp:80' \ --target-tags 'demo-ext' \ --description 'External access for SSH and Weave Scope user interface' gcloud ...
weaveworks-guides/weave-net-docker-and-rkt
examples/google-compute-engine/create-cluster.sh
Shell
apache-2.0
1,328
#!/bin/bash ./local/run_tts.sh --input_dim=425 --output_dim=75 --batch_size=1 --learning_rate=0.001 --rnn_cell=fused_lstm
npuichigo/voicenet
egs/slt_arctic/run.sh
Shell
apache-2.0
123
#!/bin/bash checkdocker reqdockerimg "${REQ_APP_IMG_NAME}" check4package "$APP_JAR" BUILD if [ "$BUILD" == "Y" ]; then rm -rf $BUILD_TMP mkdir -p $BUILD_TMP cd $BUILD_TMP # Since BUILD is now "Y" The vers file actually makes the dockerfile . ${MYDIR}/${APP_PKG_BASE}/${APP_VERS_FILE} cd $MYDI...
JohnOmernik/zetaextra
minecraft/build.sh
Shell
apache-2.0
485
#!/bin/bash # Copyright 2016 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
anguslees/kubernetes
hack/make-rules/test-e2e-node.sh
Shell
apache-2.0
5,397
#!/bin/sh git submodule init git submodule update sudo apt-get -y install build-essential libtool autoconf cmake sudo apt-get -y install python python-pip mininet sudo pip install ryu pip install --user pandas retry tqdm #sudo apt-get install libevent-dev # TODO: Add libevent version check to cmake # libevent versi...
IPetr0v/compromutator
bootstrap.sh
Shell
apache-2.0
492
#!/bin/zsh source envs.sh kubectx ${context_src} velero install \ --provider gcp \ --plugins velero/velero-plugin-for-gcp:v1.1.0 \ --bucket $BUCKET \ --use-restic \ --secret-file credentials-velero ./oc -n velero patch ds/restic --type json -p '[{"op":"add","path":"/spec/template/spec/containers/0...
GoogleCloudPlatform/migrating-openshift-to-anthos
samples/2-install-velero.sh
Shell
apache-2.0
747
#!/bin/sh scriptDir=`dirname $0` app_dir=$1 export LD_LIBRARY_PATH=$scriptDir/../../bindings/c/lib:$scriptDir/../../bindings/bindings-common/lib:$LD_LIBRARY_PATH exec $app_dir/worker_c $@
ElsevierSoftwareX/SOFTX-D-15-00010
compss/compss-rt/bindings/c/bin/worker_c.sh
Shell
apache-2.0
189
#!/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 applic...
rzagabe/bazel
src/test/shell/bazel/local_repository_test.sh
Shell
apache-2.0
10,515
#!/bin/bash # # Copyright 2018 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
google/git-presubmit-linter
rules/tests/no-second-line-test.sh
Shell
apache-2.0
1,151
#!/bin/sh useradd -r -s /bin/false relayd cp relayd /etc/init.d chmod 755 /etc/init.d mkdir /etc/relayd cp relayd.con /etc/relayd update-rc.d relayd defaults 3 6
andelo/relayd
install/install.sh
Shell
apache-2.0
163
## DL params export MAX_TOKENS=10240 export LEARNING_RATE="1.25e-3" export WARMUP_UPDATES=1100 export EXTRA_PARAMS="--distributed-weight-update 2 --dwu-num-blocks 4 --dwu-num-rs-pg 2 --dwu-num-ar-pg 2 --dwu-num-ag-pg 0 --dwu-overlap-reductions --dwu-num-chunks 1 --dwu-flat-mt --dwu-compute-L2-grad-norm --max-source-pos...
mlperf/training_results_v0.7
Fujitsu/benchmarks/transformer/implementations/implementation_closed/config_PG.sh
Shell
apache-2.0
682
#env bash cdir=$(cd $(dirname $0) && pwd) source $cdir/sh_log.sh branch_pattern=$1 if [[ "x$branch_pattern" == "x" ]] then echo -e "\033[32m Usage: $0 <branch_pattern> \033[0m" exit 1 fi # remove the remote branch git fetch --prune || err 'Fail to delete the remote branch.' for i in $(git branch) do if...
GordonWang/kaleidoscope
sh_tool/delete_git_branches.sh
Shell
apache-2.0
463
#!/bin/sh if [ $# -ne 1 ]; then echo "Please specify 1 argument ($# arguments are given)." 1>&2 echo "" 1>&2 echo "USAGE: ./deploy_to_regist_server.sh 1" 1>&2 echo "(e.g. ./deploy_to_regist_server.sh 1)" 1>&2 exit 1 fi ORIGINAL=$(pwd) CURRENT=$(cd $(dirname $0) && pwd) cd $CURRENT mkdir -p ../../public/co...
AI-comp/JavaChallenge2015Viewer
deploy_to_regist_server.sh
Shell
apache-2.0
515
# # $Id: lib/sql.sh 3.32 2018-05-16 21:15:14 cmayer $ # # run sql statements # potentially logging, potentially with timeouts, # outputting rows as key-value pairs # # Copyright 2016 AppDynamics, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance...
Appdynamics/HA-toolkit
lib/sql.sh
Shell
apache-2.0
3,993
#!/bin/sh if [ "${FOGLAMP_ROOT}" = "" ] ; then echo "Must set FOGLAMP_ROOT variable" exit 1 fi export DEFAULT_SQLITE_DB_FILE=${FOGLAMP_ROOT}/data/foglamp.db testNum=1 n_failed=0 n_passed=0 n_unchecked=0 export foglamp_core_port=9393 # Start FoglampCore an storage service ./testSetup.sh rm -f faile...
foglamp/FogLAMP
tests-manual/C/services/core/testRunner.sh
Shell
apache-2.0
2,350
#!/bin/bash # Author: Eason Yi # Date: 2017-05-17 echo "===============================================" echo "= Usage: $0 [src_dir] src_file_ext1 ext2 ..." echo "= e.g. $0 java js c h cpp lua go php cs" echo "===============================================" echo if [[ -d "$1" ]];then src_dir=$1 shift 1 for p i...
EasonYi/shell
count_src_files.sh
Shell
apache-2.0
873
#!/bin/bash -eux echo '==> Configuring settings for vagrant' SSH_USER=${SSH_USER:-vagrant} SSH_USER_HOME=${SSH_USER_HOME:-/home/${SSH_USER}} VAGRANT_INSECURE_KEY="ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aY...
dafyddj/debian
script/vagrant.sh
Shell
apache-2.0
1,641
sudo chmod -R 777 /var/www/timesheet/reminder.php sudo php /var/www/timesheet/reminder.php sudo chmod -R 000 /var/www/timesheet/reminder.php
janmejay4150/trackti-me
command.sh
Shell
apache-2.0
141
update() { rm yarn.lock && yarn } for dir in */; do printf '%s\n' "$dir" cd "$dir" update cd ".." done
tensorflow/tfjs-examples
update_yarn_lock.sh
Shell
apache-2.0
123
#!/bin/bash # gcc newlib run test set +x set +e TARGET=${TOOLCHAIN_ARCH}-elf GCC=$TARGET-newlib-gcc GXX=$TARGET-newlib-g++ OBJDUMP=$TARGET-objdump case "${TOOLCHAIN_ARCH}" in riscv32) ELF_ARCH="riscv:rv32" ;; riscv64) ELF_ARCH="riscv:rv64" ;; sh) ELF_ARCH="sh" ;; or1k) ELF_ARCH="or1k" ;; lm32) ELF_ARCH="lm...
litex-hub/litex-conda-compilers
gcc/newlib/run_test.sh
Shell
apache-2.0
4,039
#!/bin/bash # ## OSX build ## by Thibault Bronchain # if [ "$1" = "--clean" ]; then rm -rf SimpleShadowSocks.{app,pkg,plist} build dist exit elif [ "$1" = "--re" ]; then rm -rf SimpleShadowSocks.{app,pkg,plist} build dist pkg fi # build app #py2applet --make-setup --iconfile misc/ShadowSocks.icns src/Simp...
tbronchain/vpn
client-osx/build.sh
Shell
apache-2.0
1,155
pt-query-digest --user=root --password=password --review h=127.0.0.1,D=slow_query_log,t=global_query_review --history h=127.0.0.1,D=slow_query_log,t=global_query_review_history --no-report --limit=0% --filter=" \$event->{Bytes} = length(\$event->{arg}) and \$event->{hostname}='127.0.0.1:3306' and \$event->{client}=\$ev...
CreditEaseDBA/Themis
script/pt-query-digest.sh
Shell
apache-2.0
340
#!/bin/bash # #***************************************************************************** # # Name Description Version Date # # Rob Dancer Template Version taken from 1.0 2 Dec 2004 # genPicoLicence.sh # # Rob Dancer split-mailbox.sh 1.0 6 Jan 2005 # # Rob Dancer Move definition...
pipprojects/AdminTools
admintools/admintools-3.44/admintools/bin/split-mailbox.sh
Shell
apache-2.0
6,059
#!/bin/bash echo "[sver.unix_build] checking if build dir should be removed" export FAILCMD='{ echo "FAILED VTOOL BUILD" ; exit 1; }' python -c "import utool as ut; print('keeping build dir' if ut.get_argflag('--no-rmbuild') else ut.delete('build'))" $@ ################################# echo 'Removing old build' rm -...
Erotemic/vtool
dev/unix_build.sh
Shell
apache-2.0
2,626
#!/usr/bin/env bash # # This file is generated by l2tdevtools update-dependencies.py any dependency # related changes should be made in dependencies.ini. # Exit on error. set -e # Dependencies for running ${project_name}, alphabetized, one per line. # This should not include packages only required for testing or deve...
Onager/l2tdevtools
data/templates/gift_copr_install.sh
Shell
apache-2.0
1,036
#!/bin/sh __CURRENT__=`pwd` __DIR__=$(cd "$(dirname "$0")";pwd) export DOCKER_COMPOSE_VERSION="1.21.0" [ -z "${TRAVIS_BRANCH}" ] && export TRAVIS_BRANCH="master" [ -z "${TRAVIS_BUILD_DIR}" ] && export TRAVIS_BUILD_DIR=$(cd "$(dirname "$0")";cd ../;pwd) [ -z "${PHP_VERSION_ID}" ] && export PHP_VERSION_ID=`php -r "echo ...
eaglewu/swoole
travis/route.sh
Shell
apache-2.0
2,935
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR/../ function on_exit() { mkdir -p $DIR/logs vagrant ssh salt --command "sudo cp /var/log/salt/master /vagrant/vagrant/logs/salt-master" vagrant ssh percona1 --command "sudo cp /var/log/salt/minion /vagrant/vagrant/logs/percona1-...
jesusaurus/salt-formula-percona
vagrant/jenkins.sh
Shell
apache-2.0
1,810
#!/usr/bin/env bash go-bindata -pkg=template -ignore=.go -nomemcopy tmpl/...
kujtimiihoxha/gk
templates/compile.sh
Shell
apache-2.0
78
#!/bin/bash CMD="aws ecs describe-clusters --region $AWS_REGION --clusters $AWS_CLUSTER" echo $CMD $CMD
kurron/aws-ecs-experiment
bin/describe-cluster.sh
Shell
apache-2.0
105
#!/bin/bash set -euo pipefail # Ensure all JSON files in koding source tree are formatted correctly, # so bindata won't generate new versions if e.g. one has formatter # plugged into their IDE. find go/src/koding -type f \( -name '*.json' -or -name '*.json.golden' \) -exec ex -sc '%!jq -M -S .' -cx {} \; # Ensure ...
alex-ionochkin/koding
scripts/check-generated-files.sh
Shell
apache-2.0
658
#!/usr/bin/env bash echo no | android create avd -n avd_test -f -t android-7
baaltommysu/AndroidAppDynAnalyser
create_avd7.sh
Shell
apache-2.0
78
#!/usr/bin/env bash # write-dockertagfile: write-ifchanged, but keeps Docker tags in-sync # # Copyright (C) 2015 Luke Shumaker # Copyright 2019 Datawire # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Soft...
datawire/ambassador
build-aux/bin-sh/write-dockertagfile.sh
Shell
apache-2.0
1,802
# Copyright © 2018 Feature.su. All rights reserved. # Licensed under the Apache License, Version 2.0 if [ "`systemctl is-active mysql`" != "active" ] then DEBIAN_FRONTEND=noninteractive apt-get -y install mysql-client mysql-server systemctl enable mysql echo "init_connect=\"SET NAMES 'utf8mb4';SET collation_conn...
faew/linux.feature
script/ubuntu16/08-install-mysql.sh
Shell
apache-2.0
1,235
#!/bin/bash IMAGES="centos6-cdh5-base centos6-cdh5-datanode centos6-cdh5-historyserver centos6-cdh5-journalnode centos6-cdh5-namenode centos6-cdh5-resourcemanager centos6-cdh5-zookeeper" for image in $IMAGES; do $image/docker-build.sh if [ ! $? -eq 0 ]; then exit 1 fi done
whlee21/docker
build-all.sh
Shell
apache-2.0
286
#!/bin/bash sbt clean test
ind9/gocd-s3-artifacts
build.sh
Shell
apache-2.0
28
# Publish data as an object without timestamp (server-side timestamp will be used) mosquitto_pub -d -h "127.0.0.1" -t "v1/devices/me/telemetry" -u "$ACCESS_TOKEN" -f "telemetry-data-as-object.json" # Publish data as an array of objects without timestamp (server-side timestamp will be used) mosquitto_pub -d -h "127.0.0....
haibaoyf/haibaoyf.github.io
docs/reference/resources/mosquitto-telemetry.sh
Shell
apache-2.0
597
#!/bin/bash -xe # Copyright 2017 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 ...
GoogleCloudPlatform/autonetdeploy-multicloudvpn
terraform/vm_userdata.sh
Shell
apache-2.0
1,214
#!/bin/bash # A script that is meant to be used with the Nomad cluster examples to: # # 1. Wait for the Nomad server cluster to come up. # 2. Print out the IP addresses of the Nomad servers. # 3. Print out some example commands you can run against your Nomad servers. set -e readonly SCRIPT_DIR="$(cd "$(dirname "${BAS...
MatthiasScholz/terraform-aws-nomad
examples/nomad-examples-helper/nomad-examples-helper.sh
Shell
apache-2.0
5,841
# Copyright (C) 2016 R&D Solutions Ltd. # # 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...
rndsolutions/hawkcd
Agent/agent.sh
Shell
apache-2.0
5,434
#!/bin/bash for FILENAME in *.ts; do FORMATTED="${FILENAME}_formatted" xmllint --format "$FILENAME" > "$FORMATTED" && mv "$FORMATTED" "$FILENAME" done
Bionus/imgbrd-grabber
src/languages/format.sh
Shell
apache-2.0
160
#!/bin/bash # build.sh # Authors: Eric Wright (@DiscoPosse) export DEBIAN_FRONTEND=noninteractive echo "set grub-pc/install_devices /dev/sda" | debconf-communicate sudo apt-get update && sudo apt-get upgrade -y sudo apt-get install -y git git-review vim openssh-server # Set up pre-requisites for Dock...
beschbach/docker-sandbox
buildnode2.sh
Shell
apache-2.0
1,616
#!/bin/bash RED='\033[0;31m' NC='\033[0m' # No Color GREEN='\033[1;32m' TEST_RESULT=$(cat test_results) if [[ "${TEST_RESULT}" == "true" ]];then echo -e "${GREEN}Test PASSED! ${NC}" else echo -e "${RED}Test FAILED! ${NC}" fi
Omegapoint/git-course-lab
scenarios/broken_code_find_faulty_commit_bisect/test.sh
Shell
artistic-2.0
228
alias dropbox='cd ~/Dropbox/' alias projects='cd ~/Dropbox/Projects/' alias riseweb='cd ~/Dropbox/Projects/rise/rise-web'
mrap/linux-dotfiles
zsh/mrap-aliases.zsh
Shell
bsd-2-clause
123
#!/bin/bash set -e -x ln -sf /usr/local/bin/gcc-10 /usr/local/bin/gcc gcc --version
gedaskir/qmeq
scripts/cibw_before_all_macos.sh
Shell
bsd-2-clause
86
#!/bin/bash # This generates the cb menu for cohort builder. set -e export BQ_PROJECT=$1 # project export BQ_DATASET=$2 # dataset echo "Getting fitbit count" query="select count(*) as count from \`$BQ_PROJECT.$BQ_DATASET.cb_search_person\` where has_fitbit = 1" fitbitCount=$(bq --quiet --project_id="$BQ_PROJECT" ...
all-of-us/workbench
api/db-cdr/generate-cdr/build-cb-criteria-menu.sh
Shell
bsd-3-clause
3,347
#!/bin/bash curl -X POST -d @$1 http://127.0.0.1:8080/v2/apps -H 'Content-Type: application/json'
praekelt/seed-stack
launch-marathon-app.sh
Shell
bsd-3-clause
98
#!/bin/sh NET_CONF="" MONITOR_CONF="" RUNAS=root if [ "$1" = "k8s" ]; then BIN=/usr/bin/nuagekubemon PIDFILE=/var/run/nuagekubemon.pid MONITOR=nuagekubemon rm -irf /usr/bin/nuage-openshift-monitor rm -irf /usr/share/nuagekubemon/nuagekubemon.yaml rm -irf /usr/share/nuagekubemon/net-config.yaml ...
nuagenetworks/nuage-kubernetes
nuagekubemon/configure-master.sh
Shell
bsd-3-clause
1,894
#! /bin/bash SONIC_DIR=$HOME/sonic/git/driver date=`date +%Y-%m-%d-%H%M` pkt_len=1518 pkt_cnt=100000 idle=13738 duration=10 mac_wait=5 mode=pkt_gen,pkt_cap mac_src="00:60:dd:45:39:0d" mac_dst="00:60:dd:45:39:5a" ip_src="192.168.4.12" ip_dst="192.168.4.13" port_src=5000 port_dst=5008 vlan_id=2200 gen_mode=0 retry=0 ...
hanw/sonic
demo/run_sonic.sh
Shell
bsd-3-clause
4,433
#!/bin/bash export OX_INSTALL_DIRECTORY=~/tools/orchestra/sdk BUILD_DIR="ox-bart-build" mkdir $BUILD_DIR cd $BUILD_DIR echo "#################################################################" echo "setting up dependencies" git clone git@github.com:mrirecon/ox-bart.git git clone git@github.com:xianyi/OpenBLAS.git git...
mrirecon/ox-bart
build_ox_2.0_from_scratch.sh
Shell
bsd-3-clause
1,152
export JESTER_PATH=${IROOT}/jester export NIMROD_HOME=${IROOT}/nimrod export NGINX_HOME=${IROOT}/nginx
kellabyte/FrameworkBenchmarks
frameworks/Nimrod/jester/bash_profile.sh
Shell
bsd-3-clause
102
#!/bin/sh # # This is an example of a script to run a "secure" TURN UDP client # with "mobile" option and with the long-term credentials mechanism. # # Options: # # 1) -t is absent, it means that UDP networking is used. # 5) -n 1000 means 1000 messages per single emulated client. Messages # are sent with interval of 20...
pexip/os-rfc5766-turn-server
examples/scripts/mobile/mobile_udp_client.sh
Shell
bsd-3-clause
1,454
#!/bin/sh . mail-toaster.sh || exit export JAIL_START_EXTRA="" export JAIL_CONF_EXTRA="" mt6-include php mt6-include nginx install_smf() { install_nginx install_php 74 "filter gd mysqli pdo_mysql session zlib" if [ ! -d "$STAGE_MNT/usr/local/www/smf" ]; then mkdir -p "$STAGE_MNT/usr/local/www/smf" || exit fi...
msimerson/Mail-Toaster-6
provision/smf.sh
Shell
bsd-3-clause
2,167
echo "Disabling dnsmasq..." sed -i 's/^dns/\#dns/' /etc/NetworkManager/NetworkManager.conf sudo service network-manager restart echo "Setting up firewall rules to protect eth0..." # DHCP sudo ufw deny in on eth0 to any from any port 68 proto udp sudo ufw deny in on eth0 to any from any port 69 # DNS sudo ufw deny in o...
mit-ll/LO-PHI
lophi-net-services/net_services_setup.sh
Shell
bsd-3-clause
404
python -m venv /tmp/ws-venv/ source /tmp/ws-venv/bin/activate pip install -U pip setuptools wheel python setup.py sdist bdist_wheel upload
youtube/cobalt
third_party/websocket-client/upload.sh
Shell
bsd-3-clause
139
#!/usr/bin/env bash if [ -n "$1" ]; then export $(grep -v '^#' .env | xargs) && docker-compose run -p 3306:3306 -d database && echo Waiting 30 seconds so the database come online... && sleep 30 && echo Done waiting. && mysql --protocol=TCP -u root -p$MYSQL_ROOT_PASSWORD < $1 && docker-compos...
ebu/radiodns-plugit
scripts/migrate.sh
Shell
bsd-3-clause
785
#!/usr/bin/env bash export NUODB_HOME=/opt/nuodb/ export PYTHONPATH=/opt/nuoca/lib #start nuomonitor python /opt/nuomonitor/nuomonitor.py -b ${PEER_ADDRESS} -u domain -p ${DOMAIN_PASSWORD} -l 8082 & #update yaml file python /scripts/prepNuoCa.py \ --peer-addr=${PEER_ADDRESS} \ --app-host=${ARG_apphos...
nuodb/nuodb-docker
scripts/startNuoCa.sh
Shell
bsd-3-clause
651
#!/bin/bash # Script Name: AtoMiC Grafana Updater source "$SCRIPTPATH/inc/commons.sh" source "$SCRIPTPATH/inc/header.sh" echo -e "${GREEN}AtoMiC $APPTITLE Update Script$ENDCOLOR" source "$SCRIPTPATH/inc/pause.sh" if DoesAppFolderExist; then source "$SCRIPTPATH/inc/pkgupdate.sh" source "$SCRIPTPATH/inc/app-sto...
TommyE123/AtoMiC-ToolKit
grafana/grafana-update.sh
Shell
mit
613
#!/bin/bash source "${BASH_SOURCE%/*}"/../setup.sh start=$(get_millisecond_time) regex="(([1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])T(2[0-3]|[0-1][0-9]):([0-5][0-9]):([0-5][0-9])(Z|[+-](2[0-3]|[0-1][0-9]):[0-5][0-9])?" cmd="${sed} -E -n s/${regex}/{'year'='\1',\x20'month'='\3',\x20'day'='\4...
diku-kmc/repg
bench/sed/src/iso_datetime_to_json.sh
Shell
mit
510
# bash completion for busted # _busted_comp() { local opt IFS=' '$'\t'$'\n' for opt in $1; do case $opt in --*=*) printf %s$'\n' "$opt" ;; *.) printf %s$'\n' "$opt" ;; *) printf %s$'\n' "$opt " ;; esac done } _busted() { COMPREPLY=() local cur="${COMP_WORDS[COMP_CWORD]}" ...
Olivine-Labs/busted
completions/bash/busted.bash
Shell
mit
5,057
#!/bin/sh # this script is run after a new preconfigured instance is provisioned PATH=$PATH:/var/lib/gems/1.8/bin/ export DEBIAN_FRONTEND=noninteractive # apt-get update # apt-get -y upgrade USERNAME=ubuntu chown -R $USERNAME /home/$USERNAME cd /home/$USERNAME/documentcloud sudo -u $USERNAME git pull bundle instal...
moodpo/documentcloud
config/server/scripts/update_preconfigured_instance.sh
Shell
mit
388
#!/bin/bash # This script starts the database server. echo "Creating user $user for databases loaded from $url" # Import database if provided via 'docker run --env url="http:/ex.org/db.sql"' echo "Adding data into MySQL" file -bi /var/mysql/database.sql /usr/sbin/mysqld & sleep 5 curl $url | mysql --default-character...
blab2015/Bigfoot
Docker/mysql/start-database.sh
Shell
mit
1,071
#!/bin/bash test_app_folder_name="simple-app-message-test" if [ "$(basename $(pwd))" != "$test_app_folder_name" ]; then echo "Must be executed from $test_app_folder_name folder" exit fi pebble clean && cd .. && pebble build || { cd $test_app_folder_name && exit; } && cd $test_app_folder_name && pebble build
keegan-lillo/simple-app-message
simple-app-message-test/scripts/build.sh
Shell
mit
319
#!/bin/sh # # This file is part of LXE project. See LICENSE file for licensing information. ( PKG=openssl PKG_VERSION=${OPENSSL_VER} PKG_SUBDIR=${PKG}-${PKG_VERSION} PKG_FILE=${PKG}-${PKG_VERSION}.tar.gz PKG_URL="https://ftp.openssl.org/source/${PKG_FILE}" PKG_URL_2="https://ftp.openssl.org/sou...
tehnick/lxe
pkg/openssl.sh
Shell
mit
1,402
#!/bin/sh LC_ALL=C export LC_ALL svn_version() { svn_rev="$(svnversion . /svn/neverball/trunk | tr : +)" test "$svn_rev" != "exported" && echo "r$svn_rev" } version="$(svn_version || date -u +"%Y-%m-%d")" test -n "$version" && echo "$version" || echo "unknown"
drodin/neverball-old
scripts/version.sh
Shell
gpl-2.0
273
#!/bin/bash # This file is part of Firejail project # Copyright (C) 2014-2022 Firejail Authors # License GPL v2 if [ $# -eq 0 ] then echo "Usage: check-caps.sh program-and-arguments" echo fi set -x firejail --caps.drop=chown "$1" firejail --caps.drop=dac_override "$1" firejail --caps.drop=dac_read_search "$1" fire...
netblue30/firejail
src/tools/check-caps.sh
Shell
gpl-2.0
1,504
jboss-cli.sh --connect --command="undeploy cobra.war"
mrorgmode/gittest
undeploy.sh
Shell
gpl-2.0
54
#!/bin/sh # # Copyright (c) 2005, 2006 Junio C Hamano SUBDIRECTORY_OK=Yes OPTIONS_KEEPDASHDASH= OPTIONS_STUCKLONG=t OPTIONS_SPEC="\ git am [options] [(<mbox>|<Maildir>)...] git am [options] (--continue | --skip | --abort) -- i,interactive run interactively b,binary* (historical option -- no-op) 3,3way ...
YueLinHo/Test1200RemoteBranches
git-am.sh
Shell
gpl-2.0
23,297
#!/bin/bash -xeu # Copyright (C) 2016 - Francis Deslauriers <francis.deslauriers@efficios.com> # # 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 op...
lttng/lttng-ci
scripts/system-tests/generate-properties-slave.sh
Shell
gpl-2.0
2,713
#!/bin/bash cpp_files=`ls *.cpp | egrep -v "^qrc_.*\.cpp$" | egrep -v "^moc_.*\.cpp$" | egrep -v "^.*_test\.cpp$"` h_files=`ls *.h | egrep -v "^ui_.*\.h$"` ./oclint-0.10.3/bin/oclint -o oclint.log \ -disable-rule ShortVariableName \ $cpp_files \ $h_files \ -- \ -c -std=c++11 -fPIC \ -I../RibiClasses/CppAb...
JorikdeBoer/jorik_de_boer
do_oclint.sh
Shell
gpl-3.0
1,835
#!/bin/bash exiftool -TagsFromFile "$1" "$2"
jesusdf/clientupdate
i386/clientupdate_1.0-1/usr/local/bin/exifcopy.sh
Shell
gpl-3.0
45
#!/usr/bin/env bash python3 -m venv --clear venv venv/bin/pip install -U pip venv/bin/pip install -U setuptools venv/bin/pip install -U -r requirements.txt # # testing tools - these can be ignored when creating the production release - i.e. the frozen executables venv/bin/pip install -U coverage # pyautogui will not in...
latusrepo/latus
make_venv.sh
Shell
gpl-3.0
460
#!/bin/sh cd ../.. erl -pa examples/simple -pa ebin/ -pa lib/*/ebin/ -pa ../../ebin/ -boot start_sasl \ -s exat_app \ -http_port 7778 \ -start simple_pingagent $* # -eval "t:t(mtp)." \
gleber/exat
examples/simple/run_first.sh
Shell
gpl-3.0
202
#!/bin/bash hostname router echo router > /etc/hostname echo "127.0.0.1 server" >> /etc/hosts
datanduth/vagrantfile-ex
pythonlab-ubuntu-trusty64/1_router-2_subnets-2_clients/router.sh
Shell
gpl-3.0
93
#!/bin/bash # SwiftProtobuf/Performance/perf_runner.swift - Performance test runner # # This source file is part of the Swift.org open source project # # Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors # Licensed under Apache License v2.0 with Runtime Library Exception # # See http://swift.org/LICEN...
zvonler/PasswordElephant
external/github.com/apple/swift-protobuf/Performance/perf_runner.sh
Shell
gpl-3.0
11,629
# Plowshare catshare.net module # Copyright (c) 2016 Plowshare team # # This file is part of Plowshare. # # Plowshare is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at y...
RunningDroid/plowshare-modules-legacy
catshare.sh
Shell
gpl-3.0
5,762
#! /bin/bash module purge module load compilers/gcc-4.9.0 module load boost_1_56_0_gcc4_9_0 module load compilers/openmpi-1.8.1_gcc-4.8.2 make cnaf mv piccante.exe piccante.gcc
ALaDyn/piccante
script/build/make.cnaf.gnu.sh
Shell
gpl-3.0
179
#!/usr/bin/env bash set -e ############################################################################### # # generic-ci-tests.sh # # Execute all tests for edx-platform. # # This script can be called from CI jobs that define # these environment variables: # # `TEST_SUITE` defines which kind of test to run. ...
arbrandes/edx-platform
scripts/generic-ci-tests.sh
Shell
agpl-3.0
8,561
#!/bin/bash set -e . /app/.env for DATE in 20130702 20130704 ; do echo "Collating $DATE..." mkdir $DATE/ cd $DATE/ for FILE in $(aws s3 list-objects --bucket ci-logsearch | grep '"Key": "' | sed -r 's/.*: "([^"]+)",.*$/\1/' | grep $DATE) ; do echo " + $FILE" aws s3 get-object --buc...
cityindex-attic/logsearch
example/perftest/profile/perftest-parser4n/Shipper0Instance/run.sh
Shell
apache-2.0
920
#!/usr/bin/env bash set -xe rm -rf ~/.kube KUBE_VERSION=${KUBE_VERSION:-1.16.0} COPY_DOCKER_LOGIN=${COPY_DOCKER_LOGIN:-"false"} DEFAULT_MINIKUBE_MEMORY=$(free -m | grep "Mem" | awk '{print $2}') DEFAULT_MINIKUBE_CPU=$(awk '$1~/cpu[0-9]/{usage=($2+$4)*100/($2+$4+$5); print $1": "usage"%"}' /proc/stat | wc -l) MINIKU...
ppatierno/kaas
.azure/scripts/setup-kubernetes.sh
Shell
apache-2.0
3,624
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lice...
apache/airflow
scripts/ci/pre_commit/pre_commit_migration_reference.sh
Shell
apache-2.0
1,661
#!/bin/bash # # # 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 writing, software # dis...
pagespeed/mod_pagespeed
pagespeed/automatic/system_tests/char_tweaks.sh
Shell
apache-2.0
1,587
#!/bin/bash #set -x #This script (install) and launches iovisor-ovn daemon in standalone mode. #The standalone mode allows the user to deploy a single or a chain of IOModules #using a YAML configuration file. #The -file parameter starts the Standalone mode echo "FILE" echo $1 echo "" set -x #Install iovisorovnd #g...
iovisor/iovisor-ovn
examples/run_iovisorovnd_file.sh
Shell
apache-2.0
483
#!/bin/sh TESTDIR=$1 if [ ! -d $TESTDIR ]; then echo Test data directory $TESTDIR does not exist exit 1 fi echo populating test directory $TESTDIR cd $TESTDIR mkdir directory echo "hello" > testfile sleep 2 chmod 644 testfile ln -s testfile link-to-testfile # small tree mkdir tree echo "firstfile" >> tree/f...
steveturner/devzendo-org-xpfsa
src/test/sh/setupmacosxtestdata.sh
Shell
apache-2.0
840