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/zsh xinput set-prop 'ELAN21EF:00 04F3:21EF' 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1; xinput set-prop 'SYNA2B29:00 06CB:77C6' 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 0 1; xinput enable "AT Translated Set 2 keyboard"; xinput enable 'SYNA2B29:00 06CB:77C6'; xrandr -o normal;
juanknebel/scripts-yoga-900-13ISK
rotate-normal.sh
Shell
gpl-3.0
303
# !/bin/bash # # Filename: vzswap_convert.sh # Author: Nipun Arora # Created: Fri Nov 28 11:31:43 2014 (-0500) # URL: http://www.nipunarora.net # # Description: # # This script converts a typical OpenVZ container to a VSwap Container # Usage # CTID= $1 RAM= $2 SWAP= $3 CFG=/etc/vz/conf/${CTID}.conf cp $CFG $CFG.p...
Programming-Systems-Lab/Parikshan
vzswap_convert.sh
Shell
gpl-3.0
687
#!/bin/bash # -*- ENCODING: UTF-8 -*- #Asistente de Instalación Inteligente de Software para distribuciones GNU/Linux basados en Ubuntu 12.04 #Scripts de instalación de software de terceros (fuera de los repositorios oficiales de Ubuntu) #Copyright (C) <2014> <Sebastian Nolberto Lagos Gutierrez, slagosgutierrez@gm...
sebalagos90/asistente_instalacion_inteligente
aiis-0_5_0/usr/share/aiis/scripts/_skype.sh
Shell
gpl-3.0
1,323
#! /bin/bash #==================================================================== # Script per la creazione del bakup di fine anno # nel server LTSP della scuola # # # v. 1.0 - (it) 10/06/2011 - ivan@riminilug.it # # # TODO: redirigere stdout/err del comando di copia su file di log, da cancellare se ok #==============...
itarozzi/classerman
src/scripts/endyear_backup.sh
Shell
gpl-3.0
2,668
#!/bin/bash PID=`cat boot.pid` kill $PID exit 0
jimdowling/gvod
bootstrap/bootstrap-server/deploy/kill.sh
Shell
gpl-3.0
49
#!/bin/bash curDir="$(pwd)" scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $scriptDir cpth="Tern.jar" cpth=$cpth":bluecove-2.1.1-SNAPSHOT-63.jar" cptp=$cpth":bluecove-gpl-2.1.1-SNAPSHOT-63-arm.jar" cpth=$cpth":bluecove-bluez-2.1.1-SNAPSHOT.jar" cpth=$cpth":ev3j-0.1.1.jar" echo "Starting Tern" echo "...
sovcik/TernBerryBot
runtern.sh
Shell
gpl-3.0
408
#!/usr/bin/env bash # # Author: Stefan Buck # License: MIT # https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447 # # # This script accepts the following parameters: # # * owner # * repo # * tag # * filename # * github_api_token # # Script to upload a release asset using the GitHub API v3. # # Example: #...
redcanari/canari3
lambda/upload-github-release-asset.sh
Shell
gpl-3.0
2,033
#!/usr/bin/env bash #@cd var/logs; if [ -f background.log ]; then cp background.log rotate/background.$(shell date +%s).log; truncate -s 0 background.log; fi #@cd var/logs; if [ -f dev.log ]; then cp dev.log rotate/dev.$(shell date +%s).log; truncate -s 0 dev.log; fi #@cd var/logs; if [ -f monitoring.log ]; then cp mo...
Myddleware/myddleware
docker/script/logs-rotate.sh
Shell
gpl-3.0
1,206
#4uto vpn_lists=$(curl http://www.vpngate.net/api/iphone/ 2> /dev/null | awk -F',' '{print $1 "_" $7, $15}') echo "${vpn_lists}" | while read line; do hostname=${line%% *} config=${line##* } echo $config | base64 -di > ${hostname}.ovpn 2> /dev/null done find . -type f ! \( -name "vpn*" -o -name "pass*" \) -delet...
Hackplayers/4nonimizer
vpn/vpngate/vpn-get-ovpn.sh
Shell
gpl-3.0
335
#!/bin/bash RETRIES=3 DELAY=10 COUNT=1 while [ $COUNT -lt $RETRIES ]; do $* if [ $? -eq 0 ]; then RETRIES=0 break fi let COUNT=$COUNT+1 echo "retrying..." sleep $DELAY done
bwinkel/cygrid
retry.sh
Shell
gpl-3.0
194
#!/bin/bash WORKDIR=/srv/emailer # check environment variables [ -z "${DB_PORT_5432_TCP_ADDR}" ] && echo "The Postgres container is not correctly linked! Add --link postgres:db to the docker run parameters!" && exit 1 [ -z "${DB_ENV_POSTGRES_PASSWORD}" ] && echo "Undefined postgres password! Add --link postgres:db to...
servomac/mitro
emailer/docker-entrypoint.sh
Shell
gpl-3.0
1,345
#!/bin/bash ####################################### # ### Raúl Caro Pastorino ### # ## ## ## ## ### # https://github.com/fryntiz/ # ### ## ## ## ## # ### www.fryntiz.es ### # ####################################### # Crea un script llamado i...
fryntiz/ciclosuperior
Scripts_Bash/Nivel medio/14_intervalo.sh
Shell
gpl-3.0
952
#!/bin/sh # you have to MANUALLY adapt these and match them with the # Compare* calls in MoSShE mkdir -p CompareFiles # CheckFileChanges passwd /etc/passwd cp /etc/passwd CompareFiles/ # CheckFileChanges shadow /etc/shadow cp /etc/shadow CompareFiles/ # CheckFileChanges resolv.conf /etc/resolv.conf cp /etc/reso...
wyae/MoSShE
generate_compares.sh
Shell
gpl-3.0
756
#!/bin/sh # Exercise cp --link's behavior regarding the dereferencing of symbolic links. # Copyright (C) 2013-2014 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...
houwentaoff/coreutils
tests/cp/link-deref.sh
Shell
gpl-3.0
4,320
#!/bin/bash set -e if [ -z "$@" ]; then exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf --nodaemon else PATH=/usr/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin exec $@ fi
pablodanielrey/scripts
docker/entrypoint.sh
Shell
gpl-3.0
195
#!/bin/bash ## note: run 'source activate uga' before installing R packages ## run this from the command line to get the current package versions, otherwise same versions can be installed manually ## versions installed during development # kinship2_1.8.4 # geepack_1.2-1 # lme4_1.1-21 # lmerTest_3.1-0 # pbkrtest_0.4-7...
rmkoesterer/uga
env/install_r_packages.sh
Shell
gpl-3.0
578
#!/bin/bash cd `dirname ${BASH_SOURCE[0]}` buffdir=`dirname $0` java -cp ${buffdir}/buffer/java/Mobita2ft.jar:${buffdir}/buffer/java/BufferClient.jar Mobita2ft.Mobita2ft $@
bopjesvla/BCI
dataAcq/startJavaMobita.sh
Shell
gpl-3.0
173
mv /var/log/mikescript.log /var/log/mikescript-cached-$RANDOM$RANDOM.log echo $(date): Any previous logfiles cached elsewhere >> /var/log/mikescript.log echo $(date): Script was initialized >> /var/log/mikescript.log if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" echo $(date): Script was not ru...
hexidecimals/cyberpatriot
linux.sh
Shell
gpl-3.0
20,260
#!/bin/sh # _exit_usage() { echo echo "usage: $0 filename.mp3" echo exit 100 } test -z "$1" && _exit_usage if ! [ -r "$1" ] ; then echo "ERROR: can't read file '$1'" _exit_usage fi # exit immediately on any error set -e MD5=$(mp3cat - - < "$1" | md5sum | cut -d ' ' -f 1) eyeD3 --set-user-te...
ehrenfeu/simplify
misc/audiomd5.sh
Shell
gpl-3.0
380
#!/bin/bash -x source /host/settings.sh DOMAIN=${DOMAIN:-$IMAGE.example.org} ### create a configuration file cat <<EOF > /etc/apache2/sites-available/bcl.conf <VirtualHost *:80> ServerName $DOMAIN RedirectPermanent / https://$DOMAIN/ </VirtualHost> <VirtualHost _default_:443> ServerName $DOMA...
B-Translator/btr_client
ds/scripts/install/apache2.sh
Shell
gpl-3.0
2,984
#!/bin/sh cd .. make ./a.out << EOF cd - ls cd src ls cd ls pwd exit EOF
nseth001/rshell
tests/cd_command.sh
Shell
gpl-3.0
74
#!/bin/sh if [ -z "$1" ] ; then echo pass a tag as argv, i.e. v1.1.1 exit 1 fi tag=$1 git tag $tag git push origin $tag
sabotage-linux/butch
maketag.sh
Shell
gpl-3.0
124
#!/bin/bash # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # #@ does nothing at all ? # # Keywords: yay keywords # # there seems to be no description whatsoever :F # still none # # no author exists # just keys . and not here......... # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
rh-lab-q/bkrdoc
examples/markup/headers/keys-and-keywords.sh
Shell
gpl-3.0
1,507
#1/bin/bash #rm -rf ~/.android/avd/ path=$1 cd "$1" rm -rf workingDir echo "Dynodroid run started at "$(date "+%Y.%m.%d-%H:%M:%S") > dynoDroidRun$(date "+%Y.%m.%d-%H:%M:44").log xterm -hold -e tail -f dynoDroidRun$(date "+%Y.%m.%d-%H:%M:44").log & ant run 1 >> dynoDroidRun$(date "+%Y.%m.%d-%H:%M:44").log 2 >> dynoDroi...
luminaxster/mudroid
old_scripts/run_dynodroid_on_path.sh
Shell
gpl-3.0
357
#! /bin/sh # Case I: # # # 1) Let's assume a set of 100 unique abs - X. # # 2) Let's say for CDR-L1 (using CDR-L1 as an example), the following definitions apply: # # a) c is CDR-L1 sequence. # b) k is the set of key residues in the CDR for the specific class of CDR-L1. # c) f is the set of key residues in th...
ACRMGroup/canonicals
ANALYSIS/KEY_RESIDUES_EXPERIMENT/case1_part1.sh
Shell
gpl-3.0
5,671
#!/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/10_1_workflow_full_10files_secondary_w1_3sh_3rs_with_annot_with_proj_3s_range/dags/ubuntu/pegasus/example_workflow/20161108T204604+0000/00/00/calculateratio_2_ID0000017.sh
Shell
gpl-3.0
1,252
#!/bin/sh if [ -d utils ]; then cd utils fi cd .. chmod a+rx bin examples python chmod a+r bin/* examples/* python/* chmod a+x examples/*.sh cd bin zip -u -9 ../chomp_bin chomp cd .. zip -u -9 -r chompfull_bin licen* bin/* examples/* python/* -x examples/*.bat
felixboes/hosd
chomp/utils/zipbin.sh
Shell
gpl-3.0
267
#!/bin/bash python RunBootstrap.py --paralog1 YMR143W --paralog2 YDL083C --bootnum 47 > YMR143W_YDL083C_Boot47_PrintScreen.txt
xjw1001001/IGCexpansion
Bootstrap/ShFiles/MG94_YMR143W_YDL083C_Boot47.sh
Shell
gpl-3.0
128
#!/bin/bash # exit script if return code != 0 set -e # set arch for base image OS_ARCH="x86-64" # construct snapshot date (cannot use todays as archive wont exist) and set url for archive. # note: for arch linux arm archive repo that the snapshot date has to be at least 2 days # previous as the mirror from live to t...
binhex/arch-base
build/root/install.sh
Shell
gpl-3.0
7,343
################################################# # ====== ===== ====== ===== # || \\ | // | # || \\ | // | # || // | || ===== | -------- # || // | \\ // | # ====== ===== ====== ===== ################################################## # [S...
WebsterXC/digidash
install_digidash.sh
Shell
gpl-3.0
1,735
#!/usr/bin/env fish if [ ! -f configure ] ./autogen.sh end set -xg CC cc set -xg CXX c++ set -xg CPPFLAGS '-I../include -I../../include -I../src -I../../src' set -xg EXPAT_CFLAGS -I/usr/local/include set -xg EXPAT_LDFLAGS -L/usr/local/lib set -xg ZITA_CPPFLAGS -I/usr/local/include set -xg ZITA_LDFLAGS -L/usr/local/...
mekanix/bin
configure-drumgizmo.sh
Shell
gpl-3.0
381
#!/bin/sh case "$1" in "nodemon") yarn dev ;; "start") NODE_ENV=production node ./bin/www ;; *) exec "$@" ;; esac
johnyb/yapdnsui
startup.sh
Shell
gpl-3.0
175
#!/bin/sh # # Edit the n-th byte of a file with a given file, without using xxd xxdrp () { if which xxd > /dev/null then echo -n "$1" | xxd -r -p else echo -ne `echo -n "$1" | sed 's/\([0-9a-fA-F]\{2\}\)/\\\x\1/g'` fi } xxdp () { if which xxd > /dev/null then xxd -p "$1" else hexdump -ve ...
Fbonazzi/Scripts
parsing/edit_nth_byte.sh
Shell
gpl-3.0
2,358
cp resetdb.sh /tmp su root -c "cd /tmp ; su postgres -c '/tmp/resetdb.sh'"
KevinSeghetti/survey
survey/resetdb-fedora.sh
Shell
gpl-3.0
76
#!/bin/bash # si-adb-list.txt tmpList1=$(mktemp --suffix=.txt) python2 tools/addChecksum.py < si-adb-list.txt > $tmpList1 python2 tools/validateChecksum.py < $tmpList1 mv -f $tmpList1 si-adb-list.txt # si-ad.txt tmpList2=$(mktemp --suffix=.txt) python2 tools/addChecksum.py < si-ad.txt > $tmpList2 python2 tools/valida...
vinctux/si-adblock
sign.sh
Shell
gpl-3.0
737
#!/bin/bash -ex @import(userdata/common.sh)@ # Add GitHub as a known host ssh-keyscan github.com >> /root/.ssh/known_hosts # Setup deploy keys for Peach @import(userdata/keys/github.peach.sh)@ cd /home/ubuntu # Target desscription for Firefox @import(userdata/targets/mozilla-inbound-linux64-asan.sh)@ # Checkou...
choller/laniakea
userdata/peach.pit.sh
Shell
mpl-2.0
1,691
run_schema() { CUR_SHA=$(git show HEAD:apiserver/facades/schema.json | shasum -a 1 | awk '{ print $1 }') TMP=$(mktemp /tmp/schema-XXXXX) OUT=$(make --no-print-directory SCHEMA_PATH="${TMP}" rebuild-schema 2>&1) OUT_CODE=$? if [ $OUT_CODE -ne 0 ]; then echo "" echo "$(red 'Found some ...
wallyworld/juju
tests/suites/static_analysis/schema.sh
Shell
agpl-3.0
946
#!/bin/sh set -e set -x mocha test/actions.js mocha test/application-helpers.js mocha test/config-helpers.js mocha test/config-watcher.js mocha test/cozy-light.js mocha test/main-app-helper.js mocha test/node-helpers.js mocha test/npm-helpers.js mocha test/plugin-helpers.js mocha test/functional.js NODE_ENV=need-all-l...
cozy-labs/cozy-light
scripts/run-tests.sh
Shell
agpl-3.0
342
#!/bin/sh # ============================================================================== # POV-Ray v3.8 # portfolio.sh - render the POV-Ray portfolio # ============================================================================== # written November 2003 by Christoph Hormann # updated 2017-09-10 for POV-Ray v3.8 by C...
LeForgeron/povray
unix/scripts/portfolio.sh
Shell
agpl-3.0
4,717
#!/bin/sh DIR=$( cd "$(dirname "$0")" ; pwd -P ) . $DIR/env.sh HOST=$1 TIMEOUT=60 FPRINT=`torify $SCRIPTDIR/ssh_fingerprint.py $HOST 2>/dev/null | grep ssh-rsa | cut -f 2 -d ' '` if [ -n "$FPRINT" ]; then echo "Got $FPRINT for $HOST" $SCRIPTDIR/add_ssh_fingerprint.py "$HOST" "$FPRINT" else echo "No fingerprint for $...
dirtyfilthy/freshonions-torscraper
scripts/check_fingerprint.sh
Shell
agpl-3.0
328
#!/bin/bash serverAddress=albertine sed -i -E "s/(http:\/\/)[^:]+(:)/\1$serverAddress\2/" Quiz/React/quiz/public/index.html sed -i -E "s/(io.connect\(')[^:]+(:)/\1$serverAddress\2/" Quiz/React/quiz/src/index.js #sed -i -E "s/(http:\/\/)[^:]+(:)/\1$serverAddress\2/" Experiments/NodeJS/CookieSession3/views/app2.ejs #sed ...
ChrL73/Diaphnea
serverAddress.sh
Shell
agpl-3.0
773
#!/bin/sh # schema/validate.sh # Portions Copyright (C) 2013 Regents of the University of California. # # Based on the CCNx C Library by PARC. # Copyright (C) 2011 Palo Alto Research Center, Inc. # # This work is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public Lic...
gujianxiao/gatewayForMulticom
apps/examples/ndnb-Java/schema/validate.sh
Shell
lgpl-2.1
2,093
#!/bin/bash chromium -app="http://pocket.dict.cc"
artemisclyde/dotfiles
scripts/dict.sh
Shell
lgpl-3.0
50
$ docker-compose -f docker-compose-nginx.yml up
picodotdev/blog-ejemplos
ELK/docker-compose-nginx.sh
Shell
unlicense
47
php ./vendor/bin/protobuf --include-descriptors -i . -o ./src/ ./protobuf.proto
hainuo/SwooleDistributed
protobuf.sh
Shell
apache-2.0
79
#!/bin/bash sleep 5 PASS="$MYSQL_ROOT_PASSWORD" mysql -u root -p"$PASS" -e "CREATE DATABASE IF NOT EXISTS shopsaloon" mysql -u root -p"$PASS" shopsaloon < /sql/tom.sql
tomrijntjes/robopreneur
init/init_db.sh
Shell
apache-2.0
168
#!/bin/bash rm -rf ../../workspace/Game/src/* cp -rf Game/src/* ../../workspace/Game/src cp -rf Game/lib/* ../../workspace/Game/lib
Piasy/QQTang
src/server/game_install.sh
Shell
apache-2.0
132
#!/bin/bash COMMAND=${1:-start} if [[ ! -e /data/config.js ]]; then echo "Initializing config.js..." cp /ghost/config.docker.js /data/config.js fi if [[ ! -e /data/content ]]; then echo "Initializing content..." rsync -avz /ghost/content/ /data/content fi ln -sf /data/config.js /ghost/config.js chown -R ghos...
kylelemons/dockerfiles
ghost/run.sh
Shell
apache-2.0
535
#!/bin/bash # install new gems and make new migrations cd /vagrant; bundle install; cd /vagrant; bundle exec rake db:migrate # Commands required to ensure correct docker containers are started when the vm is rebooted. sudo docker start postgres mailcatcher --ip 0.0.0.0
ylosix/ylosix
vagrant/start.sh
Shell
apache-2.0
273
#---------------------------------------------------------------------------------------- # # Package : openshift-knative/serverless-operator # Version : v1.7.1 # Source repo : https://github.com/openshift-knative/serverless-operator # Tested on : RHEL 7.6 # Script License : Apache License Version 2.0 # Maintain...
ppc64le/build-scripts
o/openshift-knative/serverless-operator-v1.7.1_rhel_7.6.sh
Shell
apache-2.0
2,649
#!/bin/bash # Issues with deleting the NS (Terminating error) # https://github.com/kubernetes/kubernetes/issues/19317 # ############################################################################### # Copyright (c) 2018 Red Hat Inc # # See the NOTICE file(s) distributed with this work for additional # information r...
CollegeBoreal/Tutoriel
2.MicroServices/3.Orchestration/1.Kubernetes/C.Cluster/0.Local/6.K8s/kill-kube-ns.sh
Shell
apache-2.0
1,337
#!/bin/bash ROOT=$(readlink -f $0) BUILD_ROOT=`dirname $ROOT` KUBE_ROOT="${BUILD_ROOT}/kubernetes" source "${BUILD_ROOT}/default-config.sh" function create { kubectl create -f $@ } function corrupt-database { echo "Corrupting database" } function damage_data { (cd "${HOME}/halcyon-vagrant-kubernetes" ...
rthallisey/nave
test-pipline.sh
Shell
apache-2.0
5,273
#!/usr/bin/env 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 agre...
andybab/Impala
bin/run-all-tests.sh
Shell
apache-2.0
4,354
# ----------------------------------------------------------------------------- # # Package : ghodss/yaml # Version : 73d445a93680fa1a78ae23a5839bad48f32ba1ee # Source repo : https://github.com/ghodss/yaml # Tested on : RHEL 8.3 # Script License: Apache License, Version 2 or later # Maintainer : BulkPackageSearch Autom...
ppc64le/build-scripts
g/ghodss__yaml/ghodss__yaml_rhel_8.3.sh
Shell
apache-2.0
5,091
#!/bin/bash -eu # # Copyright 2017 Open GEE Authors # # 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 o...
tst-ppenev/earthenterprise
earth_enterprise/src/fusion/tools/gee_test/status.sh
Shell
apache-2.0
1,038
#!/bin/bash #******************************************************************************** # Copyright 2016 IBM # # 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.a...
jparra5/dra_upload_results
_init.sh
Shell
apache-2.0
1,095
#!/bin/sh -xe AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile \ config.guess config.h.in config.sub configure depcomp install-sh \ ltmain.sh missing *libtool test-driver" case $1 in clean) test -f Makefile && make maintainer-clean for file in ${AUTOCONF_FILES};...
openbmc/phosphor-settingsd
bootstrap.sh
Shell
apache-2.0
525
enable_interslicetransfer() { moni call -v .gorfx.SetupOfferType "\ offerType:'http://gndms.zib.de/ORQTypes/InterSliceTransfer'; \ orqType:'{http://gndms.zib.de/c3grid/types}InterSliceTransferORQT'; \ resType:'{http://gndms.zib.de/c3grid/types}InterSliceTransferResultT'; \ calcFactory:'de.zib.gndms.GORFX.action.Int...
zibhub/GNDMS
scripts/features/enable-interslicetransfer.sh
Shell
apache-2.0
449
#!/bin/sh # # Copyright 2019 PingCAP, 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 t...
c4pt0r/tidb
br/tests/br_other/run.sh
Shell
apache-2.0
7,027
#!/bin/bash # Fail on any error set -eo pipefail # Display commands being run set -x # Only run the linter on go1.11, because: # - It needs type aliases (so we can't use anything less than 1.9). # - It only has to run once per CI (so we just have to pick 1 version). # - It runs out of memory in go 1.12 https://githu...
kubernetes-sigs/multi-tenancy
tenant/vendor/cloud.google.com/go/internal/kokoro/vet.sh
Shell
apache-2.0
4,871
#!/bin/sh DEPS_DIR="${TRAVIS_BUILD_DIR}/go1.13" mkdir ${DEPS_DIR} && pushd ${DEPS_DIR} GO="go1.13.9.linux-amd64" GO_TAR="${GO}.tar.gz" travis_retry wget --no-check-certificate https://dl.google.com/go/${GO_TAR} echo "72a391f8b82836adfd4be8d9d554ffb1 ${GO_TAR}" > go_md5.txt md5sum -c go_md5.txt tar -xf ${GO_TAR} export...
google/libsxg
.travis/install_go.sh
Shell
apache-2.0
378
set -e # Backs up one directory at a time, looking for one called "flutter". function getFlutterPath() { local path=".." local counter=0 while [[ "${counter}" -lt 10 ]]; do [ -d "${path}/flutter" ] && echo "${path}/flutter" && return 0 let counter++ path="${path}/.." done } de...
material-components/material-components-flutter-experimental
travis_script.sh
Shell
apache-2.0
1,084
#!/bin/bash # Copyright 2016 - 2020 Crunchy Data Solutions, 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...
the1forte/crunchy-containers
examples/kube/pgbadger/cleanup.sh
Shell
apache-2.0
762
#!/bin/bash # This script requires LHCI_CANARY_SERVER_URL and LHCI_CANARY_SERVER_TOKEN variables to be set. set -ox pipefail # Start up our LHCI server. yarn start:server --port=9009 & # Wait for the server to start before hitting it with data. sleep 5 # Seed the database with some data for us to audit. yarn start:...
GoogleChrome/lighthouse-ci
scripts/ci-dogfood.sh
Shell
apache-2.0
1,112
# ---------------------------------------------------------------------------- # # Package : script.js # Version : v2.5.8 # Source repo : https://github.com/ded/script.js # Tested on : ubuntu_16.04 # Script License: Apache License, Version 2 or later # Maintainer : Priya Seth <sethp@us.ibm.com> # #...
ppc64le/build-scripts
s/script_js/script-js_ubuntu_16.04.sh
Shell
apache-2.0
1,755
#!/bin/bash # Copyright (c) 2014, IPython: interactive computing in Python # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright not...
d-grossman/pelops
docker/pelops_start.sh
Shell
apache-2.0
1,605
#!/usr/bin/env bash if [ $# -lt 1 ]; then echo "Usage: $0 emu dir" exit 1 fi CHROOT_DIR=$1 MIRROR=http://archive.raspbian.org/raspbian VERSION=jessie CHROOT_ARCH=armhf # Debian package dependencies for the host HOST_DEPENDENCIES="debootstrap qemu-user-static binfmt-support sbuild" # Debian package d...
geoffviola/data_layout_study
travis_setup_arm.bash
Shell
apache-2.0
1,591
#!/bin/bash set -ev export PROJECT_DIR=`pwd` ${PROJECT_DIR}/../travis/start_scheduler.sh cd ${PROJECT_DIR} lein run -c config/settings.edn setup-database -c travis/simulator_config.edn set +e lein run -c config/settings.edn travis -c travis/simulator_config.edn SIM_EXIT_CODE=$? if [ ${SIM_EXIT_CODE} -ne 0 ]; then ...
m4ce/Cook
simulator/travis/run_simulation.sh
Shell
apache-2.0
428
#!/usr/bin/env bash . ./vocabulary.sh invoke_on_clients_parallel ./current-ops-per-sec.sh | awk '{ sum+=$1 } END { print sum }'
tgrabiec/scylla-benchmark-tools
current-ops-per-sec.sh
Shell
apache-2.0
130
#!/bin/bash # This script verifies MD5 sum for all installed packages # # Return: # 0 - ok # x - error # Output: # List of customized and unidentified packages # Returns list of cutomized packages based on md5sum util and # file with MD5 sums file /var/lib/dpkg/info/${PKG}.md5sums # # Return: # 0 - o...
aepifanov/mos_mu
playbooks/files/verify_md5_packages_ubuntu.sh
Shell
apache-2.0
2,095
#!/usr/bin/env bash # Note: This script uses "mdadm --detail" to get some of the metrics, so it must be run as root. # It is designed to be run periodically in a cronjob, and output to /var/lib/node_exporter/textfile_collector/md_info_detail.prom # $ cat /etc/cron.d/prometheus_md_info_detail # * * * *...
derekmarcotte/node_exporter
text_collector_examples/md_info_detail.sh
Shell
apache-2.0
4,294
#!/bin/bash installPath=$1 srcPath=$2 echo $installPath echo $srcPath if [ ! -d "$installPath" ]; then echo "No install path supplied. It should be a directory that can be written to and whose current content is of no value (will be overwritten) " echo "$0 <install path> <src tree trunk directory>" ...
traytonwhite/Kamanja
trunk/SampleApplication/Medical/bin/installOnLEP_Medical.sh
Shell
apache-2.0
14,977
#!/bin/bash targetdir=$1 echo "Running magento static-content:deploy, indexer:reindex and setting deploy:mode to $M2MODE" $targetdir/bin/magento setup:static-content:deploy $targetdir/bin/magento indexer:reindex $targetdir/bin/magento deploy:mode:set $M2MODE
dirceu-cit/lemp
php/magento-deploy.sh
Shell
apache-2.0
261
#!/bin/bash -eux # Run Integration Tests via Inspec Infra testing framework # https://www.inspec.io echo -e '\033[33mRunning Inspec Integration Tests ...\033[0m' cd /st2-docker/test/integration for dir in */; do dir=$(basename $dir) if [ -f "${dir}/inspec.yml" ]; then echo -e "\nRunning tests for \033[1;36m${...
shusugmt/st2-docker
images/stackstorm/bin/test.sh
Shell
apache-2.0
391
# Copyright(c) 2015 Nippon Telegraph and Telephone Corporation # # 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 applic...
ntt-sic/masakari
masakari-processmonitor/processmonitor/common.sh
Shell
apache-2.0
7,313
../../../spark-1.6.0/bin/spark-submit \ --master local[*] \ --executor-memory 2g --executor-cores 1 --num-executors 4 \ --jars ../packages/spark-examples_2.10-2.0.0-SNAPSHOT.jar,../packages/random-0.0.1-SNAPSHOT-shaded.jar \ --py-files ../packages/python-lib.zip \ fix_corrupted_links.py \ $@
svebk/DeepSentiBank_memex
workflows/fix_corrupted_links/run_local.sh
Shell
bsd-2-clause
297
#! /usr/bin/env bash set -eu # Always fails with an error (for testing) # stdin: message echo 'Failure' echo 'Failed' >&2 exit 1
kolypto/py-overc
tests/data/overc-server/alert.d/error.sh
Shell
bsd-2-clause
132
#!/bin/bash # filename: extended-gui_system_calls.sh # # Copyright (c) 2013 - 2018 Andreas Schmidhuber # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of sou...
crestAT/nas4free-extended-gui
extended-gui/scripts/extended-gui_system_calls.sh
Shell
bsd-2-clause
4,019
#!/bin/bash # Author: Wonder # Description: # Usage: 部署到sae #专门为部署到sae建的仓库 REPO_FOR_SAE=../ezlog.sae DEPLOY_TO_SAE_VERSION=1 if [ ! -d "$REPO_FOR_SAE" ]; then mkdir -p "$REPO_FOR_SAE" git svn clone https://svn.sinaapp.com/ezlog/ "$REPO_FOR_SAE" fi; pwd=$PWD rsync -rlcv --exclude-from="./deploy-exclude.txt" ...
wonderbeyond/ezlog
deploy-to-sae.sh
Shell
bsd-2-clause
509
#!/bin/bash # Copyright 2014 The Go 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 -e # Download kernel, sets, etc. from ftp.usa.openbsd.org if ! [ -e install56.iso ]; then curl -O ftp://ftp.usa.openbsd.org/pub/OpenBSD/5.6/i386...
evandbrown/build
env/openbsd-386/make.bash
Shell
bsd-3-clause
4,934
#!/bin/bash # Copyright Contributors to the Open Shading Language project. # SPDX-License-Identifier: BSD-3-Clause # https://github.com/AcademySoftwareFoundation/OpenShadingLanguage # Install OpenImageIO # Exit the whole script if any command fails. set -ex OPENIMAGEIO_REPO=${OPENIMAGEIO_REPO:=OpenImageIO/oiio} OPE...
imageworks/OpenShadingLanguage
src/build-scripts/build_openimageio.bash
Shell
bsd-3-clause
2,393
#!/bin/sh -e # # install CUBRID DBMS if (php --version | grep -i HipHop > /dev/null); then echo "Skipping CUBRID on HHVM" exit 0 fi CWD=$(pwd) # cubrid dbms mkdir -p cubrid/$CUBRID_VERSION cd cubrid if (test -f $CUBRID_VERSION-linux.x86_64.tar.gz); then echo "CUBRID is already installed" else wget ht...
peterkokot/yii2
tests/unit/data/travis/cubrid-setup.sh
Shell
bsd-3-clause
1,961
#!/bin/bash VERSION="0.0.0" # trap keyboard interrupt (control-c) trap control_c SIGINT function setPath { cat <<SETPATH -------------------------------------------------------------------------------------- Error locating ANTS ------------------------------------------------------------------------------------...
dawnsong/ANTs
Scripts/antsJointLabelFusion.sh
Shell
bsd-3-clause
41,677
# # Below we run a few versions of the model # - openmp, without local timestepping # - coarray, without local timestepping # - openmp, with local timestepping # export SWALS_SRC='../../../src' source ${SWALS_SRC}/test_run_commands echo 'Will run openmp version with: ' $OMP_RUN_COMMAND echo 'Will run coarray version ...
GeoscienceAustralia/ptha
propagation/SWALS/examples/nthmp/BP09/run_model.sh
Shell
bsd-3-clause
2,242
#!/bin/bash export CC=$PREFIX/bin/clang export CXX=$PREFIX/bin/clang++ export CONDA_BUILD_SYSROOT=$PREFIX/$HOST/sysroot sed -i '1c#!/usr/bin/env perl' bin/hipconfig sed -i 's/if(${RUN_HIT} EQUAL 0)/if(FALSE)/g' CMakeLists.txt mkdir build cd build cmake \ -DCMAKE_INSTALL_PREFIX=$PREFIX \ -DCMAKE_BUILD_TYPE=Relea...
isuruf/staged-recipes
recipes/hip/build.sh
Shell
bsd-3-clause
899
#!/bin/bash # 'objcopy -O verilog' produces the x8 output. # As we need x32 we are getting it from disasm results echo @00000000 > program.hex mips-mti-elf-objdump -D program.elf | sed -rn 's/\s+[a-f0-9]+:\s+([a-f0-9]*)\s+.*/\1/p' >> program.hex
Iuliiapl/schoolMIPS
scripts/program/common/03_generate_verilog_readmemh_file.sh
Shell
mit
248
# Function for creating an admin user in Magento. # # @author Oktay Acikalin <oktay.acikalin@gmail.com> # @copyright Oktay Acikalin # @license MIT (LICENSE.txt) function magento.create_admin_user () { local username=$1 local password=$2 local email=$3 local firstname=$4 local lastname=$5 m...
oktayacikalin/project-service
lib/magento.create_admin_user.sh
Shell
mit
879
#!/bin/sh echo "Placing root files into dummy_app for testing" mkdir -p tests/dummy_app/packages/meteor-mocha rsync -av ./package/ tests/dummy_app/packages/meteor-mocha cd tests/dummy_app/ meteor npm install # We expect all unit tests to pass npm run test:unit:nightmare 2> /dev/null echo "npm run test:unit:nightmare e...
meteortesting/meteor-mocha
test.sh
Shell
mit
673
#!/usr/bin/ksh # # edit parameters for a load. # ############################################################################### # CMD=$(basename ${0}) # oper=none loadstatus=oper loadstatusset=no newlabloads=/tmp/newlabloads$$ newlabloads2=/tmp/newlabloads2$$ alllabids=/tmp/alllabids$$ # trap 'rm -f /tmp/*$$ 1>/dev/nu...
ombt/ombt
lts08.lcstools/tools/src/saveload/configure.sh
Shell
mit
7,242
#!/bin/bash Install_Nginx_1_4_7() { Echo_Blue "[+] Installing ${Nginx_Ver} ... " } Install_Nginx_1_6_3() { Echo_Blue "[+] Installing ${Nginx_Ver} ... " } Install_Nginx_1_8_0() { Echo_Blue "[+] Installing ${Nginx_Ver} ... " groupadd www useradd -s /sbin/nologin -g www www Tar_Cd ${Nginx_Ver}....
shines77/lnamp_shell
include/nginx.sh
Shell
mit
3,333
TIMEFORMAT=%R TIMEOUT=20 echo "#Benchmarking scabolic" echo "Timeout is set to ${TIMEOUT}s and results are in seconds" for benchmarks in $@; do echo "##Benchmarking $benchmarks" ./scabolic satlib --timeout=${TIMEOUT} --time $benchmarks done
regb/scabolic
scripts/run-benchmark.sh
Shell
mit
245
#!/bin/sh ffmpeg -y -nostdin \ -f decklink \ -i 'DeckLink Mini Recorder (1)@10' \ -c:v rawvideo -c:a pcm_s16le \ -pix_fmt yuv420p \ -f matroska \ tcp://localhost:10000
voc/voctomix
example-scripts/ffmpeg/source-decklink-cam1.sh
Shell
mit
174
#!/bin/bash find ../corpora/ -name *$1*.elf -exec sh -c 'python ../dev/feature_extraction/cpc/cpc_extract.py -c {} > {}.cpc.chain' \;
syreal17/Cardinal
tests/create_chains.sh
Shell
mit
135
#!/bin/bash filename="*txt" for file in $filename do echo "Contents of $file" echo "---" cat "$file" echo done
yimng/LEARN
abs/11/catfile.sh
Shell
mit
117
source $setup examples=$qtbase/src/examples mkdir build cd build mkdir bin moc obj cat > obj/plugins.cpp <<EOF #include <QtPlugin> #ifdef _WIN32 Q_IMPORT_PLUGIN (QWindowsIntegrationPlugin); #endif #ifdef __linux__ Q_IMPORT_PLUGIN (QLinuxFbIntegrationPlugin); Q_IMPORT_PLUGIN (QXcbIntegrationPlugin); #endif EOF CFLAG...
jfranklin9000/urbit
nix/nixcrpkgs/pkgs/qt/examples_builder.sh
Shell
mit
2,339
#!/bin/bash # # For EL, see the slurm directory. Since there are no upstream slurm packages, we # build slurm, munge, and slurm-drmaa all in one. # # On Ubuntu we only build the source package, for uploading to a PPA. set -e #set -xv pkg=slurm-drmaa # increment $pkg_build when all dists/versions need a rebuild of the...
natefoo/starforge
slurm-drmaa/build.sh
Shell
mit
5,047
#!/bin/bash # This script encapsulates calling setfattr with root privileges # (Check that this script is added to the sudoers list) COMMAND="setfattr" # May be incompatible if run on Ubuntu based systems; it looks like Ubuntu # requires you to prefix any attributes with 'users.'. This is unfortunately # not acceptab...
01org/AFT
testing_harness/tools/setfattr_script.sh
Shell
gpl-2.0
627
#!/bin/sh # $Id: translatecount.sh,v 2.0 2003/11/18 15:20:42 nijel Exp $ ## # Shell script to produce counts of just how out of date the translations are! ## # Accepts optional parameters of a list of files to produce counts from # Defaults to using all files ## # Written by Robin Johnson <robbat2 at users.sourceforge....
nizaranand/New-Life-Office
phpMyAdmin/lang/translatecount.sh
Shell
gpl-2.0
904
git subsplit init git@github.com:joomla/joomla-framework.git git subsplit publish " src/Joomla/Application:git@github.com:joomla/joomla-framework-application.git src/Joomla/Archive:git@github.com:joomla/joomla-framework-archive.git src/Joomla/Cache:git@github.com:joomla/joomla-framework-cache.git src/Joomla/Compat:...
joomla/joomla-framework
build/joomla-split.sh
Shell
gpl-2.0
2,684
#!/bin/sh # # Copyright (c) 2012-2015 OpenLD # Javier Sayago <admin@lonasdigital.com> # Contact: javilonas@esp-desarrolladores.com # # 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 # ...
OpenLD/enigma2-wetek
lib/python/Plugins/Extensions/LDteam/scripts/Uptime.sh
Shell
gpl-2.0
760