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
config() { NEW="$1" OLD="`dirname $NEW`/`basename $NEW .new`" # If there's no config file by that name, mv it over: if [ ! -r $OLD ]; then mv $NEW $OLD elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy rm $NEW fi # Otherwise, we leave the .new copy for the admi...
panosmdma/SlackOnly-SlackBuilds
network/sqlmap/doinst.sh
Shell
mit
367
#!/bin/sh curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh | sh brew doctor brew install cask brew doctor # homebrew cask updater: https://github.com/buo/homebrew-cask-upgrade brew tap buo/cask-upgrade
pkskelly/osx-install
scripts/homebrew-install.sh
Shell
mit
235
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-1477-1 # # Security announcement date: 2012-06-15 00:00:00 UTC # Script generation date: 2017-01-01 21:02:39 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - apt:0.8.16~exp12ubuntu10.2 # # Last ...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/x86_64/2012/USN-1477-1.sh
Shell
mit
627
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_CONF=default CND_DISTDIR=dist TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/GIT.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} OUTPUT_BASENAME=GIT.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} PACKAGE_...
royaraya16/PIC
nbproject/Package-default.bash
Shell
mit
1,345
#!/bin/bash source `dirname $0`/../common.sh docker run -v $OUTPUT_DIR:/tmp/output -v $CACHE_DIR:/tmp/cache -e VERSION=2.1.2 -e SVN_URL=http://svn.ruby-lang.org/repos/ruby/trunk -e RELNAME=branches/ruby_2_1@47326 -e STACK=cedar hone/ruby-builder:cedar
hone/docker-heroku-ruby-builder
rubies/cedar/ruby-2.1r47326.sh
Shell
mit
255
#!/bin/bash ALL_ARGS=$1 RESULTS_FILE=$2 INPUT_FOLDER="./data" TEMP_FOLDER=$(pwd)/tmp CACHE=$(pwd)/cache1 mkdir -p $TEMP_FOLDER echo $ALL_ARGS IFS=',' read -a myarray <<< "$ALL_ARGS" b=${myarray[0]} t=${myarray[1]} s=${myarray[2]} STARTTIME=$(date +%s%3N) ss="${s/-/,}" docker run -v $INPUT_FOLDER:/data \ -v $TEMP...
IDLabResearch/validation-benchmark
validation-reasoning-framework/single-run.sh
Shell
mit
799
# Install Homebrew #ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" #brew tap homebrew/versions #brew tap homebrew/dupes #brew update #brew upgrade # Install packages apps=( ack ag bats #cmake coreutils dockutil ffmpeg fasd gifsicle gi...
kevinold/dotfiles
install/brew.sh
Shell
mit
834
#! /bin/sh # # Copyright 2002 Sun Microsystems, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # - Redistributions of source code must retain the above copyright # notice, this list of ...
pitpitman/GraduateWork
petstore1.3_01/setup.sh
Shell
mit
2,499
# script to insmod kernel module & initialize char device # Borrowed from Kevin Farley with permission make sudo insmod lab6.ko MAJOR= dmesg | tail -n 1 | awk "{print \$5}" if [ -z $MAJOR ] then MAJOR= dmesg | tail -n 1 | awk "{print \$4}" fi #sudo rm /dev/interface sudo mknod /dev/interface c 250 0 sudo chmod a+w /de...
okeltw/OpSys
Lab6/run.sh
Shell
mit
357
#!/bin/sh ## esxiconf_backup.sh ## Author: James White (james@jmwhite.co.uk) ## Version 0.2 ## ## Description: ## Creates a backup of the ESXi host config ## Downloads the generated backup and stores it in the specified directory ## Adds unique datestamp for storing multiple backup copies ## More info about the ESXi co...
jamesmacwhite/esxiconfig-backup
esxiconfig_backup.sh
Shell
mit
1,769
#!/bin/sh ############################################# # Created by iMatthewCM on 11/18/2019 # ################################################################################################# # This script is not an official product of Jamf Software LLC. As such, it is provided without # # warranty or support. By ...
iMatthewCM/Jamf-Scripts
JamfProAPI/createDepartmentsFromFile.sh
Shell
mit
1,876
# http://localhost:8090/controlpanel # factomd must be running cd ~/testing/testing/test-plans-and-scripts/factoid-simulator/FactomTests/FactoidTest/ date +"%T" for ((i=0; i < 1500; i++)); do ./run >> simulator-output done date +"%T" # awk '/Errors/ && $2 !~ /0/' ~/testing/testing/test-plans-and-scripts/facto...
FactomProject/Testing
factoid-simulator/FactomTests/FactoidTest/run-many-times.sh
Shell
mit
376
# itclConfig.sh -- # # This shell script (for sh) is generated automatically by Itcl's # configure script. It will create shell variables for most of # the configuration options discovered by the configure script. # This script is intended to be included by the configure scripts # for Itcl extensions so that they don...
ArcherSys/ArcherSys
tcl/lib/itcl4.0.2/itclConfig.sh
Shell
mit
3,781
#!/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...
happyliuzh/podTestLibrary1
Example/Pods/Target Support Files/Pods-podTestLibrary1_Example/Pods-podTestLibrary1_Example-frameworks.sh
Shell
mit
2,636
#!/bin/bash # DESCRIPTION # Defines global settings. # SETTINGS # General set -o nounset # Exit, with error message, when attempting to use an undefined variable. set -o errexit # Abort script at first error, when a command exits with non-zero status. set -o pipefail # Returns exit status of the last command in the p...
masterots/osx_setup
settings/settings.sh
Shell
mit
14,149
#!/usr/bin/env bash usage() { cat <<HERE usage: git branch-extras [-m|--mergable|mergable] <branch> # ask whether <branch> can be merged into current branch or not. or: git branch-extras [-l|--list] [--all|--remote|--local] # show branches which are filtered. or: git branch-extras [-c|--curre...
jmatsu/git-subcommands
src/git-branch-extras.sh
Shell
mit
2,496
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-1705-1 # # Security announcement date: 2013-01-28 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: # - libavformat53:4:0.8.5-0ubuntu0.12.04...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/x86_64/2013/USN-1705-1.sh
Shell
mit
1,157
#!/usr/bin/env bash source init/welcome.sh # Ask for the administrator password upfront sudo -v # Keep-alive: update existing `sudo` time stamp until `.osx` has finished while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & source developer/developer.sh #load user config source application...
ptbobolakis/dotfiles
alpha.sh
Shell
mit
910
#!/bin/bash docker run -d -p 5000:5000 --restart=always -v /var/lib/docker/images:/var/lib/registry --name registry registry:2
tobegit3hub/dockerhub-mirror
setup-docker-distribution.sh
Shell
mit
128
#!/usr/bin/bash set -o errexit -o noclobber -o noglob -o nounset -o pipefail SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "${SCRIPTDIR}/variables.sh" perm_group "${PKGBUILDPATH}" perm_group "${CONFIGPATH}" perm_user "${SRCDEST}" perm_user "${LOGPATH}" perm_user "${GNUPGHOME}" perm_custom "${...
bfritz/nfnty-dockerfiles
containers/builder/scripts/test.sh
Shell
mit
392
#!/bin/bash set -ex if [[ $JAPR_WHEEL == "1" ]]; then if [[ $JAPR_OS == "Linux" ]]; then docker run --rm -u `id -u` -w /io -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 /opt/python/$PYTHON_TAG/bin/python setup.py bdist_wheel docker run --rm -u `id -u` -w /io -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 auditwh...
squeaky-pl/japronto
misc/travis/script.sh
Shell
mit
572
#!/usr/bin/env bash #backup.sh, by Richard Willis <willis.rh@gmail.com> ### ADJUST VALUE BELOW ### # Location of config files export HOME=/root ### LEAVE THE REST UNTOUCHED ### function load_config { local configfile="$HOME/.backupcfg" if [ ! -e "$configfile" ]; then echo "Error: backup config file does not exi...
badsyntax/server-tools
backup/bin/backup.sh
Shell
mit
4,299
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-2528-1 # # Security announcement date: 2012-08-14 00:00:00 UTC # Script generation date: 2017-01-01 21:06:26 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: x86_64 # # Vulnerable packages fix on version: # - icedove:3.0.11-1+squeeze12 # # Las...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/x86_64/2012/DSA-2528-1.sh
Shell
mit
687
#!/usr/bin/env bash THIS_DIR=`dirname $(readlink -f $0)` source ${THIS_DIR}/common.sh spark-submit --master local --class interretis.intro.WordCount ${ARTIFACT_PATH} $@
MarekDudek/spark-certification
src/main/scripts/word-count.sh
Shell
mit
170
#!/bin/sh set -e echo "Instalando homebrew" if test ! $(which brew) then ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" else echo "Esta instalado en" `which brew` fi echo "Terminado"
opengraphix/misdotfiles
scripts/bin/install-homebrew.sh
Shell
mit
238
#!/bin/sh # The script must run from the expected directory: cd ${0%/*} echo "running coveralls script from:" pwd # Piping directly from node was only sending one line for some reason # so I create a file and then cat it which works node ./node_modules/istanbul-harmony/lib/cli.js cover ./node_modules/mocha/bin/_mocha ...
coltonw/revonarchy
coveralls.sh
Shell
mit
489
#!/usr/bin/env bash set -e # Abort on error set -u # Abort on uninitialized variable usage PROJECT_ROOT=$(git rev-parse --show-toplevel) # Kill programs running on the required ports fuser -k 8080/tcp || true # Maps fuser -k 8082/tcp || true # Gallery fuser -k 4444/tcp || true # Selenium server
spiegelm/xd-testing
scripts/kill_applications.sh
Shell
mit
299
#!/bin/sh -e # # Copyright (c) 2009-2015 Robert Nelson <robertcnelson@gmail.com> # # 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 the rights...
robert-budde/ti-linux-kernel-dev
tools/rebuild.sh
Shell
mit
6,415
#!/usr/bin/env bash profile=${1:-dev} echo "profile: $profile" case "$profile" in dev) database=modus host=localhost username=$(whoami) password= lein_profile=dev ;; *) usage ;; esac export PGPASSWORD=$password echo "select pg_terminate_backend(pg_stat_activity.pid) from pg_stat_...
C63/modus-clj
bootstrap.sh
Shell
epl-1.0
575
#!/bin/sh cp konfig.adb.clj konfig.clj cp proba-konfig.adb.clj proba-konfig.clj
lnmnd/magnet.zer
before_script.sh
Shell
epl-1.0
81
#!/bin/bash set -x clip_IDs=({001..050}) echo ${clip_IDs[*]} version_IDs=({001..016}) echo ${version_IDs[*]} object_ID="distractor" echo ${object_ID} petavision_dir="/mnt/data/repo/neovision-programs-petavision/Heli/Training/" echo ${petavision_dir} list_dir=${petavision_dir}"list_canny/" echo ${list_dir} object_dir=${...
dpaiton/OpenPV
pv-core/mlab/NeoVis2/combineFileOfFilenames.sh
Shell
epl-1.0
854
#!/bin/bash . base.sh #verifica quantidade minima de argumentos [ $# -lt 5 ] && { printError "<b>Erro:</b> Preencha todos os campos."; exit 2; } # atribuicao de variaveis login=$1 senha=$2 grupo=$3 docs=$4 shift 4 users="$*" checkLogin [ $needjoin -eq 1 ] && sudo net ads join -U$login%$senha -W $domain &> /dev/null ...
atcasanova/ADonLinux
ad/criagrupo.sh
Shell
gpl-2.0
2,085
#!/bin/bash if [ "$1" == "" ]; then echo "Usage ./rp-emulated.sh <backup folder name>" exit fi SIM_TIME=1 CODE_DIR="/var/tmp/ln" BACKUP_FOLDER="/var/tmp/ln_result/backup/from_cade/$1" echo "$BACKUP_FOLDER" RESULT="$CODE_DIR/results/emulated" echo "***removing old *.txt files in the result directory...." rm $RESULT...
binhqnguyen/ln
rp-emulated.sh
Shell
gpl-2.0
971
#!/bin/sh # check the extra config files exist if [ -f "/etc/asterisk/sip-conf.conf" ] then echo "Found /etc/asterisk/sip-conf.conf" else echo "; extra config options" > /etc/asterisk/sip-conf.conf echo "nat=force_rport,comedia" >> /etc/asterisk/sip-conf.conf echo "registerattempts=0" >> /etc/asterisk/sip-conf.con...
telecube/telecube-pbx
updates/sys/update-15.sh
Shell
gpl-2.0
2,785
#!/bin/sh ################################################################################ # This file is part of OpenELEC - http://www.openelec.tv # Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) # # OpenELEC is free software: you can redistribute it and/or modify # it under the terms of the G...
shinose/qplaybox
packages/mediacenter/kodi/scripts/setwakeup.sh
Shell
gpl-2.0
1,189
#!/bin/sh wan_mode=$1 wan_iface=$2 if [ "$CONFIG_FEATURE_LED" = "1" ]; then if [ "$wan_mode" = "1" -o "$wan_mode" = "2" ]; then echo netdev > /sys/class/leds/internet_led/trigger echo "$wan_iface" > /sys/class/leds/internet_led/device_name echo "link tx rx" > /sys/class/leds/internet_led/m...
kbridgers/VOLTE4GFAX
package/feeds/ltq_feeds_netcomp_cpe/ifx_config_common_features/files/etc/init.d/internet_led_control.sh
Shell
gpl-2.0
1,228
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" #run in src directory cd "$DIR" #MIXXX_CONTROLLER_INSTALL_DIR="/usr/share/mixxx/controllers" MIXXX_CONTROLLER_INSTALL_DIR="${HOME}/download/mixxx-release-2.1.1/res/controllers/" CONTROLLER_XML_FILENAME="Reloop RMP-3.midi.xml" CONTROLLER_JS_FILENAME="...
7890/rmp3
src/dist.sh
Shell
gpl-2.0
2,291
#!/bin/sh sudo pip3.5 install psutil echo "Installed python35u-psutil sucessfully if not error..."
paramecio/pastafari
scripts/standard/centos7/install_psutil.sh
Shell
gpl-2.0
102
#!/bin/sh # # Testing script for IFJ06 - parser only, tests III. # file=./tests/sa2/illegalexpressions.input valid_result=./tests/sa2/illegalexpressions.result output_file=tmp parser=./tests/parser test_num=1 num_passed=0 num_failed=0 echo "" echo "------------------------------------------------" echo "Parser ...
s3rvac/fit-projects
IFJ/tests/sa2/semantic-test3.sh
Shell
gpl-2.0
1,057
#!/bin/bash MNTPOINT='/home/rh/d' BACKUPSUBDIR='Backups' CURRENTSUBDIR='current' PREVIOUSSUBDIR='previous' LOGDIR='/home/rh/d/Backups/log' FILEPREFIX='Backup' BACKUPS='/' TARSNAPFILE='/home/rh/d/Backups/backup.snar' EXCLUDEFILE='/home/rh/d/Backups/exclude_list.txt' DATESTR=$(date +%F_%H-%M) cnt=0 for f in ${MNT...
rahul003/useful_scripts
backup/incr_backup.sh
Shell
gpl-2.0
1,482
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" cd "$DIR" rm *.o g++ -O3 -fno-inline -g semaphore.cc shared.cc signals.cc thread.cc --std=c++17 -O0 -g -z execstack -fno-stack-protector -c ld -r *.o -o threading.obj rm *.o mv threading.obj threading.o
Qwaz/solved-hacking-problem
GoogleCTF/2020 Quals/threading/prob/threading/build.sh
Shell
gpl-2.0
289
#!/usr/bin/env bash bash_dir="$HOME/dev/scripts/bash" py_dir="$HOME/dev/scripts/bash" experiments_dir="$HOME/dev/experiments" template_dir="$HOME/dev/scripts" template_sh="$template_dir/template.sh" template_cpp="$template_dir/template.cpp" template_h="$template_dir/template.h" template_rs="$template_dir/template.rs...
ltlollo/misc
scripts/import_template.sh
Shell
gpl-2.0
354
#!/bin/bash cd /opt/development/hbs/clustermapping/data/processing time node --expose_gc --max-old-space-size=8192 import.js "$1" "$2" cd -
clustermapping/cmp
data/processing/scripts/run.sh
Shell
gpl-2.0
140
#!/bin/bash # Run something master=$1 PRIMARY_HOST=$2 PRIMARY_PORT=$3 if [ "${master}" == true ] ; then mongod --master else mongod --slave --source ${PRIMARY_HOST}:${PRIMARY_PORT} fi
hdzierz/Kaka
setup.sh
Shell
gpl-2.0
196
version=\ ( '1.22.1' ) url=\ ( "http://busybox.net/downloads/busybox-$version.tar.bz2" ) md5=\ ( '337d1a15ab1cb1d4ed423168b1eb7d7e' ) post_unpack() { patches=$(ls "$pkg_dir"/patches/*.patch) if [ -n "$patches" ]; then cat $patches | patch -p1 fi } configure() { cp "$pkg_dir"/con...
krisklau/glued
rules/busybox/default.bash
Shell
gpl-2.0
679
addon_main() { loop_all_plugins plugin_pre_vdr_start }
lucianm/gentoo-vdr-scripts
usr/share/vdr/rcscript/pre-start-95-plugins.sh
Shell
gpl-2.0
57
# If upgrading from before 2.4.0 if [[ $1 < '2.4.0' ]] then /sbin/restorecon -i -R /etc/httpd/conf.d/pulp.conf /sbin/restorecon -i -R /etc/pulp /sbin/restorecon -i -R /etc/pki/pulp /sbin/restorecon -i -R /srv/pulp /sbin/restorecon -i -R /usr/bin/pulp-admin /sbin/restorecon -i -R /usr/bin/pulp-co...
mhrivnak/pulp
server/selinux/server/relabel.sh
Shell
gpl-2.0
656
#!/bin/bash livecd-iso-to-disk --format --reset-mbr --ks install.ks --label CentOS7XSCE "$@"
tim-moody/xsce
installer/netinstall/CentOS-7/alter.sh
Shell
gpl-2.0
93
#!/bin/bash PATH=$PATH:..:../../deps/shunit2-2.1.6/src export PATH function _setUp() { echo "PATH=$PATH" echo "PGHOME=$PGHOME" echo "PGDATA=$PGDATA" ps auxx > setUp.log } function testProcStat001() { OUT=${_SHUNIT_TEST_}.out pt-proc-stat --help > $OUT cat<<EOF >${_SHUNIT_TEST_}.expected...
uptimejp/postgres-toolkit
tests_cli/test-pt-proc-stat.sh
Shell
gpl-2.0
1,876
make_exclude_list_mydroid() { local i exclude_components exclude_list exclude_components='clang/darwin-x86* misc/darwin-x86* gcc/darwin-x86* gcc/linux-x86/mips gcc/linux-x86/x86 gcc/linux-x86/aarch64 tools/darwin-x86* python/darwin-x86* sdk/tools/darwin-x86* misc/android-mips* android-emulator/darwin-x86_64 s...
panruochen/dragoneye
rarely-used/pack-it.bash
Shell
gpl-2.0
1,437
## var ## Check if is a number. ## ## Params: ## var: Variable to check if is a number. ## ## Return: 0 if variable is a number, 1 if variable is not a number. local var="$1" if [[ "${var}" =~ ^[0-9]+$ ]]; then return 0 fi return 1
reduardo7/hsabx
src/utils/is-number.sh
Shell
gpl-2.0
239
#!/bin/sh # Environment variables for the Qt package. # # It's best to use the generic directory to avoid # compiling in a version-containing path: if [ -d /usr/lib/qt ]; then QT4DIR=/usr/lib/qt else # Find the newest Qt directory and set $QT4DIR to that: for qtd in /usr/lib/qt-* ; do if [ -d $qtd ]; then ...
Ponce/current-source
l/qt/profile.d/qt4.sh
Shell
gpl-2.0
561
#!/bin/sh # # mkfs_test -o <outdir> -d <device> # usage() { echo "usage: ${MKFS_TEST} -o <outdir> -d <device> -m <mountpoint>" echo " -o output directory for the logs" echo " -d device" echo " -m mountpoint" exit 1 } verify_sizes() { if [ "$#" -lt "4" ] ; then echo "ve...
pibroch/ocfs2-test
programs/mkfs-tests/mkfs-test.sh
Shell
gpl-2.0
13,403
#! /bin/sh # # USB Controller Gadget Daemon (sprinkler.sh) # Copyright (C) 2012 Mickey Malone <mickey.malone at 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 Foundation, either version 3...
evinrude/controller-gadget-kmod
daemon/sprinkler.sh
Shell
gpl-2.0
1,630
#!/usr/bin/env bash sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install libc6:i386
NoviceLive/unish
bin/multiarch.sh
Shell
gpl-3.0
122
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=GNU-Linux-x86 CND_CONF=Debug_Linux CND_DISTDIR=dist CND_BUILDDIR=build NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/libskyfire.a OUTPUT_BA...
daneren2005/Skyfire
nbproject/Package-Debug_Linux.bash
Shell
gpl-3.0
1,443
################################################################################kjkj # PATHS ################################################################################ ngsphyPATH="$HOME/git/ngsphy/" CURRENT_DIR="$(pwd)" CASE_NAME="test2" MYRANDOMNUM=50426717 GATK="$HOME/apps/gatk/3.8-0-ge9d806836/GenomeAnalysisTK...
merlyescalona/ngsphy
manuscript/supp.material/scripts/supp.test2.sh
Shell
gpl-3.0
12,554
cd src zip -r ../ContactLost.love *
WilliamBundy/contact-lost-ld26
package.sh
Shell
gpl-3.0
36
#!/bin/sh set -e aclocal autoconf libtoolize -q --force --copy automake --add-missing --copy echo You may now run ./configure
tavianator/dimension
autogen.sh
Shell
gpl-3.0
128
#!/bin/bash # Usage: # bash scripts/train.sh GPU_ID NET DATA CONFIG # # Example: # bash scripts/train.sh 0 inception_v3 cancer_not_annotated cfg2 # bash scripts/train.sh 0 vgg16 cancer_not_annotated cfg1 set -x set -e export PYTHONUNBUFFERED="True" GPU_ID=$1 NET=$2 DATA=$3 CONFIG=$4 LOG="logs/cancer_diagnosis_${NET...
DuJiajun1994/CancerDiagnosis
scripts/train.sh
Shell
gpl-3.0
536
#!/bin/bash python AnalyzeSimulation.py --paralog1 YLR333C --paralog2 YGR027C --simnum 85 > YLR333C_YGR027C_MG94_nonclock_Sim85_PrintScreen.txt
xjw1001001/IGCexpansion
Simulation/ShFiles/MG94_YLR333C_YGR027C_sim85.sh
Shell
gpl-3.0
145
#!/bin/bash # -*- coding: utf-8 -*- # author: maxime déraspe # email: maximilien1er@gmail.com # download files from web site function download_files() { release=$(date +%Y-%m-%d) out_dir="" if [ -z $1 ] then outdir=cog_$release else outdir=$1/cog_$release fi mkdir -p $o...
zorino/bacterialDB-fetcher
db-scripts/cog.sh
Shell
gpl-3.0
857
#!/usr/bin/env bash # Usage: dump-termsets.sh gapt-testing.jar path/to/TSTP/Solutions path/to/output/termsets/ set -e gapt_testing_jar=`readlink -f $1` tstp_solutions_dir=`readlink -f $2` output_dir=$3 mkdir -p $output_dir cd $output_dir echo -n >input_proofs for seq_name in \ LinearExampleProof \ LinearEqExam...
gapt/gapt
testing/dump-termsets.sh
Shell
gpl-3.0
1,229
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=GNU-Linux CND_CONF=Release CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=so NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/libsmt-lib.${C...
oRatioSolver/o-ratio
smt-lib/nbproject/Package-Release.bash
Shell
gpl-3.0
1,503
#!/bin/bash rm -f storage/smoke/test_large.bin rm -f storage/smoke/test1.txt test -d storage/smoke && rmdir storage/smoke rm -f metadata/8732d71b-077e-49ed-9222-b1177280de1e rm -f NOTIFICATION rm -f run-job.log rm -f scheduler.log rm -f storage.log rm -f metaman.log
xuanhan863/bakapy
acceptance/test_run_job_smoke/clean.sh
Shell
gpl-3.0
268
#!/bin/sh # File: test-mtn2svn-dir-rename-delete1.sh # needs: test-mtn2svn.include # # Test converting revisions from Monotone to Subversion and back to Monotone again. # Special: Remove directory after moving files from there. # Tailer needs to rename file first, than remove directory! # A more complexe testing scri...
lelit/tailor
test-scripts/test-mtn2svn-dir-rename-delete1.sh
Shell
gpl-3.0
2,223
#!/bin/bash # Demonstrate bash scopes. INSTRUCTOR='Jerry' # we have access to the global scope in a function get_instructor1() { echo $INSTRUCTOR } # **will** modify the value in the global scope get_instructor2() { INSTRUCTOR='Jerry' } # will NOT modify the value in the global scope get_instructor3() { local IN...
qjcg/shell-examples
scopes.sh
Shell
gpl-3.0
613
#!/bin/bash set -e pegasus_lite_version_major="4" pegasus_lite_version_minor="7" pegasus_lite_version_patch="0" pegasus_lite_enforce_strict_wp_check="true" pegasus_lite_version_allow_wp_auto_download="true" . pegasus-lite-common.sh pegasus_lite_init # cleanup in case of failures trap pegasus_lite_signal_int INT trap...
elainenaomi/sciwonc-dataflow-examples
dissertation2017/Experiment 2/logs/w-11_2/20170127T025143+0000/00/00/sessioncompute_5_ID0000008.sh
Shell
gpl-3.0
1,228
#!/bin/bash #BSUB -J "snp[1-28]" #BSUB -q normal ##BSUB -W 4:00 #BSUB -o output.%I #BSUB -e error.%I WD=/lustre/scratch116/casm/cgp/users/tn5/julia/fixvsnonfix cd $WD BAM=`ls bams/*.bam | head -n $LSB_JOBINDEX | tail -n 1` SAMPLE=`basename $BAM | sed 's/.bam//'` /nfs/users/nfs_t/tn5/apps/samtools/samtools view $BAM...
TravisCG/SI_scripts
total.sh
Shell
gpl-3.0
352
# Build script for High Fidelity VR Platform - Debian 10 (Buster / Testing) edition. # (c) 2017 J.C.L -- aka the virtual persona, Omega Heron. # GPL 3.0 # # No support will be given, use at your own risk and read all instructions before using. # # If you would like to improve this script then by all means offer a pull...
OmegaHeron/hifi-buildscripts
buster/buster_buildhf.sh
Shell
gpl-3.0
5,009
#!/bin/sh # script file for running the Calibre2Opds program in CLI mode on Unix-like systems # such as Linux and Mac. c2o_jar=OpdsOutput-3.6-SNAPSHOT.jar # We set Java VM stack limits explicitly here to get consistency across systems # # -Xms<value> define starting size # -Xmx<value> defines maximum size # -Xss<val...
calibre2opds/calibre2opds
script/run.sh
Shell
gpl-3.0
1,102
#!/bin/sh # # Copyright (C) 2014, 2015 Internet Systems Consortium, Inc. ("ISC") # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS ...
krichter722/bind9
bin/tests/system/sit/tests.sh
Shell
gpl-3.0
3,663
#!/bin/sh # Get the script's source directory DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" JAVA=`which java 2>/dev/null` $JAVA -Xmx2G -jar "${DIR}/vlo-statistics-${project.version}.jar" "$@"
acdh-oeaw/vlo-curation
vlo-statistics/src/bin/start.sh
Shell
gpl-3.0
215
#!/bin/bash -x echo "CREATE TABLE gi_taxid_prot (gi integer PRIMARY KEY, tax_id integer);" | sqlite3 vhunter.db echo -e '.separator "\t"\n.import /scratch/dwlab/databases/taxdump_20160802/gi_taxid_prot.dmp gi_taxid_prot\n'| sqlite3 vhunter.db
guoyanzhao/VirusSeeker-Virome
build_db_gi_taxid_prot.sh
Shell
gpl-3.0
244
export GOPATH=$ZSH_CACHE/go export GO111MODULE=on export GOPROXY=https://goproxy.io,direct export GOSUMDB=gosum.io+ce6e7565+AY5qEHUk/qmHc5btzW45JVoENfazw8LielDsaI+lEbq6 # export GOPRIVATE=*.corp.example.com # godoc color export GODOCC_STYLE='native' export PATH=$GOPATH/bin:$PATH
wow4me/.zshrc.d
plugins/go.plugin.zsh
Shell
gpl-3.0
282
#!/usr/bin/env bash # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in t...
WorMzy/converttousrbin
converttousrbin.sh
Shell
gpl-3.0
1,245
#!/usr/bin/env bash # This file is part of The RetroPie Project # # The RetroPie Project is the legal property of its developers, whose names are # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. # # See the LICENSE.md file at the top-level directory of this distributio...
MarcLandis/RetroPie-Setup
scriptmodules/libretrocores/lr-yabause.sh
Shell
gpl-3.0
1,335
docker run --rm --name pg -e POSTGRES_PASSWORD=password -e POSTGRES_USER=oxycoin -e POSTGRES_DB=oxycoin_db_main -p 5432:5432 postgres:9.6-alpine
Oxycoin/oxy-node
.devutils/startdb.sh
Shell
gpl-3.0
146
#!/bin/bash set -e pegasus_lite_version_major="4" pegasus_lite_version_minor="7" pegasus_lite_version_patch="0" pegasus_lite_enforce_strict_wp_check="true" pegasus_lite_version_allow_wp_auto_download="true" . pegasus-lite-common.sh pegasus_lite_init # cleanup in case of failures trap pegasus_lite_signal_int INT trap...
elainenaomi/sciwonc-dataflow-examples
dissertation2017/Experiment 2/instances/4_wikiflow_1sh_1s_noannot/dags/ubuntu/pegasus/example_workflow/20170121T145937+0000/00/00/longestsession_0_ID0000004.sh
Shell
gpl-3.0
1,228
#!/bin/bash ./run.sh -example.1 greedy
losvald/pco
data/example1-greedy.sh
Shell
gpl-3.0
39
#!/usr/bin/perl open($file,"<","./test") || die $!; while (<$file>) { $_ =~ /(\d+)/; $number = $1; $number = qx(doz $number); chomp($number); $line = $_; $line =~ s/\d+/$number/; print $line; }
dgoodmaniii/dozenal-droid
DozcalDroid/jni/calendar/convert.sh
Shell
gpl-3.0
202
#!/bin/bash # This script is used to initiate a multi part upload on AWS Glacier. It # requires the name of the Glacier vault and the name of the file to be # uploaded in that vault. It returns the upload id. Upload chunk size is set # to 8388608 bytes (i.e. 8 MB) as a good compromise between fewer chunks but # also t...
chggr/scripts-config
aws/glacier/init-upload.sh
Shell
gpl-3.0
666
#!/bin/sh DIR=`dirname $0` ${DIR}/why3ml -P alt-ergo -a split_goal $1 -o $2 echo "on fait une erreur expres" exit 2
zoggy/genet
draft/proval/why3_split.sh
Shell
gpl-3.0
117
#!/bin/bash # author hsing.li # 处理输出的长日志,将输出的日志放到文件xx中,用此脚本处理文件,xx_deal.txt中得到处理后的数据 # 若windows下无法运行,请安装git bash echo "Start processing the file $1..." > "$1""_deal.txt" # clean file # traverse file while read LINE do echo $LINE # regular='^[0-1]\d-[0-3]\d\s\d{2}:\d{2}:\d{2}.\d{3}\s\S+\s[VDIWEA]\S+:\s$' re...
styletodo/llog
processinglog.sh
Shell
gpl-3.0
807
#!/usr/bin/env bash XSOCK=/tmp/.X11-unix while getopts :e:x: option do case "${option}" in e) EXTENSION=${OPTARG};; x) XRESOURCES=${OPTARG};; *) echo $option;; esac done if [ $OPTIND -eq 1 ]; then echo "No options were passed"; exit 1; fi xhost +local:; docker pull jeansen/cdmn_docker 2>/dev/null [[ $(uname...
Jeansen/cdmn
resources/test/run.sh
Shell
gpl-3.0
714
#!/bin/bash coreSlideshow.sh -s mpv -b rating "$@"
QSaman/BashScripts
Multimedia/Slideshow/videoplaylist.sh
Shell
gpl-3.0
52
#! /usr/bin/env bash set -euo pipefail # first makes some assertions about the environment and set some shared # variables before starting the script. if ! command -v jq > /dev/null 2>&1; then echo "This script requires jq to work properly." exit 1 fi PRODUCT_NAME="${PRODUCT_NAME:-""}" if [ -z "$PRODUCT_NAME" ]; ...
dave2/packer
scripts/codesign_example.sh
Shell
mpl-2.0
5,023
#!/bin/bash echo "Removing upload files..." rm -rf /tmp/data echo "Removing leftover leases and persistent rules..." rm /var/lib/dhcp/* echo "Making sure Udev doesn't block our network..." rm /etc/udev/rules.d/70-persistent-net.rules mkdir /etc/udev/rules.d/70-persistent-net.rules rm -rf /dev/.udev/ rm /lib/udev/rul...
ImpressCMS/packer-impresscms-devbox
scripts/cleanup.sh
Shell
mpl-2.0
485
#!/usr/bin/bash mysql -- tables USE audit; source /var/www/webroot/radicore/audit/sql/mysql/audit-schema.sql USE dict; source /var/www/webroot/radicore/dict/sql/mysql/dict-schema.sql USE menu; source /var/www/webroot/radicore/menu/sql/mysql/menu-schema.sql USE workflow; source /var/www/webroot/radicore/workflow/sql/...
apmuthu/radicore
utils/create_tables.sh
Shell
agpl-3.0
1,956
#!/bin/bash ./makeWordList.sh && ./sortWordList.js && \ # ./wordListTrans.js &&\ ( ./transWordPhon.js & ./transWordUnique.js ); wait && \ ./rootWordPhon.js && \ ./transAllLists.js
elspru/spel
src/vocab/gen/genAll.sh
Shell
agpl-3.0
181
#!/bin/sh pip install --upgrade pip pip install --upgrade pylint pip install --upgrade -v -r requirements.txt pip install --upgrade django-authopenid export SECRET_KEY='coin' ./authentic2-ctl syncdb --noinput --all ./authentic2-ctl migrate --fake ./authentic2-ctl validate (pylint -f parseable --rcfile /var/lib/jenkins...
pu239ppy/authentic2
jenkins.sh
Shell
agpl-3.0
381
#!/bin/bash shopt -s extglob FILES_IMPORT_1="PPN-DaKaR-ZS-Reihen_1_Import_table*.csv" FILE_IMPORT_2="PPN-DaKaR-ZS-Reihen_2_Import_table1.csv" FILE_IMPORT_3="PPN-DaKaR-ZS-Reihen_3_Import_table1.csv" TMPDIR="./all_tables" CONVERT_TO_K10PLUS_PPN_FILE="PPN-DaKaR-ZS-Reihen_1_Import.csv" #Convert to UTF-8 CSV-File for fi...
ubtue/ub_tools
cpp/dakar_tools/generate_find_of_discovery_mappings.sh
Shell
agpl-3.0
916
#! /bin/sh # Assumes the script is executed in the /path/to/scripts/data/ directory # and the sources have been compiled in a bin directory also located # in the /path/to/scripts/data directory java -cp bin:"lib/*" org.akvo.gae.remoteapi.RemoteAPI CorrectFolderSurveyPath $1 "$2" "$3" $4
akvo/akvo-flow
scripts/data/correct_folder_survey_path.sh
Shell
agpl-3.0
290
#!/bin/sh echo ========== Set Up Environment ========== echo NGINX_HOME is $NGINX_HOME
DreamInSun/cyan.img.Nginx
shell/ulimit.sh
Shell
agpl-3.0
87
#!/bin/bash set -e php -r ' $dbhost = @$_ENV["DB_HOST"] ?: "db"; $dbname = @$_ENV["DB_NAME"] ?: "mapas"; $dbuser = @$_ENV["DB_USER"] ?: "mapas"; $dbpass = @$_ENV["DB_PASS"] ?: "mapas"; $pdo = null; echo "\naguardando o banco de dados subir corretamente..."; while(true){ try { $pdo = new PDO("pgsql:host={$...
hacklabr/mapasculturais
compose/entrypoint.sh
Shell
agpl-3.0
1,176
#!/bin/sh resources="icon.bmp picture.xbm sail.bmp sample.bmp sample.wav utf8.txt player.bmp" for source in *.c do # is a test if it's executable (and not testnative cause it isn't ported) if grep -q main $source && ! echo $source | grep testnative then local project=`echo $source | sed -e 's/.c$//'` tests=`e...
cebash/SDL_PSL1GHT
test/script.sh
Shell
lgpl-2.1
1,393
#!/bin/bash export SCRIPT_DIR=$(dirname $(readlink -f ${BASH_SOURCE:-$0})) #未コミットの変更があったら何もしない if [ ! -z "$(git status --porcelain)" ]; then echo Reposity is not clean. exit 1 fi cd $SCRIPT_DIR git rm -r MSYS2Private git clone https://github.com/eighttails/MSYS2Private.git rm -rf MSYS2Private/.git* git add MSYS2Pri...
eighttails/PC6001VX
win32/syncMSYS2Private.sh
Shell
lgpl-2.1
400
#! /bin/ksh # Script : Ca_Va.sh # Description : Dit si ça va bien # ID DECLENCHE : va ############################################################# # VARIABLES ############################################################# ############################################################# # DIFFUSION DE LA REPONSE #######...
kimous/Jarvis
plugins/Ca_Va.sh
Shell
lgpl-3.0
564
#!/bin/bash #image name IMAGE_NAME="knetminer-pig-dev" # current $SPECIES_DIR. SPECIES_DIR=`pwd | rev | cut -d '/' -f1 | rev` #copy .dockerignore-template and .gitignore settings. cd ../.. cp .dockerignore-template .dockerignore cat .gitignore >> .dockerignore # add all species/ sub-folders to .dockerignore except ...
KeywanHP/KnetMiner
species/pig/build-docker-dev.sh
Shell
lgpl-3.0
1,397
#!/bin/bash ############################################ ### This provided as an example ### To properly copy your resolv.conf before ### and after connection to VPN, we run ### the docker container in the foreground ### ### If you prefer to put the container in the ### background, with "docker run -d" then ### you...
guruvan/docker-openvpn-client
host-startup/run-openvpn-client-cli.sh
Shell
unlicense
1,000