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 raw_version=`cat ../VERSION` semver=( ${raw_version//./ } ) major="${semver[0]}" minor="${semver[1]}" patch="${semver[2]}" echo "old version: $major.$minor.$patch" if [ $1 == "major" ]; then major=$((major + 1)) elif [ $1 == "minor" ]; then minor=$((minor + 1)) elif [ $1 == "patch" ]; then ...
tom-heimbrodt/oeplatform
versions/bumpversion.sh
Shell
agpl-3.0
1,040
#!/bin/sh # Script that synchronizes the shared library dependencies # # Version: 20201121 EXIT_SUCCESS=0; EXIT_FAILURE=1; GIT_URL_PREFIX="https://github.com/libyal"; SHARED_LIBS="libcerror libcnotify libuna libfdatetime libfguid libfusn"; USE_HEAD=""; if test "$1" = "--use-head"; then USE_HEAD="--use-head"; fi O...
libyal/libftxf
tests/syncsharedlibs.sh
Shell
lgpl-3.0
1,477
#!/bin/bash for i in g++ make qmake ; do echo "Testing command ${i} is valid ..." type "${i}" &>/dev/null done true
inn1983/docker-builder
dev-qt/libqt/4/test.sh
Shell
lgpl-3.0
121
#!/bin/bash # Push the app if ! cf app $CF_APP; then cf push $CF_APP -n $CF_APP else OLD_CF_APP=${CF_APP}-OLD-$(date +"%s") rollback() { set +e if cf app $OLD_CF_APP; then cf logs $CF_APP --recent cf delete $CF_APP -f cf rename $OLD_CF_APP $CF_APP fi exit 1 } set -e trap ro...
leeloo-acme-freight/acme-freight-webui
.bluemix/pipeline-DEPLOY.sh
Shell
apache-2.0
422
#!/bin/sh # # Starting installation # printf "\n\n********** STARTING TUPLEWARE INSTALLATION **********\n\n" cd ~ sudo apt-get update # # Dependencies # printf "\n\n********** INSTALLING BASE DEPENDENCIES **********\n\n" cd ~ sudo apt-get install -y autoconf sudo apt-get install -y automake sudo apt-get install -y bu...
twareproj/tware
scripts/install.sh
Shell
apache-2.0
4,906
#!/bin/bash set -euxo pipefail case $AGENT_OS in Darwin) ;; Linux) docker stop builder ;; *) exit 1 ;; esac [ -r build.log ] && tail -n 1000 build.log || true
trikset/trikRuntime
scripts/azure/after_script.sh
Shell
apache-2.0
177
#!/bin/sh #Included file
jansorg/BashSupport
testData/psi/fileInclude/fileReference/includedFile.bash
Shell
apache-2.0
25
export SCALA_HOME=/usr/lib/scala export PATH=${SCALA_HOME}/bin:${PATH}
adelmj/vagrant-mesos
resources/scala/scala.sh
Shell
apache-2.0
70
#!/bin/sh # This script outputs a graphical representation of # an automaton from its symbolic representation in jauto format DIRNAME=`dirname $0` export CLASSPATH= for i in ${DIRNAME}/../lib/*; do CLASSPATH=$i:$CLASSPATH done JAVA= if ! which java > /dev/null 2>&1;then echo "Cannot find path for java exec...
abailly/jautomata
src/main/resources/scripts/show.sh
Shell
apache-2.0
431
# ------------------ # gettext # ------------------ # Based on the works of (c) 2007, Ippei Ukai # Created for Hugin by Harry van der Wolf 2009 # download location ftp.gnu.org/gnu/gettext/ # prepare source ../scripts/functions.sh check_SetEnv # ------------------------------- # 20091206.0 sg Script tested and us...
furai/hugin-external-scripts
gettext.sh
Shell
bsd-3-clause
1,943
#! /bin/sh # Use this on the device after deploying with deploy_envsetup.sh. # Run it in the root of deployment (/opt/usr/dev by default). # Usage: . ./device_envsetup debug|release libdir="" if [ "$1" == "release" ]; then libdir=lib/release; elif [ "$1" == "debug" ]; then libdir=lib/debug; else >&2 echo "no valid co...
hgl888/chromium-efl
scripts/device_envsetup.sh
Shell
bsd-3-clause
735
set -x source ../configure.sh git clone git://repo.or.cz/ppcg.git cd ppcg ./get_submodules.sh ./autogen.sh ./configure --with-clang-prefix=${LLVM_PREFIX} --with-int=imath make -j
rbaghdadi/COLi
benchmarks/framework_benchmarking/software/get_ppcg.sh
Shell
mit
181
#!/bin/bash #################################################### # Script written by Arysh 29-Jul-2013 # arysh83@gmail.com #################################################### echo "" echo "################################################################" echo "What is your personal email address for notification ?" ...
bmurkoff/ASTPP
freeswitch/contribution/Fail2ban.sh
Shell
gpl-2.0
5,047
#!/bin/sh # Possibly resize root device (partition, filesystem), if underlying device was # enlarged. set -e # if underlying root device is read-only, don't do anything if [ "$(blockdev --getro /dev/xvda)" -eq "1" ]; then echo "xvda is read-only, not resizing" >&2 exit 0 fi sysfs_xvda="/sys/class/block/xvda...
marmarek/qubes-core-agent-linux
init/resize-rootfs-if-needed.sh
Shell
gpl-2.0
1,364
#! /bin/sh # Copyright (C) 2002-2014 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program ...
kuym/openocd
tools/automake-1.15/t/pr307.sh
Shell
gpl-2.0
2,651
#!/bin/sh # # Startup script for the VuFind Jetty Server under *nix systems # (it works under NT/cygwin too). # # Configuration files # # $JETTY_HOME/etc/jetty.xml # If found, used as this script's configuration file, but only if # /etc/jetty.conf was not present. See above. # # Configuration variables # # VUFIND_H...
clarkewd/VuFind
vufind.sh
Shell
gpl-2.0
13,690
# load shared shell configuration source ~/.shprofile # check if this is a login and/or interactive shell [ "$0" = "-bash" ] && export LOGIN_BASH=1 echo "$-" | grep -q "i" && export INTERACTIVE_BASH=1 # run bashrc if this is a login, interactive shell if [ -n "$LOGIN_BASH" ] && [ -n "$INTERACTIVE_BASH" ] then sourc...
ChristopherA/dotfiles
bash_profile.sh
Shell
gpl-3.0
1,662
#!/bin/sh # Copyright 2015 NEC Corporation. # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # #...
machaharu/odenos
apps/example/run-example.sh
Shell
apache-2.0
10,164
#!/usr/bin/env bash # Copyright 2017-Present Pivotal Software, 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 # # U...
pvsone/pcf-pipelines
upgrade-ops-manager/gcp/tasks/create-cliaas-config/task.sh
Shell
apache-2.0
993
# bash shell script to set the Chapel environment variables # shallow test to see if we are in the correct directory # Just probe to see if we have a few essential subdirectories -- # indicating that we are probably in a Chapel root directory. if [ -d "util" ] && [ -d "compiler" ] && [ -d "runtime" ] && [ -d "modules...
hildeth/chapel
util/setchplenv.bash
Shell
apache-2.0
1,308
#!/bin/bash -e defaultplanUUID=4c10ff42-be89-420a-9bab-27a9bef9aed8 instanceUUID=${instanceUUID-a71f7ab8-e448-4826-8f05-32a185222dd7} bindingUUID=${bindingUUID-dde0226b-ff95-4f9d-af51-2e9ec06b1f02}
shawn-hurley/ansible-service-broker
test/shared.sh
Shell
apache-2.0
200
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" docker stop backrest docker rm backrest docker volume rm br-pgdata br-backups
CrunchyData/crunchy-containers
examples/docker/backrest/backup/cleanup.sh
Shell
apache-2.0
148
#!/bin/bash user_name="developer" if [ -n "${USER_NAME}" ]; then user_name=${USER_NAME} fi su - ${user_name}
avlasov-mos-de/mos-tempest-runner
rejoin.sh
Shell
apache-2.0
115
g++ -c doubly_linked_list.cpp g++ main.cpp doubly_linked_list.o -o main
ymotongpoo/restroom
0x7d8/algorithm/doubly_linked_list/make.sh
Shell
apache-2.0
72
./gradlew clean test uploadArchives
albertofaci/JGiven
scripts/release.sh
Shell
apache-2.0
36
#!/usr/bin/env 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 applica...
monopole/kubernetes
cluster/gce/gci/health-monitor.sh
Shell
apache-2.0
4,144
#!/bin/sh # Copyright 2016 The Apache Software Foundation # # 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 appl...
lasanthaS/product-ds
modules/samples/scripts/wso2ds-samples.sh
Shell
apache-2.0
3,153
#!/bin/bash # # Copyright IBM Corp. All Rights Reserved. # # SPDX-License-Identifier: Apache-2.0 # export VERSION=${1:-1.0.0} export ARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m | sed 's/x86_64/amd64/g')" | awk '{print tolower($0)}') #Set MARCH variable i.e ppc64le,s390x...
hesusruiz/fabricaudit
scripts/fabric-preload.sh
Shell
apache-2.0
1,153
# # Wrap a perl script for execution in the development runtime environment. # Ultimately should be able to emit warnings about deprecated script # names to stderr # if [ $# -ne 2 ] ; then echo "Usage: $0 source dest" 1>&2 exit 1 fi src=$1 dst=$2 cat > $dst <<EOF1 #!/bin/sh export KB_TOP=$KB_TOP export KB...
kbase/assembly
tools/wrap_perl.sh
Shell
mit
610
#!/bin/bash # This script is meant to be called by the "install" step defined in # .travis.yml. See http://docs.travis-ci.com/ for more details. # The behavior of the script is controlled by environment variables defined # in the .travis.yml in the top level folder of the project. set -e if [[ "$DISTRIB" == "conda" ...
scot-dev/scot
distributions/ci/install.sh
Shell
mit
1,388
#!/bin/bash # If it has Build.PL use that, otherwise use Makefile.PL cpanm --installdeps . cpanm File::Slurp if [ -f Build.PL ]; then perl Build.PL perl ./Build perl ./Build test # Make sure this goes in site perl ./Build install --installdirs site elif [ -f Makefile.PL ]; then # Make sure thi...
martin-mann/bioconda-recipes
recipes/perl-biox-workflow-command/2.2.3/build.sh
Shell
mit
693
#!/bin/sh # Run the C preprocessor on an OpenCL kernel to generate a C string array # suitable for clCreateProgramWithSource. This allows us to create # standalone OpenCL programs that do not depend on paths to the source # tree (the programs will still run the OpenCL run-time compiler to # compile the kernel, but the...
drahoslavzan/MKP-PSO
libs/Random123/examples/gencl.sh
Shell
gpl-3.0
1,773
# p2p-adb # https://github.com/kosborn/p2p-adb/ # @theKos # kyle@kyleosborn.com if [ $ISROOT -le 2 ]; then DATAPATH='/data/data/com.google.*/{shared_prefs,databases}/' echo 'We are root...' getData "$DATAPATH" else echo "$ISROOT" fi
hafo821/p2p-adb
getGoogleData.sh
Shell
gpl-3.0
243
#!/usr/bin/env node --nouse-idle-notification --expose-gc --always_compact --max_old_space_size=1024 var exporter = require( '../exporter.js' ); process.on('uncaughtException', exporter.handleUncaughtExceptions); process.on('exit', exporter.printSummary); exporter.main.run(function(err) { if (err) { if (i...
vtrifonov/Elasticsearch-Exporter
tools/ex.sh
Shell
apache-2.0
520
#!/bin/bash FN="hthgu133a.db_3.2.3.tar.gz" URLS=( "https://bioconductor.org/packages/3.8/data/annotation/src/contrib/hthgu133a.db_3.2.3.tar.gz" "https://bioarchive.galaxyproject.org/hthgu133a.db_3.2.3.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-hthgu133a.db/bioconductor-hthgu133a.db_3.2.3_src_a...
ivirshup/bioconda-recipes
recipes/bioconductor-hthgu133a.db/post-link.sh
Shell
mit
1,314
# # Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Softwar...
openjdk-mirror/jdk7u-jdk
test/sun/tools/jstat/jstatGcPermCapacityOutput1.sh
Shell
gpl-2.0
1,380
#!/bin/bash # Quit on error set -e # Get action and Mahara dir ACTION=$1 SCRIPTPATH=`readlink -f "${BASH_SOURCE[0]}"` MAHARAROOT=`dirname $( dirname $( dirname "$SCRIPTPATH" ))` SERVER=0 # Wait and check if the selenium server is running in maximum 15 seconds function is_selenium_running { for i in `seq 1 15`; d...
rboyatt/mahara
test/behat/mahara_behat.sh
Shell
gpl-3.0
4,386
#!/bin/bash ./makerd.sh function perf { ./clear.sh ./perf.sh $CONFIG $WHAT read } export CONFIG=ijr export WHAT=minimal perf perf perf perf perf perf
vanSabben/java-iso-tools
iso9660-writer/run.sh
Shell
lgpl-2.1
161
#!/bin/bash # this file is mostly meant to be used by the author himself. ragel -G2 src/chunked_parser.rl if [ $? != 0 ]; then echo 'Failed to generate the chunked parser.' 1>&2 exit 1; fi root=`pwd` version=$1 force=$2 ngx-build $force $version \ --with-cc-opt="-funsigned-char" \ --add-...
health-and-care-developer-network/health-and-care-developer-network
source/build/package-templates/hdn-nginx/modules/agentzh-chunkin-nginx-module-v0.23rc2/util/build.sh
Shell
apache-2.0
632
test_description='relink does not overwrite file' . '../test-lib.bash' test_expect_success 'setup' ' echo "apple" > ${DOTFILES}/f && echo "grape" > ~/.f ' test_expect_failure 'run' ' run_dotbot <<EOF - link: ~/.f: path: f relink: true EOF ' test_expect_success 'test' ' grep "grape" ~/.f '
StijnRuts/dotbot
test/tests/link-relink-leaves-file.bash
Shell
mit
309
#!/bin/sh : ${srcdir=.} . "$srcdir/init.sh"; path_prepend_ . # Check that an atexit handler is called when main() returns normally. echo > t-atexit.tmp test-atexit if test -f t-atexit.tmp; then Exit 1 fi # Check that an atexit handler is called when the program is left # through exit(0). echo > t-atexit.tmp test-at...
ystk/debian-coreutils
gnulib-tests/test-atexit.sh
Shell
gpl-3.0
539
#!/usr/bin/env bash # This file is part of RetroPie. # # (c) Copyright 2012-2015 Florian Müller (contact@petrockblock.com) # # See the LICENSE.md file at the top-level directory of this distribution and # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md # rp_module_id="uae4arm" rp_mo...
joshheil/RetroPie-Setup
scriptmodules/emulators/uae4arm.sh
Shell
gpl-3.0
1,523
#!/bin/sh # ensure that "rm -rf DIR-with-many-entries" is not O(N^2) # Copyright (C) 2008-2016 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 3 o...
sunny256/coreutils
tests/rm/ext3-perf.sh
Shell
gpl-3.0
2,864
# Check syntax in php files. find . -type "f" -iname "*.php" -exec php -l {} \; # Run tests. cd tests && phpunit --configuration phpunit.xml if [[ "${?}" -ne 0 ]]; then exit 1 fi # Enforce line ending consistency in php files. crlf_file=$(find . -type "f" -iname "*.php" -exec grep --files-with-matches $'\r' {} \;...
SahilDude89ss/php-curl-class
tests/script.sh
Shell
unlicense
2,266
#!/bin/bash # Ensure we don't accidentally (try to) use gems for the wrong platform. rm -f $TROOT/Gemfile.lock bundle install --jobs=4 --gemfile=$TROOT/Gemfile --path=vendor/bundle
knewmanTE/FrameworkBenchmarks
frameworks/Ruby/sinatra/config/bundle_install.sh
Shell
bsd-3-clause
183
#!/bin/bash pushd . >/dev/null 2>/dev/null cd `dirname $0` xsltproc ../../examples/extract-IDL-permissions.xsl ../../examples/fm_IDL.xml|perl -e 'while(<>){s/^\s+(.*)\s+$/$1/o;print("$1\n")unless(/^\s*$/ || /\s+/)}'|sort -u > /tmp/oils_permacrud_perm_list grep -A1 perm_list ../sql/Pg/950.data.seed-values.sql|grep "'"|...
kbeswick/evergreen
Open-ILS/src/extras/reconcile-perms.sh
Shell
gpl-2.0
634
#!/bin/sh PATH=../../XNN:$PATH XNN
ak110/XNN
Demo/90_svmguide1/Run.sh
Shell
mit
37
# # Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foun...
vicmarcal/JAVA_UNIT
test/sun/security/tools/keytool/CloneKeyAskPassword.sh
Shell
gpl-3.0
2,222
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. GCC_BASE=/mnt/gvfs/third-party2/gcc/7331085db891a2ef4a88a48a751d834e8d68f4cb/7.x/centos7-native/b2ef2b6 CLANG_BASE=/mnt/gvfs/third-party2/llvm-fb/963d9aeda70cc4779885b1277484fe7544a04e3e/9.0.0/platform007/9e92d53/ LIBGCC_BASE=/mnt/gvfs/third-party2...
TeamSPoon/logicmoo_workspace
packs_lib/rocksdb/rocksdb/build_tools/dependencies_platform007.sh
Shell
mit
2,144
#!/bin/bash # Copyright 2015 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...
nagarjung/kubernetes
cluster/vagrant/provision-network-master.sh
Shell
apache-2.0
2,393
tr a-z A-Z <<EOF EOF
fdelacruz/emacs-starter-kit
vendor/~nxhtml/nxhtml/main/tests/in/heredoc.sh
Shell
gpl-3.0
27
#!/bin/sh test_description='CRLF conversion' . ./test-lib.sh has_cr() { tr '\015' Q <"$1" | grep Q >/dev/null } # add or remove CRs to disk file in-place # usage: munge_cr <append|remove> <file> munge_cr () { "${1}_cr" <"$2" >tmp && mv tmp "$2" } test_expect_success setup ' git config core.autocrlf false && ...
seveas/git
t/t0020-crlf.sh
Shell
gpl-2.0
9,813
# # postinstall.sh # date > /etc/vagrant_box_build_time # remove zypper package locks rm -f /etc/zypp/locks # install vagrant key mkdir -pm 700 /home/vagrant/.ssh curl -Lo /home/vagrant/.ssh/authorized_keys 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' chmod 0600 /home/vagrant/.ssh/authorized_ke...
jedi4ever/veewee
templates/openSUSE-13.1/postinstall.sh
Shell
mit
1,088
#!/bin/bash BIN_DIR=/usr/bin LOG_DIR=/var/log/telegraf SCRIPT_DIR=/usr/lib/telegraf/scripts LOGROTATE_DIR=/etc/logrotate.d function install_init { cp -f $SCRIPT_DIR/init.sh /etc/init.d/telegraf chmod +x /etc/init.d/telegraf } function install_systemd { cp -f $SCRIPT_DIR/telegraf.service /lib/systemd/syst...
AdvancedClimateSystems/telegraf
scripts/post-install.sh
Shell
mit
2,025
#!/bin/bash # This script builds all images locally except the base and release images, # which are handled by hack/build-base-images.sh. # NOTE: you only need to run this script if your code changes are part of # any images OpenShift runs internally such as origin-sti-builder, origin-docker-builder, # origin-deploy...
kedgeproject/kedge
vendor/github.com/openshift/origin/cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog/hack/build-images.sh
Shell
apache-2.0
5,416
#!/bin/sh # get newest translations from Crowdin cd ../flask_admin/translations/ curl http://api.crowdin.net/api/project/flask-admin/export?key=`cat ~/.crowdin.flaskadmin.key` wget http://api.crowdin.net/api/project/flask-admin/download/all.zip?key=`cat ~/.crowdin.flaskadmin.key` -O all.zip # unzip and move .po files...
rochacbruno/flask-admin
babel/crowdin_pull.sh
Shell
bsd-3-clause
970
#!/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
test/images/pets/redis/on-start.sh
Shell
apache-2.0
1,842
#!/bin/bash # SPDX-License-Identifier: GPL-2.0 # Test for DSCP prioritization in the router. # # With ip_forward_update_priority disabled, the packets are expected to keep # their DSCP (which in this test uses only values 0..7) intact as they are # forwarded by the switch. That is verified at $h2. ICMP responses are f...
gazoo74/linux
tools/testing/selftests/drivers/net/mlxsw/qos_dscp_router.sh
Shell
gpl-2.0
5,599
#!/bin/bash subColumn 2> /dev/null || [[ "$?" == 255 ]]
dmaticzka/bioconda-recipes
recipes/ucsc-subcolumn/run_test.sh
Shell
mit
56
rm -f /tmp/mysem >/dev/null 2>&1 rm -f /tmp/sem_* >/dev/null 2>&1 rm -f a.out for sem_id in `ipcs -s | awk '{print $2}'` ; do ipcrm sem $sem_id > /dev/null 2>&1 done
liaoqingwei/ltp
testcases/open_posix_testsuite/conformance/interfaces/sem_wait/cln.sh
Shell
gpl-2.0
173
#!/bin/sh cd /Users/pangzhanbo/work
pangzhanbo/bashell
install_20160229/shell/cdwork.sh
Shell
mit
36
#!/bin/sh ##PJM -L rscgrp=regular-flat #PJM -L rscgrp=debug-flat #PJM -L elapse=00:05:00 #PJM -g xg18i004 #PJM -N alignParticleRecord #PJM -j #PJM -L node=48 #PJM --mpi proc=3072 ##PJM -L node=1 ##PJM --mpi proc=64 #PJM --omp thread=1 idir=../../../ddet2 odir=hoge id1st=0 idint=32 #### if ! test -e $idir/id.list then...
atrtnkw/sph
readParallel/alignParticleRecord/ofp.sh
Shell
mit
708
#!/bin/sh zig4 -l05_abf_bio_car/05_abf_bio_car_out/05_abf_bio_car.rank_matched.compressed.tif 11_prl_biocar_bio/11_prl_biocar_bio.dat 11_prl_biocar_bio/11_prl_biocar_bio.spp 11_prl_biocar_bio/11_prl_biocar_bio_out/11_prl_biocar_bio.txt 0 0 1 0 --grid-output-formats=compressed-tif --image-output-formats=png
VUEG/bdes_to
zsetup/bdes_to/11_prl_biocar_bio.sh
Shell
mit
308
#!/bin/bash ## ## trimvideo.sh - Makes a sequence of shrinked jpegs from a video. ## ## Usage: ## $ trimvideo.sh input.mp4 output/ [trimsize] [videosize] ## if [[ $# -lt 2 ]]; then echo "Usage: $0 input.mp4 output/ [trimsize] [videosize]"; exit 1; fi input="$1" output="$2" trimsize="${3:-320x240}" videosize=...
euske/kiirogaa
tools/trimvideo.sh
Shell
mit
796
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2011:0390 # # Security announcement date: 2011-03-28 18:36:34 UTC # Script generation date: 2017-01-01 21:13:03 UTC # # Operating System: Red Hat 6 # Architecture: i386 # # Vulnerable packages fix on version: # - rsync.i686:3.0.6-5.el6_0.1 # - rsync-de...
Cyberwatch/cbw-security-fixes
Red_Hat_6/i386/2011/RHSA-2011:0390.sh
Shell
mit
726
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2834-1 # # Security announcement date: 2015-12-14 00:00:00 UTC # Script generation date: 2017-01-01 21:05:01 UTC # # Operating System: Ubuntu 15.10 # Architecture: x86_64 # # Vulnerable packages fix on version: # - libxml2:2.9.2+zdfsg1-4ubuntu0.2 # # Last...
Cyberwatch/cbw-security-fixes
Ubuntu_15.10/x86_64/2015/USN-2834-1.sh
Shell
mit
776
#!/bin/bash cd acorn cat "src/acorn.php" > "acorn.php" cat "src/event.php" >> "acorn.php" cat "src/model.php" >> "acorn.php" cat "src/database.php" >> "acorn.php" cat "src/streams.php" >> "acorn.php"
cloakedcode/Acorn
acorn/compile.sh
Shell
mit
201
./sporthlive -o raw -d 0 -r 96000 test.sp |\ #sporthlive -o raw -d 0 -r 96000 out.sp |\ jack_wrapper 96000 1 #sporthlive -o test.wav -d 10s -r 96000 test.sp
OpenDAWN/Sporth
util/sporthlive/run.sh
Shell
mit
158
#!/bin/bash #variables buildNumber = $1; currentBranch = $(git branch | grep \* | cut -d ' ' -f2) echo 'Current Branch = '$currentBranch; echo 'Build Number = ' $buildNumber; read -p "Are you sure? " -n 1 -r echo # (optional) move to a new line if [[ $REPLY =~ ^[Yy]$ ]] then git tag -a -m 'State of $currentBranch b...
mattsearles/dotfiles
init/tag-build.sh
Shell
mit
487
scd() { d=$(srcsearch "$@") st=$? if [[ $st -ne 0 ]]; then return $st fi printf "%s\n" "$d" cd "$d" } ccd() { d=$(env SRCSEARCHROOT="$PWD" srcsearch "$@") st=$? if [[ $st -ne 0 ]]; then return $st fi printf "%s\n" "$d" cd "$d" }
uluyol/tools
srcsearch/scd.bash
Shell
mit
246
#!/usr/bin/env bash if [[ $OS == 'linux' || $OS == 'wsl' ]]; then sudo apt-get install go elif [[ $OS == 'macos' ]]; then brew install go else echo 'Unknonw OS skipping go install' fi GO111MODULE=on go get golang.org/x/tools/gopls@latest
zzh8829/dotfiles
go.sh
Shell
mit
252
cd /opt/dev/backend/ && node index.js & http-server /opt/dev/frontend/dist/ -p 4200 &
JuroUhlar/kypo-vagrant
vagrant-scripts/runall.sh
Shell
mit
85
#!/usr/bin/env bash readonly YELLOW="\033[0;33m" readonly RED="\033[0;31m" readonly GREEN="\033[0;32m" readonly NC="\033[0;0m" readonly BASH_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" function error { MSG="$1" echo -e "${RED}ERROR: ${MSG}${NC}\nExitting" exit 1 } PORT=5432 for ((i=1;i<=$#;i++...
ggarri/mysql2psql
bin/migrate.sh
Shell
mit
2,491
# hooks.bash # # Default hooks used by ellipsis when package hooks are undefined. load fs load git load os load path load pkg load utils # List of hooks available to package authors. PKG_HOOKS=( add install installed link links pull push status uninstall unlink ) # Symlink fil...
zeekay/ellipsis
src/hooks.bash
Shell
mit
2,117
# ------------------------------------------------------------------------------ # Description # ----------- # # Completion script for git-extras (https://github.com/tj/git-extras). # # This depends on and reuses some of the internals of the _git completion # function that ships with zsh itself. It will not work wit...
tj/git-extras
etc/git-extras-completion.zsh
Shell
mit
13,236
groupadd -r admin usermod -a -G admin docker cp /etc/sudoers /etc/sudoers.orig sed -i -e '/Defaults\s\+env_reset/a Defaults\texempt_group=admin' /etc/sudoers sed -i -e 's/%admin ALL=(ALL) ALL/%admin ALL=NOPASSWD:ALL/g' /etc/sudoers
VentureCranial/veewee-definitions
definitions/docker-raring/sudo.sh
Shell
mit
232
#!/bin/bash WEBVERSION=$(curl -sIkL "https://www.dropbox.com/download?plat=lnx.x86_64" |grep Location |sed 's/.*dropbox-lnx.x86_64-//g' | sed 's/.tar.gz.*//g') LOCALVERSION=$(< /root/.dropbox-dist/VERSION) # Verison comparison source : https://stackoverflow.com/questions/4023830/how-to-compare-two-strings-in-dot-sepa...
acaranta/docker-dropbox
getdropbox.sh
Shell
mit
1,601
#!/bin/bash # this script get's the Mac's number of cpu echo $(sysctl hw.physicalcpu_max | cut -d ":" -f2 | cut -d " " -f2)
GitableRoy/VirtualCamp
bin/getmaccpu.sh
Shell
mit
126
#!/bin/sh TOPDIR=${TOPDIR:-$(git rev-parse --show-toplevel)} SRCDIR=${SRCDIR:-$TOPDIR/src} MANDIR=${MANDIR:-$TOPDIR/doc/man} BITCOIND=${BITCOIND:-$SRCDIR/ultimateonlinecashd} BITCOINCLI=${BITCOINCLI:-$SRCDIR/ultimateonlinecash-cli} BITCOINTX=${BITCOINTX:-$SRCDIR/ultimateonlinecash-tx} BITCOINQT=${BITCOINQT:-$SRCDIR/q...
cryptoprojects/ultimateonlinecash
contrib/devtools/gen-manpages.sh
Shell
mit
1,116
#!/bin/sh release_ctl eval --mfa "Animu.ReleaseTasks.migrate/1" --argv -- "$@"
elarkham/animu
rel/commands/repo_migrate.sh
Shell
mit
80
function _complete_hostnames() { hosts=$(cat /etc/hosts | sed -e s/#.*//g | expand | tr -s [[:space:]] | sed -e /^$/d) if [ -r ~/.hosts ] ; then hosts="$hosts $(cat ~/.hosts | sed -e s/#.*//g | expand | tr -s [[:space:]] | sed -e /^$/d)" fi hosts_files='~/.ssh/known_hosts' if [ -r ~/.ssh/config ] ;...
slbmeh/dotfiles
modules/bash/completion.d/hosts.bash
Shell
mit
1,010
#!/bin/bash set -eux # Store build time date > /etc/vagrant_box_build_time # Set up sudo echo 'vagrant ALL=NOPASSWD:ALL' > /etc/sudoers.d/vagrant # Install vagrant key mkdir -pm 700 /home/vagrant/.ssh wget --no-check-certificate https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub -O /home/vagrant/.ssh/...
rbauduin/mptcp-box-builder
packer/scripts/vagrant.sh
Shell
mit
488
#!/usr/bin/env bash docker run -ti rs/ubuntu:14.04 /bin/bash
RipcordSoftware/jenkins-docker
ubuntu/14.04/run.sh
Shell
mit
62
#!/bin/bash function log() { message=$@ echo "$message" echo "$message" >> /var/log/sapconfigcreate } function addtofstab() { log "addtofstab" partPath=$1 mount=$2 log " not adding fstab entry" log " manual mount with 'mount $partPath $mount'" $(mount $partPath $mount) log " addtofstab done" } ...
MSSedusch/azure-quickstart-templates
sap-lama-ascs/scripts/diskConfig.sh
Shell
mit
6,231
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DLA-521-1 # # Security announcement date: 2016-06-19 00:00:00 UTC # Script generation date: 2017-01-01 21:09:12 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: armv7l # # Vulnerable packages fix on version: # - firefox-esr:45.2.0esr-1~deb7u1 # # L...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/armv7l/2016/DLA-521-1.sh
Shell
mit
737
javac com/veggie/src/java/*/*.java com/veggie/src/java/*/*/*.java com/veggie/src/java/*/*/*/*.java
ejw0013/vegemite-smoothie
build.sh
Shell
mit
99
#!/usr/bin/env bash # more bash-friendly output for jq JQ="jq --raw-output --exit-status" configure_aws_cli(){ aws --version aws configure set default.region $AWS_DEFAULT_REGION aws configure set default.output json } push_ecr_image(){ # see https://github.com/aws/aws-cli/issues/1926 eval $(aws ecr get-lo...
iq3addLi/swift-ecs-ecr
deploy.sh
Shell
mit
2,155
#!/usr/bin/env bash # Copyright (c) 2014 The Mrcoin Core developers # Distributed under the MIT/X11 software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # Test proper accounting with malleable transactions if [ $# -lt 1 ]; then echo "Usage: $0 path_to_bi...
CoinWarden/Mrcoin
qa/rpc-tests/txnmall.sh
Shell
mit
3,755
#!/bin/sh ([ -d "./.le" ] && grep "^ignore" ./.le/.config | sed "s,ignore ,," > /tmp/le-ignor) || { echo "nelze nalezt adresar referencni kopie" >&2; exit 1; } projdir=`grep "^projdir" ./.le/.config | sed "s,projdir ,,"` if [ $# = 0 ]; then files=`find ./ -maxdepth 1 -type f -iname "[^.]*" | sed "s,.*/,,"`"\n"`find "...
mikeek/FIT
IOS/proj_1/le-diff.sh
Shell
mit
1,043
#!/bin/bash cp .hgrc ~/
txthinking/dotfiles
hg/use.sh
Shell
mit
25
#!/bin/bash exec /Applications/XAMPP/bin/php -q console.php $*
tubackkhoa/99sale
nn.sh
Shell
mit
63
#!/bin/bash # Must be root to use this tool if [ $EUID -ne 0 ];then if dpkg-query -s sudo &> /dev/null; then export SUDO="sudo" else echo "::: Please install sudo or run this as root." exit 1 fi fi scriptdir="/opt/pivpn" vpn="wireguard" makeConf(){ shift $SUDO ${scriptdir}/${vpn}/ma...
pivpn/pivpn
scripts/wireguard/pivpn.sh
Shell
mit
3,109
#!/bin/bash apt-get install pip pip install pyserial pip install twisted pip install autobahn pip install service_identity pip install urlparse2 pip install websocket-client pip install pyinstaller pip install argon2_cffi #Fix for TLSVersion.TLSv1_1: SSL.OP_NO_TLSv1_1 apt-get remove python-openssl pip install pyopens...
madnerdorg/libreconnect
scripts/install.sh
Shell
mit
323
#!/bin/csh # Usage ./cape.sh <model> <time1,time2,...> <inFile> <MODEL path> echo "checking for params..." if( $1 == "" || $2 == "" || $3 == "" || $4 == "") then echo "All 3 paremeters must be defined!" echo "Usage ./cape.sh <model> <time1,time2,...> <runTime> <MODEL path>" exit( 1 ) endif set mod...
cacraig/wxDataGetters
wxdatagetters/scripts/gempak/hres/cape.sh
Shell
mit
3,449
# key repetition delay defaults write NSGlobalDomain KeyRepeat -int 0.02 defaults write NSGlobalDomain InitialKeyRepeat -int 12
dhulihan/dotfiles
darwin/install.sh
Shell
mit
129
#!/usr/bin/env bash ################################################################################ # Name : OTRS5 Installer from RPM Package or Source Code. # Create date : 2014/02/21 # Update date : 2016/07/21 # Auther : Toshihiro Takehara aka nouphet #####################################################...
nouphet/otrs-installer
otrs5-on-centos7-installer.sh
Shell
mit
5,365
#!/bin/sh set -e mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" XCASSET_FILES=() realpath() { DIRECTORY=$(cd "${1%/*}" && pwd) FILENAME="${1##*/}" echo "$DIRECTORY/$FILENAME" } install_resour...
ArslanBilal/Instagram-Client
DemoApp/Pods/Target Support Files/Pods-DemoApp/Pods-DemoApp-resources.sh
Shell
mit
4,655
#!/bin/sh # Update the system echo "Updating ArchLinux" pacman --noconfirm -Syu pacman --noconfirm -S base-devel git # Switch kernels - The am33x kernel is newer (overlayfs support) but no video echo "Switching to linux-am33x kernel" pacman --noconfirm -S linux-am33x # Install liveroot by bluerider (enables a root o...
FabMo/FabMo-OS
beaglebone-black/bootstrap.sh
Shell
mit
1,944
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2010:0124 # # Security announcement date: 2010-03-01 19:25:51 UTC # Script generation date: 2017-01-01 21:12:43 UTC # # Operating System: Red Hat 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - systemtap-debuginfo.i386:0.9.7-5.el5_4....
Cyberwatch/cbw-security-fixes
Red_Hat_5/x86_64/2010/RHSA-2010:0124.sh
Shell
mit
1,905
#!/bin/sh # $1: Btrfs filesystem root # $2: Root directory for snapshots do_backup_in() { local fpref=$1 local btrfsdir=$fpref/$2 local prefix=$3 local snapshot= local date_opt= case $prefix in "recent") date_opt='+%M';; "hourly") date_opt='+%H';; "daily") date_opt='+%d';; "weekly") d...
simbuerg/utils
btrfs/backup.sh
Shell
mit
759