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 source ./ci/functions.sh runBuild=false echo "Reviewing changes that might affect the Gradle build..." currentChangeSetAffectsTests retval=$? if [ "$retval" == 0 ] then echo "Found changes that require the build to run test cases." runBuild=true else echo "Changes do NOT affect project test cas...
GIP-RECIA/cas
ci/tests/influxdb/run-tests-influxdb.sh
Shell
apache-2.0
2,484
#!/usr/bin/env bash . ./tests/init.sh && \ echo "insert into OPENBILL_ACCOUNTS (id, category_id) values ($ACCOUNT1_UUID, $CATEGORY_UUID)" | ./tests/sql.sh && \ echo "insert into OPENBILL_ACCOUNTS (id, category_id) values ($ACCOUNT2_UUID, $CATEGORY_UUID)" | ./tests/sql.sh && \ echo "insert into OPENBILL_ACCOUNTS (i...
openbill-service/openbill-core
tests/test_account_incoming.sh
Shell
apache-2.0
1,447
#!/usr/bin/env bash # # Ensure chef client is installed on box # download and execute chef install script which installs # or updates chef client on box echo 'Ensuring Chef is installed and up to date...' curl -sSL https://www.opscode.com/chef/install.sh | bash 1>/dev/null 2>/dev/null
andrewbharrisiv/vagrant-linux-chef
vagrant/shell/install-chef.sh
Shell
apache-2.0
287
#for i in {1..7} #do # file= # for (( j=$(($i+1)); j<=31; j++ )) # do # file="$file data/zhiyu/5-$j" # done # spark-submit --class "com.ctofunds.dd.zhiyu.SaudiBuyRate" --master "local[4]" target/scala-2.10/dd-assembly-0.0.16.jar data/zhiyu/5-$i $file #spark-submit --class "com.ctofunds.dd.zhiy...
tangr1/dd
run.sh
Shell
apache-2.0
6,404
#!/bin/sh # # build.sh # # part of pfSense (https://www.pfsense.org) # Copyright (c) 2004-2016 Rubicon Communications, LLC (Netgate) # 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 th...
brunostein/pfsense
build.sh
Shell
apache-2.0
10,843
#! /bin/bash # A lot of this is facebook specific but can give an idea of how # to setup custom tests for WDT - Very similar to travis_linux.sh # run this once and then _run will run a loop and email results echo "if sending email later fails, you might need:" echo "sudo sed -ie 's#^\(mailhub\).*$#\1=localhost#' /etc/s...
ldemailly/wdt
build/wdt_cont_build_setup.sh
Shell
bsd-3-clause
2,465
#!/usr/bin/env bash . "$(dirname "$0")/testlib.sh" begin_test "askpass: push with GIT_ASKPASS" ( set -e reponame="askpass-with-git-environ" setup_remote_repo "$reponame" clone_repo "$reponame" "$reponame" git lfs track "*.dat" echo "hello" > a.dat git add .gitattributes a.dat git commit -m "initial...
github/git-lfs
t/t-askpass.sh
Shell
mit
4,040
#!/usr/bin/env zsh DIR="${0:a:h}" ROOT_DIR="$DIR/.." TEST_DIR="$ROOT_DIR/test" header() { local message="$1" cat <<-EOF #====================================================================# # $message #====================================================================# EOF } # ZSH binary to use local zsh_bin...
rakr/dotfiles
zsh/zsh-autosuggestions/script/test_runner.zsh
Shell
mit
813
#!/bin/bash set -e # Configuration J2OBJC_VERSION=0.9.8.2 BUILD_DIRECTORY="$1/build-tools" J2OBJC_DIR="${BUILD_DIRECTORY}/dist/" source "$BUILD_DIRECTORY/common.sh" if [ ! -d "${J2OBJC_DIR}/j2objc-${J2OBJC_VERSION}" ]; then echo_w "Downloading j2objc..." curl -o "${BUILD_DIRECTORY}/j2objc-${J2OBJC_VERSION}.zip" -L...
jamesbond12/actor-platform
actor-apps/build-tools/configureCocoaDeps.sh
Shell
mit
674
#!/bin/bash set -e MINGW=i686-w64-mingw32 MINGW_PATH=/opt/mingw32 JOBS="-j 4" if [ ! -f Makefile ]; then cd ../.. fi export PATH=`pwd`/data/windows:$MINGW_PATH/bin:$MINGW_PATH/$MINGW/bin:$PATH export AR=$MINGW-ar export CC=$MINGW-gcc export CXX=$MINGW-g++ export MOC=$MINGW-moc export RCC=$MINGW-rcc export UIC=$M...
falkTX/Cadence
data/windows/build-win32.sh
Shell
gpl-2.0
3,613
#!/usr/bin/env bash # vim: set ft=sh sw=4 sts=4 et : mkdir dep_spec_TEST_dir || exit 1 cd dep_spec_TEST_dir || exit 1 mkdir -p home/.paludis/repositories cat <<END > home/.paludis/repositories/testrepo.conf location = `pwd`/testrepo format = e names_cache = /var/empty cache = /var/empty profiles = \${location}/profi...
impulze/paludis
ruby/dep_spec_TEST_setup.sh
Shell
gpl-2.0
1,395
#!/bin/bash python runtime/getchangedsrc.py "$@"
sethten/MoDesserts
mcp50/getchangedsrc.sh
Shell
gpl-3.0
49
sudo apt-get -y update sudo apt-get -y upgrade sudo apt-get -y dist-upgrade sudo apt-get -y autoremove # INSTALL THE DEPENDENCIES # Build tools: sudo apt-get install -y build-essential cmake # GUI (if you want to use GTK instead of Qt, replace 'qt5-default' with 'libgtkglext1-dev' and remove '-DWITH_QT=ON' option i...
OpenGenus/cosmos
code/artificial_intelligence/src/image_processing/install_opencv.sh
Shell
gpl-3.0
1,461
#!/bin/bash #$ -cwd #$ -V #$ -P bsg.prjb -q short.qb #$ -e ErrFiles #$ -o OutFiles #$ -N scrm3000 #$ -t 1-1000 #$ -j y source parameters_preset ####################### exact_window_i=3000 program=scrm job=${case}${program}window${exact_window_i}_ prefix=${case}${program}window${exact_window_i}_${rep} cmd="${cmd} -l $...
luntergroup/scrm_jz_stable_branch
tests/manualtests/LD/cluster/submit_scrm3000.sh
Shell
gpl-3.0
403
#!/bin/bash set -e IFS="," read -ra tasks <<< "${TASKS}" for t in "${tasks[@]}"; do # OS specific setup case ${TRAVIS_OS_NAME} in linux) export DISPLAY=:1.0 export RUST_TEST_TASKS=1 ;; osx) ;; esac case $t in build) ....
fabricedesre/servo
etc/ci/travis.script.sh
Shell
mpl-2.0
1,468
#!/bin/bash ########################################################################### # NOTE: # Cross compiling is from Linux 64-bit to Linux 32-bit only. # # This is really only for my testing purposes so I can quickly test # other platforms and targets # #######################################################...
x2nie/LiteKit
src/buildcrosslinux32.sh
Shell
lgpl-2.1
1,606
#!/bin/sh # Backup conf/server.xml cp conf/server.xml conf/server.xml~ while getopts ":sn:p:c:" opt; do case $opt in s) echo "Using security and 'https' as connector scheme" # Use secure connector xmlstarlet ed --inplace --delete "/Server/Service/Connector/@secure" conf/server.xml xmlstarlet ed --inpla...
ahaasler/docker-jira-software
launch.sh
Shell
apache-2.0
1,675
#!/usr/bin/env bash curl -sSL https://get.docker.com/ | sh
jalbin/plumbery
plumbery/polishers/rub.docker.sh
Shell
apache-2.0
60
#!/bin/bash echo "This script expects to find font-families organized in the same directory structure as the Google Fonts git repo at https://github.com/google/fonts/" echo "The collection_folder specified in the command-line must contain sub-directories with license names ('ofl', 'ufl' or 'apache') and familyname dire...
googlefonts/fontbakery
snippets/fontbakery-check-gfonts-collection.sh
Shell
apache-2.0
1,100
#!/bin/sh tar -xzvf ffte-5.0.tgz cd ~/ffte-5.0/tests/ make cd ~/ffte-5.0/mpi/tests/ make cd ~/ cat>ffte<<EOT #!/bin/sh cd ~/ffte-5.0/ # Very simple test right now... Please feel free to extend and submit patches. # We should also be doing something like: \$@ > \$LOG_FILE 2>&1 # Instead of the static text below as t...
mugglmenzel/BalloonRace
src/main/resources/test-profiles/pts/ffte-1.0.1/install.sh
Shell
bsd-3-clause
480
#!/bin/bash # This script is meant to be called by the "install" step # defined in the ".travis.yml" file. In particular, it is # important that we call to the right installation script. set -e if [[ $BUILD_WHEEL == true ]]; then source build_tools/travis/install_wheels.sh else source build_tools/travis/inst...
xuewei4d/scikit-learn
build_tools/travis/install.sh
Shell
bsd-3-clause
337
#! /bin/sh # # $NetBSD: netbsd-import.sh,v 1.3 2008/04/30 13:10:46 martin Exp $ # # Copyright (c) 2000-2005 The NetBSD Foundation, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redis...
GaloisInc/hacrypto
src/C/NetBSD-7.0/crypto/dist/ipsec-tools/netbsd-import.sh
Shell
bsd-3-clause
4,001
#!/bin/sh echo "aria2.unpauseAll" curl -d "{\"jsonrpc\":\"2.0\",\"method\":\"aria2.unpauseAll\",\"id\":1,\"params\":[]}" "http://127.0.0.1:6800/jsonrpc" echo '\ndone'
xuzhuoyi/PiBox
PiBox/sh/aria2/unpauseAll.sh
Shell
gpl-2.0
168
#!/bin/sh # Copyright (C) 1999-2006 ImageMagick Studio LLC # # This program is covered by multiple licenses, which are described in # LICENSE. You should have received a copy of LICENSE with this # package; otherwise see http://www.imagemagick.org/script/license.php. . ${srcdir}/tests/common.shi ${RUNENV} ${MEMCHECK} ...
ipwndev/DSLinux-Mirror
user/imagemagick/src/tests/rwfile_VIFF_pallette.sh
Shell
gpl-2.0
364
#!/bin/sh # # Copyright (c) 2012 SZEDER Gábor # test_description='test git-specific bash prompt functions' . ./lib-bash.sh . "$GIT_BUILD_DIR/contrib/completion/git-prompt.sh" actual="$TRASH_DIRECTORY/actual" c_red='\\[\\e[31m\\]' c_green='\\[\\e[32m\\]' c_lblue='\\[\\e[1;34m\\]' c_clear='\\[\\e[0m\\]' test_expect_...
devzero2000/git-core
t/t9903-bash-prompt.sh
Shell
gpl-2.0
20,706
#******************************************************************************* # Copyright (c) 2005, 2006 IBM Corporation and others. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is...
s20121035/rk3288_android5.1_repo
external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_rss/buildFeedToolsJar.sh
Shell
gpl-3.0
661
#!/bin/bash #if ! dpkg-query -Wf'${Status}' python-lxml 2>/dev/null | grep -q '^i' #then # echo "Installing python-lxml" # sudo apt-get update # sudo apt-get -y install python-lxml #fi #if ! sudo pip freeze | grep -q beautifulsoup4 #then # echo "Installing BeautifulSoup 4" # if ! sudo pip install beautifulsoup4 #...
ArchiveTeam/gamefront-grab
warrior-install.sh
Shell
unlicense
493
#!/bin/bash # Copyright 2016 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 applicable ...
GoogleCloudPlatform/guest-configs
src/etc/dhcp/dhclient.d/google_hostname.sh
Shell
apache-2.0
690
#!/bin/bash echo "Running TPCH-3" . ./configDefaults.sh ARGS="$HDFS_TPCH3/lineitem.tbl $HDFS_TPCH3/customer.tbl $HDFS_TPCH3/orders.tbl $HDFS_TPCH3_OUT" echo "running TPCH-3 with args $ARGS" $FLINK_BUILD_HOME"/bin/flink" run -p $DOP $TESTJOB_HOME"/flink-jobs/target/flink-jobs-*.jar" \ -c com.github.projectflink.test...
mxm/flink-perf
automation/runTPCH3-JAPI.sh
Shell
apache-2.0
343
#!/bin/bash SCRIPT_PATH="${BASH_SOURCE[0]}"; if ([ -h "${SCRIPT_PATH}" ]) then while([ -h "${SCRIPT_PATH}" ]) do SCRIPT_PATH=`readlink "${SCRIPT_PATH}"`; done fi pushd . > /dev/null cd `dirname ${SCRIPT_PATH}` > /dev/null SCRIPT_PATH=`pwd`; popd > /dev/null mono $SCRIPT_PATH/src/.nuget/NuGet.exe update -self mono...
nvivo/akka.net
build.sh
Shell
apache-2.0
883
#!/bin/bash set -e SRCDIR=$1 DSTDIR=$2 ${SRCDIR}/Installation/file-list-js.sh ${SRCDIR} | while read a; do if test -f "$DSTDIR/$a"; then echo "$DSTDIR/$a: already exists, giving up" exit 1 fi FROM="${SRCDIR}/$a" TO="${DSTDIR}/$a" DIR=`dirname "${TO}"` test -d "${DIR}" || mkdir -p "${DIR}" c...
mujiansu/arangodb
Installation/file-copy-js.sh
Shell
apache-2.0
348
#!/bin/bash # while sleep 9m; do echo -e '\n=====[ Gradle build is still running ]====='; done & echo "Running InfluxDb docker image..." docker run -d -p 8083:8083 -p 8086:8086 --name="influxdb-server" influxdb:1.7.1-alpine docker ps | grep "influxdb-server" retVal=$? if [ $retVal == 0 ]; then echo "InfluxDb doc...
GIP-RECIA/cas
ci/tests/influxdb/run-influxdb-server.sh
Shell
apache-2.0
418
#!/system/bin/sh # Copyright (c) 2012, The Linux Foundation. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice, th...
Carbonite12/L90-devtree
rootdir/init.zetaw.syspart_fixup.sh
Shell
gpl-2.0
3,080
#!/bin/bash set -e source common/ui.sh if [ "$(id -u)" != "0" ]; then echo "You should run this script as root (sudo)." exit 1 fi export DISTRIBUTION=$1 export RELEASE=$2 export ARCH=$3 export CONTAINER=$4 export PACKAGE=$5 export ROOTFS="/var/lib/lxc/${CONTAINER}/rootfs" export WORKING_DIR="/tmp/${CONTAINER}" e...
devekko/vagrant-lxc-base-boxes
mk-debian.sh
Shell
mit
1,243
#!/bin/sh # A script to automate setup and build for Windows cross-compilation # # What it does: # 1) prepare a build directory # 2) download and unpacked the dependencies # (see http://www.gtk.org/download/win32.php) # 2.1) fixup the unpacked pkg-config file paths # 3) setup the few required paths # 4) configure wi...
webaware/geany
scripts/cross-build-mingw.sh
Shell
gpl-2.0
2,559
#!/bin/bash if [[ -n "$1" && -n "$2" ]] ; then rm PokerTH-$1-src.tar.bz2 rm -r PokerTH-$1-src mkdir PokerTH-$1-src cd PokerTH-$1-src # CHECKOUT PokerTH SOURCECODE if [[ -n "$3" ]] ; then git clone https://github.com/pokerth/pokerth.git . -r $3 else git clone https://github.com/pokerth/pokerth.git . fi...
tempbottle/pokerth
src_create_release.sh
Shell
agpl-3.0
942
#!/bin/bash # check performance test mode mode="$1" echo "testing Random Forest Classification workflow" # server IP source . ../../server.conf # Die on any error: set -e DIR="${BASH_SOURCE%/*}"; if [ ! -d "$DIR" ]; then DIR="$PWD"; fi; . "$DIR/../../base.sh" echo "#create a dataset" path=$(pwd) curl -X POST -b c...
Amutheezan/product-das
modules/samples/ml/default/random-forest-classification/model-generation.sh
Shell
apache-2.0
4,977
# # Function wrapper to docker-machine that adds a use subcommand. # # The use subcommand runs `eval "$(docker-machine env [args])"`, which is a lot # less typing. # # To enable: # 1a. Copy this file somewhere and source it in your .bashrc # source /some/where/docker-machine-wrapper.bash # 1b. Alternatively, jus...
jhoos/machine
contrib/completion/bash/docker-machine-wrapper.bash
Shell
apache-2.0
1,526
#!/bin/sh echo make $* exec make \ APACHE_CONTROL_PROGRAM=/etc/init.d/apache2 \ APACHE_LOG=/var/log/apache2/error.log \ APACHE_MODULES=/usr/lib/apache2/modules \ APACHE_CONF_FILE=/etc/apache2/apache2.conf \ APACHE_PIDFILE=/var/run/apache2.pid \ APACHE_PROGRAM=/usr/sbin/apache2 \ APACHE_ROO...
patricmutwiri/mod_pagespeed
install/ubuntu.sh
Shell
apache-2.0
466
#! /usr/bin/env bash $EXTRACTRC *.ui >> rc.cpp $XGETTEXT *.cpp -o $podir/kcm_autostart.pot rm -f rc.cpp
mgottschlag/kwin-tiling
kcontrol/autostart/Messages.sh
Shell
gpl-2.0
104
#!/bin/sh # # Copyright (c) 2007 Jakub Narebski # test_description='gitweb as standalone script (basic tests). This test runs gitweb (git web interface) as CGI script from commandline, and checks that it would not write any errors or warnings to log.' . ./gitweb-lib.sh # -------------------------------------------...
velorientc/git_test3
t/t9500-gitweb-standalone-no-errors.sh
Shell
gpl-2.0
22,352
#! /bin/sh #@ident "$Id: $" #@Author: www.philippe.coval.online.fr -- revision: $Author: rzr $ #@Licence: LGPL #@Description: Env script for starting java application tuxguitar ############################################################################### PACKAGE="tuxguitar" # overide if needed #{ java : JAVA_HOME...
bluenote10/TuxguitarParser
tuxguitar-src/misc/env.sh
Shell
lgpl-2.1
881
#!/usr/bin/env bash ########################################################################### # buildrpms.sh # --------------------- # Date : March 2014 # Copyright : (C) 2014-2019 by Matthias Kuhn # Email : matthias at opengis dot ch # ---------------------...
mhugo/QGIS
rpm/buildrpms.sh
Shell
gpl-2.0
5,193
#!/bin/sh # SUMMARY: Namespace stress with a single short UDP/IPv6 "connection" over a veth pair in reverse order # LABELS: # REPEAT: set -e # Source libraries. Uncomment if needed/defined #. "${RT_LIB}" . "${RT_PROJECT_ROOT}/_lib/lib.sh" NAME=test-ns clean_up() { rm -rf ${NAME}-* } trap clean_up EXIT moby bui...
davefreitag/linuxkit
test/cases/020_kernel/110_namespace/005_kernel-4.13.x/010_veth/040_echo-udp-ipv6-short-1con-single-reverse/test.sh
Shell
apache-2.0
476
#!/bin/bash test "$OS_TYPE" = "Linux" test "$<TYPO descr="Typo: In word 'becase'">becase</TYPO>" = 34
allotria/intellij-community
plugins/sh/testData/spellchecker/typoInVariableName.sh
Shell
apache-2.0
102
#!/bin/bash -e install -m 644 files/cmdline.txt ${ROOTFS_DIR}/boot/ install -m 644 files/config.txt ${ROOTFS_DIR}/boot/
jsbkje/CustardPi
stage1/00-boot-files/00-run.sh
Shell
bsd-3-clause
121
#!/bin/bash -eux yum -y erase gtk2 libX11 hicolor-icon-theme freetype yum -y clean all rm -f /tmp/chef*rpm
spark/bento
templates/fedora-19/scripts/cleanup.sh
Shell
apache-2.0
107
#!/bin/bash cd public && python -m SimpleHTTPServer 9000
nail2008/cookbook-angularjs
app/ngbook-recipe/19_testing/karma/server.sh
Shell
mit
57
#!/bin/bash set -e function usage() { echo "Usage: switch <to>" echo -e "\t<to> can be either meego or plasma" } if [[ "${1}" == "meego" ]] then IMPORT_REPLACEMENT="s/org.kde.plasma.components 0.1/com.nokia.meego 1.0/g" PATH_REPLACEMENT="s@plasma/@harmattan/@g" CMAKE_REPLACEMENT="s/SET(MARBLE_PLASMA_COMPON...
AndreiDuma/marble
tools/qt-components/switch.bash
Shell
lgpl-2.1
1,214
#!/bin/bash export PY2_ROOT=$IROOT/py2 export PY2=$PY2_ROOT/bin/python export PY2_PIP=$PY2_ROOT/bin/pip export PY2_GUNICORN=$PY2_ROOT/bin/gunicorn $PY2 server.py --port=8080 --mongo=${DBHOST} --logging=error &
hamiltont/FrameworkBenchmarks
frameworks/Python/tornado/setup.sh
Shell
bsd-3-clause
210
#!/bin/bash die() { echo "$@" >&2 exit 1 } BASEDIR="$(dirname "$0")" cd "$BASEDIR" || die "Could not change into base directory $BASEDIR" autoreconf -fi || die "Error during autoreconf" rm -Rf autom4te.cache; doc/autogen.sh || die "Error during doc/autogen.sh"
tgraf/libnl
autogen.sh
Shell
lgpl-2.1
274
#!/bin/sh # # Copy this script, put it outside the Trilinos source directory, and # build there. # # Additional command-line arguments given to this script will be # passed directly to CMake. # # # Force CMake to re-evaluate build options. # rm -rf CMake* Trilinos* packages Dart* Testing cmake_install.cmake MakeFile* ...
nschloe/seacas
packages/kokkos/config/configure_shannon.sh
Shell
bsd-3-clause
6,881
#!/bin/sh UNAME="$(uname)" ARGUMENTS=$* DIRNAME="$(dirname $0)/lib/JSBuilder" if [ $UNAME = "Darwin" ] ; then OS="mac" else OS="linux" fi CMD="$DIRNAME/jsdb/$OS/jsdb -path $DIRNAME $DIRNAME/bin/Dispatch.js $ARGUMENTS" $CMD
ofertix/WebUIMonitor
web/js/ext-js/jsbuilder/src/generators/app/files/sencha.sh
Shell
mit
231
R CMD REMOVE --library=$PREFIX/lib/R/library/ aracne.networks
joachimwolff/bioconda-recipes
recipes/bioconductor-aracne.networks/pre-unlink.sh
Shell
mit
62
#!/bin/sh # SPDX-License-Identifier: GPL-2.0 # # This reads tests.txt for the list of LKDTM tests to invoke. Any marked # with a leading "#" are skipped. The rest of the line after the # test name is either the text to look for in dmesg for a "success", # or the rationale for why a test is marked to be skipped. # set -...
antonblanchard/linux
tools/testing/selftests/lkdtm/run.sh
Shell
gpl-2.0
2,620
#!/bin/bash # R refuses to build packages that mark themselves as Priority: Recommended mv DESCRIPTION DESCRIPTION.old grep -v '^Priority: ' DESCRIPTION.old > DESCRIPTION $R CMD INSTALL --build .
ostrokach/bioconda-recipes
recipes/r-pscbs/0.61.0/build.sh
Shell
mit
197
#!/bin/sh -e cd "$(dirname "$0")"/.. || exit 1 outputDir="build/sync-functions" echo "Linting modules and specs with JSHint...\n" node_modules/jshint/bin/jshint src test sampleDocDefinitionsPath="samples/sample-sync-doc-definitions.js" # Validate the structure and sematics of the sample document definitions echo "...
Kashoo/synctos
etc/prepare-tests.sh
Shell
mit
1,442
#!/usr/bin/env bash echo "Installing macFUSE" brew install --cask macfuse echo "Installing Formulas" apps=( bat borgbackup/tap/borgbackup-fuse coreutils dog fd firebase-cli fnm fzf gh git git-delta git-extras go grep htop jq neovim pnpm prettyping python rename ripgrep ...
HiDeoo/dotfiles
setup/formulas.sh
Shell
mit
602
function determine_OS() { case "$OSTYPE" in solaris*) OS="SOLARIS" ;; darwin*) OS="OSX" ;; linux*) OS="LINUX" ;; bsd*) OS="BSD" ;; msys*) OS="WINDOWS" ;; *) OS="unknown: $OSTYPE" ;; esac export OS } function determine_shell() { SHELL="ech...
Nefari0uss/dotfiles
shell/function.sh
Shell
mit
1,501
#!/bin/bash #=============================================================================== # # AUTHOR: Dominic Böttger <Dominic.Boettger@inspirationlabs.com # #=============================================================================== echo "Creating Database" echo $AEGIR_DB_PASSWORD mysql -h localhost -u root...
DominicBoettger/docker-aegir-mariadb
create_db.sh
Shell
mit
585
#!/bin/sh tail -F /var/log/httpd/*.log & exec httpd -D FOREGROUND
jlalande/centos6-php
scripts/run.sh
Shell
mit
67
#! /bin/sh echo "Creating Profile in ./aws/credentials" access_key=`cat aws_secret.creds| jq -r '.AccessKey.AccessKeyId'` secret_key=`cat aws_secret.creds| jq -r '.AccessKey.SecretAccessKey'` line=`grep -n atomicredteam ~/.aws/credentials | cut -d : -f1 |bc` access="$(($line+1))" secret="$(($line+2))" sed -i '' "${acc...
redcanaryco/atomic-red-team
atomics/T1098.001/bin/aws_secret.sh
Shell
mit
515
#! /bin/bash #Batch convert script by StevenTrux. #The Purpose of this Script is to batch convert any video file in a folder for chromecast compatibility. #The script only convert non compatible audio and video tracks. # Variable used: # sourcedir is the directory where to be converted videos are # indir is the direc...
steventrux/castize
castize.sh
Shell
mit
5,795
#!/bin/bash basedir=`dirname $0` repo1=${basedir}/repo1 repo_bare=${basedir}/repo-bare repo_bare_absolute=`readlink -f ${repo_bare}` # CREATE THE REPOSITORY rm -rf ${repo1} ${repo_bare} mkdir ${repo1} ${repo_bare} cd ${repo_bare} git init --bare cd - cd ${repo1} git init git remote add origin file://${repo_bare_abso...
xstefanox/rflow
test/issue-1.sh
Shell
mit
1,362
R CMD BATCH /panfs/home/kang/yangpc/bin/EnrichPipeline/EACO_r20150101/example/03.Visualize/enrich.gsea.pv.tb.sig.R /panfs/home/kang/yangpc/bin/EnrichPipeline/EACO_r20150101/example/03.Visualize/enrich.gsea.pv.tb.sig.Rout
pengchy/EACO
example/03.Visualize/step1_filt_Etb.sh
Shell
mit
221
#!/usr/bin/env zsh # purge vars/functions
martialboniou/Dots
zsh/zsh.symlink/zshrc.d/99-purge.zsh
Shell
mit
42
#!/usr/bin/env bash # Move to the working directory of the bash script # See: http://stackoverflow.com/a/246128 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR ./camsnapshot.py usbrelay UWMGH_1=0 2>/dev/null sleep 3 ./camsnapshot.py ./upload.py
corerd/PyDomo
boiler-off-picfeedback.sh
Shell
mit
263
BUNDLE_DIR=~/.vim/bundle OLDPWD=`pwd` # Install/update Vundle mkdir -p "$BUNDLE_DIR" && (git clone https://github.com/VundleVim/Vundle.vim "$BUNDLE_DIR/vundle" || (cd "$BUNDLE_DIR/vundle" && git pull origin master)) # Install bundles vim +PluginInstall +qall cd $OLDPWD
dbonner1987/dotfiles
install/vundle.sh
Shell
mit
273
#!/bin/bash DESCRIPTION="Simple Login Android Client" STANDALONE_DEST="../firebase-clients/java" STANDALONE_STUB="firebase-simple-login" cd $(dirname $0) # Check for destination if [[ ! -d $STANDALONE_DEST ]]; then echo "error: Destination directory for standalone artifact not found; 'firebase-client-js' needs to...
googlearchive/firebase-simple-login-java
release.sh
Shell
mit
2,218
#!/bin/bash echo 'HELLO WORLD!!!' | tr "A-Z" "a-z" echo '1.0.3' | tr -d 0-9 # -d或——delete:删除所有属于第一字符集的字符; echo '1.0.3' | tr -c '0-9' '/' # -c或——complerment:取代所有不属于第一字符集的字符; echo '--------' echo '1.0.3' | tr -cd '0-9' # -cd 删除不属于第一字符集的字符 # 使用tr删除字符: echo "hello 123 world 456" | tr -d '0-9' # hello world # https://...
keroushe/KHKit
test.sh
Shell
mit
456
# clone the repo used for staging on GitHub and move into that dir git clone git@github.com:openoakland/measure-g-staging.git cd measure-g-staging # create an orphan branch with naming required to serve a GitHub project page (gh-pages) git checkout --orphan gh-pages # wipe out any files checked in on the branch git r...
openoakland/measure-g
deploy_setup.sh
Shell
mit
667
#!/bin/bash CLASSES="$@" for class in $CLASSES do lower="$(tr [A-Z] [a-z] <<< "$class")" #cpp rm -f $lower.cpp echo '#include' "\"${lower}_internal.h\"" >> $lower.cpp echo '' >> $lower.cpp echo 'namespace clang {' >> $lower.cpp echo '' >> $lower.cpp echo "$class::$class(std::shared_ptr<${class}_> fr...
victorsavu3/libclangpp
genclasses.sh
Shell
mit
2,691
$ echo 'error: no contents' #=> --file
aureliojargas/clitest
test/inline-match-file-error-1.sh
Shell
mit
41
#!/bin/bash POKEMONSPECIESDIR="./catscripts/Entertainment/Franchises/Pokémon/Pokémon_species" if [ "$1" == "" ]; then debug_start "Pokémon species" . $POKEMONSPECIESDIR/A/A.sh #KEYWORDS_POKEMONSPECIES_A . $POKEMONSPECIESDIR/B/B.sh #KEYWORDS_POKEMONSPECIES_B . $POKEMONSPECIESDIR/C/C.sh #KEYWORDS_POKEMONSP...
MW-autocat-script/MW-autocat-script
catscripts/Entertainment/Franchises/Pokémon/Pokémon_species/PokémonSpecies.sh
Shell
mit
4,815
#!/bin/bash -e if [ `find . -maxdepth 1 -name "jruby-jars-*.gem" | wc -l` -lt 2 ] ; then echo JRuby-jars gems are missing. rake get_jruby_jars_snapshots else if [ `find . -maxdepth 1 -mtime +1 -name "jruby-jars-*.gem" | wc -l` -ne 0 ] ; then echo jruby-jars are old. rake get_jruby_jars_snapshots fi fi ...
lucasallan/ruboto
matrix_tests.sh
Shell
mit
3,379
A=(`cat TesseractSpecs | sed 's/.*[makeRectangle]//g' | sed 's/[();]//g' | cut -d "," -f3`) B=(`cat TesseractSpecs | sed 's/.*[makeRectangle]//g' | sed 's/[();]//g' | cut -d "," -f4`) C=(`cat TesseractSpecs | sed 's/.*[makeRectangle]//g' | sed 's/[();]//g' | cut -d "," -f2`) D=(`cat TesseractSpecs | sed 's/.*[makeRecta...
andrewdefries/TesseractOCR
CustomCrop/CropValPrep.sh
Shell
mit
404
#!/usr/bin/env bash # example: 02 - log to file and syslog source ${0%/*}/../b-log.sh # include the script LOG_LEVEL_ALL # set log level to all B_LOG --file log.txt --file-prefix-enable --file-suffix-enable B_LOG --syslog '--tag b-log_example_02' FATAL "fatal level" ERROR "error level" WARN "warni...
idelsink/yad2ogg
libs/b-log/examples/02_log_to_file_and_syslog.sh
Shell
mit
506
# enable tab completion for invoke source <(inv --print-completion-script bash)
ADicksonLab/wepy
env.bash
Shell
mit
80
ssh root@192.168.59.103 -p 49200
SendGridJP/sendgridjp-docker-example
ssh.sh
Shell
mit
35
export LC_ALL=C export LC_CTYPE=C find . -type f -print0 | xargs -0 sed -i '' 's;https://www.example.com;http://example.com;g'
tiredpixel/dev-tiredpixel
2014-11-03-shell-sed-urls/sed_urls.sh
Shell
mit
127
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-2400-1 # # Security announcement date: 2012-02-02 00:00:00 UTC # Script generation date: 2017-01-01 21:06:21 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: i386 # # Vulnerable packages fix on version: # - iceweasel:3.5.16-12 # # Last version...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/i386/2012/DSA-2400-1.sh
Shell
mit
664
#!/bin/bash sudo kill `sudo cat /var/run/mysqld/mysqld.pid` sleep 10 sudo mysqld_safe --init-file=/home/pi/domotique/sql/mysql-init.sql &
manuelsimon/domotique
sql/mysql-init.sh
Shell
mit
138
#!/usr/bin/env bash set -o errexit -o nounset -o pipefail cleanup() { if [[ -z "${CACHET_KEEP:-}" ]]; then docker-compose stop fi } trap cleanup EXIT docker-compose up -d --remove-orphans # Wait for ports because apparently this is too hard for docker-compose: until nc -z localhost 3307; do sleep 0...
shabbyrobe/cachet
run-tests.sh
Shell
mit
676
#!/bin/bash set -xeuo pipefail # map values from snap-ci export CACHE_DIR=$SNAP_CACHE_DIR # install dependencies sudo yum install perl-Image-ExifTool sudo yum install ImageMagick # update rbenv rbenv update > /dev/null rbenv --version eval "$(rbenv init -)" # install ruby rbenv download $RUBY_VERSION rbenv shell $R...
henrylawson/photish
bin/snap-ci/setup.sh
Shell
mit
551
#!/bin/bash # -- update-vim-plugins.sh ---------------------------------------------------- # # This program comes with no warranty. Use at your own risk. # You have been warned. (That said, it works well for me :) # # Copyright (c) 2012 ed.o # include 'MIT-License.txt' # # See https://github.com/copperwalls/vim-plugin...
copperwalls/vim-plugins-updater
update-vim-plugins.sh
Shell
mit
963
#!/usr/bin/env bash koopa::debian_install_rstudio_server() { # {{{1 # """ # Install RStudio Server on Debian / Ubuntu. # @note Updated 2021-04-26. # # Verify install: # > sudo rstudio-server stop # > sudo rstudio-server verify-installation # > sudo rstudio-server start # > sudo rstu...
steinbaugh/seqcloud
lang/shell/bash/functions/os/linux/distro/debian/install/rstudio-server.sh
Shell
mit
1,617
#!/bin/bash NOW=`date --rfc-3339=seconds` cd ~ touch provision.log echo "PROVISIONER" > ~/provision.log echo "PROVISIONING STARTED: $NOW" >> ~/provision.log echo "------------------------------------------------------------" >> ~/provision.log echo "-------------- PROVISIONER: project/update.sh --------------" >> ~...
kocsismate90/katalogus
_build/infrastructure/provisioners/project/update.sh
Shell
mit
422
#!/bin/bash # Build the site, copy components over mkdir -p server/legacy mkdir -p server/api/3.0 haxe site.hxml cp src/tools/haxelib/.htaccess server/ cp -ar src/tools/haxelib/tmpl server/ cp src/tools/haxelib/haxelib.css server/ cp src/tools/haxelib/dbconfig.json.example server/ cp src/tools/legacyhaxelib/.htacc...
maxleiko/docker-haxe
haxe/extra/haxelib_src/site.sh
Shell
mit
1,056
sh scripts/gen_svm.sh 2 100000 300 /N/u/vlabeyko/data/libsvm/mat_100K_300 32 sh scripts/gen_svm.sh 2 500000 300 /N/u/vlabeyko/data/libsvm/mat_500K_300 32 sh scripts/gen_svm.sh 2 1000000 300 /N/u/vlabeyko/data/libsvm/mat_1M_300 32 sh scripts/gen_svm.sh 2 10000000 300 /N/u/vlabeyko/data/libsvm/mat_10M_300 32
vibhatha/Spark
SparkMlibBenchmark/scripts/gen_bulk_libsvm.sh
Shell
mit
309
#!/usr/bin/env bash echo "Test sim with the error-prone config.xml with simmode setting being wrong. Sim should abort." set -x RESULT_FILE='result.txt' SHLIB=libregress.sh eye install ${SHLIB} -local source ${SHLIB} makeso config.xml makerc=$? if [ ! ${makerc} -eq 0 ]; then echo 3 > ${RESULT_FILE} exit ${make...
PublicShawn/eye
resource/test/regression/testcase2/main.sh
Shell
mit
428
# Open folder in ForkLift.app of ForkLift2.app from console # Author: Adam Strzelecki nanoant.com, modified by Bodo Tasche bitboxer.de # Updated to support ForkLift2 by Johan Kaving # # Usage: # fl [<folder>] # # Opens specified directory or current working directory in ForkLift.app # # Notes: # It assumes Sh...
nicolasclaudon/dotfiles
.oh-my-zsh/plugins/forklift/forklift.plugin.zsh
Shell
mit
1,619
#!/usr/bin/env bash #Do not run tests on other's PRs; secret key issues if ! [[ -z $TRAVIS_PULL_REQUEST_SLUG ]] then if [[ $TRAVIS_PULL_REQUEST_SLUG != "hbagdi/go-unsplash" ]] then exit 0 fi fi #For testing on local desktop if [ "$TRAVIS_EVENT_TYPE" != "cron" ] then curl -L https://codeclimate.com/downloads/tes...
hardikbagdi/go-unsplash
test.sh
Shell
mit
1,072
# Last up, we are going to retire the AppRole for the moment vault auth disable GloboAppRole/ # Let's confirm that we were successful vault auth list
pabagan/knowledgebase
hashicorp-vault/course/m4/4-disable-auth-method.sh
Shell
mit
152
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2014:1147 # # Security announcement date: 2014-09-03 22:28:09 UTC # Script generation date: 2017-01-24 21:18:16 UTC # # Operating System: Red Hat 7 # Architecture: x86_64 # # Vulnerable packages fix on version: # - squid.x86_64:3.3.8-12.el7_0 # - squid...
Cyberwatch/cbw-security-fixes
Red_Hat_7/x86_64/2014/RHSA-2014:1147.sh
Shell
mit
880
ruby job_detail_receiver.rb amqp://guest:guest@localhost:32768
m1ckr1sk/ruby_projects
astar/job_detail_receiver/start_job_detail_receiver.sh
Shell
mit
62
#!/bin/sh # crossVal_push.sh # # # Created by Amrit Patel on 2/17/15. # # Perform daily cross-validation cd "/home/ubuntu/NCAAB-Win-Prediction" Rscript "Run Daily.R" # Push repo changes to remote git commit -am 'Updates' git push origin master
AmritPatel/NCAAB-Win-Prediction
crossVal_push.sh
Shell
mit
253
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2015:1674 # # Security announcement date: 2015-08-24 20:21:42 UTC # Script generation date: 2017-01-01 21:16:38 UTC # # Operating System: Red Hat 7 # Architecture: x86_64 # # Vulnerable packages fix on version: # - libcacard-devel-rhev.x86_64:2.1.2-23.el...
Cyberwatch/cbw-security-fixes
Red_Hat_7/x86_64/2015/RHSA-2015:1674.sh
Shell
mit
1,675
#!/bin/sh set -eo pipefail -o nounset ## Get the liftover chain file wget --quiet http://hgdownload.soe.ucsc.edu/goldenPath/hg19/liftOver/hg19ToHg38.over.chain.gz ## Get the genome file genome=https://raw.githubusercontent.com/gogetdata/ggd-recipes/master/genomes/Homo_sapiens/GRCh38/GRCh38.genome ## Get the chromom...
gogetdata/ggd-recipes
recipes/genomics/Homo_sapiens/GRCh38/grch38-radar-li-lab-stanford-v1/recipe.sh
Shell
mit
1,489
#!/bin/bash sudo service repka-lifeforce stop git pull yarn sudo service repka-lifeforce start sudo service repka-lifeforce status
repkam09/repka-lifeforce
deploy.sh
Shell
mit
131
#!/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...
GoodRequest/StateViewController
Example/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh
Shell
mit
4,051