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 RED="\033[1;31m" YELLOW="\033[1;33m" GREEN="\033[1;32m" RESET="\033[m" SCRIPT=./overflow PORT=13579 if sudo tcpserver -H -R -c 10 0.0.0.0 $PORT $SCRIPT 2>&1 | grep "unable to bind" > /dev/null; then printf "${RED}ERROR! Port ${PORT} is already in use!${RESET}\n" fi
james9909/IntroCTF
problem-static/Intro-Overflow_50/admin/server.sh
Shell
mit
285
# # scripts/function/munge_path.sh # # shellcheck shell=bash # vi: set ft=bash # # source once and only once! [[ ${GVM_MUNGE_PATH:-} -eq 1 ]] && return || readonly GVM_MUNGE_PATH=1 # load dependencies dep_load() { local srcd="${BASH_SOURCE[0]}"; srcd="${srcd:-${(%):-%x}}" local base="$(builtin cd "$(dirname "...
markeissler/gvm2
scripts/function/munge_path.sh
Shell
mit
3,770
#!/bin/sh #faceswap then apply style ./execution/swapface2.sh ; ./execution/apply_style2.sh
pinkblock/rotoscoping
put_it_all_together.sh
Shell
mit
93
#!/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...
AleksanderKoko/WikimediaCommonsApi
Example/Pods/Target Support Files/Pods-WCApi_Example/Pods-WCApi_Example-frameworks.sh
Shell
mit
3,889
#!/bin/bash # See the file "license.terms" for information on usage and redistribution of # this file, and for a DISCLAIMER OF ALL WARRANTIES. unset USERNAME PASSWORD arg_rest cookies unset wikiname urlname baseurl xmlfile gvfile fdpfile dotfile twopifile depth from to unset fdpratio color exclude regexclude excludesu...
Joe136/createSiteMap
createSiteMap.sh
Shell
cc0-1.0
15,262
#! /bin/bash # a script for building all of the various MWA_Tools.. tools # this should probably be a ./configure thingy but we just scientists and can't have nice things #DJACOBS ## #To point to your own CFITSIO set the the CFITSIO environment variable to #the root prefix of the library. eg #if you have /usr/local/li...
ryandougherty/mwa-capstone
MWA_Tools/make_MWA_Tools.sh
Shell
gpl-2.0
1,822
# psql --username=postgres -W -h localhost -f create_rongo_db.sql psql --username=postgres -W -h localhost --dbname=rongo -f create_rongo_schema.sql
akxs14/rongo
pure_node_prototype/db/create_db.sh
Shell
gpl-2.0
149
#!/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH # Check if user is root if [ `id -u` -ne 0 ] then echo "please run it by root" exit 0 fi LAMP_Stack() { cur_dir=$(pwd) # Installing Software Updates apt-get update apt-get upgrade --show-upgraded #https://www.linode.c...
zp1214/vps
install/inlude/lamp.sh
Shell
gpl-2.0
3,238
#!/bin/bash # reboot_droidboot.sh # # Función que permite reiniciar en modo Droidboot/Fastboot #~ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # A TINY CLI TOOL FOR GNU/LINUX BASH VERSION 1.0.0 # # Developer : Erick Carvajal Rodriguez # Contact : http://twitter.com/neocarvajal && ht...
neocarvajal/TR10-TOOL
FUNCTIONS/3-reboot_droidboot.sh
Shell
gpl-2.0
3,508
#!/bin/bash rev=r`svn info|grep ^Revision|sed "s,^Revision: ,,"` cp -p lecturer_tomtom Lecturer/lecturer arm-linux-strip Lecturer/lecturer rm -f lecturer-$rev.zip 7z a -tzip '-xr!.svn' '-x!*/text/*' '-x!*/conf' lecturer-$rev.zip SDKRegistry Lecturer
okyesyesyes/lecturer
zip.sh
Shell
gpl-2.0
250
#!/bin/sh BASE=$(basename $0) TMP=/tmp/${BASE}.$$ set -e mkdir ${TMP} cd ${TMP} git clone git://anongit.freedesktop.org/pkg-config STATUS=$? ; if [ $STATUS != 0 ] ; then exit $STATUS ; fi cd pkg-config sed -e 's/m4_copy/m4_copy_force/' -i glib/m4macros/glib-gettext.m4 autoreconf -i ./configure --prefix=/usr/local ...
FozzTexx/viddin
docker/install-pkg-config.sh
Shell
gpl-2.0
545
#!/bin/sh # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh # # Licensed under the GPLv2 # # Copyright 2008-2012, Red Hat, Inc. # Harald Hoyer <harald@redhat.com> if [ ! -e /sys/module/block/parameters/events_dfl_poll_msecs ]; then # if the kernel does no...
zfsonlinux/dracut
modules.d/98pollcdrom/pollcdrom.sh
Shell
gpl-2.0
745
#!/bin/sh sed -i "s/onie_machine=.*/onie_machine=pegatron_fb6256_bnb/g" /etc/machine.conf sed -i "s/onie_machine_rev=.*/onie_machine_rev=0/g" /etc/machine.conf sed -i "s/onie_platform=.*/onie_platform=x86_64-pegatron_fb6256_bnb-r0/g" /etc/machine.conf onie-syseeprom -f -s 0x21=FB6256_BNB onie-syseeprom -f -s 0x27=pegat...
opencomputeproject/onie
machine/pegatron/pegatron_common_bde/rootconf/sysroot-lib-onie/force2jaguar.sh
Shell
gpl-2.0
738
## [*] ## Check if running as ROOT, or exit from script. ## ## Params: ## *: {String} Message. ## Optional. Default: "This script must be run as root!". if ! @is-root ; then local message="${*:-This script must be run as root!}" @error "$message" fi
reduardo7/hsabx
src/utils/root-validator.sh
Shell
gpl-2.0
262
#! /bin/bash cd /home/vagrant sudo -u vagrant git clone https://github.com/McStasMcXtrace/McCode.git --depth=1 --recurse-submodules sudo -u vagrant tar xzf McCode/support/Win32/Wine/dotwine.tgz # Hack to allow calling wine without errors ln -s /home/vagrant/.wine /root/.wine chmod a+rx /root rm /home/vagrant/.wine...
markusappel/McCode
Vagrant/Win32_via_Ubuntu_McStas/provision/mcstas.sh
Shell
gpl-2.0
460
#! /bin/sh $XGETTEXT `find . -name '*.cpp' -o -name '*.h'` -o $podir/libgrantleetheme.pot rm -f rc.cpp
kolab-groupware/kdepim
grantleetheme/Messages.sh
Shell
gpl-2.0
103
#!/bin/bash /vagrant/projects/api/manage.py runserver 0.0.0.0:8000
Atlantic777/liberator-api
bin/runserver.sh
Shell
gpl-2.0
68
convert images/OCS-249-A.png -crop 1503x4520+69+299 +repage images/OCS-249-A.png # # #/OCS-249.png convert images/OCS-249-B.png -crop 1577x4526+18+291 +repage images/OCS-249-B.png # # #/OCS-249.png
jonnymwalker/Staroslavjanskij-Slovar
scripts/cropedges.OCS-249.sh
Shell
gpl-2.0
198
#/usr/bin/env sh bmn-mgrast.py -t scan "*phage" -so starphage.tsv bmn-mgrast.py -t scan "*viral" -so starviral.tsv bmn-mgrast.py -t scan "*virome" -so starvirome.tsv bmn-mgrast.py -t scan "*virus" -so starvirus.tsv bmn-mgrast.py -t scan "virome" -so virome.tsv bmn-mgrast.py -t scan "vir*" -so virstar.tsv bmn-mgrast.py ...
alunem/bioman
mgrast/retrieveViromes.sh
Shell
gpl-2.0
737
#!/bin/sh # Copyright (c)2008 CUBE S.p.A. # # Author: Andrea Mistrali <andre@cubeholding.com> # Description: Create a new svn repository, fix permissions and create standard structure # # $Id$ if [ $# -lt 1 ]; then echo Syntax: `basename $0` "<repositoryName>" exit 2 fi mkdir $1 svnadmin create $1 chgrp ...
akelge/utils
svnUtils/addRepo.sh
Shell
gpl-2.0
566
#!/bin/sh # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh # NFS root might have reached here before /tmp/net.ifaces was written udevadm settle --timeout=30 if [ -e /tmp/bridge.info ]; then . /tmp/bridge.info fi mkdir -m 0755 -p /tmp/ifcfg/ mkdir -m 07...
zfsonlinux/dracut
modules.d/45ifcfg/write-ifcfg.sh
Shell
gpl-2.0
7,884
#!/bin/sh export KERNELDIR=`readlink -f .` export RAMFS_SOURCE=`readlink -f $KERNELDIR/../boeffla-ramdisk` export PARENT_DIR=`readlink -f ..` export USE_SEC_FIPS_MODE=true CROSS_COMPILE=$PARENT_DIR/android_prebuilt/linux-x86/toolchain/toolchains/arm-eabi-4.4.3/bin/arm-eabi- if [ "${1}" != "" ];then export KERNELDIR=...
ausdim/boeffla-kernel-jb-u8-s3_m3
build_kernel.sh
Shell
gpl-2.0
1,666
#! /usr/bin/env bash $XGETTEXT *.cpp *.h -o $podir/kmenuapplet.pot
jschwartzenberg/kicker
kicker/applets/menu/Messages.sh
Shell
gpl-2.0
67
#!/bin/sh set -e dockerns=ncar # namespace on docker.io if [ $# -lt 1 ]; then echo "Usage: $0 [-n] [-p] release -n: don't install local EOL packages, in case they don't exist yet -p: push image to docker.io/$dockerns. You may need to do: podman login docker.io for example: $0 bionic" exit 1 fi...
ncareol/nidas
scripts/docker/build_vortex_docker.sh
Shell
gpl-2.0
1,047
./tags.pl < tree.txt > tags.sql ./mysql.sh < create.sql ./mysql.sh < tags.sql ./mysql.sh < scenarios.sql ./mysql.sh < scenario_tag.sql ./mysql.sh < stored_procedures.sql
acculitx/fleetmatrixsite
tree/sql/run.sh
Shell
gpl-2.0
170
#! /bin/bash TDIR=`pwd` function dump_version() { echo -n "$1: " javap -v $1 | grep 'major version' } function dump_versions() { cd $1 #dump_version jogamp.common.Debug for i in `find . -name '*.class'` ; do dump_version `echo $i | sed -e 's/\//./g' -e 's/\.class//g'` done cd $TDIR...
xranby/jake2
scripts/check-java-major-version.sh
Shell
gpl-2.0
465
#!/bin/bash # This script takes the first argument and converts it from nodeX to # node-ibX, where X is assumed to be trailing numbers. # # This could be set in MAGPIE_HOSTNAME_CMD_MAP or # MAGPIE_HOSTNAME_SCHEDULER_MAP. if [ -n "$1" ] then host=$1 prefix=`echo $host | sed 's/[0-9]//g'` suffix=`echo $host...
bpanneton/magpie
scripts/hostname-map-scripts/magpie-hostname-map.sh
Shell
gpl-2.0
395
#!/bin/sh # ## Copyright (C) 1996-2016 The Squid Software Foundation and contributors ## ## Squid software is distributed under GPLv2+ license and includes ## contributions from numerous individuals and organizations. ## Please see the COPYING and CONTRIBUTORS files for details. ## # # This script contains the code ru...
Distrotech/squid
scripts/source-maintenance.sh
Shell
gpl-2.0
8,334
#!/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 # NOTE: anaconda historically activated all the fancy disk devices itself, # an...
Sabayon/anaconda
dracut/parse-anaconda-options.sh
Shell
gpl-2.0
4,537
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2009-2018 Mike Shal <marfey@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distribu...
jonatanolofsson/tup
test/t7013-move-dir4.sh
Shell
gpl-2.0
1,106
#!/bin/bash # Copyright Johns Hopkins University (Author: Daniel Povey) 2012. Apache 2.0. # Copyright 2017 Vimal Manohar # This script produces CTM files from a decoding directory that has lattices # present. # This is similar to get_ctm.sh, but gets the # CTM at the utterance-level. # begin configuration section...
michellemorales/OpenMM
kaldi/egs/wsj/s5/steps/cleanup/internal/get_ctm.sh
Shell
gpl-2.0
2,819
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_CONF=C18_18F46K20 CND_DISTDIR=dist TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/blink.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} OUTPUT_BASENAME=blink.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}...
artnavsegda/picnavsegda
mplabx/pic18/blink.X/nbproject/Package-C18_18F46K20.bash
Shell
gpl-3.0
1,362
source bin/install_php_composer.sh cd server/ php ../bin/composer.phar create-project slim/slim-skeleton gomap-api cd gomap-api/ echo "<?php phpinfo() ?>" >public/cginfo.php sudo chown www-data:users logs/* php -S 0.0.0.0:9090 -t public public/index.php
lao-tseu-is-alive/gomap
bin/init_php_slim_rest_api_framework.sh
Shell
gpl-3.0
255
#!/bin/bash # install consul sudo su
ynu/consul
setup-consul.sh
Shell
gpl-3.0
39
#!/bin/sh # mysql --user=civs --password=1234 < civs.sql mysql --user=civs --password=1234 < civs_data.sql
MikolaSenyk/civs
core/src/main/sql/mysql/database_init.sh
Shell
gpl-3.0
109
#!/bin/bash # Copyright © 2013, 2014, Travis Snoozy # # 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 i...
Travis-Snoozy/AffordableHomeAutomation
build-functions.sh
Shell
gpl-3.0
1,965
#!/bin/sh # Blackbox tests for the samba_upgradedns # Copyright (C) 2006-2007 Jelmer Vernooij <jelmer@samba.org> # Copyright (C) 2006-2012 Andrew Bartlett <abartlet@samba.org> if [ $# -lt 4 ]; then cat <<EOF Usage: test_samba_upgradedns.sh SERVER REALM PREFIX PROVDIR EOF exit 1; fi SERVER=$1 REALM=$2 PREFIX=$3 PROVDI...
kernevil/samba
testprogs/blackbox/test_samba_upgradedns.sh
Shell
gpl-3.0
1,502
#!/bin/bash # CCDC Linux server hardening script set for Logan Defenders 2017 # # Copyrighted: Jerry Scott Ross (jsross33@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, ...
jsross33/JALC
scripts/3_sources/ubuntu_2_purge.sh
Shell
gpl-3.0
1,070
#!/bin/sh # If we find foo.in.h in .gitignore (added by gnulib), also add foo.h. find . -name .gitignore -print0 | xargs -r0 sed -i 's/^\(.*\)\.in\.h$/\1.in.h\n\1.h/'
d5h/rmfd
regen-ignored.sh
Shell
gpl-3.0
168
#!/bin/bash cd ${1}/ mem=$(($(($(grep MemTotal /proc/meminfo | awk '{print $2}') / 1000000))-5)) thr=$(($(grep -c ^processor /proc/cpuinfo)-1)) npools=5 nTOT=0 #cat individual fasta per pool # HAPLOIDS 1 & 2: for i in $(seq $npools) do npool=$(cut -d$'\t' -f1 Simulated_Lolium_perenne_PHENOTYPES_POOLED.index | grep ${...
jeffersonfparil/GTWAS_POOL_RADseq_SIM
BACKUP_SCRIPTS_20170930/simulateRADseq.sh
Shell
gpl-3.0
7,723
mkdir submission-dev #### anger ######## python tweets_to_arff.py data/anger-ratings-0to1.train.txt data/anger-ratings-0to1.train.arff python tweets_to_arff.py data/anger-ratings-0to1.dev.target.txt data/anger-ratings-0to1.dev.target.arff java -Xmx20G -cp $HOME/weka-3-8-1/weka.jar weka.Run weka.classifiers.met...
felipebravom/EmoInt
codalab_dev_baseline.sh
Shell
gpl-3.0
5,327
#!/bin/sh set -e [ -z "${CIVICRM_VERSION}" ] && echo "Missing CIVICRM_VERSION!" && exit 1 [ -z "${CIVICRM_SHA256}" ] && echo "Missing CIVICRM_SHA256!" && exit 1 [ -z "${CIVICRM_L10N_SHA256}" ] && echo "Missing CIVICRM_L10N_SHA256!" && exit 1 cd /var/www/html/sites/all/modules curl -fSL "https://storage.googleapis...
ypcs/docker
images/civicrm/download.sh
Shell
gpl-3.0
808
#!/bin/bash mvn -v mvn -X -e clean compile javadoc:javadoc package
Songbird0/survival-dev-kit
build.sh
Shell
gpl-3.0
68
#!/bin/bash ############################################################################# # ./build.sh # ./build.sh [CPU] # ./build.sh 8 (with debug) # ./build.sh [CPU] [NODEBUG, true=1 false=0(default)] # ./build.sh 8 1 (no debug) ############################################################################# CPUS=2 NOD...
lixun910/geodacenter_geoda
BuildTools/centos/build64.sh
Shell
gpl-3.0
15,178
#!/bin/sh # demonstrate that stat - works and stat -f - does not. # Copyright (C) 2009-2018 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 of t...
pexip/os-coreutils
tests/misc/stat-hyphen.sh
Shell
gpl-3.0
1,015
#!/bin/bash # nth-commit.sh # Usage: 'buildnr_to_commit_hash.sh [buildnumber] [branch]' # Based on: http://tgoode.com/2014/06/05/sensible-way-increment-bundle-version-cfbundleversion-xcode/#code GIT=`sh /etc/profile; which git` BUILDNUMBER=${1} BRANCH=${2} if [ -z $BRANCH ]; then echo "Usage:" echo " build...
VoIPGRID/vialer-ios
scripts/buildnr_to_commit_hash.sh
Shell
gpl-3.0
579
#!/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 1B/logs/w-10-B/20161124T153906+0000/00/00/taskevent_8_ID0000014.sh
Shell
gpl-3.0
1,237
mail='itsame@mario.com' # Location of the source code srcdir=$(pwd)/ #Location where to put the executables exes=$(pwd)/exes/ mkdir -p $exes #Location where to put the results outdir=$(pwd)/logs/ mkdir -p $outdir nois=`seq 0.05 0.05 1.0` for noi in $nois ; do exe=topo_n$noi if [ $noi == 0.55 ]; then ...
david-mateo/swarming-spp
examples/order/run_topo_pbs.sh
Shell
gpl-3.0
682
#!/bin/sh CONTAINER_NAME=dotprint docker run --rm -v "$(pwd)":/work ${CONTAINER_NAME} $*
zub2/dotprint
convert.sh
Shell
gpl-3.0
88
#!/bin/bash if [ -d "build" ]; then echo "Cleaning up old build directory" rm -r build fi mkdir build
FilipStenbeck/origins
src/demo/clean.sh
Shell
gpl-3.0
105
#!/bin/sh pkgname=libxfixes pkgver=5.0.3 vcs=git gittag=libXfixes-${pkgver} relmon_id=1775 kiin_make() { ./autogen.sh $XORG_CONFIG --libdir=$LIBDIR make } kiin_install() { make DESTDIR=${pkgdir} install }
alekseyrybalkin/kiin-repo
xorg-lib/libxfixes/package.sh
Shell
gpl-3.0
220
#!/bin/sh gunzip -k linux-4.9.tar.gz unzip -o lzbench-20170808.zip rm -rf lzbench_ mv lzbench lzbench_ cd lzbench_ make echo $? > ~/install-exit-status cd ~ echo "#!/bin/sh cd lzbench_ ./lzbench -t16,16 -v \$@ ../linux-4.9.tar > \$LOG_FILE echo \$? > ~/test-exit-status" > lzbench chmod +x lzbench
phoronix-test-suite/phoronix-test-suite
ob-cache/test-profiles/pts/lzbench-1.0.0/install.sh
Shell
gpl-3.0
301
#!/bin/bash a=2 b=2 if [ $a != $b ]; then echo Hello World fi
LTKills/languages
shell/helloworld.sh
Shell
gpl-3.0
68
#!/bin/sh # post-rewrite is also invoked by amend, so we only want rebase commands if [ $1 == "rebase" ]; then REPO_ROOT=`git rev-parse --show-toplevel` source "$REPO_ROOT/tools/git-hooks/install-hooks.sh" fi;
mph55/lanstation13
tools/git-hooks/post-rewrite-hooks/install-new-hooks.sh
Shell
gpl-3.0
212
# Update the box apt-get -y update apt-get -y full-upgrade apt-get -y install linux-headers-$(uname -r) build-essential apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev apt-get -y install curl unzip # Tweak sshd to prevent DNS resolution (speed up logins) echo 'UseDNS no' >> /etc/ssh/sshd_config # Remov...
siso/packer-templates
scripts/base.sh
Shell
gpl-3.0
669
#!/bin/sh #wait for postgres to start while ! timeout 1 bash -c 'cat < /dev/null > /dev/tcp/pg/5432' >/dev/null 2>/dev/null; do sleep 0.1; done find SnomedCT_RF1Release_* -type f -exec java -jar rsterminology-server.jar --config config.yml --import-rf1 {} ';' #import all the snowmed files java -jar rsterminology-serv...
wardle/rsterminology
docker/rsterminology/docker-entrypoint.sh
Shell
gpl-3.0
523
#!/bin/zsh # change compilation to clang: # http://google-engtools.blogspot.de/2011/05/c-at-google-here-be-dragons.html export CC=clang export CXX=clang++ rm -rf build mkdir build cd build cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX="$HOME/opt/PEnG" .. # run automatic bugfinder for clang: http://c...
soedinglab/PEnG-motif
make.sh
Shell
gpl-3.0
451
#!/bin/bash # toggle state of synaptics touchpad tpid=`xinput list | grep SynPS | sed 's/.*id\=\([0-9]\+\).*/\1/g'` declare -i status status=`xinput list-props ${tpid} | grep Device\ Enabled | sed -e 's/.*\:[ \t]\+//g'` if [ 0 -eq ${status} ]; then xinput enable ${tpid} else xinput disable ${tpid} fi
tukusejssirs/stngs
.scripts/touchpad_toggle.sh
Shell
gpl-3.0
313
# 模块语法测试: # consul-template -consul-addr 192.168.13.169:8500 -template /root/test.ctmpl:/tmp/consul.result -dry -once # 建议使用 supervisord 来托管服务! #!/bin/sh CONSUL="192.168.145.250:8500" HTTP_DIR="/opt/archer" INIT_DIR="/etc/init.d/archer" TEMPLATE_HTTP="/opt/nginx.http.ctmpl:$HTTP_DIR/conf/conf.d/http.conf:$INIT_DIR rel...
shaohaiyang/easyProxy-Consul
8_supervisord_nginx.sh
Shell
gpl-3.0
1,022
#!/bin/sh export GOPATH=$HOME/gobench TESTDIR=$GOPATH/src/golang.org mkdir -p $TESTDIR tar -xf golang-benchmarks-121017.tar.gz -C $TESTDIR cd $TESTDIR mv go-benchmark-04122017/x x cd ~ GOBIN=$PWD go install golang.org/x/benchmarks/... cd ~ echo "#!/bin/sh ./\$@ > \$LOG_FILE echo \$? > ~/test-exit-status" > go-benchma...
phoronix-test-suite/phoronix-test-suite
ob-cache/test-profiles/pts/go-benchmark-1.1.4/install.sh
Shell
gpl-3.0
345
#!/bin/bash python RunBootstrap.py --paralog1 YJL177W --paralog2 YKL180W --bootnum 95 > YJL177W_YKL180W_Boot95_PrintScreen.txt
xjw1001001/IGCexpansion
Bootstrap/ShFiles/MG94_YJL177W_YKL180W_Boot95.sh
Shell
gpl-3.0
128
#!/bin/bash user="" #user de mysql pass="" #contraseña mysql wdb="" #db del mundo sd2db="" #db de lo ScriptDev2 server="localhost" #Servidor mysql port="3306" #Puerto mysql #No tocar archivostc="./TrinityCore/Comunes/" archivosmg="./MaNGOS/Comunes/" archivosytdbtc="./TrinityCore/YTDB/" archivostdb="./TrinityCore/TDB...
joelre/Actualizar-tdb
instalador_linux.sh
Shell
gpl-3.0
4,911
clear echo -------------------------------------------------------------------------------- COLUMNS=$(tput cols) title="DOOM BFA EDITION" printf "%*s\n" $(((${#title}+$COLUMNS)/2)) "$title" COLUMNS=$(tput cols) title="UNIX MakeFile GENERATION FOR x86 - x64" printf "%*s\n" $(((${#title}+$COLUMNS)/2)) "$title" COLUM...
MadDeCoDeR/Classic-RBDOOM-3-BFG
neo/cmake-linux-retail.sh
Shell
gpl-3.0
901
#! /bin/sh infile=$1 shift opts=$* p2x -p ../../examples/configs/default $opts $infile > res.xml xsltproc -o res.txt ../../src/xsl/parens.xsl res.xml cat res.txt #rm res.txt res.xml
rainac/p2x
tests/sh/dpparse.sh
Shell
gpl-3.0
183
#!/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 1B/logs/w-08-A/20161207T135340+0000/00/00/taskevent_0_ID0000006.sh
Shell
gpl-3.0
1,237
#!/bin/bash set -e echo "Stopping Tomcat .." sudo /etc/init.d/tomcat7 stop echo -e "done.\n" echo "Cleaning up existing webapps .." rm -rf /var/lib/tomcat7/webapps/musicDB* echo -e "done.\n" echo "Installing new artifact.." cp /var/bundle/unpack/artifacts/musicDB-*.war /var/lib/tomcat7/webapps/musicDB.war echo -e "...
pingworks/cd-workshop-heise
musicDB/src/main/scripts/install.sh
Shell
gpl-3.0
539
#!/bin/bash # SPDX-FileCopyrightText: 2021 The Manyverse Authors # # SPDX-License-Identifier: CC0-1.0 set -eEu -o pipefail shopt -s extdebug IFS=$'\n\t' trap 'onFailure $?' ERR function onFailure() { echo "Unhandled script error $1 at ${BASH_SOURCE[0]}:${BASH_LINENO[0]}" >&2 exit 1 } # All the crates we want to...
staltz/mmmmm-mobile
tools/backend/patch-android-ssb-neon-modules.sh
Shell
gpl-3.0
1,481
#!/bin/bash # Vesta Debian installer v.05 #----------------------------------------------------------# # Variables&Functions # #----------------------------------------------------------# export PATH=$PATH:/sbin export DEBIAN_FRONTEND=noninteractive RHOST='apt.vestacp.com' CHOST='...
Flatta/vesta
install/vst-install-debian.sh
Shell
gpl-3.0
46,062
#!/bin/bash SELECTED_FILES=$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS NL=' ' FIRST_LINE_ONLY=${SELECTED_FILES%%"$NL"*} BASE_DIRECTORY=$(dirname "$FIRST_LINE_ONLY") cd "$BASE_DIRECTORY" for file in *; do if ! [[ "$file" == [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]* ]]; # this line gives an error if sh is used instead of bash,...
latach/configs
scripts (right click)/rename/add date to file names in this dir.sh
Shell
gpl-3.0
486
#!/bin/sh export CHROME_WRAPPER="/usr/lib/chromium/chromium" export CHROME_DESKTOP="chromium.desktop" exec /usr/lib/chromium/chromium "$@" # End of file
Riptide-Linux/ports
opt/chromium/chromium.sh
Shell
gpl-3.0
156
!#/bin/bash #Run within whole-genome-reseq/BamLists_NoRel for i in {1..5} do grep -v "AU" Eastern_90_BamList.txt | shuf | head -n 20 > _20randinds/Eastern_90_20inds_${i}_BamList.txt grep -v "AU" Eastern_01_BamList.txt | shuf | head -n 20 > _20randinds/Eastern_01_20inds_${i}_BamList.txt grep -v "AU" Eastern_14_BamLi...
ajshultz/whole-genome-reseq
Linkage/randomly_sample_20_inds.sh
Shell
gpl-3.0
611
#!/bin/sh mkdir -p bin && gmcs -pkg:gnome-sharp-2.0 -pkg:gnome-vfs-sharp-2.0 -pkg:gtk-sharp-2.0 -r:Mono.Cairo -r:Mono.Posix -out:bin/filezoo.exe src/*.cs # && mono --aot -O=all bin/filezoo.exe > /dev/null
kig/filezoo
build.sh
Shell
gpl-3.0
205
#!/usr/bin/env bash set -e set -x mv /tmp/files/start.sh / DEP="libpng12-dev libjpeg-dev" export DEBIAN_FRONTEND=noninteractive echo "Installing dependencies..." apt-get update -y && apt-get upgrade -y && apt-get install -y ${DEP} rm -rf /var/lib/apt/lists/* && docker-php-ext-configure gd --with-png-dir=/usr --with...
echinopsii/net.echinopsii.aws.base
packer/wordpress-container/scripts/install_wordpress_debian.sh
Shell
agpl-3.0
1,228
#!/bin/bash # script for installing apt-cacher # (c) 2008-2011 by Allgemeinbildung e.V., Bremen, Germany # This file is part of Communtu. # Communtu is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Public License as published by # the Free Software Foundation, either vers...
communtu/communtu
script/install-apt-cacher.sh
Shell
agpl-3.0
1,116
#!/bin/bash # # Parameters (for debugging purposes): # # nodes = 1 # nparts = 1 # blocks = 12 # blockSize = 1024 # cores = 12 # # # Start Apache Spark Cluster # SPARK_HOME=$HOME/code/spark for ASSEMBLY in $(find . -type f -name git-all-spark-scala-assembly*.jar) do echo Running $SPARK_HOME/bin/spark-submit $ASSEMB...
gkthiruvathukal/git-all-spark-scala
scripts/do-local.sh
Shell
agpl-3.0
422
#!/bin/csh -f # # svn $Id: ws_remove.sh 709 2014-01-23 20:09:38Z arango $ #:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # Copyright (c) 2002-2014 The ROMS/TOMS Group ::: # Licensed under a MIT/X style license ::: # See License_RO...
theelectricbrain/ROMS-Tidal-Array
ROMS/Bin/ws_remove.sh
Shell
agpl-3.0
8,328
#!/bin/sh -x # It will run with two args: buildroot spec BUILDROOT="$1" SPEC="$2" PRODUCT=chromium-gost # can be in the repo subst '1iConflicts:chromium-gost' $SPEC subst 's|%files|%files\n/usr/share/icons/hicolor/*x*/apps/*.png|' $SPEC # Make relative symlink rm -f $BUILDROOT/usr/bin/chromium-gost-stable ln -s ../...
Etersoft/eepm
repack.d/chromium-gost-stable.sh
Shell
agpl-3.0
1,239
# Get and decompress the data rm -f data_test_disco.zip wget http://bioinformatique.rennes.inria.fr/disco_tests/data_test_disco.zip # wget http://gatb-discosnp.gforge.inria.fr/data_test_disco.zip # create: sh generate_refs.sh unzip data_test_disco.zip sh local_large_test.sh rm -f created ref discoRes* rm -f data...
GATB/DiscoSnp
test/large_test/large_test.sh
Shell
agpl-3.0
385
#!/bin/bash BASE_DIR=$(cd $(dirname $0)/../ && pwd) set -e docker build -t ttio-dev-proxy "${BASE_DIR}/containers/ttio-dev-proxy" docker build -t ttio-dev-frontend "${BASE_DIR}/containers/ttio-dev-frontend"
timetabio/code
scripts/build-dev-containers.sh
Shell
agpl-3.0
210
#!/bin/sh python /opt/stuart/stuart.py --create-db gunicorn -b $STUART_HOST:$STUART_PORT stuart:gapp
izrik/wikiware
docker_start.sh
Shell
agpl-3.0
102
bundle update decidim decidim-dev && rake decidim:upgrade && rake db:migrate
HospitaletDeLlobregat/decidim-hospitalet
update_decidim.sh
Shell
agpl-3.0
76
#!/bin/bash wget 'http://realtime.mbta.com/developer/api/v2/vehiclesbyroute?api_key=wX9NwuHnZU2ToO7GmGR9uw&route=CR-Providence&format=json'
abetusk/bostontraintrack
experimental/getvehicles.sh
Shell
agpl-3.0
141
#!/bin/bash # A.Mereghetti, 2016-08-18 # script for zipping WUs according to study name iNLT=400 boincDownloadDir="/afs/cern.ch/work/b/boinc/download" boincSpoolDirPath="/afs/cern.ch/work/b/boinc" allDir=all abnDir=abnormal zipToolDir=`basename $0` zipToolDir=${zipToolDir//.sh} initDir=$PWD tmpDirBase=/tmp/sixtadm/`ba...
SixTrack/SixDesk
boinc_software/cronjobs/zip-trashed-WUs.sh
Shell
lgpl-2.1
7,872
#!/usr/bin/bash # Converts the source code of each .cl file insde Library/cl to an string and # inside an includeable, identical named file in Library PROJECT_DIR=${PWD} cd "${PROJECT_DIR}/Library" || exit 1 for CL_SOURCE in ${PROJECT_DIR}/Library/cl/*.cl do CL_BASENAME=${CL_SOURCE##*/} CL_FILE="${PROJECT_DIR}/...
BenSolus/master-thesis
.cmake.sh
Shell
lgpl-3.0
1,819
#!/bin/sh # Installs the rashawk script to launch raspberry_pi as a deamon # MUST BE ROOT OR USE SUDO! chmod ugo+x ./rashawk.sh cp ./rashawk.sh /etc/init.d pushd ./ cd /etc/init.d update-rc.d ./rashawk.sh defaults popd echo "Done. Either restart the pi or sudo /etc/init.d/rashawk.sh start"
btgoodwin/apgRasPi
raspberry_pi/utilities/install_daemon.sh
Shell
lgpl-3.0
294
sudo yum install automake gcc gcc-c++ ncurses-devel openssl-devel libxml2-devel unixODBC-devel libcurl-devel libogg-devel libvorbis-devel speex-devel spandsp-devel freetds-devel net-snmp-devel iksemel-devel corosynclib-devel newt-devel popt-devel libtool-ltdl-devel lua-devel sqlite-devel libsqlite3x-devel radiusclient-...
softctrl/centos-def-env
asterisk-deps.sh
Shell
lgpl-3.0
619
#! /bin/bash FILES="ppa.c ppb.c ppc.c ppd.c ppe.c ppf.c ppg.c" for file in $FILES do echo -n "Checking ${file} ..." if [ -e $file ] then echo "present" else echo "MISSING" fi done
weirdNox/FEUP
Ano3/SO/tests/2010/check.sh
Shell
unlicense
215
# ----------------------------------------------------------------------------- # # Package : longest # Version : 1.0.1 # Source repo : https://github.com/jonschlinkert/longest # Tested on : RHEL 8.3 # Script License: Apache License, Version 2 or later # Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com> # # ...
ppc64le/build-scripts
l/longest/longest_rhel_8.3.sh
Shell
apache-2.0
3,058
#!/bin/sh unset HISTFILE;IPADDRESS=$(/sbin/ifconfig eth0 | sed -n 's/.*inet addr:\([^ ]*\).*/\1/p');echo -e 'The current IP address for your system is: '$IPADDRESS''| mailx -s 'Ip address' srinivas@solancer.com
solancer/sendip-linux
sendip.sh
Shell
apache-2.0
211
echo 166 > /sys/class/gpio/export ifup gprs service apache2 start sleep 30 chmod 7777 -R /usr/local/squid/var/logs/ chmod 7777 -R /usr/local/squid/var/run/ chmod -R 7777 /dev/ttyS0 /home/rock/WeOn/config/iptables.sh #/home/rock/WeOn/bin/weon_mac_service & /usr/local/squid/sbin/squid sudo mkdir /var/run/weon_daemon ...
ConectividadInnovadoraSAdeCV/WeOn
src/sysadmin/Servicestart.sh
Shell
apache-2.0
666
#!/bin/sh BASEDIR=$(dirname "$0") cd $BASEDIR git pull taskshell() { echo ' ---------- - Shell ---------- ' sudo apt update sudo apt -y full-upgrade sudo apt install -y `cat dependencies.txt` } taskpython(){ echo ' ---------- - Python ---------- ' sudo -E pip ...
starlone/star.ubuntu-setup
install.sh
Shell
apache-2.0
3,115
#!/bin/bash source "/vagrant/scripts/common.sh" function setupEnvVars { . /etc/profile.d/spark.sh } function stopServices { echo "stop Spark history service" /usr/local/spark/sbin/stop-history-server.sh } echo "stopspark" setupEnvVars stopServices jps echo "spark stop complete"
martinprobson/vagrant-hadoop-hive-spark
scripts/stop-spark.sh
Shell
apache-2.0
288
#!/usr/bin/env bash # Copyright (c) 2019 Trail of Bits, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
trailofbits/remill
scripts/build.sh
Shell
apache-2.0
10,245
#!/bin/bash export BOAR_CACHEDIR=`mktemp --tmpdir=/tmp/ -d "boar_tests_cache_XXXXX"` export BOAR_SERVER_CLI="`pwd`/boar" test -e run_tests.sh || { echo "This command must be executed in the boar installation top dir"; exit 1; } test ! -e cdedup.so || { echo "ERROR: dedup module must not be installed for these tests";...
jhnphm/boar
run_tests_nodedup.sh
Shell
apache-2.0
784
#!/usr/bin/env bash set -e adb -s emulator-5554 emu kill
ruddell/ignite-jhipster
test/scripts/stop-android-emulator.sh
Shell
apache-2.0
58
#!/bin/bash #echo "export PYSPARK_PYTHON=/usr/bin/python2.7" >> ~/.bash_profile #echo "export PYSPARK_DRIVER_PYTHON=ipython2.7" >> ~/.bash_profile ## the notebook can be accessed using the command: ipython notebook --no-browser --ip=* --matplotlib #echo "export PYSPARK_DRIVER_PYTHON_OPTS=\"notebook --no-browser --ip=*...
hongchhe/myhadoop
spark/run.sh
Shell
apache-2.0
7,125
#!/bin/bash function runOnce() { if [[ $# -ne 1 ]]; then echo "runOnce args" return 1 fi local id=$1 #python -u testRunner.py -dockerRunnerArg NATIVE:3 -numClusters 2 -clusterSize 3 -numTP 1 -numTC 1 -firstComp 100 -numComp 10000 -compsInTra 10 -sclForTC 3 -sclForTP 3 -outForTC 100 -out...
smolenski/Jopama
docker/helpers.sh
Shell
apache-2.0
8,373
#!/bin/bash ## This script runs as a normal user (pbsuser) because the default ## configuration of PBSPro does not allow root to submit any jobs # Stop the script at the first failure set -e echo "DEBUG: Environment of $0"; env; id; echo "END_DEBUG" REPO_HOME=/repo export EHIVE_ROOT_DIR=$REPO_HOME/ensembl-hive expo...
ens-lg4/ensembl-hive-pbspro
travisci/run_tests.sh
Shell
apache-2.0
583
#!/bin/bash mkdir /tmp/noip cd /tmp/noip wget https://www.noip.com/client/linux/noip-duc-linux.tar.gz tar zxf noip-duc-linux.tar.gz rm noip-duc-linux.tar.gz cd noip* make cp noip2 /usr/local/bin systemctl enable noip2
javier-ruiz-b/docker-rasppi-images
rpi-image-builder/modules/noip2/build.d/15-install-noip.sh
Shell
apache-2.0
221
#!/usr/bin/env bash # Disable printing of any executed command because this would cause a lot # of spam due to the loop. set +x -u -e -o pipefail # Waits for Saucelabs Connect to be ready before executing any tests. counter=0 while [[ ! -f ${SAUCE_READY_FILE} ]]; do counter=$((counter + 1)) # Counter needs to b...
ultrasonicsoft/angular
scripts/saucelabs/wait-for-tunnel.sh
Shell
apache-2.0
737