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 #desc: 计算程序执行用时时间 #date: 7.22.2016 #author: luis x=1 y=0 while true do if [ $1 -a -e $1 ]; then videopath=$1 else read -p "PLS write your video path: " videopath fi if [ $videopath -a -e $videopath ]; then echo -e "$videopath is exist...
laurey/shellscript
timeusage.sh
Shell
gpl-3.0
1,015
# Set the PATH variable in applet.js echo Setting the applet.js PATH variable.. NEW_LOCATION=${HOME}/.local/share/cinnamon/applets/ NEW_DIR=${NEW_LOCATION}hdmi-controller@andrewmac.ca/ REGEX="s/CHANGEME/${NEW_DIR//\//\\/}/" sed $REGEX < applet.js > hdmi-controller@andrewmac.ca/applet.js # COPY FILES TO NEW LOCATION ec...
andr3wmac/HDMI-Controller
cinnamon_applet/install.sh
Shell
gpl-3.0
426
#!/bin/sh ## ## Nautilus ## SCRIPT: grep02_regexpMatchLines_egrep1file.sh ## ## PURPOSE: Show the lines of a file matching a user-specified ## string or regular expression, using 'egrep'. ## ## HOW TO USE: In Nautilus, navigate to a file, select it, ## right-click and choose this Nautilus script to...
kernt/linuxtools
gnome3-shell/nautilus-scripts/System/File Info/EXAMINEfiles/Regexp-MatchLines-Egrep-1File.sh
Shell
gpl-3.0
3,754
#!/bin/sh ./unix_common.sh freebsd gtk2 i386 builds/freebsd-x32-gtk2 ~/cudatext_build
vhanla/CudaText
setup/z_freebsd_x32.sh
Shell
mpl-2.0
86
npm install bower install --allow-root
Open365/desktop
prepare.sh
Shell
agpl-3.0
39
#!/usr/bin/env bash # DEV_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" LESS_DIR="$DEV_DIR/openbibl-less" JS_DIR="$DEV_DIR/../js" DOCS_DIR="$DEV_DIR/../docs" echo "-> Compiling LESS files" "$LESS_DIR/openbibl.less.sh" -c -v if [ "$?" != "0" ]; then echo "Error compiling LESS files. Exiting." exit 1 ...
kirschbombe/openbibl
dev/build.sh
Shell
agpl-3.0
557
#!/bin/bash for file in `find . -type d -not -ipath "*git*" -print`; do url=`echo $file | sed 's#^.#https://godoc.org/baliance.com/gooxml#'` echo $url curl -s $url -o /dev/null sleep 10 done
LYY/code2docx
vendor/baliance.com/gooxml/update-godoc.sh
Shell
agpl-3.0
206
#!/bin/bash #Setup a Kyotocabinet database and convert data set -o errexit -o nounset KCNAME="/usr/local/tmp/KCKONKORDANZ.db" function Usage { echo "usage: $0 [--create-database bsz_concordance_file] issn_to_superior_map outfile" } function SetupDatabase { local mapping_file=$1 kchashmgr create -otr -tc $...
ubtue/ub_tools
cpp/rewrite_issn_to_superior_map.sh
Shell
agpl-3.0
1,121
#!/bin/bash set -e declare -A lambdas lambdas["pr-account-service"]="account-service" lambdas["pr-contract-scanner"]="contract-scanner" lambdas["pr-event-worker"]="event-worker" lambdas["pr-inverval-scanner-2"]="interval-scanner" lambdas["pr-oracle-cashgame"]="oracle" lambdas["pr-seat-reservation"]="reserve-service"...
acebusters/ab-web
scripts/deploy_production.sh
Shell
agpl-3.0
1,259
#!/bin/sh # this shell launches a native command $1 from a temporary directory # nammed by $PAS_TASK_ID env variable specified by ProActiveScheduler # at Job submission if [ $# -lt 1 ] then echo "you must specify at least the command to launch" echo "Usage: launcher.sh executable_to_launch [parameters...]" exit 1 fi...
acontes/scheduling
samples/jobs_descriptors/job_native_linux_file_output/launcher.sh
Shell
agpl-3.0
837
#!/bin/bash runheader=$(which run_header.sh) if [[ $runheader == "" ]] || [ $(cat $runheader | grep "run_header.sh Version 1." | wc -l) == 0 ]; then echo "Could not find run_header.sh (version 1.x); make sure that the benchmark scripts directory is in your PATH" exit 1 fi source $runheader # run insta...
hexhex/core
benchmarks/strategiccontrol1/run.sh
Shell
lgpl-2.1
757
#!/bin/bash file=/etc/passwd num=(20 40 60 56 32 25) for ((i=0;i<${#num[*]};i++)) do head -${num[$i]} $file |tail -1 >>/tmp/test.log done
XiaJieCom/change
scripts/read.sh
Shell
lgpl-2.1
139
#!/bin/bash # extractor -- embed/extract tar.gz into script.sh # # Użycie: # cat extractor.sh source.tar.gz > install.bin echo "Extracting file ..." # licznik ile linii pliku odciąć COUNT=$(awk '/^__SOURCE__/ { print NR + 1}' "$0") # obcięcie nagłówka i binarka do potoku | rozpakowanie tail -n+$COUNT "$0" | t...
borzole/borzole
bin/extractor.sh
Shell
lgpl-3.0
483
#!/usr/bin/env bash #""" # Practice actions #""" # dependencies DIR_THIS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "${DIR_THIS}/func.sh" #""" # top bar #""" practice_sortie() { echo "$(date +%T) [Debug] practice_sortie()..." zmcs 549 61 117 14 1 $T_CLICK_API_ANIMATE } practice_expd() { echo ...
cbhuang/kcauto
src/practice.sh
Shell
lgpl-3.0
893
#!/bin/bash # Exit immediately on error set -eu -o pipefail # Python module where to install libs PYTHON_VERSION=2.7.11 PYTHON_MODULE=mugqic/python/${PYTHON_VERSION} module load $PYTHON_MODULE ## Install Python libraries #pip easy_install pip # cython #easy_install http://cython.org/release/Cython-0.23.4.tar.gz pip...
ccmbioinfo/mugqic_pipelines
resources/modules/python_lib.sh
Shell
lgpl-3.0
1,899
#! /bin/bash ## Test of SIMPLI provisionning module source "../../../test/test_common.sh" "git, utility to checkout a repo" ## add special apt sources here before loading simpli ## (not needed) ## now load simpli which will do apt-get update source "${SIMPLI_DIR}/bin/index.sh" OSL_EXIT_abort_execution_if_bad_retcod...
Offirmo/simpli
modules/offirmo/git/test/run_me_to_checkout_simpli_repo_on_current_machine.sh
Shell
unlicense
586
#!/bin/sh ################################################################################################ # # Used by AutoImagrNBI created nbi's on launch to set Time, Screen Sharing & install Certificates # ################################################################################################ ######## # # ...
macmule/AutoImagrNBI
AutoImagrNBI/Boot.sh
Shell
unlicense
4,720
# Required for $langinfo zmodload zsh/langinfo # URL-encode a string # # Encodes a string using RFC 2396 URL-encoding (%-escaped). # See: https://www.ietf.org/rfc/rfc2396.txt # # By default, reserved characters and unreserved "mark" characters are # not escaped by this function. This allows the common usage of passing...
j-c-m/dotfiles
.zsh/00-functions.zsh
Shell
unlicense
2,457
#!/usr/bin/env zsh # history HISTFILE=~/.zhistory HISTSIZE=1000 SAVEHIST=1000 setopt appendhistory # append rather than replace setopt HIST_FIND_NO_DUPS # show commands only once when searching # setopt autocd # allows you to skip the cd command setopt extendedglob # enables things like "cp ^*.(tar|bz2|gz)" seto...
toddbernhard/dotfiles
zsh/misc.zsh
Shell
unlicense
740
set -e jpackage --type deb --name Nightcode --app-version $1 --input target --main-jar Nightcode-$1-linux.jar --icon package/linux/Nightcode.png --copyright "Public Domain" --linux-shortcut --linux-app-category Development jpackage --type app-image --name Nightcode --app-version $1 --input target --main-jar Nightcode...
oakes/Nightcode
package-lin.sh
Shell
unlicense
696
#!/usr/bin/env bash # Copyright 2016 The Kubernetes 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 applicab...
blakebarnett/kops
hack/verify-bazel.sh
Shell
apache-2.0
1,764
#!/bin/bash declare -a cleanupARR declare -a cleanupLBARR declare -a dbInstanceARR declare -a ARN declare -a s3 aws ec2 describe-instances --filter Name=instance-state-code,Values=16 --output table | grep InstanceId | sed "s/|//g" | tr -d ' ' | sed "s/InstanceId//g" mapfile -t cleanupARR < <(aws ec2 describe-instanc...
itmo544/itmo544-444-env
destroy-all.sh
Shell
apache-2.0
4,183
#!/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 ...
datacommonsorg/website
gke/create_robot_account.sh
Shell
apache-2.0
911
#!/bin/bash # Copyright 2014 Google Inc. All rights reserved. # # 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...
timothysc/kubernetes
cluster/vagrant/config-default.sh
Shell
apache-2.0
2,531
#!/usr/bin/env bash set -e path=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) cli="$path/../../../bin/esxcloud-cli" # Store initial list of tenants initialTenants=$($cli -n tenant list | awk '{print $2}') # Create many tenants named by a letter in the alphabet for name in {a..z} do $cli -n tenant create $na...
vmware/photon-controller-cli
photon/sample_scripts/tenant_cli.sh
Shell
apache-2.0
828
#!/bin/bash set -ex yarn lint yarn test yarn gendoc
krombel/matrix-js-sdk
travis.sh
Shell
apache-2.0
56
#!/usr/bin/env bash WORK_DIR=threshold_set QUERY_CONFIG=cfg_threshold_set DISTR_METHOD=set_ttcr_dict LOG_FILE=${P2PA_CRONJOBS_LOG_DIR}/get_threshold_set.log echo "$(date +"%Y-%m-%d %H:%M:%S") - starting" > ${LOG_FILE} 2>&1 ${P2PA_CRONJOBS_DIR}/bin/p2pamodel_run.sh collector --verbose --force --work-dir ${WORK_DIR} ...
XDatum/prodsys-pa-model
local/bin/get_threshold_set.sh
Shell
apache-2.0
597
#!/usr/bin/env bash set -e source bosh-cpi-src/ci/tasks/utils.sh source /etc/profile.d/chruby-with-ruby-2.1.2.sh cpi_release_name="bosh-google-cpi" semver=`cat version-semver/number` pushd bosh-cpi-src echo "Using BOSH CLI version..." bosh version echo "Creating CPI BOSH Release..." bosh create release --n...
erjohnso/bosh-google-cpi-release
ci/tasks/build-candidate.sh
Shell
apache-2.0
607
#!/usr/bin/env bash source "$(dirname "${BASH_SOURCE}")/lib/init.sh" os::build::setup_env os::util::ensure::built_binary_exists 'client-gen' 'vendor/k8s.io/kubernetes/staging/src/k8s.io/code-generator/cmd/client-gen' # list of package to generate client set for packages=( github.com/openshift/origin/pkg/authorizat...
sferich888/origin
hack/update-generated-clientsets.sh
Shell
apache-2.0
1,963
#!/bin/bash echo "#########################################" echo "Building node version 0.12.15" echo "#########################################" docker build -t dockbit/node:0.12.15 .
Dockbit/library
node/0.12.15/build.sh
Shell
apache-2.0
187
#!/bin/bash # Copyright 2021 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 ...
googleapis/java-monitoring
.kokoro/release/publish_javadoc11.sh
Shell
apache-2.0
1,857
# 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"); you may not u...
Spirals-Team/hadoop-benchmark
scenarios/spark-on-yarn/image/hadoop-conf/hadoop-env.sh
Shell
apache-2.0
4,454
freePorts=(`netstat -ant | sed -e '/^tcp/ !d' -e 's/^[^ ]* *[^ ]* *[^ ]* *.*[\.:]\([0-9]*\) .*$/\1/' | sort -g | uniq`) lowerPort=32768 upperPort=61000 #echo "Used ports: ${freePorts[*]}" while :; do for (( port = lowerPort ; port <= upperPort ; port++ )); do if [[ " ${freePorts[*]} " != *" $port "* ]]; ...
nicolinux72/anarchia
bin/dodo.sh
Shell
apache-2.0
584
#!/bin/bash -e # Copyright (c) 2017 Stefan Katerkamp (katerkamp.de) . target/maven-shared-archive-resources/bash/config.sh 2>/dev/null || (echo "ERROR. Fix: run from project basedir."; exit 1) . $SHAREPATH/bash/lib.sh echo "FONTS........." runscript pull-googlefonts.sh echo "GIT REPOS........." runscript pull-repos...
skaterkamp/szoo-faces
build-helpers/src/bash/make-pulls.sh
Shell
apache-2.0
389
#!/bin/bash set -ex pushd $BASE/new/devstack DEVSTACK_GATE_DESIGNATE_DRIVER=${DEVSTACK_GATE_DESIGNATE_DRIVER:-powerdns} export KEEP_LOCALRC=1 export ENABLED_SERVICES=designate,designate-api,designate-central,designate-sink,designate-mdns,designate-pool-manager echo "DESIGNATE_SERVICE_PORT_DNS=5322" >> $BASE/new/de...
cneill/designate
contrib/devstack/gate_hook.sh
Shell
apache-2.0
773
#!/bin/bash stty -echo rm -rf ../StandOut/library/bin/res/crunch pushd IrLib ant release popd pushd sdk ant deploy popd ant deploy cat version.properties stty echo
yolanother/universalremote
build.sh
Shell
apache-2.0
171
#!/bin/bash set -e set -x set -o pipefail git clean -f -d -X rm -r -f $PWD/.pyenv export PYENV_ROOT="$PWD/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" if [[ "$(uname -s)" == 'Darwin' ]]; then brew update || brew update brew install pyenv brew outdated pyenv || brew upgrade pyenv if [[ "${OPENSSL}" != ...
Cygnus-Inc/Cygnet-Adapter
.travis/install.sh
Shell
apache-2.0
1,769
WORKERS=2 #total workers = masters+slaves NODES=10000 #total graph nodes LOGN_WEIGHT_M=0 LOGN_WEIGHT_S=1.0 #sigma WEIGHTGEN=1 UPLOADDFS=false HADOOPPATH=/home/yzhang/hadoop-priter-0.1/bin/hadoop :<<BLOCK #for sp GRAPH=input/maxval_graph LOGN_DEGREE_M=-0.5 LOGN_DEGREE_S=2.3 LOGN_WEIGHT_M=0 LOGN_WEIGHT_S=1.0 WEI...
deepakcu/maestro
sw/gengraph.sh
Shell
apache-2.0
1,253
#!/bin/bash # Copyright (c) 2013-2015, Rethink Robotics # All rights reserved. # This file is to be used in the *root* of your Catkin workspace. # This is a convenient script which will set up your ROS environment and # should be executed with every new instance of a shell in which you plan on # working with Baxter. ...
u3099811/BaxterTictacToe
baxter.sh
Shell
apache-2.0
6,122
#!/bin/bash ## \cond #HEADSTART############################################################## # #PROJECT: UnifiedTraceAndLogManager #AUTHOR: Arno-Can Uestuensoez - acue.opensource@gmail.com #MAINTAINER: Arno-Can Uestuensoez - acue.opensource@gmail.com #SHORT: utalm-bash #LICENSE: Apache-2.0 + C...
ArnoCan/utalm
src/utalm-bash/src/bin/setversion.sh
Shell
apache-2.0
6,877
# # Copyright 2015-2016 USEF Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
FHPproject/FHPUsef
usef-environment/bin/start-h2-database.sh
Shell
apache-2.0
3,436
#!/bin/bash set -e lsd invoke.lsd gate.tokenizer_2.0.0 test-data/hello_world.txt test-data/tokenizer-expected.gate lsd invoke.lsd gate.splitter_2.0.0 test-data/tokenizer-expected.gate test-data/splitter-expected.gate lsd invoke.lsd gate.tagger_2.0.0 test-data/splitter-expected.gate test-data/tagger-expected.gate lsd i...
oanc/galaxy-tools
bak/maketestdata.sh
Shell
apache-2.0
801
#!/bin/bash # Script that generate the CA and the certificates if [ -z "$JAVA_HOME" ] then echo "Please set JAVA_HOME" exit -1 fi # Delete all previously created certificates find . ! -name '*.sh' -delete ####################################################### # Certification Authority ...
vives/identity-outbound-auth-x509
component/authenticator/src/certificate/create_certificates.sh
Shell
apache-2.0
3,596
#!/bin/bash set -e function osd_directory_single { if [[ ! -d /var/lib/ceph/osd ]]; then log "ERROR- could not find the osd directory, did you bind mount the OSD data directory?" log "ERROR- use -v <host_osd_data_dir>:/var/lib/ceph/osd" exit 1 fi # pick one osd and make sure no lock is held for OS...
ceph/ceph-docker
src/daemon/osd_scenarios/osd_directory_single.sh
Shell
apache-2.0
1,425
trap "echo FAILED!; exit 1" ERR # cd to the dir of this script to make paths simpler cd "$(dirname "$0")" arcyd="$(pwd)/../../proto/arcyd" tempdir=$(mktemp -d) olddir=$(pwd) cd ${tempdir} $arcyd dev-status-html chromium-browser *.html cd ${olddir} rm -rf ${tempdir} # -----------------------------------------------...
valhallasw/phabricator-tools
testbed/arcyd/status_html_testbed.sh
Shell
apache-2.0
1,026
sudo mkdir /var/run/skyline sudo /opt/skyline/skyline-master/bin/horizon.d start sudo /opt/skyline/skyline-master/bin/analyzer.d start sudo /opt/skyline/skyline-master/bin/webapp.d start sudo chmod +x /vagrant/gridpot-feeder/gridpot_feeder.py sudo /vagrant/gridpot-feeder/gridpot_feeder.py
sk4ld/vagrant-skyline-puppet
bootstrap2.sh
Shell
apache-2.0
289
#!/bin/bash echo " " echo "( what are you doing? )" echo --------------------- echo " o ^__^ " echo " o (oo)\_______" echo " (__)\ )\/\ " echo " ||----w | " echo " || || " echo echo "...."中间件日志分析脚本v2.0"...
stanxii/indexRiver
SRE_shell/nginx-Log-Analysis.sh
Shell
apache-2.0
8,240
#!/bin/sh ../../../../../../../../closure-library-99cd91/closure/bin/calcdeps.py \ --dep ./../../../../../../../../closure-library-99cd91 \ --path ./../../../../../../main/javascript/org/jboss/search/list \ --output_mode deps \ > Project_test_deps.js echo "Generated file: Project_test_deps.js"
searchisko/search.jboss.org-ui
searchPage/src/test/html/org/jboss/search/list/Project_test_calcdeps.sh
Shell
apache-2.0
296
#!/bin/bash mvn install -Dmaven.test.skip.exec=true -Pconfigdoc
nmldiegues/stibt
infinispan/bin/generateConfigDocs.sh
Shell
apache-2.0
65
#!/bin/bash #download cirros from the internet and update it to teh database
Deepankar01/openstack_scripts
glance/download.sh
Shell
apache-2.0
78
#!/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 ...
panelion/incubator-stratos
products/cartridge-agent/modules/distribution/src/main/extensions/instance-activated.sh
Shell
apache-2.0
1,211
#!/usr/bin/env bash host=$ORG-$ENV.apigee.net #accounts-connector cp src/gateway/accounts-connector/config.orig src/gateway/accounts-connector/config.json sed -i "s/__APPORG__/$UGORG/g" src/gateway/accounts-connector/config.json sed -i "s/__APPAPP__/$UGAPP/g" src/gateway/accounts-connector/config.json #authenticatio...
rupamrai/openbank
setup/apis.sh
Shell
apache-2.0
2,448
#!/bin/bash #Script tem que receber 5 parametros, senão não executará if [ $# -lt 9 ]; then echo "./criar_entidade [id] [tipo] [temperatura] [umidade] [som] [data] [hora] [co2] [tensaocolmeia] [tensaorepetidor]" exit 1 fi (curl 35.184.233.148:1026/v1/updateContext -s -S --header 'Content-Type: application/json' ...
alissonlimasilva/smartbee
Fiware/Orion/atualizar_entidade.sh
Shell
apache-2.0
1,782
#!/bin/bash # Copyright 2018 Verily Life Sciences Inc. All Rights Reserved. # # 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 requ...
DataBiosphere/dsub
test/integration/e2e_retries_fail_1.sh
Shell
apache-2.0
1,259
#!/bin/bash if [ "x$@" == "x" ] ; then JAVASCRIPT_JSLINT="\ `find ./js/actions -name "*.js"` \ `find ./js/common/bootstrap -name "*.js"` \ `find ./js/client/bootstrap -name "*.js"` \ `find ./js/server/bootstrap -name "*.js"` \ \ `find ./js/common/modules/@arangodb -name "*.js"` \ `find ./...
m0ppers/arangodb
utils/jslint.sh
Shell
apache-2.0
1,899
# This script takes care of building your crate and packaging it for release set -ex main() { local src=$(pwd) \ stage= case $TRAVIS_OS_NAME in linux) stage=$(mktemp -d) ;; osx) stage=$(mktemp -d -t tmp) ;; esac test -f Cargo....
renatoathaydes/jgrab
jgrab-client/ci/before_deploy.sh
Shell
apache-2.0
579
#1 echo "Making sure that <WGET> & <CURL> modules exist !" sudo apt-get update sudo apt-get install wget -y sudo apt-get install curl -y #IMPROTANT for ubuntu 14.04+ echo "Updating the kernel ! FIXX " sudo apt-get install linux-image-extra-$(uname -r) -y sudo apt-get install linux-image-extra-virtual -y #extra for co...
krakky/market
rancher_standalone/bin/ubuntu/trusty/1_wget_curl_prequisite.sh
Shell
apache-2.0
349
#!/bin/bash source ~/setupRoot.sh xrdcp $1 $2
DHTC-Tools/connect-monitors
run_xrdcp.sh
Shell
apache-2.0
46
#!/bin/bash # Luke Shannon # Source this script to set Java home, the path will need to be updated accordingly export JAVA_HOME=$(/usr/libexec/java_home -v 1.7) echo "Java home is set to: $JAVA_HOME"
Pivotal-Open-Source-Hub/geode-demo-application
demo/geode-server-package/setJDK.sh
Shell
apache-2.0
199
#!/bin/bash # Copyright 2015 The Kubernetes Authors All rights reserved. # # 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 require...
christian-posta/kubernetes
docs/getting-started-guides/docker-multinode/worker.sh
Shell
apache-2.0
5,772
#!/usr/bin/env bash cd ./../var/lib/GeoIP/ ./download.sh cd ./../../../ansible ansible-playbook -i ./hosts site.yml
schmalle/put-service
ansible/start.sh
Shell
apache-2.0
118
#!/bin/sh /home/michael/bin/fPls -T 10 -L-1 -v http://localhost:8000/stream.m3u 2>/dev/null | /usr/bin/sox -t mp3 - -t wav - silence -l 1 0.3 1% -1 3.0 1 2>/dev/null | /home/michael/gallowaynow/galloway_now/script/dispatch_tones.pl
mikegrb/GallowayNow
galloway_now/script/do_dispatch_tones.sh
Shell
artistic-2.0
238
#!/bin/sh edje_cc $@ -id . -fd . bodhiforum.edc -o ../MokshaForum-elm.edj
JeffHoogland/MokshaForum
forum-elm/build.sh
Shell
bsd-2-clause
74
#!/usr/bin/env bash MASON_NAME=minjur MASON_VERSION=feac70472f46c3145b6bdf7a02fdc37777828318 . ${MASON_DIR}/mason.sh function mason_load_source { mason_download \ https://github.com/mapbox/minjur/tarball/feac70472f46c3145b6bdf7a02fdc37777828318 \ 4af6719285ab68ad99ba35e441b925cc950a1a27 maso...
hydrays/osrm-backend
third_party/mason/scripts/minjur/feac70472f46c3145b6bdf7a02fdc37777828318/script.sh
Shell
bsd-2-clause
1,830
curl -XPOST 'http://127.0.0.1:9200/test-index/test-type/_search?pretty=true' -d '{ "query": { "simple_query_string": { "query": "\"nice guy\" -not", "fields": [ "parsedtext^5", "_all" ], "default_operator": "and" } } }'
aparo/elasticsearch-cookbook-third-edition
chapter_06/simple_query_string_query.sh
Shell
bsd-2-clause
271
#!/bin/bash docker run -p 8080:8080 crossbuild-wildfly
cen1/cross.build
deployment/wildfly/run.sh
Shell
bsd-2-clause
55
#!/bin/bash set -e set -o pipefail stylus styles/app.styl --out static/css --compress -u nib --import nib
wjack/wjack.github.io
scripts/postbuild.sh
Shell
bsd-3-clause
107
#!/bin/bash echo "Open Chrome browser and visit URL: chrome://inspect" #node --inspect-brk run-server.js node --inspect- run-server.js
web-dev-server/example-helloworld
run-server-in-debug-mode.sh
Shell
bsd-3-clause
135
#!/bin/bash uncompress_lib () { if [ ! -f $1.tar ] then gunzip < $1.tar.gz > $1.tar fi tar -xvf $1.tar } libdir=`pwd` export CFLAGS="-fPIC" if [ ! -f fftw3/lib/libfftw3.a ] then if [ ! -d fftw3 ] then mkdir fftw3 fi echo 'Building libfftw3 ...' uncompress_lib fftw-3.3.2 cd fftw-3.3.2 ....
stephenplaza/NeuTu
neurolabi/lib/build.sh
Shell
bsd-3-clause
1,711
#!/usr/bin/env bash if [[ -f "$(dirname "$0")/src/mySortMaildir.hs" ]]; then # pushd "$(dirname "$0")/src" >/dev/null # ./mySortMaildir.hs # popd >/dev/null pushd "$(dirname "$0")" >/dev/null cabal run mySortMaildir popd >/dev/null else cat << EOF The file $(dirname "$0")/src/mySortMaildir.hs does not...
maximilianhuber/mySortMaildir
mySortMaildir.sh
Shell
bsd-3-clause
424
#!/bin/bash # This script runs astyle and complains about lines that are too long # over all files ending in .h, .c, .cpp listed by git in the given # directory. # Check for the latest astyle version ASTYLE_VER_REQUIRED_1="Artistic Style Version 2.05.1" ASTYLE_VER_REQUIRED_2="Artistic Style Version 2.06" ASTYLE_VER_R...
YUNEEC/Yuneec-SDK-Android-Example
fix_style.sh
Shell
bsd-3-clause
3,544
export SWALS_SRC='../../src' source ${SWALS_SRC}/test_run_commands # Clean existing binary rm ./uniform_slope ./outfile.log rm -r ./OUTPUTS # Build the code make -B -f make_uniform_slope > build_outfile.log # Run the job eval "$OMP_RUN_COMMAND ./uniform_slope > outfile.log" # Plot it and report tests Rscript plot_resu...
GeoscienceAustralia/ptha
propagation/SWALS/examples/uniform_slope_shallow/run_model.sh
Shell
bsd-3-clause
326
#!/bin/sh VERSION=\"$(git log -n1 --pretty=format:'%h (%cd)' --date=iso )\" cat <<EOF package termite func init() { version = new(string) *version = ${VERSION} } EOF
hanwen/termite
termite/genversion.sh
Shell
bsd-3-clause
170
# $OpenBSD: cfgmatch.sh,v 1.9 2015/03/03 22:35:19 markus Exp $ # Placed in the Public Domain. tid="sshd_config match" pidfile=$OBJ/remote_pid fwdport=3301 fwd="-L $fwdport:127.0.0.1:$PORT" echo "ExitOnForwardFailure=yes" >> $OBJ/ssh_config echo "ExitOnForwardFailure=yes" >> $OBJ/ssh_proxy start_client() { rm -f $p...
TigerBSD/TigerBSD
FreeBSD/crypto/openssh/regress/cfgmatch.sh
Shell
isc
3,915
#!/bin/sh if [ "$1" = "" ]; then echo "USAGE: $0 version" exit 1 fi dist=jsonhandle-$1 file=jsonhandle-$1.zip cd examples make clean cd .. rm -rf $dist $file mkdir $dist cp -r CHANGELOG examples LICENSE README.md src $dist zip -r $file $dist rm -rf $dist echo created $file
DoomHammer/jsonhandle
builddist.sh
Shell
mit
292
#!/bin/sh # Using splogger to send the log through syslog. # Using binmail to deliver messages to /var/spool/mail/$USER by default. # Using BSD 4.4 binmail interface: /usr/libexec/mail.local -r exec env - PATH="QMAIL/bin:$PATH" \ qmail-start \ '|preline -f /usr/libexec/mail.local -r "${SENDER:-MAILER-DAEMON}" -d "$US...
NikolaMandic/containers
qmail/qmail/binm1.sh
Shell
mit
342
#!/bin/sh . $(dirname $0)/env.sh sqlite3 ${LOG_PATH}/jobs.db 'SELECT fileid, log FROM jobs WHERE status = 2 ORDER BY serial;'
JamisHoo/Cloud-Image-Migration-Tool
bin/view_failed.sh
Shell
mit
128
#!/bin/bash set -eu cyg() { local IN=$1 case "$(uname)" in CYGWIN*) cygpath --windows -a "$IN" ;; *) echo "$IN" ;; esac } AS_SOMEONE=$(dirname "$0")/../../.. AS_SOMEONE=$(cd "$AS_SOMEONE" && pwd) CYG_AS_SOMEONE=$(cyg "$AS_SOMEONE") # TODO how to define this only once: CACHED=$(cyg "$AS_SOMEONE/.i-cach...
wipu/joulu
as-joulu-developer/with/bash/iwant/help.sh
Shell
mit
642
#!/bin/bash ########################################################################## # This script contains common functions used by installation scripts # @author César Rodríguez González # @since 1.0, 2014-05-10 # @version 1.3.3, 2017-04-25 # @license MIT #########################################################...
cesar-rgon/desktop-app-installer
common/commonFunctions.sh
Shell
mit
17,669
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2009-2017 Mike Shal <marfey@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distribu...
anatol/tup
test/t7034-ephemeral-dir.sh
Shell
gpl-2.0
1,190
#!/bin/bash picturetype="${picturetype:-pdfcairo}" # [ps|jpeg|gif|...] pictureoptions="${pictureoptions:=small size 800,400}" gnuplot <<EOF set term $picturetype $pictureoptions; set output "Capacity-BitRate-Comparison.pdf"; set title "Long-Term Development of HDD Capacity vs Network Bandwidth"; set xlabel "Year"; se...
bkuebler/mars-debian
docu/BitRates/make-plot.sh
Shell
gpl-2.0
486
#!/bin/bash # A little shell script to install all the packages necesary to do Wireshark # development. Both the development and runtime packages are installed # although the latter aren't strictly necessary. # # Ideally this could automatically pull the packages out of # packaging/rpm/SPECS/wireshark.spec.in but giv...
boundary/wireshark
tools/install_rpms_for_devel.sh
Shell
gpl-2.0
2,162
#!/bin/sh # Copyright (C) 1996-2013 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program i...
GavinSmith0123/automake-amplain
t/no-extra-makefile-code.sh
Shell
gpl-2.0
1,193
#!/bin/bash ############################################### ############################################### # prepPSinput.sh # Part of Adore Project # Batuhan Osmanoglu, Sep 2007 CSTARS, Miami # # # This function reads interferogram folders # and generates the file list required for PS. # # # Requires: # - Location of...
mohseniaref/adore-doris
scr/prepPSinput.sh
Shell
gpl-2.0
1,594
#!/bin/sh RADARE=../src/radare [ ! -e "${RADARE}" ] && RADARE=radare FILE=$1 if [ ! -e "${FILE}" ]; then echo "Usage: CafeBabe.sh [file.class]" exit 1; fi PORT=9876 ${RADARE} -L ${PORT} ${FILE} 2>&1 >/dev/null if [ $? = 1 ]; then echo "error: Cannot start the radare daemon."; exit 1 fi query="${RADARE} -q local...
radare/radare
src/rsc/pool/CafeBabe.sh
Shell
gpl-2.0
557
#!/bin/sh # # Copyright (c) 2012 Felipe Contreras # test_description='Test remote-bzr' test -n "$TEST_DIRECTORY" || TEST_DIRECTORY=${0%/*}/../../t . "$TEST_DIRECTORY"/test-lib.sh if ! test_have_prereq PYTHON then skip_all='skipping remote-bzr tests; python not available' test_done fi if ! python -c 'import bzrlib...
AmandaMoen/AmandaMoen
contrib/remote-helpers/test-bzr.sh
Shell
gpl-2.0
7,813
#!/bin/sh # Show that we've eliminated most of ls' failing getxattr syscalls, # regardless of how many files are in a directory we list. # This test is skipped on systems that lack LD_PRELOAD support; that's fine. # Similarly, on a system that lacks getxattr altogether, skipping it is fine. # Copyright (C) 2012 Free S...
homer6/gnu_coreutils
tests/ls/getxattr-speedup.sh
Shell
gpl-3.0
2,243
#!/bin/sh if [ -a vertminer.o ] then make clean fi mv configure.ac _configure.ac rm config* mv _configure.ac configure.ac for i in `find .|grep autom4te.cache`; do rm -Rf $i; done for i in `find .|grep Makefile$`; do rm -Rf $i; done for i in `find .|grep Makefile.in`; do rm -Rf $i; done
Bufius/vertminer-gpu
cleanup.sh
Shell
gpl-3.0
293
#! /bin/sh # Test for status code for GNU grep. # status code # 0 match found # 1 no match # 2 file not found # # Copyright (C) 2001, 2006, 2009-2010 Free Software Foundation, Inc. # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copy...
mackstann/grep
tests/status.sh
Shell
gpl-3.0
2,172
#!/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/logs/w-02/20161101T144920+0000/00/00/calculateratio_0_ID0000007.sh
Shell
gpl-3.0
1,252
grep -v 0$ access.2010-11-05.log | awk -F '\" ' '{print $4" " $1}' web.log | awk '{print $1" "$8}' | sort -n -k 1 -r | uniq > /tmp/slow_url.txt
oscm/shell
web/httpd/slowlogs.sh
Shell
gpl-3.0
144
#!/bin/bash PASS=$(date | md5sum) PASS=$(echo -n "${PASS//[[:space:]]/}" | sed -e 's/-//g') service mysql start echo "GRANT ALL ON *.* to 'amp'@'localhost' IDENTIFIED BY '$PASS' WITH GRANT OPTION;" | mysql AMPCONF="parameters: mysql_type: dsn mysql_dsn: 'mysql://amp:$PASS@localhost:3306' perm_type: worl...
djcf/civibuild-docker
dbconf.sh
Shell
gpl-3.0
767
#!/bin/sh # # GCC-compatible wrapper for cl.exe # # Assumes CL.EXE and ML.EXE are in PATH and INCLUDE/LIB appropriately set # nowarn="/wd4127 /wd4820 /wd4706 /wd4100 /wd4255 /wd4668" args="/nologo /EHac /W3 $nowarn" # /WX #md="/MD" cl="cl" ml="ml" if [ -z "$INCLUDE" -a -z "$Include" -o -z "$LIB" -a -z "$Lib" ]; then...
trejkaz/jna
native/cc.sh
Shell
lgpl-2.1
4,008
#!/bin/sh # Copyright (c) 2010 The Open Source Geospatial Foundation. # Licensed under the GNU LGPL. # # This library is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation, either version 2.1 of the License, #...
guygriffiths/OSGeoLive
bin/retired/install_atlasstyler.sh
Shell
lgpl-2.1
3,393
cp -r $HOME/.ankush/.newagent/agent/libs/* $HOME/.ankush/agent/libs/ cp -r $HOME/.ankush/.newagent/agent/bin/* $HOME/.ankush/agent/bin/ cp $HOME/.ankush/.newagent/agent/VERSION.txt $HOME/.ankush/agent/VERSION.txt
zengzhaozheng/ankush
ankush/src/main/resources/scripts/agent/upgrade.sh
Shell
lgpl-3.0
213
#!/bin/sh # Prerequisites: # 1. download and install MSR(Model-Specific Register) from: # https://01.org/msr-tools/downloads # Examples: # turn on Turbo: # ./turbo.sh on # turn off Turbo: # ./turbo.sh off # query Turbo status: # ./turbo.sh cores=$(cat /proc/cpuinfo | grep processor | awk '{print $3}'...
yao-matrix/mProto
tools/turbo/turbo.sh
Shell
apache-2.0
831
#!/bin/bash # # This script uses test-mixer to generate WAV files # for evaluation of the AudioMixer component. # # Sine and chirp signals are used for input because they # show up as clear lines, either horizontal or diagonal, # on a spectrogram. This means easy verification of multiple # track mixing. # # After execu...
dAck2cC2/m3e
src/frameworks/av/media/libaudioprocessing/tests/mixer_to_wav_tests.sh
Shell
apache-2.0
4,227
pkill netrun pkill loadrun rm -f /dev/shm/*
mlperf/inference_results_v0.7
closed/Intel/code/resnet/resnet-tf/loadrun/clean.sh
Shell
apache-2.0
44
#!/bin/bash -x set -e # Make sure only a non-root user can run our script if [ "$(id -u)" == "0" ]; then echo "This script must be run as a user" 1>&2 exit 1 fi DIR=`dirname "$0"` source $DIR/env.sh mkdir -p ~/local/ # Scala Installation if [ ! -e ${SCALA_HOME} ]; then wget http://downloads.typesafe.c...
thrill/HiBench
setup/setup-user.sh
Shell
apache-2.0
1,705
set -e qemu-img convert -O vdi $1 $1.vdi qemu-img convert -O qcow2 $1 $1.qcow2 qemu-img convert -O vmdk $1 $1.vmdk
nlitsme/IncludeOS
test/STREAM/convert_image.sh
Shell
apache-2.0
116