code
stringlengths
2
1.05M
repo_name
stringlengths
5
110
path
stringlengths
3
922
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
2
1.05M
#!/bin/sh # Set the desired state (on|off) for ILTO 400M. # See usage bellow STATUS_FILE="/tmp/ILTO400M.status" if [ -f $STATUS_FILE ]; then mode=$(cat $STATUS_FILE | sed -n 's/.\?mode\ \?=\ \?\(manual\|auto\)/\1/p') state=$(cat $STATUS_FILE | sed -n 's/.\?state\ \?=\ \?\(on\|off\)/\1/p') else echo ...
vkonst/tele-dacha
toledo/usr/bin/set_status_ILTO400M.sh
Shell
gpl-3.0
1,584
docker build -t henfri/owfs ./
henfri/docker
knx/owfs/build.sh
Shell
gpl-3.0
31
#!/bin/sh # # get filesize, last modified and number of points for each LAS/LAZ file # CSV=/home/institut/rawdata/maintenance/scripts/als/logs/list_las_files.csv echo "path;bytes;lastmod;point_type;points" > $CSV for LASPATH in `find /home/rawdata/ -wholename "*/las/*.la[sz]" | grep -v "/raw/"` do # set LAS/LAZ n...
openwebcc/ba
maintenance/list_las_files.sh
Shell
gpl-3.0
1,444
!Acessando o modo exec user enable !Acessar modo de configuração global configure terminal !Habilitando o recurso de roteamento IPv6 Unicast Global ipv6 unicast-routing !Criando a interface virtual 10 interface GigabitEthernet 0/0.10 !Configurando o endereçamento IPv6 Unicast Gl...
vaamonde/netacad
modulo-02/capitulo-04/09-Router-interfaces-ipv6.sh
Shell
gpl-3.0
1,299
#!/bin/sh startdir="$1" [ -n "$startdir" ] && [ -d "$startdir" ] || exit 1 cd "$(dirname "$0")" HDIR="$startdir/liveenv" PKGSDIR="$startdir/PKGS" RDIR="$HDIR"/root doinst="$HDIR"/doinst modtxt="$HDIR"/MODIFICATIONS cat <<EOF >> "$modtxt" user-settings-slint ------------------ - user 'one' with common user-settings for...
djemos/slint-scripts
liveenv/modules/30-user-settings-slint/add.sh
Shell
gpl-3.0
701
#!/bin/bash #qNoise: A generator of non-Gaussian colored noise #Copyright © 2021, Juan Ignacio Deza #email: ignacio.deza@uwe.ac.uk # Licence # 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 Foundat...
ignaciodeza/qNoise
test/runTest.sh
Shell
gpl-3.0
4,187
#!/bin/sh MYSQLROOTPWD="${$1:root}" f () { cd /root curl -s https://raw.githubusercontent.com/openemr/openemr-devops/master/packages/lightsail/launch.sh | bash -s -- -s 0 docker exec -it $(docker ps | grep mysql | cut -f 1 -d " ") mysql --password="$MYSQLROOTPWD" -e "update openemr.users set active=0 ...
openemr/openemr-devops
packages/express/ami/ami-config.sh
Shell
gpl-3.0
621
#!/bin/bash create() { crte=./create/ isrt=./insert/ dbuser=release dbname=release #users and groups psql -U $dbuser -d $dbname -f ${crte}groups.sql psql -U $dbuser -d $dbname -f ${crte}users.sql psql -U $dbuser -d $dbname -f ${crte}groups_users.sql #psql -U $dbuser -d $dbname -f ${insert}admin.sql # app configur...
WildTurtles/illumination
scripts/sql/0.0.0/db.sh
Shell
gpl-3.0
2,325
#!/bin/sh # Makes the MLV App icon from scratch, you must have Blender for this to work # Remove old stuff rm icon.icns; rm icon.png; # Render the icon. THIS WILL TAKE MINUTES. /Applications/Blender.app/Contents/MacOS/blender -b icon.blend -o icon# -f 1; # NOTE: I have left the blend file set on CPU render, but swit...
ilia3101/MLV-App
src/icon/makeicon.sh
Shell
gpl-3.0
443
#!/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 "Licens...
bigcontainer/bigcont
banana/docker-run.sh
Shell
gpl-3.0
1,824
#!/bin/bash ## Variables CODE=$(bash <(cat /etc/os-release; echo 'echo ${UBUNTU_CODENAME/*, /}')) ## Shell tweaks bash common/shell-tweaks.sh ## Packages and updates # Atom editor repo sudo add-apt-repository --yes ppa:webupd8team/atom # Nextcloud client repo sudo apt-add-repository --yes ppa:nextcloud-devs/client ...
Ascendings/startup-scripts
ubuntu-setup.sh
Shell
mpl-2.0
2,846
#!/bin/bash # Usage: ## 1 Modify the string of the variables TRIGGERED_COMMAND and then run the ## the following commands to trigger the commands every 5 minutes. ## 2. crontab -e ## 3. */5 * * * * path/to/opencog/docker/clone/buildbot/cronjobs.sh ~ # Environment Variables ## Name of script. SELF_NAME=$(basename $...
linas/opencog-docker
buildbot/cronjobs.sh
Shell
agpl-3.0
5,285
#!/bin/sh tar -zxf cplex.tar.gz -C / make clean make tour
yuguang/tsp
setup.sh
Shell
agpl-3.0
58
#!/bin/bash echo -e "Sample\tRead pairs in millions\tRead pairs after QC\t% Read pairs retained\t% Read Aligned\tgenome coverage at >= 1x\tgenome coverage at >= 2x\tgenome coverage at >= 5x\tgenome coverage at >= 10x\tgenome coverage at >= 15x\tBases not covered\tAverage depth\tInsert Size Range" > QC_final_complete.t...
CEG-ICRISAT/NGS-QCbox
qcbin/batchqc_complete.sh
Shell
agpl-3.0
3,416
#!/bin/bash -e source "$HOME/.bashrc" cd "$HOME/workspace/factotum/" (cd tokyo ; bash startup.sh) MEM="-Xms2g -Xmx2g" GC="-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:CMSInitiatingOccupancyFraction=70" export MAVEN_OPTS="-ea -esa -server -XX:+DoEscapeAnalysis $MEM $GC" mvn "-Djetty.port=4277" "-Dfactotum.mode=$1" jetty...
dnikulin/factotum
scripts/startup.sh
Shell
agpl-3.0
326
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED=ON -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_TESTS=ON ../../
semerlin/tlog
build/release/configure.sh
Shell
lgpl-2.1
109
#!/bin/sh uniset2-start.sh -f ./uniset2-rtuexchange --confile test.xml \ --smemory-id SharedMemory \ --rs-dev /dev/cbsideA0 \ --rs-name RTUExchange \ --rs-speed 115200 \ --rs-filter-field rs \ --rs-filter-value 4 \ --dlog-add-levels info,crit,warn,level4,level3 \ --rs-force 0 \ --rs-force-out 0 \ --rs-pollti...
Etersoft/uniset2
extensions/ModbusMaster/start_fg_mbrtu.sh
Shell
lgpl-2.1
380
#!/bin/bash lt_per_a_comparar="resultats/lt/diccionari.txt" #lt_per_a_comparar="/home/jaume/github/spanish-dict-tools/tmp/mots-no-trobats.txt" #lt_per_a_comparar="other-dicts/tagger-2/diccionari.txt" #lt_per_a_comparar="other-dicts/tagger-2/verbs.txt" dir_programes="test-lt-fdic-lt" dir_intermedi="test-lt-fdic-lt/inter...
jaumeortola/spanish-dict-tools
make-test-lt-fdic.sh
Shell
lgpl-2.1
1,964
#!/bin/bash if [ $# -lt 2 ]; then echo "usage: $0 <data folder> <order file>" echo echo "data folder: should contain separate files, each containgin a" echo " request/response pair in wireshark \"follow tcp stream\" format." echo " files must be named 'x_action' where x is a...
kolibre/libkolibre-daisyonline
tests/fakesoapresponder.sh
Shell
lgpl-2.1
4,319
#!/bin/bash # Finds uninitialized memory, buffer overflows, memory leaks and discovered access to deallocated memory if [ -z "$1" ] then PROG="../examples/.libs/ui" else PROG="$1" shift fi # Is the file executable? test ! -x "$PROG" && echo "No executable file not found" && exit 1 # ELF executable file? ELFMA...
gansm/finalcut
scripts/valgrind.sh
Shell
lgpl-3.0
735
#!/bin/bash if [[ "$1" != "RUN" ]]; then echo "This script is designed to be run inside of the Docker container provided"\ "by the Dockerfile in this directory. You most probably don't want to be running"\ "this manually. Use the 'build_and_run_in_docker.sh' script instead." exit 1 fi set -xe cat | sudo tee...
axsh/openvdc
ci/citest/acceptance-test/run_tests.sh
Shell
lgpl-3.0
2,245
#!/bin/bash # Tests Python module functions and types. # # Version: 20200705 EXIT_SUCCESS=0; EXIT_FAILURE=1; EXIT_IGNORE=77; TEST_FUNCTIONS="support"; TEST_FUNCTIONS_WITH_INPUT="file"; OPTION_SETS=""; TEST_TOOL_DIRECTORY="."; INPUT_GLOB="*"; test_python_function() { local TEST_FUNCTION=$1; local TEST_DESCRIPTION...
libyal/libqcow
tests/test_python_module.sh
Shell
lgpl-3.0
3,414
#!/bin/bash multimarkdown --to=latex content.mmd > content.tex && omgtex.rb -o content.tex
flecno/bugfree-octo-ironman
architecture/ArchitekturBeschreibung/build.sh
Shell
unlicense
96
#!/bin/bash # Script to download all .sra files given an experiment number. # This is because the University of Minnesota Minnesota Supercomputing # Institute (MSI) does not allow remote access for the SRA Toolkit. # Requires the SRA Toolkit and lftp be installed. # Thomas Kono # Saint Paul, MN set -e set ...
TomJKono/Misc_Utils
SRA_Fetch.sh
Shell
unlicense
3,157
#!/usr/bin/env bash set -ex; MAJOR="$(echo ${GITHUB_REF} | sed -E 's/.*([0-9]+)\.([0-9]+)\.([0-9]+)$/\1/')"; MINOR="$(echo ${GITHUB_REF} | sed -E 's/.*([0-9]+)\.([0-9]+)\.([0-9]+)$/\2/')"; PATCH="$(echo ${GITHUB_REF} | sed -E 's/.*([0-9]+)\.([0-9]+)\.([0-9]+)$/\3/')"; VERSION="${MAJOR}.${MINOR}.${PATCH}";
ofer987/danofer
.github/scripts/create_version.sh
Shell
unlicense
310
#!/bin/bash #/usr/bin/env > /tmp/who #ulimit -m 131072 -t 60 PATH=$PATH:"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" while getopts "p:" arg do case $arg in p) /home/rails-deploy/Mechempire/compile/RobotAppearanceReader $OPTARG/libmyAI.so stdout ;; ?) ...
MechEmpire/Mechempire
compile/get_info.sh
Shell
apache-2.0
379
#!/bin/bash # Colors schemes for echo: RD='\033[0;31m' # Red BL='\033[1;34m' # Blue GN='\033[0;32m' # Green MG='\033[0;95m' # Magenta NC='\033[0m' # No Color TERM_COLS="$(tput cols)" ERROR_STRING="Installation error. Exiting" CURRENT_PATH=$(pwd) DEFAULT_PHP_VERSION="php7.4" CURRENT_KERNEL=$(grep -w ID /etc/os-rel...
dreamfactorysoftware/dreamfactory
installers/source/setup.sh
Shell
apache-2.0
32,708
#!/bin/bash # Define a bunch of functions and set a bunch of variables TEST_DIR=$(readlink -f `dirname "${BASH_SOURCE[0]}"` | grep -o '.*/oshinko-s2i/test/e2e') source $TEST_DIR/common SCRIPT_DIR=$(readlink -f `dirname "${BASH_SOURCE[0]}"`) source $SCRIPT_DIR/../../builddc SPARKLYR_DIR=$(readlink -f `dirname "${BASH...
rimolive/oshinko-s2i
test/e2e/templates/sparklyr/builddc/sparklyrbuilddc.sh
Shell
apache-2.0
1,720
#!/bin/bash # Copyright 2019 The gVisor 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 or a...
google/gvisor
tools/install_containerd.sh
Shell
apache-2.0
3,647
#!/bin/bash -e # Spin indefinitely until our mgt net and subnet show up in neutron. This will # be timed out by deployment_tasks if it does not succeed. source /root/openrc source $(dirname $0)/functions if ! which neutron; then sudo apt-get -y install python-neutronclient fi mgt_name=${1:-"astara_mgmt"} mgt_pr...
akanda/fuel-plugin-astara
deployment_scripts/scripts/set_neutron_networks_config.sh
Shell
apache-2.0
1,005
#! /bin/sh set -e export HERE=$(dirname $(readlink -f $0)) . ${HERE}/settings.sh CONTINENTS= CONTINENTS="${CONTINENTS} africa" CONTINENTS="${CONTINENTS} antarctica" CONTINENTS="${CONTINENTS} asia" CONTINENTS="${CONTINENTS} australia-oceania" CONTINENTS="${CONTINENTS} central-america" CONTINENTS="${CONTINENTS} europ...
osmmosques/osm-mosques-scripts
antique/extract-places-osm-continents.sh
Shell
apache-2.0
2,946
# # Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Softwar...
andreagenso/java2scala
test/J2s/java/openjdk-6-src-b27/jdk/test/sun/tools/jstatd/jstatdExternalRegistry.sh
Shell
apache-2.0
2,715
#!/bin/sh # # More details at # http://www.osehra.org/wiki/importing-osehra-code-base-gtm # # This script is no longer needed, given that CMake perform this importing # while it is running a Dashboard build. # export VistADir=$HOME/VistA-Instance export gtm_dist=/usr/lib/fis-gtm/V5.5-000_x86_64 export gtmprofilefile=$g...
luisibanez/VistA-installation-scripts
Scripts/importingVistAFOIAintoGTM.sh
Shell
apache-2.0
1,494
#!/bin/sh scriptPos=${0%/*} if [ -z "$JAVACMD" ] ; then if [ -n "$JAVA_HOME" ] ; then # IBM's JDK on AIX uses strange locations for the executables if [ -x "$JAVA_HOME/jre/sh/java" ] ; then JAVACMD="$JAVA_HOME/jre/sh/java" elif [ -x "$JAVA_HOME/jre/bin/java" ] ; then JAVACMD="$JAVA_HOME/jre...
OkieOth/keycloakTests
InitKeycloakServer/src/main/resources/bin/InitKeycloakServer.sh
Shell
apache-2.0
863
#!/bin/bash -e usage() { echo "Usage: $0 %number_of_coreos_nodes%" } if [ "$1" == "" ]; then echo "Cluster size is empty" usage exit 1 fi if ! [[ $1 =~ ^[0-9]+$ ]]; then echo "'$1' is not a number" usage exit 1 fi LIBVIRT_PATH=/var/lib/libvirt/images/coreos US...
mjg59/docs
os/deploy_coreos_libvirt.sh
Shell
apache-2.0
2,048
# creates the dev cluster gcloud container clusters create "dev-cluster" \ --machine-type "g1-small" \ --image-type "GCI" \ --disk-size "10" \ --scopes "https://www.googleapis.com/auth/compute","https://www.googleapis.com/auth/devstorage.read_write","https://www.googleapis.com/auth/datastore","http...
cilliemalan/naked-node
scripts/provision-cluster.sh
Shell
apache-2.0
735
#!/bin/bash echo community default is 16.0 function query() { openstack hypervisor show -c vcpus -c vcpus_used -f json $HYPERVISOR 2>/dev/null | tee /tmp/out echo echo "scale=2; $(cat /tmp/out | jq -r '.vcpus_used') / $(cat /tmp/out | jq -r '.vcpus')" | bc echo } echo 1 HYPERVISOR=1 query echo 2 HYPERVISOR=2 quer...
jinsenglin/openstack
sa/cpu_allocation_ratio_by_hypervisor.sh
Shell
apache-2.0
349
set -e BUNDLE=${BUNDLE-"bundle exec"} MVN=${MVN-"mvn"} if [ 'GNU' != "$(tar --help | grep GNU | head -1 | awk '{print $1}')" ]; then echo 'Unable to release: make sure to use GNU tar' exit 1 fi if $(ruby -e'require "java"'); then # Good echo 'Detected JRuby' else echo 'Unable to release: make sure to use J...
killbill/killbill-braintree-blue-plugin
release.sh
Shell
apache-2.0
1,567
#!/bin/bash -x set -eu -o pipefail CF_RELEASE=${CF_RELEASE:-false} AWS_KEY_NAME=${AWS_KEY_NAME:-} if [[ $CF_RELEASE == "true" ]]; then git checkout v$OPENVIDU_PRO_VERSION fi export AWS_DEFAULT_REGION=eu-west-1 DATESTAMP=$(date +%s) TEMPJSON=$(mktemp -t cloudformation-XXX --suffix .json) # Get Latest Ubuntu AMI...
OpenVidu/openvidu
openvidu-server/deployments/pro/aws/createAMIs.sh
Shell
apache-2.0
7,387
#!/bin/sh set -ex # no-op while upx in alpine appears to be broken #upx dist/**/*
glassechidna/stackit
upx.sh
Shell
apache-2.0
83
set -o errexit; echo "restarting postgresql"; service postgresql restart; echo "changing into firstdraft/projfd"; cd firstdraft/projfd; echo "making migrations"; python3 manage.py makemigrations; echo "migrating"; python3 manage.py migrate; echo "restarting postgresql"; service postgresql restart;
FirstDraftGIS/firstdraft
bash_scripts/setup_database_tables.sh
Shell
apache-2.0
303
#!/usr/bin/env bash #shellcheck disable=SC2155 set -e # This should be executed from top-level directory not from `tests` directory # Script needs one variable to be set before execution # 1) PULL_SECRET_PATH - path to pull secret file set -eo pipefail BACKEND="${1}" LEAVE_RUNNING="${LEAVE_RUNNING:-n}" # do not te...
derekhiggins/installer
tests/run.sh
Shell
apache-2.0
4,803
#!/bin/bash BASEDIR=$(dirname $0) cd $BASEDIR VERSION=$(<VERSION-PI) FROM=$(<FROM-PI) SPECIFIC_FILE=Dockerfile.specific-PI IMAGE_NAME=homebridge-pi-v$VERSION SED_COMMAND="sed -i \"/#####SPECIFIC#####/ r $SPECIFIC_FILE\" Dockerfile" source homebridge-common.sh
patrickbusch/homebridge-docker
homebridge-pi.sh
Shell
apache-2.0
263
#!/usr/bin/env bash set -e print_script_name () { local NAME="${1}" if [ -z "${NAME}" ]; then echo "Running '${0##*/}'..." else echo "Running '${NAME}'..." fi } verify_bash_version () { local REQUIRED_VERSION="${1}" local REQUIRED_MAJOR="$(printf "${REQUIRED_VERSION}" | cut -d '.' -f 1)" local...
daptiv/teamcity
packer/ubuntu_18.04_teamcity_agent/scripts/create_ssh_keys.sh
Shell
apache-2.0
3,704
sed -I 's/^PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config kill -HUP `cat /var/run/sshd.pid`
upperstream/packer-templates
netbsd/provisioners/cleanup-7.0.sh
Shell
apache-2.0
107
#!/bin/bash set -euxo pipefail # drill installation paths and user & version details readonly DRILL_USER=drill readonly DRILL_USER_HOME=/var/lib/drill readonly DRILL_HOME=/usr/lib/drill readonly DRILL_LOG_DIR=${DRILL_HOME}/log readonly DRILL_VERSION='1.15.0' function err() { echo "[$(date +'%Y-%m-%dT%H:%M:%S%z')]:...
GoogleCloudDataproc/initialization-actions
drill/drill.sh
Shell
apache-2.0
8,382
#!/bin/bash # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Copyright 2010-2013 SourceGear, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www...
glycerine/vj
src/veracity/testsuite/filespec_bash_ref.sh
Shell
apache-2.0
8,535
#!/bin/sh ########################################################################## # If not stated otherwise in this file or this component's Licenses.txt # file the following copyright and licenses apply: # # Copyright 2016 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may ...
rdkcmf/rdk-sysint
lib/rdk/prepare_snmpv3_env.sh
Shell
apache-2.0
1,569
#!/bin/bash # Copyright 2015 Giuseppe Maxia # # 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 ...
datacharmer/mysql-replication-samples
multi_source/test_all_masters_replication.sh
Shell
apache-2.0
1,589
#!/usr/bin/env bash # Script used to collect and upload test coverage (mostly by travis). # Usage ./test_coverage_upload.sh [log_file] set -o pipefail LOG_FILE=${1:-test-coverage.log} # We collect the coverage COVERDIR=covdir PASSES='build build_cov cov' ./scripts/test.sh 2>&1 | tee "${LOG_FILE}" test_success="$?" ...
etcd-io/etcd
scripts/codecov_upload.sh
Shell
apache-2.0
528
#!/bin/bash # # Copyright (c) 2015 Intel 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 applicable law or...
trustedanalytics/platform-ansible
roles/h2o/files/water_launcher.sh
Shell
apache-2.0
1,184
#!/usr/bin/env bash set -e export BASE=$(pwd) export PATH=/usr/local/ruby/bin:/usr/local/go/bin:$PATH export GOPATH=${BASE}/gopath semver=`cat ${BASE}/version-semver/number` goversion_suffix="" if [ ! -z "${GOVERSION}" ]; then goversion_suffix="-${GOVERSION}" fi filename="bosh-agent-${semver}${goversion_suffix}-...
mattcui/bosh-agent
ci/tasks/build.sh
Shell
apache-2.0
776
#!/bin/sh if [ $# -ne 2 ] then echo "USAGE: hivetomysql.sh scripttype mappersnum" exit 1 fi scripttyp=$1 # script type : 0 full;1 whrite account ; 2 reg mappersnum=$2 ls_date=$(date -d last-day +%Y%m%d) temptable="ods_bhv_user_dynamic_expo_plat_filter" # when scripttype is 2, you have to set regulations, re...
penetest/hivetomysql
hivetomysql.sh
Shell
apache-2.0
2,283
#!/bin/bash #OLVer megabuilder ############################################################################### # miss.c generator ### generate_miss_c () { cat >miss.c <<EOF /* * This file is generated by 'build_config.sh' script to handle missing functions under test. */ #include <stdio.h> void sendExceptionFro...
levenkov/olver
src/agent/build_config.sh
Shell
apache-2.0
1,357
if [ -f ${data_file} ] then rm ${data_file} fi echo ${head} >>${data_file} while true do i=0 for dir in ${hw_dirs}; do temp_var="hwmon_nodes_$i" for t in $(eval "echo \$$temp_var") do echo -n "$(cat "${dir}/${t}")," >>${data_file} done ((i++)) done for bt_nd in ${battery_nodes} do echo -n "$(...
christingde/pmicplot
.target.sh
Shell
apache-2.0
429
#!/usr/bin/env bash # Set colours GREEN="\e[32m" RED="\e[41m\e[37m\e[1m" YELLOW="\e[33m" WHITE="\e[0m" USERNAME=$1 PASSWORD=$2 IS_PUBLIC_OS1=$3 if [ "x${IS_PUBLIC_OS1}" != "x" ]; then echo -e $GREEN"Running on OS1 Public, updating DNS"$WHITE sudo bash -c "cat >> /etc/sysconfig/network-scripts/ifcfg-eth0 <<E...
garethahealy/dune-world
install/openstack/1_rhelsubs.sh
Shell
apache-2.0
1,111
#!/bin/bash set -e set -x which pkg-config echo "PREFIX := $PREFIX" >> Makefile.conf make install -j$CPU_COUNT
litex-hub/litex-conda-eda
syn/symbiflow-yosys-plugins/build.sh
Shell
apache-2.0
115
git clone https://github.com/robolectric/robolectric.git
android-opensource-library-56/android-opensource-library-56
09-04-Robolectric/setup.sh
Shell
apache-2.0
57
#!/usr/bin/env bash # update parallels-tools # /usr/lib/parallels-tools/install --install-unattended --restore-on-fail --progress # install node & npm curl --silent --location https://deb.nodesource.com/setup_0.12 | bash - apt-get install --yes nodejs # optional step for node # apt-get install --yes build-essential ...
publicarray/Real-time-CRUD
bootstrap.sh
Shell
apache-2.0
456
#!/bin/bash SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ROOT_DIR="${SCRIPT_DIR}/../../" # freeze the spec version to make SemanticAttributes generation reproducible SPEC_VERSION=v1.8.0 OTEL_SEMCONV_GEN_IMG_VERSION=0.9.0 cd ${SCRIPT_DIR} rm -rf opentelemetry-specification || true mkdir opentelemet...
open-telemetry/opentelemetry-python
scripts/semconv/generate.sh
Shell
apache-2.0
1,404
LOGNAME='soslogs/agent'$*'.log' mkdir soslogs classpath=.:lib/jsi-1.0b2p1.jar:lib/log4j-1.2.15.jar:lib/trove-0.1.8.jar:lib/uncommons-maths-1.2.jar:lib/javaml/ajt-1.20.jar:lib/javaml/commons-math-1.1.jar:lib/javaml/javaml-0.1.4.jar:lib/javaml/weka.jar:lib/genetic/commons-math3-3.1.1/commons-math3-3.1.1.jar:lib/mysql-co...
alim1369/sos
start-precompute.sh
Shell
apache-2.0
457
#!/bin/bash # run this script giving it a single argument eg. ./docker-cli.sh ronbo-was-here # that will attempt to create an empty file name ronbo-was-here in the current directory docker run --volume $(pwd):/src --workdir=/src --user=$(id -u $(whoami)):$(id -g $(whoami)) --env RUNAS=$USER --rm --attach stdout --at...
kurron/docker-experiment
docker-as-tool/docker-cli.sh
Shell
apache-2.0
360
sudo apt-get update sudo apt-get install samba sudo cp /etc/samba/smb.conf ~ sudo nano /etc/samba/smb.conf sudo service sambd restart testparm
bayvictor/distributed-polling-system
bin/samba_commandline.sh
Shell
apache-2.0
152
#!/bin/bash #FILE=20140822Introduction FILE=20140822PitchBugFarm # CREATE HANDOUTS HERE #Convert ArduinoCourseAll.pdf to handout format (4 columns, 2 rows) java -cp Multivalent.jar tool.pdf.Impose -dim 4x2 -paper 84x29.7cm $FILE".pdf" #Rename the resulting PDF mv $FILE"-up.pdf" $FILE"Handouts.pdf" #Negate the res...
DIYbioGroningen/Makercourse
Presentations/ProjectPitches/CreateHandouts.sh
Shell
artistic-2.0
463
#!/bin/sh # Use shell script here, because # RAKUDO: Can`t modify %*ENV; echo -n "foo=bar" | REQUEST_METHOD='POST' \ SERVER_NAME='test.foo' \ TEST_RESULT='{"foo" => "bar"}' \ TEST_NAME='Post foo=bar' \ ./t/cgi_post_test; echo -n "foo=bar&boo=her" | REQUEST_METHOD='POST' \ SERVER_NAME='test.foo' \ TEST_RESULT='{"...
ab5tract/november
p6w/t/02-cgi_post.t.sh
Shell
artistic-2.0
1,270
#!/bin/sh # Copyright (c) 2015, Robert T Dowling # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # list of co...
RobertTDowling/java-caslib
test/regress.sh
Shell
bsd-2-clause
1,532
#!/bin/sh ${WL_HOME}/common/bin/wlst.sh -loadProperties ./setDomainTLS.prop ./setDomainTLS.py
kapfenho/iam-deployer
lib/weblogic/wlst/setDomainTLS/setDomainTLS.sh
Shell
bsd-2-clause
95
# -*- sh -*- function gvman() { local manpage=$1 local tempfile=$(mktemp -t gvman.XXXXXXXX) local man_exit_code=0 man -Tps $manpage > $tempfile man_exit_code=$? if [ "$man_exit_code" == "0" ]; then gv --spartan $tempfile fi rm $tempfile return $man_exit_code }
jtgans/dotbash
lib/gvman.sh
Shell
bsd-2-clause
309
perl Scripts/sort-Xcode-project-file DCTAuth.xcodeproj/project.pbxproj
danielctull/DCTAuth
sort-xcode-project.sh
Shell
bsd-3-clause
70
dropdb pycon2013; createdb pycon2013 && gondor sqldump primary |./manage.py dbshell && ./manage.py upgradedb -e
eldarion/pycon
refresh.sh
Shell
bsd-3-clause
113
#!/bin/bash #this script is for geoffrey, used for entropy while read line do echo "$line" done < $1
GeoffreyUniversitySSI/CryptoCIRCLEAN
entropy/Morceau Script/readFile.sh
Shell
bsd-3-clause
107
#!/usr/bin/env bash # Copyright (c) 2014-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory....
PickmanSec/osquery
tools/provision/ubuntu.sh
Shell
bsd-3-clause
4,072
#!/bin/bash set -exo pipefail export DEBEMAIL="rafael+deb@rafaelmartins.eng.br" export DEBFULLNAME="Automatic Builder (github-actions)" export DEB_BUILD_OPTIONS="noddebs" export DIST="$(echo "${TARGET}" | cut -d- -f2)" MY_P="${PN}_${PV}" ARCH="$(echo "${TARGET}" | cut -d- -f3)" REV= case ${DIST} in bullseye) ...
blogc/blogc
build-aux/build-debian.sh
Shell
bsd-3-clause
3,385
#!/bin/bash # Copyright (c) 2013 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. EXECUTABLES=python${NACL_EXEEXT} # Currently this package only builds on linux. # The build relies on certain host binaries and python...
kosyak/naclports_samsung-smart-tv
ports/python3/build.sh
Shell
bsd-3-clause
1,880
#!/bin/sh mkpath.pl $CABIO_DATA_DIR/relative_clone/human cd $CABIO_DATA_DIR/relative_clone/human echo "Removing existing files from $CABIO_DATA_DIR/relative_clone/human" rm -rf all_est* rm -rf seq_gene.* echo "\nDownloading EST Annotations for human from UCSC" wget -nv ftp://hgdownload.cse.ucsc.edu/goldenPath/hg19/da...
NCIP/cabio
software/cabio-database/scripts/download/download_ESTAnnotationsData_UCSC.sh
Shell
bsd-3-clause
1,234
#!/bin/sh set -ex # show available schemes xcodebuild -list -project ./ResearchUXFactory.xcodeproj # run on pull request if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then fastlane test scheme:"ResearchUXFactory" exit $? fi
syoung-smallwisdom/ResearchUXFactory-iOS
travis/run-tests.sh
Shell
bsd-3-clause
226
#!/bin/bash gource --key -a 0.5 --loop -i 300 --title RB-PHD-Filter --start-position 0.1 -s 1
RangerKD/RFS-SLAM
scripts/misc/gource.sh
Shell
bsd-3-clause
94
# Copy from https://github.com/Bash-it/bash-it/blob/master/plugins/available/alias-completion.plugin.bash # Load after the other completions to understand what needs to be completed # BASH_IT_LOAD_PRIORITY: 203 cite about-plugin about-plugin 'Automatic completion of aliases' # References: # http://superuser.com/a/437...
adoyle-h/dotfiles
completions/alias_completion.bash
Shell
bsd-3-clause
4,847
#!/bin/bash mkdir -p pinloc-1k-cm81 cd pinloc-1k-cm81 pins=" A1 A2 A3 A4 A6 A7 A8 A9 B1 B2 B3 B4 B5 B6 B7 B8 B9 C1 C2 C3 C4 C5 C9 D1 D2 D3 D5 D6 D7 D8 D9 E1 E2 E3 E4 E5 E7 E8 F1 F3 F7 F8 G1 G3 G4 G5 G6 G7 G8 G9 H1 H4 H5 H7 H9 J1 J2 J3 J4 J6 J7 J8 J9 " if [ $(echo $pins | wc -w) -ne 63 ]; then echo "Incorre...
SymbiFlow/icestorm
icefuzz/pinloc/pinloc-1k-cm81.sh
Shell
isc
1,045
#!/usr/bin/env sh # generated from catkin/cmake/template/setup.sh.in # Sets various environment variables and sources additional environment hooks. # It tries it's best to undo changes from a previously sourced setup file before. # Supported command line options: # --extend: skips the undoing of changes from a previou...
Drona-Org/Drona
Src/Lib/ExternalMotionPlanners/OMPLOptimalPlanner/devel/setup.sh
Shell
mit
2,842
#!/usr/bin/env node var program = require('commander'); var pck = require('../package.json'); var path = require('path'); var standalone = require('../lib/standalone.js'); program .version(pck.version) .option('-i, --input <file>', 'Input jobs (json format)') .option('-w, --worker <file>', 'Worker script') .op...
kiernanmcgowan/forerunner-standalone
bin/standalone.sh
Shell
mit
1,518
#!/bin/sh set -e set -u copy() { src="$1" dst="/usr/local/bin/$1" echo cp "$src" "$dst" cp "$src" "$dst" } copy portable-screencap copy ipfs-screencap
lgierth/ipfs-screencap
install.sh
Shell
mit
163
#!/usr/bin/env bash # Variables readonly projectDir=$(realpath "$(dirname ${BASH_SOURCE[0]})/..") readonly envHelpersPath="$projectDir/.circleci/env-helpers.inc.sh"; readonly bashEnvCachePath="$projectDir/.circleci/bash_env_cache"; # Load helpers and make them available everywhere (through `$BASH_ENV`). source $envHe...
ocombe/angular
.circleci/env.sh
Shell
mit
7,045
#!/bin/sh # Base16 Atelier Plateau - Shell color setup script # Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) if [ "${TERM%%-*}" = 'linux' ]; then # This script doesn't support linux console (use 'vconsole' template instead) return 2>/dev/null || exit 0 fi color00="1b...
atelierbram/syntax-highlighting
docs/atelier-schemes/output/shell/base16-atelierplateau.light.sh
Shell
mit
3,927
#!/bin/bash # Bail if we are not running inside VMWare. if [[ ! $(/usr/sbin/prtdiag) =~ "VMware" ]]; then exit 0 fi # Install the VMWare Tools from a solaris ISO. #wget http://192.168.0.185/solaris.iso -P /tmp mkdir -p /mnt/vmware mount -o loop /home/vagrant/solaris.iso /mnt/vmware cd /tmp tar xzf /mnt/vmware/V...
nanobox-io/vagrant-packer-templates
smartos-x86_64/scripts/vmware.sh
Shell
mit
473
#!/bin/bash set -e : ${CLUSTER:=ceph} : ${RGW_NAME:=$(hostname -s)} : ${MON_NAME:=$(hostname -s)} : ${RGW_CIVETWEB_PORT:=80} CEPH_OPTS="--cluster ${CLUSTER}" ####### # MON # ####### if [ ! -n "$CEPH_NETWORK" ]; then echo "ERROR- CEPH_NETWORK must be defined as the name of the network for the OSDs" exit 1 fi ...
fmeppo/ceph-docker
ceph-releases/jewel/ubuntu/14.04/demo/entrypoint.sh
Shell
mit
5,290
#!/bin/bash FN="TxDb.Ggallus.UCSC.galGal4.refGene_3.11.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.11/data/annotation/src/contrib/TxDb.Ggallus.UCSC.galGal4.refGene_3.11.0.tar.gz" "https://bioarchive.galaxyproject.org/TxDb.Ggallus.UCSC.galGal4.refGene_3.11.0.tar.gz" "https://depot.galaxyproject.org/softw...
roryk/recipes
recipes/bioconductor-txdb.ggallus.ucsc.galgal4.refgene/post-link.sh
Shell
mit
1,417
#!/bin/bash # # Run a single test file with coverage. # PREFIX=$(pwd) COVERAGE_FILE=.coveragerc COVERAGE_DIR=${PREFIX}/.coverage_tests coverage erase --rcfile=${COVERAGE_FILE} rm -rf ${COVERAGE_DIR} mkdir -p ${COVERAGE_DIR} coverage run manage.py test $1 $2 mv .coverage.* ${COVERAGE_DIR} coverage combine --rcfile=${C...
cnobile2012/dcolumn
run_test.sh
Shell
mit
395
go get github.com/alexandrevicenzi/go-sse go build gossed.go
benas/ssed
build.sh
Shell
mit
60
#!/bin/sh #使用root账户更新 #echo -e "使用root账户更新" #设置配置文件夹 mkdir -p /etc/judge/conf.d mkdir -p /etc/judge/bin cp -r config/judge.conf /etc/judge/conf.d cp -r bin/* /etc/judge/bin #finish echo -e "Anything is already!" echo -e "Have a nice day"
Alrash/OnlineJudge
judge/config.sh
Shell
mit
281
#!/bin/sh set -e /usr/sbin/sshd -D & dockerd --storage-driver=vfs --host=unix:///var/run/docker.sock "$@"
toshke/ciinabox-containers
jenkins-dind-edge-slave/jenkins-docker-slave.sh
Shell
mit
109
lua ~/depthSCANN/input/depthTuning/generate_downsample_depth.lua > ~/depthSCANN/input/depthTuning/generated/generate_downsample_depth.params; #One GPU run ~/depthSCANN/Release/depthSCANN -p ~/depthSCANN/input/depthTuning/generated/generate_downsample_depth.params -t 8 #MultiGPU run #mpirun -np 4 --bind-to none ~/depth...
dpaiton/OpenPV
projects/depthSCANN/runScripts/depthTuning/runBenchmarkEncodeLCA.sh
Shell
epl-1.0
419
# gcc -Wall -O2 -fomit-frame-pointer -DNDEBUG -D_REENTRANT -m32 -march=i586 -I. -I.. -s -o fpsieve-x86-linux ../main.c ../sieve.c ../clock.c ../util.c app.c have_sse2.S factorial4_x86.S factorial4_x86_sse2.S primorial4_x86.S primorial4_x86_sse2.S -lm -lpthread # i586-mingw32msvc-gcc -Wall -O2 -fomit-frame-pointer -DNDE...
Ken-g6/PSieve
fpsieve/make-bins.sh
Shell
gpl-2.0
1,138
# L'utilisation de ce script est documentée à cette adresse : # https://github.com/dorian-marchal/spawnkill/blob/master/documentation/LocalUserscriptDev.md # répertoire de développement du script dev_script_path="/path/to/www/spawnkill/" # nom du fichier principal du script main_script_file="jvc-spawnkill.user.js" #...
Delgan/spawnkill
other/local-dev/local-dev-config.default.sh
Shell
gpl-2.0
622
#!/bin/bash # redirect stdout and stderr to logfile #rm /home/hivetool/hivetool.log exec >>/home/hivetool/hivetool.log 2>&1 HOST=`hostname` DATE=`date +"%Y/%m/%d %H:%M"` COUNTER=0 while [[ $COUNTER -lt 10 && $DATA_GOOD -eq 0 ]]; do TEMPerHUM=`/usr/local/bin/tempered -s F /dev/hidraw1` if [[...
rcrum003/HiveControl
scripts/temp/temper_test.sh
Shell
gpl-2.0
997
#!/bin/sh [[ -d release ]] || { echo "must be in kernel root dir" exit 1; } echo "packaging it up" TYPE=$1 [[ "$TYPE" == '' ]] && TYPE=SGS RELVER=$2 [[ "$RELVER" == '' ]] && RELVER="0" #REL=CM7_${TYPE}_$(date +%Y%m%d-%H)_platypus.zip REL=CM7_${TYPE}_$(date +%Y%m%d)_NEO_3.0_VC-led-notif.zip rm -r release/system ...
ngiordano/chimera_kernel
release/doit.sh
Shell
gpl-2.0
1,472
#!/bin/bash function addCategory { CA_NAME="$1" CA_DESC="$2" CA_URL="$3" params_add_ca="<methodCall><methodName>addCategory</methodName><params><param><struct><member><name>name</name><value>$CA_NAME</value></member><member><name>description</name><value>$CA_DESC</value></member><member><name>url</nam...
oss-fruct-org/gets
service/support/scripts/categories.sh
Shell
gpl-2.0
1,873
# # Bug 1520569: 2.3 creates empty dir after upgrading # start_server # check that directory with timestamp as a name is not created # (--stream should imply --no-timestamp) innobackupex --stream=tar $topdir/backup > $topdir/xbs if [ "$(ls -A $topdir/backup)" ] ; then die "Directory is created!" fi
janlindstrom/percona-xtrabackup
storage/innobase/xtrabackup/test/t/bug1520569.sh
Shell
gpl-2.0
304
#!/bin/sh APPBUNDLE=ioquake3.app BINARY=ioquake3.ub DEDBIN=ioq3ded.ub PKGINFO=APPLIOQ3 ICNS=misc/quake3.icns DESTDIR=build/release-darwin-ub BASEDIR=baseq3 MPACKDIR=missionpack BIN_OBJ=" build/release-darwin-ppc/ioquake3-smp.ppc build/release-darwin-i386/ioquake3-smp.i386 " BIN_DEDOBJ=" build/release-darwin-ub/ioq3...
raspberrypi/quake3
make-macosx-ub.sh
Shell
gpl-2.0
8,277
if [ -z "$1" ]; then # no argument - run all tests found in current dir set -e for i in *.ref; do sh $0 "${i/.ref/}"; done exit 0 fi KEEP_OUTPUT=0 if [ "x$1" = "x-k" ]; then KEEP_OUTPUT=1 shift fi if [ ! -f "$1.pd" ]; then echo -e "error: $1.pd does not exist" 1>&2 exit 1 fi if [ ! -f "$1.ref" ]; then ...
rvega/morphasynth
vendors/pd-extended-0.43.4/externals/loaders/tclpd/tests/runtest.sh
Shell
gpl-3.0
860