code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/bin/sh
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh
. ${srcdir}/d4test_common.sh
set -e
echo "test_raw.sh:"
# Compute the set of testfiles
cd ${srcdir}/daptestfiles
F=`ls -1d *.dap`
cd -
F=`echo $F | tr '\r\n' ' '`
F=`echo $F | sed -e s/.dap//g`
# Do cleanup on the baseline file
baseclea... | Unidata/netcdf-c | dap4_test/test_raw.sh | Shell | bsd-3-clause | 1,606 |
#!/bin/bash
set -x
set -e
# copy the latest version of setup to a standard name for other scripts
cd $WORKSPACE/ObjectModel.Tests/TestSetup
pwd
rm -f VersionOne.Setup-Ultimate-latest.exe
SETUP=`ls -1rt VersionOne.Setup-Ultimate-*.*.*.*.exe | tail -1`
cp $SETUP VersionOne.Setup-Ultimate-latest.exe
| versionone/VersionOne.SDK.NET.ObjectModel | ObjectModel.Tests/TestSetup/copy_latest_setup_to_standard_name.sh | Shell | bsd-3-clause | 305 |
#!/bin/bash
#
# University of Luxembourg
# Laboratory of Algorithmics, Cryptology and Security (LACS)
#
# FELICS - Fair Evaluation of Lightweight Cryptographic Systems
#
# Copyright (C) 2015 University of Luxembourg
#
# Written in 2015 by Daniel Dinu <dumitru-daniel.dinu@uni.lu>
#
# This file is part of FELICS.
#
# FE... | GaloisInc/hacrypto | src/C/FELICS/stream_ciphers/scripts/help/cipher/cipher_code_size.sh | Shell | bsd-3-clause | 3,314 |
#! /bin/bash
SONIC_BIN=$HOME/sonic/bin
# test for 1518 and 64~72 B packets
function Test {
mode=$1
name=$2
# echo $mode $extra $togrep $name
echo $2
for len in 1518;
# for len in 1518 72 71 70 69 68 67 66 65 64;
do
valgrind ./tester mode=$mode pkt_len=$len pkt_cnt=30000000 $extra
... | hanw/sonic | driver/bin/memory_regression.sh | Shell | bsd-3-clause | 632 |
#!/bin/bash
#
# General purpose MEPO model runs for ops-only (UnitCommit) model.
#
# Features:
# - Handles directory, model, and runcode/svn manipulation
# - Setups full week for max run time of 168hr (1 week) with 160hr for solver
# - Still uses Nehalem nodes for fair time comparisons
#
# Notes:
# - All run opti... | bpalmintier/mepo | models/config/MEPO_ops_168hr.sh | Shell | bsd-3-clause | 3,858 |
#创建工程project到仓库/var/svn
cd /var/svn
svnadmin create project
#检出工程project到当前目录,并重命名为new_project_name
#project所在svn仓库路径为svn://127.0.0.1/
#svn分配的账号密码分别是account, 123456
svn co svn://127.0.0.1/project new_project_name --username account --password 123456
#添加文件到版本控制
#欲添加的文件file_for_add
svn add file_for_add
#添... | ijsonlin/life | linux/svn.sh | Shell | mit | 2,020 |
#!/bin/bash
JARS=../../jars/lib/jars
CLASSPATH=.:\
$JARS/kbase/shock/shock-client-0.0.14.jar:\
$JARS/kbase/auth/kbase-auth-0.4.1.jar:\
$JARS/apache_commons/commons-logging-1.1.1.jar:\
$JARS/apache_commons/http/httpclient-4.3.1.jar:\
$JARS/apache_commons/http/httpcore-4.3.jar:\
$JARS/apache_commons/http/httpmime-4.3.1.j... | MrCreosote/workspace_deluxe | performance/run_shock_perf_test.sh | Shell | mit | 669 |
#!/bin/sh
if [ -z $PROJECT_PATH ]; then
echo "Environment PROJECT_PATH required"
exit 1
else
cd "$PROJECT_PATH" || exit
fi
if [ -z $CONFIG_FILE ]; then
echo "Config file not specified"
else
CONFIG_FILE="-- $CONFIG_FILE"
export CONFIG_FILE
fi
exec "$@" | researchlab/experiments | debug/docker/entrypoint.sh | Shell | mit | 276 |
export DISABLE_SPRING=1
| anhari/dotfiles-local | zsh/configs/rails.zsh | Shell | mit | 24 |
#!/bin/bash
FN="TxDb.Rnorvegicus.UCSC.rn6.refGene_3.4.6.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/annotation/src/contrib/TxDb.Rnorvegicus.UCSC.rn6.refGene_3.4.6.tar.gz"
"https://bioarchive.galaxyproject.org/TxDb.Rnorvegicus.UCSC.rn6.refGene_3.4.6.tar.gz"
"https://depot.galaxyproject.org/software/... | jerowe/bioconda-recipes | recipes/bioconductor-txdb.rnorvegicus.ucsc.rn6.refgene/post-link.sh | Shell | mit | 1,572 |
#!/bin/bash
name=$1
shift
../bin/minion -redump $name | ../bin/minion $* --
| LeslieW/minion | mini-scripts/redumpstrap.sh | Shell | gpl-2.0 | 77 |
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() {
case "$(board_name)" in
asus,rt-ac58u)
CI_UBIPART="UBI_DEV"
local ubidev=$(nand_find_ubi $CI_UBIPART)
local asus_root=$(nand_find_volume $... | jcadduono/lede | target/linux/ipq40xx/base-files/lib/upgrade/platform.sh | Shell | gpl-2.0 | 2,135 |
#!/bin/bash
#
# Verify that subovolume sync waits until the subvolume is cleaned
source $TOP/tests/common
check_prereq mkfs.btrfs
setup_root_helper
run_check truncate -s 2G $IMAGE
run_check $TOP/mkfs.btrfs -f $IMAGE
run_check $SUDO_HELPER mount $IMAGE $TEST_MNT
run_check $SUDO_HELPER chmod a+rw $TEST_MNT
cd $TEST_M... | ralt/btrfs-progs | tests/misc-tests/009-subvolume-sync-must-wait/test.sh | Shell | gpl-2.0 | 1,304 |
#!/bin/sh
# genscripts.sh - generate the ld-emulation-target specific files
#
# Usage: genscripts.sh srcdir libdir exec_prefix \
# host target target_alias default_emulation \
# native_lib_dirs this_emulation tool_dir
#
# Sample usage:
# genscripts.sh /djm/ld-devo/devo/ld /usr/local/lib /usr/local \
# sp... | nslu2/Build-binutils-2.13.2 | ld/genscripts.sh | Shell | gpl-2.0 | 6,527 |
#!/bin/bash
TESTDIR="./cpc/test/lib/plumed/mdruns"
./cpcc rm plumed_test_mdruns
./cpcc start plumed_test_mdruns
./cpcc import plumed
./cpcc instance plumed::mdruns mdruns
./cpcc transact
./cpcc set-file mdruns:in.tpr[0] $TESTDIR/topol.tpr
./cpcc set-file mdruns:in.tpr[1] $TESTDIR/topol.tpr
./cpcc set-file mdruns:in.t... | soellman/copernicus | test/lib/plumed/mdruns/run-test.sh | Shell | gpl-2.0 | 551 |
#!/bin/bash
./runtests.py --text --host sunburn --plugin ../transferplugin/transfer --plugin-xenapi ../../api.hg/scripts/examples/python/XenAPIPlugin.py --vm-template ../../../output/hyde-transfervm/transfervm.xva -v -v $@
| xenserver/transfervm | transfertests/runtestsonsunburn.sh | Shell | gpl-2.0 | 223 |
alias fastfc='cd $WM_PROJECT_USER_DIR/FastFC'
alias fclib='cd $WM_PROJECT_USER_DIR/FastFC/libSrc'
alias fcsol='cd $WM_PROJECT_USER_DIR/FastFC/appSrc/solvers'
| srifilter/FastFC | config/aliases.sh | Shell | gpl-3.0 | 158 |
#!/bin/sh -x
DATE=$(date "+%Y%m%d")
BASE=/tmp/traceset
OUT=lttng-traceset-$DATE/
cd $BASE
time tar -C $BASE -cjf lttng-traceset-$DATE.tar.bz2 $OUT/
cd -
| mogeb/workload-kit | maintainer/2-zip.sh | Shell | gpl-3.0 | 155 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1B/logs/w-09-A/20161208T145743+0000/00/00/calculateratio_0_ID0000007.sh | Shell | gpl-3.0 | 1,252 |
#!/bin/sh
echo "Generating build side..."
python genbuild.py > 016M_build.tbl
echo "Generating probe side..."
python genprobe.py > 256M_probe.tbl
| siddharthsmenon/CS764-SortMerge | sort-merge/floki/test/datagen/generate.sh | Shell | gpl-3.0 | 147 |
#!/bin/bash
# @ account_no = my_cineca_computing_account
# @ shell = /bin/bash
# @ job_type = serial
# @ job_name = building_piccante.$(jobid)
# @ output = building_piccante.out.$(jobid)
# @ error = building_piccante.err.$(jobid)
# @ wall_clock_limit = 0:30:00
# @ class = serial
# @ notification = always
# @ notify_us... | ALaDyn/piccante | script/build/make.fermi.perf.sh | Shell | gpl-3.0 | 493 |
#! /usr/bin/env sh
python register.py
python setup.py register -r pypitest
rm README.txt
python setup.py sdist upload -r pypitest
| umn-earth-surface/IceFlow | topypi-test.sh | Shell | gpl-3.0 | 131 |
#!/bin/bash
#L_PATH=/usr/share/lua/5.1
#L_CPATH=/usr/lib/lua/5.1
L_PATH=
L_CPATH=
if [[ $L_PATH == "" ]]; then
echo "L_PATH not set, set it (LUA_PATH)."
exit
fi
if [[ $L_CPATH == "" ]]; then
echo "L_CPATH not set, set it (LUA_CPATH)."
exit
fi
echo "This script will install Splay Lua modules and Lua C modules."
e... | splay-project/splay | tools/scripts/planetlab_utils/splay_pl_pack/splayd_planetlab/splayd/install.sh | Shell | gpl-3.0 | 1,334 |
#!/bin/bash
# Test for disk-only queue mode (with fsync for queue files)
# This test checks if queue files can be correctly written
# and read back, but it does not test the transition from
# memory to disk mode for DA queues.
# added 2009-06-09 by Rgerhards
# This file is part of the rsyslog project, released under G... | madedotcom/rsyslog | tests/diskqueue-fsync.sh | Shell | gpl-3.0 | 907 |
#!/bin/bash
# Integration tests for findpkg
set -e
GIT_BASE_URL="https://review.rdoproject.org/r"
WORKSPACE="${WORKSPACE:-/tmp}"
function test_rdopkg_findpkg(){
PKG_NAME=$(rdopkg findpkg $1 -l ${WORKSPACE}/rdoinfo | awk '/^name/ {print $2}')
if [ $2 != "$PKG_NAME" ]; then
echo "$0 FAILED EXPECTED: $@... | redhat-openstack/rdopkg | tests/integration/test_findpkg.sh | Shell | apache-2.0 | 1,679 |
#!/bin/bash
LOG=/var/log/tomcat7/catalina.out
until [ -e $LOG ] ; do
sleep 2
done
started=`cat $LOG | grep "INFO: Server startup in"`
while [ -z "$started" ] ; do
echo "Waiting for Tomcat to finish startup."
sleep 5
started=`cat $LOG | grep "INFO: Server startup in"`
done
| oanc/docker-brandeis | waitforstart.sh | Shell | apache-2.0 | 279 |
#!/bin/bash
# Copyright 2014 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... | w4ngyi/kubernetes-mesos | hack/build-client-cross.sh | Shell | apache-2.0 | 2,783 |
# ========================================================================
# Special Deployment Parameters needed for the SchemaSpy instance.
# ------------------------------------------------------------------------
# The results need to be encoded as OpenShift template
# parameters for use with oc process.
#
# The ge... | WadeBarnes/TheOrgBook | tob-api/openshift/schema-spy-deploy.overrides.sh | Shell | apache-2.0 | 1,811 |
#!/bin/sh
# Make a new OS X Terminal tab with the current working directory.
if [ $# -ne 1 ]; then
PATHDIR=`pwd`
else
PATHDIR=$1
fi
/usr/bin/osascript <<EOF
activate application "Terminal"
tell application "System Events"
keystroke "t" using {command down}
end tell
tell application "Terminal"
repeat ... | frangucc/up | run_python_server_for_ionic.sh | Shell | apache-2.0 | 573 |
#!/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... | adit-chandra/tensorflow | tensorflow/tools/ci_build/release/ubuntu_16/gpu_py35_full/nonpip.sh | Shell | apache-2.0 | 2,185 |
#!/bin/bash
# Assumes that spark-submit is in your PATH
# and the MNIST dataset has been downloaded using the script in the data directory
export NUM_ALCHEMIST_RANKS=3
export TMPDIR=/tmp
filepath=`pwd`/data/mnist.t
format=LIBSVM
numFeatures=10000
gamma=.001
numClass=10
whereRFM=ALCHEMIST
spark-submit --verbose\
--... | jey/alchemist | run-cgkrr-test-mac.sh | Shell | apache-2.0 | 548 |
#!/bin/bash
set -e
export LC_ALL=C
source cdx/cdx.sh
source variables_entrypoint.sh
source common_functions.sh
source debug.sh
###########################
# CONFIGURATION GENERATOR #
###########################
# Load in the bootstrapping routines
# based on the data store
case "$KV_TYPE" in
etcd)
# TAG: kv_ty... | cdxvirt/ceph-docker | ceph-releases/luminous/ubuntu/16.04/daemon/cdx/entrypoint.sh | Shell | apache-2.0 | 3,017 |
#!/bin/bash
# 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 applic... | zhanglianx111/kubernetes | cluster/gce/configure-vm.sh | Shell | apache-2.0 | 12,498 |
#!/bin/bash
# Copyright 2016 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 applica... | googlei18n/language-resources | festival_utils/build_festvox_voice.sh | Shell | apache-2.0 | 2,744 |
#! /bin/bash
. ./config.sh
start_suite "Various launch-proxy configurations"
# Booting it over unix socket listens on unix socket
run_on $HOST1 COVERAGE=$COVERAGE weave launch-proxy
assert_raises "run_on $HOST1 sudo docker -H unix:///var/run/weave/weave.sock ps"
assert_raises "proxy docker_on $HOST1 ps" 1
weave_on $... | rade/weave | test/690_proxy_config_test.sh | Shell | apache-2.0 | 1,750 |
#!/bin/bash
# Install conda
# http://conda.pydata.org/docs/travis.html#the-travis-yml-file
wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
# Install Python dependencies
source "$( dirname "${BASH... | dannygoldstein/sncosmo | .continuous-integration/travis/setup_environment_osx.sh | Shell | bsd-3-clause | 365 |
#!/bin/bash
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# abort on error
set -e
# Load common constants and variables.
. "$(dirname "$0")/common.sh"
main() {
if [[ $# -ne 1 ]]; then
ech... | coreboot/vboot | scripts/image_signing/ensure_no_password.sh | Shell | bsd-3-clause | 730 |
#/bin/bash
apt-get update
apt-get upgrade -y
apt-get install apache2 php5 php5-sqlite php5-curl php5-mcrypt -y
rm /var/www/html/index.html
a2enmod rewrite
php5enmod mcrypt
cp apache2.conf /etc/apache2/apache2.conf
cp php.ini /etc/php5/apache2/php.ini
cp 000-default.conf /etc/apache2/sites-available/000-default.conf
cho... | EcrituresNumeriques/Lightium | conf/install.sh | Shell | mit | 429 |
#!/bin/bash
# © Copyright IBM Corporation 2015.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
if [ "$LICENSE" = "accept" ... | JBarbes/IBM-MQ-Container-JBA02 | iib-license-check.sh | Shell | epl-1.0 | 1,459 |
#!/bin/sh
# Copyright (C) 1999-2005 ImageMagick Studio LLC
#
# This program is covered by multiple licenses, which are described in
# LICENSE. You should have received a copy of LICENSE with this
# package; otherwise see http://www.imagemagick.org/script/license.php.
#
# Test for '${CONVERT}' utility.
#
set -e # Exit... | atmark-techno/atmark-dist | user/imagemagick/utilities/tests/implode.sh | Shell | gpl-2.0 | 443 |
#/bin/bash
KERNEL_VERSION=2.6.29-ts4700-00
INSTALL_MOD_PATH=/home/`whoami`/src/ts-4700/dist/linux-2.6.29-ts4700-00/modules-install
INITRD_PATH=${INSTALL_MOD_PATH}/initrd-modules
TRIM_PATH=${INITRD_PATH}/lib/modules/${KERNEL_VERSION}/kernel
rm -rf ${INSTALL_MOD_PATH}
if [ ! -d ${INITRD_PATH} ]; then mkdir -p ${INITRD... | coherentsolutions/linux-2.6.29-ts4700 | build-module-bundles.sh | Shell | gpl-2.0 | 1,047 |
#!/bin/bash
#
# Copyright (c) 2014 - 2020 Eaton
#
# This file is part of the Eaton sponsored 42ity project.
#
# 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 Li... | jimklimov/fty-core | tools/git_details.sh | Shell | gpl-2.0 | 11,003 |
FANCYTTY=0
| johnraff/cb-netinstall | sysfiles2/etc/lsb-base-logging.sh | Shell | gpl-2.0 | 11 |
#!/bin/sh
#
# Copyright (c) 2013 The Linux Foundation. All rights reserved.
# Copyright (C) 2011 OpenWrt.org
#
IPQ806X_BOARD_NAME=
IPQ806X_MODEL=
ipq806x_board_detect() {
local machine
local name
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /Hardware/ {print $2}' /proc/cpuinfo)
case "$machine" in
*"DB149 reference ... | wjrsonic/openwrt | target/linux/ipq806x/base-files/lib/ipq806x.sh | Shell | gpl-2.0 | 1,130 |
#! /bin/bash
#
# A clang-format lint script. Usage:
# ./lint.sh
# Runs clang-format on the current git stage
# ./lint.sh revision..range
# Runs clang-format on the specified range of commits
set -eo pipefail
[ -z "${CLANG_FORMAT}" ] && CLANG_FORMAT="clang-format"
if [ -z "$(command -v ${CLANG_FORMAT})" ]; then
... | JonnyH/OpenApoc | tools/lint.sh | Shell | gpl-3.0 | 979 |
#!/bin/bash
cd $1
./runMavenProfile pysdk
| zstackorg/zstack-utility | zstackbuild/scripts/build_zstack_pysdk.sh | Shell | apache-2.0 | 42 |
#!/usr/bin/env bash
# Copyright 2017 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 applica... | michelle192837/test-infra | logexporter/cluster/log-dump.sh | Shell | apache-2.0 | 37,852 |
#!/bin/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 applicable law ... | hacktastic/kubernetes | cluster/gce/gci/configure-helper.sh | Shell | apache-2.0 | 74,195 |
#! /bin/bash
source ./agent.version
echo "AGENT_VERSION=$AGENT_VERSION"
echo "MDSD_DEB_PACKAGE_NAME=$MDSD_DEB_PACKAGE_NAME"
echo "MDSD_RPM_PACKAGE_NAME=$MDSD_RPM_PACKAGE_NAME"
# updating HandlerManifest.json
# check for "version": "x.x.x",
sed -i "s/\"version\".*$/\"version\": \"$AGENT_VERSION\",/g" HandlerManifest... | bpramod/azure-linux-extensions | AzureMonitorAgent/apply_version.sh | Shell | apache-2.0 | 683 |
#!/bin/bash
# get opennebula context
mount -t iso9660 /dev/sr1 /mnt
if [ -f /mnt/context.sh ]; then
. /mnt/context.sh
fi
umount /mnt
ADDR=`ifconfig eth0 | grep "inet addr:" | cut -d ':' -f 2 | cut -d ' ' -f 1`
if [ "x$SCALARIS_FIRST" = xtrue ]; then
# only eth0 for the moment
ERLANG_ADDR=`echo $ADDR | tr . ,`
... | Eonblast/Scalaxis | contrib/opennebula/scalaris-iso/init-contrail.sh | Shell | apache-2.0 | 1,189 |
#!/usr/bin/env bash
set -e
server="${1}"
rsync -vrl --delete * "${server}":
| jupyter/nbgrader | demos/deploy_demos.sh | Shell | bsd-3-clause | 78 |
#!/bin/bash
# Vim
apt-get install -y vim
cat << EOF >/etc/vim/vimrc.local
syntax on
set expandtab
set tabstop=4
set number
EOF
update-alternatives --set editor /usr/bin/vim.basic
| wimme002/SecretSanta | shell_provisioner/module/vim.sh | Shell | isc | 183 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2015 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 distributed i... | p2rkw/tup | test/t4169-graph-combine6.sh | Shell | gpl-2.0 | 1,346 |
# Plowshare upstore module
# Copyright (c) 2013-2014 Plowshare team
#
# This file is part of Plowshare.
#
# Plowshare is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at y... | kidburglar/plowshare-modules-legacy | upstore.sh | Shell | gpl-3.0 | 10,333 |
#!/bin/sh
for pkgfile in `ls ../pkgData/AppIcon/`
do
if [ ! -f ../pkgData/pkgInfo/${pkgfile%.*} ]
then
echo $pkgfile
fi
done
| Zulfikarlatief/tealinux-software-center | tools/findUnnecessaryIcon.sh | Shell | gpl-3.0 | 146 |
#!/bin/bash
VERSION_android=
URL_android=
DEPS_android=(pygame)
MD5_android=
BUILD_android=$BUILD_PATH/android/android
RECIPE_android=$RECIPES_PATH/android
function prebuild_android() {
cd $BUILD_PATH/android
rm -rf android
if [ ! -d android ]; then
try cp -a $RECIPE_android/src $BUILD_android
fi
}
function s... | eHealthAfrica/python-for-android | recipes/android/recipe.sh | Shell | lgpl-2.1 | 838 |
#!/bin/sh
# 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
# "L... | apache/uima-build | uima-eclipse-composite-update-site/verifySigsEclipseUpdateSite.sh | Shell | apache-2.0 | 1,518 |
#!/bin/bash
# Wide package tool.
#
# Command:
# ./pkg.sh ${version} ${target}
# Example:
# ./pkg.sh 1.0.0 /home/daniel/1.0.0/
ver=$1
target=$2
list="conf doc i18n static views README.md TERMS.md LICENSE"
mkdir -p ${target}
echo version=${ver}
echo target=${target}
## darwin
os=darwin
export GOOS=${os}
export G... | fengshao0907/wide | pkg.sh | Shell | apache-2.0 | 2,284 |
#!/bin/bash
FN="human650v3aCrlmm_1.0.3.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/annotation/src/contrib/human650v3aCrlmm_1.0.3.tar.gz"
"https://bioarchive.galaxyproject.org/human650v3aCrlmm_1.0.3.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-human650v3acrlmm/bioconductor-human650... | bioconda/recipes | recipes/bioconductor-human650v3acrlmm/post-link.sh | Shell | mit | 1,334 |
#!/bin/sh
helpdir="../../help/manual"
tmpdir_="../../help/temp"
srcuri="http://alphamanual.audacityteam.org/man"
mkdir -p "${tmpdir_}"
python mw2html.py "${srcuri}" "${tmpdir_}" -s
mv "${tmpdir_}/alphamanual.audacityteam.org" "${helpdir}"
rm -r "${tmpdir_}"
| ThomasFeher/audacity | scripts/mw2html_audacity/wiki2htm.sh | Shell | gpl-2.0 | 260 |
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "Licen... | mahak/hbase | dev-support/create-release/do-release-docker.sh | Shell | apache-2.0 | 13,374 |
#~/code/code_bash_shell/Count_plot_data_match_to_trial_name.sh unique_trail_name.txt
while read line; do
f=`echo "$line"`
#echo "$f"
#echo "$f" | grep -c all_380_files4exp.txt
#f11=`expr '"'"$f1"'"'`
#`expr "$f1" : '.*_\(.*\)_'`
#`expr "$f1" : '.*_\(.*\)_'`
#echo "$f11"
#pn="$f1"
#grep -c "S2-LINE TRIAL-1-1" al... | solgenomics/zeabase | code_bash_shell/Count_plot_data_match_to_trial_name.sh | Shell | artistic-2.0 | 5,089 |
#!/bin/bash
source ./setenv.sh
FILENAME=dumb-0.9.3
EXTENSION=tar.gz
wget -c http://downloads.sourceforge.net/project/dumb/dumb/0.9.3/dumb-0.9.3.tar.gz -O ../$FILENAME.$EXTENSION
tar -zxf ../$FILENAME.$EXTENSION
cd $FILENAME
patch -p0 < ../../../patches/armv6/libdumb-0.9.3.patch
make
make install
| humble/ags-geminirue | iOS/buildlibs/armv6/dumb.sh | Shell | artistic-2.0 | 304 |
#!/bin/sh
#
# arch/ppc64/boot/install.sh
#
# This file is subject to the terms and conditions of the GNU General Public
# License. See the file "COPYING" in the main directory of this archive
# for more details.
#
# Copyright (C) 1995 by Linus Torvalds
#
# Blatantly stolen from in arch/i386/boot/install.sh by Dave Han... | ipwndev/DSLinux-Mirror | linux-2.6.x/arch/ppc64/boot/install.sh | Shell | gpl-2.0 | 1,110 |
echo Filtering Debug Code out of DHTML Player...
echo KeynoteDHTMLPlayer...
cat KeynoteDHTMLPlayer.js | sed -f FilterDebugCode.sed > KeynoteDHTMLPlayer.release.js
rm KeynoteDHTMLPlayer.js
mv KeynoteDHTMLPlayer.release.js KeynoteDHTMLPlayer.js
echo OrientationController...
cat OrientationController.js | sed -f Filter... | gwright/acts_as_bitemporal | slides/assets/player/FilterDebugCode.bash | Shell | mit | 1,666 |
#!/bin/sh
./crtmpserver --daemon ./flvplayback.lua
| OpenQCam/qcam | trunk/configs/run.sh | Shell | gpl-3.0 | 53 |
#!/bin/bash
mkdir -p /etc/dockercloud/agent/
if [ ! -f "/etc/dockercloud/agent/dockercloud-agent.conf" ]; then
cat > /etc/dockercloud/agent/dockercloud-agent.conf <<EOF
{
"CertCommonName":"${CERT_COMMON_NAME}",
"DockerHost":"${DOCKER_HOST_LISTEN}",
"Host":"${HOST}",
"Token":"${TOKEN}",
"UUID":"... | docker/dockercloud-node | staging/run.sh | Shell | apache-2.0 | 587 |
#!/bin/bash
# make sure we do not abort on invalid parameter (we
# once had this problem)
# addd 2016-03-03 by RGerhards, released under ASL 2.0
echo \[glbl-invld-param\]:
. $srcdir/diag.sh init
. $srcdir/diag.sh generate-conf
. $srcdir/diag.sh add-conf '
global(invalid="off")
global(debug.unloadModules="invalid")
ac... | madedotcom/rsyslog | tests/glbl-invld-param.sh | Shell | gpl-3.0 | 546 |
#!/bin/sh
nsenter -t1 -m -- /usr/bin/bpftrace -l
if [ "$?" -ne "0" ]; then
printf "bpftrace test suite FAILED\n" >&1
exit 1
fi;
printf "bpftrace test suite PASSED\n" >&1 | deitch/linuxkit | test/cases/040_packages/002_bpftrace/check.sh | Shell | apache-2.0 | 173 |
#!/bin/sh
LC_ALL=C
export LC_ALL
datadir="tests/data"
logfile="$datadir/copy.regression"
reffile="$1"
list=$(grep -oh ' ./tests/data/.*' tests/ref/{acodec,lavf,vsynth1}/*| sort)
rm -f $logfile
for i in $list ; do
echo ---------------- >> $logfile
echo $i >> $logfile
./ffmpeg_g -flags +bitexact -i $i -ac... | xbmc/xbmc-antiquated | xbmc/cores/dvdplayer/Codecs/ffmpeg/tests/copycooker.sh | Shell | gpl-2.0 | 688 |
#
# $Id: net.east.sh,v 1.2 2001/10/14 00:09:35 mcr Exp $
#
if [ -n "$UML_private_CTL" ]
then
net_eth0="eth0=daemon,10:00:00:dc:bc:ff,unix,$UML_private_CTL,$UML_private_DATA";
else
net_eth0="eth0=mcast,10:00:00:dc:bc:ff,239.192.0.1,21200"
fi
if [ -n "$UML_public_CTL" ]
then
net_eth1="eth1=daemon,10:00:00:64... | rhuitl/uClinux | freeswan/testing/baseconfigs/net.east.sh | Shell | gpl-2.0 | 469 |
#!/usr/bin/env bash
set -e
cd "$(dirname "$BASH_SOURCE")/.."
rm -rf vendor/
source 'hack/.vendor-helpers.sh'
# the following lines are in sorted order, FYI
clone git github.com/Azure/go-ansiterm 70b2c90b260171e829f1ebd7c17f600c11858dbe
clone git github.com/Sirupsen/logrus v0.8.2 # logrus is a common dependency among ... | matrix-stone/docker | hack/vendor.sh | Shell | apache-2.0 | 3,158 |
# This hook extracts $distfiles into $XBPS_BUILDDIR if $distfiles and $checksum
# variables are set.
hook() {
local srcdir="$XBPS_SRCDISTDIR/$pkgname-$version"
if [ -z "$distfiles" -a -z "$checksum" ]; then
mkdir -p $wrksrc
return 0
fi
# Check that distfiles are there before anything else.
for f in ${distfi... | ylixir/void-packages | common/hooks/do-extract/00-distfiles.sh | Shell | bsd-2-clause | 2,841 |
#!/bin/bash -l
# The settings come from ~/.bash_profile
rm -rf *.root *.dat *.log fort* hlt hough raw* recraw/*.root recraw/*.log GRP *.ps
aliroot -b -q sim.C 2>&1 | tee sim.log
mv syswatch.log simwatch.log
aliroot -b -q rec.C 2>&1 | tee rec.log
mv syswatch.log recwatch.log
aliroot -b -q ${ALICE_ROOT}/STEER/... | jgrosseo/AliRoot | test/generators/herwig/runtest.sh | Shell | bsd-3-clause | 402 |
#!/bin/sh
echo $1 > $1 | Dataman-Cloud/drone | vendor/github.com/go-swagger/go-swagger/fixtures/templates/gen_templates.sh | Shell | apache-2.0 | 23 |
#!/bin/sh
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This script generates two chains of test certificates:
#
# 1. A (end-entity) -> B -> C -> D (self-signed root)
# 2. A (end-entity) -... | nwjs/chromium.src | net/data/ssl/scripts/generate-redundant-test-chains.sh | Shell | bsd-3-clause | 3,713 |
tmplang="$LANG"
test "$LC_MESSAGES" != "" && tmplang="$LC_MESSAGES"
test "$LC_ALL" != "" && tmplang="$LC_ALL"
test "$LANGUAGE" != "" && tmplang="$LANGUAGE"
lang=`echo $tmplang|cut -d "_" -f 1`
case $lang in
en)
lang=gb
echo $tmplang | grep en_US &>/dev/null && lang=en
;;
de|fr|it|pt|es|se)
;;
... | cyrevolt/gentoo | games-rpg/bass/files/scummvmGetLang.sh | Shell | gpl-2.0 | 358 |
#!/bin/bash
# everything is performed in the destination directory
# this script has to be run by addsonpatch.sh
# do not execut it manually
cd "$destination"
if [ "$#" -eq 0 ];
then
echo "[ USAGE :"
echo "./install/addsonpatch.sh ADDSON_NAME WHERE_SOURCE WHERE_LINKS (-patch) (-revert) "
echo " addsonpatch.sh ... | QEF/q-e | install/addsontool.sh | Shell | gpl-2.0 | 4,825 |
# Copyright (C) 2010 One Laptop Per Child
# Licensed under the terms of the GNU GPL v2 or later; see COPYING for details.
. $OOB__shlib
idle_suspend_enabled=$(read_config powerd enable_idle_suspend)
if [[ "$idle_suspend_enabled" != 1 ]]; then
echo "touch /etc/powerd/flags/inhibit-suspend"
fi
| dnarvaez/olpc-os-builder | modules/powerd/kspost.50.autosuspend.sh | Shell | gpl-2.0 | 297 |
#!/bin/bash
$PYTHON -m pip install . --no-deps --ignore-installed -vv
| cokelaer/bioconda-recipes | recipes/strawc/build.sh | Shell | mit | 71 |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This pro... | bougyman/sfs | uvfs/ltmain.sh | Shell | gpl-2.0 | 184,019 |
go install
echo "// The goi18n command formats and merges translation files." > doc.go
echo "//" >> doc.go
echo "// go get -u github.com/nicksnyder/go-i18n/goi18n" >> doc.go
echo "// goi18n -help" >> doc.go
echo "//" >> doc.go
echo "// Help documentation:" >> doc.go
echo "//" >> doc.go
goi18n | sed -e 's/^/\/\/... | jabley/cf-metrics | vendor/src/github.com/nicksnyder/go-i18n/goi18n/gendoc.sh | Shell | mit | 482 |
#!/usr/bin/env bash
# Copyright 2017 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 applica... | tizhou86/kubernetes | test/kubemark/gce/util.sh | Shell | apache-2.0 | 4,714 |
##############################################################################
# A descriptive listing of core Gradle commands
############################################################################
gradle-or-gradlew() {
if [ -f ./gradlew ] ; then
echo "executing gradlew instead of gradle";
./gradlew "$@";
... | twleung/oh-my-zsh | plugins/gradle/gradle.plugin.zsh | Shell | mit | 7,783 |
#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "3 nodes, delete middle, add 2 nodes, less debug"
CTDB_DEBUGLEVEL=0
setup_nodes <<EOF
192.168.20.41
#192.168.20.42
192.168.20.43
192.168.20.44
192.168.20.45
EOF
ok_null
simple_test <<EOF
NODEMAP
0 192.168.20.41 0x0 CURRENT RECMASTER
1 192.168... | SpectraLogic/samba | ctdb/tests/tool/stubby.reloadnodes.022.sh | Shell | gpl-3.0 | 384 |
#!/bin/sh
FLOPS='
*.c
'
. ../../tools/flint_skel.sh
| gquintard/Varnish-Cache | lib/libvcc/flint.sh | Shell | bsd-2-clause | 55 |
#!/bin/tcsh
sudo kill `ps -ax | grep collectroute | perl -ne '/^\s*(\d+)\s+/; print "$1 ";'`
sudo rm -f /tmp/clicksocket
| olanb7/final-proj | conf/ron/stop-traceroute.sh | Shell | gpl-2.0 | 121 |
#!/bin/sh
test_description='test basic hash implementation'
. ./test-lib.sh
test_expect_success 'test basic SHA-1 hash values' '
test-tool sha1 </dev/null >actual &&
grep da39a3ee5e6b4b0d3255bfef95601890afd80709 actual &&
printf "a" | test-tool sha1 >actual &&
grep 86f7e437faa5a7fce15d1ddcb9eaeaea377667b8 actual... | devzero2000/git-core | t/t0015-hash.sh | Shell | gpl-2.0 | 2,640 |
#!/bin/bash
sed -i.bak 's|perl -w|/usr/bin/env perl|' t/date.t
head t/date.t
# If it has Build.PL use that, otherwise use Makefile.PL
if [ -f Build.PL ]; then
perl Build.PL
perl ./Build
perl ./Build test
# Make sure this goes in site
perl ./Build install --installdirs site
elif [ -f Makefile.PL ... | joachimwolff/bioconda-recipes | recipes/perl-http-date/build.sh | Shell | mit | 539 |
#
# Copyright (c) 1998, 2012, 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... | stain/jdk8u | test/java/io/Serializable/evolution/AddedExternField/run.sh | Shell | gpl-2.0 | 1,285 |
#!/usr/bin/env bash
# Copyright 2009 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.
# Generate Go code listing errors and other #defined constant
# values (ENAMETOOLONG etc.), by asking the preprocessor
# about the definitions.... | sigma-random/bettercap | vendor/golang.org/x/sys/unix/mkerrors.sh | Shell | gpl-3.0 | 16,318 |
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0+
#
# Alternate sleeping and spinning on randomly selected CPUs. The purpose
# of this script is to inflict random OS jitter on a concurrently running
# test.
#
# Usage: jitter.sh me duration [ sleepmax [ spinmax ] ]
#
# me: Random-number-generator seed salt.
# duration: T... | c0d3z3r0/linux-rockchip | tools/testing/selftests/rcutorture/bin/jitter.sh | Shell | gpl-2.0 | 2,157 |
#!/usr/bin/env bash
# Copyright 2018 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 applica... | childsb/origin | vendor/k8s.io/kubernetes/hack/verify-generated-files.sh | Shell | apache-2.0 | 1,409 |
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0+
#
# Create a spreadsheet from torture-test Kconfig options and kernel boot
# parameters. Run this in the directory containing the scenario files.
#
# Usage: config2csv path.csv [ "scenario1 scenario2 ..." ]
#
# By default, this script will take the list of scenarios from t... | Linutronix/linux | tools/testing/selftests/rcutorture/bin/config2csv.sh | Shell | gpl-2.0 | 1,842 |
#!/bin/sh
# ver_test_5.sh -- test that symbol has correct version
# Copyright 2008 Free Software Foundation, Inc.
# Written by Ian Lance Taylor <iant@google.com>.
# This file is part of gold.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public Licens... | HackLinux/goblin-core | riscv/llvm/3.5/binutils-2.21.1/gold/testsuite/ver_test_5.sh | Shell | bsd-3-clause | 1,280 |
#!/bin/sh
umask 077
YEAR="`date +%Y`"
DATE="`date +%Y-%m-%d`"
myerror()
{
echo "Error: $*" 1>&2
exit 1
}
archive_log()
{
FILE="${1}"
DEST="${2}"
if [ -f "${DEST}" -o -f "${DEST}.gz" ]; then
echo "Skipping ${FILE}: Archive already exists" 1>&2
else
echo "Archiving file ${FILE... | jkryorg/ansible-roles | rsyslog/files/logarchiver.sh | Shell | isc | 1,752 |
# set ZEEGUU_WEB_CONFIG in your .bashrc if you don't want to go with the default
[ -z $ZEEGUU_WEB_CONFIG ] && export ZEEGUU_WEB_CONFIG=`pwd`/default_web.cfg
python -m zeeguu_web
| MrAlexDeluxe/Zeeguu-Web | server_test.sh | Shell | mit | 178 |
#!/bin/bash
SHAREDDIR="/home/server/externals"
LOGDIR="$SHAREDDIR/logs"
STARTUPSCRIPTSDIR="/home/server"
APPLOG="node.log"
CURRENTSCREENLIST=$(screen -list)
function stop {
pkill "node.sh"
}
function start {
if [ -e "$SHAREDDIR/$APPLOG" ]
then
mkdir -p "$SHAREDDIR"
CURRENTAPPLOGDATE=$(date -r "$SHARED... | falcoprescher/Echtzeitanwendung_Node_JS | dockerplayground/server/realtimeapp_node/config/entrypoint.sh | Shell | mit | 656 |
#!/bin/bash -eu
source config/ec2_test
YUM_PACKAGES="git gcc-c++ cmake ruby-devel"
GEM_PACKAGES="rgl"
SHOGI_SERVER_DIR="shogi-server"
BACKUP_SCRIPT="test_backup.sh"
LOCAL_BACKUP_SCRIPT="./tools/${BACKUP_SCRIPT}"
scp -i ${EC2_SSH_KEY} ${REMOTE_BACKUP_KEY} ec2-user@${EC2_HOST}:~/.ssh/id_rsa
scp -i ${EC2_SSH_KEY} ${L... | sunfish-shogi/sunfish4 | tools/ec2_test_setup.sh | Shell | mit | 876 |
#!/usr/bin/env bash
scriptpath=$(realpath "$0")
backendpath=$(dirname "$scriptpath")
buildpath=$(dirname "$backendpath")
mainpath=$(dirname "$buildpath")
input=$mainpath
if [ ! -d "$input" ]; then
echo "Error: Input '$input' is not a directory"
exit 2
fi
exec docker run --rm -i -t --user="$(id -u):$(id -g)" -... | blang/posty | build/backend/godocs.sh | Shell | mit | 442 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.