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
# Calls mvnw if found in the current project, otherwise execute the original mvn mvn-or-mvnw() { local dir="$PWD" while [[ ! -x "$dir/mvnw" && "$dir" != / ]]; do dir="${dir:h}" done if [[ -x "$dir/mvnw" ]]; then echo "Running \`$dir/mvnw\`..." >&2 "$dir/mvnw" "$@" return $? fi command mvn ...
stansage/oh-my-zsh
plugins/mvn/mvn.plugin.zsh
Shell
mit
14,831
#!/bin/bash VAGRANT_CORE_FOLDER=$(echo "$1") OS=$(/bin/bash "${VAGRANT_CORE_FOLDER}/shell/os-detect.sh" ID) CODENAME=$(/bin/bash "${VAGRANT_CORE_FOLDER}/shell/os-detect.sh" CODENAME) if [[ ! -d /.puphpet-stuff ]]; then mkdir /.puphpet-stuff echo "${VAGRANT_CORE_FOLDER}" > "/.puphpet-stuff/vagrant-core-folde...
drupal-ukraine/csua_d8
puphpet/shell/initial-setup.sh
Shell
gpl-2.0
3,188
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "Lice...
jeffmart/incubator-trafficcontrol
infrastructure/docker/traffic_monitor/run.sh
Shell
apache-2.0
7,277
#!/bin/bash # Copyright 2012 Cloudera Inc. # # 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 agreed to in...
lirui-intel/Impala
bin/impala-shell.sh
Shell
apache-2.0
794
R CMD REMOVE --library=$PREFIX/lib/R/library/ pd.porgene.1.1.st
blankenberg/bioconda-recipes
recipes/bioconductor-pd.porgene.1.1.st/pre-unlink.sh
Shell
mit
64
#!/bin/sh # # Copyright (c) 2005 Junio C Hamano # test_description='Two way merge with read-tree -m $H $M This test tries two-way merge (aka fast-forward with carry forward). There is the head (called H) and another commit (called M), which is simply ahead of H. The index and the work tree contains a state that is ...
overtherain/scriptfile
tool-kit/git-2.1.2/t/t1001-read-tree-m-2way.sh
Shell
mit
12,410
#! /bin/bash if [ "$1" == "" ]; then echo "argument needed" exit 1 fi echo "launching TPCcalib on $1 in background" aliroot -b -q "TPCcalib.C(\"$1\")" &> TPCcalib.$1.log & echo "TPCcalib started"
kreisl/AliPhysics
PWGLF/SPECTRA/PiKaPr/TOF/pPb502/macros/TPCcalib.sh
Shell
bsd-3-clause
204
#!/bin/bash if [ -z "$1" ]; then DATATYPE="AOD" else DATATYPE="${1}" fi if [ -z "$2" ]; then PERIOD="LHC11h" else PERIOD="${2}" fi if [ -z "$3" ]; then FILELIST="fileLists/files_LHC11h_2_AOD145.txt" else FILELIST="${3}" fi if [ -z "$4" ]; then NEVENTS="5000" else NEVENTS="${4}" fi if [ -z "$5" ]; then DEB...
mvala/AliPhysics
PWG/EMCAL/macros/runEMCalSampleTask.sh
Shell
bsd-3-clause
499
#!/bin/sh # Copyright (C) 2010-2015 OpenWrt.org . /lib/functions/leds.sh . /lib/functions/lantiq.sh boot="$(lantiq_get_dt_led_chosen boot)" failsafe="$(lantiq_get_dt_led_chosen failsafe)" running="$(lantiq_get_dt_led_chosen running)" set_state() { status_led="$boot" case "$1" in preinit) status_led_blink_pr...
Tydus/openwrt
target/linux/lantiq/base-files/etc/diag.sh
Shell
gpl-2.0
583
#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); yo...
nivanov/ignite
bin/igniterouter.sh
Shell
apache-2.0
1,457
#!/bin/sh [ -d ./build ] || { echo "Please execute as ./build/mkbasepot.sh" >&2 exit 1 } echo -n "Updating modules/luci-base/po/templates/base.pot ... " ./build/i18n-scan.pl \ modules/luci-base/ modules/luci-mod-admin-full/ \ protocols/ themes/ \ > modules/luci-base/po/templates/base.pot echo "done"
zhaoxin54430/zhaoxin_test
src_luci/build/mkbasepot.sh
Shell
gpl-2.0
309
#!/bin/sh # Copyright (c) 2013, Ben Noordhuis <info@bnoordhuis.nl> # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS I...
larroy/clearskies_core
vendor/libuv/autogen.sh
Shell
lgpl-3.0
1,707
#! /bin/bash pushd $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) docker build -t heapster_riemann:canary . popd
childsb/origin
vendor/k8s.io/heapster/riemann/build.sh
Shell
apache-2.0
117
#!/bin/sh # CYBERWATCH SAS - 2016 # # Security fix for RHSA-2012:0705 # # Security announcement date: 2012-06-05 01:58:47 UTC # Script generation date: 2016-05-12 18:10:48 UTC # # Operating System: Red Hat 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - openoffice.org-base.x86_64:3.1.1-19.10....
Cyberwatch/cbw-security-fixes
Red_Hat_5/x86_64/2012/RHSA-2012:0705.sh
Shell
mit
14,847
#!/bin/bash source ./config #nova compute yum -y install openstack-nova-compute sysfsutils libvirt-daemon-config-nwfilter yum -y install qemu-kvm-rhev openstack-config --set /etc/nova/nova.conf DEFAULT reserved_host_memory_mb 65536 openstack-config --set /etc/nova/nova.conf DEFAULT rpc_backend rabbit openstack-confi...
brad-x/openstack
openstack-compute/nova-compute.sh
Shell
mit
2,867
#!/bin/bash # notify-send 'Opening bigger urxvt terminal...' # urxvt -name presentation -cd /storage/docs/notes SCREEN_RESOLUTION=$(xdpyinfo | grep 'dimensions' | cut -d ':' -f 2 | awk '{ print $1 }') echo "Current screen resolution is: $SCREEN_RESOLUTION" SCREEN_WIDTH=$(echo $SCREEN_RESOLUTION | cut -d 'x' -f 1) ec...
tiagoprn/devops
bin/urxvt-terminal.sh
Shell
mit
1,243
#!/bin/bash sudo mkdir -p /var/log/cube sudo chown vagrant:vagrant /var/log/cube node /opt/node_modules/cube/bin/collector.js 2>&1 >> /var/log/cube/collector.log & node /opt/node_modules/cube/bin/evaluator.js 2>&1 >> /var/log/cube/evaluator.log & echo "Cube Started!"
Stono/apizor
startcube.sh
Shell
mit
270
#!/bin/bash -e echo "Release a new version v$(cat VERSION)" git add . git commit -m "Release v$(cat VERSION)" git tag v$(cat VERSION) git push origin git push origin --tags
DieterReuter/make-roofs-debian-arm64
release.sh
Shell
mit
175
#!/bin/bash -e function finish { echo 'Removing test environment' echo '---' docker-compose down --rmi 'local' --volumes } trap finish EXIT function main() { # Generate reports folders locally mkdir -p spec/reports features/reports features_v4/reports startConjur runTests_5 runTests_4 } function st...
conjurinc/api-ruby
test.sh
Shell
mit
1,596
#!/bin/bash # # Use this file to quickly change the app version. # It will also tag, commit the change and push it. # # Usage: ./version.sh 1.2.0 # Check $1 if [ -z "$1" ] then echo "Version is required." fi # Replace version in package.json files sed -i.bak "s/\"version\": \".*\"/\"version\": \"$1\"/g" ./packa...
eyeyunianto/aksara
iMartapura/version.sh
Shell
mit
728
#!/bin/bash coffee --compile --no-header --output lib/ src/
btwael/locallydb
locallydb-javascript-old/Make.sh
Shell
mit
59
#!/bin/bash # logdir="/var/backups/lab29" declare -A db db[CustDev]="Customer_Devices" #db[mysql]="lab28_mysql" #db[error]="DoesNotExists" cd $logdir for d in "${!db[@]}"; do dd=${db[$d]} echo "=== $d = $dd ===" ### bveynde do not overwrite the BVE_ tables in Customer_Devices for now ... ...
BartVanEynde/vps-init
restore.last.mysql.db.sh
Shell
mit
699
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2014:1796 # # Security announcement date: 2014-11-03 20:15:35 UTC # Script generation date: 2017-01-01 21:15:45 UTC # # Operating System: Red Hat 6 # Architecture: i386 # # Vulnerable packages fix on version: # - rubygem-rake.noarch:0.8.7-2.1.el6 # - x...
Cyberwatch/cbw-security-fixes
Red_Hat_6/i386/2014/RHSA-2014:1796.sh
Shell
mit
760
sudo python configure.py sudo cp pydpiper.service /etc/systemd/system/pydpiper.service sudo systemctl enable pydpiper sudo systemctl start pydpiper
dhrone/pydPiper
install_volumio.sh
Shell
mit
148
#!/bin/bash NGINX="/etc/nginx/sites-enabled/" if [ "$EUID" -ne 0 ]; then echo "" echo "Please run this script as root." echo "" exit; fi if [ ! -d /var/www/certbot ]; then sudo mkdir -p /var/www/certbot fi # Setup Domain echo "Enter your root Domain Name: (DNS Should already propogate to this server)" read DO...
sheldonlendrum/NGINX-New-Site-with-Certbox
new_script.sh
Shell
mit
2,695
#!/bin/bash python manage.py migrate python manage.py loaddata fixtures/* python manage.py runserver 0.0.0.0:8000
almcc/cinder-data
example/server/entrypoint.sh
Shell
mit
115
#!/usr/bin/env bash set -euv branch="v8.9" if [ ! -d coq-serapi/.git ]; then git clone https://github.com/ejgallego/coq-serapi.git fi cd coq-serapi git fetch origin $branch git checkout $branch # Slower: # SERAPI_COQ_HOME="$PWD/../coq/" COQBIN="../coq/bin" (make clean; make) #SERAPI_COQ_HOME="$PWD/../coq/" COQBIN="...
Ptival/PeaCoq
scripts/setup-coq-serapi.sh
Shell
mit
439
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2293-1 # # Security announcement date: 2014-07-21 00:00:00 UTC # Script generation date: 2017-01-01 21:03:53 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - cups:1.5.3-0ubuntu8.4 # # Last versi...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/x86_64/2014/USN-2293-1.sh
Shell
mit
610
#!/bin/bash /home/pi/PING-Mailbox/Sensor.py
tinytunafish/PING-Mailbox
run.sh
Shell
mit
44
#!/bin/bash gcc -D__HIP_PLATFORM_HCC__= -I${HIP_PATH}/include -I${HCC_HOME}/include gApi.c ${HIP_PATH}/lib/device_util.cpp.o ${HIP_PATH}/lib/hip_device.cpp.o ${HIP_PATH}/lib/hip_error.cpp.o ${HIP_PATH}/lib/hip_event.cpp.o ${HIP_PATH}/lib/hip_hcc.cpp.o ${HIP_PATH}/lib/hip_memory.cpp.o ${HIP_PATH}/lib/hip_peer.cpp.o ${H...
GPUOpen-ProfessionalCompute-Tools/HIP
tests/src/experimental/xcompile/hipapig.sh
Shell
mit
485
# Netcat vs Telnet # telnet is a protocol, it knows certain commands # using it for sending raw data is discouraged (as it might mangle it) # netcat is better... # # Telnet is best for connecting to actual telnet-servers echo 'data' | nc <hostname> <port> # Warning! openssl will auto close the connection when ...
Saevon/Recipes
shell/telnet.sh
Shell
mit
1,135
#! /bin/sh versiondir=$1 # Copyright (C) 2013 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later v...
dbgbench/dbgbench.github.io
patches/find.07b941b1/tests/MGJmMTU1N2.test.sh
Shell
mit
3,745
#!/bin/bash # # Description: # # Prints a color table of 8bg * 8fg * 2 states (regular/bold) # # Copyright: # # (C) 2009 Wolfgang Frisch <xororand@unfoog.de> # # License: # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as publis...
chauncey-garrett/dotfiles
zsh/modules/colortests/colortable.sh
Shell
mit
1,457
git clone https://github.com/gongbaodd/cypress.gongbusang.com.git cypress cp -R public cypress/blog cd cypress yarn install yarn blog:ci
gongbaodd/gongbaodd.github.io
scripts/run_cypress.sh
Shell
mit
136
#!/bin/sh launchctl unload -w ~/Library/LaunchAgents/com.adobe.ccxprocess.plist launchctl unload -w ~/Library/LaunchAgents/com.adobe.GC.Invoker-1.0.plist launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist launchctl unload -w /Library/LaunchAgents/com.adobe.GC.AGM.plist launchctl unload -w /Li...
mikumi/dotfiles
bin/shutdown-adobe.sh
Shell
mit
1,129
#!/bin/bash # This script uses NPM to install Ionic globally echo "" echo "[Provision-Script] Installing Ionic" echo "" npm install -g ionic
vmadman/linux-scripts
vagrant/centos7/dev/v1/npm-install-ionic.sh
Shell
mit
144
osascript -e 'tell application "System Preferences" to quit' # Ask for the administrator password upfront sudo -v # Keep-alive: update existing `sudo` time stamp until `.macos` has finished while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & ###############################################...
CoderVikas/mindotfiles
install/macos/osx/osx-more.sh
Shell
mit
20,948
#!/bin/sh # - IB UD options using UCM provider, large scale settings (Xeon) export DAPL_UCM_REP_TIME=2000 #/* REQUEST timer, waiting on REPLY, msecs, default = 800 */ export DAPL_UCM_RTU_TIME=1000 #/* REPLY timer, waiting for RTU in msecs, default=400 */ export DAPL_UCM_RETRY=7 #/* REQUEST & REPLY retries,...
bthakur/benchmarks
mpi/run_symmetric/dapltest/debug/client.sh
Shell
mit
2,140
#! /usr/bin/env bash base_dir=$(cd "`dirname "0"`" && pwd) cpp_out="$base_dir/generated-src/cpp" jni_out="$base_dir/generated-src/jni" objc_out="$base_dir/generated-src/objc" java_out="$base_dir/generated-src/java/com/thoughtsofanintrovert/brDjinni" java_package="com.thoughtsofanintrovert.brDjinni" namespace="biblerea...
joshhaines/BibleReaderDjinni
run_djinni.sh
Shell
mit
881
#!/bin/sh echo "Delete old *.jar and *.class start" rm generator.jar rm generator/generator.jar rm generator/generator/Generator.class rm generator/generator/Server.class rm query.jar rm query/query.jar rm query/query/Cache.class rm query/query/Query.class echo ...
hustbill/devops
quantil/clean.sh
Shell
mit
355
#!/bin/bash source "$HOME/.mapillary_scripts" scriptDir="$MAPILLARY_ROOT" timeshiftfile=timeshift.txt deg="$1" shift skipDirection=false if [ "$1" = "--skip-direction" ]; then skipDirection=true shift fi skipDuplicates=false if [ "$1" = "--skip-duplicates" ]; then skipDuplicates=true shift fi timeshift=0 ...
simonmikkelsen/mapillary_scripts
old/prepare.sh
Shell
mit
3,275
#!/bin/bash ################################################### # This file sets up a fresh amazon linux box to run # the code in this library. ################################################### USER_NAME=ec2-user USER_HOME=/home/$USER_NAME # Start out by getting up-to-date. yum update -y # Install system-level d...
rileymcdowell/genomic-neuralnet
cloud-init-slave-gpu.sh
Shell
mit
2,876
#!/bin/bash # Install Redhat Cluster Suite yum groupinstall "High Availability" yum install ricci luci passwd ricci service luci start
thanandorn/dotfiles
bin/rhcs.sh
Shell
mit
139
#!/bin/bash # this script needs one command line argument: the species name # location of project. all paths are constructed relative # to this location PROJECT=/home/assembly/de-novo-assembly # read environment variables, same as abyss # optimal k-mer size was reconstructed using kmergenie, see # kmergenie.sh and...
naturalis/de-novo-assembly
src/velvet3.sh
Shell
mit
1,856
#!/bin/bash ### cleanup first ncftp -u"$FTPUSER" -p"$FTPPASS" $FTPSERVER <<EOF cd $REMOTEDIR rm -rf $TARGET quit EOF ### Find out if cleanup failed or not ### if [ "$?" == "0" ]; then echo "Cleanup successful!" else echo "Cleanup failed!" fi ### transfer ncftpput -R -m -u"$FTPUSER" -p"$FTPPASS" -W "rmdir $REMOTEDIR...
noldeni/gocd-test-repo
deploy.sh
Shell
mit
492
#!/bin/bash # LGSM fix.sh function # Author: Daniel Gibbs # Website: https://gameservermanagers.com # Description: Overall function for managing fixes. # Runs functions that will fix an issue. local commandname="FIX" local commandaction="Fix" # Messages that are displayed for some fixes fn_fix_msg_start(){ fn_print_...
GameServerManagers/LinuxGSM
lgsm/functions/fix.sh
Shell
mit
2,087
#!/bin/bash for i in armeabi armeabi-v7a x86 mips arm64-v8a mips64 x86_64; do cp ../dependencies/FreeImage3154/libs/$i/libfreeimage.so android/$i/ cp ../dependencies/libfreetype-android/obj/local/$i/libfreetype.a android/$i/ cp ../dependencies/SDL/libs/$i/libSDL2.so android/$i/ ...
segafan/wmelite_hcdaniel-dependencies-repo
prebuilt/copy_android_prebuilt_libs.sh
Shell
mit
565
#!/bin/bash # Modified from matplotlib _cm.py function usage () { echo "$0 -c NAME -o CPTFILE [-p PSFILE] [-l]" echo " -c NAME Define color palette to use" echo " -o CPTFILE Define output color palette name" echo " -p FILE Plot chosen color palette in PDF with ba...
mherman09/Hdef
scripts/gmtcpt.sh
Shell
mit
71,391
#scarico limiti catastali wget http://www.territorio.provincia.tn.it/geodati/798_Metadato_12_02_2018.zip -O limiti_comune_catastale.zip unzip -o limiti_comune_catastale.zip spatialite_tool -i -shp ammcat -d catasto.sqlite -t ammcat -c CP1252 -s 3044 wget http://www.territorio.provincia.tn.it/geodati/867_Limite_di_Comun...
napo/tawolare
setup_catasto.sh
Shell
mit
882
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DLA-570-1 # # Security announcement date: 2016-07-30 00:00:00 UTC # Script generation date: 2017-01-01 21:09:16 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: x86_64 # # Vulnerable packages fix on version: # - kde4libs:4:4.8.4-4+deb7u2 # # Last v...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/x86_64/2016/DLA-570-1.sh
Shell
mit
622
#!/bin/bash function _init() { DISTRO=$(lsb_release -is) RELEASE=$(lsb_release -rs) CODENAME=$(lsb_release -cs) echo "SwerpBox Server Bootstrap" echo echo echo "Checking distribution ..." if [ ! -x /usr/bin/lsb_release ]; then echo "Detected $DISTRO, as your OS. Unfortunately it is not supporte...
strues/swerpbox
setup-docker.sh
Shell
mit
1,952
#!/usr/bin/env bash # # Copyright (c) 2018-2019 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. export LC_ALL=C.UTF-8 if [[ $DOCKER_NAME_TAG == centos* ]]; then export LC_ALL=en_US.utf8 fi if [ "$TR...
namecoin/namecore
ci/test/04_install.sh
Shell
mit
4,652
#!/bin/bash -e check 'cf orgs' 'my-org' true #> Organization 'my-org' wasn't found check 'cf target' 'Org:.*my-org' true #> Organization 'my-org' wasn't targeted
vlasad/cft-course-example
004_cloud_foundry_org_and_space_management/07_targeting_organizations.verify.sh
Shell
mit
163
#!/bin/bash # vim: et sr sw=4 ts=4 smartindent: # # install_awscli.sh # # Installs: # # * python # * pip (yum package) # * awscli # # needs to use epel repo # Check for epel repo. Install if needed. Enable it. # Remember original state to disable epel echo "$0 INFO: ... installing aws cli" echo "$0 INFO: ... checkin...
jinal--shah/packer_base_centos
scripts/00030-install_awscli.sh
Shell
mit
1,002
#/bin/bash # curl https://raw.githubusercontent.com/sosimon/bash/master/install_jira.sh | bash JIRA_BIN=atlassian-jira-software-8.1.0-x64.bin sudo yum update -y # download JIRA binary curl -L -O https://www.atlassian.com/software/jira/downloads/binary/$JIRA_BIN chmod a+x $JIRA_BIN # write response.varfile for unat...
smartypants2712/bash
install_jira.sh
Shell
mit
842
pwd=`pwd` cd ../../../../../ if [ "$1" == "1" ] then shift ./jsk.sh $@ "${pwd}/ax/Tester.java ${pwd}/ax/RomlistGame.java ${pwd}/ax/RomlistParser.java ${pwd}/../libs --no-lib -o ${pwd}/../result_ax" elif [ "$1" == "2" ] then shift ./jsk.sh $@ "${pwd}/ax/Tester.java ${pwd}/ax/RomlistGame.java ${pwd}/ax/R...
plum-umd/java-sketch
test/axioms/examples/RomList/RomList/run.sh
Shell
mit
610
#!/bin/bash cd "$(dirname "${BASH_SOURCE[0]}")" \ && . "../../utils.sh" \ && . "./utils.sh" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - print_in_purple "\n Tmux\n\n" brew_install "tmux" "tmux" brew_install "tmux (pasteboard)" "reattach-to-user-namespace"
makabde/dotfiles
src/os/install/macos/tmux.sh
Shell
mit
297
ROOT_CA_CERT="APNS-test-root-ca.cer" CERT="APNS-test-ca-cert.pem" KEY="APNS-test-ca-key.pem" go run src/server.go --carootfile=$ROOT_CA_CERT --certfile=$CERT --keyfile=$KEY
kwillick/apnstest
server/run_server.sh
Shell
mit
174
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2015:0099 # # Security announcement date: 2015-01-28 16:11:05 UTC # Script generation date: 2017-01-01 21:15:54 UTC # # Operating System: Red Hat 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - glibc.i686:2.5-58.el5_6.6 # - glibc-d...
Cyberwatch/cbw-security-fixes
Red_Hat_5/x86_64/2015/RHSA-2015:0099.sh
Shell
mit
3,508
#/bin/bash # clone github repository and return latest commit on $BRANCH # TODO Add option to checkup to speciffic commit # TODO exit 0 on success, 1 on failure # TODO Add error checking # TODO Do checking first # git ls-remote git://github.com/<user>/<project>.git | grep HEAD REMOTEREPO="https://github.com/jb68/poc...
jb68/pocbcicd
set_env.sh
Shell
mit
805
#!/bin/bash set -e cd source mvn -P gsp generate-resources -Dmaven.repo.local=../m2/rootfs/usr/share/maven/ref/repository mvn clean verify sonar:sonar -Dmaven.repo.local=../m2/rootfs/usr/share/maven/ref/repository -Dsonar.host.url=${SONAR_URL}
kiyohome/concourse-on-docker
ci/tasks/mvn-sonar.sh
Shell
mit
245
#!/bin/bash DIRECTORY="/var/www/phpmyadmin" if [ ! -d "$DIRECTORY" ]; then echo "Downloading phpmyadmin stable" cd /var/www git clone --depth 1 -b STABLE --single-branch https://github.com/phpmyadmin/phpmyadmin.git # echo "Copy parameters.yml and create database" # cp -f /vagrant/config/symfony/p...
agounaris/vagrant-centos7-lamp-es-redis
scripts/phpmyadmin.sh
Shell
mit
738
#!/bin/bash cd ansible/provision/ ansible-playbook mesos_start_cluster.yml --tag "scope"
reza-rahim/microservice
mesos_weave_scope.sh
Shell
mit
90
# vim: filetype=zsh sw=2 ts=2 sts=2 et tw=80 foldlevel=0 nospell function prompt_powerline_shell_precmd() { PS1="$(powerline-shell.py --cwd-mode fancy --colorize-hostname --shell zsh --mode patched $? 2> /dev/null)" } autoload -Uz add-zsh-hook add-zsh-hook -Uz precmd prompt_powerline_shell_precmd
paulhybryant/powerline-shell
powerline-shell.zsh
Shell
mit
302
#!/bin/bash echo "Start model training and prediction..." python scripts/regression.py echo "Done..."
ikki407/stacking
examples/regression/run.sh
Shell
mit
107
#!/usr/bin/env sh . ./setup_env.sh cd ${BUILD_DIR} if [ ! -d rabbitmq-c ]; then git clone https://github.com/alanxz/rabbitmq-c fi cd rabbitmq-c mkdir build cd build mkdir ${CMAKE_BUILD_TYPE} cd ${CMAKE_BUILD_TYPE} cmake -DBUILD_EXAMPLES=OFF -DBUILD_TOOLS=OFF -DBUILD_TOOLS_DOCS=OFF -DBUILD_TESTS=OFF -DBUILD_API_DOCS=...
Totopolis/monik.cpp
unix_setup/build_rabbitmq-c.sh
Shell
mit
472
#!/bin/bash TRAIN_DIR=$1; PROJECTIONS_DIR=$2; OUTPUT_DIR="$3"$7; EVAL_SCRIPT=$4; TEST_DIR=$5; MIN_SIMILARITY=$6; EVAL_RESULTS_FILE="evaluation_results_tmp.dat"$7; DEBUG=""; if [ ! -d $OUTPUT_DIR ] then mkdir $OUTPUT_DIR; fi if [ -f $EVAL_RESULTS_FILE ] then echo $EVAL_RESULTS_FILE " already exists." ...
snovd/test-scripts
kpext/test_classification_with_projections_svm_2_fulltext.sh
Shell
mit
1,786
#!/bin/sh FLEETUIREPO=${FLEETUIREPO:-github.com/purpleworks/fleet-ui} FLEET_VERSION=${FLEET_VERSION:-v0.9.1} DOCKER_IMAGE_VERSION=${DOCKER_IMAGE_VERSION:-"latest"} # echo echo "FLEET-UI REPO - "$FLEETUIREPO echo "FLEET VERSION - "$FLEET_VERSION echo "BUILD DOCKER IMAGE VERSION - "$DOCKER_IMAGE_VERSION # Get and com...
dockerage/dockers
fleet-ui-buider/docker/compile-build.sh
Shell
mit
875
#!/usr/bin/env bash # # E2E CI: installs PR candidate on colonyNetwork and runs coverage # set -o errexit # Get path to PR branch PR_PATH=$(echo "$CIRCLE_REPOSITORY_URL#$CIRCLE_BRANCH" | sed 's/git@github.com:/https:\/\/github.com\//') echo "Installing $PR_PATH" # Setup sudo npm install -g yarn git clone https://git...
sc-forks/solidity-coverage
scripts/run-colony.sh
Shell
mit
666
SPP=Candida_albicans_uid14005 PREFIX=ftp://ftp.ncbi.nih.gov/genomes/Fungi/Candida_albicans_uid14005/ mkdir $SPP cd $SPP wget ${PREFIX}*.fna cat *.fna > ../$SPP.fasta
sauloal/cnidaria
analysis/data/converters/external/Fungi/Candida_albicans_uid14005.sh
Shell
mit
166
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-2871-1 # # Security announcement date: 2014-03-10 00:00:00 UTC # Script generation date: 2017-01-01 21:06:51 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: armv7l # # Vulnerable packages fix on version: # - wireshark:1.8.2-5wheezy10 # # Last ...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/armv7l/2014/DSA-2871-1.sh
Shell
mit
695
#!/bin/sh IOSSDK_ROOT='/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer' IOSSDK_SDK="$IOSSDK_ROOT/SDKs/iPhoneOS6.1.sdk" IOSSDK_CC="$IOSSDK_ROOT/usr/bin/arm-apple-darwin10-llvm-gcc-4.2" IOSSDK_AS="./gas-preprocessor/gas-preprocessor.pl $IOSSDK_CC" SCRIPT_DIR=$( (cd -P $(dirname $0) && p...
luuvish/libvio
script/3rd-party/ffmpeg-armv7.sh
Shell
mit
1,480
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3243-1 # # Security announcement date: 2015-05-01 00:00:00 UTC # Script generation date: 2017-01-01 21:07:21 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: x86_64 # # Vulnerable packages fix on version: # - libxml-libxml-perl:2.0001+dfsg-1+de...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/x86_64/2015/DSA-3243-1.sh
Shell
mit
665
#!/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() { local source="${BUILT_PRODUCTS_DIR}/Pods-Tests/$1" local destination="...
adamszeptycki/SwiftResult
Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-frameworks.sh
Shell
mit
2,187
#!/usr/bin/env bash clear; echo "$0" | sed 's/\.\///g' | awk '{print toupper($0)}' echo "Bash version ${BASH_VERSION}..." function phantomJs() { phantomjs rasterize.js http://localhost:5555/svg/fiddle-0022-Spirograph/index.html screenshot.png } phantomJs;
bradyhouse/house
fiddles/bash/fiddle-0030-PhantomJsScreenShot/script.sh
Shell
mit
262
#!/bin/bash #SBATCH --nodes 1 #SBATCH --ntasks-per-node 1 #SBATCH --cpus-per-task 1 #SBATCH --mem 8000 #SBATCH --job-name="fastdesign_ffl_bench" #SBATCH --time 35:00:00 #SBATCH --array=1-700 #SBATCH --output=/scratch/bonet/logs/ffl_fastdesign.%A_%a.out #SBATCH --error=/scratch/bonet/logs/ffl_fastdesign.%A_%a.err ROSET...
jaumebonet/FoldFromLoopsTutorial
benchmark/scientific/pd1_pdl1/comparative/fastdesign/submiter.sh
Shell
mit
929
#!/usr/bin/env sh # shellcheck shell=sh disable=SC3043 print_usage() { local program version author default_dest default_platform program="$1" version="$2" author="$3" bin="$4" default_dest="$5" default_platform="$6" need_cmd sed echo "$program $version Installs a binary release of $bin for su...
fnichol/names
docs/install.sh
Shell
mit
16,252
#!/bin/bash wget -O front.html http://nasional.kompas.com/ #grep -Poi 'latest__title.*?\K.*?(?=latest__group)' front.html > s1.txt #grep -Poi 'kompas.com\\/read.*\">\K.*?(?=<)' s1.txt > text.txt #sed -i 's/\\"//g' text.txt #sed -i 's/$/./g' text.txt grep -Poi "_parent.>\K.*(?=</a)" front.html > text.txt #Adjusted to...
kurakuradave/KompasMinutes
KompasMinutes.sh
Shell
mit
855
#!/bin/bash # 2015-06-05 (cc) <paul4hough@gmail.com> # [ -n "$DEBUG" ] && set -x targs="$0 $@" # cfg function _fail { echo Ouch - $? - $@ virsh shutdown $testname exit 1 } #DoOrDie function DoD { $@ || _fail $@ echo " pass :)" } function Test { tname=$1; shift; echo -n testing: $tname DoD $@ } Tes...
pahoughton/ansible-master
test/guest.unittest.bash
Shell
cc0-1.0
364
#!/bin/sh rm queue-setup.cfg lein uberjar &> "lein_uberjar.compile_out" for i in 1 4 16 64 256 1024 4096 16384 do PREFIX="simple-pmap_${i}_opennlp-single_2016-05-23_1" echo ${PREFIX} ./get_cpu_stats.sh "${PREFIX}.cpu_out" & dstat --nocolor --noheaders --output "${PREFIX}.dstat_out" &> /dev/null & ...
ruedigergad/dsbdp
benchmarks/scripts/run_parallel_opennlp_benchmarks.sh
Shell
epl-1.0
1,533
# Directory used to persist box names export BOX_NAMER_DB_DIR="./db"
mikejquinn/box-namer
environment.sh
Shell
epl-1.0
69
#!/bin/sh ###################################################################### # # @file qdstests.sh # # @brief Version and build information for qdstests. # # @version $Rev$ $Date$ # # Copyright &copy; 2012-2017, Tech-X Corporation, Boulder, CO. # See LICENSE file (EclipseLicense.txt) for conditions of use. # #...
Tech-XCorp/bilder
packages/qdstests.sh
Shell
epl-1.0
2,344
#!/bin/sh for file in `find . -name "*.eps"` do echo "Displaying figure $file" okular $file & done echo "Done"
glazzara/vaucanson1
cbs/demo/vcsn/display-figures.sh
Shell
gpl-2.0
120
#!/bin/bash # Usage: changed.sh DIRECTORY [ DIRECTORY ... ] # Example: changed.sh ~/src/resource-manager ~/src/safety-services ~/src/user-services # Abstract: Generate a manifest of files that have been changed relative to the base. # Assumes: All git repositories in each directory root are checked out on the ...
coverclock/com-diag-bin
changed.sh
Shell
gpl-2.0
677
#!/bin/bash # This script is for those who also want to build any of the following kuhumcst tools: # affixtrain, all2lower, makeUTF8, taggerXML, repetitiveness-checker, rtfreader # You can use this script in three ways # (1) If you do not already have the cstlemma repo: # Copy this script to the folder where yo...
kuhumcst/cstlemma
makecstlemma_sharing_libs.bash
Shell
gpl-2.0
1,870
#!/bin/sh # Copyright (c) 2007, Nanako Shiraishi dashless=$(basename "$0" | sed -e 's/-/ /') USAGE="list [<options>] or: $dashless show [<stash>] or: $dashless drop [-q|--quiet] [<stash>] or: $dashless ( pop | apply ) [--index] [-q|--quiet] [<stash>] or: $dashless branch <branchname> [<stash>] or: $dash...
byang/line
git-stash.sh
Shell
gpl-2.0
8,838
#!/bin/bash # # vi:set filetype=bash et ts=4: # # This file is part of SystemImager. # # SystemImager 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...
finley/SystemImager
lib/dracut/modules.d/51systemimager/systemimager-xmit-torrent.sh
Shell
gpl-2.0
9,353
#!/bin/sh set -ex mountpoint=${mountpoint-test-mountpoint} testdir="${testdir-.}" camera="Mass Storage Camera" # FIXME: # If libgphoto2 is not installed yet, # - IOLIBS must be pointed to where the "disk" iolib is. # - CAMLIBS must be pointed to where the "directory" camlib is. trap "umount ${mountpoint}; rm "$tes...
gphoto/gphotofs
test-gphotofs.sh
Shell
gpl-2.0
746
#! /bin/sh # Copyright (C) 2003-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/exeext4.sh
Shell
gpl-2.0
2,039
#!/bin/sh -ex cd build || exit 1 if [ "$DEPLOY_APPIMAGE" = "true" ]; then DESTDIR=appdir ninja install QT_APPIMAGE="linuxdeployqt.AppImage" curl -sL "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" > "$QT_APPIMAGE" chmod a+x "$QT_APPIM...
RPCS3/rpcs3
.ci/deploy-linux.sh
Shell
gpl-2.0
2,916
#!/bin/bash set -e export LC_ALL=en_US.UTF-8 TEST_ON_EL=$([ -f /etc/redhat-release ] && [ -x /usr/bin/yum ] && echo "true" || echo "false") PYTHON=python if [[ "${TEST_ON_EL}" == "true" ]]; then . /etc/os-release if [[ $VERSION_ID == 8 ]] ; then # TODO: where's docbook-utils on EL8? PACKAGES="python3 py...
Katello/katello-certs-tools
test.sh
Shell
gpl-2.0
920
#!/bin/sh # SPDX-License-Identifier: BSD-3-Clause MAPFILE=$1 OBJFILE=$2 LIST_SYMBOL=$(dirname $(readlink -f $0))/map-list-symbol.sh # added check for "make -C test/" usage if [ ! -e $MAPFILE ] || [ ! -f $OBJFILE ] then exit 0 fi if [ -d $MAPFILE ] then exit 0 fi DUMPFILE=$(mktemp -t dpdk.${0##*/}.XXX.objdump) t...
grivet/dpdk
buildtools/check-experimental-syms.sh
Shell
gpl-2.0
1,168
#!/bin/bash if [ -z "$RUN_TIME_SECONDS" ]; then echo "Need to set RUN_TIME_SECONDS" exit 1 fi if [ -z "$BENCHMARK_LOGGING" ]; then echo "Need to set BENCHMARK_LOGGING" exit 1 fi if [ -z "$NUM_ROWS" ]; then echo "Need to set NUM_ROWS" exit 1 fi if [ -z "$RAND_TYPE" ]; then echo "Need to set ...
Percona-QA/toku-qa
tokudb/software/sysbench/backup-test/run.benchmark.sh
Shell
gpl-2.0
3,806
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2008-2022 Mike Shal <marfey@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distribu...
gittup/tup
test/t1001-create-path.sh
Shell
gpl-2.0
833
#!/bin/bash # @Function # copy the svn remote url of current svn directory. # # @Usage # $ ./svn-url.sh # # @author ivanzhangwb PROG=`basename $0` usage() { cat <<EOF Usage: ${PROG} [DIR] Copy the svn remote url of local svn directory DIR is local svn directory, default is current directory. Example: ${PRO...
wenzhucjy/my_files
userful_shells/cp-svn-url.sh
Shell
gpl-2.0
1,102
#!/bin/bash find . -type f -printf '%T@ %p\n' | sort -n | tail -1 | cut -f2- -d" " # As per http://stackoverflow.com/questions/4561895/how-to-recursively-find-the-latest-modified-file-in-a-directory
cyclingzealot/bin
mostRecentFile.bash
Shell
gpl-2.0
201
#!/bin/sh # This test is a part of RPC & TI-RPC Test Suite created by Cyril LACABANNE # (c) 2007 BULL S.A.S. # Please refer to RPC & TI-RPC Test Suite documentation. # More details at http://nfsv4.bullopensource.org/doc/rpc_testsuite.php # TEST : RPC stdcall clnt_call scalability # creation : 2007-07-02 revision 2007...
anthony-kolesov/arc_ltp
testcases/network/rpc/rpc-tirpc-full-test-suite/scripts/rpc_stdcall_clnt_call.scalability.sh
Shell
gpl-2.0
3,757
#!/bin/sh # # Copyright(C) 2008 Stephen Habermann & Andreas Ericsson # test_description='git rebase -p should preserve merges Run "git rebase -p" and check that merges are properly carried along ' . ./test-lib.sh GIT_AUTHOR_EMAIL=bogus_email_address export GIT_AUTHOR_EMAIL # Clone 1 (trivial merge): # # A1--A2 <-- ...
asoltys/git
t/t3409-rebase-preserve-merges.sh
Shell
gpl-2.0
2,245
cd usr/sim/mpsoc_sim/ ./mpsoc_sim $1 s
pedrohk/T2_SE_HellFire
sim.sh
Shell
gpl-2.0
39
#!/bin/bash # function to check if Cassandra is available check() { # see if port 9042 is available using bash TCP redirection timeout 1 bash -c 'cat < /dev/null > /dev/tcp/cassandra/9042' val=$? echo "Cassandra connection status (0=healthy): $val" 1>&2; return $val } # wait until status is complete while !...
cedardevs/metadata-catalog
api/resources/docker/scripts/start_storage.sh
Shell
gpl-2.0
438