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
#!/usr/bin/env bash echo "+--------------------------+" echo "| Install Framework: Nails |" echo "+--------------------------+" # -------------------------------------------------------------------------- if ! [ -x "$(command -v nails)" ]; then echo "... installing Nails Command Line Tool" composer global re...
nailsapp/site-main
docker/webserver/apache-nails-php72/templates/install-framework.sh
Shell
mit
418
function __git_prompt() { local g="$(git rev-parse --git-dir 2>/dev/null)" if [ -n "$g" ]; then local r local b if [ -d "$g/../.dotest" ] then if test -f "$g/../.dotest/rebasing" then r="|REBASE" elif test -f "$g/../.dotest/applying" then r="|AM" else ...
amarshall/dotfiles
lib/zsh/lib/prompt.zsh
Shell
mit
3,546
#!/bin/bash echo "### Waiting for ${API_HOST}:${API_PORT} to get ready..." while ! nc -vz ${API_HOST} ${API_PORT} do echo "### Retry..." sleep 3; done echo "### Starting unit tests." nodeunit chefmatetests-rest.js
APIBrickwork/REST-API-Adapter
tests/testscripts-chefmate-rest/startUnitTests.sh
Shell
mit
220
#!/usr/bin/env bash curl -H "X-Requested-By: ambari" -X POST -d @/tmp/cluster_hdp.json -u admin:admin $1:8080/api/v1/clusters/$2
tourunen/pouta-ansible-cluster
roles/ambari_blueprints/files/cluster_create.sh
Shell
mit
129
#!/bin/bash /usr/bin/sudo apt-get update /usr/bin/sudo apt-get -y install python-virtualenv git libxslt1-dev libxml2-dev python-dev libyaml-dev lib32z1-dev #rm -R -f ~/py27 /usr/bin/virtualenv ~/py27 source ~/py27/bin/activate /usr/bin/env python setup.py install pip install --upgrade pip pip install nose pip install ...
unixunion/python-libsolace
cicd.sh
Shell
mit
377
#!/bin/sh ruby extconf.rb --with-rokapi-include=../
ncloudioj/okapi_ir_ext
ruby/config.sh
Shell
mit
53
#!/usr/bin/env bash set -e if [[ -n "${DEBUG}" ]]; then set -x fi cid="$(docker run -d -e DEBUG --name "${NAME}" "${IMAGE}")" trap "docker rm -vf $cid > /dev/null" EXIT redis() { docker run --rm -i -e DEBUG --link "${NAME}" "${IMAGE}" "${@}" } redis make check-ready max_try=10 host="${NAME}" echo -n "Checkin...
Wodby/redis
tests/run.sh
Shell
mit
481
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DLA-406-1 # # Security announcement date: 2016-01-30 00:00:00 UTC # Script generation date: 2017-01-01 21:09:07 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: x86_64 # # Vulnerable packages fix on version: # - phpmyadmin:4:3.3.7-11 # # Last vers...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/x86_64/2016/DLA-406-1.sh
Shell
mit
631
function configure_phantomjs() { local -n __var=$1 PHANTOMJSPATH="${HOME}/install/phantomjs" PHANTOMJSPATHBIN="${PHANTOMJSPATH}/bin" if [ -d "$PHANTOMJSPATH" ] && [ -d "$PHANTOMJSPATHBIN" ] then pathutils_add_head PATH "${PHANTOMJSPATHBIN}" export PHANTOMJSPATH __var=0 return fi __var=1 } register confi...
veltzer/bashy
plugins/phantomjs.bash
Shell
mit
335
ASYNCTASK_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) FABRIC_EXTS_PATH="$FABRIC_EXTS_PATH:$ASYNCTASK_DIR/../exts" export FABRIC_EXTS_PATH
tadevelopment/AsyncTask
Tests/environment.sh
Shell
mit
148
#!/bin/bash #fail fast set -e if [[ -z "$LOCAL_PORT" || -z "$TARGET_ADDRESS" ]] ; then echo "Required env variables LOCAL_PORT and/or TARGET_ADDRESS missing" exit 1 fi DEBUG_LEVEL=${DEBUG_LEVEL:-warning} cat << EOF > /etc/stunnel/plainToTLS.conf foreground = yes syslog = no debug = ${DEBUG_LEVEL} options = NO_S...
herzogf/docker-plaintotls
entrypoint.sh
Shell
mit
808
#!/usr/bin/env bash # Install nginx as stated in http://wiki.nginx.org/Install # 1. Add repo sudo cp /vagrant/repo/nginx.repo /etc/yum.repos.d/nginx.repo # 2. Install package sudo yum install -y nginx # 3. Start service sudo systemctl start nginx
4BitBen/vagrant-examples
2_networking/scripts/installNginx.sh
Shell
mit
251
welcome="\n ===============Welcome to blingy!===============\n" commandslist1="setup commands: <install>, <refresh>, <run>\n" commandslist2="create commands: <new>, <publish>, <list>\n" commandslist3="remove commands: <unpublish>, <delete>\n" commandslist4="misc commands: <update-template>, <watch>\n" hr="=============...
zubaird/zubaird.github.io
bin/client/commands.sh
Shell
mit
3,062
#!/bin/sh #Title #Description #By David Rubinstein #alt --user=$USER #figure out way to get tensorflow inside f the instance #for CPU # export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc0-cp27-none-linux_x86_64.whl #for GPU # export TF_BINARY_URL=https://storage.googleapis.com...
drubinstein/focus
docker_run.sh
Shell
mit
999
#!/bin/bash if test -f .vbox_version ; then # The netboot installs the VirtualBox support (old) so we have to remove it if test -f /etc/init.d/virtualbox-ose-guest-utils ; then /etc/init.d/virtualbox-ose-guest-utils stop fi rmmod vboxguest aptitude -y purge virtualbox-ose-guest-x11 virtualbox-ose-guest-...
janschumann/debian-images
scripts/virtualbox.sh
Shell
mit
942
#!/bin/bash #PBS -l nodes=1:ppn=1 #PBS -l walltime=47:00:00 #PBS -A bap-052-aa #PBS -o outputfileB #PBS -e errorfileB #PBS -V #PBS -N vidjilRunTCR002 module add gcc/4.9.1 module add clang/3.5.0 FILENAME=$1 cd /gs/project/bap-052-aa/Park_data/RNAseq/vidjil-2016.03/ while read mySAMPLE do let c...
radiaj/rjscripts
rnaseq/runVidjilTCR.sh
Shell
mit
727
cd ../../;cc -g -std=c99 script/icon/OTE.res src/c/OTE.c src/c/action.c src/c/base.c src/c/editor.c src/c/text_selection.c src/c/event_delegator.c ../OTG/src/c/OTG.c ../OSAL/src/c/gpu.c ../OSAL/src/c/graphics.c ../OSAL/src/c/input.c ../OSAL/src/c/net.c ../OSAL/src/c/sound.c ../OSAL/src/c/system.c ../OSAL/src/c/util.c ...
oddthread/OTE
script/build/make_mingw.bash
Shell
mit
639
#!/usr/bin/sh browserify browser_setup.js > bundle.js && echo "Game has been built. Now running server." && node server/server.js
Coteh/MinesweeperClone
scripts/build-n-serve.sh
Shell
mit
131
#!/bin/sh haxelib run weblog "$@"
zasmarkany/weblog
bin/weblog.sh
Shell
mit
34
#!/bin/bash -e # When run under interactive mode, bashrc wont run export NVM_DIR="/home/ubuntu/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm pwd=${PWD##/} root="/home/ubuntu/sqat" # current working directory must be $root if [ "$pwd" != "home/ubuntu/sqat" ] then echo "Changing your worki...
Andyccs/sqat
deploy.sh
Shell
mit
872
export EDITOR='subl' export SPARK_LOCAL_IP=127.0.0.1
abdinoor/dotfiles
system/env.zsh
Shell
mit
53
#!/bin/sh OUTPUT=day11a.jar MAINCLASS=Day11a #kotlinc -verbose -include-runtime -d $OUTPUT *.kt kotlinc -verbose -include-runtime -d $OUTPUT src_kotlin/*.kt if [ $? -ne 0 ] ; then echo "ERROR: $?" exit 1 fi #java -jar $OUTPUT java -cp $OUTPUT $MAINCLASS $1
kannix68/advent_of_code_2016
day11/run.sh
Shell
mit
263
# Provisioning docker wget -qO- https://get.docker.com/ | sh usermod -aG docker vagrant #Provisioning docker-comose curl -L "https://github.com/docker/compose/releases/download/1.11.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose #Provisioning Node apt...
vitalibynda/webpacknow
provision.sh
Shell
mit
862
set +x # Add PostgreSQL to sources list curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \ && echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list # Install PostgreSQL client and libs apt-get update -qq && \ DEBIAN_FRONTEND=...
michelson/chaskiq
.docker-files/pg.sh
Shell
mit
397
names=`grep "exit code 1" out.* -l` for name in $names; do job=`sed -n '4,4p' $name | sed -n "s/Job <\([^>]*\)>.*/\1/p"` echo bsub -q short -n 12 -R rusage[mem=110000] -R span[hosts=1] -o "out.%J" -e "err.%J" ${job} done
schmiedc/pipeline_2.0
jobs_master_2.2/fusion/resubmit-failed-jobs.sh
Shell
mit
223
#!/usr/bin/env bash ## # Sends local instance DB dump to given remote. # # Optionally creates a new dump before sending it over, or uses most recent # local instance DB dump (default). Always wipes out and restores the dump on # remote DB. # # @param 1 String : the remote id. # @param 2 [optional] String : path to dum...
Paulmicha/common-web-tools
cwt/extensions/remote_db/db/sync_to.sh
Shell
mit
759
#!/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...
kildevaeld/FASlideView
Example/Pods/Target Support Files/Pods-FASlideView_Tests/Pods-FASlideView_Tests-frameworks.sh
Shell
mit
4,098
retcode=1 echo Install to $1 with $2 while [ $retcode -ne 0 ]; do sleep 1s xcrun simctl install $1 $2 retcode=$? done
tinyunit/tinyunit
cmake/scripts/install-ios.sh
Shell
mit
124
#!/bin/bash -eux export cwd=$(pwd) pushd $cwd/florence make audit popd
ONSdigital/florence
ci/scripts/audit.sh
Shell
mit
74
#!/bin/bash # # Check for new messages and notify on Slack. # # VERSION :0.1.1 # DATE :2018-02-02 # URL :https://github.com/szepeviktor/debian-server-tools # AUTHOR :Viktor Szépe <viktor@szepe.net> # LICENSE :The MIT License (MIT) # BASH-VERSION :4.2+ # DEPENDS :pip3 install...
szepeviktor/debian-server-tools
mail/ses-to-imap/mail-notify.sh
Shell
mit
798
#!/bin/bash Detalhes() { whiptail --title "Detalhes pacote básico" --msgbox " Gimp -> Editor de fotos Gksu -> Interface gráfica do sudo Inkscape -> Editor de imagens vetoriais RarUnrar -> Descompactador de arquivos Ubuntu Restricted Extras -> Software essenciais Unity Tweak Tools -> Utilitario de edição d...
matheus-souza/backpack
app/basicos/menu/Detalhes.sh
Shell
mit
351
#!/bin/bash SRC=$(realpath $(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../) set -e pushd $SRC &> /dev/null (set -x; go get -u $@ $(go list -tags most -f '{{ join .Imports "\n" }}' ./internal/...) ) PKGS=$(go list -tags most -f '{{ join .Imports "\n" }}'|grep 'github.com/xo/usql'|grep -v drivers|grep -v intern...
knq/usql
internal/update-deps.sh
Shell
mit
399
#!/bin/sh donelanes=`find . -name "*.tar.gz"` donedirs=() for d in ${donelanes[@]}; do donedirs+=(`echo $d | sed "s/\.\///g" | sed "s/\/out_.*//g"`) done for d in ${donedirs[@]}; do cd $d scp ${d}.tar.gz mattfel@holodeck-zc706: 2>1 >/dev/null tmg=`grep -r "VIOLATED" . | grep -v "synth" | wc -l` if [ $tmg !...
stanford-ppl/spatial-lang
utilities/zynq_scrape.sh
Shell
mit
1,099
#!/bin/bash set -ux result=0 for ver in {3.6,3.7,3.8}; do # latest tag will override after each build, leaving only the newest python version tagged docker build ./ --build-arg VERSION=$ver -t "isort:$ver" -t "isort:latest" && docker run "isort:$ver" result=$(( $? + $result )) done exit $result
PyCQA/isort
scripts/docker.sh
Shell
mit
302
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org> # Copyright (C) 2016 Robert Bragg <robert@sixbynine.org> # # Based on some code from bash/zsh completion support for core Git. # # Distributed under the GNU General Public License, version 2.0. # # Note: this depends on implementation details of the comple...
rib/git-subdir
completion.bash
Shell
mit
4,547
SPP=Populus_trichocarpa PREFIX=ftp://ftp.ncbi.nih.gov/genomes/Populus_trichocarpa/ mkdir $SPP cd $SPP wget ${PREFIX}LG{I,II,III,IV,V,VI,VII,VIII,IX,X,XI,XII,XIII,XIV,XV,XVI,XVII,XVIII,XIX}/*.fna cat *.fna > ../$SPP.fasta
sauloal/cnidaria
analysis/data/converters/external/Plants/Populus_trichocarpa.sh
Shell
mit
221
RVM_BIN_PATH="${HOME}/.rvm/bin" # Add RVM to PATH for scripting. Make sure this is the last PATH variable change. if [[ -d ${RVM_BIN_PATH} ]]; then export PATH="${PATH}:${RVM_BIN_PATH}" fi # Load RVM into a shell session *as a function* if [[ -s "${HOME}/.rvm/scripts/rvm" ]]; then source "${HOME}/.rvm/scripts...
agude/dotfiles
bash/bashrc.d/203.rvm.bash
Shell
mit
352
#!/bin/bash #SBATCH --partition=mono #SBATCH --ntasks=1 #SBATCH --time=4-0:00 #SBATCH --mem-per-cpu=8000 #SBATCH -J Deep-DAE_SDAE_7_bot_bin_CAE_relu #SBATCH -e Deep-DAE_SDAE_7_bot_bin_CAE_relu.err.txt #SBATCH -o Deep-DAE_SDAE_7_bot_bin_CAE_relu.out.txt source /etc/profile.modules module load gcc module load matlab c...
aciditeam/matlab-ts
jobs/deepJobs_DAE_SDAE_7_bot_bin_CAE_relu.sh
Shell
mit
632
#!/bin/bash clear echo Copy app deployables ..... echo Clearing... rm -r /Users/cssian/Projects/rhs/rhs-music-metrix/metrics/stage mkdir /Users/cssian/Projects/rhs/rhs-music-metrix/metrics/stage echo Copying.... cp -a /Users/cssian/Projects/rhs/rhs-music-metrix/metrics/styles/. /Users/cssian/Projects/rhs/rhs-mus...
netaisllc/rhs-music-metrix
metrics/command/copy-deployable-set.sh
Shell
mit
799
## Command history configuration HISTFILE=$HOME/.zsh_history HISTSIZE=10000 SAVEHIST=10000 setopt append_history setopt extended_history setopt hist_expire_dups_first setopt hist_ignore_dups # ignore duplication command history list setopt hist_ignore_space setopt hist_verify setopt inc_append_history setopt share_his...
ltw/dotfiles
shells/zsh/lib/history.zsh
Shell
mit
407
#!/usr/bin/env bash # Written by Wu Jianxiao and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md # This function runs the make_xyzIndex_vol function to make index volumes for both the original MNI152 template and the # normalised version ########################################### ...
ThomasYeoLab/CBIG
stable_projects/registration/Wu2017_RegistrationFusion/registration_fusion/scripts_vol2surf/CBIG_RF_step1_make_xyzIndex_volTemplate.sh
Shell
mit
3,968
#!/bin/bash rm -rf /opt/vpnbook
alexdesousa/vpnbook_button
vpnbook/install/root-uninstall.sh
Shell
mit
33
#!/bin/bash for config in P4PORT P4USER P4PASSWD P4TOKEN; do if [ -z "${!config:-}" ]; then echo FAIL: $config not defined 1>&2 exit 1 fi done # Trust the server when connecting over ssl if [[ $P4PORT == "ssl"* ]]; then echo SSL connection detected, establishing trust if ! p4 trust -y...
noonien/docker-perforce
perforce-search/run.sh
Shell
mit
2,377
#!/usr/bin/env bash RESCUETIME_ENDPOINT="https://www.rescuetime.com/anapi/data?key=${RESCUETIME_API_KEY}&format=csv&rs=day&rk=productivity" segments::rescuetime_fetch_changes() { result=$(curl -s "$RESCUETIME_ENDPOINT" | grep -v '^Rank') exit_code=$? if [[ "$exit_code" -gt 0 ]]; then debug::log "Could not r...
brujoand/sbp
src/segments/rescuetime.bash
Shell
mit
2,078
#!/bin/sh # # Copyright 2015,2017 Cumulus Networks, Inc. All rights reserved. # # This file is licensed to You under the Eclipse Public License (EPL); # 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/eclipse-1.0.php # # C...
CumulusNetworks/ptm
scripts/deb-rst2man.sh
Shell
epl-1.0
1,020
#!/bin/bash ### ENVIRONMENT VARIABLES # REQUIRED: # # KAFKA_ZOOKEEPER_CONNECT # S3_BUCKET_NAME # AWS_ACCESS_KEY_ID # AWS_SECRET_ACCESS_KEY # # OPTIONAL: # # RIEMANN_HOST # TOPIC_WHITELIST # TOPIC_BLACKLIST # setting defaults export RIEMANN_HOST=${RIEMANN_HOST:-nil} export TOPIC_WHITELIST=${TOPIC_WHITEL...
FundingCircle/bifrost
docker/configure-and-start.sh
Shell
epl-1.0
1,349
#!/bin/bash git remote add upstream git://github.com/rsetienne/PBD.git git fetch origin -v; git fetch upstream -v; git merge upstream/master
rsetienne/PBD
pull_upstream.sh
Shell
gpl-2.0
140
#!/bin/bash if [ ! $# == 2 ]; then echo "Usage: ./perf_collect_logs.sh <directory> <log-name-prefix>" exit fi logdir=$1 prefix=$2 rm -rf ${logdir}${prefix}.perf.log.gz cd $logdir for file in `ls ${prefix}.log-* | sort -V` do echo "Processing $file" cp ${file} ${file}-2.gz gunzip ${file}-2.gz cat ${file}-2...
thom-at-redhat/cfme_tests
scripts/perf_collect_logs.sh
Shell
gpl-2.0
468
#!/bin/sh # # $Id: test_flute_RLC.sh,v 1.2 2005/05/12 16:03:20 moi Exp $ # # Copyright (c) 1999-2004 INRIA - All rights reserved # (main authors: Julien Laboure - julien.laboure@inrialpes.fr # Vincent Roca - vincent.roca@inrialpes.fr # # This program is free software; you can redistribute it and/or #...
jcable/mcl
check/flute/iop/test_flute_RLC.sh
Shell
gpl-2.0
4,115
#!/bin/sh #set -o allexport #source configs/params.conf #set +o allexport /usr/bin/TG_3D $KEYS
razdoburdin/TG_3D
docker-entrypoint.sh
Shell
gpl-2.0
97
# # Copyright (C) 2010 OpenWrt.org # . /lib/ramips.sh PART_NAME=firmware RAMFS_COPY_DATA=/lib/ramips.sh platform_check_image() { local board=$(ramips_board_name) local magic="$(get_magic_word "$1")" [ "$ARGC" -gt 1 ] && return 1 case "$board" in dir-300-b1 | dir-600-b1 | dir-600-b2 | fonera20n | nw718 | rt-g3...
riedel/openwrt-wdtv
target/linux/ramips/base-files/lib/upgrade/platform.sh
Shell
gpl-2.0
855
#!/bin/sh CVS_SANDBOX=${CVS_SANDBOX:-"${HOME}"} echo $CVS_SANDBOX BOREALIS_HOME=${CVS_SANDBOX}/borealis BOREALIS_SRC_HOME=${BOREALIS_HOME}/src/src CLIENT_HOME=${BOREALIS_HOME}/demo/mitre LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${INSTALL_NMSTL}/lib:${INSTALL_ANTLR}/lib PATH=${PATH}:${BOREALIS_SRC_HOME}:${BOREALIS_HOME}/too...
dhu/borealis-demo
mitre/run.sh
Shell
gpl-2.0
986
#!/bin/bash SCRIPT_DIR=`dirname $0` source ${SCRIPT_DIR}/quiz_common.sh IMAGE_FILES=`ls ${QUIZ_DIR}/omr_output/ 2> /dev/null | grep "^[^(jpg)]*jpg$"` QUIZ_PART_NB=0 echo $QUIZ_PARTS for QUIZ_PART in ${QUIZ_PARTS} do echo "=======================================" echo "Creating data for '${QUIZ_PART}'" NB_STUDENTS=...
CedricDinont/PaperQuiz
bin/prepare_correction.sh
Shell
gpl-2.0
3,265
# Simple colors and git status related functions. COLOR_RED="\033[0;91m" COLOR_YELLOW="\033[0;93m" COLOR_GREEN="\033[0;32m" COLOR_PURPLE="\033[0;95m" COLOR_BLUE="\033[0;94m" COLOR_WHITE="\033[0;37m" COLOR_RESET="\033[0m" function __git_color { local git_status="$(git status 2> /dev/null)" if [[ ! $git_status =~ ...
simesy/mine
bash/bashrc_prompt.sh
Shell
gpl-2.0
1,129
#!/bin/sh aclocal && autoconf && autoheader && libtoolize && automake --add-missing && echo "OK, you can run \`./configure' now."
md5crew/inotify-tools
autogen.sh
Shell
gpl-2.0
132
make clean rm -rf ./df0.adz rm -rf ./kick.rom rm -rf ./config.log rm -rf ./config.status rm -rf ./configure rm -rf ./aclocal.m4 rm -rf ./src/gfxdep rm -rf ./src/guidep rm -rf ./src/joydep rm -rf ./src/machdep rm -rf ./src/osdep rm -rf ./src/sounddep rm -rf ./src/threaddep rm -rf `find . -type d -name autom4te.cache...
voorhees1979/PUAE
release_.sh
Shell
gpl-2.0
430
#!/bin/sh #set -e -x usage() { echo "Usage: $0 minlength inputfile" } checkerror() { $1 if test $? -ne 0 then echo "failure: ${1}" exit 1 fi } cleanhashlines() { TMPFILE=`mktemp TMP.XXXXXX` || exit 1 sed -e '/^#/d' -e 's/[ ][ ]*/ /g' $1 > ${TMPFILE} mv ${TMPFILE} $1 } sortlines() { TMPFI...
bioh4x/NeatFreq
lib/genometools-1.4.1/scripts/repfvsrepf.sh
Shell
gpl-2.0
1,129
#!/bin/bash if [[ $# -ne 2 ]] then echo "Error - parameters missing" echo "Syntax : $0 test_group test_name" echo "example : $0 samples hello" exit 1 fi ./runRTEMStest-opal.sh output image.iso $1 $2 sources symbols
gedare/GEMS
support/opal-quicktest.sh
Shell
gpl-2.0
226
#!/bin/sh clear ver="0.9.9" printf "** Automated sqlmap (asqlmap) for BackBox v. $ver **\n" printf " developed by Gualty \n" printf " http://github.com/Gualty \n" printf "\n\nEach operation will be performed using the --tor flag for your anonymity" printf "\n ** Check that ...
Gualty/asqlmap-bb
asqlmap.sh
Shell
gpl-2.0
5,500
#!/bin/zsh clear echo -e " \e[1;37m +------------------------------------------------------------------------------------+ | malukenho@devfestne ~ | +---------...
malukenho/pgae
slides/deploy.sh
Shell
gpl-2.0
3,431
dt=0.004 cat $1 | ~/progs/fourier.py 0 10000 $dt > $2
zakirovandrey/DTmaxwell4
calc_purcell.sh
Shell
gpl-2.0
54
#!/bin/bash # We use some bash-isms (getopts?) # Copyright (C) 2007-2010 Red Hat, Inc. All rights reserved. # # This file is part of LVM2. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions # of the GNU General Public License...
andyvand/cyglvm2
scripts/lvmdump.sh
Shell
gpl-2.0
6,590
#!/bin/bash set -x if [ $# -lt 2 ]; then echo -e $0 "<site_name> <site_name_log>" exit 1; fi NEW_SITE=$1 NEW_SITE_LONG=$2 SETTING_DIR="gestionale" DEFAULT="$SETTING_DIR/default" NEW=$SETTING_DIR/$NEW_SITE CURRENT_DIR=`pwd` DB_GEN_PASS=`tr -dc A-Za-z0-9_ < /dev/urandom | head -c 16 | xargs` cp -r $DEFAULT $NEW sed ...
asterix24/GestionaleCaldaie
new_gestionale_site.sh
Shell
gpl-2.0
1,318
#!/bin/bash # https://github.com/titouwan/CIS VERB=0 score=0 function inv { if [ $1 -ge 1 ] then echo "0" else echo "1" fi } function out { if [ -z $1 ] then echo "Cannot go further" exit 99 else if [ $1 -eq 0 ] then RESULT="OK" else RESULT="NOK" let score=$score+1 fi ...
titouwan/CIS
cis_bench.sh
Shell
gpl-2.0
45,378
#! /bin/bash # 03/08/2014 -- A. Spiga # install the generic model # with gfortran on Linux env # for teaching purposes # updated 2021 J-B Madeleine ####################### # On ciclad or climserv, load a recent gfortran compiler hostname=`hostname` case ${hostname:0:6} in ciclad|camelo|merlin) module load gnu/7.2....
aymeric-spiga/eduplanet
install.sh
Shell
gpl-2.0
4,339
#! /bin/sh # Copyright (C) 2002-2017 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program ...
Starlink/automake
t/aclocal-dirlist-globbing.sh
Shell
gpl-2.0
1,457
#!/bin/sh # # Update Host Invetory - API ZABBIX # # Luiz Sales - luiz@lsales.biz # redhate.me - lsales.biz # # 10/09/15 # # VARIABLES #HOSTNAME='' API='http://localhost/api_jsonrpc.php' # CONSTANT VARIABLES ZABBIX_USER="" ZABBIX_PASS="" HOST=$1 INV_MODE=$2 help() { echo echo "$0 <HOSTNAME> <INVENTORY_MODE>" ...
lsa1es/Zabbix
HostInventory/HostInventory.sh
Shell
gpl-2.0
1,668
#!/usr/bin/env bash set -e rm -rf .git rm -r .gitignore echo ".editorconfig .travis.yml README.md .bin bower.json gulpfile.js node_modules maps package.json src/html src/images src/jade src/shell README.md setting.json bower_components .DS_store vendor composer.* codesniffer.ruleset.xml *.zip" > .gitignore git init...
featherplain/amethyst
.bin/deploy.sh
Shell
gpl-2.0
545
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=GNU-Linux-x86 CND_CONF=Debug CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=so NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/ex29_majorme...
pdavila13/Program_C
Ex29_majorMenorMitjana/nbproject/Package-Debug.bash
Shell
gpl-2.0
1,529
#!/usr/bin/env bash GROUP="com/skyisland/questmanager" PROJECT_NAME="QuestManager" VERSION=$(ls ${HOME}/.m2/repository/${GROUP}/${PROJECT_NAME} | sed 's/maven-metadata-local.xml//' | xargs) if [ "$(echo $VERSION | grep -o SNAPHOT)" != "SNAPSHOT" ]; then echo "VERSION: $VERSION" # Create new release TAG_N...
Dove-Bren/QuestManager
scripts/plugin-release.sh
Shell
gpl-3.0
1,043
#--------------------------------------------------------------------- # Function: InstallWebServer Ubuntu 18.04 # Install and configure Apache2, php + modules #--------------------------------------------------------------------- InstallWebServer() { if [ "$CFG_WEBSERVER" == "apache" ]; then CFG_NGINX=n CFG_...
servisys/ispconfig_setup
distros/ubuntu-18.04/install_webserver.sh
Shell
gpl-3.0
5,679
#!/bin/bash #usage: tar7z source destination [options] SOURCE=$1 DESTINATION=$2 ACTION=$3 shift; shift; shift OPTIONS_7Z=$@ show_help() { echo -e "Tar7Z - Preserve permissions, archive and compress/extract with 7z\n" echo -e "Usage: usage: tar7z source destination action [7z_options]\n" echo -e "ACTION:" ...
alr46664/opensuse-auto
Tar7Z/tar7z.sh
Shell
gpl-3.0
767
#!/bin/bash # Copyright (C) 2017 Christopher Towner # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program ...
christopwner/netsuite-utils
validate-invoice.sh
Shell
gpl-3.0
1,118
#!/bin/bash gcc client.c network.c -o weatherclient || exit gcc -lm -ggdb parser.c datautils.c network.c -o parser || exit gcc conftool.c network.c -o conftool || exit scp conftool surf:cgi-bin/ scp parser surf:bin/ scp weatherclient surf:bin/
surfmikko/wstools
scripts/mk.sh
Shell
gpl-3.0
246
#!/usr/bin/ksh #memory calculator um=`svmon -G | head -2|tail -1| awk {'print $3'}` um=`expr $um / 256` tm=`lsattr -El sys0 -a realmem | awk {'print $2'}` tm=`expr $tm / 1024` fm=`expr $tm - $um` echo "\n-----------------------"; echo "System : `hostname`"; echo "-----------------------\n"; echo "Memory Infor...
zoftrix/OldScript
AIX/kmemory.sh
Shell
gpl-3.0
455
#!/bin/bash ldapsearch -QLLL -o ldif-wrap=no -b "dc = grx" "(samAccountName=$1)" 2>&1
aavidad/grx-asistencia
ldap/ldap.sh
Shell
gpl-3.0
89
#! /bin/bash # do not touch the following 5 definitions BASIC=1 TONE=2 COLOR=3 CORRECT=4 EFFECT=5 ### # module-group order, just reorder the module-group ### module_group=( $BASIC $CORRECT $TONE $COLOR $EFFECT ) ### # move module from one group to another ### group_basic=( 'basecurve' ...
edgardoh/darktable
tools/iop-layout.sh
Shell
gpl-3.0
2,912
#!/bin/bash ip addr show wlan0 | grep 'inet ' | head -1 | awk '{print $2}' | cut -d/ -f1;
HestiaPi/hestia-touch-openhab
home/pi/scripts/getwlan0ip.sh
Shell
gpl-3.0
92
#!/bin/bash #SBATCH -J bdg2bw #SBATCH -n 1 # Use 1 cores for the job #SBATCH -t 0-12:00 # Runtime in D-HH:MM #SBATCH -p serial_requeue # Partition to submit to #SBATCH --mem=70000 # Memory pool for all cores (see also --mem-per-cpu) #SBATCH -o bdg2bw.%A.out # F...
tsackton/ratite-genomics
08_atacseq/bedgraph2BW.sh
Shell
gpl-3.0
648
#!/bin/sh if [ $# -lt 6 ]; then cat <<EOF Usage: $0 smbclient3 server share user password directory EOF exit 1; fi incdir=`dirname $0`/../../../testprogs/blackbox . $incdir/subunit.sh failed=0 SMBCLIENT3="$1"; shift SERVER="$1"; shift SHARE="$1"; shift USERNAME="$1"; shift PASSWORD="$1"; shift DIRECTORY="$1"; shift...
kernevil/samba
source3/script/tests/test_smbclient_mget.sh
Shell
gpl-3.0
885
#!/bin/bash # # hostInfo.sh ver 0.0.2 # # Since the old, free version of maxminds' database has some info that # the new version has not, it might be a good idea to query it also # (using geoiplookup). Also, resolving the hostname of a given ip # would be nice. This script does all this. If you have geoiplookup # insta...
GGShinobi/GeoIP2
hostInfo.sh
Shell
gpl-3.0
1,997
#!/bin/sh ln -s $PWD/vimrc $HOME/.vimrc ln -s $PWD $HOME/.vim
kmcculloch/myvim
install.sh
Shell
gpl-3.0
63
#!/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/2020/asgs_config_southfl_v11-1_final_nam_bde-frontera.sh
Shell
gpl-3.0
4,187
#!/bin/bash #Local Docker Builds docker build -t "rwhales:latest" . docker tag rwhales gcr.io/api-project-773889352370/rwhales gcloud docker -- push gcr.io/api-project-773889352370/rwhales
bw4sz/WhalePhys
Cloud/build_local.sh
Shell
gpl-3.0
193
echo " install current docker easy script to ~/docker/ " mkdir ~/docker cp * ~/docker/. sudo apt update sudo apt install apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://...
MasterJJ/utility
easy_docker/install_docker_script.sh
Shell
gpl-3.0
440
#!/bin/bash set -e pegasus_lite_version_major="4" pegasus_lite_version_minor="7" pegasus_lite_version_patch="0" pegasus_lite_enforce_strict_wp_check="true" pegasus_lite_version_allow_wp_auto_download="true" . pegasus-lite-common.sh pegasus_lite_init # cleanup in case of failures trap pegasus_lite_signal_int INT trap...
elainenaomi/sciwonc-dataflow-examples
dissertation2017/Experiment 1A/instances/11_2_workflow_full_10files_secondary_wmj_3sh_3rs_with_annot_with_proj_3s_hash/dags/ubuntu/pegasus/example_workflow/20161109T024901+0000/00/00/taskevent_4_ID0000010.sh
Shell
gpl-3.0
1,237
#!/bin/bash set -e pegasus_lite_version_major="4" pegasus_lite_version_minor="7" pegasus_lite_version_patch="0" pegasus_lite_enforce_strict_wp_check="true" pegasus_lite_version_allow_wp_auto_download="true" . pegasus-lite-common.sh pegasus_lite_init # cleanup in case of failures trap pegasus_lite_signal_int INT trap...
elainenaomi/sciwonc-dataflow-examples
dissertation2017/Experiment 2/logs/w-11_1/20170124T231530+0000/00/00/sessioncompute_4_ID0000007.sh
Shell
gpl-3.0
1,228
#!/usr/bin/env bash pid_get() { local process_name=$1 local process_list=$(ps aux) while read line do local cur_process=$line if [ "${cur_process/"PID"}" != "$cur_process" ] then local process_header=($line) fi if [ "${cur_process/$process_name}" !...
huhumt/vimrc_huhumt
pid_method.sh
Shell
gpl-3.0
1,680
#!/bin/bash # Maximum memory (m for MBs, g for GBs) memory=7000m # Number of threads to use. If set higher than 1 then sentences are going to be parsed in parallel numThreads=1 # Output Directory execDir=output/sample_output/iSRL # Input file containing input sentences inputPath=input/sample_input_pltag # Input fi...
sinantie/PLTAG
scripts/pltag_iSRL.sh
Shell
gpl-3.0
4,747
#!/bin/bash -x # @link http://techbrahmana.blogspot.co.uk/2013/10/creating-wildcard-self-signed.html # NOTE: Copies of infographic-generator.san.key/infographic-generator.san.crt have been copied to /puppet/modules/sslcerts/files cd "$(dirname "$0")" # Set Params Country=GB State=London City=London Organization="...
JamesMcGuigan/infographic-generator
sslcert/san/generate-san.sh
Shell
gpl-3.0
1,608
# ~/.bash_functions_inc.git: sourced by ~/.bash_functions # to provide additional git-related functions # convenience-script for redmine-links shorten_sha1() { SHORT=$(echo "$1" | cut -c 1-7) echo "commit:$SHORT $SHORT" }
ehrenfeu/simplify
configs/bash_functions_git.inc.sh
Shell
gpl-3.0
233
#!/bin/bash if [ "$#" -eq 0 ] then echo Compute max. memory per CPU for Gadget-2 simulations with PLACEHIGHRESREGION enabled. echo echo Usage: echo echo " gadgetMaxMem.sh PM box extent Ncpu" echo exit fi # PM=$1, box=$2, extent=$3, Ncpu=$4 in awk echo $@ echo $@ |awk '{print "Total mem: ", ( $1^...
ginnungagapgroup/ginnungagap
tools/zoomTools/gadgetMaxMem.sh
Shell
gpl-3.0
489
' NOTE: To see what a particular program does, check out the "Program List.docx" file. @author Suryakant Bharti 2013 ' echo Enter file name read file if [ -f $file ] then echo file exists cat $file fi
Suryakant-Bharti/Operating_System_Lab_Programs
programs/FilePrint.sh
Shell
gpl-3.0
202
# transpose a file; https://stackoverflow.com/a/1729980/5359531 t () { awk ' BEGIN { IFS = "\t"; OFS = "\t"; FS = "\t" } { for (i=1; i<=NF; i++) { a[NR,i] = $i } } NF>p { p = NF } END { for(j=1; j<=p; j++) { str=a[1,j] for(i=2; i<=NR; i++){ str=str" "a[i,j]; ...
stevekm/dotfiles
t.sh
Shell
gpl-3.0
359
#!/bin/bash set -e pegasus_lite_version_major="4" pegasus_lite_version_minor="7" pegasus_lite_version_patch="0" pegasus_lite_enforce_strict_wp_check="true" pegasus_lite_version_allow_wp_auto_download="true" . pegasus-lite-common.sh pegasus_lite_init # cleanup in case of failures trap pegasus_lite_signal_int INT trap...
elainenaomi/sciwonc-dataflow-examples
dissertation2017/Experiment 2/instances/9_2_wikiflow_1sh_1s_noannot_wmj/dags/ubuntu/pegasus/example_workflow/20170126T032309+0000/00/00/init_0_ID0000001.sh
Shell
gpl-3.0
1,198
#!/bin/bash # bashlint.sh - script to check the syntax of other Bash scripts # # Copyright (C) 2015 Thoronador # # 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...
Thoronador/copy-file-stats
tests/script-sanity/bashlint.sh
Shell
gpl-3.0
1,252
#!/bin/bash set -e pegasus_lite_version_major="4" pegasus_lite_version_minor="7" pegasus_lite_version_patch="0" pegasus_lite_enforce_strict_wp_check="true" pegasus_lite_version_allow_wp_auto_download="true" . pegasus-lite-common.sh pegasus_lite_init # cleanup in case of failures trap pegasus_lite_signal_int INT trap...
elainenaomi/sciwonc-dataflow-examples
dissertation2017/Experiment 2/logs/w-10_1/20170125T135310+0000/00/00/sessioncompute_4_ID0000007.sh
Shell
gpl-3.0
1,228
#!/bin/bash # $Id: fortran_debug.sh,v 1.2 2011-07-26 16:51:01 juanca Exp $ # Default Fortran language debug script for VPL # Copyright (C) 2011 Juan Carlos Rodríguez-del-Pino. All rights reserved. # License GNU/GPL, see LICENSE.txt or http://www.gnu.org/licenses/gpl-2.0.html # Author Juan Carlos Rodriguez-del-Pino #lo...
ecastro/moodle23ulpgc
mod/vpl/jail/default_scripts/fortran_debug.sh
Shell
gpl-3.0
666
#! /bin/bash -x ################################################################################ # Copyright (c) 2015 Genome Research Ltd. # # Author: George Hall <gh10@sanger.ac.uk> # # This file is part of K-mer Toolkit. # # K-mer Toolkit is free software: you can redistribute it and/or modify it under # th...
george-hall/k_mer_tools
src/scripts/mask_repeats.sh
Shell
gpl-3.0
1,261
#!/bin/sh echo "waiting for fedora tomcat to start" while [ ! -d "/var/www/fedora/data" ] do printf "." sleep 1 done echo "tomcat started"
TheLanguageArchive/EasyLAT
docker/flat/fedora/wait.sh
Shell
gpl-3.0
145