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 ######################################################################## # # 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...
ilenghel/lis-test
WS2012R2/lisa/tools/middleware_bench/tests/run_nodejs.sh
Shell
apache-2.0
2,583
#!/bin/bash # Script that bundles the dev-app using the Google Closure compiler. # This is script is used to verify closure-compatibility of all Material components. set -e -o pipefail # Go to the project root directory cd $(dirname $0)/../.. # Build a release of material and of the CDK package. $(npm bin)/gulp ma...
tomlandau/material2-new
scripts/closure-compiler/build-devapp-bundle.sh
Shell
mit
3,741
#!/bin/bash # # # Copyright 2013 LinkedIn Corp. 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 app...
rahuljoshi123/databus
db/databus2-bootstrap/createSchema/apply_patches.sh
Shell
apache-2.0
1,310
#!/bin/bash mkdir -p $PREFIX/db/basic mkdir -p $PREFIX/bin cp -rf db/* $PREFIX/db/basic/ # replace /db/ path with /../db/basic/ # add shebang to first line sed "s;/db/;/../db/basic/;g" BASIC.py | sed "1s;^;#\!/usr/bin/env python\n;" > $PREFIX/bin/BASIC.py chmod +x $PREFIX/bin/BASIC.py # Add more build steps here, if...
dmaticzka/bioconda-recipes
recipes/basic/build.sh
Shell
mit
469
#!/bin/bash rm ./contents.swift cleanThisMessForReadme () { FILENAME=$1 { rm $FILENAME && awk '{gsub("\\*/", "\n```swift\n", $0); print}' > $FILENAME; } < $FILENAME { rm $FILENAME && awk '{gsub("\\*//\\*:", "", $0); print}' > $FILENAME; } < $FILENAME { rm $FILENAME && awk '{gsub("/\\*:", "```\n", $0); print}' >...
yqw2010/Design-Patterns-In-Swift
generate-playground.sh
Shell
gpl-3.0
1,334
#!/bin/bash /vagrant/scripts/agent.sh
evernym/sovrin-environments
vagrant/training/SovrinCluster-master/scripts/agent04.sh
Shell
apache-2.0
39
#!/usr/bin/env bash # SPDX-License-Identifier: LGPL-2.1-or-later set -e TEST_DESCRIPTION="Test that KillMode=mixed does not leave left over processes with ExecStopPost=" # shellcheck source=test/test-functions . "${TEST_BASE_DIR:?}/test-functions" do_test "$@"
msekletar/systemd
test/TEST-47-ISSUE-14566/test.sh
Shell
gpl-2.0
264
#!/bin/bash echo \[inputname.sh\]: testing $InputTCPServerInputName directive $srcdir/killrsyslog.sh # kill rsyslogd if it runs for some reason . $srcdir/diag.sh generate-HOSTNAME echo port 12514 ./nettester -tinputname_imtcp_12514 -cinputname_imtcp -itcp -p12514 if [ "$?" -ne "0" ]; then exit 1 fi echo port 12515 ...
RomeroMalaquias/rsyslog
tests/inputname.sh
Shell
gpl-3.0
549
#!/bin/bash # shellcheck disable=SC2034,SC2153,SC2155,SC2164 # Copyright Istio 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/lice...
istio/istio.io
content/en/docs/tasks/observability/metrics/tcp-metrics/snips.sh
Shell
apache-2.0
3,392
#!/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 ...
MI-LA01/kt_wso2-php5.3
wsf_c/axis2c/tools/tcpmon/autogen.sh
Shell
apache-2.0
1,498
#!/bin/bash # Script to merge objects coming out of the calibration train: # Arguments: # 1 - directory on which to look for the files to be merged # 2 - runNumber # 3 - OCDB output path # [4 - default OCDB] # example: # mergeMakeOCDB.sh /alice/cern.ch/user/a/aliprod/CPass0/output/ 120691 alien://folder=...
mazimm/AliPhysics
PWGPP/CalibMacros/CPass1/mergeMakeOCDB.sh
Shell
bsd-3-clause
1,447
pip install distribute==0.6.49 pip install pyzmq==14.0.0 pip install numpy==1.8.0 pip install scipy==0.13.0 pip install ipython==1.1.0 pip install matplotlib==1.3.1 pip install pandas==0.12.0 pip install sympy==0.7.3 pip install nose==1.3.0 # other packages pip install argparse==1.2.1 pip install beautifulsoup==3.2.0 p...
scivm/docker-scientific-python
scientific-python-3.3/requirements.sh
Shell
bsd-3-clause
1,531
#!/bin/sh # # Copyright (c) 2006 Junio C Hamano # test_description='git rebase --merge test' . ./test-lib.sh T="A quick brown fox jumps over the lazy dog." for i in 1 2 3 4 5 6 7 8 9 10 do echo "$i $T" done >original test_expect_success setup ' git add original && git commit -m"initial" && git branch side && e...
devzero2000/git-core
t/t3402-rebase-merge.sh
Shell
gpl-2.0
3,762
# # Copyright 2005-2015 The Kuali Foundation # # Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php # # Unless required by applicable l...
ewestfal/rice
rice-tools-test/src/test/resources/scripts/gengraphs.sh
Shell
apache-2.0
7,527
#!/usr/bin/env bash ########################################################################### # before_install.sh # --------------------- # Date : March 2019 # Copyright : (C) 2019 by Denis Rouzaud # Email : denis@opengis.ch ####################################...
olivierdalang/QGIS
.ci/travis/docker_image/install.sh
Shell
gpl-2.0
894
#!/usr/bin/env sh # When setting variables, use the 'bracket argument' format to allow having \" # inside the string. Which is not supported by quoted arguments # https://cmake.org/cmake/help/latest/manual/cmake-language.7.html#bracket-argument # # bracket_argument ::= bracket_open bracket_content bracket_close #...
kaspar030/RIOT
dist/tools/cmake/generate-xcompile-toolchain.sh
Shell
lgpl-2.1
1,611
#!/bin/bash # # Build file to set up and run tests # Change to repo root cd $(dirname $0)/../../.. # Prepare worker environment to run tests source kokoro/macos/prepare_build_macos_rc ./tests.sh ruby22
ButterflyNetwork/bazel
third_party/protobuf/3.6.0/kokoro/macos/ruby22/build.sh
Shell
apache-2.0
205
#!/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...
dpratt/kubernetes
cluster/vsphere/config-default.sh
Shell
apache-2.0
2,066
#!/bin/sh RRDTOOL=/usr/bin/rrdtool OUTDIR=/var/www/servers/www.example.org/pages/rrd/ INFILE=/var/www/lighttpd.rrd OUTPRE=lighttpd-traffic DISP="DEF:bin=$INFILE:InOctets:AVERAGE \ DEF:binmin=$INFILE:InOctets:MIN \ DEF:binmax=$INFILE:InOctets:MAX \ DEF:bout=$INFILE:OutOctets:AVERAGE \ DEF:boutm...
atmark-techno/atmark-dist
user/lighttpd/doc/rrdtool-graph.sh
Shell
gpl-2.0
1,253
#!/bin/sh set -e mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" XCASSET_FILES=() case "${TARGETED_DEVICE_FAMILY}" in 1,2) TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" ;; 1) ...
ios-ximen/DYZB
斗鱼直播/Pods/Target Support Files/Pods-斗鱼直播/Pods-斗鱼直播-resources.sh
Shell
mit
5,226
# ------------------------------------------------------------------------------ # FILE: composer.plugin.zsh # DESCRIPTION: oh-my-zsh composer plugin file. # AUTHOR: Daniel Gomes (me@danielcsgomes.com) # VERSION: 1.0.0 # -----------------------------------------------------------------------...
tsugliani/dotfiles
zsh/oh-my-zsh/plugins/composer/composer.plugin.zsh
Shell
mit
1,348
#!/bin/sh # # Copyright (c) 2012 Avery Pennaraum # test_description='Basic porcelain support for subtrees This test verifies the basic operation of the merge, pull, add and split subcommands of git subtree. ' TEST_DIRECTORY=$(pwd)/../../../t export TEST_DIRECTORY . ../../../t/test-lib.sh create() { echo "$1" >"$1"...
scheng123/agario-try-hacked
git-2.6.3/contrib/subtree/t/t7900-subtree.sh
Shell
mit
12,459
#!/usr/bin/env bash set -e set -x PASS="cassandra" pushd spec/fixtures/ssl rm -f * ## server keystore # generate keystore keytool -genkey \ -keyalg RSA \ -validity 3650 \ -alias cassandra \ -storepass $PASS \ -keypass $PASS \ -dname 'CN=Thibault Ch...
thibaultCha/lua-cassandra
util/ssl_fixtures.sh
Shell
mit
1,664
#!/bin/bash #export PS4="\$LINENO: " # Prints out the line number being executed by debug #set -xv # Turn on debugging exists_another_pane_in_direction() { local direction=$1 local result=1 #false local paneList=$( tmux list-panes -F '#{pane_top} #{pane_left} #{?pane_activ...
fogine/dotfiles
bin/tmux_sys_win_aware_navigation.sh
Shell
mit
2,626
GIT=https://gitlab.redox-os.org/redox-os/kernel.git BUILD_DEPENDS=(drivers init nulld ramfs randd redoxfs zerod) function recipe_build { export INITFS_FOLDER="$(realpath ../sysroot)" mkdir -pv "$INITFS_FOLDER/etc" cp -v "$(realpath ../init.rc)" "$INITFS_FOLDER/etc/init.rc" cargo rustc \ --lib \...
redox-os/cookbook
recipes/kernel/recipe.sh
Shell
mit
1,047
#!/bin/bash if [ -z "$KEY" ]; then echo >&2 'error: missing KEY environment variable' exit 1 fi openssl aes-256-cbc -d -in /etc/member.config.aes -out /etc/member.config -k $KEY TEST_LINE=`grep "AuthenticationKey" /etc/member.config` if [ -z "$TEST_LINE" ]; then echo >&2 'error: presented KEY wrong' exit 2 fi ...
ppschweiz/MemberDatabase
Docker/RegistrationService/entrypoint.sh
Shell
mit
339
#!/bin/bash [ -z "$SPRITE_SOMETHING" ] && SPRITE_SOMETHING=../SpriteSomething [ -z "$VANILLA" ] && VANILLA=vanilla.sfc [ -z "$SPRITE_PATCHES" ] && SPRITE_PATCHES=varia_custom_sprites/patches [ -z "$MAKE_IPS" ] && MAKE_IPS=tools/make_ips.py sheets=$* [ -z "$sheets" ] && sheets=varia_custom_sprites/sprite_sheets/*.png...
theonlydude/RandomMetroidSolver
tools/gen_sprite_patches.sh
Shell
mit
790
#!/bin/bash # Starts up Nginx and PHP within the container. DATADIR="/data" # Don't continue if we catch an error. set -e if [[ ! -f "/var/lib/wordpress/wp-config.php" && -f "/data/wp-config.php" ]]; then mv /data/wp-config.php /var/lib/wordpress/wp-config.php ln -nfs /var/lib/wordpress/wp-config.php /data/w...
combro2k/wordpress-nginx
start.sh
Shell
mit
832
# Use the 4th column (from vertebrate and from UCSC) if [ ! -s phastcons_vertebrate.txt.gz ]; then wget https://s3.us-east-2.amazonaws.com/pathoscore-data/phastcons/phastcons_vertebrate.txt.gz wget https://s3.us-east-2.amazonaws.com/pathoscore-data/phastcons/phastcons_vertebrate.txt.gz.tbi fi
quinlan-lab/pathoscore
score-sets/GRCh37/phastCons/make.sh
Shell
mit
302
python -B -m SALib.sample \ -m fast \ -n 100 \ -p params.txt \ -o samples.txt \ --delimiter=' ' \ --precision=2 \
Ecotrust/floodplain-restoration
scripts/sensitivity_analysis/sample.sh
Shell
mit
156
#/bin/csh setenv ORACLE_SID EP0 setenv ORACLE_HOME /oracle/EP0/11204 setenv ORACLE_BIN /oracle/EP0/11204/bin setenv PATH "$PATH;$ORACLE_BIN" output=`sqlplus -s "/ as sysdba" <<EOF select to_char(sysdate, ''dd/mm/yyyy hh24:mi:ss'') "AGORA" from dual; @/home/oracle/status @/home/oracle/tbspace exit EOF ` echo $output ...
gabrieltr/oracle_scripts
backup/test.sh
Shell
mit
525
#!/bin/bash # # Create database and database user from wp-config.php # Needs user, password and default-character-set in ~/.my.cnf [mysql] section. # # VERSION :0.1.1 # DATE :2015-07-20 # AUTHOR :Viktor Szépe <viktor@szepe.net> # LICENSE :The MIT License (MIT) # URL :https://github...
djeraseit/debian-server-tools
mysql/wp-createdb.sh
Shell
mit
1,771
#!/bin/sh # file: setres.sh # vim:fileencoding=utf-8:fdm=marker:ft=sh # # Copyright © 2006-2017 R.F. Smith <rsmith@xs4all.nl>. # SPDX-License-Identifier: MIT # Created: 2006-02-19T16:52:08+01:00 # Last modified: 2020-08-15T14:31:48+0200 # Check for arguments if [ $# -lt 2 ]; then echo "Usage: $(basename $0) resolu...
rsmith-nl/scripts
setres.sh
Shell
mit
702
#!/bin/bash . common.sh docker-compose up -d
universityofadelaide/docker_drupal8
start.sh
Shell
mit
47
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DLA-428-1 # # Security announcement date: 2016-02-24 00:00:00 UTC # Script generation date: 2017-01-01 21:09:08 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: x86_64 # # Vulnerable packages fix on version: # - websvn:2.3.1-1+deb6u2 # # Last vers...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/x86_64/2016/DLA-428-1.sh
Shell
mit
611
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for CESA-2013:0127 # # Security announcement date: 2013-01-11 13:18:32 UTC # Script generation date: 2017-01-01 21:10:38 UTC # # Operating System: CentOS 5 # Architecture: i386 # # Vulnerable packages fix on version: # - libvirt.i386:0.8.2-29.el5 # - libvirt-de...
Cyberwatch/cbw-security-fixes
CentOS_5/i386/2013/CESA-2013:0127.sh
Shell
mit
838
#!/usr/bin/env bash ########################################################### # System ########################################################### function system_update { aptitude update aptitude -y full-upgrade } function system_primary_ip { # returns the primary IP assigned to eth0 echo $(ifconfig eth0 | aw...
abtain/qskynet
static/scripts/system.sh
Shell
mit
743
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2014:0469 # # Security announcement date: 2014-05-12 18:18:12 UTC # Script generation date: 2017-01-01 21:15:15 UTC # # Operating System: Red Hat 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - ruby193-rubygem-actionpack.noarch:3.2.1...
Cyberwatch/cbw-security-fixes
Red_Hat_6/x86_64/2014/RHSA-2014:0469.sh
Shell
mit
3,795
#!/bin/bash # This script installs s3cmd echo "" echo "[Provision-Script] Installing s3cmd (via Yum)" echo "" yum -y install s3cmd
vmadman/linux-scripts
vagrant/centos7/dev/v1/yum-install-s3cmd.sh
Shell
mit
133
#!/bin/sh # # Copyright (c) 2015,2018 Aaron LI # # Encrypt a file using GPG with symmetric AES256 algorithm. # case "$1" in ""|-h|--help) echo "usage: ${0##*/} <infile>" exit 1 ;; esac if which gpg2 >/dev/null 2>&1; then GPG=gpg2 elif which gpg >/dev/null 2>&1; then GPG=gpg else ...
liweitianux/atoolbox
cli/gpg-aes256.sh
Shell
mit
544
#!/usr/bin/env bash # help is used globally # shellcheck disable=SC2120 help() { if [[ $1 ]]; then extended_help "$1" exit "$EX_SUCCESS" fi printf "homes\e[1;34mh\e[0mick uses git in concert with symlinks to track your precious dotfiles. Usage: homeshick [options] TASK Tasks: homeshick cd CASTLE ...
andsens/homeshick
lib/commands/help.sh
Shell
mit
3,097
#!/bin/sh set -e . ./config.sh for PROJECT in $PROJECTS; do $MAKE -C $PROJECT clean done rm -rfv sysroot rm -rfv isodir rm -rfv muxos.iso
emkay/muxos
clean.sh
Shell
mit
144
#!/bin/bash VERSION="1.0.0" FILE="testrunner-$VERSION.js" # Source and destination folders, relative to the scripts folder. SRC=../src DEST=../build DEST_FILE=$DEST/js/$FILE mkdir -p $DEST mkdir -p $DEST/js cat $SRC/js/assert.js > $DEST_FILE cat $SRC/js/test_iterator.js >> $DEST_FILE cat $SRC/js/test_runner.js >> $...
rhelgeby/TestRunner-Core
scripts/build.sh
Shell
mit
533
[[ $(get-env debian) ]] && { antigen bundle debian # apt integration } [[ $(get-env systemd) ]] && { antigen bundle systemd }
boneskull/dotfiles
tag-linux/antigen.linux.zsh
Shell
mit
131
#!/bin/bash # # # chkconfig: 2345 80 05 # description: This is a program that is responsible for taking care of # configuring the Oracle Database 11g Express Edition and its associated # services. # # processname: oracle-xe # Red Hat or SuSE config: /etc/sysconfig/oracle-xe # Debian or Ubuntu config: /etc/default/or...
lastnitescurry/dctm-vagrant-puppet
puppet/modules/oracle/files/oracle-xe-reset-passwords.sh
Shell
mit
2,207
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-1704-1 # # Security announcement date: 2013-01-22 00:00:00 UTC # Script generation date: 2017-01-01 21:03:07 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - linux-image-3.5.0-22-generic:3.5.0-2...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/x86_64/2013/USN-1704-1.sh
Shell
mit
834
alias chid="git log -n 1 | tail -n 1 | sed 's/^[ \t]*//;s/[ \t]*$//' | pbcopy"
jimdusseau/dotfiles
work/aliases.zsh
Shell
mit
79
#!/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...
bag-umbala/music-umbala
Music-Umbala/Pods/Target Support Files/Pods-Music-Umbala/Pods-Music-Umbala-frameworks.sh
Shell
mit
3,719
find "$1" -type f | sed -e "s#$1##g" | sort -u > /tmp/hdd1 find "$2" -type f | sed -e "s#$2##g" | sort -u > /tmp/hdd2 diff -u /tmp/hdd1 /tmp/hdd2 > /tmp/hdd.diff
padawin/home_conf
.scripts/diffs-hdd.sh
Shell
mit
162
#!/bin/sh ./bin/seq2seq \ --mode predict \ --rootdir ./sample/model \ --modelfile ./sample/model/save_10.model \ --srcfile ./sample/srcval.ja \ --trgfile ./sample/model/predict.txt \ --max_batch_pred 8 \ --dynet-mem 11000
kamigaito/seq2seq-baseline-dynet
scripts/sample-predict.sh
Shell
mit
222
test_description='link glob, all patterns' . '../test-lib.bash' allfruit=(apple apricot banana cherry currant cantalope) test_expect_success 'glob patterns setup' ' mkdir ${DOTFILES}/conf && for fruit in "${allfruit[@]}"; do echo "${fruit}" > ${DOTFILES}/conf/${fruit} echo "dot-${fruit}" > ${DOTFILES}/conf/.${fru...
anishathalye/dotbot
test/tests/link-glob-patterns.bash
Shell
mit
2,128
#!/bin/sh # For macos we install via the Brewfile, for linux # we assume ubuntu and install thusly... if [[ "$OSTYPE" == "linux-gnu"* ]]; then # Install deps sudo apt install curl git -y git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.0 fi
BlueHatbRit/dotfiles
asdf/install.sh
Shell
mit
265
#------------------------------------------------------------------------------- # # gradle/dirs.zsh # Common Gradle related directories. # #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- # # Directory Var...
phatblat/dotfiles
.dotfiles/gradle/dirs.zsh
Shell
mit
463
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2487-1 # # Security announcement date: 2015-01-27 00:00:00 UTC # Script generation date: 2017-01-01 21:04:13 UTC # # Operating System: Ubuntu 14.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - openjdk-7-jre-zero:7u75-2.5.4-1~trus...
Cyberwatch/cbw-security-fixes
Ubuntu_14.04_LTS/x86_64/2015/USN-2487-1.sh
Shell
mit
2,561
#!/bin/bash # every TCGA FMP script should start with these lines: : ${TCGAFMP_ROOT_DIR:?" environment variable must be set and non-empty; defines the path to the TCGA FMP scripts directory"} source ${TCGAFMP_ROOT_DIR}/../../gidget/util/env.sh # additional required variables for this script: : ${VT_UTILS:?" environme...
cancerregulome/gidget
commands/feature_matrix_construction/shscript/fmp15B_survival.sh
Shell
mit
3,617
#!/usr/bin/env bash cd /var/www/ripple.moe/ci-system nohup bash 'ci-system.sh' & 2>&1 >/dev/null
osuripple/ripple
ci-system/run-ci.sh
Shell
mit
97
#!/bin/bash PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' function the_theme { local thisdir=$(dirname $BASH_SOURCE) if [[ "$dot_env_home_host" == "$HOSTNAME" ]]; then . "${thisdir}/local.sh" else # We are on foreign soil . "${thisdir}/remote.sh" fi PS2='> ' PS4='+ ' } the_theme
midwire/bash.env
themes/sparkr/theme.sh
Shell
mit
313
#!/bin/bash # Execute doxygen on all or a selection of directories. # # If no parameter is specified to this script, it executes doxygen on all # directories specified with the `INPUT` parameter in the `Doxyfile`. # # Alternatively, a space separated list of directories can be specified. The # directories are expected...
wisoltech/selective_doxygen
doxygen_make.bash
Shell
mit
1,752
#!/bin/bash # Add hosts entries to the internal VMs hosts file for this site. vhosts(){ echo "Adding entry to the virtual machine's /etc/hosts file..." find $1 -maxdepth 5 -name 'vvv-hosts' | head -1 | \ while read hostfile; do while IFS='' read -r line || [ -n "$line" ]; do if [[ "#" != ${line:0:1} ]]...
lkwdwrd/generator-vvv
lib/templates/scripts/functions/vhost.sh
Shell
mit
1,032
ORIGIN="/bkp_latest/" DESTIN="/bkp_latest_c/" fusecompress -o allow_other,fc_c:lzo $ORIGIN $DESTIN #umount bkp_latest_c/
sauloal/linuxscripts
rdiffBackup/new/mountCompressed.sh
Shell
mit
121
#!/usr/bin/env bash # install VirtualBox Guest Additions echo "==> Installing VirtualBox Guest Additions" mkdir /tmp/virtualbox VERSION=$(cat /home/vagrant/.vbox_version) mount -o loop /home/vagrant/VBoxGuestAdditions_$VERSION.iso /tmp/virtualbox sh /tmp/virtualbox/VBoxLinuxAdditions.run umount /tmp/virtualbox rmdir ...
sutch/image-builder
script/vboxguest.sh
Shell
mit
376
# Disable CDROM entries to prevent apt-get from prompting to insert a disk sed -i "/^deb cdrom:/s/^/#/" /etc/apt/sources.list apt-get -y update apt-get -y upgrade apt-get -y install curl wget vim emacs-nox bind9utils sudo puppet less man rsyslog apt-get clean
lasse-aagren/debian-jessie-lxc-packer-vagrant
packer/scripts/lxc/base.sh
Shell
mit
261
apt-get update && apt-get install -yq samba samba-common-bin npm install -g nodemon cp ./smb.conf /etc/samba/smb.conf
abresas/resin-samba
deps.sh
Shell
mit
118
#!/bin/sh #Using the -h (“human-readable”) option to ls, list the #long form of the sonnets file with a human-readable byte count. ls -lh sonnets.txt
ReanyAlex/unix_and_bash
command-line/chap3_1ex3.sh
Shell
mit
155
#!/usr/bin/env bash # Author: takuzoo3868 # Last Modified: 17 Feb 2021. trap 'echo Error: $0:$LINENO stopped; exit 1' ERR INT set -euo pipefail # set dotfiles path as default variable if [ -z "${DOTPATH:-}" ]; then DOTPATH=$HOME/.dotfiles; export DOTPATH fi # load lib script (functions) . "$DOTPATH"/etc/lib/hea...
takuzoo3868/dotfiles
etc/scripts/install.d/10_brew.sh
Shell
mit
960
#!/usr/bin/env bash ver=$1 dir=src/ebwt/${ver}_knownGene base=$dir/ref gtf=${base}.gtf mkdir -p $dir curl -o $dir/knownGene.txt.gz "http://hgdownload.cse.ucsc.edu/goldenPath/$ver/database/knownGene.txt.gz" curl -o $dir/kgXref.txt.gz "http://hgdownload.cse.ucsc.edu/goldenPath/$ver/database/kgXref.txt.gz" gunzip -c $d...
shka/STRTprep
bin/index_knownGene.sh
Shell
mit
543
#!/bin/bash export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 bundle exec jekyll serve --future
medeiros/medeiros.github.io
start.sh
Shell
mit
126
#!/bin/bash # every TCGA FMP script should start with these lines: : ${TCGAFMP_ROOT_DIR:?" environment variable must be set and non-empty; defines the path to the TCGA FMP scripts directory"} source ${TCGAFMP_ROOT_DIR}/../../gidget/util/env.sh ## this script should be called with the following parameters: ## da...
cancerregulome/gidget
commands/feature_matrix_construction/shscript/fmp10B_splitType_v2.sh
Shell
mit
6,146
#!/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}" # This protects against multiple targets copying the same framework dependency at the same time....
kkvinokk/KKSwipeCards
Example/Pods/Target Support Files/Pods-KKSwipeCards_Example/Pods-KKSwipeCards_Example-frameworks.sh
Shell
mit
4,678
#!/usr/bin/env bash if [[ -f $1 ]]; then #fileUpload is the argument that PHP uses for $FILES #I currently don't know if there's a standard for this. curl -X POST -F fileUpload=@$1 127.0.0.1:8080/upld.php else echo "Sorry, file not selected or does not exist" fi
hjfitz/upld
upload.sh
Shell
mit
281
#!/bin/bash -e -o pipefail source ~/utils/utils.sh AZCOPY_DOWNLOAD_URL="https://aka.ms/downloadazcopy-v10-mac" download_with_retries $AZCOPY_DOWNLOAD_URL "/tmp" "azcopy.zip" unzip /tmp/azcopy.zip -d azcopy AZCOPY_EXTRACTED=$(echo azcopy/azcopy*) cp "$AZCOPY_EXTRACTED/azcopy" "/usr/local/bin/azcopy" chmod +x "/usr/loc...
mattgwagner/New-Machine
.github-actions/images/macos/provision/core/azcopy.sh
Shell
mit
408
#!/bin/sh # BENJELLOUN Hicham - 28 Nov 2012 # 4.0 titre="\n\033[1;4;33mMenu du Projet ODL - Jeu de Rôles (version du 30 Novembre 2012)\033[0m\n\n" menu="q - Arrêter le script.\nm - Rafraichir la page\n0 - Afficher l'arborescence du repertoire de travail.\n1 - Compiler\n2 - Lancer le Jeu\n3 - Generer la documentation ...
HichamBenjelloun/JeuDeRole
projet.sh
Shell
mit
1,181
#!/usr/bin/env bash # set initial datetime from GPS influx -database beastcraft \ --format csv \ -execute 'SELECT last("value") FROM "time";' | \ tail -1 | awk -F',' '{print $3}' | \ xargs date +%Y-%m-%dT%H:%M:%S.000Z -s
ab77/beastcraft-telemetry
gpstime.sh
Shell
mit
230
#!/bin/bash if [ $# != 1 ] then echo "Please provide the number of tests to perform." exit 1 fi NB_TEST=$1 # nombre de tests pour chaque configuration DIRECTORY=/tmp # endroit de sauvegarde des fichiers temporaires EXEC="./resol" # executable OUTPUT_WITHWL=clauses.nvar_3SAT.with_WL.dat OUTPUT_WITHO...
Ezibenroc/satsolver
benchmarks/clauses.nvar_3SAT.sh
Shell
mit
12,749
#! /bin/bash # 20 min MAXIDLETIME=1200000 MAXIDLETIME=2400000 SUSPEND_CMD="sudo systemctl suspend" while true; do IDLETIME=`xprintidle` DPMS=`xset q | grep "DPMS is Enabled"` if [[ ( $IDLETIME -ge $MAXIDLETIME ) && ( $DPMS ) ]]; then `$SUSPEND_CMD` sleep 20 fi sleep 2; done
fieteboerner/dotfiles
i3/scripts/autosuspend.sh
Shell
mit
313
# # Runscript for ecosys_test: # # ------------------ COMPILE & RUN ---------------------------- # #gfortran -fbounds-check mod_geochem.F90 mod_param.F90 mod_heat.F90 mod_foodweb6.F90 mod_coral3.F90 mod_macroalgae.F90 mod_seagrass.F90 mod_sedecosys.F90 mod_reef_ecosys3.F90 mod_input.F90 ecosys_test5.F90 -O2 -o ecosys_...
NakamuraTakashi/reef_ecosys
Projects/chamber/runeco_s9.sh
Shell
mit
660
haxelib dev haxe-fgl ../
starburst997/haxe-fgl
commands/install.sh
Shell
mit
24
#!/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...
dlewanda/Nonpareil
Example/Pods/Target Support Files/Pods-Nonpareil_Tests/Pods-Nonpareil_Tests-frameworks.sh
Shell
mit
3,790
#!/bin/sh GVF=$1 DEF_VER=v1.6.6-rc1.GIT LF=' ' # First see if there is a version file (included in release tarballs), # then try git-describe, then default. if test -f $2 then VN=$(cat $2) || VN="$DEF_VER" elif test -d $3/.git -o -f $3/.git && VN=$(git --git-dir=$3/.git describe --abbrev=4 HEAD 2>/dev/null) && ca...
aholler/wp2git
git-version-gen.sh
Shell
mit
783
#!/bin/bash abspath () { case `uname -s` in CYGWIN*) echo $(cygpath -ua "$1") | sed 's:/$::g' ;; Darwin) #[[ $(echo $1 | awk '/^\//') == $1 ]] && echo "$1" || echo "$PWD/$1" [[ ${1:0:1} == "/" ]] && echo "$1" || echo "$PWD/$1" ;; Linux) echo $(readlink -f "$1") ;; *) if [[ ${1:0:1} =...
mateor/auto-patcher
batch.sh
Shell
mit
833
for run in {1..64} do for problem in 0 1 do for scheme in 0 1 do for tournament in 2 5 10 do ( log=/Volumes/Slartibartfast/experiments/selection_pressure/results/$problem.$scheme.$tournament.$run ../Debug/SelectionPressure --s $scheme --t $tournament --p $problem --l $log bash selection_press...
evertwh/scripts
bash/run.sh
Shell
mit
559
#!/bin/sh export HOME=$SNAP_APP_DATA_PATH exec mp www
elopio/snaps
mailpile/mailpile.sh
Shell
cc0-1.0
55
clojure -A:dev -m datomic.ion.dev '{:op :push :creds-profile "" :region ""}'
cognitect-labs/day-of-datomic-cloud
doc-examples/live-tutorials/http-direct/push-cmd.sh
Shell
epl-1.0
77
#! /bin/bash ####################################################################### # Merges the nominal "service" attribute in the header of ARFF files, # # to make them mutually compatible for Weka training and testing. # ####################################################################### arffs=$@ sumserv=`...
ObliviaSimplex/flow-labeller
merge-services.sh
Shell
epl-1.0
898
lein test-refresh game-of-life.rules-test game-of-life.utils-test
pisketti/cljs-game-of-life
test-watch.sh
Shell
epl-1.0
66
#! /bin/sh # Copyright (C) 2010-2017 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 ...
Starlink/automake
t/repeated-options.sh
Shell
gpl-2.0
1,894
#!/bin/bash ####################################################################################### # Copyright: (C) 2017 # Author: Vadim Tikhanoff # email: vadim.tikhanoff@iit.it # Permission is granted to copy, distribute, and/or modify this program # under the terms of the GNU General Public License, version 2 or...
robotology/funny-things
app/scripts/shells/udine_danieli.sh
Shell
gpl-2.0
18,937
#!/bin/sh ## ## Copyright 2012-2013 Merethis ## ## This file is part of Centreon Engine. ## ## Centreon Engine is free software: you can redistribute it and/or ## modify it under the terms of the GNU General Public License version 2 ## as published by the Free Software Foundation. ## ## Centreon Engine is distributed i...
centreon/centreon-engine
modules/bench/plugins/active_host_execution_time.sh
Shell
gpl-2.0
1,176
#!/bin/sh BASE_FOLDER=/opt/ha APP_FOLDER=$BASE_FOLDER/application # make sure we can do 'apt-add-repository' apt-get -y install python-software-properties # install mosquitto apt-add-repository -y ppa:mosquitto-dev/mosquitto-ppa apt-get update apt-get -y install mosquitto apt-get -y install mosquitto-clients # inst...
levend/HomeAutomation
scripts/server/setup/install_environment.sh
Shell
gpl-2.0
1,121
# First, check for a config if [ ! -f .config ] then echo "Run config.sh first!" exit fi ROOT=$(sed '1q;d' .config) DEST=$(sed '2q;d' .config) if [ -d ${DEST} ] then rm -rf ${DEST}/* else mkdir ${DEST} fi if [ -d app/data ] then rm -rf app/data/* else mkdir app/data fi echo "compile & process scss" cd a...
StAlRuth/porysearch
build.sh
Shell
gpl-2.0
1,138
#! /bin/sh # Copyright (C) 2009-2017 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 ...
pylam/automake
t/parallel-tests-log-compiler-1.sh
Shell
gpl-2.0
3,038
#! /bin/sh . ~/.bash_profile /home/admin/php/bin/php /home/admin/nginx/html/wordpress/pusher_timer.php
garydai/wordpress
timer.sh
Shell
gpl-2.0
104
run_pre_install_script() { if [ -n "${pre_install_script_uri}" ]; then fetch "${pre_install_script_uri}" "${chroot_dir}/var/tmp/pre_install_script" || die "could not fetch pre-install script" chmod +x "${chroot_dir}/var/tmp/pre_install_script" spawn_chroot "/var/tmp/pre_install_script" || die "error runni...
liquidm/quickstart
modules/install_steps.sh
Shell
gpl-2.0
9,510
git pull mysql -u root -p system_db < sql_database/system_db.sql sudo /etc/init.d/apache2 reload
ManaratiCMS/manarati_cms
pull.sh
Shell
gpl-2.0
98
#!/bin/sh usage() { cat << _EOF_ Start or stop all the buildbot masters and slaves on this machine Usage: sh bservice.sh start|stop|status _EOF_ } abort() { echo fatal error: $* exit 1 } detect_os() { # Detect OS case "`uname -s`" in Linux) case "`lsb_release -ds`" in "Ubuntu ...
dankegel/ciwrap
bservice.sh
Shell
gpl-2.0
1,440
#!/bin/bash cp ./arch/arm/configs/android_galaxys2_defconfig ./android_galaxys2_defconfig make mrproper make android_galaxys2_defconfig make modules cp drivers/samsung/fm_si4709/Si4709_driver.ko ~/android/device/samsung/galaxys2/modules/ cp drivers/scsi/scsi_wait_scan.ko ~/android/aosp/device/samsung/galaxys2/modules/ ...
kannu1994/sgs2_kernel
buildzImage_galaxys2.sh
Shell
gpl-2.0
525
#!/bin/bash docker run -it --link dev-kafka:kafka --rm spotify/kafka sh -c "exec /opt/kafka_2.11-0.8.2.1/bin/kafka-console-consumer.sh --zookeeper \$KAFKA_PORT_2181_TCP_ADDR:2181 --from-beginning --topic $1"
sorhus/docker-workshop
kafka/run-consumer.sh
Shell
gpl-2.0
210
#!/bin/sh test_description='git-p4 rcs keywords' . ./lib-git-p4.sh test_expect_success 'start p4d' ' start_p4d ' # # Make one file with keyword lines at the top, and # enough plain text to be able to test modifications # far away from the keywords. # test_expect_success 'init depot' ' ( cd "$cli" && cat <<-\E...
schaary/studipET2012
t/t9810-git-p4-rcs.sh
Shell
gpl-2.0
9,522
#!/bin/sh set -x TARBALLS_DIR=$HOME/downloads export TARBALLS_DIR RESULT_TOP # Please read doc/crosstool-howto.html # Here's a demo for the impatient, showing all the configurations I've tested. # Total disk requirement: about 1.5GB per toolchain. # It can build various toolchains for twelve processors: # alpha, arm,...
esoule/crosstool
demo.sh
Shell
gpl-2.0
3,581
convert images/OCS-311.png -crop 1681x4994+0+0 +repage images/OCS-311-A.png convert images/OCS-311.png -crop 1681x4994+1681+0 +repage images/OCS-311-B.png #/OCS-311.png # # #
jonnymwalker/Staroslavjanskij-Slovar
scripts/middlesplit.OCS-311.sh
Shell
gpl-2.0
175