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 set -e source /build/docker-couchdb/buildconfig set -x $minimal_apt_get_install erlang-base-hipe erlang-crypto erlang-eunit \ erlang-inets erlang-os-mon erlang-public-key erlang-ssl \ erlang-syntax-tools erlang-tools erlang-xmerl erlang-dev libicu-dev \ libmozjs185-dev erlang-asn1 make g++ libtool pk...
verdverm/starterKit
dockers/databases/couchdb/build/install_couchdb.sh
Shell
mit
926
#! /bin/sh . ../../testenv.sh analyze repro.vhdl elab_simulate repro_ent #analyze repro1.vhdl #elab_simulate repro1_ent clean echo "Test successful"
tgingold/ghdl
testsuite/gna/bug018/testsuite.sh
Shell
gpl-2.0
154
create_disklabel() { local device=$1 debug create_disklabel "creating new gpt disklabel" sgdisk -Z -g ${device} # add bios boot partition for good measure sgdisk -n "128:-32M:" -t "128:ef02" -c "128:BIOS boot partition" ${device} return $? } add_partition() { local device=$1 local minor=$2 local t...
fr34k8/quickstart
modules/partition.sh
Shell
gpl-2.0
454
#!/bin/sh # Copyright (C) 2007-2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions # of the GNU General Public License v.2. # # You should have received a copy of the GNU General Public L...
jh80chung/lvm2
test/shell/lvresize-usage.sh
Shell
gpl-2.0
1,091
#!/bin/bash #chroot /var/chroot unshare -n "~/vcr/python-browser-8/tab.py" "$1" "$2" "$3" #strace "~/vcr/python-browser-8/tab.py" "$1" "$2" "$3" #strace -f -F ~/vcr/python-browser-8/tab.py "$1" "$2" "$3" #~/vcr/python-browser-8/tab.py $1 $2 $3 #ulimit -c unlimited tabno=0 if [ -f "tabno.tmp" ] then tabno=`cat t...
raoariel/quark
kernel/tab.sh
Shell
gpl-2.0
600
#!/bin/bash # for use of smbpasswd we need package samba-common-bin apt-get -y install samba-common-bin FILENAME=changepasswd BINPATH=/usr/local/bin cp -v files/$FILENAME $BINPATH chown root:root $BINPATH/$FILENAME chmod 755 $BINPATH/$FILENAME
edvapp/autoinstall
laus/scriptsForClasses/ZZZARCHIVE/APP/APP1604/450-addChangeSMBPasswordScript.sh
Shell
gpl-2.0
248
#!/bin/sh if [ $(which gnome-autogen.sh) ]; then srcdir=`dirname $0` $srcdir gnome-autogen.sh $@ else autoreconf --install ./configure $@ echo "Now run 'make && make install'" fi
PeterSkovoroda/silver-rain
autogen.sh
Shell
gpl-2.0
185
#!/bin/bash set -v set -x LIGHT_EXE=~/dev/tyrutils/build-ninja/light/light QUAKEDIR=~/quake QUAKE_EXE=~/Library/Developer/Xcode/DerivedData/QuakeSpasm-alpgyufxkvrsawhefxaskvlihpyd/Build/Products/Debug/QuakeSpasm-SDL2.app/Contents/MacOS/QuakeSpasm-SDL2 make_screenshot () { imagename="$1" mapname="$2" param...
ericwa/tyrutils
testmaps/deprecated/make_screenshots.sh
Shell
gpl-2.0
3,662
#! /bin/sh # # Report test for GRAMPS: Generate det_descendant_report testing # different option combinations. # $Id: det_descendant_report.sh 5544 2005-12-13 02:07:16Z rshura $ REP="det_ancestor_report" FMT="txt" TOP_DIR=`dirname $PWD` TEST_DIR=$TOP_DIR/test SRC_DIR=$TOP_DIR/src PRG="python gramps.py" ...
rdp/legado
test/det_descendant_report.sh
Shell
gpl-2.0
1,977
#!/bin/sh # try to run make before commit. # add this to .git/hooks/pre-commit and chmod a+x set -e # clean up dvi files, whizzytex generates dvi files, and they need to # be cleaned or we will try to test dvi->pdf rules only, which is not # what we want. rm -f debianmeetingresume*.dvi # run a build so that we kn...
kenhys/tokyodebian-monthly-report
git-pre-commit.sh
Shell
gpl-2.0
414
#!/bin/sh # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions # of the GNU General Public License v.2. # # You should have received a copy of the GNU General Public Licens...
jh80chung/lvm2
test/shell/lvcreate-operation.sh
Shell
gpl-2.0
1,431
shopt -s expand_aliases pushd /eliza18/atlas/mhance/D3PDReaderAnalyses_8TeV source setup.sh MultiLepton popd DelphesReaderDir=/eliza18/atlas/mhance/Snowmass/DelphesReader cd $DelphesReaderDir cp -a scripts $TMPDIR cp -a bin $TMPDIR cp -a share $TMPDIR cp -a ${grid}/${background} $TMPDIR cp -a ${grid}/${signal} $TMPD...
mhance/FCC
Snowmass/DelphesReader/scripts/batch_limits.sh
Shell
gpl-2.0
1,096
#!/bin/bash set -e # # Post create filesystem hook # if [ $# -ne 3 ]; then echo "Usage: $0 <BR images directory> <Path to fwup.conf> <Base firmware name>" exit 1 fi NERVES_SDK_IMAGES=$1 FWUP_CONFIG=$2 BASE_FW_NAME=$3 [ ! -f $FWUP_CONFIG ] && { echo "Error: $FWUP_CONFIG not found"; exit 1; } TARGETDIR=$NER...
fraxu/nerves-sdk
board/nerves-common/post-createfs.sh
Shell
gpl-2.0
963
mpiexec -n 4 ./simple_xy_par_wr mpiexec -n 4 ./simple_xy_par_rd
qingu/WRF-Libraries
src/netcdf-fortran-4.2/examples/F90/run_f90_par_examples.sh
Shell
gpl-2.0
64
#!/bin/bash mkdir -p m4 cd "`dirname $BASH_SOURCE`" ./autogen.sh ./configure make
aalex/jasm
one_step_build.sh
Shell
gpl-3.0
84
#!/bin/bash # -- extract and convert documentation from Emacs Lisp files # Author: Andreas Röhler <andreas.roehler@online.de> # 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 ...
emacsmirror/python-mode
devel/fundocu2infoformats.sh
Shell
gpl-3.0
2,813
# Copyright (c) 2015 Anchor Systems Pty Ltd <support@anchor.com.au> # # Permission to use, copy, modify, and 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 PROVIDED "AS IS" ...
anchor/pcib
plugins/partitioner/full-disk/tasks/06-refresh-partitions.sh
Shell
gpl-3.0
1,436
#!/bin/bash sort -t';' comp0.csv > sc0.csv sort -t';' comp1.csv > sc1.csv sort -t';' comp2.csv > sc2.csv sort -t';' comp3.csv > sc3.csv join -t';' sc0.csv sc1.csv > temp0.csv join -t';' temp0.csv sc2.csv > temp1.csv join -t';' temp1.csv sc3.csv > temp2.csv awk -F';' '{m=$2;for(i=2;i<=NF;i++){if($i<m)m=$i;}print $1";"...
gaperez64/AbsSynthe
scripts/gen4csv.sh
Shell
gpl-3.0
549
#!/bin/bash : <<'END' This software was created by United States Government employees at The Center for the Information Systems Studies and Research (CISR) at the Naval Postgraduate School NPS. Please note that within the United States, copyright protection is not available for any works created by United States ...
cliffe/SecGen
modules/utilities/unix/labtainers/files/Labtainers-master/scripts/designer/bin/publish_image.sh
Shell
gpl-3.0
1,026
#!/usr/bin/env bash set -e rootdir=$( cd $(dirname $0) ; pwd -P ) if [ -z ${EDGE_HOME+x} ]; then EDGE_HOME="$rootdir/../../" fi test_result(){ Test=$rootdir/TestOutput/HostRemoval/hostclean.stats.txt Expect=$rootdir/hostclean.stats.txt testName="EDGE Human Host Removal test"; if cmp -s "$Test" "$Expect" then ...
LANL-Bioinformatics/edge
testData/runHostRemovalTest/runTest.sh
Shell
gpl-3.0
844
#!/bin/sh cd .. while true; do read com if [ "$com" = "start" ]; then read algo read dataset ./run.sh InteractiveRecom $algo $dataset elif [ "$com" = "ping" ]; then echo pong elif [ "$com" != "exit" ]; then echo error 1>&2 echo Erreur : $com fi done
PFgimenez/thesis
demonstrateur/wrapper.sh
Shell
gpl-3.0
311
timeout_set '90 seconds' # Test if sessions are properly supported after promoting the shadow server. MOUNTS=2 \ MASTERSERVERS=2 \ CHUNKSERVERS=1 \ USE_RAMDISK=YES \ MOUNT_EXTRA_CONFIG="mfscachemode=NEVER,mfsacl" \ MOUNT_0_EXTRA_EXPORTS="ro,allcanchangequota" \ MOUNT_1_EXTRA_EXPORTS="rw,alldirs,allcanchangequota...
cloudweavers/lizardfs
tests/test_suites/ShortSystemTests/test_shadow_sessions.sh
Shell
gpl-3.0
1,768
./rop-tool-Linux-x86-64 s ./binary-samples/elf-Linux-Alpha-bash -a8
ADemonisis/rop-tool
test/test13.sh
Shell
gpl-3.0
68
#!/bin/bash set -e cd $(dirname $0) # Assume OPC is checked out to the same top-level directory as the soma repo OPC_DIR=../../../openpixelcontrol set -x make -C $OPC_DIR exec $OPC_DIR/bin/gl_server points.json 7890 model.stl
mct/soma
pier14/opc-client/run-simulator.sh
Shell
apache-2.0
229
#!/bin/sh # Make sure we're in our directory (i.e., where this shell script is) echo $0 cd `dirname $0` # Configure fetch method URL="http://www.minix3.org/pkgsrc/distfiles/minix/3.3.0/binutils-2.23.2.tar.bz2" BACKUP_URL="http://ftp.gnu.org/gnu/binutils/binutils-2.23.2.tar.bz2" FETCH=ftp which curl >/dev/null if [ $?...
ayyucedemirbas/Minix-Source-Code
minix-master/external/gpl3/binutils/fetch.sh
Shell
apache-2.0
744
#!/bin/sh -e # # Copyright (C) 2012, 2014 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 ...
execunix/vinos
external/bsd/bind/dist/bin/tests/system/dsdigest/ns1/sign.sh
Shell
apache-2.0
1,592
#!/system/bin/sh # Make modem config folder and copy firmware config to that folder rm -rf /data/misc/radio/modem_config mkdir -m 770 /data/misc/radio/modem_config cp -r /firmware/image/modem_pr/mcfg/configs/* /data/misc/radio/modem_config echo 1 > /data/misc/radio/copy_complete
libnijunior/patchrom_angler
stockrom/system/bin/init.mcfg.sh
Shell
apache-2.0
281
module load git module load cmake
tskisner/pytoast
external/conf/tacc-knl-intel.sh
Shell
bsd-2-clause
34
#!/bin/bash # Copyright 2019 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # List of commands to be run once per PR before running dart and flutter # tests. set -ex pub global activate tuneup flutter channel master flut...
flutter/cocoon
test_utilities/bin/prepare_environment.sh
Shell
bsd-3-clause
332
rm ./libluajit.a echo APP_ABI := armeabi-v7a>./Application.mk cd luajit/src NDK=/Users/luzexi/Desktop/work/_Environment/android-ndk-r9 NFK=$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/arm-linux-androideabi- make clean make HOST_CC="gcc -m32 -ffast-math -O3" \ CROSS=$NFK \ TARGET_SYS=Linux \ TA...
luzexi/slua-3rd-lib
build/android/jni/build_arm_v7.sh
Shell
mit
487
#!/usr/bin/env bash $ANDROID_HOME/platform-tools/adb forward tcp:4444 localabstract:/adb-hub $ANDROID_HOME/platform-tools/adb connect 127.0.0.1:4444
vndly/shoppingcart
bluetooth.sh
Shell
mit
149
#! /bin/bash # # # colours # # http://en.wikipedia.org/wiki/ANSI_escape_sequences#Colors # export OTHER_NO_COLOUR="\[\033[0m\]" export OTHER_RED="\[\033[0;31m\]" export OTHER_LIGHT_RED="\[\033[1;31m\]" export OTHER_GREEN="\[\033[0;32m\]" export OTHER_LIGHT_GREEN="\[\033[1;32m\]" export ...
jalanb/jab
environ.d/colour.sh
Shell
mit
1,514
#!/usr/bin/env bash set -x source $(dirname $0)/load.env.include if [ -z "${DBHOST}" ] then echo "Please add DBHOST in .env file as it is mandatory" exit 42 fi if [ -z "${DBROOTUSER}" ] then echo "Please add DBROOTUSER in .env file as it is mandatory" exit 42 fi if [ -z "${DBAPPNAME}" ] then ech...
Fabrice-li/e-venement
bin/ci-scripts/create_database.sh
Shell
gpl-2.0
1,190
#!/bin/sh lantiq_soc_has_adsl() { ls /lib/modules/*/drv_dsl_cpe_api.ko } lantiq_soc_name() { grep ^system /proc/cpuinfo | sed "s/system type.*: \(.*\)/\1/g" } lantiq_board_name() { grep ^machine /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/\(.*\) - .*/\1/g" }
TheSkorm/openwrt-metarouter-cjdns
target/linux/lantiq/base-files/lib/lantiq.sh
Shell
gpl-2.0
277
#!/bin/sh # This script is highly based on GIMP's autogen.sh # This script does all the magic calls to automake/autoconf and friends # that are needed to configure a Subversion checkout. As described in # the file HACKING you need a couple of extra tools to run this script # successfully. # # If you are compiling fro...
Lokke/ario-git
autogen.sh
Shell
gpl-2.0
7,209
#! /bin/sh # Copyright (C) 2011-2014 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program ...
kuym/openocd
tools/automake-1.15/t/strictness-override.sh
Shell
gpl-2.0
2,727
#!/bin/sh . "${TEST_SCRIPTS_DIR}/unit.sh" define_test "not configured" setup ok_null simple_test_event "ipreallocate" check_routes 0
sathieu/samba
ctdb/tests/eventscripts/11.natgw.001.sh
Shell
gpl-3.0
138
#!/usr/bin/env bash # Copyright 2011 Red Hat Inc., Durham, North Carolina. # All Rights Reserved. . $builddir/tests/test_common.sh # Test Cases. function test_probes_fileextendedattribute { return 255 # TODO: implement xattr support check probecheck "fileextendedattribute" || return 255 local ret_val=...
jan-cerny/openscap
tests/probes/fileextendedattribute/test_probes_fileextendedattribute.sh
Shell
lgpl-2.1
984
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lice...
bolkedebruin/airflow
docs/docker-stack/docker-examples/customizing/pypi-selected-version.sh
Shell
apache-2.0
1,308
#!/bin/bash # -------------------------------------------------------------------------- # # Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) # # # # Licensed under the Apache License, Version 2.0 (the "License"); you m...
bcec/opennebula3.4.1
src/ozones/Server/lib/test/test_all.sh
Shell
apache-2.0
1,361
#!/bin/sh PLATFORM="`uname -s`" [ "$1" ] && VERSION="$1" || VERSION="2.1devel" set -e # Portable "ggrep -A" replacement. # Work around Solaris awk record limit of 2559 bytes. # contextgrep PATTERN POST_MATCH_LINES contextgrep() { cut -c -2500 | awk "/$1/ { count = ($2 + 1) } count > 0 { count--; print }" } do_t...
LomoX-Offical/nginx-openresty-windows
src/lua-cjson-2.1.0.5/runtests.sh
Shell
bsd-2-clause
1,392
#!/bin/bash FN="primeviewprobe_2.18.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.10/data/annotation/src/contrib/primeviewprobe_2.18.0.tar.gz" "https://bioarchive.galaxyproject.org/primeviewprobe_2.18.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-primeviewprobe/bioconductor-primeviewpro...
Luobiny/bioconda-recipes
recipes/bioconductor-primeviewprobe/post-link.sh
Shell
mit
1,445
EXPECTED_MD5="7b7e9f6039a97e4a453b596055912435" curl -L -O https://www.openssl.org/source/openssl-1.0.0t.tar.gz if [[ $(md5 -q openssl-1.0.0t.tar.gz) != $EXPECTED_MD5 ]]; then echo "Unexpected source hash" exit -1 fi tar zxvf openssl-1.0.0t.tar.gz mv openssl-1.0.0t CachedSource
ensemblr/llvm-project-boilerplate
include/llvm/projects/test-suite/ClangAnalyzer/openssl-1.0.0t/download_project.sh
Shell
mit
286
#!/bin/bash success="true" for commit in $(git cherry master | cut -d " " -f 2) do if ! git show -s "$commit" | grep -q 'Signed-off-by:'; then echo "Commit $commit doesn't have a Signed-off-by" git show "$commit" success="false" fi done if [ "$success" = "true" ]; then echo "All c...
jamielennox/hoist
tests/test-signed-off-by.sh
Shell
apache-2.0
483
#!/bin/sh render_usage() { echo "USAGE: ./configure [TARGET]" echo "" echo "TARGET - one of the following values: " for item in confs/*.conf; do echo "$item" | sed -e 's/confs\/\(.*\)\.conf/\1/'; done } if [ $# -ne 1 ] then render_usage else FILE=confs/$1.conf echo "Targetting $1" cp $FILE dsss.conf fi
greenmanspirit/xomb
build/configure.sh
Shell
bsd-3-clause
319
#!/bin/bash -eux # Copyright 2014 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. me=${0##*/} TMP="$me.tmp" # Work in scratch directory cd "$OUTDIR" # some stuff we'll need DEVKEYS=${SRCDIR}/tests/devkeys TESTKEYS=${S...
acorn-marvell/vboot_reference
tests/futility/test_sign_keyblocks.sh
Shell
bsd-3-clause
2,672
#!/bin/bash FN="pd.rhegene.1.0.st_3.12.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.13/data/annotation/src/contrib/pd.rhegene.1.0.st_3.12.0.tar.gz" "https://bioarchive.galaxyproject.org/pd.rhegene.1.0.st_3.12.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-pd.rhegene.1.0.st/bioconductor-...
phac-nml/bioconda-recipes
recipes/bioconductor-pd.rhegene.1.0.st/post-link.sh
Shell
mit
1,466
#!/bin/bash ################################################################################ ## ## ## Copyright (c) Dan Carpenter., 2004 ## ## ...
chenhuacai/ltp
testcases/kernel/fs/racer/fs_racer_file_link.sh
Shell
gpl-2.0
1,740
#!/usr/bin/env bash ################################################################################ # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The A...
shaoxuan-wang/flink
flink-end-to-end-tests/test-scripts/test_ha_per_job_cluster_datastream.sh
Shell
apache-2.0
5,453
#!/bin/bash # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e # Needed because if it is set, cd may print the path it changed to. unset CDPATH # On Mac OS, readlink -f doesn't work, so follow_links t...
chinmaygarde/flutter_engine
testing/scenario_app/build_and_run_android_tests.sh
Shell
bsd-3-clause
1,531
#!/bin/sh # ----------------------------------------------------------------------------- # Start Script for the CATALINA Server # # $Id: startup.sh 467182 2006-10-23 23:47:06Z markt $ # ----------------------------------------------------------------------------- # Better OS/400 detection: see Bugzilla 31132 os400=fa...
feiyue/maven-framework-project
spring-flex-testdrive/tomcat/bin/startup.sh
Shell
mit
1,175
#!/bin/sh # ensure that "rm -rf DIR-with-many-entries" is not O(N^2) # Copyright (C) 2008-2013 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 o...
duythanhphan/coreutils
tests/rm/ext3-perf.sh
Shell
gpl-3.0
2,864
#!/bin/sh : ==== start ==== ipsec setup stop umount /var/tmp; mount /var/tmp umount /usr/local; mount /usr/local hostname road.uml.freeswan.org ifconfig eth0 inet 192.1.3.194 route delete -net default route add -net default gw 192.1.3.254 netstat -rn export TESTNAME=xauth-pluto-08 source /testing/pluto/bin/roadloc...
mcr/bluerose
testing/pluto/xauth-pluto-08/roadinit.sh
Shell
gpl-2.0
402
#!/bin/sh test_description='split index mode tests' GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME . ./test-lib.sh # We need total control of index splitting here sane_unset GIT_TEST_SPLIT_INDEX # Testing a hard coded SHA against an index with an extension # that can vary fro...
Osse/git
t/t1700-split-index.sh
Shell
gpl-2.0
14,136
#Copyright 2009,2010 Alex Graves # # This file is part of RNNLIB. # # RNNLIB 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. # # RNNL...
j-briggs/rnnlib
utils/plot_errors.sh
Shell
gpl-3.0
1,028
#! /bin/bash set -x set -e date uname -a echo $HOSTNAME mkdir $HOME/bin || true CMAKE_BASE=cmake-3.3.0-Darwin-x86_64 cd .. CMAKE_BIN_DIR=`pwd`/$CMAKE_BASE/CMake.app/Contents/bin export PATH=$CMAKE_BIN_DIR:$HOME/bin:$PATH export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH wget http://www.cmake.org/files/v3.3/$CMAKE_BA...
XiaosongWei/wdt
travis_osx.sh
Shell
bsd-3-clause
981
#!/bin/bash # configs/ekk-lm3s9b96/otest/setenv.sh # # Copyright (C) 2012 Gregory Nutt. All rights reserved. # Authors: Gregory Nutt <gnutt@nuttx.org> # Jose Pablo Rojas V. <jrojas@nx-engineering.com> # # Redistribution and use in source and binary forms, with or without # modification, are permitted pro...
gcds/project_xxx
nuttx/configs/ekk-lm3s9b96/ostest/setenv.sh
Shell
bsd-3-clause
2,581
#/bin/sh # takes a -n argument to disable the s3 download for faster testing # Ensure that all your children are truly dead when you yourself are killed. # http://www.davidpashley.com/articles/writing-robust-shell-scripts/#id2382181 # trap "kill -- -$BASHPID" INT TERM EXIT # leave out EXIT for now trap "kill -- -$BAS...
h2oai/h2o
py/testdir_release/runner_Runit.sh
Shell
apache-2.0
7,519
#!/bin/bash # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
mzhaom/trunk
tools/android/aar_generator.sh
Shell
apache-2.0
720
#/bin/sh # # See: http://boinc.berkeley.edu/trac/wiki/AndroidBuildClient# # # Script to compile everything BOINC needs for Android ./build_boinc_arm.sh ./build_boinc_x86.sh ./build_boinc_mips.sh
AltroCoin/altrocoin
android/build_boinc_all.sh
Shell
gpl-3.0
198
#!/usr/bin/env bash set -e CONF_DIR="/etc/cjdns" if [ ! -f "$CONF_DIR/cjdroute.conf" ]; then echo "generate $CONF_DIR/cjdroute.conf" conf=$(cjdroute --genconf | cjdroute --cleanconf) echo $conf > "$CONF_DIR/cjdroute.conf" fi cjdroute --nobg < "$CONF_DIR/cjdroute.conf" exit $?
madafoo/cjdns
contrib/docker/entrypoint.sh
Shell
gpl-3.0
287
#! /bin/sh rm -rf data (time python3 -u ../lstm.py param.yaml) 2>&1 | tee log.txt
nayutaya/tensorflow-rnn-sin
ex2/lstm_seq70/run.sh
Shell
mit
82
source common.sh clearStore max=500 reference=$NIX_STORE_DIR/abcdef touch $reference (echo $reference && echo && echo 0) | nix-store --register-validity echo "making registration..." set +x for ((n = 0; n < $max; n++)); do storePath=$NIX_STORE_DIR/$n echo -n > $storePath ref2=$NIX_STORE_DIR/$((n+1)) ...
acowley/nix
tests/referrers.sh
Shell
lgpl-2.1
812
#!/bin/bash dir="$(pwd)" target="$(basename $dir)" #target=$1 folders="$(ls -d ../../test/output/runs/$target*)" for i in $folders do basename $i >> folderlist.txt done names="$(cat folderlist.txt)" for i in $names do ./copy_data_date.sh $i done for i in $names do python vCOMhistogramMass.py $i done ./...
homeslike/OpticalTweezer
scripts/test_p0.5_at0.1/init.sh
Shell
mit
451
#!/bin/bash # Copyright 2014 The Kubernetes Authors All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
hunt/kubernetes
cluster/azure/util.sh
Shell
apache-2.0
17,056
#!/bin/sh # # Show only interfaces that have an IPv4 address # # rschmied@cisco.com # ip addr | sed -nre '{/^[0-9]+:/h;/inet ([0-9]+\.){3}[0-9]+/{x;p;x;p}}'
VIRL-Open/virl-utils
ipv4.sh
Shell
isc
161
#!/usr/bin/bash export NGI_MODULES_DBMS=db2 export NGI_MODULES_APP=was export NGI_PKG_HOME=/d/elementar/workspace/de.bit.elementar.vertrag.system/pkg/target/classes source $NGI_HOME/bin/ngi.sh echo -ne "\e]0;elementar pkg\a" cd /d/elementar/workspace/de.bit.elementar.vertrag.system/pkg zsh
jrrsmaug/dotfiles
env/.env/elementar-pkg.sh
Shell
mit
293
#!/bin/bash x86_64-w64-mingw32-g++ -fdiagnostics-color -std=c++11 ta_sdl_platform.cpp ta_sdl_game.cpp Logging.cpp -mwindows -mconsole -lmingw32 -lSDL2main -lglew32 -lglu32 -lopengl32 -lSDL2 -lpng -lz -ggdb -D__CSGL_DEBUG__ -o ta_sdl_64.exe
Christof-Sigel/TA_SDL
build.w64.sh
Shell
mit
242
#!/bin/bash . /etc/profile.d/modules.sh # Module stuff module load netcdf module load szip module load sge module load openmpi module add ncl module add nco module switch ncl/opendap ncl/nodap # # Active comments for SGE # #$ -S /bin/bash #$ -N geogrid #$ -v MPI_HOME #$ -v LD_LIBRARY_PATH #$ -cwd #$ -q all.q #$ -pe...
samwisehawkins/wrftools
scripts/geogrid/geogrid.sh
Shell
mit
400
run_mod.sh 1.0 run_mod.sh 1.1 run_mod.sh 1.2
NMFS-toolbox/AMAK
examples/bogo/runall.sh
Shell
mit
45
#!/bin/zsh echo 'GROK: run_topic_installs' ############################################################################### # DEFINE INSTALL FUNCTIONS # log_header() { echo '' echo '===============================================================================' echo 'INSTALL TOPIC:' $* echo '================...
levithomason/grok
lib/run_topic_installs.zsh
Shell
mit
728
#!/usr/bin/env ruby module Support extend self @@repo_path = "~/vagrant-lamp" @@repo_url = "https://github.com/gocodeup/Codeup-Vagrant-Setup/archive/master.zip" @@steps = ["start", "xcode", "homebrew", "vagrant_lamp", "git", "sublime", "final"] def steps @@steps end def repo_path @@repo_path ...
bbatsche/LAMP-Setup-Script
lamp-setup.command
Shell
mit
10,941
password=`date +%s | shasum -a 256 | base64 | head -c 32` master_password=`mvn --encrypt-master-password $password | grep -o '{.*}'` echo "<settingsSecurity>\n<master>${master_password}</master>\n</settingsSecurity>" > ~/.m2/settings-security.xml
FortitudeSolutions/puppet-maven
files/create_settings_security.sh
Shell
mit
250
#!/bin/zsh export SMPL_PATH="$(dirname $(readlink -f $0))" export SMPL_REAL_ROOT="$SMPL_PATH/.root" export SMPL_SRC="$SMPL_PATH/.src" export SMPL_ROOT="/tmp/.smpl.$(uuidgen -t)-$(uuidgen -r)" continue_stage=n if [ -f "$SMPL_PATH/.continue_stage" ] then continue_stage=$(cat "$SMPL_PATH/.continue_stage") fi if [ -f ...
nonchip/smartplayer
setup.zsh
Shell
mit
3,489
cd scripts ./dotnet-build.sh
domino46/Fibon
travis-build.sh
Shell
mit
28
#!/bin/bash role=`id -u` if test $role -ne 0 then echo "Operation not permitted" exit 1 fi curl https://raw.githubusercontent.com/WALL-E/static/master/setup/redhat/install_python36|bash pip3.6 install -r requirements.txt
hotfix-project/hotfix-api
install.sh
Shell
mit
232
#!/bin/bash -e if test -z "$CMD"; then if test -n "$1"; then CMD="$1" else CMD="$(hostname)" fi fi SVD="/usr/bin/supervisord" SVD_CONF="/etc/supervisor/conf.d/$CMD.conf" SVD_OPTS="-nc $SVD_CONF" INIT_SCRIPT="/etc/provisioning/$CMD.init.sh" if ! test -f "$SVD_CONF"; then echo "Unknown command; exiti...
zultron/docker-provisioning
common/entrypoint.sh
Shell
mit
452
#!/bin/sh echo "Hello Master Falindir"
Falindir/AI
SHELL/src/ai.sh
Shell
mit
38
protoc --gogo_out=. gateway/gateway.proto protoc --gogo_out=. nwkmgr/nwkmgr.proto protoc --gogo_out=. otasrvr/otasrvr.proto
ninjasphere/go-zigbee
generate.sh
Shell
mit
124
#!/bin/bash -e # Launches the TableTop service as a Unix process here=$(dirname $0) memOpts="-Xmx512M" httpPort=9640 dbgPort=9602 jmxPort=9603 ymlConfigFile="$here/tableTopService.yml" jar=$here/tableTop-1.0-fat.jar out=logs/tableTop-service.out usage() { echo "Usage: $0 [-jmx] [-dbg] start | stop | restart | statu...
fooqotsa/tableTop
artefacts/tableTopService.sh
Shell
mit
1,925
#!/usr/bin/env bash DIR="${BASH_SOURCE%/*}" if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi . "$DIR/../bash-spec.sh" describe "The bash version test" "$( context "When using bash (especially on MacOS X)" "$( it "Version must be 4+" "$( [[ "${BASH_VERSINFO[0]}" > "3" ]] should_succeed )" )" )" describ...
realestate-com-au/bash-spec-2
tests/test_bash-spec.sh
Shell
mit
9,510
#!/bin/bash # # bmacs - bogus again # # # THIS IS A JOKE. # # (not a very funny one, either) doc() { func[$max_func]="$1" documentation[$max_func]="$2" max_func=$[max_func + 1] } ########################################################################### # Screen drawing functions #############################...
nibbula/bmacs
bmacs.bash
Shell
mit
61,269
#!/usr/bin/env bash build=`mktemp -d` || exit 1 pushd "$build" git clone https://aur.archlinux.org/cower.git git clone https://aur.archlinux.org/pacaur.git pushd "cower" makepkg -sri --skippgpcheck popd pushd "pacaur" makepkg -sri popd popd rm -rf "$build"
thornmir/dotfiles
archsetup/install_pacaur.sh
Shell
mit
281
#!/bin/bash -eu TEXT=$( echo "${TRAVIS_COMMIT_MESSAGE}" | tr -d "\"" | tr -d "'" ) PAYLOAD=$( printf '{"channel":"#%s","username":"%s","icon_emoji":":%s:","attachments":[{"color":"#36a64f","pretext":"Nouvelle version du blog en prod","title":"%s","title_link":"https://blog.eleven-labs.com/"}]}' "${SLACK_CHANNEL}" "${S...
eleven-labs/eleven-labs.github.io
bin/notify-slack.sh
Shell
mit
482
#!/bin/sh psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL CREATE DATABASE $POSTGRES_DB; CREATE USER $POSTGRES_USER WITH PASSWORD $POSTGRES_PASSWORD; GRANT ALL PRIVILEGES ON DATABASE $POSTGRES_DB TO $POSTGRES_USER; EOSQL
arturtamborski/wypok
images/db/init/init-db.sh
Shell
mit
237
#!/bin/tcsh # Name of system setenv SYSTEM alanine-dipeptide # Clean up old files, if present. rm -f leap.log ${SYSTEM}.{crd,prmtop,pdb} # Create prmtop/crd files. tleap -f setup.leap.in # Create PDB file. #cat ${SYSTEM}.crd | ambpdb -p ${SYSTEM}.prmtop > ${SYSTEM}.pdb python generate-pdb.py
choderalab/openmmtools
openmmtools/data/alanine-dipeptide-explicit/run.sh
Shell
mit
298
NB=$(grep -c '^>' $TEST1) for i in $(seq 0 $((NB - 1))); do ufasta dsort $TEST1 | ufasta extract -n "read$i" | tail -n +2 | sort -C EXPECT_SUCCESS "Sorted entry $i" done
gpertea/stringtie
SuperReads_RNA/global-1/ufasta/tests/test_dsort.sh
Shell
mit
179
#!/bin/sh # clean up any old stuff mvn clean # compile and create jar from main src cd .. mvn install cd - # create directory structure I'm going to need mkdir target/jnlp echo "copying existing jars" # copy all the jars I'm going to need # copy our own jar cp target/JGE_ARTIFACT_ID-1.0-SNAPSHOT.jar target/jnlp/ ...
owenbutler/gamedev
baseGame/assembleJNLP.sh
Shell
mit
2,830
#!/bin/sh # Display date of Easter echo "Date of Easter" echo -n "Current year: " ncal -e $(date +"%Y") echo -n "Next year: " ncal -e $(date --date "next year" +"%Y")
milosz/shell-octo-adventure
scripts/easter_date.sh
Shell
mit
168
#!/bin/bash # --- # Decreases the volume for the current sink. # --- function decreaseVolume() { local sink=$(getSink) local volume=$(getVolume "$sink") local newVolume=$((volume - STEP)) setVolume $newVolume } # --- # Returns the name for the provided sink. # # @param $1 The sink index. # # @return ...
dbestevez/dotfiles
src/bin/volume.sh
Shell
mit
7,872
#!/bin/bash cat << "ARTWORK" :;'', `####''+###' ####```````.## #+`+,```.......,# #`:+```..........,# #`;;```...........`'# `+###``..`,.......`###. .#'`:#`..`#++......`..## #:;;;#...#.............# #,;;;#...,.............; #;;;;;......
ericmann/itinerant-jenkins
bin/provision.sh
Shell
mit
1,782
for i in *.done do #### echo $i | sed 's/pdsd//g' | sed 's/.txt.done//g' > Year # TheYear=`cat Year` # sed "s|$| ${TheYear}|" $i > $i.Year #### done #The above is crap cat MergePesticides | sed 's/.*\(.\{4\}$\).*/\1/' | uniq > Year
andrewdefries/CA_Pesticides_1991_2011
CaliforniaPesticideUse_1991_2014/CleanTheText/PasteYear.sh
Shell
mit
235
set -e . scripts/include.sh # installer cd ~/deps/roxcoin rm -rf nsis mkdir nsis git archive HEAD | tar -x -C nsis cd nsis/src mkdir ../release cp ../../release/* ../release/ cp ../../src/*.exe . makensis ../share/setup.nsi rm -rf $OUTDIR/setup mkdir $OUTDIR/setup cp ../share/roxcoin-*-win32-setup.exe $OUTDIR/setup/...
Roxcoin/roxcointor
contrib/build_win_on_linux/nsis.sh
Shell
mit
489
teefifo note import && tmux renamew -t testing1 pass || tmux renamew -t testing1 FAIL; echo -n 'press ENTER to close'; read x
rubysuperhero/hero-notes
testing1.sh
Shell
mit
126
#!/usr/bin/env bash # constants DOKKU_ROOT=${DOKKU_ROOT:=~dokku} TEST_APP=my-cool-guy-test-app # test functions flunk() { { if [ "$#" -eq 0 ]; then cat - else echo "$*" fi } return 1 } assert_success() { if [ "$status" -ne 0 ]; then flunk "command failed with exit status $status" elif [ "$#" -g...
lmars/dokku
tests/unit/test_helper.bash
Shell
mit
3,535
#!/bin/sh # -o /home/mcb/jogdeos/softwareAndscripts/scripts/qsubSample/qOut # -e /home/mcb/jogdeos/softwareAndscripts/scripts/qsubSample/qErr #$ -o ../qOut #$ -e ../qErr #$ -cwd #$ -N blastout #$ -S /bin/sh # /local/cluster/bin/blastall -i $1 -o $2 -d ../blastDB/TAIR8_chromosomes.nfa -p blastn -m 8 -e 1e-10
sanjuroj/bioscripts
qsubSample/blast.sh
Shell
mit
310
watchify views/main.jsx -v -d --extension=jsx --o public/js/bundle.js
bbviana/laylamarques
scripts/watch-build.sh
Shell
mit
70
#!/bin/bash # Installs LAMP on to an Ubuntu server # Checks if Apache is installed sudo dpkg -l | grep apache2 &> /dev/null && echo "Apache is already installed..." || (echo "Installing Apache now..." && sudo apt-get -y install apache2 &> /dev/null) # Checks if PHP mod for Apache is installed (sudo dpkg -l | grep inst...
rhom001/evillious_web
scripts/install-ubuntu.sh
Shell
mit
1,303
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2015:1544 # # Security announcement date: 2015-08-04 17:18:29 UTC # Script generation date: 2017-01-01 21:16:31 UTC # # Operating System: Red Hat 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - java-1.5.0-ibm.i386:1.5.0.16.13-1jpp.3....
Cyberwatch/cbw-security-fixes
Red_Hat_5/x86_64/2015/RHSA-2015:1544.sh
Shell
mit
2,991
#!/bin/bash if ! which zsh then echo "/bin/zsh does not exist. Exiting." exit 1 fi if ! which git then echo "git does not exist. Exiting." exit 1 fi cd $HOME if which /usr/local/bin/zsh; then sudo chsh -s /usr/local/bin/zsh $USER else sudo chsh -s /bin/zsh $USER fi mkdir -p $HOME/.history-directory rm -rf ...
ankushagarwal/dotfiles
script/setup.sh
Shell
mit
495