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 rm -rf public/assets rake assets:precompile --trace RAILS_ENV=production DATE=`date +%Y%m%d%H%M` tar jcvf ../release/ozjapanese_com_au_$DATE.tar.bz2\ app\ config.ru\ doc\ lib\ public\ config\ db\ Rakefile\ script\ vendor\ public rm -rf public/assets
KenichiTakemura/ozjapanese_com_au
init_release.sh
Shell
lgpl-3.0
273
#!/bin/bash # zsudo - sudo z okienkiem zenity o hasło # by jedral.one.pl # run: zsudo polecenie # przydatne dla [Alt]+[F2], coś jak consolehelper dla każdego :P zenity --title="zenity sudo" --width=250 --text="Próbujesz uruchomić aplikację: \" $@ \" z uprawnieniami administratora ! Podaj swoje hasło dla sudo:" \ -...
borzole/borzole
bin/zsudo.sh
Shell
lgpl-3.0
471
#!/usr/bin/env bash docker run --rm -p 80:80 -p 443:443 \ -v `pwd`/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro \ -v `pwd`/httpd-vhosts.conf:/usr/local/apache2/conf/extra/httpd-vhosts.conf:ro \ -v `pwd`/localhost.crt:/usr/local/apache2/conf/extra/localhost.crt:ro \ -v `pwd`/localhost.key:/usr/local/apache2/...
picodotdev/blog-ejemplos
WebBasicAuth/docker-apache.sh
Shell
unlicense
451
#!/bin/bash # ssh ufw allow from 198.150.93.0/24 to any port 22 ufw allow from 198.150.94.0/24 to any port 22 ufw allow from 198.150.95.0/24 to any port 22 ufw allow from 192.251.16.0/24 to any port 22 ufw allow from 198.51.130.0/24 to any port 22 ufw allow from 192.237.253.134 to any port 22 ufw allow from 198.61.224...
carthagecollege/archer
security/ufw.external.sh
Shell
unlicense
485
#!/bin/bash # -------------------------------------------------------------------------- # # Copyright 2002-2015, OpenNebula Project (OpenNebula.org), C12G Labs # # # # Licensed under the Apache License, Version 2.0 (the "License"); you ...
Terradue/one
install.sh
Shell
apache-2.0
92,124
#!/bin/bash # Copyright 2019 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-orchestration-airflow
.kokoro/build.sh
Shell
apache-2.0
3,471
#!/bin/bash # Copyright 2019 The TensorFlow 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...
aam-at/tensorflow
tensorflow/tools/ci_build/rel/ubuntu/gpu_py38_pip.sh
Shell
apache-2.0
2,306
#!/bin/bash deployment_home=$1 query=$2 expected_count=$3 count=`$deployment_home/mongodb-2.0/bin/mongo --eval "$2" | grep -E '^[0-9]'` rc=$? if [[ "$rc" != "0" ]]; then echo "Query $query failed" exit 1 fi if [[ "$count" != "$expected_count" ]]; then echo "Got count $count, expecting $expected_count" exit 1 ...
mpi-sws-rse/datablox
scripts/check_mongo_results.sh
Shell
apache-2.0
390
./gradlew clean testDebugUnitTest connectedDebugAndroidTest lintDebug assembleDebug --no-daemon
jainsahab/AndroidSnooper
prePush.sh
Shell
apache-2.0
96
#!/usr/bin/env bash export SQLITE_SCRIPT=quill-jdbc/src/test/resources/sql/sqlite-schema.sql export MYSQL_SCRIPT=quill-sql/src/test/sql/mysql-schema.sql export POSTGRES_SCRIPT=quill-sql/src/test/sql/postgres-schema.sql export SQL_SERVER_SCRIPT=quill-sql/src/test/sql/sqlserver-schema.sql export ORACLE_SCRIPT=quill-sql/...
mentegy/quill
build/setup_db_scripts.sh
Shell
apache-2.0
3,208
#!/bin/bash # Copyright 2019 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 i...
GoogleCloudPlatform/esp-v2
scripts/release/release-tag-git.sh
Shell
apache-2.0
3,061
#!/bin/bash # Script for testing MQTT channel on Linux machine # mosquitto_sub is using local MQTT broker to communicate to IQRF daemon # Tested on Raspberry PI 3, Raspbian Lite # Tested on AAEON UP, UbiLinux echo "Listening for DPA responses from IQRF network:" mosquitto_sub -v -t Iqrf/DpaResponse | xargs -d $'\n' -L...
iqrfsdk/iqrf-daemon
examples/iqrf_thermometer_example/mqtt-sub.sh
Shell
apache-2.0
359
#!/bin/bash # ---------------------------------------------------------------------------- # # Package : flagged-respawn # Version : v1.0.1 # Source : https://github.com/gulpjs/flagged-respawn.git # Tested on : RHEL 7.6 # Node Version : v12.16.1 # Maintainer : Amol Patil <amol.patil2@ibm.com...
ppc64le/build-scripts
f/flagged-respawn/flagged-respawn_rhel_7.6.sh
Shell
apache-2.0
1,457
# Copyright 2015 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 applicable law or a...
googlearchive/graphd
test/unit/unique4.sh
Shell
apache-2.0
1,998
#!/bin/bash ## # Copyright IBM Corporation 2017 # # 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...
IBM-Swift/BluePic
Cloud-Scripts/Deployment/create_services.sh
Shell
apache-2.0
1,466
#!/bin/bash # # File managed by puppet. All modifications will be lost. # Wrapper calling check_prometheus_metric.sh with the harcoded prometheus query # incorrectly parsed when passed to vars.check_prometheus_metric_query PROGPATH=$(dirname $0) while getopts ':H:n:c:w:' OPT "$@" do case ${OPT} in H) P...
SoftwareHeritage/puppet-swh-site
site-modules/profile/files/icinga2/plugins/check_belvedere_replication_lag.sh
Shell
apache-2.0
889
#!/bin/sh # # Copyright 2010 The Apache Software Foundation # # 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 th...
hbase-sculptor/sculptor
framework/ruby/rdocgen.sh
Shell
apache-2.0
914
#!/usr/bin/env bash # global parameters g_tmp_folder="ncdc_tmp"; g_output_folder="ncdc_data"; g_remote_host="ftp.ncdc.noaa.gov"; g_remote_path="pub/data/noaa"; # $1: folder_path function create_folder { if [ -d "$1" ]; then rm -rf "$1"; fi mkdir "$1" } # $1: year to download function downl...
rahulkumar-aws/HadoopClient
src/main/resources/ncdc_data.sh
Shell
apache-2.0
1,374
#!/usr/bin/env bash # Cause the script to fail if any subcommand fails set -e pushd . if [ "$JAVA_HOME" != "" ]; then echo "JAVA_HOME is set" exit fi java_version=$1 arch=$2 osname=`uname -s` if [ "$osname" = "Darwin" ]; then echo "macOS not supported, relying on the machine providing java itself" exi...
aspnet/AspNetCore
eng/helix/content/installjdk.sh
Shell
apache-2.0
1,161
#!/bin/bash # If set, modify main.bash if [ $SEND_AS_SINGLEJOB == "true" ]; then # Go through all variables named lineN, where N: 1..integer linenum=1 while [ 1 ]; do eval line=( \${line$linenum} ) if [ ! -z $line ]; then #echo "filled" ${line[@]} line="${line[@]}" sed -i -e "$((linenum+1)...
pirkkao/OpenEPS
bin/util_batchjob.bash
Shell
apache-2.0
875
#!/usr/bin/env bash set -e set -x cp -r gems-src-in/. gems-src-out cd gems-src-out/src/bosh_openstack_cpi git config --global user.email cf-bosh-eng@pivotal.io git config --global user.name CI git fetch origin master:refs/remotes/origin/master git rebase origin/master echo "Looking for new gem versions" bundle updat...
cloudfoundry-incubator/bosh-openstack-cpi-release
ci/pipelines/auto-update/tasks/update-gems.sh
Shell
apache-2.0
570
# ----------------------------------------------------------------------------- # # Package : nocache # Version : 2.0.0 # Source repo : https://github.com/helmetjs/nocache # Tested on : RHEL 8.3 # Script License: Apache License, Version 2 or later # Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com> # # Discl...
ppc64le/build-scripts
n/nocache/nocache_rhel_8.3.sh
Shell
apache-2.0
3,048
#!/bin/bash # function to test exist status testexit() { EXIT_STATUS=$? LOG_FILE="$1" if [ "x${EXIT_STATUS}" != "x0" ]; then echo "COMMAND EXITED WITH STATUS ${EXIT_STATUS}" echo "LOG OUTPUT:" cat ${LOG_FILE} exit ${EXIT_STATUS} fi } pushd $(dirname "${0}") > /dev/null BASEDIR=$(pwd -L) popd > /dev...
IITDBGroup/gprom
packaging/debpackage.sh
Shell
apache-2.0
1,609
#! /bin/bash # # Copyright (C) 2018 University of Oregon # # You may distribute under the terms of either the GNU General Public # License or the Apache License, as specified in the LICENSE file. # # For more information, see the LICENSE file. # # # set -x ping -W 1 -c 1 $(hostname) > /dev/null 2>&1 if [[ $? -ne 0...
OpenVnmrJ/OpenVnmrJ
src/scripts/ovjDiag.sh
Shell
apache-2.0
1,372
#!/bin/bash echo "This script will provision a chef server, grab the validation.pem file, " echo "and upload the contents of the repo to that server" echo "" read -p "Press any key to begin the setup..." echo "" # make temp dir to store validation.pem file. Delete the old one if it's there rm -rf .tmp mkdir .tmp ech...
tas50/vagrant_chef_server
setup_server.sh
Shell
apache-2.0
909
#!/bin/bash # species_mapper.sh - This script maps a list of request filenames to # an array. Receives an occurrences file and the minimum number of occurrences # that a species need to have in the occurrences file to be modeled as input. # # More about mappers: # http://swift-lang.org/guides/trunk/userguide/userguide....
sibbr/sdm-workflows
species_mapper.sh
Shell
apache-2.0
925
#!/bin/bash -eu kube_bins=( "kubelet" "kubeadm" "kubectl" ) cni_bins=( "cnitool" "flannel" "tuning" "bridge" "ipvlan" "loopback" "macvlan" "ptp" "dhcp" "host-local" ) if [ "$#" -gt 0 ] ; then case "$1" in help) echo "You are looking at this because you probably want to learn how...
errordeveloper/t8s
kubeadm-installer/installer.sh
Shell
apache-2.0
3,238
export MAVEN_OPT=-Xmx1024m # update version of test integration modules #--------------------------------------------- cd kaleido-integration-test mvn versions:set -DnewVersion=0.9.1-SNAPSHOT mvn -N versions:update-child-modules git commit -m "release XXX prepare" . # site #------------------------------------------...
jraduget/kaleido-repository
kaleido-parent/script/deploy/release.sh
Shell
apache-2.0
1,512
#!/bin/sh . perf_env.sh KERN_CONF=GENERIC-NODEBUG login_and_build() { local prefix=`date +%Y%m%d%H%M%S` local build_log_file=${prefix}_build.log local install_log_file=${prefix}_install.log local build_log_path=$tmp_dir/$build_log_file local install_log_path=$tmp_dir/$install_log_file ssh root@$build...
clovertrail/rocket
shell/performance/auto_build.sh
Shell
apache-2.0
2,209
#!/bin/bash set -e # enforces the script to fail as soon as one command fails mvn javadoc:javadoc > /dev/null if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then echo '$TRAVIS_PULL_REQUEST is false, running all tests' openssl aes-256-cbc -K $encrypted_a973fe4f8e79_key -iv $encrypted_a973fe4f8e79_iv -in .config.prope...
m2fd/java-sdk
.utility/travis.sh
Shell
apache-2.0
536
#!/usr/bin/env sh echo "\033[31m 红色字 \033[0m" echo "\033[34m 黄色字 \033[0m" echo "\033[41;33m 红底黄字 \033[0m" echo "\033[41;37m 红底白字 \033[0m" #字颜色:30—–37 echo "\033[30m 30 黑色字 \033[0m" echo "\033[31m 31 红色字 \033[0m" echo "\033[32m 32 绿色字 \033[0m" echo "\033[33m 33 黄色字 \033[0m" echo "\033[34m 34 蓝色字 \033[0m" echo "\033[35...
bin3/learnsh
color.sh
Shell
apache-2.0
488
pkg_origin=core pkg_name=glib pkg_version="2.50.3" pkg_description="$(cat << EOF GLib is a general-purpose utility library, which provides many useful data types, macros, type conversions, string utilities, file utilities, a mainloop abstraction, and so on. It works on many UNIX-like platforms, as well as Windo...
be-plans/be
glib/plan.sh
Shell
apache-2.0
1,564
#!/bin/bash set -e current_dir=$(pwd) cd $(dirname $0) old_version=$(git tag | tail -n1) version=$1 npm test update_version() { sed -i '' -E "s/(\"version\".*:.*\").*(\".*)/\1$version\2/g" $@; } update_version src/index.js npm install #npm release #TODO create js documentation #/usr/local/share/npm/lib/node_modules/do...
continuouscalendar/dateutils
release.sh
Shell
apache-2.0
990
#!/bin/bash PGSHELL_CONFDIR="$1" # Load the psql connection option parameters. source $PGSHELL_CONFDIR/pgsql_funcs.conf result=$(psql -A -t -X -h $PGHOST -p $PGPORT -U $PGROLE -d $PGDATABASE -c "select pg_is_in_recovery()::int" 2>&1) echo "$result"
pg-monz/pg_monz
pg_monz/usr-local-bin/pgsql_standby.sh
Shell
apache-2.0
252
#!/bin/bash export ANT_OPTS=-Xmx512m export DBFLUTE_HOME=../mydbflute/dbflute-1.0.5A export MY_PROJECT_NAME=exampledb export MY_PROPERTIES_PATH=build.properties
taktos/dbflute-jodatime-example
dbflute_exampledb/_project.sh
Shell
apache-2.0
165
#!/bin/sh TILE_NAME=sentimentr TILE_FILE=`pwd`/*tile.yml RELEASE_TARFILE=`pwd`/dev_releases/*/*.tgz #BOSH_STEMCELL_FILE=`cat ${TILE_FILE} | grep "bosh-stemcell" | grep "^ *file:" | awk '{print $2}' ` #BOSH_STEMCELL_LOCATION=https://s3.amazonaws.com/bosh-jenkins-artifacts/bosh-stemcell/vsphere mkdir -p tmp cd tmp mkdi...
dflick-pivotal/sentimentr-release
createTileWithDevRelease.sh
Shell
apache-2.0
646
#!/bin/bash echo "Enabled=0 AND Disabled=1" /usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6 /usr/sbin/sysctl net.ipv6.conf.lo.disable_ipv6
zhuwbigdata/hadoop-admin-utils
preinstall-utils/3ipv6_check/checkIPv6.sh
Shell
apache-2.0
140
./configure make sudo make install
bayvictor/distributed-polling-system
bin/do.sh
Shell
apache-2.0
36
#!/bin/bash # distp from Mapr to HDP (root user) # Make adjustments to the protocol_prefix.sh file to control source and dest. filesystems. # Get the SOURCE and TARGET protocol prefix's if [ `whoami` != "root" ]; then echo "Should be run as root, since this is the 'control' superuser between the two clusters" ...
dstreev/mapr-migration
validation/get_Mapr_Results.sh
Shell
apache-2.0
764
#!/bin/sh -e # compile.sh <source> <obj> <compiler> <flags> `${NUMAKE} --enable-trace` # Compile source to object file mkdir -p $(dirname $2) echo $3 -c $1 -o $2 $4 -MMD -MF $2.d $3 -c $1 -o $2 $4 -MMD -MF $2.d # Add headers dependency headers=$(sed -e :a -e '/\\$/N; s/\\\n//; ta' "$2.d" | cut -d' ' -f3-) ${NUMAKE}...
bullno1/xveearr
cpp.nu/compile.sh
Shell
bsd-2-clause
341
#!/bin/sh -x rm -rf *.o *.so *~ tmp.app build *_wrap.* *.pyc ext_gridloop.py
sniemi/SamPy
sandbox/src1/TCSE3-3rd-examples/src/py/mixed/Grid2D/C++/convertptr/clean.sh
Shell
bsd-2-clause
79
#! /bin/bash lxc_start() { lxc-info -n "$1" 2>&1 > /dev/null | grep RUNNING > /dev/null || { echo_info "Starting LXC container ..." lxc-start -n $LXC_NAME -d --logfile $LXC_LOG_FILE || { echo_error "Could not start LXC container." exit 1 } } echo_info "Waiting for server to start ..." while [ 1 -eq 1 ...
dragoscirjan/mylin2
sh/lxc/utils.sh
Shell
bsd-3-clause
799
#!/bin/bash export EDITOR="emacs -nw" export VISUAL="$EDITOR" export PATH="$PATH:~/.emacs.d/bin"
ggazzi/linux-configs
dotfiles/emacs/.bashrc.d/10_emacs.sh
Shell
bsd-3-clause
98
#!/bin/bash if [ $# -ne 1 ]; then echo "Usage: $0 <petuum_ps_hostfile>" echo "" echo "Kills hung Matrix Factorization clients" exit fi host_file=`readlink -f $1` progname=rand_forest_main ssh_options="-oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oLogLevel=quiet" # Parse hostfile unique_host_li...
daiwei89/wdai_petuum_public
apps/rand_forest/scripts/kill_rand_forest.sh
Shell
bsd-3-clause
565
#!/bin/sh echo ZGG: Testing COMPLEX16 Nonsymmetric Generalized Eigenvalue Problem routines exec ./test_eigz < $CBLAPACKDIR/test/input/zgg.in
juanjosegarciaripoll/cblapack
test/test_zgg.sh
Shell
bsd-3-clause
141
#!/bin/sh PIDS=$(pgrep java -lf | grep pedantic | cut -d" " -f1); if [ -n "$PIDS" ] then echo "Killing $PIDS"; echo $PIDS | xargs kill; else echo "No running instances found"; fi
mixradio/mr-pedantic
scripts/bin/stop.sh
Shell
bsd-3-clause
187
#!/usr/bin/env bash TESTFILE1=$(mktemp -p .) if [ -x "$(command -v python3)" ]; then PYTHON=$(command -v python3) else PYTHON=$(command -v python) fi ${PYTHON} << END import random as rnd import time as time rnd.seed(time.time()) randnum = rnd.sample(range(1,101), 18) f1 = open("${TESTFILE1}", "w+") for m in ran...
hfp/libxsmm
samples/eltwise/kernel_test/unary_copy_32b_gtld.sh
Shell
bsd-3-clause
847
#!/usr/bin/env bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)/js" cd $DIR printf "Building protobuf file\n" PROTO_INCLUDE=`realpath "$DIR/../../common_protos"` PROTOS="$PROTO_INCLUDE"/*.proto protoc --proto_path="$PROTO_INCLUDE" --js_out=library=vizProto,binary:"." $PROTOS
SCAII/SCAII
viz/gen_protos.sh
Shell
bsd-3-clause
291
#!/bin/bash source src/benchmark.sh ble/util/c2s.0() { :; } table1=$' \x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F' table1=$table1$'\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F' table1=$table1$'\x20\x21\x22\x23\x24\x25\x26\x27\x28\x29\x2A\x2B\x2C\x2D\x2E\x2F' table1=$table1$'\x30\...
akinomyoga/ble.sh
memo/D1302.benchmark-c2s-cached.sh
Shell
bsd-3-clause
6,223
#!/bin/bash echo "================================================" echo " Ubuntu 16.04 (PHP 7.0)" echo "================================================" echo -n "[1/4] Starting MariaDB 10.0 ..... " # make sure mysql can create socket and lock mkdir /var/run/mysqld && chmod 777 /var/run/mysqld # run mysql server nohu...
mevdschee/mysql-crud-api
docker/ubuntu16/run.sh
Shell
mit
2,358
#!/bin/bash SRC=$(realpath $(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)/..) pushd $SRC &> /dev/null IMAGE=${IMAGE:-chromedp/headless-shell:latest} set -e (set -x; CGO_ENABLED=0 go test -c ) (set -x; docker run \ --rm \ --volume=$PWD:/chromedp \ --entrypoint=/chromedp/chromedp.test \ --work...
chromedp/chromedp
contrib/docker-test.sh
Shell
mit
472
wget https://shapenet.cs.stanford.edu/ericyi/shapenetcore_partanno_segmentation_benchmark_v0.zip unzip shapenetcore_partanno_segmentation_benchmark_v0.zip
fxia22/pointGAN
download.sh
Shell
mit
155
#! /usr/bin/env bash ./checksum < $1 | cut -f 3 -d : | paste -sd '+' | bc
Jexah/comp2129-assignment1
balance.sh
Shell
mit
76
#!/bin/bash <% for(var index in toAdd) { %> docker node update <%- toAdd[index].server %> \ --label-add <%- toAdd[index].label %>=<%- toAdd[index].value %> <% } %> <% for(var index in toRemove) { %> docker node update <%- toRemove[index].server %> \ --label-rm <%- toRemove[index].label %> <% } %>
arunoda/meteor-up
src/plugins/docker/assets/swarm-labels.sh
Shell
mit
319
#!/bin/bash # ########################################################################## #Red Hat Enterprise Linux 6 - DISA STIG Compliance Remediation Content #Copyright (C) 2013 #Vincent C. Passaro (vince@buddhalabs.com) # ########################################################################## # #################...
atomicturtle/t-stig
aqueduct-0.4/compliance/Bash/STIG/rhel-6/prod/RHEL-06-000241.sh
Shell
mit
2,443
#!/bin/sh echo "Preparing to watch styles.scss" sass --watch css/sass/styles.scss:css/styles.css --style expanded
edsloan/sassbase
watch.sh
Shell
mit
115
#!/usr/bin/env bash # # Run this script from root source directory and provide path to Geany-Plugins # root source tree as the only argument. # SRCDIR=`pwd` DSTDIR=$1 cp -rv $SRCDIR/geany-plugins/* "$DSTDIR" cp -v $SRCDIR/overview/*.[ch] "$DSTDIR/overview/overview/" || exit $? cp -v $SRCDIR/data/prefs.ui "$DSTDIR/ove...
FPGL/overview-plugin
gp-update.sh
Shell
gpl-2.0
344
# (c) 2014-2015 Sam Nazarko # email@samnazarko.co.uk #!/bin/bash . ../common.sh pull_source "http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/imx-lib-3.10.17-1.0.0.tar.gz" "$(pwd)/src" if [ $? != 0 ]; then echo -e "Error downloading" && exit 1; fi rm -rf src/imx-lib*/hdmi-cec pull_bin "http://www.freescale.com/lgfiles...
DBMandrake/osmc
package/vero-userland-osmc/build.sh
Shell
gpl-2.0
3,759
#!/usr/bin/env bash set -e # Runs the program with the virtualenv source /home/jason/Env/letsencrypt/bin/activate python3 Emailer.py deactivate
JasonYao/Phi-Kappa-Sigma-Server
letsEncrypt/run.sh
Shell
gpl-2.0
146
#!/sbin/busybox sh ( PROFILE=`cat /data/.siyah/.active.profile`; . /data/.siyah/${PROFILE}.profile; if [ "$cron_drop_cache" == "on" ]; then MEM_ALL=`free | grep Mem | awk '{ print $2 }'`; MEM_USED=`free | grep Mem | awk '{ print $3 }'`; MEM_USED_CALC=$(($MEM_USED*100/$MEM_ALL)); # do clean cache only if ...
jthatch12/STi
initramfs32/res/crontab/cron-scripts/drop-cache-only.sh
Shell
gpl-2.0
789
#!/bin/sh # # This procedure execute Oracle statspack snap and report. # # Example: # sh -x ./chcsv.sh -i TEST2 -l . -u system/manager -f oratbs # $STATCMD{'ORACLE'} = join ( "\n", # '_pwd_/getorasql.sh -i RTD -l _odir_ -u perfstat/perfstat -f oratab', # '_pwd_/getorasql.sh -i RTD -l _odir_ -u perfstat/pe...
getperf/getperf
lib/agent/Oracle/script/ora12c/chcsv.sh
Shell
gpl-2.0
3,087
#!/bin/bash if [ -z $1 ]; then DB_FILE=notes.db else DB_FILE=$1 fi adb push $DB_FILE /data/data/com.github.simplenotes/databases
mattr-/SimpleNotes
SimpleNotes/scripts/push-db.sh
Shell
gpl-2.0
139
#!/bin/bash DIR="Filtered"; if [[ ! -d "$DIR" ]]; then mkdir -v "$PWD/$DIR"; fi for F in *.log ; do awk '/Sub/{x = $NF - 2; y = $NF - 1; theta = $NF; print "x: " x "\ny: " y "\ntheta: " theta "\n---"}' $F | tr -cd '\11\12\15\40-\176' | sed 's/\[0m//g; $d' > $DIR/$F; done
em-er-es/rollo
Logs/filter-logs.sh
Shell
gpl-2.0
273
#!/bin/sh TEST_PURPOSE=regress TEST_TYPE=umlXhost TESTNAME=x509-pluto-06 XHOST_LIST="NIC NORTH EAST" REF_CONSOLE_FIXUPS="kern-list-fixups.sed nocr.sed" REF_CONSOLE_FIXUPS="$REF_CONSOLE_FIXUPS east-prompt-splitline.pl" REF_CONSOLE_FIXUPS="$REF_CONSOLE_FIXUPS script-only.sed" REF_CONSOLE_FIXUPS="$REF_CONSOLE_FIXUPS c...
ZHAW-INES/rioxo-uClinux-dist
openswan/testing/pluto/x509-pluto-06/testparams.sh
Shell
gpl-2.0
1,112
#! /bin/sh $EXTRACTRC `find . -name '*.ui' -or -name '*.kcfg'` >> rc.cpp || exit 11 $XGETTEXT *.cpp -o $podir/libtemplateparser.pot rm -f rc.cpp
chusopr/kdepim-ktimetracker-akonadi
templateparser/Messages.sh
Shell
gpl-2.0
145
#!/bin/bash mkdir tmp_install cd tmp_install if [ ! -f "./mdk3-v6/mdk3" ] then echo echo "Downloading mdk3..." #wget http://homepages.tu-darmstadt.de/~p_larbig/wlan/mdk3-v6.tar.bz2 wget http://www.fruitywifi.com/downloads/mdk3-v6.tar.bz2 echo echo "Extracting mdk3..." bunzip2 mdk3-v6.tar...
jesux/FruityWifi
FruityWifi/www/modules/mdk3/includes/install.sh
Shell
gpl-3.0
869
#!/bin/sh # Copyright 2013 The Android Open Source Project # # 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...
MTK6580/walkie-talkie
ALPS.L1.MP6.V2_HEXING6580_WE_L/alps/device/asus/deb/self-extractors/generate-packages.sh
Shell
gpl-3.0
11,872
##Script to get the Allele frequency in the 1000 genome project, using the file /scratch/inmegen/100g/references/1000g-phase_3-allele-frequency/1000GENOMES-phase_3.vcf.gz previously indexed by Tabix. ##The script take a list of cordinates variants in tab format: "chr corrd rsdbSNP" ##tabix program have to be imported ...
rgarcia-herrera/100g
scripts/gwas-catalog-analysis/AF-for-traits-in1000G.sh
Shell
gpl-3.0
1,665
#!/bin/bash #This bash script checks to see if a file by the name "MON.txt" exists. If not, it creates the file. #Example: If Sep.txt exists, nothing happens. If Sep.txt does not exist, then an empty file viz., Sep.txt #is created file=$(date +"%b").txt if [ -e "$file" ]; then echo " " else touch /home/dnan...
dnaneet/ELC
tracking/alpha/fcreate2.sh
Shell
gpl-3.0
386
#!/bin/sh find "$1" -not -type l -exec codesign --verify --strict -v '{}' ';' 2>&1 | \ sed -E '/^.*: bundle format unrecognized, invalid, or unsuitable$/d; /^.*: code object is not signed at all$/d; s/^(.*): .*$/\1/' | uniq
dmarmor/epichrome
scripts/find_codesign.sh
Shell
gpl-3.0
229
#!/bin/bash if [ $# -ne 2 ] then echo "Usage: `basename $0` <numDocuments> <cluedata=1,tweets=2,emails=3,ymusic=4,gnews=5,wiki=6,disease=7>" exit 3 fi ############################################################ ...
ucsb-similarity/pss
build/partition/run.sh
Shell
apache-2.0
2,007
#!/bin/bash set -o errexit set -o pipefail if ! which golint &>/dev/null; then echo "Unable to detect 'golint' package" echo "To install it, run: 'go get github.com/golang/lint/golint'" exit 1 fi GO_VERSION=($(go version)) echo "Detected go version: $(go version)" if [[ ${GO_VERSION[2]} != "go1.2" && ${GO_VER...
mrunalp/origin
hack/verify-golint.sh
Shell
apache-2.0
1,485
#!/bin/bash cat > nginx-deployment.yaml << EOF apiVersion: extensions/v1beta1 kind: Deployment metadata: name: nginx-deployment spec: replicas: 3 selector: matchLabels: app: nginx env: prod template: metadata: name: nginx labels: app: nginx env: pro...
metral/nginx
k8s/prod/deployment/create-nginx-deployment.yaml.sh
Shell
apache-2.0
1,348
#! /bin/bash for i in `seq 1 5`; do DIR=$EQ_WORKING_DIR/zookeeper$i/ # if [ ! -d $DIR ]; # then # mkdir $DIR # echo $i > $DIR/myid # fi # CFG=$EQ_WORKING_DIR/quorumconf/$i/zoo.cfg # TMPCFG=$CFG.tmp # echo "CFG:" $CFG # echo "TMPCFG:" $TMPCFG # sed "s#dataDir=#dataDir=$DIR#" $CFG > $TMPCFG ...
AkihiroSuda/earthquake
example/not-so-much-useful/zk.byteman.combination-of-operation/materials/1-9/quorumStart.sh
Shell
apache-2.0
603
# UBOOTWPDA config http://www.twpda.com/2013/08/uboot-code.html # NOTE: This file's length should under 988 bytes # bootargs(old): root=8:1 means sda1, sda2 8:2, sdb1 8:17, sdb2 8:18 # bootargs(new): root=/dev/sda2 # bootcmd: 0:1 first part, 0:2 2nd part # usbcfg: 0:internal, 1:external # boot settings for sh4twbox in...
dlintw/sh4twbox-multiboot
example/boot/1_recovery/uboot.sh
Shell
apache-2.0
811
#!/bin/bash # # BASH OPTIONS # set -e # Exit when an error occurs set -u # Exit when undefined variable #set -x # Enable bash trace # # SCRIPT GLOBAL VARIABLES # NUM_FILES=10 # # HELPER METHODS # get_args() { output_path=$1 sleep_time=$2 } check_args() { echo "Received arguments:" echo " - Output path:...
mF2C/COMPSs
tests/sources/python/9_stream_non_native/src/scripts/write_files.sh
Shell
apache-2.0
1,077
#!/bin/sh #-- @@@ START COPYRIGHT @@@ #-- #-- 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 ...
apache/incubator-trafodion
core/sql/regress/compGeneral/TESTTOK.sh
Shell
apache-2.0
2,319
gcc -o aes_pthread aes_pthread.c -std=c99 -lpthread -lm ./aes_pthread -n 100 -t 16 -b 10
tancheng/iot-kernels-locus
testbench/decpt_dtw_aes/pthread/pthread_compile.sh
Shell
bsd-3-clause
89
#!/bin/sh # Copyright 2015, Google Inc. # 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 conditions...
ananthonline/grpc
tools/buildgen/generate_build_additions.sh
Shell
bsd-3-clause
1,920
#!/bin/bash rm -f arch/arm/boot/dts/*.dtb rm -f arch/arm/boot/dt.img rm -f cwm_flash_zip/boot.img make -j10 zImage make -j10 dtimage make -j10 modules rm -rf squid_install mkdir -p squid_install make -j10 modules_install INSTALL_MOD_PATH=squid_install INSTALL_MOD_STRIP=1 mkdir -p cwm_flash_zip/system/lib/modules/pronto...
boulzordev/android_kernel_motorola_msm8916
build_cwm_zip.sh
Shell
gpl-2.0
700
#!/bin/bash # # Copyright (C) 2014, 2015 Red Hat, Inc. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions of # the GNU General Public License v.2, or (at your option) any later version. # This program is distributed in the ho...
vpodzime/anaconda
tests/kickstart_tests/run_kickstart_tests.sh
Shell
gpl-2.0
6,635
#!/bin/bash . `dirname $0`/functions.sh check_one() { cnt=0 log=$1 echo -n . >> quick3.log text="$2" shift 2 while [ $# -gt 0 ]; do grep -q "^$text .*$1" $log || exit 40 cnt=$((++cnt)) shift done [ `grep "^$text " $log | wc -l` = $cnt ] || exit 41 } check_log() { log=$1 echo -n "Checking...
leeduhem/prelink
testsuite/quick3.sh
Shell
gpl-2.0
3,897
# # Copyright (C) 2010 OpenWrt.org # PART_NAME=firmware REQUIRE_IMAGE_METADATA=1 RAMFS_COPY_BIN='fw_printenv fw_setenv' RAMFS_COPY_DATA='/etc/fw_env.config /var/lock/fw_printenv.lock' platform_check_image() { return 0 } platform_do_upgrade() { local board=$(board_name) case "$board" in alfa-network,quad-e4g) ...
teslamint/openwrt
target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh
Shell
gpl-2.0
2,741
AppVersionStrMajor=`./Version.sh | awk -F " " '{print $1}'` AppVersion=`./Version.sh | awk -F " " '{print $2}'` AppVersionStr=`./Version.sh | awk -F " " '{print $3}'` DevChannel=`./Version.sh | awk -F " " '{print $4}'` DevPostfix='' DevParam='' if [ "$DevChannel" != "0" ]; then DevPostfix='.dev' DevParam='-dev' fi ...
Icenowy/tdesktop-vanilla
Telegram/PrepareLinux.sh
Shell
gpl-3.0
2,206
#!/usr/bin/env bash set -o errexit VERSION=1.27.0 DOWNLOAD=https://github.com/coreos/rkt/releases/download/v${VERSION}/rkt-v${VERSION}.tar.gz function install_rkt() { if [[ -e /usr/local/bin/rkt ]] ; then if [ "rkt Version: ${VERSION}" == "$(rkt version | head -n1)" ] ; then return fi fi wget -q -O /tmp/...
Ashald/nomad
scripts/vagrant-linux-priv-rkt.sh
Shell
mpl-2.0
889
#!/usr/bin/env bash set -e ############################################################################### # # edx-all-tests.sh # # Execute all tests for edx-platform. # # This script can be called from a Jenkins # multiconfiguration job that defines these environment # variables: # # `TEST_SUITE` defines ...
dkarakats/edx-platform
scripts/all-tests.sh
Shell
agpl-3.0
8,161
export DISTRO_NAME=ubuntu export DIB_RELEASE=${DIB_RELEASE:-trusty} export DIB_DEBIAN_COMPONENTS=${DIB_DEBIAN_COMPONENTS:-main,restricted,universe} export DIB_DISTRIBUTION_MIRROR=${DIB_DISTRIBUTION_MIRROR:-http://archive.ubuntu.com/ubuntu}
takahashinobuyuki/diskimage-builder
elements/ubuntu-minimal/environment.d/10-ubuntu-distro-name.bash
Shell
apache-2.0
240
#!/bin/bash pkill -f script/server
varshavaradarajan/functional-tests
gadget_renderer/stop_server.sh
Shell
apache-2.0
35
#!/bin/bash FN="BSgenome.Hsapiens.UCSC.hg17.masked_1.3.99.tar.gz" URLS=( "https://bioconductor.org/packages/3.12/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg17.masked_1.3.99.tar.gz" "https://bioarchive.galaxyproject.org/BSgenome.Hsapiens.UCSC.hg17.masked_1.3.99.tar.gz" "https://depot.galaxyproject.org/so...
ostrokach/bioconda-recipes
recipes/bioconductor-bsgenome.hsapiens.ucsc.hg17.masked/post-link.sh
Shell
mit
1,585
#!/bin/bash FN="pd.genomewidesnp.6_3.14.1.tar.gz" URLS=( "https://bioconductor.org/packages/3.10/data/annotation/src/contrib/pd.genomewidesnp.6_3.14.1.tar.gz" "https://bioarchive.galaxyproject.org/pd.genomewidesnp.6_3.14.1.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-pd.genomewidesnp.6/bioconduc...
Luobiny/bioconda-recipes
recipes/bioconductor-pd.genomewidesnp.6/post-link.sh
Shell
mit
1,473
#!/bin/ash # jamesbond 2011, 2014 # updated Fatdog 700 - simplify, remove control, leave with "mixer" functionality only # 131130 L18L internationalisation # std localisation stanza export TEXTDOMAIN=fatdog . gettext.sh # performance tweak - use "C" if there is no localisation ! [ -e $TEXTDOMAINDIR/${LANG%.*}/LC_MESSA...
peabee/woof-CE
woof-code/rootfs-skeleton/usr/sbin/alsaequal.sh
Shell
gpl-2.0
797
# ib_csm_csv.sh - test for xtrabackup # Copyright (C) 2009-2011 Percona 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 # of the License, or (at your option) any later ver...
0xffea/drizzle
plugin/innobase/xtrabackup/test/t/ib_csm_csv.sh
Shell
gpl-2.0
2,536
# ib_incremental.sh - test for xtrabackup # Copyright (C) 2009-2011 Percona 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 # of the License, or (at your option) any later...
0xffea/drizzle
plugin/innobase/xtrabackup/test/t/ib_incremental.sh
Shell
gpl-2.0
3,676
#!/bin/sh # Created on: Jan 16, 2009 # Author: catalin.pop errorMsg(){ echo $1 exit 1 } PID_FILE=/tmp/SystemManager.pid [ ! -f $PID_FILE ] && errorMsg "Pid file not found at $PID_FILE. SystemManager not started." PID=`cat $PID_FILE` kill -USR1 $PID echo "Signal for refresh sent to SystemManager with PID=$P...
TheSkorm/ISA100.11a-Gateway
AccessNode/config/FW_mesh_HW_vr900/release_isa/SysManager/sm_refreshLog.sh
Shell
gpl-3.0
324
#!/bin/sh # # Copyright (C) 2011, 2012, 2014, 2016 Internet Systems Consortium, Inc. ("ISC") # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. if $PERL -e 'use Net::DN...
pecharmin/bind9
bin/tests/system/xfer/prereq.sh
Shell
mpl-2.0
686
#!/bin/bash if [ $# -ne 1 ]; then echo "Usage: $0 DATABASE_PATH" echo " e.g.: $0 ~/database/db" exit 1 fi readonly DATABASE_PATH="$1" groonga "${DATABASE_PATH}" \ schema | \ jq ".[1].tables[].name" | \ while read table; do \ groonga \ "${DATABASE_PATH}" \ object_inspect \ "${t...
groonga/groonga
tools/object-inspect-all.sh
Shell
lgpl-2.1
599
corebuild -pkg ctypes.foreign ncurses.inferred.mli cp _build/ncurses.inferred.mli .
yminsky/examples
code/ffi/infer_ncurses.sh
Shell
unlicense
84
#!/bin/bash ciao_bin="$HOME/local" ciao_gobin="$GOPATH"/bin event_counter=0 #Utility functions function exitOnError { local exit_code="$1" local error_string="$2" if [ $1 -ne 0 ] then echo "FATAL ERROR exiting: " "$error_string" "$exit_code" exit 1 fi } #Checks that no network artifacts are left behind fun...
erick0z/ciao
testutil/singlevm/verify.sh
Shell
apache-2.0
10,240
mvn clean site site:stage -Preporting scm-publish:publish-scm $@
emsouza/archiva
archiva-modules/deploySite.sh
Shell
apache-2.0
65
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
oak11/liquid-galaxy.lg-root-fs
home/lg/bin/personality.sh
Shell
apache-2.0
2,548