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
usage(){
echo "
Written by Brian Bushnell
Last modified July 16, 2018
Description: Compresses sequence data into a fasta file containing each kmer
exactly once. Allows arbitrary kmer set operations via multiple passes.
Usage: kcompress.sh in=<reads> out=<contigs> min=<1> max=<2147483647>
Input parame... | abiswas-odu/Disco | bbmap/kcompress.sh | Shell | gpl-3.0 | 4,055 |
#!/bin/sh
cd "`dirname "$0"`"
PARAMS=$@
CONFIGFILE=
while test $# -gt 0
do
if [ `echo $1 | cut -c 1-12` = "-configfile=" ]; then
CONFIGFILE=`echo $1 | cut -c 13-`
fi
shift
done
if [ "$CONFIGFILE" = "" ]; then
echo "No config file specified. Call this script like this:"
echo " ./startserver.sh -configfile=ser... | sadsfae/ansible-7days | install/roles/7server/files/startserver.sh | Shell | gpl-3.0 | 887 |
#!/usr/bin/env bash
# Run one test case. This script is generated by $srcdir/make_cosi_tests2.py.
set -e -o pipefail -o nounset
$srcdir/tests/runtest.py --test-num 7 --test-dir $srcdir/tests/model003/t $@
| notestaff/cosi | tests/testScripts/tests/model003/t/run.sh | Shell | gpl-3.0 | 207 |
#!/bin/bash
usage(){
echo "
Written by Brian Bushnell and Shijie Yao
Last modified March 7, 2019
Description: Starts a server that translates NCBI taxonomy.
Usage: taxserver.sh tree=<taxtree file> table=<gitable file> port=<number>
Usage examples:
taxserver.sh tree=tree.taxtree.gz table=gitable.int1d.gz port=123... | abiswas-odu/Disco | bbmap/taxserver.sh | Shell | gpl-3.0 | 4,570 |
#!/bin/bash
/usr/sbin/groupadd tstpamaccess
/usr/sbin/useradd -G tstpamaccess -p '!!' tstpamaccess1
./tst-pam_access1
RET=$?
/usr/sbin/userdel -r tstpamaccess1 2> /dev/null
/usr/sbin/groupdel tstpamaccess 2> /dev/null
exit $RET
| KubaKaszycki/kubux | pam/xtests/tst-pam_access1.sh | Shell | gpl-3.0 | 229 |
/usr/msgsvr/MessageServer.py
| GKLabContent/LinuxOnAzure | msgsvrstart.sh | Shell | gpl-3.0 | 29 |
#!/bin/sh
tar -xf png-samples-1.tar.xz
tar -xf astc-encoder-3.2.tar.gz
cd astc-encoder-3.2/
mkdir build
cd build
ASTCISA="-DISA_AVX2=on"
ASTCBIN="avx2"
if [ $OS_ARCH = "aarch64" ]
then
ASTCISA="-DISA_NEON=on"
ASTCBIN="neon"
fi
cmake -DCMAKE_BUILD_TYPE=Release $ASTCISA ..
make -j $NUM_CPU_CORES
echo $? > ~/install... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/astcenc-1.3.1/install.sh | Shell | gpl-3.0 | 511 |
#Hardware utilizados:
#Sick_tim551-2050001
#ch robotics um6
#gps ultimate breakout v3 adafruit
#Raspberry 2-b
#Pionner AT
#Adaptador wifi tp-link wn722n
#Arquivos necessários:
#trouble.rules para mapear as portas usb
#trouble para criar uma rede wifi
#trouble.launch que é o launcher do trouble
#comandos_trouble.py que... | lsa-pucrs/hratc2017_robot | install/trouble.sh | Shell | gpl-3.0 | 2,501 |
#!/bin/sh
#set -e
srcdir=`dirname $0`
ACLOCAL_FLAGS="-I ${srcdir}/m4 ${ACLOCAL_FLAGS}"
fail() {
status=$?
echo "Last command failed with status $status in directory $(pwd)."
echo "Aborting"
exit $status
}
# Refresh GNU autotools toolchain: libtool
echo "Removing libtool cruft"
rm -f ltmain.sh config... | reverendhomer/libmtp | autogen.sh | Shell | lgpl-2.1 | 1,803 |
#!/bin/bash
echo Starting step_openda.sh
echo Current working directory is $PWD
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
FILE=$PWD/opa
if [ -f $FILE ];
then
date
else
date
ln -s $DIR/opa .
fi
echo "start running opa. :$PWD/opa"
./opa
echo Done running opa
# remove old restart file
rm restar... | OpenDA-Association/OpenDA | model_nemo/tests/nemo_sat/stochModel/bin/linux/step_openda.sh | Shell | lgpl-3.0 | 395 |
#!/bin/bash
# The pull request number if the current job is a pull request, “false” if it’s not a pull request.
if [[ ! "$TRAVIS_PULL_REQUEST" == "false" ]]; then
echo "This is a pull request. No deployment will be done."; exit 0
fi
# For builds not triggered by a pull request this is the name of the branch curre... | marscher/PyEMMA | devtools/ci/travis/after_success.sh | Shell | lgpl-3.0 | 595 |
#!/usr/bin/env bash
set -e
source $(dirname $0)/00-init-env.sh
if [[ "$JHI_LIB_BRANCH" == "release" ]]; then
echo "*** no need to change version in generated project"
exit 0
fi
if [[ $JHI_VERSION == '' ]]; then
JHI_VERSION=$JHI_BOM_VERSION
fi
if [[ $JHI_VERSION == '' ]]; then
JHI_VERSION=0.0.0-CICD
... | jhipster/generator-jhipster | test-integration/scripts/13-replace-version-generated-project.sh | Shell | apache-2.0 | 994 |
#!/bin/bash
# Copyright 2017 gRPC 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 agreed t... | vjpai/grpc | test/distrib/cpp/run_distrib_test_cmake_module_install.sh | Shell | apache-2.0 | 1,630 |
#!/bin/sh
# Sorter for list-events.x
LOG=$1
./list-events.x ${LOG} | sort -n
| blue42u/swift-t | mpe/list-events.sh | Shell | apache-2.0 | 80 |
#!/bin/bash -ex
if [ ! -f /etc/lsb-release ] || \
[ `uname -m` != "x86_64" ]; then
echo "This installer supports only Ubuntu 10.04, 12.04 and 14.04 64bit server."
exit 1;
fi
# Git bootstrap
if ! (which git); then
sudo apt-get update
sudo apt-get install -y git-core
fi
INSTALLER_URL=${INSTALLER_URL... | yudai/cf_nise_installer | scripts/bootstrap.sh | Shell | apache-2.0 | 596 |
#!/bin/bash
#################################################################################################################
# This script is executed before running the server and it does:
# 1.- Read KIE_CONNECTION_DRIVER env variable.
# 2.- If driver used for database connection is different that the default one fo... | romartin/kie-docker-ci-images | kie-drools-wb/src/main/docker/tomcat/etc/update-jpa-config.sh | Shell | apache-2.0 | 1,684 |
#!/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... | wulonghui/kubernetes | hack/after-build/update-generated-deep-copies.sh | Shell | apache-2.0 | 1,941 |
#!/usr/bin/env bash
find lib -name "*.rl" | while read rl; do
ragel -I lib/bel_parser/parsers/common \
-I lib/bel_parser/parsers/expression \
-I lib/bel_parser/parsers/bel_script \
-R \
-F1 \
-L \
$rl || exit 1
done
| nbargnesi/bel-parser | build_all.sh | Shell | apache-2.0 | 280 |
#!/bin/bash
set -e
OS_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${OS_ROOT}/hack/common.sh"
pushd "${OS_ROOT}/assets" > /dev/null
bundle exec grunt serve
popd > /dev/null | CrunchyData/dnsbridge | src/github.com/openshift/origin/hack/serve-local-assets.sh | Shell | apache-2.0 | 176 |
#!/bin/bash
# Expects:
# move...sh src_dir dest_dir treefile_name_list_file
src_dir="$1"
dest_dir="$2"
sub_id_file="$3"
if ! test -d "${src_dir}"
then
echo "${src_dir} is not a directory"
exit 1
fi
if ! test -d "${dest_dir}"
then
echo "${dest_dir} is not a directory"
exit 1
fi
if ! test -f "${sub_id_fi... | OpenTreeOfLife/propinquity | bin/move-subproblem-if-differing.sh | Shell | bsd-2-clause | 1,277 |
#!/bin/bash
mpiexec -n 4 ./performance/fairness_checker/fairness_checker -threads-per-node 8 \
-enable-actor-load-profiler
| GeneAssembly/biosal | scripts/performance/improve-latency.sh | Shell | bsd-2-clause | 129 |
#!/usr/bin/env bash
# can be used to build all docker images needed for local development
docker-compose build
| cappatar/knesset-data-pipelines | bin/build.sh | Shell | mit | 113 |
#! /bin/sh
killall -q sdr-transceiver
| pavel-demin/red-pitaya-notes | projects/sdr_transceiver_122_88/app/stop.sh | Shell | mit | 39 |
#!/bin/bash
# Initialization script for the Bamboo web application
getopts :fh FLAG
case $FLAG in
f) # force composer install
# Copies the parameters dist file to the actual parameters.yml.
# If you run composer manually, you will benefit from Incenteev
# ParameterHandler, which will interac... | Peistur/topgraph | app/install.sh | Shell | mit | 912 |
#!/bin/bash
# All variables that are exported/imported are in upper case convention. They are:
# TESTDIR : name of the test directory
# LANGUAGE : language in which the student has submitted an evaluation request
# TESTSETUP : name of the test setup directory
# DANGER ZONE
#UNLESS YOU KNOW WHAT YOU ARE DOING, DO ... | AnkshitJain/Autolab-Local | docs/examples/io_tests/test_cases/support_files.sh | Shell | gpl-2.0 | 617 |
#!/usr/bin/env bash
rm -rf $HOME/.m2/repository/com/dabsquared/gitlabjenkins
mkdir -p $DOCKER_CACHE_DIR
docker images -a --filter='dangling=false' --format '{{.Repository}}:{{.Tag}} {{.ID}}' | xargs -n 2 -t sh -c 'test -e $DOCKER_CACHE_DIR/$1.tar.gz || docker save $0 | gzip -2 > $DOCKER_CACHE_DIR/$1.tar.gz'
| Argelbargel/gitlab-plugin | travis/before_cache.sh | Shell | gpl-2.0 | 310 |
#!/bin/bash -x
docker run -d --name origin --privileged --net=host \
-v /:/rootfs:ro -v /var/run:/var/run:rw \
-v /sys:/sys:ro -v /var/lib/docker:/var/lib/docker:rw \
-v /var/lib/openshift/openshift.local.volumes:/var/lib/openshift/openshift.local.volumes openshift/origin start
# wait for OSE to start up
... | aweiteka/ose-build-pipeline | hack/bootstrap.sh | Shell | gpl-2.0 | 1,219 |
#!/bin/sh
test_description='CRLF conversion all combinations'
. ./test-lib.sh
compare_files () {
tr '\015\000' QN <"$1" >"$1".expect &&
tr '\015\000' QN <"$2" | tr -d 'Z' >"$2".actual &&
test_cmp "$1".expect "$2".actual &&
rm "$1".expect "$2".actual
}
compare_ws_file () {
pfx=$1
exp=$2.expect
act=$pfx.actual... | devzero2000/git-core | t/t0027-auto-crlf.sh | Shell | gpl-2.0 | 23,118 |
#!/bin/sh
$EXTRACTRC `find . -name \*.rc -o -name \*.ui | grep -v '/tests/'` >>rc.cpp
$XGETTEXT `find . -name \*.cc -o -name \*.cpp -o -name \*.h | grep -v '/tests/'` -o $podir/kdevqmakemanager.pot
rm -f rc.cpp
| mali/kdevelop | projectmanagers/qmake/Messages.sh | Shell | gpl-2.0 | 211 |
./configure --enable-memalign-hack --prefix=/mnt/hgfs/PocketPcStuff/tcpmp-0.72rc1-src-vs2008-prerelease/ffmpeg/ffmpegCe --target-os=mingw32ce --arch=arm --enable-cross-compile --cross-prefix=/opt/mingw32ce/bin/arm-mingw32ce- --enable-static --disable-shared --disable-debug --disable-ffmpeg --disable-ffserver --disable-... | xorkrus/tcpmp-revive | ffmpeg/conf-ffmpeg-armv7.sh | Shell | gpl-2.0 | 785 |
#!/bin/sh
# we really need to use `expr substr` with dash
# shellcheck disable=SC2003
MD_UUID=$(getargs rd.md.uuid -d rd_MD_UUID=)
# normalize the uuid
MD_UUID=$(str_replace "$MD_UUID" "-" "")
MD_UUID=$(str_replace "$MD_UUID" ":" "")
if { [ -z "$MD_UUID" ] && ! getargbool 0 rd.auto; } || ! getargbool 1 rd.md -d -n rd... | FGrose/dracut | modules.d/90mdraid/parse-md.sh | Shell | gpl-2.0 | 2,752 |
#!/bin/sh
# First, we check if we have an address that can ping "workstation"
WORKSTATION="2001:db8:81:e2:0:26b5:365b:5072"
ERR=1;
echo ">>> Trying to ping the workstation target... ";
ping6 -c 1 ${WORKSTATION}
if [ $? -ne 0 ];
then
echo "<<< Failed to ping the workstation target."
echo "<<< Please setup networki... | Acidburn0zzz/small.coding | gensetup/helper/updatenode.sh | Shell | gpl-3.0 | 2,930 |
#!/bin/bash
#
# runs breakdancer against bams
#
. common.sh
CALLER=breakdancer/1.4.5
# Need Statistics::Descriptive Math::CDF perl packages
export PATH=$BASE_DIR/tools/$CALLER/bin:$PATH
export PATH=$BASE_DIR/tools/$CALLER/perl:$PATH
# Need old version of GD
export PERL5LIB=$BASE_DIR/tools/breakdancer/perllib:$PERL5LIB
... | l-d-s/sv_benchmark | call_breakdancer.sh | Shell | gpl-3.0 | 953 |
#!/bin/sh
DB=../data/BioMarKs50k.fsa
VSEARCH=../src/vsearch
USEARCH=$(which usearch)
MASK=dust
WIDTH=80
/usr/bin/time $VSEARCH \
--maskfasta $DB \
--fasta_width $WIDTH \
--qmask $MASK \
--hardmask \
--output masked.v.fsa
/usr/bin/time $USEARCH \
--maskfasta $DB \
--qmask $MASK \
--ha... | fw1121/vsearch | test/mask.sh | Shell | agpl-3.0 | 356 |
#!/bin/bash
## Copyright (C) 2011, 2015 International Business Machines Corporation
## All Rights Reserved
################### parameters used in this script ##############################
#set -o xtrace
#set -o pipefail
namespace=sample
composite=TestPacketFileSourceExpressions
here=$( cd ${0%/*} ; pwd )
project... | engebret/streamsx.network | samples/SamplePacketFileSource/script/testPacketFileSourceExpressions.sh | Shell | apache-2.0 | 3,359 |
#!/bin/bash
export IMPORT_PATH=$GOPATH/src:.
export GENERATOR="gogofaster_out"
export OUTPUT_DIR="."
export PROTO_FILES="./*.proto"
protoc --proto_path=$IMPORT_PATH --${GENERATOR}=plugins=grpc:${OUTPUT_DIR} $PROTO_FILES
| otsimo/catalog | vendor/src/github.com/otsimo/otsimopb/proto.sh | Shell | apache-2.0 | 223 |
#!/bin/sh
# -----------------------------------------------------------------------------
#
# Environment Variable Prequisites
#
# WSO2AppServer_HOME Home of WSO2 AppServer installation. If not set I will try
# to figure it out.
#
# JAVA_HOME Must point at your Java Development Kit instal... | sanethd/product-as | modules/samples/product/Jibx/run-client.sh | Shell | apache-2.0 | 2,870 |
#!/usr/bin/env sh
rootfolder=/N/u/xiaolonw/cnncode/caffe-3dnormal_r_n
GLOG_logtostderr=1 $rootfolder/build/examples/3dnormal/convert_normal.bin /N/u/xiaolonw/dataset/sliding_window/images/ /N/u/xiaolonw/cnncode/seg_cls/data/leveldb/win_cls/trainLabels.txt /N/u/xiaolonw/cnncode/seg_cls/data/leveldb/win_cls/3d_train_d... | xiaolonw/caffe-3dnormal_joint_pose | scripts/3dnormal_win_cls/convert_3dnormal_win.sh | Shell | bsd-2-clause | 332 |
#!/bin/bash
set -e -o pipefail
# Setup and start Sauce Connect for your TravisCI build
# This script requires your .travis.yml to include the following two private env variables:
# SAUCE_USERNAME
# SAUCE_ACCESS_KEY
# Follow the steps at https://saucelabs.com/opensource/travis to set that up.
#
# Curl and run this scr... | alexeagle/material2 | scripts/sauce/sauce_connect_setup.sh | Shell | mit | 1,964 |
rm pybullet.pb.cpp
rm pybullet.pb.h
rm pybullet.grpc.pb.cpp
rm pybullet.grpc.pb.h
protoc --proto_path=. --cpp_out=. pybullet.proto
protoc --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` --grpc_out=. pybullet.proto
mv pybullet.grpc.pb.cc pybullet.grpc.pb.cpp
mv pybullet.pb.cc pybullet.pb.cpp
rm pybullet_pb2.py
rm pyb... | MadManRises/Madgine | shared/bullet3-2.89/examples/SharedMemory/grpc/proto/createProtobufs.sh | Shell | mit | 473 |
#!/bin/sh
#post-install script.
#creatuppy: current directory is rootfs-complete, which has the final filesystem.
#pupget: current directory is /.
if [ ! -f ./usr/local/bin/beaver ];then
#ln -s leafpad ./usr/local/bin/beaver
if [ ! -f ./usr/bin/geany ];then
if [ ! -f ./usr/bin/gedit ];then
echo '#!/bin/sh' >... | dimkr/woof-CE-libre | woof-code/packages-templates/leafpad/pinstall.sh | Shell | gpl-2.0 | 643 |
#!/bin/sh
/usr/VICE/bin/xpet
| tojo9900/vice | src/arch/sdl/syllable-files/xpet.sh | Shell | gpl-2.0 | 30 |
#!/bin/sh
set -e
set -u
scriptdir="$(dirname "$0")"
cd "$scriptdir/../.."
if [ ! -f artisan ]; then
echo "This script is being run from unexpected place"
exit 1
fi
_run() {
docker-compose run --rm php "$@"
}
_run_dusk() {
docker-compose run --rm -e APP_ENV=dusk.local php "$@"
}
genkey=0
if [ ! -f ... | ppy/osu-web | docker/development/prepare.sh | Shell | agpl-3.0 | 1,562 |
#!/bin/bash
#
set -uex
curl 'http://localhost:8081/debug'
| tempbottle/gritsgame | src/debug.sh | Shell | apache-2.0 | 59 |
#!/bin/bash
##########################################################################
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012
# Vincent C. Passaro (vincent.passaro@gmail.com)
# Shannon Mitchell (shannon.mitchell@fusiontechnology-llc.com)
#
#This program is free software; you ca... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5/prod/GEN003845.sh | Shell | apache-2.0 | 3,038 |
#!/usr/bin/env bash
#
# Test default configuration against full suite on 32bit linux.
CWD=$(cd $(dirname $0) ; pwd)
source $CWD/common.bash
export CHPL_NIGHTLY_TEST_CONFIG_NAME="linux32"
$CWD/nightly -cron
| CoryMcCartan/chapel | util/cron/test-linux32.bash | Shell | apache-2.0 | 209 |
source ../testsupport.sh
run test.txt
exists test.aaa.hello.csv
exists test.bbb.hello.csv
exists test.ccc.hello.csv
exists test.ddd.hello.csv
exists test.hello.csv
true
| vivovip/bpipe | tests/using_and_not_using/run.sh | Shell | bsd-3-clause | 176 |
#!/bin/sh
# This test is a part of RPC & TI-RPC Test Suite created by Cyril LACABANNE
# (c) 2007 BULL S.A.S.
# Please refer to RPC & TI-RPC Test Suite documentation.
# More details at http://nfsv4.bullopensource.org/doc/rpc_testsuite.php
# TEST : RPC registerrpc basic
# creation : 2007-05-30 revision 2007-
# *******... | rogerq/ltp-ddt | testcases/network/rpc/rpc-tirpc-full-test-suite/scripts/rpc_regunreg_registerrpc.sh | Shell | gpl-2.0 | 3,151 |
if [ "$FREETZ_REMOVE_UMTSD" == "y" -o "$FREETZ_REMOVE_ASSISTANT" == "y" ]; then
modsed \
's/\(^var umts = \).*/\10;/g' \
"${HTML_LANG_MOD_DIR}/html/logincheck.html"
modsed \
's/\(^local start_umts.*\) =.*/\1 = false/g' \
"${LUA_MOD_DIR}/first.lua"
fi
[ "$FREETZ_REMOVE_UMTSD" == "y" ] || return 0
echo1 "r... | Freetz/freetz | patches/scripts/380-remove_umtsd.sh | Shell | gpl-2.0 | 943 |
#!/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 A... | Robra1/XEFEL | libs/batik/make-squiggle-app.sh | Shell | gpl-3.0 | 2,859 |
#!/bin/bash
# Copyright 2019 The Vitess Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | vitessio/vitess | examples/region_sharding/scripts/k3s-up.sh | Shell | apache-2.0 | 1,840 |
#!/bin/bash
#
# This is the top-level script we give to Kokoro as the entry point for
# running the "continuous" and "presubmit" jobs.
set -ex
# Change to repo root
cd $(dirname $0)/../../..
# Initialize any submodules.
git submodule update --init --recursive
kokoro/linux/aarch64/qemu_helpers/prepare_qemu.sh
kokor... | grpc/grpc-ios | native_src/third_party/protobuf/kokoro/linux/javascript_aarch64/build.sh | Shell | apache-2.0 | 363 |
#!/bin/bash
set -ex
# Run the unit tests
vendor/bin/phpunit
BEHAT_TAGS=$(php ci/behat-tags.php)
# Run the functional tests
vendor/bin/behat --format progress $BEHAT_TAGS --strict
# Run CodeSniffer
./codesniffer/scripts/phpcs --standard=./ci/ php/
| kanei/vantuch.cz | wp-content/plugins/jekyll-exporter/vendor/wp-cli/wp-cli/ci/test.sh | Shell | gpl-2.0 | 252 |
#!/bin/sh
#
# Execute this tool to setup and build RPMs for Percona XtraDB Cluster
# from a fresh tree
#
# Usage: build-rpm.sh [target dir]
# The default target directory is the current directory. If it is not
# supplied and the current directory is not empty, it will issue an error in
# order to avoid polluting the cu... | tplavcic/percona-xtradb-cluster | build-ps/deprecated/build-rpm.sh | Shell | gpl-2.0 | 4,337 |
#!/usr/bin/env bash
# Copyright 2014 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
if [ ! -f make.bash ]; then
echo 'make.bash must be run from $GOPATH/src/golang.org/x/mobile/example/basic'
exit 1
fi
mkdir -p jni/a... | muzining/net | x/mobile/example/basic/make.bash | Shell | bsd-3-clause | 465 |
#!/bin/sh
test_description='git rev-list --pretty=format test'
. ./test-lib.sh
test_tick
test_expect_success 'setup' '
touch foo && git add foo && git commit -m "added foo" &&
echo changed >foo && git commit -a -m "changed foo"
'
# usage: test_format name format_string <expected_output
test_format() {
cat >expec... | schaary/studipET2012 | t/t6006-rev-list-format.sh | Shell | gpl-2.0 | 7,870 |
#!/bin/sh
#
# This is an example how to start a TURN Server in
# secure mode with Postgres database for users
# with the long-term credentials mechanism.
#
# We start here a TURN Server listening on IPv4 address
# 127.0.0.1 and on IPv6 address ::1. We use 127.0.0.1 as
# IPv4 relay address, and we use ::1 as IPv6 relay ... | wolf9s/rfc5766-turn-server-1 | examples/scripts/longtermsecuredb/secure_relay_with_db_psql.sh | Shell | bsd-3-clause | 2,129 |
#!/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"); ... | dmlc/mxnet | scala-package/examples/scripts/run_visualization.sh | Shell | apache-2.0 | 1,438 |
#! /bin/sh
# autogen.sh
# Copyright (C) 2003, 2014 g10 Code GmbH
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be ... | robobenklein/gpg-pqcrypt | gnupg-2.1.6/autogen.sh | Shell | gpl-3.0 | 12,670 |
#!/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
... | dinithis/stratos | samples/applications/scaling/app-bursting-pattern/scripts/kubernetes/deploy.sh | Shell | apache-2.0 | 1,441 |
#!/bin/bash
NUM=5
NONSENSE=5
for((i=1; i <=$NUM; i++)); do {
f=$i #`expr $i \* 10`
if [ ${f} -lt 10 ]; then
PREFIX="0"
else
PREFIX=""
fi
for((j=1; j <=$NONSENSE; j++)); do {
for d in 0.001 0.1 1.0 2.0 4.0; do {
for relaxTime in true ; do {
# for relaxJump in true false; do {
for sat in "" ;... | fran-penedo/dreal | benchmarks/non_uniform_delta/hybrid_systems/targeting_scalable/gen-all.sh | Shell | gpl-3.0 | 542 |
#!/bin/bash
mkdir -p "$PREFIX/bin"
export MACHTYPE=x86_64
export BINDIR=$(pwd)/bin
export L="${LDFLAGS}"
mkdir -p "$BINDIR"
(cd kent/src/lib && make)
(cd kent/src/htslib && make)
(cd kent/src/jkOwnLib && make)
(cd kent/src/hg/lib && make)
(cd kent/src/hg/utils/gapToLift && make)
cp bin/gapToLift "$PREFIX/bin"
chmod +x ... | cokelaer/bioconda-recipes | recipes/ucsc-gaptolift/build.sh | Shell | mit | 344 |
#! /bin/sh
## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
## by inline-source v2014-01-03.01
# libtool (GNU libtool) 2.4.6
# Provide generalized library-building support services.
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996-2015 Free Software Foundati... | michaellukashov/Far-NetBox | libs/expat/conftools/ltmain.sh | Shell | gpl-2.0 | 325,440 |
#!/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... | dmirubtsov/k8s-executor | vendor/k8s.io/kubernetes/cluster/openstack-heat/config-image.sh | Shell | apache-2.0 | 1,421 |
#!/bin/sh
./csvprint -f -s '\t' doserror.txt " public static final int %5 = %3;\n"
echo
./csvprint -f -s '\t' doserror.txt " %5,\n"
echo
./csvprint -f -s '\t' doserror.txt " \"%5\",\n"
echo
./csvprint -f -s '\t' doserror.txt " \"%6\",\n"
echo
./csvprint -f -s '\t' doserror.txt " { %3, %4 },\n"
| mvasilchuk/jcifs-krb5 | docs/mkjavadoserror.sh | Shell | lgpl-2.1 | 300 |
# SPDX-License-Identifier: GPL-2.0
TC_POLICE_NUM_NETIFS=2
tc_police_h1_create()
{
simple_if_init $h1
}
tc_police_h1_destroy()
{
simple_if_fini $h1
}
tc_police_switch_create()
{
simple_if_init $swp1
tc qdisc add dev $swp1 clsact
}
tc_police_switch_destroy()
{
tc qdisc del dev $swp1 clsact
simple_if_fini $swp1... | penberg/linux | tools/testing/selftests/drivers/net/mlxsw/tc_police_scale.sh | Shell | gpl-2.0 | 1,488 |
#!/usr/bin/env bash
# Copyright 2016, 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 ... | jcanizales/grpc | tools/jenkins/build_artifacts.sh | Shell | bsd-3-clause | 2,204 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ mouseCHRLOC
| joachimwolff/bioconda-recipes | recipes/bioconductor-mousechrloc/pre-unlink.sh | Shell | mit | 58 |
_homebrew-installed() {
type brew &> /dev/null
}
_rbenv-from-homebrew-installed() {
brew --prefix rbenv &> /dev/null
}
FOUND_RBENV=0
rbenvdirs=("$HOME/.rbenv" "/usr/local/rbenv" "/opt/rbenv")
if _homebrew-installed && _rbenv-from-homebrew-installed ; then
rbenvdirs=($(brew --prefix rbenv) "${rbenvdirs[@]}")
f... | OualidBourgou/oh-my-zsh | plugins/rbenv/rbenv.plugin.zsh | Shell | mit | 1,659 |
original=testfile11
stripped=testfile37
debugfile=testfile37.debug
. $srcdir/run-strip-test.sh
| Distrotech/elfutils | tests/run-strip-test4.sh | Shell | gpl-3.0 | 96 |
#
# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Softwar... | frohoff/jdk8u-jdk | test/sun/security/krb5/runNameEquals.sh | Shell | gpl-2.0 | 3,584 |
#!/bin/bash
# Installs folly's dependencies to /usr/local on a clean Ubuntu 12.04 x64
# system. Primarily intended for Travis CI, since most engineers don't run
# distributions this stale.
#
# WARNING: Uses 'sudo' to upgrade your system with impunity:
# - Adds several PPAs for missing/outdated dependencies
# - Inst... | SammyK/folly | folly/build/deps_ubuntu_12.04.sh | Shell | apache-2.0 | 2,561 |
#!/bin/bash
# This script can be used to quickly switch on usb suspend
# power saving mode on the Option modem in sysfs
#
# checking for root
USERID=`id -u`
if [ "$USERID" != "0" ]
then
echo "Need root permissions to run this script"
exit
fi
echo $1 >`find /sys -name idVendor | xargs -n 1 grep -H af0 | sed "s/idVe... | ghmajx/asuswrt-merlin | release/src-rt/linux/linux-2.6/drivers/net/usb/hso_26-v1.14/setpwr.sh | Shell | gpl-2.0 | 345 |
#!/bin/sh
test_description='test corner cases of git-archive'
. ./test-lib.sh
test_expect_success 'create commit with empty tree' '
git commit --allow-empty -m foo
'
# Make a dir and clean it up afterwards
make_dir() {
mkdir "$1" &&
test_when_finished "rm -rf '$1'"
}
# Check that the dir given in "$1" contains e... | overtherain/scriptfile | tool-kit/git-2.1.2/t/t5004-archive-corner-cases.sh | Shell | mit | 3,467 |
#!/bin/bash
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
bash ${common_folder}/undeploy.sh
| agentmilindu/stratos | samples/applications/simple/single-group-app/scripts/openstack/undeploy.sh | Shell | apache-2.0 | 153 |
SCRIPT_NAME=elf
TEMPLATE_NAME=generic
EXTRA_EM_FILE=genelf
OUTPUT_FORMAT="elf32-bigmoxie"
BIG_OUTPUT_FORMAT="elf32-bigmoxie"
LITTLE_OUTPUT_FORMAT="elf32-littlemoxie"
TEXT_START_ADDR=0x1000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
ARCH=moxie
EMBEDDED=yes
STACK_ADDR=0x400000
| jlspyaozhongkai/Uter | third_party_backup/binutils-2.25/ld/emulparams/elf32moxie.sh | Shell | gpl-3.0 | 270 |
#!/bin/sh
if [ ! "$(uci -q get freifunk-mapupdate.mapupdate.enabled)" == 1 ]; then
exit 1
fi
MAPSERVER="$(uci -q get freifunk-mapupdate.mapupdate.mapserver)"
[ -z "$MAPSERVER" ] && logger -t "freifunk-mapupdate:" "No mapserver configured" && exit 1
#check if nameservice plugin is installed and enabled, else exit
ns... | Victek/wrt1900ac-aa | veriksystems/luci-0.11/contrib/package/freifunk-mapupdate/files/usr/sbin/ff_mapupdate.sh | Shell | gpl-2.0 | 2,298 |
REGISTRY=$HOME/code/dylan/registry
DYLAN=/usr/local/opendylan
if [ -d $DYLAN ]
then
export PATH=$PATH:$DYLAN/bin
export OPEN_DYLAN_USER_REGISTRIES=$REGISTRY
fi
| kisom/dotconf-ng | profile.d/dylan.sh | Shell | isc | 163 |
#!/bin/bash
cp .xinitrc ~
| txthinking/dotfiles | x/use.sh | Shell | mit | 27 |
#!/usr/bin/env bash
BUILD_TYPE="Release"
i=0
args=()
for arg in "$@"
do
if [ "$arg" = "debug" ]
then
BUILD_TYPE="Debug"
elif [ "$arg" = "release" ]
then
BUILD_TYPE="Release"
elif [ "${arg:0:19}" = "-DCMAKE_BUILD_TYPE=" ]
then
BUILD_TYPE="${arg:19}"
else
args[... | xs-embedded-llc/l2dbus | build_host.sh | Shell | mit | 788 |
#!/bin/sh
#Build Configuration
#-------------------
export AQROOT=$PWD/../../..
export LDFLAGSVIV="${AQROOT}/build/sdk/drivers -lGAL -lm -ldl"
export CFLAGS='-I${AQROOT}/build/sdk/include -L${LDFLAGSVIV}'
./autogen.sh --prefix=/usr --libdir '/usr/lib' --disable-static
echo "End of configuration"
| zOrg1331/xorg-drv-vivante | exa/viv-configure.sh | Shell | mit | 302 |
#!/bin/bash
#################################################################################################
# Conveniently runs the build script in the "source" directory, which will compose the Ansible
# modules with the library modules (split for testing purposes).
#################################################... | rclayton-the-terrible/Ansible-OpenSSL | build.sh | Shell | mit | 439 |
#!/bin/bash
TARGET_PATH=target
create_dockerfile() {
ms_name=$1
version=$2
cat <<- EOF > Dockerfile
FROM openjdk:8-alpine3.8
VOLUME /tmp
ADD $TARGET_PATH/${ms_name}-${version}.jar app.jar
ENTRYPOINT ["java", "-Dspring.application.name=$ms_name", "-jar", "/app.jar"]
RUN sh -c 'touch /app.jar'
EOF
}
main() {
creat... | antpas14/fantalegheEV | backend/create_dockerfile.sh | Shell | mit | 347 |
#!/bin/sh
#
# postfix/dovecotにSSL証明書の設定
#
# Author: corokada
#
#
# 【利用条件】
# SSL証明書と秘密鍵ファイル名が同一
# かつ
# 同一ディレクトに存在している時
# のみ利用可能
# 証明書 :hogehoge.com.crt
# 秘密鍵 :hogehoge.com.key
# CA証明書 :hogehoge.com.ca-bundle
# 証明書+CA証明書:hogehoge.com.crt-ca-bundle
#
if [ -z "$1" ]; then
echo... | corokada/acme-tiny | set_cert_postfix.sh | Shell | mit | 2,838 |
#!/bin/bash
cd /usr/src/app
if [ ! -d "/usr/src/app/node_modules" ]; then
# there's a problem handling symlinks on windows at the time of writing
# https://github.com/yarnpkg/yarn/issues/1961#issuecomment-275879675
yarn add fs-extra && yarn install --no-bin-links
# fixes missing binaries caused by --no-bin-li... | flyingbuddha/eatentoday-api-recipes | entrypoint.sh | Shell | mit | 517 |
#!/bin/bash
set -e
if [ $EUID != 0 ]; then
echo "This script requires sudo, so it might not work."
fi
if ! parted -h > /dev/null; then
echo "Please install 'parted' and try again."
exit 1
fi
if ! command -v mkfs.vfat >/dev/null 2>&1; then
echo "Please install 'mkfs.vfat' (usually dosfstools) and try again."
... | paralin/SkiffOS | configs/orangepi/common/scripts/format_sd.sh | Shell | mit | 2,052 |
case "$TERM" in
xterm)
if [ "$COLORTERM" = "gnome-terminal" ] && infocmp gnome-256color >/dev/null 2>&1; then
export TERM=gnome-256color
export TERM_ITALICS=true
elif infocmp xterm-256color >/dev/null 2>&1; then
case "$COLORTERM" in
gnome-*|xfce4-*|lilyterm)
export TERM=xte... | morhetz/vim-termitr | termitr.sh | Shell | mit | 460 |
#!/bin/sh
imgpath="../wui/img/user/"
url="http://localhost/user/"
for file in `\find ${imgpath} -maxdepth 1 -type f | awk -F/ '{print $NF}'`; do
echo $file
`curl -s ${url}${file} > /dev/null`
done
| hamache9821/ImacocoServer | scripts/convert-nickname.sh | Shell | mit | 208 |
psf()
{
if is_osx; then
local res=$(ps -fU$USER | fzf | awk '{print $2}')
print $res
else
local res=$(ps aux | fzf | awk '{print $2}')
print $res
fi
}
zle -N psf
| MaxMEllon/.dotfiles | zsh/functions/psf.zsh | Shell | mit | 185 |
#!/usr/bin/env bash
export LC_ALL=C.UTF-8
set -euxo pipefail
TOPLEVEL=$(git rev-parse --show-toplevel)
CHAINPARAMS_SCRIPTS_DIR="${TOPLEVEL}"/contrib/devtools/chainparams
# ARGS should be triplets of network, mainnet port, testnet port, ...
ARGS=("$@")
if [ "$#" == 0 ]; then
ARGS=("abc" 8332 18332)
fi
# Assumes b... | Bitcoin-ABC/bitcoin-abc | contrib/source-control-tools/patch-recipes/update-chainparams.sh | Shell | mit | 1,248 |
# Número de corrida: ojo que si se mantiene el número se sobreescriben los logs
WORKING_DIR=$1
RUNNING_DIR=$1/crf_corpus/hc/final
CONF_FILE=$2
LOG_FILE=$3
# Escenarios que indican qué campos se van a utilizar: scenario para el HC
# Si se agregan atributos al aprendizaje de la HC cambia el escenario correspondiente
g... | gmonce/bioscope | thesis/src/scripts/learn_hedge_cues_tuning.sh | Shell | mit | 1,579 |
#!/bin/bash
#
# This script converts a generic Gitlab CE installation into a
# Stoplight version.
#
# Run from the root of the Gitlab git repository.
#
set -ex
rm -rf \
/opt/gitlab/embedded/service/gitlab-rails/app \
/opt/gitlab/embedded/service/gitlab-rails/db \
/opt/gitlab/embedded/service/gitlab-rails/... | stoplightio/gitlabhq | scripts/stoplight-bootstrap.sh | Shell | mit | 829 |
../blaster.sh -e development
| jongillies/blaster | examples/test-dev.sh | Shell | mit | 29 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2431-1
#
# Security announcement date: 2014-12-03 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:07 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: i386
#
# Vulnerable packages fix on version:
# - libapache2-mod-wsgi:3.3-4ubuntu0.2
# ... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/i386/2014/USN-2431-1.sh | Shell | mit | 983 |
#!/bin/bash
################### Config ###################
BASE_DIR=$(dirname ${0})
BASE_DIR=$(readlink -f "${BASE_DIR}")
# default configs
SSH_DIR=~/.ssh
SSH_KEY=vm_default_ssh_key
USER_DEFAULT=ubuntu
# get custom configs
if [ -f ${BASE_DIR}/config/config.sh ]; then
source ${BASE_DIR}/config/config.sh
fi
#####... | tranhuucuong91/ubuntu-kvm-tools | vm-tools/generate-ssh-config.sh | Shell | mit | 1,498 |
#!/usr/bin/env bash
TLS_PATH='/home/core/dockertls'
# Enable Docker
systemctl enable docker
# Enable TLS
sed -i "s|--host=fd://|& --tlsverify \
--tlscacert=${TLS_PATH}/myca.pem \
--tlscert=${TLS_PATH}/final-server-cert.pem \
--tlskey=${TLS_PA... | Mathmagicians/kumori | infrastructure/tls/tls_setup.sh | Shell | mit | 470 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2015:2619
#
# Security announcement date: 2015-12-14 23:41:10 UTC
# Script generation date: 2017-01-01 21:11:39 UTC
#
# Operating System: CentOS 7
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - autocorr-af.noarch:4.3.7.2-5.el7_2.1
# ... | Cyberwatch/cbw-security-fixes | CentOS_7/x86_64/2015/CESA-2015:2619.sh | Shell | mit | 20,681 |
_out()
{
local params
local message
params="-e"
while [[ ${1} = -* ]]; do
params="${params} ${1}"
shift
done
message="${@}<0>"
if [ ${SCRIPT_INTERACTIVE} -eq 1 ]; then
message=$(echo "${message}" | sed -E $'s/<([0-9;]+)>/\033\[\\1m/g')
else
message=$(ec... | henriquemoody/deployer | src/out.bash | Shell | mit | 404 |
#!/bin/sh
SUBTITLES_ENABLED=`head -n 1 /data/etc/.subtitles_enabled`
if [ "$SUBTITLES_ENABLED" == "1" ]; then
mount -o bind /data/hack/boxee/scripts/OpenSubtitles /opt/boxee/scripts/OpenSubtitles
else
umount -f /opt/boxee/scripts/OpenSubtitles
fi
| boxeehacks/boxeehack | hack/subtitles.sh | Shell | mit | 254 |
#!/bin/ash
# If we run source ~/.profile it will be looking for this file on the host and won't find it!!
# That's why we're using a shell script - it uses the correct scope (i.e. the container).
# We're running this script so that npm can find the directories we need to overcome install permission issues.
source ~/.p... | DogFishProductions/swarm-message-queue | shell/scripts/startup-debug.sh | Shell | mit | 390 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.