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
# Copied from ../../DUPLICITY/default/600_create_python_symlink.sh for YUM # make sure we have a symbolic link to the python binary ( cd $ROOTFS_DIR/bin for py in $(find . -name "python*" ) do this_py=${py#./*} # should be without ./ case $this_py in python) break ;; ...
phracek/rear
usr/share/rear/build/YUM/default/600_create_python_symlink.sh
Shell
gpl-3.0
400
#!/bin/sh function run_pycbc { DATA=$1 SCHEME=$2 TASKSET=$3 PROFILE=$4 CUSTOM_BANK=$5 case ${DATA} in clean) GPS_START_TIME=970910372 ;; loud) GPS_START_TIME=962784401 ;; grumbly) GPS_START_TIME=969658210 ;; *) echo "Data must be one of clean, loud, or grumbly" exit 0 esac DEVICE="" if ...
josh-willis/pycbc
tools/benchmarking/profiling_utils.sh
Shell
gpl-3.0
7,865
#!/bin/bash echo " ========================================================================================== =================================== ATENÇÃO - CUIDADO ==================================== ========================================================================================== ESTA OPERAÇÃO APAGARAÁ O BAN...
nucleo-digital/mapa-de-hackers
scripts/restore-dump.sh
Shell
agpl-3.0
556
#!/bin/bash export YARN_LOG_DIR=${YARN_LOG_DIR} export HADOOP_PID_DIR=${HDFS_PID_DIR} export YARN_OPTS='' export HADOOP_MAPRED_LOG_DIR=${YARN_LOG_DIR} # YARN_OPTS="$YARN_OPTS -Dhadoop.log.dir=$YARN_LOG_DIR" # YARN_OPTS="$YARN_OPTS -Dyarn.log.dir=$YARN_LOG_DIR" # YARN_OPTS="$YARN_OPTS -Dhadoop.log.file=$YARN_LOGFILE"...
elzaggo/pydoop
dev_tools/docker/clusters/apache_2.6.0/images/resourcemanager/scripts/start_resourcemanager.sh
Shell
apache-2.0
1,150
#!/bin/bash # Add scripts mkdir -p ${PREFIX}/bin chmod 755 bin/* cp bin/* ${PREFIX}/bin chmod 755 scripts/* cp scripts/* ${PREFIX}/bin chmod 755 init_db.sh cp init_db.sh ${PREFIX}/bin # Setup shared directory SHARE_DIR="${PREFIX}/share/${PKG_NAME}-${PKG_VERSION}" mkdir -p ${SHARE_DIR}/data cp -r ./test ${SHARE_DIR}/ ...
cokelaer/bioconda-recipes
recipes/sra-human-scrubber/build.sh
Shell
mit
987
#!/bin/bash sudo mv $TRAVIS_BUILD_DIR/BUILD/Install/share/SuperCollider/SCClassLibrary/Common/GUI $TRAVIS_BUILD_DIR/BUILD/Install/share/SuperCollider/SCClassLibrary/scide_scqt/GUI sudo mv $TRAVIS_BUILD_DIR/BUILD/Install/share/SuperCollider/SCClassLibrary/JITLib/GUI $TRAVIS_BUILD_DIR/BUILD/Install/share/SuperCollider/S...
davidgranstrom/supercollider
.travis/fix-non-Qt.sh
Shell
gpl-3.0
355
#!/bin/bash fw_depends rust rm -rf target/ cargo build --release ./target/release/nickel &
markkolich/FrameworkBenchmarks
frameworks/Rust/nickel/setup.sh
Shell
bsd-3-clause
93
#!/bin/sh >/dev/watchdog export PATH=/sbin:/bin:/usr/sbin:/usr/bin strstr() { [ "${1##*"$2"*}" != "$1" ]; } CMDLINE=$(while read line || [ -n "$line" ]; do echo $line;done < /proc/cmdline) plymouth --quit exec >/dev/console 2>&1 echo "dracut-root-block-success" >/dev/sdb export TERM=linux export PS1='initramfs-test:\w\...
xnox/dracut
test/TEST-01-BASIC/test-init.sh
Shell
gpl-2.0
638
#!/bin/bash # # Copyright (c) 2010, 2013, 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...
RedlineResearch/OpenJDK8
nashorn/bin/rm-non-tracked.sh
Shell
gpl-2.0
1,095
#!/bin/bash test_info() { cat <<EOF Verify that an interface is deleted when all IPs on it are deleted. EOF } . "${TEST_SCRIPTS_DIR}/integration.bash" ctdb_test_init "$@" set -e cluster_is_healthy # Reset configuration ctdb_restart_when_done echo "Getting public IPs information..." try_command_on_node -v any...
SVoxel/R7800
git_home/samba.git/ctdb/tests/simple/20_delip_iface_gc.sh
Shell
gpl-2.0
1,726
#!/bin/sh # SPDX-License-Identifier: GPL-2.0 FILES=' arch/x86/include/asm/inat_types.h arch/x86/include/asm/orc_types.h arch/x86/include/asm/emulate_prefix.h arch/x86/lib/x86-opcode-map.txt arch/x86/tools/gen-insn-attr-x86.awk ' check_2 () { file1=$1 file2=$2 shift shift cmd="diff $* $file1 $file2 > /dev/...
Pingmin/linux
tools/objtool/sync-check.sh
Shell
gpl-2.0
1,140
CTAGS=$1 $1 --quiet --options=NONE --list-file-kind=Ruby \ && $1 --quiet --options=NONE --list-file-kind=C
SolaWing/ctags-1
Tmain/list-file-kind.d/run.sh
Shell
gpl-2.0
113
#!/bin/sh ## ## @test ## @bug 6878713 ## @summary Verifier heap corruption, relating to backward jsrs ## @run shell/timeout=120 Test6878713.sh ## ## some tests require path to find test source dir if [ "${TESTSRC}" = "" ] then TESTSRC=${PWD} echo "TESTSRC not set. Using "${TESTSRC}" as default" fi echo "TESTSRC=$...
BobZhao/HotSpotResearch
test/runtime/6878713/Test6878713.sh
Shell
gpl-2.0
694
#!/bin/sh if [ $# -gt 0 ] ; then files="$*" else files=$(find corelib include -name \*.c -o -name \*.h) fi # Run in parallel echo $files | xargs -P 8 -n 8 $PYTHON thirdparty/cpplint.py \ --root=include --filter=-build/include_order --verbose=2
sakishum/libphenom
thirdparty/clint.sh
Shell
apache-2.0
252
#!/bin/bash REV='49607addb31879e2aa2b701317773674662315aa' INSTALLED_FILE="${IROOT}/lwan-${REV}.installed" RETCODE=$(fw_exists ${INSTALLED_FILE}) [ ! "$RETCODE" == 0 ] || { return 0; } [ ! -e ${INSTALLED_FILE} -a -d ${IROOT}/lwan ] && rm -rf ${IROOT}/lwan # Lwan is only built during installation as a dependency san...
hperadin/FrameworkBenchmarks
frameworks/C/lwan/install.sh
Shell
bsd-3-clause
503
#!/bin/ash # # # Handler for config application of all types. # # Types supported: # uci-* UCI config files # file-* Undefined format for whatever # edited-files-* raw edited files # # . /usr/lib/webif/functions.sh . /lib/config/uci.sh config_cb() { [ "$1" = "system" ] && system_cfg="$2" [ "$1" = "server" ] && ...
gwlim/openwrt_mr3420_8M
feeds/xwrt/webif/files/usr/lib/webif/apply.sh
Shell
gpl-2.0
10,075
#!/bin/bash -x # # Copyright 2011 The Apache Software Foundation # # 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 und...
icoding/sqoop
src/scripts/hudson/test-config.sh
Shell
apache-2.0
2,040
#!/bin/bash ########################################################################### # # Copyright 2016 Samsung Electronics 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 Licens...
lssgood/TizenRT
os/tools/mkctags.sh
Shell
apache-2.0
2,502
R CMD REMOVE --library=$PREFIX/lib/R/library/ hthgu133afrmavecs
joachimwolff/bioconda-recipes
recipes/bioconductor-hthgu133afrmavecs/pre-unlink.sh
Shell
mit
64
R CMD REMOVE --library=$PREFIX/lib/R/library/ hugene10stprobeset.db
joachimwolff/bioconda-recipes
recipes/bioconductor-hugene10stprobeset.db/pre-unlink.sh
Shell
mit
68
# transfer.sh Easy file sharing from the command line # transfer Plugin # Usage Example : # > transfer file.txt # > transfer directory/ # Author: # Remco Verhoef <remco@dutchcoders.io> # https://gist.github.com/nl5887/a511f172d3fb3cd0e42d # Modified to use tar command instead of zip # curl --version 2>&1 > /d...
kulesa/dotfiles
zsh/.oh-my-zsh/plugins/transfer/transfer.plugin.zsh
Shell
mit
1,716
#!/bin/bash THREAD_FACTOR=2 . $(dirname $0)/config/common_run.sh fw_depends $DBTYPE rvm jruby-9.1 rvm use jruby-$JRUBY_VERSION . $(dirname $0)/config/bundle_install.sh bundle exec torquebox run --io-threads $(( MAX_CONCURRENCY / 2 )) --worker-threads $MAX_CONCURRENCY -b 0.0.0.0 -p 8080 -e production &
mfirry/FrameworkBenchmarks
frameworks/Ruby/sinatra/run_jruby_torquebox.sh
Shell
bsd-3-clause
309
#!/usr/bin/env bash set -eu function usage { echo "Usage: $0 [OPTION]..." echo "Run Neutron's test suite(s)" echo "" echo " -V, --virtual-env Always use virtualenv. Install automatically if not present" echo " -N, --no-virtual-env Don't use virtualenv. Run tests in local environment" ...
jumpojoy/neutron
run_tests.sh
Shell
apache-2.0
7,971
#!/bin/bash LOG_FILE="/var/log/cloudera-azure-initialize.log" # manually set EXECNAME because this file is called from another script and it $0 is "bash" EXECNAME="install-postgresql.sh" CURRENT_VERSION_MARKER='Azure_1' SLEEP_INTERVAL=5 # logs everything to the $LOG_FILE log() { echo "$(date) [${EXECNAME}]: $*" >>...
simongdavies/azure-quickstart-templates
cloudera-on-centos/scripts/install-postgresql.sh
Shell
mit
13,840
echo "It looks like you have been using the 'rails3' plugin," echo "which has been deprecated in favor of a newly consolidated 'rails' plugin." echo "You will want to modify your ~/.zshrc configuration to begin using it." echo "Learn more at https://github.com/robbyrussell/oh-my-zsh/pull/2240"
Techwolf12/dotfiles
zsh/oh-my-zsh/plugins/rails3/rails3.plugin.zsh
Shell
gpl-2.0
295
#!/usr/bin/env bash # # bash script that converts the C++ algorithms code into a pretty-printed PDF # named binder.pdf. This expects to be run in a Linux/BSD environment with the # "a2ps" command installed. On .deb and .rpm based Linux systems that command # is in a package called "a2ps". # # Kevin Wortman <kwortman@fu...
acm-csuf/icpc
makebinder.sh
Shell
mit
715
#!/bin/sh # CYBERWATCH SAS - 2016 # # Security fix for RHSA-2009:0457 # # Security announcement date: 2009-04-30 21:13:24 UTC # Script generation date: 2016-05-12 18:09:31 UTC # # Operating System: Red Hat 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - libwmf.x86_64:0.2.8.3-5.8 # - libwmf-...
Cyberwatch/cbw-security-fixes
Red_Hat_5/x86_64/2009/RHSA-2009:0457.sh
Shell
mit
1,828
#!/bin/env bash ################################################################################# # WARNING - Read First Before Running This Script! # Running this script maybe HARMFUL to your system. Therefor, the user shall # carefully read all of this script and bear the relevant risks by # himself/herself. Runnin...
woerwin/learning
kjyw/linux-init-script/centostweak.sh
Shell
mit
13,261
#!/bin/bash python3 -m twine upload dist/*
tiggerntatie/brython-server
scripts/uploadrelease.sh
Shell
mit
43
#!/bin/bash set -x docker run --rm -e MYSQL_ROOT_PASSWORD=toor -t -i -v $(pwd):/kanban -v $(pwd)/config.sh:/root/.yukan_config.sh mysql /kanban/db_test_inside.sh
NautiluX/yukan
sbin/db_test.sh
Shell
mit
163
#!/bin/bash set -euo pipefail # Copies an AMI to all other regions and outputs a build/mappings.yml file # Local Usage: .buildkite/steps/copy.sh <linux_ami_id> <windows_ami_id> copy_ami_to_region() { local source_image_id="$1" local source_region="$2" local destination_image_region="$3" local destination_imag...
buildkite/elastic-ci-stack-for-aws
.buildkite/steps/copy.sh
Shell
mit
6,348
#!/bin/bash if [[ $(screen -ls|grep foxybot) == "" ]] then screen -L -dmS foxybot ./foxyloop.sh echo "Bot has been started!" else echo "Bot already running!" exit 1 fi exit 0
Wohlstand/FoxyBot
startfoxyloop.sh
Shell
mit
192
#!/usr/bin/env bash # # Write a shell script that takes input as command line # arguments and prints them out backwards. # for (( i=$#; i > 0 ; i-- )); do echo ${!i} done
ynonp/unix2-bash-scripts-slides
labs/sol/5_1.sh
Shell
mit
175
#!/bin/bash cd /tmp git clone https://github.com/xianyi/OpenBLAS.git OpenBLAS # clone last version of OpenBLAS cd /tmp/OpenBLAS make # DYNAMIC_ARCH=1 USE_THREAD=1 sudo make PREFIX=/opt/OpenBLAS install # make the dir one wants rm -rf /tmp/OpenBLAS
maxlevesque/personalhpc-install-script-OpenBLAS
personalhpc-install-script-OpenBLAS.sh
Shell
mit
254
#!/bin/sh set -e docprefix=/packages/${PKG_NAME}-doc/${PKG_VERSION} binprefix=/packages/${PKG_NAME}-bin/${PKG_VERSION} mkdir build && cd build ../${PKG_NAME}-*/configure --prefix="${PKG_DIR}" \ --oldincludedir=${PKG_DIR}/include --localedir=${PKG_DIR}/locale \ --bindir=${binprefix}/bin \ --infodir=${docpref...
FreakyPenguin/static-distro
packages/libxml2/2.9.4/build.sh
Shell
mit
802
#!/bin/sh set -e hook="$1" shift gitdir="$(git rev-parse --git-dir)" [ -x "$gitdir/hooks/own_$hook" ] && "$gitdir/hooks/own_$hook" "$@" [ -x "$gitdir/../git-hooks/hooks/$hook" ] && "$gitdir/../git-hooks/hooks/$hook" "$@"
kch42/ste
git-hooks/loader.sh
Shell
mit
224
#!/usr/bin/env bash GIT_DEPLOY_REPO=${GIT_DEPLOY_REPO:-$(node -e 'process.stdout.write(require("./package.json").repository)')} cd dist && \ git init && \ git add . && \ git commit -m "Deploy to GitHub Pages" && \ git push --force "${GIT_DEPLOY_REPO}" master:gh-pages # ! # # IF YOU USE A USERNAME.GITHUB.I...
wwwfreedom/FreeCodeCamp
build/deploy.sh
Shell
mit
371
#!/bin/bash gcc -std=c99 -ggdb -I '../include' -fpic -c unvd_hc.h unvd_hc.c gcc -shared -o libunvd_hc.so unvd_hc.o -lhcnetsdk -lhpr -lHCCore gcc -std=c99 -ggdb -I '../include' -I './' -L'./' unvd_hc.h ../tests/test_hc.c -lunvd_hc export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:'./'
qwerty258/UNVD
unvd_hc/compile.sh
Shell
mit
275
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DLA-278-2 # # Security announcement date: 2015-07-19 00:00:00 UTC # Script generation date: 2017-01-01 21:08:58 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: x86_64 # # Vulnerable packages fix on version: # - cacti:0.8.7g-1+squeeze8 # # Last ve...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/x86_64/2015/DLA-278-2.sh
Shell
mit
613
#!/bin/sh called="$BASH_SOURCE" if [ "$called" = "" ]; then called="$0" fi folder=$(dirname -- $(readlink -fn -- "$called")) picOpts="zoom" raw_image_name="source.jpg" #Check and Remove Old Images old_file=$(find $folder -maxdepth 1 -regex ".*/wallpaper-[0-9]+.jpg" | head -n 1) if [ -e "$old_file" ]; then rm "...
The5heepDev/kingfisher
Wallpaper/wallpaper.sh
Shell
mit
1,010
#!/bin/bash if [ -n "$PYPI_PORT" ]; then PYPI_FLAGS="-i ${PYPI_PORT/tcp:/http:}/root/pypi/" fi if find /env -maxdepth 0 -empty | read v; then virtualenv /env fi REQUIREMENTS_FILE=/code/${REQUIREMENTS_FILE:-requirements.txt} if [ -f $REQUIREMENTS_FILE ]; then /env/bin/pip install -r $REQUIREMENTS_FILE $PYPI_FLAGS...
ouinformatics/risser-docker
celery/run.sh
Shell
mit
449
#!/bin/bash set -e #Enable Apache config provided by Statusengine a2ensite pnp4nagios.conf #Install pnp4nagios without nagios3 or iconge recommends from apt-get apt-get install -y pnp4nagios --no-install-recommends service apache2 restart
nook24/statusengine-vagrant
install-pnp4nagios.sh
Shell
mit
240
#!/usr/bin/env bash set -o nounset set -o errexit set -o pipefail realpath=$(realpath "${BASH_SOURCE[0]}") scripts_dir=$(dirname "${realpath}") root_dir=$(dirname "${scripts_dir}") echo "${root_dir}" cd "${root_dir}" target_branch="origin/master" mapfile -t changed_fies < <(git diff --name-only HEAD.."${target_branc...
cmuck/config-files
scripts/test-changed-roles.sh
Shell
mit
1,652
#!/bin/bash set -e INPUT="$1" if [ ! -f "${INPUT}" ]; then echo "input file not exist" exit 1 fi virt-sparsify --check-tmpdir continue --convert qcow2 ${INPUT} ${INPUT}.sparsify qemu-img convert -c -p -f qcow2 -O qcow2 ${INPUT}.sparsify ${INPUT} rm -vf ${INPUT}.sparsify chmod 0640 ${INPUT}
guessi/packer-templates
scripts/minify.sh
Shell
mit
301
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DLA-326-1 # # Security announcement date: 2015-10-15 00:00:00 UTC # Script generation date: 2017-01-01 21:09:02 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: i386 # # Vulnerable packages fix on version: # - zendframework:1.10.6-1squeeze6 # # La...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/i386/2015/DLA-326-1.sh
Shell
mit
636
#!/bin/sh # create a file with a large amount of text pasted in and check to ensure file contains information echo "FRom faireſt creatures we deſire increaſe, > That thereby beauties Roſe might neuer die, > But as the riper ſhould by time deceaſe, > His tender heire might beare his memory: > But thou contracted to thi...
ReanyAlex/unix_and_bash
command-line/chap2_4ex1.sh
Shell
mit
840
#!/usr/bin/env bash PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/Transcode:/usr/local/Transcode/Library export PATH # export PATH to Transcode libraries # set -xv; exec 1>>/tmp/updateTranscodeTraceLog 2>&1 #---------------------------------------------------------------------------------------------...
bmhayward/Transcode
Updater/updateTranscode.sh
Shell
mit
8,967
#!/bin/bash SAVEIMAGES="" COMPAREIMAGES="" ARGS="" RED='\e[0;31m' GREEN='\e[0;32m' NOCOLOR='\e[0m' RETVAL=0 # run all of the samples # parse the arguments while test $# -gt 0; do case "$1" in --save-images) SAVEIMAGES="true" ARGS="$ARGS --save-images" ;; --comp...
ilangal-amd/CodeXL
Common/Lib/Ext/Vulkan/1.0.8.0/SDK/win/Samples/API-Samples/run_all_samples.sh
Shell
mit
2,173
git add . --all
Kelevari/webshop-opdracht
add.sh
Shell
mit
15
#!/bin/sh # Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the # CREATE block and create them in separate commands _after_ all the INSERTs. # Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. # The mys...
coreorm/example
Bin/mysql2sqlite.sh
Shell
mit
3,029
#! /bin/bash export BASEDIR=$PWD MODULE_TARGET=( \ asrdemo \ asrdemo_with_abnf \ iatdemo \ iatdemo_with_multi-result \ ttsdemo \ ttsdemo_with_number \ ttsdemo_with_speechmark) for target in ${MODULE_TARGET[*]} do cd $BASEDIR/../Examples/$target make done
Akagi201/xunfei_voice_python
prj/makeall.sh
Shell
mit
286
heroku plugins:install git://github.com/ddollar/heroku-config.git
camilleldn/dotfiles
osx/heroku-plugins.sh
Shell
mit
66
#!/bin/bash UNREAL_PROXY_PATH=/DroneLab/demos/bluerov/unreal_proxy DEMO_PATH=/DroneLab/demos/bluerov SITL_POSITION_PORT=9989 ENTRY_POINT=unreal_proxy ENTRY_PATH=$UNREAL_PROXY_PATH/ DRONESIMLAB_PATH=../../ #game defenitions #GAME_PATH=/DroneLab/baked_games/Ocean1_packed/LinuxNoEditor/ GAME_PATH=/project_files/Ocean1...
orig74/DroneSimLab
demos/bluerov/runtmux_game_docker.sh
Shell
mit
2,924
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2016:0617 # # Security announcement date: 2016-04-12 09:29:32 UTC # Script generation date: 2017-01-31 21:25:19 UTC # # Operating System: Red Hat 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - kernel.x86_64:2.6.32-504.46.1.el6 # -...
Cyberwatch/cbw-security-fixes
Red_Hat_6/x86_64/2016/RHSA-2016:0617.sh
Shell
mit
3,243
#!/bin/bash # Copyright (c) 2016 - 2021 Advanced Micro Devices, Inc. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
ROCm-Developer-Tools/HIP
util/gedit/install.sh
Shell
mit
1,212
#!/usr/bin/env bash if [[ "$CI" != "true" || "$RUNNER_OS" == "macOS" ]]; then ava $@ else ava --match="!*legacy*" $@ fi
stovmascript/react-native-version
test.sh
Shell
mit
123
#!/bin/bash # Change this to your video device VIDEO_DEV="/dev/video0" ffmpeg -f video4linux2 -i $VIDEO_DEV -f lavfi -i aevalsrc=0 -c:v libvpx -qmin 0 -threads 8 http://localhost:8090/zen.ffm
OHIOhackathon2014/Project_Zen
webcam/broadcast.sh
Shell
mit
194
#!/bin/bash EXPECTED_ARGS=4 BSIZE=1024 EXPSCRIPT="expect -d `pwd`/readblock.exp" if [ $# -ne $EXPECTED_ARGS ] then echo "usage: `basename $0` file tty address size" exit 0 fi if [ -f $1 ] then echo "$1 already exists, exiting" exit 0 fi if [ ! -c $2 ] then echo "couldn't find device $2" exit 0 fi #TODO check...
thommyj/UFISH
read_bin.sh
Shell
mit
979
#!/bin/bash # Stop processing on any error. set -e function install_if_not_installed() { declare -r formula="$1" if [[ $(brew list ${formula} &>/dev/null; echo $?) -ne 0 ]]; then brew install ${formula} else echo "$0 - ${formula} is already installed." fi } brew update install_if_not_installed cmake...
darglein/saiga
travis/install_travis_osx_deps.sh
Shell
mit
414
#!/usr/bin/env bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH #================================================= # System Required: CentOS 6+/Debian 6+/Ubuntu 14.04+ # Description: Install the ShadowsocksR server # Version: 2.0.38 # Author: Toyo # Blog: https://doub.io/ss-jc42...
upbit/upbit.github.io
uploads/ssr.sh
Shell
mit
61,758
NAME=Corvus_brachyrhynchos URLS=ftp://ftp.ncbi.nih.gov/genomes/Corvus_brachyrhynchos/CHR_Un/85066_ref_ASM69197v1_chrUn.fa.gz source getter.sh
sauloal/cnidaria
analysis/data/converters/external/new/Corvus_brachyrhynchos.sh
Shell
mit
144
#!/bin/bash # # test-simple.sh: simple sanity checks REALPATH=$(cd $(dirname "$0") && pwd) . "${REALPATH}/lib.sh" TEST_PORT=8000 tests_use_port $TEST_PORT begin_test "server binds and accepts through multibinder" ( setup launch_service "http" bundle exec env MULTIBINDER_SOCK=${TEMPDIR}/multibinder.sock ruby te...
theojulienne/multibinder
test/test-simple.sh
Shell
mit
3,128
#!/bin/bash fastafile="/home/akimitsu/database/gencode.v19.annotation_only_Rep_basic_mRNAs_3UTR.fa" filename=`basename ${fastafile} .fa` fasta-get-markov -m 3 ${filename}.fa ${filename}_markov_background_for_MEME.txt
Imamachi-n/NGS-Tutorial
PAR-CLIP_Tutorial_CstF64/prep_MEME_background_data.sh
Shell
mit
219
#!/bin/bash ./vendor/bin/phpmd --exclude ClassMetadataTrait.php ./lib/ text ./tests/ruleset.xml
zoopcommerce/shard
build/bin/csmd.sh
Shell
mit
96
#!/bin/sh npm cache clean npm install bower install grunt
gionkunz/frontstart
ci.sh
Shell
mit
58
#!/bin/bash # $Id: makedoc.sh,v 1.2 2007-12-10 01:11:19 ashnazg Exp $ #/** # * makedoc - PHPDocumentor script to save your settings # * # * Put this file inside your PHP project homedir, edit its variables and run whenever you wants to # * re/make your project documentation. # * # * The version of this file i...
ofertix/LogMonitor
vendor/logspy/makedoc.sh
Shell
mit
2,242
#!/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...
francisykl/PagingMenuController
Pods/Target Support Files/Pods-PagingMenuController/Pods-PagingMenuController-frameworks.sh
Shell
mit
3,605
#!/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...
Meniny/Oops
Sample/Pods/Target Support Files/Pods-Sample/Pods-Sample-frameworks.sh
Shell
mit
3,691
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for CESA-2015:2152 # # Security announcement date: 2015-11-30 19:36:22 UTC # Script generation date: 2017-01-20 21:18:19 UTC # # Operating System: CentOS 7 # Architecture: x86_64 # # Vulnerable packages fix on version: # - kernel.x86_64:3.10.0-327.el7 # - kerne...
Cyberwatch/cbw-security-fixes
CentOS_7/x86_64/2015/CESA-2015:2152.sh
Shell
mit
2,425
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2958-1 # # Security announcement date: 2016-05-02 00:00:00 UTC # Script generation date: 2017-01-01 21:05:23 UTC # # Operating System: Ubuntu 14.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - poppler-utils:0.24.5-2ubuntu4.4 # ...
Cyberwatch/cbw-security-fixes
Ubuntu_14.04_LTS/x86_64/2016/USN-2958-1.sh
Shell
mit
1,445
#!/bin/bash -ev # # Installation Script # Written by: Tommy Lincoln <pajamapants3000@gmail.com> # Github: https://github.com/pajamapants3000 # Legal: See LICENSE in parent directory # # # Dependencies #************** # Begin Required #liblxqt-0.9.0 #lxqt_common-0.9.1 # End Required # Begin Recommended # End Recommended...
pajamapants3000/BLFS_scripts_etc
scripts/lxqt_session-0.9.0.sh
Shell
mit
1,458
#!/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() { local source="${BUILT_PRODUCTS_DIR}/Pods-Ravelry_Tests/$1" local desti...
kellanburket/Passenger
Example/Pods/Target Support Files/Pods-Ravelry_Tests/Pods-Ravelry_Tests-frameworks.sh
Shell
mit
2,435
#!/bin/bash # The MIT License (MIT) # # Copyright (c) 2011 Green Island Consulting LLC # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation t...
kierankelleher/gic-mysql-tools
UtilityScripts/AlterTablesToInnodbEngine.sh
Shell
mit
2,308
#!/usr/bin/env bash source vars.sh printUnitFile() { read -r -d '' UNIT_CONTENTS << EOF [Unit] Description=${DESCRIPTION} Wants=network-online.target After=network.target network-online.target [Install] WantedBy=multi-user.target [Service] ExecStart=${INSTALL_FILE} SyslogIdentifier=${CANONICAL_NAME} Restart=always...
TomOgoma/authms
install/systemd-install.sh
Shell
mit
1,831
#!/bin/bash set -e -o pipefail if [ "$USE_CLOUD" = "true" ]; then ./scripts/sauce/sauce_connect_teardown.sh fi
nfl/react-metrics
scripts/teardown.sh
Shell
mit
115
#!/usr/bin/env bash TOTAL=$1 HOST=$2 # addtoblockchain localhost:8080 16 echo "Adding identites to blockchain" addtoblockchain $HOST $TOTAL 10000 false
FactomProject/Testing
P2PTesting/M2SimpleTestService/loadidentities/loadidentities.sh
Shell
mit
153
export VOLTA_HOME="$HOME/.volta" [ -s "$VOLTA_HOME/load.sh" ] || return 0 # Initialize volta . "$VOLTA_HOME/load.sh" export PATH="$VOLTA_HOME/bin:$PATH" volta install node if ( is_osx ); then # Format Markdown quick action requires node & prettier volta install prettier fi
jan-auer/dotfiles
init/40_volta.sh
Shell
mit
280
valgrind -v --track-origins=yes --leak-check=full --show-leak-kinds=all --read-var-info=yes --workaround-gcc296-bugs=yes ./easyCUnit 2> valgrind_test_00$1.log
luongnv89/c-easy
memory_check.sh
Shell
mit
159
#!/bin/bash set -ex if [ "$(uname -s)" = "Darwin" ]; then download_url="https://github.com/koalaman/shellcheck/releases/download/v0.8.0/shellcheck-v0.8.0.darwin.x86_64.tar.xz" expect_hash="e065d4afb2620cc8c1d420a9b3e6243c84ff1a693c1ff0e38f279c8f31e86634" elif [[ "$(lsb_release -i)" == *"Ubuntu"* ]]; then downloa...
kaihowl/dotfiles
shellcheck/install.sh
Shell
mit
898
#------------------------------------------------------------------------------- # # shell/quicklook.zsh # QuickLook command-line aliases # #------------------------------------------------------------------------------- alias qlreload='qlmanage -r' alias qllist='qlmanage -m plugins'
phatblat/dotfiles
.dotfiles/shell/quicklook.zsh
Shell
mit
286
#!/usr/bin/env bash curl --socks5 127.0.01:9050 http://checkip.amazonaws.com/ (echo authenticate '"rentonggeji"'; echo signal newnym; echo quit) | nc localhost 9051 sleep 3 curl --socks5 127.0.01:9050 http://checkip.amazonaws.com/
PegasusWang/pyhome
crawler/lagou/changeip.sh
Shell
mit
234
#!/bin/bash # this function is the unit test # Written by Kong Xiaolu and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md python CBIG_pMFM_unit_test_wrapper.py
ThomasYeoLab/CBIG
stable_projects/fMRI_dynamics/Kong2021_pMFM/unit_tests/CBIG_pMFM_unit_test.sh
Shell
mit
197
#!/usr/bin/env bash ## Evaluate some Erlang code against the running node set -e release_ctl eval "$@"
bitwalker/distillery
priv/libexec/commands/eval.sh
Shell
mit
106
#! /bin/bash # # piSnapshot - Installation set -e my_path=$0 my_basename=${my_path##*/} # check if script was run as root if [ "$EUID" -ne 0 ]; then >&2 echo "$my_basename must be run as root. Try 'sudo $my_path'." exit 1 fi cd $(dirname "$0") bin_dir=/usr/local/bin/ etc_dir=/usr/local/etc/ cp -vt "$bin_dir" pi...
tobx/piSnapshot
piSnapshotInstall.sh
Shell
mit
515
#!/bin/sh function lint() { xmllint --c14n "$1"|xmllint --format - } set -o pipefail && xcodebuild -workspace ContentfulPlugin.xcworkspace \ -scheme ContentfulModelGenerator 2>/dev/null | xcpretty -c BUILD="`ls -d $HOME/Library/Developer/Xcode/DerivedData/ContentfulPlugin-*`" $BUILD/Build/Products/Debug/Contentf...
contentful/ContentfulXcodePlugin
test.sh
Shell
mit
582
#!/bin/bash if [ $# -lt 1 ] || [ $1 = -l ] && [ $# -lt 2 ] then echo error: not enough arguments 1>&2 exit 1 fi if [ $1 = -l ] then find "${@:3}" -type f -exec wc -c {} \; | cut -f1 -d' ' | sort -n | head -$2 else find "${@:2}" -type f -exec wc -c {} \; | sort -n | head -$1 fi
rgeorgiev583/os-2015-2016
midterm/solutions/min.sh
Shell
mit
296
#!/bin/bash # Copy files to another project cp dist/* ../eald-gas/thump
yarunluon/eald
scripts/copy.sh
Shell
mit
75
#!/bin/sh # Install scripts install -m 755 etc/init.d/kickstart-rhl /etc/init.d/kickstart # set service /sbin/chkconfig kickstart on
tumf/xenserver-kickstarter
install-rhl.sh
Shell
mit
138
#!/bin/sh sudo supervisorctl restart isucon_ruby
oppai/isucon3
cron/reset.sh
Shell
mit
50
#!/bin/bash $( dirname "${BASH_SOURCE[0]}" )/exec-class.sh ch.tkuhn.memetools.DetectTrendTerms "$@"
tkuhn/memetools
scripts/DetectTrendTerms.sh
Shell
mit
101
rsync -azvhW --exclude .git* --exclude README.* --dry-run . /home/rafael/share/racket/collects/RefactoringTool/
RafaelReia/RefactoringToolDevelop
copyDevel.sh
Shell
mit
113
#!/bin/bash rm Dockerfile 2>/dev/null ln -s docker/fetch/Dockerfile Dockerfile docker build -t demas/cowl-crawler .
demas/cowl
build_crawler.sh
Shell
epl-1.0
117
#!/bin/bash BASE_VER="KANGAROO.M7.MKIV.v067" VER="" KERNEL_VER=$BASE_VER$VER export LOCALVERSION="."`echo $KERNEL_VER` export CROSS_COMPILE=${HOME}/Toolchains/arm-cortex_a15-linux-gnueabihf-linaro_4.9.2-2014.09/bin/arm-cortex_a15-linux-gnueabihf- export ARCH=arm export SUBARCH=arm export KBUILD_BUILD_USER=poondoge #...
poondog/kangaroo-m7-mkIV
build.sh
Shell
gpl-2.0
656
FINEGRAINED_SUPPORTED=yes NAMEEXTRA= run_bench() { if [ "$RINGTEST_MAX_TASKS" -gt 1000 ]; then RINGTEST_MAX_TASKS=1000 fi $SCRIPTDIR/shellpacks/shellpack-bench-ringtest \ --min-tasks $RINGTEST_MIN_TASKS \ --max-tasks $RINGTEST_MAX_TASKS \ --iterations $RINGTEST_ITERATIONS return $? }
wjn740/mmtests
drivers/driver-ringtest.sh
Shell
gpl-2.0
301
#!/bin/bash # # Copyright 2015 Emanuele Forestieri <forestieriemanuele@gmail.com> # Copyright 2015 Matteo Alessio Carrara <sw.matteoac@gmail.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 Fou...
emanueleforestieri/linux_update
src/linux_update.sh
Shell
gpl-2.0
2,127
#!/bin/bash source ./path.sh exec $PATH_TO_CTU_BIN_TESTS/demo_cosummit_vis
CTU-IIG/macan
demos/cosummit/test/vis.sh
Shell
gpl-2.0
76
# export AWS_ACCESS_KEY="Your-Access-Key" # export AWS_SECRET_KEY="Your-Secret-Key" today=`date +"%d-%m-%Y","%T"` logfile="/awslog/automation-instances.log" # Grab all Instance IDs for REBOOT action and export the IDs to a text file sudo aws ec2 describe-instances --filters Name=tag:reboot-time,Values=12-00 Name=tag:...
STARTSPACE/aws-ec2-start-stop-reboot-by-timetable
reboot/ad/reboot-ad-12.sh
Shell
gpl-2.0
785
#!/bin/bash # parse-anaconda-options.sh - parse installer-specific options . /lib/anaconda-lib.sh . /lib/url-lib.sh # create the repodir and isodir that anaconda will look for mkdir -p "$repodir" "$isodir" # add some modules modprobe -q edd # get some info from .buildstamp buildstamp=/run/initramfs/.buildstamp [ -f...
sgallagher/anaconda
dracut/parse-anaconda-options.sh
Shell
gpl-2.0
4,350
#!/bin/sh for i in `ls ../interfaces/*.if` do python ../../nic.py nam . $i done
ChristianFrisson/gephex
base/src/netinterfaces/test.sh
Shell
gpl-2.0
85
#!/bin/bash LINKS_FILE=$1 DOWNLOADS_PATH=$(dirname "$1") echo "----------------------------" echo "Usage: playlister <LINKS FILE>" echo "----------------------------" echo "Reading videos from: $LINKS_FILE" echo "Your downloaded files will be available here: $DOWNLOADS_PATH" echo '' youtube-dl -o "$DOWNLOADS_PATH/...
faddai/server-setup-utils
playlister.sh
Shell
gpl-2.0
512