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/bash # to get rid of MSDOS format do this to this file: sudo sed -i s/\\r//g ./filename # or, open in nano, control-o and then then alt-M a few times to toggle msdos format off and then save # updated the list of installed gear so this works if we also use it : https://github.com/DeadSix27/python_cross_compile_...
hydra3333/ffmpeg-windows-build-helpers-withOpenCL
archive/rm-v4.sh
Shell
gpl-3.0
3,433
#!/bin/bash python RunBootstrap.py --paralog1 YER102W --paralog2 YBL072C --bootnum 100 > YER102W_YBL072C_Boot100_PrintScreen.txt
xjw1001001/IGCexpansion
Bootstrap/ShFiles/MG94_YER102W_YBL072C_Boot100.sh
Shell
gpl-3.0
130
#!/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 1B/logs/w-08-B/20170109T201522+0000/00/00/mediancpu_0_ID0000004.sh
Shell
gpl-3.0
1,237
#!/bin/sh set -e if [ ! -f "build/env.sh" ]; then echo "$0 must be run from the root of the repository." exit 2 fi # Since Go 1.5, the separator char for link time assignments # is '=' and using ' ' prints a warning. However, Go < 1.5 does # not support using '='. sep=$(go version | awk '{ if ($3 >= "go1.5" ...
crazyquark/go-ethereum
build/ldflags.sh
Shell
gpl-3.0
523
#!/usr/bin/env bash java -classpath bin/las-vpe-platform-0.0.1-full.jar:bin/las-vpe-platform-0.0.1-tests.jar \ org.cripac.isee.vpe.alg.pedestrian.attr.PedestrianAttrRecogAppTest
kyu-sz/LaS-VPE-Platform
sbin/test-pedestrian-attr-recog-app.sh
Shell
gpl-3.0
181
#!/bin/bash -e [ -e src/Makefile.am ] || ls src/Makefile.am # silly test for working dir. rm -rf po m4 ABOUT-NLS config.rpath *~ mv ChangeLog ChangeLog.TMP gettextize . sed -i 's/ po po / po /' Makefile.am sed -i 's/^EXTRA_DIST =.*/EXTRA_DIST = \\/' Makefile.am sed -i 's/AC_OUTPUT(.*/AC_OUTPUT( /' configure.ac cp...
yetanothergeek/fxite
util/gettext.sh
Shell
gpl-3.0
606
#!/bin/sh # # Copyright (c) 2015 # Author: Victor Arribas <v.arribas.urjc@gmail.com> # License: GPLv3 <http://www.gnu.org/licenses/gpl-3.0.html> ./make_packages_for.sh \ "libopencv-.*2.4|libopencv.*-dev|libcv-dev|libcv2.4|python-opencv" \ 2.4.11 \ all \ "OpenCV fake-deb"
varhub/fakedeb_generator
make_opencv2.4.sh
Shell
gpl-3.0
273
#!/bin/sh PYTHON="$1" PAM_WRAPPER_SO_PATH="$2" shift 2 DOMAIN="$1" export DOMAIN USERNAME="$2" export USERNAME PASSWORD="$3" export PASSWORD shift 3 PAM_WRAPPER_PATH="$BINDIR/default/third_party/pam_wrapper" pam_winbind="$BINDIR/shared/pam_winbind.so" service_dir="$SELFTEST_TMPDIR/pam_services" service_file="$servi...
sathieu/samba
python/samba/tests/test_pam_winbind_warn_pwd_expire.sh
Shell
gpl-3.0
2,194
# # Copyright (C) 2012-2015 Tommy Alex. All Rights Reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This ...
iptux/DroidUi
install.sh
Shell
gpl-3.0
845
#!/bin/bash python AnalyzeSimulation.py --paralog1 YNL301C --paralog2 YOL120C --simnum 79 > YNL301C_YOL120C_MG94_nonclock_Sim79_PrintScreen.txt
xjw1001001/IGCexpansion
Simulation/ShFiles/MG94_YNL301C_YOL120C_sim79.sh
Shell
gpl-3.0
145
#!/usr/bin/env bash cd $HOME/diamond install() { cd tg sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get install g++-4.7 c++-4.7 sudo apt-get update sudo apt-get upgrade sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev lua-socket lua-sec lua-expa...
Mrr619/diamond
diamond.sh
Shell
gpl-3.0
986
#!/bin/bash ## read the configuration file to detect the pins that must be exported : configfile=$1 grep 'pin_pwm.*= *[0-9]\+;*' $configfile > powerpins.txt grep 'pin_direction.*= *[0-9]\+;*' $configfile > directionpins.txt grep 'pin_monitor.*= *[0-9]\+;*' $configfile > monitorpins.txt grep 'pin_headlights.*= *[0-...
bcare/roverpi
tools/export_required_pins.sh
Shell
gpl-3.0
981
#!/bin/bash sudo apt-get install build-essential devscripts ./install.sh echo "Copying root files for packaging" mkdir package/usr mkdir package/usr/local mkdir package/usr/local/bin mkdir package/usr/local/include mkdir package/usr/local/share mkdir package/usr/local/lib sudo mv /usr/local/bin/deadlywish package/usr/l...
VictorArnaud/Deadly-Wish
bundle.sh
Shell
gpl-3.0
736
#!/bin/bash # # This file is part of the Pi Entertainment System (PES). # # PES provides an interactive GUI for games console emulators # and is designed to work on the Raspberry Pi. # # Copyright (C) 2014-2021 Neil Munday (neil@mundayweb.com) # # PES is free software: you can redistribute it and/or mod...
neilmunday/pes
setup/arch-rpi4/install-mupen64plus.sh
Shell
gpl-3.0
5,606
#!/bin/bash set -e set -x # clear package cache yes | sudo pacman -Scc # Remove machine-id: see https://github.com/archlinux/arch-boxes/issues/25 rm /etc/machine-id # Remove pacman key ring for re-initialization rm -rf /etc/pacman.d/gnupg/
shibumi/arch-boxes
provision/cleanup.sh
Shell
gpl-3.0
242
#!/bin/bash # This file is part of Parsito <http://github.com/ufal/parsito/>. # # Copyright 2016 Institute of Formal and Applied Linguistics, Faculty of # Mathematics and Physics, Charles University in Prague, Czech Republic. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If...
ufal/parsito
scripts/update_unilib.sh
Shell
mpl-2.0
820
#!/bin/bash # This script is to benchmark the some examples simulations that can be found # in examples/msg/ folder. # The benchmark is done with both Constant and Precise mode, using # different sizes and number of threads (which can be modified). # This script also generate a table with all the times gathered, that ...
mquinson/simgrid-simpar
scripts/chord/testall.sh
Shell
agpl-3.0
8,099
#!/bin/sh # # Compute masked words list - for each word replace up to maxBlanks of its letters # by blanks. The higher the maxBlanks value the more unplayable squares can # be detected by the main program. 3 is a reasonable compromise between # speed of preprocessing and unplayable square detection in the development...
azadbolour/boardgame
haskell-server/preprocess-masked-words.sh
Shell
agpl-3.0
1,000
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="ibus" (test -f $srcdir/configure.ac \ && test -f $srcdir/README ) || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" echo " top-level $PKG_NAME directory" e...
phuang/ibus
autogen.sh
Shell
lgpl-2.1
608
#!/bin/bash function get_info { python -c 'execfile("'$1'"); print '$2 } cd $1 || exit 1 echo ".PHONY: all clean" echo ALL_EXAMPLE_FILES="" for EXAMPLE_FILE in *.example; do rst_out=`get_info $EXAMPLE_FILE rst_out` ALL_EXAMPLE_FILES="$ALL_EXAMPLE_FILES $rst_out" done echo "all: $ALL_EXAMPLE_FILES" echo for E...
mfnch/pyrtist
old/web/sphinx/source/examples/gen_makefile.sh
Shell
lgpl-2.1
650
#!/bin/sh # temporary directory [ -z "${TMPCI}" ] && TMPCI=/tmp/ci ################## set -e TMPDIR=${TMPCI%/*} CIDIR=${TMPCI##*/} mkdir -p ${TMPDIR} # set root directory into $ESP ESP="$(cd ${0%/*}/..; pwd)" branch=$(git rev-parse --abbrev-ref HEAD) echo "" echo " -- CI directory: ${TMPCI} --" echo "" echo "En...
Lan-Hekary/Arduino
tests/run_CI_locally.sh
Shell
lgpl-2.1
3,137
#!/bin/bash variable3="yes"; variable4="I'm a variable"; export variable4; if [ "$variable2" = "" ] then variable2="maybe"; export variable2; echo "exported new variable 2"; bash echovars.sh; else echo "not empty"; fi myNum1=10; if [ "$myNum1" -eq 10 ] then echo $myNum1; else echo "wrong"; fi
renardchien/Software-Development-on-Linux--Open-Source-Course-
Labs/Lab 5/Not for Students/testvariable.sh
Shell
lgpl-3.0
306
#!/bin/bash #File: mykill #Copyright (C)2005 Chitlesh GOORAH # This script 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 is distri...
nazeeruddinikram/bashshell
mykill.sh
Shell
unlicense
1,661
#!/usr/bin/env bash set -ex; script_directory="$(dirname ${BASH_SOURCE[0]})"; server_user="root"; server_ip="167.99.181.5"; configuration_file="configuration.json"; # Create the configuration ruby "${script_directory}/build_configuration" > "${configuration_file}"; # Permit read/write access to server source "${scr...
ofer987/danofer
.github/scripts/api/build_danofer_image.sh
Shell
unlicense
1,232
# !/bin/bash # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
google/fhir
examples/gcp_datalab/02-gen-fhirdependencies.sh
Shell
apache-2.0
2,504
#!/bin/bash set -m CONFIG_FILE="/config/config.toml" INFLUX_HOST="localhost" INFLUX_API_PORT="8086" API_URL="http://${INFLUX_HOST}:${INFLUX_API_PORT}" # Dynamically change the value of 'max-open-shards' to what 'ulimit -n' returns sed -i "s/^max-open-shards.*/max-open-shards = $(ulimit -n)/" ${CONFIG_FILE} # Configu...
bogus-py/influxdb
0.9/run.sh
Shell
apache-2.0
5,185
#!/bin/bash # Copyright (c) Jul. 2017, Cheng-Yueh Liu (cyliustack@gmail.com) C_NONE="\033[0m" C_CYAN="\033[36m" C_RED="\033[31m" C_GREEN="\033[32m" C_ORANGE="\033[33m" C_BLUE="\033[34m" C_PURPLE="\033[35m" C_CYAN="\033[36m" C_LIGHT_GRAY="\033[37m" print_misc() { echo -e "${C_PURPLE} $1 ${C_NONE}" } print_info() ...
softDi/clusim
tools/empower-tcpdump.sh
Shell
apache-2.0
1,442
#!/bin/bash if [[ -z $* ]] ; then echo 'Supply the name of one of the example classes as an argument.' echo 'If there are arguments to the class, put them in quotes after the class name.' exit 1 fi export CLASSPATH=target/aws-sqs-examples-1.0.jar export className=$1 echo "## Running $className..." shift ech...
awsdocs/aws-doc-sdk-examples
java/example_code/sqs/run_example.sh
Shell
apache-2.0
453
#!/bin/sh # # Copyright 2018 The Outline 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...
Jigsaw-Code/outline-server
src/shadowbox/docker/cmd.sh
Shell
apache-2.0
1,960
#! /bin/bash TEST_NAME=p2p_soak LANGUAGE=C YEAR=$1 MONTH=$2 DAY=$3 pkill reactor-send pkill reactor-recv APP_ROOT=${SHACKLETON_ROOT}/apps/C SEND=${APP_ROOT}/reactor-send RECV=${APP_ROOT}/reactor-recv CPU_A=1 CPU_B=2 #=============================================================== # Throughput Test # In...
mick-goulish/shackleton
tests/p2p_soak/C/throughput/test.sh
Shell
apache-2.0
1,972
bazel build -c opt //tensorflow/examples/android:tensorflow_demo
whn09/tensorflow
build_android.sh
Shell
apache-2.0
65
#!/usr/bin/env bash ENV_JAR=$1 if [[ -z ${ENV_JAR} ]]; then echo "Usage: setup-tests.sh <env_jar>" >&2 exit 1 fi source env.sh echo "Running Unpartitioned Example" impala-shell -i ${IMPALA_HOST} ${IMPALA_SHELL_EXTRA_ARGS} -q "select * from example_output" ${SPARK_CMD} ${SPARK_EXTRA_ARGS} --files env.conf,simple...
cloudera-labs/envelope
examples/impala_ddl/run-tests-clustermode.sh
Shell
apache-2.0
1,602
#!/bin/bash set -e TERRAFORM_DL=${TOOLS_DIR}/terraform-${TERRAFORM_VERSION} mkdir -p ${TOOLS_DIR}/bin if [ ! -d "${TERRAFORM_DL}" ] then mkdir -p ${TERRAFORM_DL} wget -q -O terraform-${TERRAFORM_VERSION}.zip https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_am...
lbernail/demotiad
scripts/install_terraform.sh
Shell
apache-2.0
509
#!/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"); y...
Laurawly/tvm-1
tests/scripts/task_python_vta_fsim.sh
Shell
apache-2.0
1,596
#!/bin/sh JASTROLOGY_HOME=$INSTALL_PATH if [ -z "$JASTROLOGY_HOME" ]; then JASTROLOGY_HOME=. fi MAIN_CLASS=com.ivstars.astrology.gui.Chart if [ -d "$JASTROLOGY_HOME/classes" ]; then TMP_CP=$JASTROLOGY_HOME/classes else TMP_CP=$JASTROLOGY_HOME/target/build fi for i in "$JASTROLOGY_HOME"/lib/*.jar; do TMP_CP="$TMP_CP...
fmisa/jastrology
jastrology.sh
Shell
apache-2.0
410
#note: ensure that policy.json api-map.json are ready in the current directory #usage: ./instrument.sh <app-jar to be instrumented> <api-map.json> <policy.json> #output: Instrumented-App.jar java -jar tools/Instrument.jar $2 $3 java -cp .:tools/aspectjtools.jar org.aspectj.tools.ajc.Main -cp .:tools/aspectjrt.jar -inp...
SINCConcept/P4SINC
instrumentation/test/instrument.sh
Shell
apache-2.0
399
#!/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...
xunilrj/sandbox
courses/columbia-robotic/proj03/catkin_ws/devel/setup.sh
Shell
apache-2.0
2,536
#!/bin/bash while getopts :p:em opt; do case $opt in e) USE_PREBUILT=1 ;; m) MPY=1 ;; p) PP=${OPTARG} ;; \?) usage echo "Invalid option: -${OPTARG}" ;; esac done # clean up if [ -f calvin.msgpack ]; then rm calvin.msgpack fi if [ -f calvin_c ]; then rm calv...
EricssonResearch/calvin-constrained
test/test.sh
Shell
apache-2.0
1,963
#ʾÀý½Å±¾15-1.sh ʹÓüüÅ̰´¼üÏò½Å±¾·¢ËÍÐźŠ#!/bin/bash while ((1)) do echo "hello shell script" sleep 1 done
zhaochl/bash-utils
learn_basic/15章 脚本控制/15-1.sh
Shell
apache-2.0
120
#!/bin/bash # Tricky -- no easy tool to canonicalize the path in Mac OS. KCAA_DIR=$(cd $(dirname $0)/..; pwd) UPDATE_REPOSITORY=${UPDATE_REPOSITORY-1} TMP_DIR=$(mktemp -d /tmp/tmp.XXXXXXXX) function update_repository() { if ((UPDATE_REPOSITORY == 0)); then return fi if [ ! -d .git ]; then echo "No git ...
kcaa/kcaa
tools-mac/update.sh
Shell
apache-2.0
2,276
#!/bin/bash #This is just an example compilation. You should integrate these files into your build system. I can provide boost jam if you want. #If your code uses ICU, edit util/string_piece.hh and uncomment #define USE_ICU #I use zlib by default. If you don't want to depend on zlib, remove #define USE_ZLIB from u...
agesmundo/FasterCubePruning
klm/compile.sh
Shell
apache-2.0
747
#!/bin/bash # This is a script that demonstrates setting up the POX web server for # TLS. Run it and then use the basic_tls_web.cfg configuration file. # Create stuff for server # These are for --ssl_server_key and --ssl_server_cert # This lets you encrypt communication with the server. Since we're self- # signing,...
MurphyMc/pox
pox/samples/create_web_pki.sh
Shell
apache-2.0
3,011
#!/bin/sh if [[ $1 < 1 ]] then echo "You didn't specify a new zone name $1" echo "Usage: $0 ZONE" exit 1 fi newzone=$1 knife client delete $newzone -y knife node delete $newzone -y zoneadm -z $newzone halt zoneadm -z $newzone uninstall -F zonecfg -z $newzone delete -F rm -rf /zones/$newzone ${newzone}.co...
jtimberman/zone-scripts
zone-cleaner.sh
Shell
apache-2.0
357
#!/bin/bash URLS="assets/urls.txt" while read URL; do RESPONSE_CODE=$(curl --write-out %{http_code} --silent --output /dev/null $URL) ...
Merchantville/kiosk
.travis/test_url.sh
Shell
apache-2.0
866
#!/usr/bin/env bash cd $(dirname $0) #stop command stopLoop () { kill -s SIGTERM $! exit 0 } trap stopLoop SIGINT SIGTERM ### run each suite every x seconds, until CTRL + C SLEEP_SEC=5 while [ 1 ] do docker-compose up --force-recreate --build wait $! echo "sleep $SLEEP_SEC seconds" sleep $SLEEP_SEC; ...
ConSol/sakuli-examples
docker-xfce-omd/part_02/sakuli-tests/execute_all_4_monitoring.sh
Shell
apache-2.0
332
#!/bin/sh vconfig add eth0 10 ip link set eth0.10 up ip addr add 192.168.2.1/24 dev eth0.10 ip addr add 2001:470:e4dd:2::1/64 dev eth0.10 sysctl -w net.ipv4.conf.eth0.forwarding=1 sysctl -w net.ipv4.conf.eth0/10.forwarding=1 sysctl -w net.ipv6.conf.all.forwarding=1 sysctl -w net.ipv6.conf.eth0.accept_ra=2 ip route ad...
bjencks/captiveportal
netsetup.sh
Shell
apache-2.0
526
#!/bin/bash TMP_PASSFILE=/tmp/.passfile TMP_USERFILE=/tmp/.usrfile while true do echo "here" sleep 5 done
bdastur/notes
kubernetes/examples/simpleapp/src/start.sh
Shell
apache-2.0
118
#!/bin/bash # vim:expandtab:shiftwidth=4:softtabstop=4:tabstop=4: TMP=${TMP:-/tmp} SECTOR=$(cd $(dirname $0)/..; echo $PWD) export PATH=$PATH:/sbin . $SECTOR/tests/test-framework.sh init_test_env $@ DIR=${DIR:-$MOUNT} build_test_filter if [ "$ONLY" == "cleanup" ]; then check_and_cleanup_sector exit...
deniskin82/sector-sphere
test/recovery.sh
Shell
apache-2.0
1,313
#! /bin/bash # uncomment if you want to turn off IP forwarding # sysctl -w net.ipv4.ip_forward=0 #del iptables iptables-save | grep 'ocserv' | sed 's/^-A P/iptables -t nat -D P/' | sed 's/^-A FORWARD -p/iptables -t mangle -D FORWARD -p/' | sed 's/^-A/iptables -D/' | bash
satifanie/anyconnect
eazy-for-ss-master/ocservauto/stop-ocserv-sysctl.sh
Shell
apache-2.0
277
#!/usr/bin/env bash PLUGIN_MODULES=("./eclipse-sarl/plugins/io.sarl.lang.core" "./eclipse-sarl/plugins/io.sarl.core" "./eclipse-sarl/plugins/io.sarl.util" "./sre/io.janusproject/io.janusproject.plugin") SOURCE_PATH="" for module in "${PLUGIN_MODULES[@]}" do module_path="${module}/target/generated-sources/java" if [...
jgfoster/sarl
build-tools/scripts/generate-aggregate-javadoc.sh
Shell
apache-2.0
696
#!/bin/bash # mxnet path, prefer absolution path MX_ROOT=`pwd`/../mxnet # hostfile, must absolute path HOSTS=`pwd`/hosts # it will create a dir ./logdir-timestamp, and then soft link it to ./logdir function new_log_dir() { if [ $# -ne 1 ]; then echo "usage: new_log_dir ./logdir" exit -1 fi ...
mli/mxnet-benchmark
common.sh
Shell
apache-2.0
427
#!/bin/bash python setup.py sdist python setup.py bdist_wheel --universal
ParadropLabs/Paradrop
tools/pdtools/build.sh
Shell
apache-2.0
75
#!/bin/bash # To run the maprlibrdkafka you MUST pass the client location (/opt/mapr) to /opt/mapr ro IMG="dockerregv2-shared.marathon.slave.mesos:5005/maprlibrdkafka:1.0.0" MAPR="-v=/opt/mapr:/opt/mapr:ro" CMD="/bin/bash" sudo docker run -it --rm $MAPR $IMG $CMD
JohnOmernik/zetaextra
maprlibrdkafka/run.sh
Shell
apache-2.0
273
#!/bin/bash -e # Build venv with juju-deployer from trunk, deploy source novarc tmp_bundle=$(mktemp) tox . .tox/deployer/bin/activate juju bootstrap ||: juju-deployer -vdc juju-bundles/spark-hadoop-processing-on-openstack.yaml tools/float-all.sh tools/float-namenode.sh
ubuntu-openstack/bigdata-novalxd
tools/deploy-spark-on-openstack.sh
Shell
apache-2.0
270
#!/usr/bin/env bash # This script will create S3 buckets, set CORS config and tag bucket with client name # Requires awscli # Verify AWS CLI Credentials are setup # http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html if ! grep -q aws_access_key_id ~/.aws/config; then if ! grep -q aws_access...
swoodford/aws
s3-setup-buckets.sh
Shell
apache-2.0
1,222
#!/usr/bin/env bash # expecs that an SSH tunnel to the private load balancer has already been started ASSET_ID=$1 PORT=${2:-9090} IMAGE=https://picsum.photos/1024/768/?random CREATED_DATE=$(date --iso-8601=seconds) INGESTION_DATE=$(date --iso-8601=seconds) HTTP="http --verbose \ --json \ PATCH ...
kurron/scripts
Overstock/update-asset.sh
Shell
apache-2.0
528
#!/bin/bash # Use kubectl to deploy the app to the set -e set -u export SQL_CONNECTION=`gcloud sql instances describe $SQL_INSTANCE_NAME --format "value(connectionName)"` # TODO: May need to destroy secrets first. kubectl create secret generic cloudsql-instance-credentials --from-file=credentials.json=/cloudsql/key.j...
conversationai/conversationai-moderator
deployments/gcloud/deploy.sh
Shell
apache-2.0
798
#!/usr/bin/env bash # xmake getter # usage: bash <(curl -s <my location>) [branch|__local__|__run__] [commit/__install_only__] set -o pipefail # has sudo? if [ 0 -ne "$(id -u)" ]; then if sudo --version >/dev/null 2>&1 then sudoprefix=sudo else sudoprefix= fi else export XMAKE_ROO...
waruqi/xmake
scripts/get.sh
Shell
apache-2.0
8,932
#!/bin/bash set -e source $(dirname $0)/helpers.sh it_can_put_and_set_first_version() { local repo=$(init_repo) local src=$(mktemp -d $TMPDIR/put-src.XXXXXX) echo 1.2.3 > $src/some-new-file # cannot push to repo while it's checked out to a branch git -C $repo checkout refs/heads/master put_uri $repo $...
concourse/semver-resource
test/put.sh
Shell
apache-2.0
4,692
#!/usr/bin/env bash loadtest -k -n 50000 -c 100 "http://localhost:8080/ServerJava/home.html"
DavidObando/aspnet-memtest
src/java/spring_on_wildfly/loadtest.sh
Shell
apache-2.0
94
#!/bin/bash alias watch='watch ' alias dps='docker ps' function dl { docker ps -lq; } function dlr { docker ps -lq -f "status=running"; } function dlog { x="$(dl)"; if [ -z "$x" ]; then echo "No containers running."; else docker logs "$@" $x; fi ;} alias dlogf='dlog -f' alias dlogt='dlog -t' # Show docker logs for a ...
simple-machines/ansible-aws-infra-services
roles/aws.ec2-autoscaling-group/files/etc/profile.d/99-dockercmd.sh
Shell
apache-2.0
2,248
installer "itau" "brew cask install itau"
carloseduardosx/MyDotFiles
config_environment/itau.sh
Shell
apache-2.0
42
#!/bin/bash #limpado arquivos temporarios: find . -regex ".*\(aux\|bbl\|blg\|log\|nav\|out\|snm\|toc\)$" -exec rm -i {} \;
sanmurilo/seismicii
notas_de_aula/clean_tex.sh
Shell
apache-2.0
123
#!/bin/bash # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
google/tink
kokoro/macos_external/go/bazel/run_tests.sh
Shell
apache-2.0
1,424
#!/usr/bin/env bash #TEST: Stresstest OpenDNSSEC: Many notifies and no updates may go missing. # Start with some BIND9 config BIND9_TEST_ROOTDIR=`pwd` BIND9_NAMED_CONFDIR=$BIND9_TEST_ROOTDIR/bind9 BIND9_NAMED_RUNDIR=$BIND9_TEST_ROOTDIR/bind9 BIND9_NAMED_PIDFILE=$BIND9_NAMED_RUNDIR/named.pid BIND9_NAMED_PORT=10053 BIN...
opendnssec/opendnssec-svn
testing/test-cases-daily.d/signer.adaptors.bind_stress_test/test.sh
Shell
bsd-2-clause
1,408
cat beban_barang3_setwan.sql | sed -e s/setwan/setda/g | sed -e s/"id_skpd = 1"/"id_skpd = 2"/g > beban_barang3_setda.sql cat beban_barang3_setwan.sql | sed -e s/setwan/dispu/g | sed -e s/"id_skpd = 1"/"id_skpd = 3"/g > beban_barang3_dispu.sql cat beban_barang3_setwan.sql | sed -e s/setwan/dishub/g | sed -e s/"id_skpd ...
muntaza/Open_Persediaan
sql_2017/sql2_persediaan/beban_barang3_sql/beban_barang3.sh
Shell
bsd-2-clause
5,067
#!/bin/bash set -e # Configurable variables SSH_HOSTS=(username@hostname username@another-hostname username@third-example-hostname) CHUNK_SIZE=8 ## You don't have to edit anything below this line FILE=$1 BLENDER_OPTIONS=${@:2} if [ -z "$BLENDER_OPTIONS" ]; then BLENDER_OPTIONS="-E CYCLES -F PNG -t 0" fi tiles...
aluminiumgeek/eager-rendering
eager.sh
Shell
bsd-2-clause
2,733
#!/bin/bash fw_depends mysql ffead-cpp export FFEAD_CPP_PATH=$TROOT/ffead-cpp-2.0 export LD_LIBRARY_PATH=$IROOT:$FFEAD_CPP_PATH/lib:$LD_LIBRARY_PATH echo $FFEAD_CPP_PATH echo $LD_LIBRARY_PATH rm -f $FFEAD_CPP_PATH/*.cntrl rm -f $FFEAD_CPP_PATH/tmp/*.sess cp $FFEAD_CPP_PATH/web/te-benchmark/config/sdormmysql.xml $FFEA...
sanjoydesk/FrameworkBenchmarks
frameworks/C++/ffead-cpp/setup-mysql.sh
Shell
bsd-3-clause
613
#!/bin/bash db=$1 eps=$2 rmax=$3 ni=$4 bf=$5 seed=$6 outdir=icde_2016_outputs/private/tree3 ./dph inputs/data/datasets/${db}.dat\ inputs/data/datasets/dph-recall/${db}.dat_${rmax}_${ni}\ ${eps} 0.01 0.5 ${rmax} ${ni} ${bf} ${seed} \ > ${outdir}/${db}_eps${eps}_rmax${rmax}_ni${ni}_bf${bf}_seed${seed}.txt
mihaimaruseac/dphcar
tools/run_scripts/do_run_tree.sh
Shell
bsd-3-clause
319
#!/bin/bash # default variables used by workshops # Hide the warning about env not loaded export _MD_ENV_LOADED_=1 export MY_VAR="andrewjrobinson.github.io" export CAMEL="I have one hUMp"
andrewjrobinson/python-md-environment
enviro/defaults.sh
Shell
bsd-3-clause
191
unamestr=`uname` # only if we don't execute in a docker environment if [[ "$(cat /proc/1/sched | head -n 1)" = "systemd (1, #threads: 1)" ]] && [[ "$unamestr" == 'Linux' ]]; then msscmd="$CONDA_PREFIX/bin/mss" $msscmd -m echo "menue entry ($msscmd -m): done" else echo "called in a container" fi
ReimarBauer/mss-feedstock
recipe/post-link.sh
Shell
bsd-3-clause
312
export THEANO_FLAGS=device=gpu1,floatX=float32 python simultrans_train.py
nyu-dl/dl4mt-simul-trans
run_train.sh
Shell
bsd-3-clause
76
#!/bin/sh setkeycodes 0xCE 225 # 0xCE brightnessup setkeycodes 0xEF 224 # 0xEF brightnessdown
slashbeast/mdev-like-a-boss
keymaps/fujitsu-esprimo_mobile_v6.sh
Shell
bsd-3-clause
94
#!/bin/bash set -e umask 0027 privdir=`realpath ~/ansible.private` mkdir -p ${privdir} test -d ${privdir} && test -w ${privdir} || { echo "${privdir}: dir not found or not writable" >&2 exit 1 } time ansible-playbook -T 15 -i inventory.py \ -e "privdir=${privdir}" $@ main.yml | grep -Ev '^ok:|^skipping:'
jctincan/tsadm-ansible
main.sh
Shell
bsd-3-clause
318
#!/bin/bash # # Create a deb package for the specified Git commit ID of this repo, # defaulting to the current HEAD commit if none specified. # # Options: # -c <Git ref>, e.g. commit ID, to use TIMESTAMP=`date +"%Y-%m-%d %H:%M:%S"` PACKAGE_NAME=sentry VERSION=6.4.4 PKG_DIR=${PACKAGE_NAME}_${VERSION} VIRTUALENV=.venv ...
Rethought/sentry-deb
mkdeb.sh
Shell
bsd-3-clause
2,013
nohup dstat -tcm --output /home/panfengfeng/trace_log/in-memory/movies/fillrandom_mulit_wiredtiger_no_lsm_over 2 > nohup.out & file=/datainssd/publicdata/movies/movies.txt record_num=7911684 dirname=/mnt/datamemory rm -rf $dirname/* echo "####Now, running wiredtiger benchmark" echo 3 > /proc/sys/vm/drop_caches free -...
panfengfeng/leveldb_nark
in-memory-bench/write/test_movies_wiredtiger_over.sh
Shell
bsd-3-clause
1,280
#!/bin/bash # # Copyright (c) 2015-2016, Gregory M. Kurtzer. All rights reserved. # # "Singularity" Copyright (c) 2016, The Regents of the University of California, # through Lawrence Berkeley National Laboratory (subject to receipt of any # required approvals from the U.S. Dept. of Energy). All rights reserved. # # T...
Trophime/singularity
tests/60-legacy.sh
Shell
bsd-3-clause
2,864
#!/bin/bash echo "Setting up CodeSourcery and st-link in $1..." DIR=$1 if [ -d "$DIR" ]; then # Control will enter here if $DIRECTORY exists. if mkdir -p "$DIR/CodeSourcery" -v ; then # success cd $DIR/CodeSourcery wget https://sourcery.mentor.com/sgpp/lite/arm/portal/package9740/public/arm-none-eabi/arm...
bosch-ros-pkg/stm32
setup.sh
Shell
bsd-3-clause
1,217
#!/bin/bash #stop shadowsocks with kill instead of ^c #nohup pyupload >/dev/null 2>&1 & nohup thunderbird >/dev/null 2>&1 & nohup pidgin >/dev/null 2>&1 & nohup /opt/longene/tm2013/tm2013.sh >/dev/null 2>&1 & cd /mnt/DATA/upload;nohup python /home/zz/script/SimpleHTTPServerWithUpload.py >/dev/null 2>&1 & nohup ssloca...
chrisju/script
startup.sh
Shell
bsd-3-clause
385
# # BSD 3-Clause License # # Copyright (c) 2018, mtezych # 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...
mtezych/cpp
static-exceptions/Build.sh
Shell
bsd-3-clause
2,040
#!/bin/bash export DOCKER_NAME=${DOCKER_NAME:=${PWD##*/}} export BUILD_NUMBER=${BUILD_NUMBER:=1} export JOB_NAME=${JOB_NAME:=} # Pull the latest base docker pull docker.psidox.com/base docker kill builder$JOB_NAME docker rm builder$JOB_NAME docker run -t -v $(pwd):/fs --name builder$JOB_NAME docker.psidox.com/base /...
smysnk/saddlewoof
docker-web/build_image.sh
Shell
mit
550
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=GNU-Linux-x86 CND_CONF=Release CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=so NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/testprepar...
Rossoner40/NBU-Classwork-and-Homework
OOP/TestPreparation/nbproject/Package-Release.bash
Shell
mit
1,493
#!/bin/sh -e export HOST_IP="${HOST_IP:-$(/sbin/ip route|awk '/default/ { print $3 }')}" export ETCD_HOST="${ETCD_HOST:-$HOST_IP}" export ETCD_PORT="${ETCD_PORT:-4001}" export ETCD_URL="${ETCD_URL:-http://$ETCD_HOST:$ETCD_PORT}" export ETCDCTL="${ETCDCTL:-etcdctl --peers $ETCD_URL}" export ETCD_TOTEM_BASE="${ETCD_TOTE...
ymind/docker-mongo-es
run.sh
Shell
mit
887
# $1 the channel name # $2 the icecast password # $3 the icecast port # $4 the icecsast server ffmpeg -stats -report -f alsa -i hw:0 -c:a libmp3lame -b:a 128k -legacy_icecast 1 -content_type audio/mpeg -ice_name "DemoStream" -f mp3 icecast://source:$2@$4:$3/$1.ogg
Sistemas-Multimedia/live-streaming
Icecast/Live_media/Screen/Linux/FFMPEG/mp3.sh
Shell
mit
266
#!/bin/bash BASE_DIR=`dirname $0` echo "" echo "Starting Karma Server (http://karma-runner.github.io)" echo "-------------------------------------------------------------------" node_modules/karma/bin/karma start $BASE_DIR/../config/karma.conf.js $*
qandidate-labs/qandidate-toggle-ui
scripts/test.sh
Shell
mit
253
#!/bin/bash # # run_test.sh # # This script is use to test C-c compiler. # Usage: ./run_test <PARTICULAR_TEST_INPUT> # # Author: cyng93 # Email: cyng93<at>gmail.com INPUT=$1 let VERBOSE=1 OUTPUT="${INPUT}.$(whoami)" GOLD_ANS="${INPUT}.gold" TEST_AVAILABLE=$(find . -iname "*.cm") USAGE="\ ~> invalid syntax !\n\n\ ...
cyng93/C-c-test
symbol_table_test/run_test.sh
Shell
mit
1,637
#!/bin/sh ### BEGIN INIT INFO # Provides: hostname # Required-Start: # Required-Stop: # Default-Start: S # Default-Stop: # Short-Description: Set hostname based on /etc/hostname ### END INIT INFO HOSTNAME=$(/bin/hostname) hostname -b -F /etc/hostname 2> /dev/null if [ $? -eq 0 ]; then exit fi # Busybox ...
marcosbontempo/inatelos
poky-daisy/meta/recipes-core/initscripts/initscripts-1.0/hostname.sh
Shell
mit
577
#!/bin/sh # 要utf-8方式编码的输入才能正常运行 # cygwin的运行环境需要设置 Options->Text->Character set:选择utf-8 help() { cat <<EOF USAGE: $0 [-c] [-h] "要生成位图的字符" > 位图存放路径 EXAMPLES: $0 "汉字" > ./output.bmp EOF } color_anti_flag=0 while getopts "c" opt do case $opt in c) color_anti_flag=1 ;; ?) echo "argv error" exit 1;;...
lin2724/dot_matrix_font_to_bmp
characters2bmp.sh
Shell
mit
653
#!/bin/sh PROGNAME=$(basename $0) error_exit () { # ---------------------------------------------------------------- # Function for exit due to fatal program error # Accepts 1 argument: # string containing descriptive error message # ---------------------------------------------------------------- ...
MysteriousChanger/burrito-cockpid
linux/arduino/firmware-stage.sh
Shell
mit
1,071
#!/bin/bash # This script was used by package.json during `npm run coverage` # # Initially this was done to have our unit tests and integration # tests run seperately while still combining their coverage data. # # One reason to was that the tests were failing when run together. # Now something has changed and this is n...
henrjk/connect
coverage.sh
Shell
mit
950
#!/bin/sh set -e UNSIGNED=$1 SIGNATURE=$2 ARCH=x86_64 ROOTDIR=dist BUNDLE=${ROOTDIR}/Diamond-Qt.app TEMPDIR=signed.temp OUTDIR=signed-app if [ -z "$UNSIGNED" ]; then echo "usage: $0 <unsigned app> <signature>" exit 1 fi if [ -z "$SIGNATURE" ]; then echo "usage: $0 <unsigned app> <signature>" exit 1 fi rm -r...
LIMXTEC/DMDv3
contrib/macdeploy/detached-sig-apply.sh
Shell
mit
1,229
#!/bin/bash -x # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. echo "version" > "website/_data/flow_dot_js_versions.csv" git ls-remote --tags 2>/dev/null | awk '{print $2}' | cut -d/ -f3 |...
facebook/flow
.circleci/list_versions.sh
Shell
mit
500
#!/usr/bin/with-contenv bash cat << EOF > ${CONFD_HOME}/etc/conf.d/rancher-backup.yml.toml [template] prefix = "${CONFD_PREFIX_KEY}" src = "rancher-backup.yml.tmpl" dest = "${APP_HOME}/config/rancher-backup.yml" uid = 1001 gid = 1001 mode = "0644" keys = [ "/duplicity", "/rancher", "/module", "/cron" ] EOF c...
disaster37/rancher-backup
root/etc/cont-init.d/01-gen-confd-config.sh
Shell
mit
501
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=GNU-Linux-x86 CND_CONF=Release CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=so NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/easyeye-ex...
mike10004/easyeye
easyeye-extract/nbproject/Package-Release.bash
Shell
mit
1,493
#!/bin/bash set -e if [ "${1:0:1}" = '-' ]; then set -- mysqld "$@" fi if [ "$1" = 'mysqld' ]; then # read DATADIR from the MySQL config DATADIR="$("$@" --verbose --help 2>/dev/null | awk '$1 == "datadir" { print $2; exit }')" if [ ! -d "$DATADIR/mysql" ]; then if [ -z "$MYSQL_ROOT_PASSWORD" -a -z "$MYSQL_ALL...
wangyingang/docker-images
ubuntu/14.04/mysql/docker-entrypoint.sh
Shell
mit
1,624
#!/bin/sh rm fullRiver go build fullRiver.go #for test #./fullRiver -url="http://10.8.15.168:9200" -index=aipco.es_v2 -type=product -n=100000 -bulk-size=2000 #for pre # ./fullRiver -url="http://10.8.51.121:9200" -index=aipco.es_v2 -type=product -n=100000 -bulk-size=2000 #for product ./fullRiver -url="http://es.sear...
stanxii/iccrawler
indexRiver/go_aipco.sh
Shell
mit
398
EXE=/home/magh/AFS/COIN/coin-Dip/build-O/Dip/examples/ATM/decomp_atm PARM=/home/magh/AFS/COIN/coin-Dip/Dip/data/ATM/atm.pc.parm #20_200 for ad in 5_25 5_50 10_50 10_100 20_100 do for i in {1..5} do echo "Running " ${ad}_${i} ${EXE} --param ${PARM} --ATM:DataAtm atm_randA_${ad}_${i}.txt --ATM:DataDate atm_randD_$...
tkralphs/Dip
Dip/data/ATM/atm.pc.sh
Shell
epl-1.0
447
#!/system/bin/sh # Created By Dorimanx and Dairinin # Modified by UpInTheAir for SkyHigh kernel & Synapse # Busybox if [ -e /su/xbin/busybox ]; then BB=/su/xbin/busybox; else if [ -e /sbin/busybox ]; then BB=/sbin/busybox; else BB=/system/xbin/busybox; fi; fi; ROOTFS_MOUNT=$(mount | grep rootfs | cut -c26-27 | g...
Tkkg1994/SuperKernel
ramdisk/SM-G935F/ramdisk/res/crontab_service/service.sh
Shell
gpl-2.0
3,269
#!/bin/bash if [ "$1" != "ssh-login" ]; then # remote install via ssh? GW_IP=`route -n | awk '/^0.0.0.0/ { print $2 }'` echo "Performing remote install to root@$GW_IP (requires PermitRootLogin=yes in sshd config)..." ls -Al /install/ ssh root@$GW_IP 'bash -s ssh-login ' < $0 exit fi DOCKER='/usr/bin/docker' # R...
jbemmel/ecDock
install_ecDock.sh
Shell
gpl-2.0
1,018
#!/bin/sh /bin/mkdir -pv ${HOME}/.local/lib/deadbeef ## GTK2 version if [ -f ./.libs/ddb_misc_filebrowser_GTK2.so ]; then /usr/bin/install -v -c -m 644 ./.libs/ddb_misc_filebrowser_GTK2.so ${HOME}/.local/lib/deadbeef/ else /usr/bin/install -v -c -m 644 ./ddb_misc_filebrowser_GTK2.so ${HOME}/.local/lib/deadbee...
JesseFarebro/deadbeef-librarybrowser
userinstall.sh
Shell
gpl-2.0
1,160