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 apt-get update apt-get --yes install libmysqlclient-dev mysql-server-5.5 curl -L https://get.rvm.io | bash -s stable --autolibs=3 --ruby source /usr/local/rvm/scripts/rvm rvm in /vagrant do bundle install cd /vagrant rake
pressable/mysqlnoio
vagrant/provision.sh
Shell
gpl-3.0
239
#!/bin/bash head -c $RANDOM /dev/urandom > rnd.txt
ItsLastDay/academic_university_2016-2018
subjects/Bash&Python/bash_hw1/3.sh
Shell
gpl-3.0
51
#!/bin/bash res=`find . -name *.pyc` if ! [ -z "$res" ]; then rm $res echo "Clean done" else echo "Nothing to clean" fi
OlivierB/Network-Display-On-Pi
other/python_test/clean.sh
Shell
gpl-3.0
123
#!/bin/bash cd /opt/rocrail/ rm -f nohup.out nohup ./rocrail -l /opt/rocrail -lcd & echo "$!" > rocrail.pid
KlausMerkert/FreeRail
doc/opt/rocrail/rocrail.sh
Shell
gpl-3.0
113
#!/bin/bash # # Unattended/SemiAutomatted OpenStack Installer # Reynaldo R. Martinez P. # E-Mail: TigerLinux@Gmail.com # OpenStack KILO for Centos 7 # # PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin if [ -f ./configs/main-config.rc ] then source ./configs/main-config.rc mkdir -p /etc/opens...
tigerlinux/openstack-kilo-installer-centos7
modules/keystone-glance.sh
Shell
gpl-3.0
1,673
#!/bin/sh ## Copyright (C) 2014-2020 Assaf Gordon <assafgordon@gmail.com> ## ## This file is part of GNU Datamash. ## ## GNU Datamash 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 ...
agordon/datamash
build-aux/make-cygwin-dist.sh
Shell
gpl-3.0
1,999
#!/bin/sh #------------------------------------------------------------------- # config.sh: This file is read at the beginning of the execution of the ASGS to # set up the runs that follow. It is reread at the beginning of every cycle, # every time it polls the datasource for a new advisory. This gives the user # the ...
jasonfleming/asgs
config/2015/asgs_config_nam_garnet_cpra2017.sh
Shell
gpl-3.0
7,179
#!/bin/bash qmake TestManyDigitNewickDesktop.pro make
richelbilderbeek/TestManyDigitNewick
build_desktop.sh
Shell
gpl-3.0
54
#!/bin/bash echo "Introduce la IP de la antena" read HOST USER="ubnt" PASS="ubnt" echo "$USER@$HOST $PASS" echo y | plink -ssh $HOST -l $USER -pw $PASS "sleep 2 && cfgmtd -w -p /etc/"
procamora/Scripts-Bash
ubnt_save.sh
Shell
gpl-3.0
185
# Goto: http://www-unix.mcs.anl.gov/mpi/mpich/ cd /home/jon tar cvzpf sshhome.tgz .ssh for fil in `/bin/cat /etc/hostsalone` do echo $fil doing scp /home/jon/sshhome.tgz $fil:/home/jon/ ssh $fil "cd /home/jon ; tar xvzpf sshhome.tgz" echo $fil done done # (done!)
pseudotensor/harm_harmgit
scripts/mysh/sshhome.sh
Shell
gpl-3.0
270
#!/bin/sh valgrind --tool=helgrind --log-file=helgrind.txt ../ToolTestServerPusher-build-desktop/./ToolTestServerPusher
richelbilderbeek/TestServerPusher
helgrind.sh
Shell
gpl-3.0
120
#!/bin/bash # # Copyright (C) 2013 by Massimo Lauria # # Created : "2013-04-17, Wednesday 17:55 (CEST) Massimo Lauria" # Time-stamp: "2013-04-17, 18:22 (CEST) Massimo Lauria" # # Description:: # # Desktop search tool built around recoll and dmenu # http://blog.desdelinux.net/como-buscar-archivos-a-texto-completo-en-dis...
csantosb/myscripts
search-recoll-dmenu.sh
Shell
gpl-3.0
867
#!/bin/sh pkgname=python-scipy pkgver=1.0.1 vcs=git vcs_pkgname=scipy gittag=v${pkgver} # beta versions #relmon_id=4768 #relmon_sed='s/v//g' kiin_make() { python setup.py config_fc --fcompiler=gnu95 build } kiin_install() { python setup.py config_fc --fcompiler=gnu95 install \ --prefix=/usr --root=${...
alekseyrybalkin/kiin-repo
python-modules/python-scipy/package.sh
Shell
gpl-3.0
343
#!/bin/sh if [ `whoami` = "root" ] && [ ! -w /usr/bin/sudo ]; then apt-get -y --ignore-missing install $* elif [ `whoami` != "root" ] && [ ! -z "$DISPLAY" ]; then if [ -x /usr/bin/gksudo ]; then ROOT="/usr/bin/gksudo" elif [ -x /usr/bin/kdesudo ]; then ROOT="/usr/bin/kdesudo" elif [ -x /usr/bin/sudo ]; then R...
BryanQuigley/phoronix-test-suite
pts-core/external-test-dependencies/scripts/install-ubuntu-packages.sh
Shell
gpl-3.0
762
#!/usr/bin/expect set HOSTNAME [lindex $argv 0]; set USERNAME [lindex $argv 1]; set PASSWORD [lindex $argv 2]; set TFTP_HOST [lindex $argv 3]; set TFTP_DIR [lindex $argv 4]; if { $PASSWORD == "none" } { set PASSWORD "" } spawn telnet $HOSTNAME expect "User:" send "$USERNAME\r" expect "Password:" send "$PASSWORD\r"...
andrasbabos/scripts
routerconfigs/bin/netgear.sh
Shell
gpl-3.0
941
#!/bin/bash -f # Vivado (TM) v2016.4 (64-bit) # # Filename : blk_mem_gen_0.sh # Simulator : Mentor Graphics Questa Advanced Simulator # Description : Simulation script for compiling, elaborating and verifying the project source files. # The script will automatically create the design libraries sub-di...
hsnuonly/PikachuVolleyFPGA
VGA.ip_user_files/sim_scripts/blk_mem_gen_0_1/questa/blk_mem_gen_0.sh
Shell
gpl-3.0
4,690
#!/bin/bash # A script to reset your nginx configs to the latest versions "upgrading" nginx # Beware, this script *will* overwrite any personal modifications you have made. # Author: liara hostname=$(grep -m1 "server_name" /etc/nginx/sites-enabled/default | awk '{print $2}' | sed 's/;//g') locks=($(find /usr/local/bin...
liaralabs/swizzin
scripts/upgrade/nginx.sh
Shell
gpl-3.0
1,959
export DATABASE_PASSWORD='your_password'
masasam/dotfiles
backup_sample/zsh/env.sh
Shell
gpl-3.0
41
#!/bin/sh libtoolize aclocal automake --add-missing -cf autoconf
bboozzoo/sbus
autogen.sh
Shell
gpl-3.0
65
### check if file exists file="onelm_multi_lvlearn" if [ -f "../$file" ] then echo "Remove $file." rm ../$file else echo "$file not found." fi cd .. ### compile c++ code if [ "$1" == "all" ] || [ "$1" == "compile" ] || [ "$1" == "run" ] ; then echo "Compile." g++ test/lvlearn_multi_onelm.cpp src/agent.cpp src/envir...
degoldcode/NaviSim
test/lvlearn_multi_onelm.sh
Shell
gpl-3.0
1,450
#!/bin/bash # file: scripts/mqtt.d/entrance_door.sh # host: palermo (vkhome-fi) . ~/scripts/create_pid_or_exit_on_existing_pid.sh . /usr/local/lib/mqtt_lib.sh # by default: # _payload_parser='_parse_as_stamped_plaintext' # the payload contains two words: the value and the timestamp (ex.: 28.6 @1429627454) # MQTT_root...
vkonst/tele-dacha
palermo/home/_username_/scripts/mqtt.d/entrance_door.sh
Shell
gpl-3.0
608
#! /bin/bash git pull scons -c clear scons -j 4
endeav0r/Rainbows-And-Pwnies-Tools
pullbuild.sh
Shell
gpl-3.0
48
#!/bin/bash # @see https://blog.golang.org/cover # Generate the coverage report instrument(){ go test -covermode=count -coverprofile=validation/"$1".out "./$1" } # Print coverage report as a nice html cover(){ go tool cover -html=validation/"$1".out } instrument event instrument person instrument habit instrument tim...
eric-burel/pog
coverage.sh
Shell
gpl-3.0
396
#!/bin/bash width=$1 read -r -d '' HEAD <<- EOM <?xml version="1.0"?> <!DOCTYPE rdf:RDF [ <!ENTITY quest "http://obda.org/quest#" > <!ENTITY owl "http://www.w3.org/2002/07/owl#" > <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" > <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" > <!ENTITY rdf "http://www.w3.org...
OntLRB/Benchmark
Generators/makeFeatureOntology.sh
Shell
gpl-3.0
1,670
#!/bin/sh #tests comment commands cd ../src g++ main.cpp -o rshell echo "" echo "Testing comment commands now:" echo "Testing 'ls; #comment at end':" echo "ls; exit; #comment at end" | ./a.out echo "Testing '':" echo "echo hello #comment" & echo "exit" | ./rshell echo "End testing comment commands." echo ""
AminWatad/rshell
tests/commented_command.sh
Shell
gpl-3.0
318
#!/bin/sh # Make sure that ls -i works properly on symlinks. # Copyright (C) 2003-2019 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 the Li...
komh/coreutils-os2
tests/ls/inode.sh
Shell
gpl-3.0
1,958
#!/bin/bash python AnalyzeSimulation.py --paralog1 YER102W --paralog2 YBL072C --simnum 56 > YER102W_YBL072C_MG94_nonclock_Sim56_PrintScreen.txt
xjw1001001/IGCexpansion
Simulation/ShFiles/MG94_YER102W_YBL072C_sim56.sh
Shell
gpl-3.0
145
#!/bin/sh # taken from glusterfs. ## Check all dependencies are present MISSING="" # Check for aclocal env aclocal --version > /dev/null 2>&1 if [ $? -eq 0 ]; then ACLOCAL=aclocal else MISSING="$MISSING aclocal" fi # Check for autoconf env autoconf --version > /dev/null 2>&1 if [ $? -eq 0 ]; then AUTOCONF=auto...
sandrain/fuse-xattrfs
autogen.sh
Shell
gpl-3.0
1,803
#!/bin/bash -e . ../../blfs.comm build_src() { srcfil=tcl8.6.2-src.tar.gz srcdir=tcl8.6.2 tar -xf $BLFSSRC/$PKGLETTER/$CURDIR/$srcfil cd $srcdir tar -xf $BLFSSRC/$PKGLETTER/$CURDIR/tcl8.6.2-html.tar.gz --strip-components=1 export SRCDIR=`pwd` cd unix ./configure --prefix=/usr \ --without-tzdata \ --mandir=/usr/sh...
fangxinmiao/projects
Architeture/OS/Linux/Distributions/LFS/build-scripts/blfs-7.6-systemv/t/Tcl-8.6.2/build.sh
Shell
gpl-3.0
1,781
docker stop influxdb docker rm influxdb docker pull arm32v7/influxdb docker run -d --name influxdb -p 8086:8086 --restart unless-stopped --memory="1G" -v $HOME/docker_influxdb/influxdb_data:/var/lib/influxdb influxdb
nio101/BASECAMP
docker_stuff/docker_influxdb/run_me.sh
Shell
gpl-3.0
217
#!/bin/bash set -e mkdir -p build output rm -rf build/* output/* cd build cmake ../.. \ -DCMAKE_CXX_COMPILER=afl-g++ \ -DCMAKE_CC_COMPILER=afl-gcc \ -DENABLE_FUZZING=On \ -DENABLE_SANITIZERS=On \ -DBUILD_SHARED_LIBS=Off \ -DBUILD_OSTREE=ON make -j8 fuzz
advancedtelematic/sota_client_cpp
fuzz/afl.sh
Shell
mpl-2.0
293
#!/usr/bin/env bash # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # Copyright (c) 2017 Mozilla Corporation # # Contributors: # Brandon Myers bmyers@mozilla.com sourc...
ameihm0912/MozDef
cron/import_threat_exchange.sh
Shell
mpl-2.0
474
#!/usr/bin/env bash set -e if [ "$BUILD_TOOLS" = false ]; then curl https://sh.rustup.rs -sSf | sh -s -- -y --default-host i686-unknown-linux-gnu source ~/.profile git clone --branch $RUST_G_VERSION https://github.com/tgstation/rust-g cd rust-g cargo build --release mkdir -p ~/.byond/bin ...
neersighted/tgstation
tools/travis/build_dependencies.sh
Shell
agpl-3.0
384
#!/bin/bash apt-get -y -q install arduino for user in `ls /home` do echo "Adding $user to group dialout." usermod -a -G dialout "$user" done
CodersOS/create
commands/arduino.sh
Shell
agpl-3.0
148
#!/bin/bash BACKUPFILE=backup-$(date +%Y-%m-%d-%H:%M:%S) archive=${BACKUPFILE} tar cvf $archive `find . -name "*.sh"` &> /dev/null
cxsjabc/basic
bash/_basic/backup.sh
Shell
agpl-3.0
134
#!/bin/bash ### # restart_script.sh # # Script per il riavvio del software di gestione campanelle # Restart script for the "campanella" bell management system # For more information on the software please visit: # https://lizzit.it/campanella # # Written by: Michele Lizzit <michele@lizzit.it>...
michelelizzit/campanella
campanella/restart_script.sh
Shell
agpl-3.0
1,626
#!/bin/bash # Check if nvcc is available if command -v nvcc &> /dev/null then nvcc_version=($(python scripts/get_cuda_version.py)) # Check cuda version, if less than 11 then download CUB, otherwise skip if [[ "$nvcc_version" < "11" ]] then # Check if ./lib/cub exists ...
GOMC-WSU/GOMC
metamakeMPI.sh
Shell
agpl-3.0
2,758
#!/bin/bash if [ "$1" = "--build" ]; then BUILD_ONLY=1 elif [ -n "$1" ]; then echo 'Usage: run.sh [--build]' >&2 exit 1 fi set -o pipefail set -eux export LANG=C.UTF-8 export MAKEFLAGS="-j $(nproc)" # Running the tests normally takes under half an hour. Sometimes the build or # (more usually) the tests...
deryni/cockpit
containers/unit-tests/run.sh
Shell
lgpl-2.1
2,144
#!/bin/bash # # Copyright (C) 2020 Alexander Larsson <alexl@redhat.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later ...
flatpak/flatpak
tests/test-summaries.sh
Shell
lgpl-2.1
9,041
#!/bin/sh # test_flake8.sh - run Python flake8 tests # # Copyright (C) 2019 Arthur de Jong # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at y...
arthurdejong/nss-pam-ldapd
tests/test_flake8.sh
Shell
lgpl-2.1
2,024
#!/bin/sh set -e if [ ! -f "build/env.sh" ]; then echo "$0 must be run from the root of the repository." exit 2 fi # Create fake Go workspace if it doesn't exist yet. workspace="$PWD/build/_workspace" root="$PWD" xeniodir="$workspace/src/github.com/xenioplatform" if [ ! -L "$xeniodir/go-xenio" ]; then mk...
xenioplatform/go-xenio
build/env.sh
Shell
lgpl-3.0
651
rm -Rf /guyirvine.com/people-blog/* cp -R $WORKSPACE/gi/_site/* /guyirvine.com/people-blog
guyirvine/people-blog
bin/copy_live.sh
Shell
lgpl-3.0
92
cd .. mkdir Solution cd Solution cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr make -j $(nproc) cd .. cd Tools
AndyD87/CcOS
Tools/build.sh
Shell
lgpl-3.0
130
#!/bin/bash # declare STRING variable date N=10 for i in `seq 1 $1`; do x=`shuf -i 100000-1000000 -n 1` ./prefix-scan $x done STRING="Done!!!" echo $STRING date
aocalderon/PhD
Y1Q1/GPU/lab3/3.2-prefix-scan/test2.sh
Shell
lgpl-3.0
163
#!/bin/bash # This must match the path to your osg-android build BASE_PATH=/home/erk/GIT-repos/osg-android mkdir -p build && cd build cmake .. \ -DOSG_DIR:PATH="$BASE_PATH/osg-android" \ -DOSG_INCLUDE_DIR:PATH="$BASE_PATH/include" \ -DOSG_GEN_INCLUDE_DIR:PATH="$BASE_PATH/build/include" \ -DCURL_INCLUDE_DIR:PATH="$BA...
thahemp/osgearth-android
buildOSGEarthAndroid.sh
Shell
lgpl-3.0
1,835
#!/bin/sh CURL_VERSION=7.48.0 WORKSPACE=$(pwd) INSTALL_DIR="${WORKSPACE}/Linux/i386" mkdir -p $INSTALL_DIR if [ ! -e "curl-${CURL_VERSION}-i386" ]; then tar -jxvf curl-${CURL_VERSION}.tar.bz2 mv curl-${CURL_VERSION} curl-${CURL_VERSION}-i386 fi cd curl-${CURL_VERSION}-i386 export CFLAGS="-m32 -I${WORKSPACE}/../...
WadeHsiao/B
3rd/curl/build-curl-for-linux-i386.sh
Shell
lgpl-3.0
823
# Sets “Do Not Disturb” status for (FOCUS_INTERVAL / 60) minutes # FOCUS_INTERVAL is amount of seconds user focuses on (env variable from Focus.app) # note: $FOCUS_INTERVAL is 0 by default, otherwise it's the interval for the previous focus session if [ "$FOCUS_INTERVAL" -eq "0" ]; then FOCUS_INTERVAL=1500 fi FOCUS...
mistadikay/dotfiles
focus/focus.sh
Shell
unlicense
710
#!/bin/bash case $1 in noloop) [ -d log/ ] || mkdir log/ [ -f log/console.log ] && mv log/console.log "log/backup/`date +%Y-%m-%d_%H-%M-%S`_console.log" java -Xms128m -Xmx1536m -ea -XX:-UseSplitVerifier -javaagent:./libs/al-commons.jar -cp ./libs/*:AL-Game.jar com.aionemu.gameserver.GameServer > log/console.log ...
ilivoo/game-logic
bin/StartGS.sh
Shell
apache-2.0
416
#!/bin/bash if [ "$#" -ne 1 ] ; then echo "Usage: $0 <release directory>" >&2 exit 1 fi RELEASE=$PWD/$1 echo Processing ${RELEASE} TRANSITION_FILE=$1-transition.txt NOW_FILE=$1-now.txt echo > ${TRANSITION_FILE} echo > ${NOW_FILE} for zone in `find ${RELEASE} -type f`; do zdump -v -c 1901,2036 ${zone} >> ${TRAN...
RMGiroux/tzvalidate
scripts/dumpall.sh
Shell
apache-2.0
370
#!/bin/bash sudo npm run audit
shamrickus/GloryOfNephilim
audit.sh
Shell
apache-2.0
32
#!/bin/bash -e fs_type=${FS_TYPE} filesys=${PARTITION_NAME} EXISTING_FS_TYPE=$(sudo lsblk -no FSTYPE $PARTITION_NAME) if [ -z $EXISTING_FS_TYPE ] ; then mkfs_executable='' case ${fs_type} in ext2 | ext3 | ext4 | fat | ntfs ) mkfs_executable='mkfs.'${fs_type};; swap ) mkfs_exe...
alien4cloud/alien4cloud-extended-types
alien-extended-storage-types/scripts/mkfs.sh
Shell
apache-2.0
771
#!/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...
Fokko/incubator-airflow
scripts/ci/ci_run_all_static_tests.sh
Shell
apache-2.0
1,341
# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && cd ../../.. && pwd -P)" # Defines: # + NATIVE_ROOT: The Rust code directory, ie: src/rust/engine. # + MODE: Whether to run in debug or ...
jsirois/pants
build-support/bin/rust/bootstrap_code.sh
Shell
apache-2.0
3,527
#!/bin/sh ## you need to set env variables : JAVA_HOME, or modify the 2 values here export SAMPLE_PROPERTIES=" -Dsamples.trustAll=true " export SAMPLEDIR=. if [ "x${JAVA_HOME}" = "x" ] then if [ "x${JAVAHOME}" = "x" ] then echo JAVA_HOME not defined. Must be defined to run java apps. ex...
jdgwartney/vsphere-ws
java/JAXWS/run.sh
Shell
apache-2.0
573
#!/bin/bash export PWD=`pwd` emacs `./lib/sourcefiles.sh` --geometry 120x70 --eval "(add-hook 'emacs-startup-hook 'delete-other-windows)" --title "`basename $PWD` ide" &
xoba/jira
lib/x-ide.sh
Shell
apache-2.0
171
#!/bin/sh # # Copyright (C) 2012 The Android Open Source Project # # 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 app...
yongjhih/android_tools
ndk/build/tools/gen-toolchain-wrapper.sh
Shell
apache-2.0
4,848
APT="apt-get" function install_git { $APT install -y git || _error "Could not install packages" } function install_script_dependencies { $APT update $APT install -y openssl wget || _error "Could not install packages" } function install_rocksdb_dependencies { $APT install -y libsnappy-dev zlib1g-dev libbz2-dev li...
bauerj/electrumx-installer
distributions/base-debianoid.sh
Shell
apache-2.0
498
#doitlive prompt: {user.dim}: {cwd.red}/ $ #doitlive speed: 2 #doitlive commentecho: true # This is bootstrap code. Please continue until you get the presentation header. sudo mkdir -p /shared/project sudo chown dottie_demo /shared/project cp ./project/* /shared/project/ clear # # #Keeping Secrets in your code # #- ...
krotscheck/presentations
src/2018_11_10_keeping_secrets/presentation.dottie.sh
Shell
apache-2.0
1,290
#!/bin/bash # # Licensed to Jasig under one or more contributor license # agreements. See the NOTICE file distributed with this work # for additional information regarding copyright ownership. # Jasig licenses this file to you under the Apache License, # Version 2.0 (the "License"); you may not use this file # except i...
0be1/cas
travis/init-travis-build.sh
Shell
apache-2.0
1,345
#!/usr/bin/env bash set -o errexit set -o nounset set -o pipefail set -o errtrace (shopt -p inherit_errexit &>/dev/null) && shopt -s inherit_errexit readonly SCRIPT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)" source "$SCRIPT_DIR"/../src/logger.sh "test.log" function foo() { ENTER DEBUG "DEBUG message" ...
adoyle-h/bash-logger
test/logger_to_file.sh
Shell
apache-2.0
447
#!/bin/bash set -euo pipefail # Vars without defaults : "${NFSYSTEM:?NFSYSTEM not set}" : "${CONT:?CONT not set}" : "${DATADIR:?DATADIR not set}" : "${LOGDIR:?LOGDIR not set}" : "${PRETRAINED_DIR:?PRETRAINED_DIR not set}" # Vars with defaults : "${NEXP:=5}" : "${DATESTAMP:=$(date +'%y%m%d%H%M%S%N')}" : "${CLEAR_CACHE...
mlperf/training_results_v0.7
Inspur/benchmarks/ssd/implementations/implementation_closed/run_with_docker.sh
Shell
apache-2.0
2,306
#!/bin/bash sudo apt update sudo apt full-upgrade -y sudo apt install -y git if [ ! -d ~/git ]; then mkdir -p ~/git fi cd ~/git if [ ! -d star.ubuntu-setup ]; then git clone https://github.com/starlone/star.ubuntu-setup.git fi cd star.ubuntu-setup ./setup.sh
starlone/star.ubuntu-setup
bootstrap.sh
Shell
apache-2.0
272
#!/bin/bash # Copyright 2013 Brno University of Technology (Author: Karel Vesely) # Apache 2.0. # Sequence-discriminative MMI/BMMI training of DNN. # 4 iterations (by default) of Stochastic Gradient Descent with per-utterance updates. # Boosting of paths with more errors (BMMI) gets activated by '--boost <float>' o...
thorsonlinguistics/german-neutralization
steps/nnet/train_mmi.sh
Shell
apache-2.0
6,857
#!/usr/bin/env bash # Copyright 2017 Sean Mackrory # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
mackrorysd/hadoop-compatibility
scripts/zookeeper.sh
Shell
apache-2.0
1,622
#!/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...
ellited/Lieferando-Services
Pods/Target Support Files/Pods-Lieferando Services/Pods-Lieferando Services-frameworks.sh
Shell
apache-2.0
4,291
#!/bin/bash set -euo pipefail export GOPATH=$(cd "$(dirname "$0")"; pwd) export GOBIN=${GOBIN:-${GOPATH}/bin} export KODING_REPO=$(git rev-parse --show-toplevel) export KODING_GIT_VERSION=$(git rev-parse --short HEAD || cat ./VERSION || cat ../VERSION || cat ../../../VERSION || echo "0") export KODING_VERSION=${KODIN...
drewsetski/koding
go/build.sh
Shell
apache-2.0
3,056
test_init_auto() { # - lxd init --auto --storage-backend zfs # and # - lxd init --auto # can't be easily tested on jenkins since it hard-codes "default" as pool # naming. This can cause naming conflicts when multiple test-suites are run on # a single runner. if [ "$(storage_backend "$LXD_DIR")" = "zfs" ]...
lxc/lxd-pkg-ubuntu
test/suites/init_auto.sh
Shell
apache-2.0
2,278
export HADOOP_INSTALL=/opt/hadoop-2.7.0 export PATH=$PATH:$HADOOP_INSTALL/bin input=$1 output=$2 k=$3 hdfs dfs -copyToLocal $input kmeans_input >> /dev/null python kmeans_scikit.py kmeans_input kmeans_output $k hdfs dfs -copyFromLocal kmeans_output $output rm -rf kmeans_input kmeans_output
project-asap/IReS-Platform
asap-platform/asap-server/asapLibrary/operators/kmeans_scikit/kmeans_scikit.sh
Shell
apache-2.0
294
#!/bin/bash # # Copyright 2015 6WIND S.A. # # devstack/plugin.sh # Functions to install/configure the fast path with ML2 ovs, linuxbridge, odl... # Dependencies: # # ``functions`` file # ``TOP_DIR`` must be defined # ``stack.sh`` calls the entry points in this order: # install_fast_path # write_fast_path_conf # start...
openstack/networking-6wind
devstack/plugin.sh
Shell
apache-2.0
2,915
#!/bin/bash # Add custom configuration file set -e SCRIPT_DIR=$(dirname $0) ADDED_DIR=${SCRIPT_DIR}/added cp -p ${ADDED_DIR}/clustered-openshift.xml $JBOSS_HOME/standalone/configuration/
bdecoste/cct_module
os-jdg7-conffiles/configure.sh
Shell
apache-2.0
189
#!/bin/sh NAME=security.cov lcov --quiet --base-directory . --directory . -c -o $NAME lcov --quiet --remove $NAME "/usr*" -o $NAME lcov --quiet --remove $NAME "/build*" -o $NAME lcov --quiet --remove $NAME "/opt*" -o $NAME lcov --quiet --remove $NAME "*/adainclude*" -o $NAME lcov --quiet --remove $NAME "*/regtests*" -o...
stcarrez/ada-security
coverage.sh
Shell
apache-2.0
478
#!/bin/bash # force_coreos_update.command # CoreOS GUI for OS X # # Created by Rimantas on 01/04/2014. # Copyright (c) 2014 Rimantas Mocevicius. All rights reserved. function pause(){ read -p "$*" } cd ~/coreos-osx/coreos-vagrant vagrant up vagrant ssh -c "sudo update_engine_client -update" echo " " echo "Updat...
rudymccomb/coreos-osx-gui
src/force_coreos_update.command
Shell
apache-2.0
381
#!/bin/bash # Cause the script to exit if a single command fails. set -e # Show explicitly which commands are currently running. set -x # Much of this is taken from https://github.com/matthew-brett/multibuild. # This script uses "sudo", so you may need to type in a password a couple times. MACPYTHON_URL=https://www...
richardliaw/ray
python/build-wheel-macos.sh
Shell
apache-2.0
3,290
#!/bin/sh ############################### # Parameter settings # ############################### elasticSearchServer=$1 if [ -z "$elasticSearchServer" ] then echo "ERROR: You must provide an ElasticSearch server!" echo " A valid call could be: " echo " shell> $0 http://whvmescidev6....
Deutsche-Digitale-Bibliothek/ddb-next
elasticsearch/createReleaseData_4.4.sh
Shell
apache-2.0
1,856
#!/bin/bash set -e cd ~/uploads/etc # Setup the sudoers config sudo visudo -c -f sudoers sudo EDITOR="cp sudoers" visudo sudo rm /etc/sudoers.d/vagrant sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.orig sudo cp ssh/sshd_config /etc/ssh/sshd_config sudo cp /etc/pam.d/su /etc/pam.d/su.orig sudo cp pam.d/su /etc/...
dedickinson/engineering-notebook
packer/base-centos/provisioners/uploads.sh
Shell
apache-2.0
486
#!/bin/bash # Build the Dokka docs. ./assemble_docs.sh # Copy outside files into the docs folder. sed -e '/full documentation here/ { N; d; }' < README.md > docs/index.md cp .github/ISSUE_TEMPLATE/CONTRIBUTING.md docs/contributing.md cp CHANGELOG.md docs/changelog.md cp coil-compose-singleton/README.md docs/compose.m...
coil-kt/coil
deploy_docs.sh
Shell
apache-2.0
847
#!/bin/bash # # Copyright (c) 2016-2017 Nest Labs, 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/LICEN...
openweave/openweave-core
src/test-apps/happy/tests/service/weave_service_perf_run.sh
Shell
apache-2.0
2,820
#!/bin/bash -xe # # Copyright 2005-2014 The Kuali Foundation # # Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php # # Unless required...
ua-eas/ua-rice-2.1.9
config/access/src/main/resources/update_authorized_keys.sh
Shell
apache-2.0
1,583
#!/bin/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 # "License"); y...
wido/cloudstack
tools/appliance/systemvmtemplate/scripts/install_systemvm_packages.sh
Shell
apache-2.0
3,545
#!/usr/bin/env bash # Cause the script to exit if a single command fails. set -e # Show explicitly which commands are currently running. set -x ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd) platform="" case "${OSTYPE}" in linux*) platform="linux";; darwin*) platform="macosx";; msys*) platform="windows...
pcmoritz/ray-1
ci/travis/test-wheels.sh
Shell
apache-2.0
3,717
#!/bin/sh BASEDIR=$(dirname "$0") docker build --rm -t workcalendar -f "$BASEDIR/Dockerfile" .
OlegAndreych/work_calendar
docker_build.sh
Shell
apache-2.0
95
#!/bin/bash ############################################################################### ## ## Description: ## This script checks the guest time could be sync with host. ## The guest time should be same with host after enable timesync. ## #########################################################################...
VirtQE-S1/ESX-LISA
remote-scripts/ovt_check_oneshot_timesync.sh
Shell
apache-2.0
2,923
#!/bin/bash if [ "$#" -ne 1 ]; then echo "Usage: ./populate_table.sh bucket-name" exit fi BUCKET=$1 echo "Populating Cloud SQL instance flights from gs://${BUCKET}/flights/raw/..." # To run mysqlimport and mysql, authorize CloudShell bash authorize_cloudshell.sh # the table name for mysqlimport comes from ...
GoogleCloudPlatform/training-data-analyst
quests/data-science-on-gcp-edition1_tf2/03_sqlstudio/populate_table.sh
Shell
apache-2.0
897
#!/usr/bin/env bash # The base function to output logging information. This should *not* be used # directly, but the helper functions can be used safely. log() { local OPTIND local color while getopts ":c:" opt do case "$opt" in c) color=$OPTARG ;; *) alert "Unused argument specified: $opt" ;; esac don...
rakudo/star
lib/logging.bash
Shell
artistic-2.0
1,117
#!/bin/sh cp t/basic-backup basic cp t/multilang-backup multilang
Uladox/Editsrc-Uggedit
reset-tests.sh
Shell
artistic-2.0
66
#!/bin/bash appname="$1" windowtitle="$2" [ "$appname" = "" ] && echo "expecting app-name" && exit 1 mydir="$(dirname "$0")" script="$mydir/app-scripts/url of $appname" function call_applescript { ret="$(osascript -ss "$1" 2>/dev/null)" [ $? != 0 ] && return 1 echo "$ret" | sed "s/^\"\(.*\)\"$/\1/g" } [ -e "$scr...
albertz/foreground_app_info
mac/get_app_url.sh
Shell
bsd-2-clause
1,297
cd "${INSTALLDIR}/${NAME}/" manage="${VENV}/bin/python ${INSTALLDIR}/${NAME}/manage.py" # run the following if migration `core 0031` has faild # $manage migrate core 0031 --fake --settings=tuneme.settings.production $manage migrate --noinput --settings=tuneme.settings.production # process static files $manage collect...
praekelt/molo-tuneme
sideloader/postinstall.sh
Shell
bsd-2-clause
912
#!/bin/bash i="0" while [ $i -lt 1 ] do hostn=$(cat /etc/hostname) ext_ip4=$(dig +short myip.opendns.com @resolver1.opendns.com) ext_ip6=$(curl icanhazip.com) # mosquitto_pub -d -t hello/world -m "$(date) : irot LdB, online. IP is $ext_ip" -h "uveais.ca" # mosquitto_pub -d -t uvea/alive -m "$(date) : $hostn server IP...
krattai/noo-ebs
ref_code/mqtt/pub.sh
Shell
bsd-2-clause
823
#!/bin/bash source activate $CONDA_ENV # Make sure any error below is reported as such set -v -e # Ensure the README is correctly formatted if [ "$BUILD_DOC" == "yes" ]; then rstcheck README.rst; fi # Ensure that the documentation builds without warnings pushd docs if [ "$BUILD_DOC" == "yes" ]; then make SPHINXOPTS=...
sklam/numba
buildscripts/incremental/test.sh
Shell
bsd-2-clause
2,375
#!/bin/sh # s2gridToyFeatMerge.sh <dataName> <doSubmit> # WARNING: This script will only use the "ang" group of machines" EXPECTED_ARGS=1 E_BADARGS=65 if [ $# -lt $EXPECTED_ARGS ] # use -lt instead of < then echo "Usage: `basename $0` <dataName=AR>" exit $E_BADARGS fi TimeLimit=3500 DATANAME=$1 for infName in '...
michaelchughes/NPBayesHMM
code/experiments/s2gridToyFeatMerge.sh
Shell
bsd-3-clause
2,379
#!/bin/sh cc -c -o dybuf.o dybuf.c cc -c -o grabber.o grabber.c cc -c -o output_csv.o output_csv.c cc -c -o output_xml.o output_xml.c cc -c -o output_json.o output_json.c cc -o grabber grabber.o dybuf.o output_csv.o output_xml.o output_json.o -levent -lm
deoxxa/banner-grabber
build.sh
Shell
bsd-3-clause
256
#!/bin/bash if [ -z "$VIRTUAL_ENV" ]; then echo "Not running in a virtualenv??? You've got 10 seconds to CTRL-C ..." sleep 10 virtualenv .env/ source .env/bin/activate fi pip install nose coverage pip install -r requirements.txt python setup.py develop --no-deps if [ "$1" == "--without-mockapi" ]; t...
datafolklabs/drest
utils/run-tests.sh
Shell
bsd-3-clause
986
#!/bin/bash exec &> dune-info.dat pushd . >/dev/null # Find base of git directory while [ ! -d .git ] && [ ! `pwd` = "/" ]; do cd ..; done # Go to Dune root dir cd .. # Collect information about all Dune module using dunecontrol #echo "== SVN info: " #dune-common/bin/dunecontrol svn info #echo #echo "== SVN diff:...
pederpansen/dune-ax1
src/dune-info.bash
Shell
bsd-3-clause
777
#!/bin/bash # Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Reproduces the content of 'components' and 'components-chromium' using the # list of dependencies from 'bower.json'. Downloads needed packages...
Workday/OpenFrame
third_party/polymer/v1_0/reproduce.sh
Shell
bsd-3-clause
3,077
#!/bin/bash # TODO explain --remote-host/--remote-path DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" PROJECT_PATH="$(cd "$DIR/../../../.." && pwd)" REMOTE_PATH="$PROJECT_PATH" REMOTE_HOST="localhost" LOCAL_HOST="localhost" LOCAL_PORT=1234 OTSRC="src/ext/oblivc/ot.c" BENCHDIR="test/oblivc/ottest/" BENCHSRC="...
samuelhavron/obliv-c
test/oblivc/ottest/bench/time-for-phases.sh
Shell
bsd-3-clause
2,169
#!/bin/bash rm -f bus-service gcc -O2 spamsignals.c -o spamsignals `pkg-config --cflags --libs libsystemd`
tasleson/dbus-signals
build.sh
Shell
mit
108
#!/usr/bin/env bash . "test/testlib.sh" begin_test "smudge" ( set -e reponame="$(basename "$0" ".sh")" setup_remote_repo "$reponame" clone_repo "$reponame" repo git lfs track "*.dat" echo "smudge a" > a.dat git add .gitattributes a.dat git commit -m "add a.dat" # smudge works even though it hasn'...
ryansimmen/git-lfs
test/test-smudge.sh
Shell
mit
4,897
#!/bin/sh # installheaders.sh - install header files # usage: installheaders.sh srcdir destdir # srcdir/*.h is copied to destdir, if different. # if [ $# != 2 ]; then echo "$0: Usage: $0 srcdir destdir" 1>&2 exit 1 fi for H in "$1"/*.h; do BH=`basename "$H"` if diff "$H" "$2/$BH" >/dev/null 2>&1; then...
computist/os161
mk/installheaders.sh
Shell
mit
393
#!/bin/bash if (( $# != 3 )) then echo "Usage: glassfish_start_service <path_to_war> <target_port> <threadpool_size>" exit fi TARGET_PORT=$2 SOURCE_PATH=$1 THREADPOOL_SIZE=$3 if [ -z "$KB_RUNTIME" ] then export KB_RUNTIME=/kb/runtime fi if [ -z "$GLASSFISH_HOME" ] then export GLASSFISH_HOME=$KB_RUNTIM...
kbase/cmonkey
glassfish_start_service.sh
Shell
mit
1,878
#!/bin/bash script_directory="$(dirname $(readlink -f ${BASH_SOURCE}))" set -e -x cd "${script_directory}/../src" if [[ -d cov-int ]]; then rm -rf cov-int fi make clean # XXX: Get Coverity Build Tool from here: # https://scan.coverity.com/download/cxx/linux-64 # Unpack into /vagrant (root of sdn_sensor) # XX...
TidyHuang/sdn_sensor
scripts/run-coverity.bash
Shell
mit
563