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 |
|---|---|---|---|---|---|
numactl --cpunodebind=0 --membind=0 ./Release/ov_mlperf --scenario SingleStream \
--mlperf_conf Configs/mlperf.conf \
--user_conf Configs/resnet50/user.conf \
--model_name resnet50 \
--data_path /home/t/CK-TOOLS/dataset-imagenet-ilsvrc2012-val \
--nireq 1 \
--nthreads 28 \
--nstreams 1 \
--total_sample_count 50... | mlperf/inference_results_v0.7 | closed/Intel/code/resnet/resnet-ov/scripts/1-node-2s-clx-ov/resnet50-singlestream.sh | Shell | apache-2.0 | 396 |
#!/bin/bash
# launch_gdf2gdf.sh
# script is in utils directory under gdf root dir
gdf_root=$(dirname $(readlink -e $(dirname $0)))
echo gdf_root = ${gdf_root}
level='PQA'
xmin=139
xmax=141
ymin=-37
ymax=-35
temp_dir='/g/data1/r78/axi547/gdf/temp'
config="${gdf_root}/utils/agdc2gdf_landsat.conf"
for x in $(seq ${xmin... | GeoscienceAustralia/gdf | utils/launch_landsat_pq_agdc2gdf.sh | Shell | apache-2.0 | 2,659 |
# Copyright 2013 Netherlands eScience Center
#
# 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 ... | NLeSC/enram | src/raw-to-odim-conversion-tools/_DEBUG.sh | Shell | apache-2.0 | 802 |
#!/bin/bash
set -e
PLUGINS_ENDPOINT=http://updates.jenkins-ci.org/latest/
DATA=/home/jenkins
mkdir -p $DATA/plugins
if find $DATA/plugins -maxdepth 0 -empty | read v; then
(cd $DATA/plugins && wget --no-check-certificate $PLUGINS_ENDPOINT/hipchat.hpi)
(cd $DATA/plugins && wget --no-check-certificate $PLUGINS... | nalindak/devops-docker-ansible | docker/tahr-jenkins/start.sh | Shell | apache-2.0 | 1,525 |
#!/bin/bash
source ./ci/functions.sh
runBuild=false
echo "Reviewing changes that might affect the Gradle build..."
currentChangeSetAffectsDependencies
retval=$?
if [ "$retval" == 0 ]
then
echo "Found changes that affect project dependencies."
runBuild=true
else
echo "Changes do NOT affect project dependenc... | rrenomeron/cas | ci/update-dependencies.sh | Shell | apache-2.0 | 1,074 |
#!/bin/bash -Eux
#Kafka settings
wget https://storage.googleapis.com/golang/go1.4.linux-amd64.tar.gz
tar -xvf go1.4.linux-amd64.tar.gz
mv go /usr/local
export KAFKA_VERSION=0.8.2.2
echo "export KAFKA_VERSION=$KAFKA_VERSION">> /home/vagrant/.bashrc
echo "export KAFKA_VERSION=$KAFKA_VERSION">> /root/.bashrc
export SC... | elodina/syslog-kafka | vagrant/prep.sh | Shell | apache-2.0 | 3,887 |
#!/bin/sh
commands="
apt
apt-get
ant
awk
bash
bc
bzip2
cat
chksum
cp
csplit
cut
date
dd
egrep
expr
file
find
gcc
grep
gs
gunzip
gzip
g++
head
ifconfig
info
java
javac
kill
killall
ld
ldd
less
locate
ls
lsmod
man
make
md5sum
modprobe
mv
nl
od
paste
perl
pr
ps
rar
reset
rm
rmdir
rmmod
sha1sum
sha2
sed
seq
sh
sleep
split... | consulo/consulo-bash | src/main/resources/documentation/external/create-html.sh | Shell | apache-2.0 | 514 |
#!/bin/bash
#Author: Fernando Sanchez (fernando at plumgrid dot com)
#(c)2016 Fernando Sanchez and PLUMgrid inc.
#Script to destroy a full NFV environment in Openstack. This includes external connectivity, a purpose-built tenant,
#and a two stage routed environment with a Network_WAN-Router-Network_out-[NFV]-Network_in... | fernandosanchezmunoz/Openstack_NFV_vCPE_demo | destroy.sh | Shell | apache-2.0 | 2,688 |
#prj/dbtarzan> mksnap/install.sh $PWD 1.25
ROOTDIR=$1
VERSION=$2
SNAPDIR=$ROOTDIR/mksnap
cd $SNAPDIR
snap remove dbtarzan
snap install dbtarzan_$VERSION.0_amd64.snap --devmode
mkdir ~/snap/dbtarzan/common
cp $ROOTDIR/connections.config ~/snap/dbtarzan/common/
cp $ROOTDIR/global.config ~/snap/dbtarzan/common/
cd -
| aferrandi/dbtarzan | mksnap/install.sh | Shell | apache-2.0 | 316 |
#!/bin/bash
set -xe
# Expects the following installed:
# - docker
# - kubectl
# - kind
# - curl
# - jq
if [[ "$M3COORDINATOR_PRIMARY_IP" == "" ]]; then
echo "M3COORDINATOR_PRIMARY_IP env var not set"
exit 1
fi
if [[ "$M3COORDINATOR_SECONDARY_IP" == "" ]]; then
echo "M3COORDINATOR_SECONDARY_IP env var not... | m3db/m3db | scripts/vagrant/provision/setup_kube_bench.sh | Shell | apache-2.0 | 1,761 |
#!/bin/bash
workdir="/home/azureuser/web"
activator_log="$workdir/activator.log"
cd $workdir/DemocracIT-Web
. /etc/profile;
echo "Pass is `set | grep democracit`";
JAVA_OPTS="-Xms128m -Xmx256m" ./activator "run 9000" -Dconfig.file=/home/azureuser/web/DemocracIT-Web/conf/application.prod.conf
# &>> $activator_log
#JAV... | scify/DemocracIT-Web | startActivator.sh | Shell | apache-2.0 | 388 |
#!/bin/bash
# Local integration tests. To be used by CI.
# See https://github.com/github/orchestrator/tree/doc/local-tests.md
#
# Usage: localtests/test/sh [mysql|sqlite] [filter]
# By default, runs all tests. Given filter, will only run tests matching given regep
tests_path=$(dirname $0)
test_logfile=/tmp/orchestra... | github/orchestrator | tests/integration/test.sh | Shell | apache-2.0 | 6,594 |
# -----------------------------------------------------------------------------
#
# Package : anser
# Version : 1.4.1
# Source repo : https://github.com/IonicaBizau/anser
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com>
#
# Discla... | ppc64le/build-scripts | a/anser/anser_rhel_8.3.sh | Shell | apache-2.0 | 3,046 |
#!/usr/bin/env bash
# **fixup_stuff.sh**
# fixup_stuff.sh
#
# All distro and package specific hacks go in here
#
# - prettytable 0.7.2 permissions are 600 in the package and
# pip 1.4 doesn't fix it (1.3 did)
#
# - httplib2 0.8 permissions are 600 in the package and
# pip 1.4 doesn't fix it (1.3 did)
#
# - Fedora... | strongit/NewhostInit | test-cases/fixup_stuff.sh | Shell | apache-2.0 | 6,478 |
#!/bin/bash
#set -x
#Always exit on errors
set -e
# This is people that are nut using the ansible install.
# The script expands the templates into yaml files in ../yaml
OVN_IMAGE=""
OVN_IMAGE_PULL_POLICY=""
OVN_NET_CIDR=""
OVN_SVC_DIDR=""
ONV_K8S_APISERVER=""
# Parse parameters given as arguments to this script.
wh... | shettyg/ovn-kubernetes | dist/images/daemonset.sh | Shell | apache-2.0 | 3,303 |
#!/usr/bin/env zsh
# @Author: Patrick Bos
# @Date: 2016-11-16 16:54:41
# @Last Modified by: E. G. Patrick Bos
# @Last Modified time: 2017-06-28 14:42:08
# set c: workspaces from a, full timing only, no numerical integral timing, but
# now with fixed binned pdfs
export run_id=vincemark_c
export run_script_... | roofit-dev/parallel-roofit-scripts | profiling/vincemark/config_vincemark_c.sh | Shell | apache-2.0 | 3,459 |
#!/bin/bash
function prepareDist()
{
if [[ $# -ne 3 ]]; then
echo "${FUNCNAME[0]} arguments (destDir, zooDir, jopamaDir)"
return 1
fi
local projectName=Jopama
local archName=${projectName}.tar.gz
local destDir=$1
local distBaseDir=/tmp/distDir_${RANDOM}
local distDir=$distBa... | smolenski/Jopama | docker/imgs/jopama/helpers.sh | Shell | apache-2.0 | 2,561 |
#! /bin/bash
set -e
set -x
if [ x"$TRAVIS" = xtrue ]; then
CPU_COUNT=2
fi
export PKG_CONFIG_PATH="$BUILD_PREFIX/lib/pkgconfig/"
export CXXFLAGS="$CXXFLAGS -I$BUILD_PREFIX/include"
export LDFLAGS="$CXXFLAGS -L$BUILD_PREFIX/lib -lrt -ltinfo"
make -j$CPU_COUNT
make -j$CPU_COUNT install
| SymbiFlow/conda-packages | surelog/build.sh | Shell | apache-2.0 | 290 |
#!/bin/bash
#
# Copyright (c) 2005-2019 Intel Corporation
#
# 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 ... | 01org/tbb | src/perf/run_statistics.sh | Shell | apache-2.0 | 1,096 |
#!/bin/bash
## Choose a deterministic weekday to have lunch once a month
readonly MONTH="$1"
year="$2"
# takes a single option, 1-12, the month
if [ -z "$MONTH" ] || ! echo "$MONTH" | grep -Exq '[1-9]|1[0-2]'; then
echo "bad input. (MONTH [YEAR])"
else
if [ -z "$year" ]; then
year=$(date +%Y)
fi
... | Sutrannu/onceamonth | getweekday.sh | Shell | apache-2.0 | 942 |
#!/bin/bash
# Make all available as non-nano Java classes.
protoc --java_out=src/main/java etc/protos/*.proto
# The ones we need to access on Android we convert to nano.
protoc --javanano_out=../winston-android/src/main/java etc/protos/for_clients.proto
| shaeberling/winston | winston-protos/generateCode.sh | Shell | apache-2.0 | 257 |
# ----------------------------------------------------------------------------
#
# Package : redis
# Version : 5.0.4
# Source repo : https://github.com/antirez/redis.git
# Tested on : rhel 7.6
# Script License: Apache License, Version 2 or later
# Maintainer : Amit Ghatwal <ghatwala@us.ibm.com>
#
#... | ppc64le/build-scripts | r/redis/redis_rhel_7.6.sh | Shell | apache-2.0 | 952 |
#!/bin/bash
# Copyright 2011 Splunk, 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... | splunk/splunk-app-splunkgit | bin/generate_multi_repo_view.sh | Shell | apache-2.0 | 2,330 |
#!/bin/bash
#
# Presubmit checks for certificate-transparency-go.
#
# Checks for lint errors, spelling, licensing, correct builds / tests and so on.
# Flags may be specified to allow suppressing of checks or automatic fixes, try
# `scripts/presubmit.sh --help` for details.
#
# Globals:
# GO_TEST_PARALLELISM: max proc... | google/certificate-transparency-go | scripts/presubmit.sh | Shell | apache-2.0 | 4,045 |
#!/bin/sh
### BEGIN INIT INFO
# Provides: icecite
# Required-Start: $all
# Required-Stop: $local_fs $network $named $time $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Description: Starts Icecite.
### END INIT INFO
HOME="/home/icecite"
USER="korzen"
GROUP="ad-staff"
LOG_FILE_... | ckorzen/icecite | icecite.sh | Shell | apache-2.0 | 4,814 |
#!/bin/sh
s3cmd -P --exclude "data/*" sync . s3://www.appening.at/
| hannesmuehleisen/Appening | src/main/frontend/deploy.sh | Shell | bsd-2-clause | 83 |
root=$(pwd -P)
fea_type=mfcc
. "$root"/setup.sh
| OliverWalter/amdtk | recipes/xitsonga/setup_mfcc.sh | Shell | bsd-2-clause | 49 |
#!/bin/bash
source $HOME/env/bin/activate
cd $HOME/ops/facetview-ckan-catalog.data.gov/scripts
./import_echo_data.py
| pymonger/facetview-ckan-catalog.data.gov | scripts/import_echo_data.sh | Shell | bsd-2-clause | 118 |
#!/usr/bin/env bash
#
# Copyright (c) 2014-2019, Erik Dannenberg <erik.dannenberg@xtrade-gmbh.de>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
# following conditions are met:
#
# 1. Redistributions of source code must retain ... | edannenberg/gentoo-bb | engine/docker.sh | Shell | bsd-2-clause | 35,417 |
#!/bin/sh
on_crash_status()
{
local _ret=0
case "${on_crash}" in
restart)
_ret=1
;;
destroy)
_ret=0
;;
*)
logger -t bhyverun.sh "unknown value for on_poweroff: ${on_poweroff}"
_ret=0 # use default behavior
;;
esac
return ${_ret}
}
# FreeBSD 11
# EXIT STATUS
# Exit status indicates... | olevole/cbsd | share/bhyverun.sh | Shell | bsd-2-clause | 12,510 |
#!/usr/bin/env zsh
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2010-2011 zsh-syntax-highlighting contributors
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted
# provided that ... | zsh-readable/zsh-readable | zsh-syntax-highlighting.zsh | Shell | bsd-3-clause | 9,207 |
#!/bin/bash
set -xe
if [ -z "$SCRIPT_ROOT" ]; then
SCRIPT_ROOT="$(readlink -f `dirname $0`)"
fi
. "$SCRIPT_ROOT/functions.sh"
. "$SCRIPT_ROOT/variables.sh"
pushd "$BUILD_ROOT"
LIBUNWIND_GIT_URL="git://git.sv.gnu.org/libunwind.git"
LIBUNWIND_GIT_BRANCH="master"
LIBUNWIND_PATCHES_DIR="$(readlink -f $SCRIPT_ROOT/../... | ruslanch/memhook | scripts/build_libunwind.sh | Shell | bsd-3-clause | 1,234 |
#! /bin/bash
java -jar JsTestDriver-1.3.4.b.jar --port 4224 | rafaeladson/examples | JavascriptTest/start_server.sh | Shell | bsd-3-clause | 59 |
#!/bin/bash
# Remove old energy files
rm energies*.txt
rm energies.csv
# System names
declare -a arr=("cyclopentane" "cyclohexane" )
# Start energy calculation file
# echo "Single point energy calculations" > energies.txt
# echo "${arr[@]}" >> energies.txt
echo "molecule,bond,angle,dihedral,vdwaals,electrostatic,h... | dgasmith/EEX_scratch | examples/amber/cyclic/run.sh | Shell | bsd-3-clause | 1,938 |
#!/bin/bash
set -e
set -x
cd /vagrant
function bail {
echo $1
exit 1
}
### first determine distro
if [ -f "/etc/os-release" ]; then
DISTRO=$(grep "^ID=" /etc/os-release | sed 's/ID=//' | sed 's/\"//g')
elif [ -f "/etc/redhat-release" ]; then
rel=$(cat /etc/redhat-release | awk {' print $1 '})
if... | datafolklabs/cement | scripts/vagrant/bootstrap.sh | Shell | bsd-3-clause | 3,029 |
#!/bin/bash
LF='\'$'\n'
sed -i.bak '{
s`// int \(lastTile\);`context->\1 = 9;`;
s`// int \(tileWidth\);`context->\1 = 10;`;
s`// int \(numIters\);`context->\1 = 100;`;
}' Main.c
sed -i.bak '{
s`^\( *\)/. TODO: Initialize tile ./`\1int j;'"$LF"'\1for (j=0; j<ctx->tileWidth; j++) tile[j] = 0;`;
s`/. TODO: Initialize \... | habanero-rice/cnc-framework | test/Stencil1D/implementSteps.sh | Shell | bsd-3-clause | 1,293 |
#!/bin/bash
#
# Author : peter.ducai@gmail.com
# Homepage :
# License : BSD http://en.wikipedia.org/wiki/BSD_license
# Copyright 2014, peter ducai
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are m... | daemonna/bashtools | daemon_wall.sh | Shell | bsd-3-clause | 34,850 |
#!/bin/bash
###############################################################################
# Run a Blockbridge simulator management node and 1 storage node for local host
# storage access only.
###############################################################################
############################################... | blockbridge/blockbridge-demo | simulator/complete_two_node/run_private.sh | Shell | bsd-3-clause | 3,179 |
#!/bin/bash
MYSQL_VERSION='5.7.19'
PERCONA_VERSION='5.7.19-17'
BOOST_VERSION='1_59_0'
BOOST_NORMAL_VERSION='1.59.0'
yes | cp ./conf/generated.my.cnf /etc/my.cnf
CPU_NUM=`cat /proc/cpuinfo | grep processor | wc -l` \
\
&& sed -r -i -e "s/archive.ubuntu.com/mirrors.sohu.com/g" /etc/... | qwerty199369/docker-library | mysql/install.sh | Shell | bsd-3-clause | 6,483 |
#!/bin/sh
local ELASTICSEARCH_YML="/opt/elasticsearch/config/elasticsearch.yml"
start() {
exec /opt/elasticsearch/bin/elasticsearch -Des.config=$ELASTICSEARCH_YML
}
start
| luislavena/dockerfiles | mini-elasticsearch/start.sh | Shell | isc | 175 |
#!/bin/bash
source venv/bin/activate
#
# Execution Phase
#
python run.py $@
#
# Breakdown Phase
#
deactivate
| arpitbbhayani/editor-demo | start.sh | Shell | mit | 114 |
#/bin/bash
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
"$@" | bdump
| facebook/infer | facebook-clang-plugins/libtooling/tests/BiniouASTExporter/filter.sh | Shell | mit | 201 |
set -ex
main() {
local target=
if [ $TRAVIS_OS_NAME = linux ]; then
target=x86_64-unknown-linux-musl
sort=sort
else
target=x86_64-apple-darwin
sort=gsort # for `sort --sort-version`, from brew's coreutils.
fi
# Builds for iOS are done on OSX, but require the specif... | lotabout/skim | ci/install.sh | Shell | mit | 1,829 |
#!/bin/bash
# Rules to forward multicast packets modprobe
iptables -I INPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -I FORWARD -m pkttype --pkt-type multicast -j ACCEPT
iptables -I OUTPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -I FORWARD -p igmp -j ACCEPT
iptables -I FORWARD -p icmp -j ACCEPT
... | frankyrumple/ope | docker_build_files/ope-router/start.sh | Shell | mit | 1,031 |
#!/bin/bash
[[ -z "$BALLS_LIB" ]] && BALLS_LIB=.
[[ -z "$BALLS_CONF" ]] && BALLS_CONF=./config.sh
[[ -z "$BALLS_ROOT" ]] && BALLS_ROOT=$(readlink -f "$(dirname $BALLS_CONF)/../")
[[ -z "$BALLS_LIB" ]] && BALLS_LIB=$(dirname $0)
[[ -z "$BALLS_TMP" ]] && BALLS_TMP=/tmp/balls
[[ -d "$BALLS_TMP" ]] || mkdir "$BALLS_TMP"
... | jneen/balls | lib/balls.sh | Shell | mit | 616 |
#!/bin/sh
#
# Vivado(TM)
# runme.sh: a Vivado-generated Runs Script for UNIX
# Copyright 1986-2016 Xilinx, Inc. All Rights Reserved.
#
if [ -z "$PATH" ]; then
PATH=/shared/eda/lnx_exe/xilinx/xilinx_vivado_2016.2/SDK/2016.2/bin:/shared/eda/lnx_exe/xilinx/xilinx_vivado_2016.2/Vivado/2016.2/ids_lite/ISE/bin/lin64:/s... | alpenwasser/pitaya | firmware/fpga/p_FIR_sim/FIR_sim/FIR_sim.runs/synth_1/runme.sh | Shell | mit | 1,289 |
#!/bin/bash
./configure --disable-backspace-key --disable-swapscreen --disable-resources --disable-delete-key --disable-xft --disable-font-styles --disable-xim --disable-combining --disable-fallback--disable-utmp --di... | paddymul/rxvt-js | my-convert.bash | Shell | gpl-2.0 | 764 |
#!/bin/bash
# both $1 and $2 are absolute paths
# returns $2 relative to $1
function rel_path() (
if [[ "$1" == "$2" ]]
then
echo ""
exit
fi
IFS="/"
local current=($1)
local absolute=($2)
local abssize=${#absolute[@]}
local cursize=${#current[@]}
while [[ ${absolute[level]} == ${current[level]} ]]
do... | sdelafond/netxtreme2-7.8.55 | bnx2x/src/mk_kernel_patch.sh | Shell | gpl-2.0 | 3,230 |
#!/bin/sh
#
# This script is run as root on the build host after the Debian
# package is built. It may be used to test installing the resulting
# binaries or to clean up.
#
branchdir="$1"
debdir="$2"
| csirac2/core | tools/pkg/autoteardown-deb.sh | Shell | gpl-2.0 | 203 |
#!/bin/bash
# kernel build script for Samsung Galaxy Note 3.
# This script is for AOSP/CyanogenMod only.
#
# Originally written by jcadduono @ xda
#
# Updated by frequentc @ xda
# - Modified to support command line arguments
# - Made script more generic and customizable
# - Other minor changes
################### BEFO... | slz/delidded-kernel-n900j-note3 | dl-build.sh | Shell | gpl-2.0 | 6,904 |
#!/bin/sh
#
# Copyright (C) 2010-2013 OpenWrt.org
#
ramips_board_detect() {
local machine
local name
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
*"11AC NAS Router")
name="11acnas"
;;
*"3G150B")
name="3g150b"
;;
*"3G300M")
name="3g300m"
;;
*"3g-6... | gdm85/openwrt | target/linux/ramips/base-files/lib/ramips.sh | Shell | gpl-2.0 | 9,753 |
#!/usr/bin/env bash
#
# Copyright (C) 2013-2014 Tribus Developers
#
# This file is part of Tribus.
#
# Tribus is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your opti... | LuisAlejandro/tribus | tribus/data/scripts/satisfy-depends.sh | Shell | gpl-3.0 | 14,459 |
#!/bin/sh
# Ensure that mv works with a few symlink-onto-hard-link cases.
# Copyright (C) 2012-2017 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either versio... | adtools/coreutils | tests/mv/symlink-onto-hardlink.sh | Shell | gpl-3.0 | 1,552 |
#!/bin/sh
# check to see if the correct tools are installed
for X in wc mkisofs
do
if [ "$(which $X)" = "" ]; then
echo "makeiso.sh error: $X is not in your path." >&2
exit 1
elif [ ! -x $(which $X) ]; then
echo "makeiso.sh error: $X is not executable." >&2
exit 1
fi
done
#check to see if memtest.bin is p... | skottler/memtest86 | makeiso.sh | Shell | gpl-3.0 | 1,207 |
#! /bin/sh
## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
## by inline-source v2016-02-21.11
# libtool (GNU libtool) 2.4.6.40-6ca5
# Provide generalized library-building support services.
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996-2017 Free Software ... | fteicht/ppddl-planner | sdk/mdpsim-2.2-ftk/ltmain.sh | Shell | gpl-3.0 | 331,208 |
#!/bin/bash
echo ""
echo "Running Python Exception Submitter Service"
echo ""
BASE_DIR=`dirname $0`
(cd ${BASE_DIR}/../ && python3 main.py) # >/dev/null 2>&1)
exit 0
| portofrotterdam/exception-submitter-for-jira | bin/run.sh | Shell | gpl-3.0 | 169 |
#!/bin/sh
node_modules/.bin/coffee --compile `find lms/ cms/ common/ -type f -name *.coffee`
python manage.py lms collectstatic --settings=aws
| hkawasaki/kawasaki-aio8-1 | compile-coffee.sh | Shell | agpl-3.0 | 144 |
#!/bin/bash
# Fail on first error
set -e
# Configuration setup
DMGDIR=$PWD/_dmg
VERSION=$(sed -n -e '/^let coq_version/ s/^[^"]*"\([^"]*\)"$/\1/p' configure.ml)
APP=bin/CoqIDE_${VERSION}.app
# Install Coq into the .app file
make OLDROOT="$OUTDIR" COQINSTALLPREFIX="$APP/Contents/Resources" install-coq install-ide-top... | silene/coq | dev/build/osx/make-macos-dmg.sh | Shell | lgpl-2.1 | 1,096 |
#!/bin/sh
set LD_LIBRARY_PATH=${0%}
set LD_LIBRARY_PATH=$LD_LIBRARY_PATH/libs
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH$PWD/libs
export QT_PLUGIN_PATH=$LD_LIBRARY_PATH
echo $LD_LIBRARY_PATH
echo $QT_PLUGIN_PATH
./qt-boolb
| 1blockologist/boolberry | utils/qt-boolb.sh | Shell | lgpl-3.0 | 223 |
#!/bin/bash
set -e
# usage: file_env VAR [DEFAULT]
# ie: file_env 'XYZ_DB_PASSWORD' 'example'
# (will allow for "$XYZ_DB_PASSWORD_FILE" to fill in the value of
# "$XYZ_DB_PASSWORD" from a file, especially for Docker's secrets feature)
function file_env() {
local var="$1"
local fileVar="${var}_FILE"... | wy65701436/harbor | make/photon/db/initdb.sh | Shell | apache-2.0 | 4,263 |
#!/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 applicab... | stu-gott/kubevirt | hack/print-workspace-status.sh | Shell | apache-2.0 | 1,655 |
#!/bin/bash
_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${_dir}/run.config.sh"
require curl
curl -s -o ${_cert} -w "%{http_code}" -k --request POST "${_host}/${_username}/certificate" --data "" -H "Content-type: text/plain" --user ${_username}:${_password}
| FITeagle/ft1 | src/test/bin/runGetCertificate.sh | Shell | apache-2.0 | 281 |
#!/bin/bash
# Copyright 2016-2017 Amazon.com, Inc. or its affiliates. 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. A copy of the
# License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "lice... | kylbarnes/blox | daemon-scheduler/scripts/license.sh | Shell | apache-2.0 | 3,410 |
#!/usr/bin/env bash
source ./bin/utils.sh
function installFonts() {
e_bold "Installing Fonts"
mkdir -p "${HOME}/.fonts"
for dir in fonts; do
cp -av $dir "${HOME}/.fonts"
done
}
function installConfig() {
e_bold "Installing Configuration Files"
mkdir -p ${HOME}/.config
cp -av confi... | houseofadams/dotfiles | install_Linux.sh | Shell | apache-2.0 | 657 |
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); y... | Huyuwei/tvm | docker/install/ubuntu_install_androidsdk.sh | Shell | apache-2.0 | 3,028 |
#!/usr/bin/env bash
#---------------------------------------------------------------------------
# Copyright 2011-2012 The Open Source Electronic Health Record Agent
#
# 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 ... | jasonli2000/VistA | Scripts/Install/Ubuntu/bootstrapUbuntuServer.sh | Shell | apache-2.0 | 1,185 |
#! /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"); yo... | cloudera/cdh-package | bigtop-packages/src/common/oozie/oozie-env.sh | Shell | apache-2.0 | 1,084 |
#!/bin/bash
./bin/p2p2ch -Dconfig.file=conf/p2p2ch.conf &
sleep 5
echo "*** First request for bootstrap !!!"
curl -v http://localhost:9000/bbs/ | iconv -f CP932 -t UTF-8
| windymelt/p2p2ch | start.sh | Shell | bsd-3-clause | 171 |
#!/bin/bash
gzip -dck ./ADMISSIONS.csv.gz | sed 1d | mclient -d mimic -s "COPY INTO MIMICIII.ADMISSIONS FROM STDIN USING DELIMITERS ',','\n','\"' NULL AS ''" - &&
gzip -dck ./DATETIMEEVENTS.csv.gz | sed 1d | mclient -d mimic -s "COPY INTO MIMICIII.DATETIMEEVENTS FROM STDIN USING DELIMITERS ',','\n','\"' NULL AS ... | MIT-LCP/mimic-code | mimic-iii/buildmimic/monetdb/monetdb_load_data.sh | Shell | mit | 4,113 |
#!/bin/sh
# rm ingenuity-dev.db
# rm -r migrations/
flask db init
flask db migrate
flask db upgrade
python manage.py load_data
python manage.py add_admin
| merelinguist/ludolatin | setup-db.sh | Shell | mit | 155 |
#! /bin/sh
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | kuym/openocd | tools/automake-1.15/t/depend3.sh | Shell | gpl-2.0 | 1,385 |
#!/bin/bash
###########################################################################################
## Copyright 2003, 2015 IBM Corp ##
## ##
## Redistribution and use in s... | rajashreer7/autotest-client-tests | linux-tools/perl_LDAP/perl-LDAP.sh | Shell | gpl-2.0 | 3,995 |
#! /bin/bash
set -x
originalDirectory=$(pwd)
cd ../phase3/tests/phpunit
if [ "$TYPE" == "coverage" ]
then
php phpunit.php --group SMWExtension -c ../../extensions/SemanticMediaWiki/phpunit.xml.dist --coverage-clover $originalDirectory/build/coverage.clover
else
php phpunit.php --group SMWExtension -c ../../extens... | mayankTUM/ScalesIDP | extensions/SemanticMediaWiki/build/travis/script.sh | Shell | gpl-2.0 | 362 |
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6
curl https://bootstrap.pypa.io/get-pip.py | sudo python3.6
sudo apt-get install python3.6-dev
sudo python3.6 -m pip install -r requirements.txt
sudo python3.6 -m pip install pyethereum | mvs-live/metaverse | test/test-rpc-v3/install.sh | Shell | agpl-3.0 | 285 |
#!/bin/sh
export LC_ALL="en_US.UTF-8"
# working directory of koreader
KOREADER_DIR="${0%/*}"
# update to new version from OTA directory
NEWUPDATE="${KOREADER_DIR}/ota/koreader.updated.tar"
INSTALLED="${KOREADER_DIR}/ota/koreader.installed.tar"
if [ -f $NEWUPDATE ]; then
# TODO: any graphic indication for the upda... | frankyifei/koreader | platform/ubuntu-touch/koreader.sh | Shell | agpl-3.0 | 785 |
#!/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... | arborh/tensorflow | tensorflow/tools/ci_build/release/ubuntu_16/cpu_py36_full/pip.sh | Shell | apache-2.0 | 2,062 |
#!/bin/bash
########################################################################
#
# Linux on Hyper-V and Azure Test Code, ver. 1.0.0
# Copyright (c) Microsoft Corporation
#
# All rights reserved.
# Licensed under the Apache License, Version 2.0 (the ""License"");
# you may not use this file except in compliance w... | ilenghel/lis-test | WS2012R2/lisa/remote-scripts/ica/SR-IOV_DisableVF.sh | Shell | apache-2.0 | 5,856 |
#!/bin/sh
# git-create-remote-branch <branch_name>
if [ $# -ne 1 ]; then
echo 1>&2 Usage: $0 branch_name
exit 127
fi
export branch_name=$1
git push origin origin:refs/heads/${branch_name}
git fetch origin
git checkout --track -b ${branch_name} origin/${branch_name}
git pull
| joobn72/qi4j-sdk | bin/git-create-remote-branch.sh | Shell | apache-2.0 | 296 |
#!/bin/bash -x
cp zipbatches/$3.$1-$2.zip .
unzip zipbatches/$3.$1-$2.zip
for (( i=$1; i<=$2; i++ ))
do
echo ./runrel.v3 2012-06-26 $i pahmaMOrel 2012-06-26 $3
done
| itsdavidbaxter/Tools | magicbus/scripts/createRun.sh | Shell | apache-2.0 | 169 |
source "/catapult/provisioners/redhat/modules/catapult.sh"
# install dependencies, relies on php.sh
sudo yum install -y mariadb
sudo yum install -y unzip
echo "> configuring composer"
if [ ! -f /usr/bin/composer ]; then
mkdir --parents /usr/local/src/composer
cd /usr/local/src/composer && curl --silent --sh... | seth-reeser/catapult-release-management | provisioners/redhat/modules/software_tools.sh | Shell | apache-2.0 | 4,451 |
#!/bin/bash
for file in * ; do
if [ ! -e "$file" ] ; then
echo "Removing $file..."
rm -f "$file"
fi
if [ -d "$file" ]; then
cd "$file"
for underfile in * ; do
if [ ! -e "$underfile" ] ; then
echo "Removing $underfile..."
rm -f "$underfile"
fi
done
cd ..
fi
done
| bioboy/pzs-ng | scripts/cleaner/cleaner.sh | Shell | bsd-3-clause | 308 |
#!/bin/bash
# This is the script to build the vitess/lite Docker image by extracting
# the pre-built binaries from a vitess/base image.
flavor=$1
if [[ -n "$flavor" ]]; then
base_image=vitess/base:$flavor
else
echo "Flavor not specified as first argument. Building default image."
base_image=vitess/base
fi
# E... | danielmt/vshard | vendor/github.com/youtube/vitess/docker/lite/build.sh | Shell | mit | 1,202 |
astyle --style=ansi -s4 --recursive ./*.cpp ./*.h ./*.hpp
| jdkoftinoff/jdksmidi | restyle.sh | Shell | gpl-2.0 | 58 |
#!/bin/bash
#
# Copyright (C) 2011 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
ptxd_make_image_vfat_add() {
local image="${1}"
local src... | nischu7/ptxdist | scripts/lib/ptxd_make_image_vfat.sh | Shell | gpl-2.0 | 1,639 |
#!/bin/sh
################################################################################
# OASIS: architecture for building OCaml libraries and applications #
# #
# Copyright (C) 2011-2013, Sylvain Le Gall ... | madroach/oasis | test/data/TestFull/bug823/preconf.sh | Shell | lgpl-2.1 | 1,797 |
#!/bin/bash
set -e
set -u
# Store working directory
ORIGWD=$(pwd)
# ${BASH_SOURCE[0]} is the path to this file
SOURCE="${BASH_SOURCE[0]}"
# Set $BIN to the absolute, symlinkless path to $SOURCE's parent
while [ -h "$SOURCE" ]; do
BIN="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
SOURCE="$(readlink "$SOURCE")"... | CYPP/titan | titan-dist/src/assembly/static/bin/gremlin.sh | Shell | apache-2.0 | 3,420 |
#!/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 "Licens... | submergerock/avatar-hadoop | build/hadoop-0.20.1-dev/bin/a-start-avatar-1p.sh | Shell | apache-2.0 | 1,656 |
#!/usr/bin/env bash
# Create Certificate for dmon-logstash
#
#Copyright 2015, Institute e-Austria, Timisoara, Romania
# http://www.ieat.ro/
#Developers:
# * Gabriel Iuhasz, iuhasz.gabriel@info.uvt.ro
#
#Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance wi... | igabriel85/IeAT-DICE-Repository | dmon-logstash/credentials/gencert.sh | Shell | apache-2.0 | 1,328 |
#!/bin/bash
FN="rtu34cdf_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.13/data/annotation/src/contrib/rtu34cdf_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/rtu34cdf_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-rtu34cdf/bioconductor-rtu34cdf_2.18.0_src_all.tar.gz"
"h... | phac-nml/bioconda-recipes | recipes/bioconductor-rtu34cdf/post-link.sh | Shell | mit | 1,403 |
#
# Copyright (c) 2004, 2011, 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... | openjdk-mirror/jdk7u-jdk | test/sun/tools/jstat/jstatTimeStamp1.sh | Shell | gpl-2.0 | 1,343 |
#! /bin/sh
# Copyright (C) 1996-2015 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | evaautomation/automake | t/interp2.sh | Shell | gpl-2.0 | 998 |
#!/bin/bash
# This file is part of cc-oci-runtime.
#
# Copyright (C) 2017 Intel Corporation
#
# 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... | 01org/cc-oci-runtime | installation/install_clear_kernel.sh | Shell | gpl-2.0 | 2,414 |
#!/bin/bash
# Run this to generate all the initial makefiles, etc.
usage() {
echo >&2 "\
Usage: $0 [OPTION]...
Generate makefiles and other infrastructure needed for building
Options:
--gnulib-srcdir=DIRNAME Specify the local directory where gnulib
sources reside. Use this if you alrea... | bkearney/augeas | autogen.sh | Shell | lgpl-2.1 | 2,221 |
#!/bin/bash
FN="rgu34a.db_3.13.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/annotation/src/contrib/rgu34a.db_3.13.0.tar.gz"
"https://bioarchive.galaxyproject.org/rgu34a.db_3.13.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-rgu34a.db/bioconductor-rgu34a.db_3.13.0_src_all.tar.gz"... | cokelaer/bioconda-recipes | recipes/bioconductor-rgu34a.db/post-link.sh | Shell | mit | 1,297 |
#! /bin/bash
#
# Stop any running containers previously started with 'run.sh'
#
NAME=$1
if test x"$1" == x; then
NAME=relex
fi
TAINER=`docker ps |grep $NAME |cut -f1 -d" "`
if test x"$TAINER" != x; then
echo -n 'Stopping leftover container.. '
docker stop -t 1 $TAINER
fi
TAINER=`docker ps -a |grep $NAME |cut -f1 -... | AmeBel/docker | opencog/relex/stop.sh | Shell | agpl-3.0 | 401 |
#!/bin/sh
#cd (*
exec ocaml -I +camlp5 camlp5r.cma $0
*) ".";
(* $Id: mk_missing_i18n.sh,v 5.4 2007-07-28 10:13:42 ddr Exp $ *)
open Printf;
value languages =
["af"; "bg"; "br"; "ca"; "cs"; "da"; "de"; "en"; "eo"; "es"; "et"; "fi";
"fr"; "he"; "is"; "it"; "lv"; "nl"; "no"; "pl"; "pt"; "pt-br"; "ro"; "ru";
"sl... | patrickangusjohngrant/geneweb | src/mk_missing_i18n.sh | Shell | gpl-2.0 | 4,222 |
#!/bin/bash
set -e
ESDK=${EPIPHANY_HOME}
ELIBS="-L ${ESDK}/tools/host/lib"
EINCS="-I ${ESDK}/tools/host/include"
ELDF=${ESDK}/bsps/current/internal.ldf
SCRIPT=$(readlink -f "$0")
EXEPATH=$(dirname "$SCRIPT")
cd $EXEPATH
# Create the binaries directory
mkdir -p bin/
CROSS_PREFIX=
case $(uname -p) in
arm*)
# Use ... | peteasa/oh | src/elink/sw/timeout/build.sh | Shell | mit | 799 |
#!/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 "Licens... | rhli/hadoop-EAR | build/hadoop-0.20/bin/stop-corona.sh | Shell | apache-2.0 | 1,160 |
_ipfs_comp()
{
COMPREPLY=( $(compgen -W "$1" -- ${word}) )
}
_ipfs_help_only()
{
_ipfs_comp "--help"
}
_ipfs_add()
{
_ipfs_comp "-recursive -quiet -progress -wrap-with-directory \
-trickle --help"
}
_ipfs_block()
{
_ipfs_comp "get put stat --help"
}
_ipfs_block_get()
{
_ipfs_help_onl... | sbruce/go-ipfs | misc/completion/ipfs-completion.bash | Shell | mit | 4,411 |
#!/usr/bin/env bash
${IDRIS:-idris} $@ --build datatype.ipkg
${IDRIS:-idris} $@ --clean datatype.ipkg
${IDRIS:-idris} $@ -p datatype.ipkg
| kojiromike/Idris-dev | test/pkg009/run.sh | Shell | bsd-3-clause | 141 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.