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/sh # Function sets simulation parameters function set_simulation_parameters() { pars=$1 # number of embedded muons from FairBoxGenerator export LIT_NOF_MUONS_PLUS=${pars[0]} # number of embedded muons from FairBoxGenerator export LIT_NOF_MUONS_MINUS=${pars[1]} # number of embedded electr...
desdemonda/cbmroot
macro/littrack/scripts/common.sh
Shell
gpl-2.0
7,995
#!/bin/bash [ -z ${HOST_IP} ] || exec supervisord export LC_ALL=en_US.utf8 toilet -f Elite PanteraS | /usr/games/lolcat -f 2>/dev/null || toilet -f Elite PanteraS cat version cat << EOF PanteraS - Platform as a Service Usage: $ git clone https://github.com/eBayClassifiedsGroup/PanteraS $ cd PanteraS # ---------------...
Kosta-Github/PanteraS
infrastructure/supervisord.sh
Shell
gpl-2.0
1,493
#!/bin/bash if [ whoami!="root" ] then echo "Droit root requis" return 0 fi ## Gestionnaire mdp apt-get install -y keepassx # ## ###OpenSSH ## # apt-get install openssh-server cp -fv Config/sshd_config /etc/ssh/sshd_config #cp -fv Config/issue.net /etc/issue.net # # ## ## ###Iptable#...
severus21/Install
Secure/install.sh
Shell
gpl-2.0
2,124
#!/bin/bash # # PM-QA validation test suite for the power management on Linux # # Copyright (C) 2011, Linaro Limited. # # 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 # of the ...
wanghao-xznu/vte
testcases/third_party_suite/linaro-pm-qa/testcases/proof_o_concept/PM-list_p_states.sh
Shell
gpl-2.0
1,153
#!/bin/bash # Copyright (C) 2011,2012 Freescale Semiconductor, Inc. All Rights Reserved. # # 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 of the License, or # (at your option) ...
wanghao-xznu/vte
testcases/vte_tests_suite/pmic_tests/scripts/pmic_bat_charging.sh
Shell
gpl-2.0
9,010
#!/usr/bin/env bash set -e externalExecutableExists() { local executable="$1" if builtin type "$executable" &>/dev/null; then return 0 else return 1 fi } getFirstExecutable() { debug "Finding first executable in \$PATH out of '$@'" local path="" for executable in "$@"; do if externalExecutableExists...
joelpurra/npshell
src/shared/functions/cross-platform.sh
Shell
gpl-3.0
2,030
#!/bin/sh if [ -z "$LDB_SPECIALS" ]; then LDB_SPECIALS=1 export LDB_SPECIALS fi echo "LDB_URL: $LDB_URL" echo "Adding base elements" $VALGRIND ldbadd $LDBDIR/tests/test.ldif || exit 1 echo "Adding again - should fail" $VALGRIND ldbadd $LDBDIR/tests/test.ldif 2> /dev/null && { echo "Should have failed to...
amitay/samba
lib/ldb/tests/test-generic.sh
Shell
gpl-3.0
5,345
#!/bin/bash set +x HOSTAPD_CFG="/etc/hostapd/wired.conf" EAP_USERS_FILE="/etc/hostapd/hostapd.eap_user" HOSTAPD_KEYS_PATH="/etc/hostapd/ssl" CLIENT_KEYS_PATH="/tmp/certs" function start_dnsmasq () { echo "Start DHCP server (dnsmasq)" local dnsmasq="/usr/sbin/dnsmasq" echo "Start auth DHCP server (dnsmasq...
NetworkManager/NetworkManager-ci
prepare/hostapd_wired.sh
Shell
gpl-3.0
8,848
#!/bin/bash echo "installing vim-judy..." if which apt-get > /dev/null then sudo apt-get install -y ctags build-essential cmake go get -u github.com/jstemmer/gotags elif which brew > /dev/null then brew install ctags gotags fi mv -f ~/.vim ~/.vim_old > /dev/null 2>&1 mv -f ~/.vimrc ~/.vimrc_old > /dev/null 2>...
fkysly/vim-judy
install.sh
Shell
gpl-3.0
636
dataDir="data/measurements" plotDir="data/plots" concatDir="data/concat" concatFitDir="data/concatFits" aggrDir="data/aggr" aggrFitDir="data/aggrFits" plotsAllDir="all" # # # # # # # # # # # # # # # .aggr # # # # # # # # # # # # # # # 1: SIZE # 2: INIT # 3: ADD_SUCCESS # 4: ADD_FAILURE # 5: RANDOM_ELEMENT # 6...
BenjaminSchiller/DNA.gdsMeasurements
analysis/config.sh
Shell
gpl-3.0
1,273
#!/bin/bash # korvaa tämä omalla käyttäjätunnuksellasi USERNAME="villtann" # korvaa tämä haluamallasi kansion nimellä PROJECT_FOLDER="muistilista" # sovelluksesi tulee sijaitsemaan osoitteessa USERNAME.users.cs.helsinki.fi/PROJECT_FOLDER
Yskinator/Tsoha-Bootstrap
config/environment.sh
Shell
gpl-3.0
247
#!/bin/bash -f # Vivado (TM) v2016.4 (64-bit) # # Filename : blk_mem_gen_0.sh # Simulator : Synopsys Verilog Compiler Simulator # Description : Simulation script for compiling, elaborating and verifying the project source files. # The script will automatically create the design libraries sub-director...
hsnuonly/PikachuVolleyFPGA
VGA.ip_user_files/sim_scripts/blk_mem_gen_0_1/vcs/blk_mem_gen_0.sh
Shell
gpl-3.0
6,702
#!/bin/bash # 1.1.1.2 Ensure mounting of freevxfs filesystems is disabled (Scored) MODULE=freevxfs RESULT=$(/sbin/lsmod | /bin/grep $MODULE) if [[ -z $RESULT ]] then # module is not loaded in kernel, check if this was remediated RESULT=$(/bin/grep "install[[:space:]+]$MODULE[[:space:]+]/bin/true" /etc/modprob...
proletaryo/puppet-ciscentos6
files/scripts/benchmark-1.1.1.2.sh
Shell
gpl-3.0
491
#!/usr/bin/env bash SDIR="$HOME/.config/polybar/shades/scripts" # Launch Rofi MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ -theme $SDIR/rofi/styles.rasi \ <<< "♥ amber|♥ blue|♥ blue-gray|♥ brown|♥ cyan|♥ deep-orange|\ ♥ deep-purple|♥ green|♥ gray|♥ indigo|♥ blue-light|♥ green-light|\ ♥ lime|♥ ora...
SubhrajitPrusty/dotfiles
config/polybar/shades/scripts/color-switch.sh
Shell
gpl-3.0
2,759
#!/bin/sh set -eu curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install -y nodejs node-gyp sudo npm install -g tty.js pm2 pm2 start tty.js
jerrywardlow/devops-playground
ttyjs/ttyjs.sh
Shell
gpl-3.0
174
#!/usr/bin/env bash #== Import script args == timezone=$(echo "$1") #== Bash helpers == function info { echo " " echo "--> $1" echo " " } #== Provision script == info "Provision-script user: `whoami`" info "Allocate swap for MySQL 5.6" fallocate -l 2048M /swapfile chmod 600 /swapfile mkswap /swapfile swapo...
DieTransparente/sk-vote-php
vagrant/provision/once-as-root.sh
Shell
gpl-3.0
2,372
#!/bin/bash set -e # Description: Multiple conditions in loop # WHILE loop W_IDX=1 W_BOOL="true" while [[ "${W_IDX}" -lt 5 && "${W_BOOL}" = "true" ]]; do echo "While loop: ${W_IDX}" W_IDX=$[$W_IDX + 1] # Get out before index is exhausted. if [ "${W_IDX}" -gt 2 ]; then W_BOOL="false" fi done
limelime/Scripts
bash/loop-multiple-conditions.sh
Shell
gpl-3.0
313
INTEL_OPENMP_LATEST_BUILD_LINK=https://www.openmprtl.org/sites/default/files/libomp_20131209_oss.tgz CLANG_INCLUDE=~/code/llvm/include CLANG_BIN=~/code/llvm/build/Debug+Asserts/bin CLANG_LIB=~/code/llvm/build/Debug+Asserts/lib OPENMP_INCLUDE=~/code/libomp_oss/exports/common/include OPENMP_LIB=~/code/libomp_oss/exports/...
Erotemic/local
macosx/setup_clang2.sh
Shell
gpl-3.0
1,954
# Copyright 2015 Yvette Graham # # This file is part of Crowd-Alone. # # Crowd-Alone 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....
ygraham/crowd-alone
proc-hits/proc-hits-step1.sh
Shell
gpl-3.0
1,456
#!/bin/bash ZK_DIR=`extract_name ${zookeeper}` tar zxf ${zookeeper} -C ${INSTALL_HOME} ZH_HOME=${INSTALL_HOME}/zookeeper mv ${INSTALL_HOME}/${ZK_DIR} ${ZH_HOME} echo " # zookeeper settings export ZK_HOME=${INSTALL_HOME}/${zk_dir_name} export PATH=\$PATH:\$ZK_HOME/bin # settings for spark on yarn " >> ${CUSTOM_PROFIL...
taideli/study-parent
productization/install/zk/install-zk.sh
Shell
gpl-3.0
1,256
java -cp wpa2.jar WPA2
JarrettR/FPGA-Cryptoparty
FPGA/host/run.sh
Shell
gpl-3.0
23
#!/bin/bash set -e pushd ../java/argon2 ndk-build popd
PhilippC/keepass2android
src/build-scripts/build-native.sh
Shell
gpl-3.0
56
#!/bin/bash ## test if guestfish command is present which guestfish 2>&1 > /dev/null if [ "$?" != 0 ]; then echo "[!!!] Command 'guestfish' not found (Install it!). Making changes to VM FAILED." exit 1 fi ## using direct backend to avoid selinux issues on fedora for now export LIBGUESTFS_BACKEND=direct ## hostname VM...
OndrejHome/fast-vm-public-images
fedora/hacks/6g_fedora-32-hacks.sh
Shell
gpl-3.0
1,993
#!/bin/bash cd `dirname "${BASH_SOURCE[0]}"` source ../utilities/findMatlab.sh if [[ $matexe == *matlab ]]; then args=-nodesktop; fi cat <<EOF | $matexe $args run ../matlab/utilities/initPaths.m; buffhost='localhost';buffport=1972; eventViewer; quit; EOF
jadref/buffer_bci
dataAcq/startMatlabEventViewer.sh
Shell
gpl-3.0
256
######################################################## # Lauf.Delete # # (c) 2010 joshua.redfield(AT)gmail.com # ######################################################## _rm () { rm -f "$arg" lauf_notify "Trashed:" "$arg" } ##############################...
joshua-redfield/lauf
core/delete.sh
Shell
gpl-3.0
984
#!/usr/bin/env bash set -e # Exit on errors echo "-> Starting JIRA ..." echo " - JIRA_VERSION: ${JIRA_VERSION}" echo " - JIRA_HOME: ${JIRA_HOME}" mkdir -p $JIRA_HOME JIRA_DIR=/opt/atlassian-jira-software-${JIRA_VERSION}-standalone if [ -d ${JIRA_DIR} ]; then echo "-> JIRA ${JIRA_VERSION} already found at ...
matisku/jira-docker
jira-server/jira-server.sh
Shell
gpl-3.0
1,325
#!/bin/bash # use a frontend that expects no interactive input at all. export DEBIAN_FRONTEND=noninteractive # Stop the execution of a script if a command or pipeline has an error. set -e # Print all executed commands to the terminal set -x # Drupal server parameters. CONTAINER_NAME=$1 MYSQL_CONTAINER=$2 # Check i...
ksaifullah/vagrant-docker
scripts/docker-drupal-default.sh
Shell
gpl-3.0
1,130
#!/bin/bash ##########################################################3 # This script will install Agent Smith on a gnu/linux system. # If you're using BSD or Mac OS, I believe it should also work fine. # If you are using Windows, move the file agentsmith.conf to # C:/Users/$YOURNAME/.agentsmith.conf # then just run t...
tonybaldwin/agentsmith
install.sh
Shell
gpl-3.0
1,086
# webReaction setup for bash # The top directory is the top directory of eclipse workspace # The rest of the environment variables should follow from this. export REACTWORKSPACE=$1 # ================================================================ # Most likely you do not need to modify below this line. # But if the...
blurock/REACT
bin/webReaction.bash
Shell
gpl-3.0
1,434
bh_bin2dec() { (( $# < 1 )) && return 1 echo $((2#$1)) }
merces/bashacks
src/math/bh_bin2dec.sh
Shell
gpl-3.0
69
#!/bin/bash ############################################################################ ### preconditions ############################################################################ # check parameter count if [ "$2" == "" ]; then echo "usage: $0 <tag> <message>" exit 1 fi # check correct working dir #if [ !...
sshkm/django-sshkm
release.sh
Shell
gpl-3.0
4,864
#!/bin/bash # # # Installs a link to current directory. # Thus, changes in any py files do not require # reinstallation. # # However, the numjuggler script is generated # automatically and contains current version numger. # If this number is chaged in setup.py, the # package should be reinstalled, in order # to upd...
inr-kit/numjuggler
install.sh
Shell
gpl-3.0
648
/bin/sed '/^X400/ D' /var/www/tasks/CUSTOM-TRANS_temp4 > /var/www/tasks/CUSTOM-TRANS_temp5 /bin/sed '/^x400/ D' /var/www/tasks/CUSTOM-TRANS_temp5 > /var/www/tasks/CUSTOM-TRANS_temp6
deeztek/Hermes-Secure-Email-Gateway
dirstructure/opt/hermes/scripts/sed.sh
Shell
gpl-3.0
182
#!/bin/bash -e . ../../blfs.comm build_src() { srcfil=phonon-backend-vlc-0.8.0.tar.xz srcdir=phonon-backend-vlc-0.8.0 tar -xf $BLFSSRC/$PKGLETTER/$CURDIR/$srcfil cd $srcdir mkdir -pv build && cd build cmake -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ -Wno-dev \ ...
fangxinmiao/projects
Architeture/OS/Linux/Distributions/LFS/build-scripts/blfs-7.6-systemv/p/Phonon-backend-vlc-0.8.0/build.sh
Shell
gpl-3.0
537
#!/bin/bash trap ctrl_c INT function ctrl_c() { echo "Ha pulsado ctrl-c, saliendo..." exit } ###ATENCION#### ###Para crear el paquete deb, necesitamos tener instalado fakeroot, python-stdeb, python-all, build-essential y python2.7 ############### echo "" echo "Creando grx-asistencia" echo "Comprobando depen...
aavidad/grx-asistencia
config.sh
Shell
gpl-3.0
5,709
#!/bin/sh pkgname=physlock SKIP_ARCH_CHECK=1 pkgver=0.5 vcs=git gittag=v${pkgver} kiin_make() { make PREFIX=/usr } kiin_install() { make DESTDIR=${pkgdir} PREFIX=/usr install }
alekseyrybalkin/kiin-repo
essentials/physlock/package.sh
Shell
gpl-3.0
188
#!/bin/bash # keytool -genkey -keyalg RSA -alias root -keystore root.jks -storepass qx4zE7na -validity 360 storepass="qx4zE7na" keypass=$storepass echo echo "Generating two clients and a server for a demo." echo "-----------------------------------------------" echo rm alice* bob* server* # -----------------------...
helderco/univ-secure-chat
demo.sh
Shell
gpl-3.0
2,276
#/bin/bash gsl project.xml chmod +x autogen.sh version.sh
zeromq/zlabs
generate.sh
Shell
mpl-2.0
60
#!/bin/bash INTERFACE=tun-vpn-01 INTERFACE2=eth0 STOP_GW=0 shopt -s nullglob ping -q -I $INTERFACE 8.8.8.8 -c 4 -i 1 -W 5 >/dev/null 2>&1 if test $? -eq 0; then NEW_STATE=server else NEW_STATE=off fi if [ -f /tmp/stop_gateway ]; then logger "Stop-Gateway-marker shutting down dhcpd and batman-server-mode...
VfN-NRW/ServerScripts
tun-vpn-01_check.sh
Shell
agpl-3.0
11,394
#!/usr/bin/env bash # Copyright 2017 Marko Dimjašević # # This file is part of jdoop-wrapper. # # jdoop-wrapper is free software: you can redistribute it and/or modify it # under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at...
soarlab/jdoop-wrapper
spark/start-spark-all.sh
Shell
agpl-3.0
1,117
<% if (config.nvidia rescue false) -%> sed -i "s/GRUB_CMDLINE_LINUX=\"\(.*\)\"/GRUB_CMDLINE_LINUX=\"\1 rdblacklist=nouveau blacklist=nouveau\"/" /etc/default/grub grub2-mkconfig > /etc/grub2.cfg mkinitrd --force /boot/initramfs-`uname -r`.img `uname -r` echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf rmmod ...
alces-software/knowledgebase
epel/7/nvidia/nvidia.sh
Shell
agpl-3.0
627
#! /bin/bash # # clone the simpletest from SVN/SF -- I've been happy enough with git to never want to go back to SVN/CVS/RCS. Besides, github graphs are a boon by themselves. Enough reason for me to spend this extra effort! # git svn clone https://simpletest.svn.sourceforge.net/svnroot/simpletest/simpletest -T trunk ...
GerHobbelt/simpletest
utils/git-svn-clone-simpletest.sh
Shell
lgpl-2.1
342
#!/bin/sh # changedi by Oliver Cordes: 2016-10-24 INFILE=$HOME/git/arctic/demo/06u15042j_drkA.fits OUTFILE=$HOME/git/arctic/demo/testA.fits export PATH=$HOME/git/arctic/build:$HOME/git/arctic:$PATH args="" while [ -n "$1" ]; do echo $1 case $1 in -i) shift; INFILE=$1;shift;; -o) shift; OUTFILE=$1;shift;;...
ocordes/arctic
aifa/arctic_test_express.sh
Shell
lgpl-3.0
455
rm -rf build rm -rf ndsi.egg-info rm -rf ndsi/ndsi.egg-info rm ndsi/*.cpp rm ndsi/*.so pip3 install -e . --user --force
pupil-labs/pyndsi
clean-install.sh
Shell
lgpl-3.0
121
#!/bin/sh # base16-shell (https://github.com/chriskempson/base16-shell) # Base16 Shell template by Chris Kempson (http://chriskempson.com) # Equilibrium Light scheme by Carlo Abelli color00="f5/f0/e7" # Base 00 - Black color01="d0/20/23" # Base 08 - Red color02="63/72/00" # Base 0B - Green color03="9d/6f/00" # Base 0A...
wincent/wincent
aspects/dotfiles/files/.zsh/colors/base16-equilibrium-light.sh
Shell
unlicense
3,943
./img2py -i icons/logo.jpg iwLogo.py
YannChemin/wxGIPE
makeLogo.sh
Shell
unlicense
37
#!/bin/sh cd .. jar -cvfm MinecraftMOTD.jar manifest.txt org/minecraft/server/motd/*.class
nwolfe/minecraft-motd
bin/build-jar.sh
Shell
unlicense
91
#!/bin/bash # As of Dec 2014, when i2s LIMB software is set to deliver grayscale output, # it creates TIF files that are 8 bits per sample and 2 samples per pixel. # For submission to HathiTrust, we need to convert the native LIMB output to # a grayscale TIF that is 8 bits per sample and 1 sample per pixel. basedir...
jkylefenton/digitization_scripts
book_digitization/tiff_2chan2grayscale.sh
Shell
unlicense
527
#!/bin/bash ./configure --prefix=$PREFIX \ --disable-debug \ --disable-dependency-tracking \ --with-jasper=$PREFIX \ --with-grib_api=$PREFIX \ --with-hdf5=$PREFIX \ --with-netcdf=$PREFIX \ --with-proj=$PREFIX make make install
bird-house/conda-recipes
_unused/cdo/build.sh
Shell
apache-2.0
257
#!/bin/bash # This script assumes a clean install of Ubuntu 14.04, # it installs all stuff necessary to develop and deploy # a Juju charm containing the 7 Days to Die server. # This script assumes root. set -u echo "Install updates, Git and Juju..." apt-get update > /dev/null apt-get upgrade > /dev/null add-apt-repos...
mever/sevendays
vagrant-inst.sh
Shell
apache-2.0
3,264
#!/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...
jfosterdavis/FlashcardHero
Pods/Target Support Files/Pods-FlashcardHero/Pods-FlashcardHero-frameworks.sh
Shell
apache-2.0
3,761
#!/bin/bash set -o errexit -o nounset TOP_DIR=$(cd "$(dirname "$0")/.." && pwd) source "$TOP_DIR/config/localrc" source "$TOP_DIR/config/paths" source "$CONFIG_DIR/deploy.osbash" source "$OSBASH_LIB_DIR/functions-host.sh" source "$OSBASH_LIB_DIR/$PROVIDER-functions.sh" OSBASH=exec_cmd function usage { # Setting ...
openstack/training-labs
labs/osbash/tools/restore-cluster.sh
Shell
apache-2.0
4,129
#!/bin/bash set -x set -e GO_PATH=$(go env GOPATH) GO_BIN=$GO_PATH/bin GO=$GO_PATH/bin/go PATH=$PATH:$GO_BIN:$(npm bin):/usr/local/bin/:$HOME/.cargo/bin ### UBUNTU BIONIC ### echo "deb https://packages.le-vert.net/tensorflow/ubuntu bionic main" | sudo tee -a /etc/apt/sources.list wget -O - https://packages.le-vert.n...
micro/micro
scripts/generate-clients.sh
Shell
apache-2.0
1,453
#!/bin/bash # script to test modules NGINX_HOME=/home/carbyn/test/nginx NGINX_SRC=/home/carbyn/test/nginx-source/nginx-1.9.14 MODULES_SRC=/home/carbyn/dev/nginx/modules # the module to be tested # module=ngx_http_shithole_module # module=ngx_http_fuckyou_module module=ngx_http_yak_module if [ -f $NGINX_HOME/logs/ngi...
Carbyn/nginx
build.sh
Shell
apache-2.0
631
# create tex pandoc --template technical_specification_working_draft.latex -H header.tex --number-sections --table-of-contents parallelism.*.md -o parallelism.tex # annotate headings with labels perl -i -p00e 's/\\section{(.*)}\\label{(.*)}/\\Sec0[\2]{\1}/s' parallelism.tex perl -i -p00e 's/\\subsection{(.*)}\\label{(...
n3554/n3554
technical_specification/build.sh
Shell
apache-2.0
652
#!/bin/bash # This script checks out a PR branch and then starts a management server with that code. # Next, you can run Marvin to setup whatever you need to verify the PR. function usage { printf "Usage: %s: -m marvinCfg -p <pr id> [ -b <branch: default to master> -s <skip compile> -t <run tests> -f <test file to...
DaanHoogland/MCT-shared
helper_scripts/cloudstack/check-pr.sh
Shell
apache-2.0
2,340
#!/bin/bash hostname=`hostname -f` cur_time=`date` echo "Hostname $hostname" echo "Time: $cur_time" echo "OSG Site: $OSG_SITE_NAME" echo "GWMS Entry Name: $GLIDEIN_Entry_Name" echo "GWMS Resource Name: $GLIDEIN_ResourceName" source /cvmfs/oasis.opensciencegrid.org/osg/modules/lmod/5.6.2/init/bash module load curl/7....
OSGConnect/modulefiles
tests/curl/check_curl.sh
Shell
apache-2.0
574
#!/bin/bash # Author: yeho <lj2007331 AT gmail.com> # BLOG: https://linuxeye.com # # Notes: OneinStack for CentOS/RedHat 7+ Debian 8+ and Ubuntu 16+ # # Project home page: # https://oneinstack.com # https://github.com/oneinstack/oneinstack # Check if user is root [ $(id -u) != "0" ] && { echo "${CFAILURE...
kaneawk/oneinstack
backup.sh
Shell
apache-2.0
11,347
#!/bin/bash # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # (c) barthel <barthel@users.noreply.github.com> https://github.com/barthel # # 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 co...
barthel/maven-utils
set-dependency-version-in-all-feature.sh
Shell
apache-2.0
4,867
echo "crouton aliases installed, use crouton-help for more info." alias startchroot='sudo enter-chroot -n precise' alias startxfce4='sudo enter-chroot -n xfce startxfce4' #alias startunity='sudo initctl stop powerd;sudo enter-chroot -n unity startunity' # alias startunity='sudo enter-chroot -n unity startunity' alias s...
wenlock/myhome
opt/bin/crouton-alias.sh
Shell
apache-2.0
3,273
#!/bin/sh # # setup project setup # limingwei # 2015-04-09 16:32:27 # SVN_URL="svn://121.41.62.44/***-v5-source-code-root/" # SVN_URL="http://192.168.138.202:8082/svn/code/helpdesk/" # paths BIN_PATH=/home/***/bin APP_PATH=/home/***/app DOWN_PATH=/home/***/down CONF_PATH=/home/***/conf SRC_PATH=/home/***/source-code...
zhangzuoqiang/summer
bin/_setup_shell/ewei_project_setup.sh
Shell
apache-2.0
3,233
#!/usr/bin/env bash set -e source bosh-src/ci/tasks/utils.sh source /etc/profile.d/chruby.sh chruby 2.4.2 check_param google_project check_param google_json_key_data function clean_up_bucket { local bucket=$1 gsutil rm -rf gs://${bucket_name}/ } function gcs_login { gcloud config set project $google_project...
barthy1/bosh
ci/tasks/test-gcs-blobstore-client-integration.sh
Shell
apache-2.0
1,162
#! /bin/sh # cross-compile magnacarto for various os/cpus and zip/tar.gz the output # requires Go 1.5, set GO15 environment var to use a different Go installation set -e BUILD_DATE=`date +%Y%m%d` BUILD_REF=`git rev-parse --short HEAD` BUILD_VERSION=dev-$BUILD_DATE-$BUILD_REF VERSION_LDFLAGS="-X github.com/omniscale/...
omniscale/magnacarto
crosscompile.sh
Shell
apache-2.0
1,389
# Copyright 2021 Google LLC # # 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 # https://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, so...
google-business-communications/bm-snippets-curl
send-event-typing-started.sh
Shell
apache-2.0
1,423
#!/bin/sh cat <<_END_ > /srv/zookeeper/conf/zoo.cfg # The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=10 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=5 # the directory whe...
gtonello/docker-zookeeper
zkp_config.sh
Shell
apache-2.0
887
#!/bin/sh set -e while true; do nc -l 80 < index.html; done
stackdocker/container-ops
alpine-netcat/entrypoint.sh
Shell
apache-2.0
61
#!/bin/sh # # More details at # http://www.osehra.org/wiki/obtaining-testing-code # export DashboardsDir=$HOME/OSEHRA/Dashboards mkdir -p $DashboardsDir cd $DashboardsDir git clone git://github.com/OSEHR/OSEHRA-Automated-Testing.git cd OSEHRA-Automated-Testing git checkout --track origin/UseCaseTesting ln -s $Dashboard...
luisibanez/VistA-installation-scripts
Scripts/installOSEHRATesting.sh
Shell
apache-2.0
435
#!/bin/sh sim-seriationct-networkmodel.py --dbhost localhost --dbport 27017 --experiment seriationct-21 --popsize 100 --maxinittraits 5 --numloci 3 --innovrate 0.000596679679724 --simlength 12000 --debug 0 --seed 1863375858 --reps 1 --samplefraction 0.5 --migrationfraction 0.0567437253281 --devel 0 --networkmodel net...
mmadsen/experiment-seriationct
experiments/seriationct-21/jobs/job-seriationct-21-4024293e-3656-4425-9f56-1ee94bb00971.sh
Shell
apache-2.0
1,393
#!/bin/bash # Prints usage. function print_usage { cat <<EOF Usage: `basename $0` <DIR> <CMD> with * <DIR> the test directory * <CMD> the Kind 2 command to test (Passing "-h" or "--help" as argument prints this message.) Tests Kind 2 on the lustre files in a directory. The directory should be structured as foll...
tinelli/kind2
tests/run.sh
Shell
apache-2.0
5,388
#!/bin/bash if [ $1 = "start" ]; then echo 'Starting name service' docker-compose -f /data/ala-name-service.yml up -d else echo 'shutting down name service' docker-compose -f /data/ala-name-service.yml kill fi
AtlasOfLivingAustralia/ala-install
ansible/roles/pipelines/files/ala-name-service.sh
Shell
apache-2.0
217
#!/usr/bin/env bash apt-get install -y python-software-properties apt-get update
zalando-stups/yourturn
vagrant.sh
Shell
apache-2.0
82
#!/bin/bash # # Configuring network services for Intersystems Cache. # # You MUST use "sudo" to execute this script. # # # Open the port needed for Web interface. # sudo iptables -A INPUT -p tcp --dport 57772 -j ACCEPT # # Open the port needed for TCP connection. # sudo iptables -A INPUT -p tcp --dport 1972 -j ACC...
luisibanez/VistA-installation-scripts
Scripts/Cache/configureCache.sh
Shell
apache-2.0
324
#!/bin/bash # Check a testbot or test environment to make sure it's likely to be sane. # We should add to this script whenever a testbot fails and we can figure out why. set -o errexit set -o pipefail set -o nounset # Check that required commands are available. for command in git go make; do command -v $command...
drud/build-tools
.autotests/sanetestbot.sh
Shell
apache-2.0
655
#!/bin/bash if [ "$#" -ne 2 ]; then >&2 echo "This script requires 2 arguments -- verNum, buildId" exit 1 fi verNum=$1 buildId=$2 echo "verNum = $verNum" echo "buildId = $buildId" buildNumber=$(expr $buildId - 102500) # shrink shared build number appropriately echo "buildNumber = ${buildNumber}" versionStrin...
OneIdentity/safeguard-ps
versionnumber.sh
Shell
apache-2.0
455
#!/usr/bin/env bash export SPARK_LOCAL_DIRS="{{spark_local_dirs}}" # Standalone cluster options export SPARK_MASTER_OPTS="{{spark_master_opts}}" if [ -n "{{spark_worker_instances}}" ]; then export SPARK_WORKER_INSTANCES={{spark_worker_instances}} fi export SPARK_WORKER_CORES={{spark_worker_cores}} export HADOOP_HO...
paulomagalhaes/spark-ec2
templates/root/spark/conf/spark-env.sh
Shell
apache-2.0
1,146
echo "plz go to /etc/pacman.conf" echo "and add Multilib" echo "then remote the sleep line from this script" sleep 10000 # #https://aur.archlinux.org/packages/android-sdk-build-tools/ #download ide in https://developer.android.com/studio/index.html # #aur install # git clone https://aur.archlinux.org/android-sdk.git c...
h31nr1ch/Linux
pacman/android-studio.sh
Shell
apache-2.0
1,699
#!/bin/sh $((123))
consulo/consulo-bash
src/test/resources/psi/inspection/evaluateArithmeticExpressionInspection/ok/src/A.bash
Shell
apache-2.0
20
#!/usr/bin/env bash # Copyright 2018 Google LLC # # 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 agr...
tensorflow/tfjs-converter
tfjs-converter/python/run-python-tests.sh
Shell
apache-2.0
1,360
#!/usr/bin/env bash set -e -x source bosh-cpi-release/ci/tasks/utils.sh # Creates an integer version number from the semantic version format # May be changed when we decide to fully use semantic versions for releases integer_version=`cut -d "." -f1 release-version-semver/number` echo $integer_version > integer_versi...
ritazh/bosh-azure-cpi-release
ci/tasks/promote-candidate.sh
Shell
apache-2.0
952
#!/bin/bash #This job performs spark submits via cron jobs. #Spark history server helps get detailed information of jobs that have finished if [ `hostname` == 'node0' ] then set -x #Create spark events directory in dsefs dse hadoop fs -mkdir -p /spark/events/ #dse hadoop fs -mkdir /spark #dse hadoop fs -m...
michaelraney/datastax-sketch-examples
.startup/sparkHistory.sh
Shell
apache-2.0
582
#!/bin/sh java -cp target/lib/*:target/classes RaceFreeMember.sh
SoCe/SoCe
Server/thirdparty/hazelcast/hazelcast-3.3.3/code-samples/distributed-primitives/lock/start-racefree.sh
Shell
apache-2.0
65
#!/bin/bash #find ./ -type l -exec rm {} \; DIR=$(dirname $0) cd "$DIR/docker/tahr-consul-mongodb" cp -f "$DIR/utilities/consul/start-consul.sh" start-consul.sh cp -f "$DIR/utilities/consul/install.sh" install-consul.sh cp -f "$DIR/utilities/consul/supervisord.conf" supervisord-consul.conf cd "$DIR/docker/tahr-consul...
nalindak/devops-docker-ansible
build-dependecies.sh
Shell
apache-2.0
830
#!/bin/sh if [ $JAVA_HOME ] then echo "JAVA_HOME found at $JAVA_HOME" RUN_JAVA=$JAVA_HOME/bin/java else echo "JAVA_HOME environment variable not available." RUN_JAVA=`which java 2>/dev/null` fi if [ -z $RUN_JAVA ] then echo "JAVA could not be found in your system." echo "please i...
dsukhoroslov/bagri
bagri-distr/src/main/tpox/tpox-xqj-orders.sh
Shell
apache-2.0
1,156
#!/bin/bash source ~/.bash_profile export JAVA_HOME=jdk export JRE_HOME=$JAVA_HOME/jre export CLASSPATH=$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib:.:$CLASSPATH JAVA=$JAVA_HOME/bin/java JAVA_OPTS="$JAVA_OPTS -server -Xms256m -Xmx512m -Xmn150m -XX:MaxPermSize=128m" #performance Options JAVA_OPTS="$...
tanyjan/km
doc/bin/write_news.sh
Shell
apache-2.0
1,436
#!/bin/bash # Combine all the arguments. printf -v var "'%s', " "$@" var=${var%??} # Invoke the application. ./gradlew run -PappArgs="[$var]"
googleapis/api-compiler
run.sh
Shell
apache-2.0
145
#!/bin/bash ### ### Sanity check ### if [ "$DEST_ROOT" == "" ]; then echo "Hint: export DEST_ROOT='/mnt/newroot'" echo "ERROR: Destination root path not specified." exit 1 fi ### ### Fix home to symlink ### mkdir -p $DEST_ROOT/var/home && rm -rf $DEST_ROOT/home && ln -sf var/home $DEST_ROOT/home e...
a2o/puppet-modules-a2o-essential
bootstrap/os/slackware64/scripts/fix-home.sh
Shell
apache-2.0
397
#! /bin/sh createenduser() { TEMP=`getopt -o a:z:i:c:s:t:e:k:d:p:h --long id:,ca:,subject:,keytype:,ecurve:keysize:,days:,profile:,passphrase:,rekey:,help -n 'createuser.sh' -- "$@"` KEYSIZE=2048 KEYTYPE=rsa ECURVE=prime256v1 DAYS=30 PROFILE=v3_user PASSPHRASE=69866640 eval set -- "$TEMP" while true...
saoullabit/pkidugoret
createuser.sh
Shell
apache-2.0
3,880
#!/bin/bash find . -name '*.mo' -delete package_name="springboard_iogt" declare -a unsupported_locales=("tgk_TJ") mkdir -p ${package_name}/locale # move out unsupported languages temporarily for locale in "${unsupported_locales[@]}" do if [ -d "${package_name}/locale/${locale}/" ]; then mv "${package_name}/locale/$...
universalcore/springboard-iogt
extract_i18n.sh
Shell
bsd-2-clause
1,467
#!/bin/sh ### Dmitry Frolov <frolov@riss-telecom.ru> ### $Id: divert_node.sh,v 1.5 2002/07/31 07:53:43 romanp Exp $ IFACE="xl0" THRESHOLD=1000 VERBOSE="1" ### to manipulate a node use "ipacctctl ipacct_${IFACE}:$IFACE} <command...>". nodename=ipacct_${IFACE} hookprefix=${IFACE} case "$1" in stop) ipfw del 6402...
vstakhov/ng_ipacct
scripts/divert_node.sh
Shell
bsd-2-clause
1,539
#!/bin/bash ############################################################################## # # Simple test runner for measuring speed and memory usage of XlsxWriter # and the Excel::Writer::XLSX modules. # # Copyright 2013-2016, John McNamara, jmcnamara@cpan.org echo "" echo "Python and XlsxWriter. Speed only." echo...
jkyeung/XlsxWriter
dev/performance/perf_test.sh
Shell
bsd-2-clause
2,364
#!/bin/sh # Install Eigen eigen_version="3.3.7" wget --no-check-certificate https://bitbucket.org/eigen/eigen/get/$eigen_version.tar.bz2 tar -xf $eigen_version.tar.bz2 mv eig* eigen mkdir eigen/build_dir cd eigen/build_dir cmake .. sudo make install cd ../.. rm -rf eigen/ $eigen_version.tar.bz2 echo "Installed Eigen"...
tsender/riptide_software
riptide_utilities/setup_scripts/install_eigen_ceres.sh
Shell
bsd-2-clause
781
apt-get -q -y update apt-get install -q -y nginx
preflightsiren/hackathon-machine-images
scripts/setup.sh
Shell
bsd-3-clause
48
#!/usr/bin/env bash while [ -s ../resources/diff_ids.txt ] do echo "Running python script" ./get_urls_from_ids.py echo echo "Running update" ./update_urls.sh done
MIREL-UNC/mirel-scripts
preprocess/04_run_get.sh
Shell
bsd-3-clause
185
#!/bin/bash sudo rm -Rf /usr/local/share/java.installer sudo mkdir -p /usr/local/share/java.installer/ sudo cp "$2" /usr/local/share/java.installer/java.pkg sudo pkggen -i com.oracle.java.installer -v "$1" --postinstall scripts/postinstall files out.pkg chmod 666 out.pkg mv out.pkg "$3"
korylprince/java.installer
mkpkg.sh
Shell
bsd-3-clause
290
#Help if [ "$1" = "-h" ] then echo "Locate aligned fragments within 2 full proteins" echo "Arguments:" echo " 1. NCBI Accession of first protein 1" echo " 2. Aligned fragment of protein 1" echo " 3. NCBI Accession of first protein 2" echo " 4. Aligned fragment of protein 2" echo " 5. (Optional) substitu...
SaierLaboratory/TCDBtools
scripts/locfrag.sh
Shell
bsd-3-clause
1,131
#!/bin/bash # Copyright (c) 2011 The Native Client 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 -o nounset set -o errexit VERIFY=${PREFIX:-yes} PREFIX=${PREFIX:-} python2 ../prepare_input.py --config $(basename $(pwd)) ref ${...
Lind-Project/native_client
tests/spec2k/256.bzip2/run.ref.sh
Shell
bsd-3-clause
836
# Install dependencies # Use conda **ONLY** for numpy and pandas (if not pulling from master), this # speeds up the builds a lot. Use the normal pip install for the rest. conda create -n odo numpy=1.11.2 python=$python source activate odo # update setuptools and pip conda update setuptools pip if [ -n "$PANDAS_VERSION...
quantopian/odo
etc/ci-install.sh
Shell
bsd-3-clause
647
#!/bin/bash echo "Installing Git and Sumatra Test" # sudo apt-get install git pip install GitPython if [[ $TRAVIS_PYTHON_VERSION == 3* ]] then pip install django pip install pyyaml # otherwise smt init fails with yaml not defined error pip install Sumatra fi
SmokinCaterpillar/pypet
ciscripts/travis/install_gitpython.sh
Shell
bsd-3-clause
291
#!/bin/bash # Copyright (c) 2012 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Script assumed to be run in native_client/ if [ "x${OSTYPE}" = "xcygwin" ]; then cd "$(cygpath "${PWD}")" fi if [[ ${PWD} != */nativ...
Lind-Project/native_client
buildbot/buildbot_toolchain.sh
Shell
bsd-3-clause
3,428
#!/bin/bash function message () { echo -e "\033[32m$1\033[0m" } function info () { message "I: $1" } function error () { >&2 echo -e "\033[31mE: $1\033[0m" exit 1 }
dossier/sortingdesk
sh/libtools.sh
Shell
mit
176