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
set -e
. /opt/kolla/kolla-common.sh
check_required_vars ADMIN_TENANT_NAME \
GLANCE_DB_NAME \
GLANCE_DB_PASSWORD \
GLANCE_DB_USER \
GLANCE_KEYSTONE_PASSWORD \
GLANCE_KEYSTONE_USER \
KEYS... | invenfantasy/kolla | docker/common/glance/glance-base/config-glance.sh | Shell | apache-2.0 | 1,652 |
#!/bin/bash
# Copyright 2017 The Nuclio 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 a... | nuclio/nuclio | pkg/processor/runtime/python/test/test.sh | Shell | apache-2.0 | 882 |
#! /bin/bash
set -o errexit
ROOT=$PWD
rm -rf temp
mkdir temp
if [ ! -d lib/bundles ]; then
mkdir lib/bundles
fi
cd temp
git clone https://github.com/Microsoft/vscode
# cp -r /Users/denofevil/WebstormProjects/vscode .
cd vscode/extensions
for f in *; do
if [ -d "$f/syntaxes" ]; then
echo "Adding $f"
cp... | leafclick/intellij-community | plugins/textmate/loadVSCBundles.sh | Shell | apache-2.0 | 500 |
#!/bin/sh
##export http_proxy="http://user:pass@192.168.1.8:8080"
wget \
--recursive \
--no-clobber \
--limit-rate=20k \
--wait=45 \
--page-requisites \
--html-extension \
--convert-links \
--restrict-file-names=windows \
--domains website.org \
--no-parent \
w... | jeffedlund/my_scripts | wget_impl_2.sh | Shell | apache-2.0 | 351 |
#!/bin/bash
docker run \
-it \
-v $(pwd):/home/pshmem \
quay.io/pypa/manylinux2014_x86_64:latest \
/bin/bash
# export PATH=/opt/python/cp38-cp38/bin:${PATH}
# python3 -m pip install --upgrade pip
# yum -y update
# yum -y install mpich-3.2-devel.x86_64 mpich-3.2-autoload.x86_64
# source /etc/profile.d/modules.sh
# so... | tskisner/mpi_shmem | test_scripts/test_cibuild.sh | Shell | bsd-2-clause | 360 |
#!/bin/bash
#
# vim: set ts=4 sw=4 et:
#
# Passed arguments:
# $1 - pkgname to build [REQUIRED]
# $2 - cross target [OPTIONAL]
if [ $# -lt 1 -o $# -gt 2 ]; then
echo "$(basename $0): invalid number of arguments: pkgname [cross-target]"
exit 1
fi
PKGNAME="$1"
XBPS_CROSS_BUILD="$2"
for f in $XBPS_SHUTILSDIR/*.... | kokakolako/void-packages | common/xbps-src/libexec/xbps-src-dobuild.sh | Shell | bsd-2-clause | 1,948 |
#!/bin/bash
set -eux
set -o pipefail
if [ ! -f /.dockerenv ]; then
echo "This should be run within the container";
exit 0;
fi
source ~/openrc.sh;
# Delete all the things. Who needs things anyway
openstack port delete $(openstack port list -c ID -f value --device-owner=network:dhcp) || true;
openstack securi... | d0ugal/tripleo-util | clean-all.sh | Shell | bsd-2-clause | 705 |
#! /bin/bash
prefix=$1
# source info
mac_src="00:60:dd:45:39:c7"
ip_src=192.168.2.1
port_src=5000
# dstination info
mac_dst="00:60:dd:45:39:5a"
ip_dst=192.168.2.2
port_dst=5000
# packet info
pkt_cnt=150000
idle=13738
pkt_len=1518
#SONIC_SERVER="sonic2.cs.cornell.edu" # FIXME
SONIC_PATH="$HOME/afrl/sonic/drive... | hanw/sonic | demo/demo3_local.sh | Shell | bsd-3-clause | 1,522 |
php /var/www/Generator/bin/classmap_generator.php -l "/var/www/mystra-pve/module/Application" -w -s
php /var/www/Generator/bin/classmap_generator.php -l "/var/www/mystra-pve/module/Accueil" -w -s
php /var/www/Generator/bin/classmap_generator.php -l "/var/www/mystra-pve/module/Core/" -w -s
php /var/www/Generator/bin/cla... | antarus/mystra-pve | bin/generate_Classmap_Module.sh | Shell | bsd-3-clause | 576 |
#!/bin/bash
set -e
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source $SCRIPT_DIR/../../functional-tests/common.sh
${HADOOP_HOME}/bin/hdfs dfs -rm -f -r /input
${HADOOP_HOME}/bin/hdfs dfs -rm -f -r /converted
${HADOOP_HOME}/bin/hdfs dfs -mkdir /input
${HADOOP_HOME}/bin/hdfs dfs -put $SPARK_DATASETS... | agrippa/spark-swat | dataset-transformations/imagenet/5.multiply.sh | Shell | bsd-3-clause | 837 |
#!/usr/bin/env bash
testdir=$(readlink -f $(dirname $0))
rootdir="$testdir/../../.."
source $rootdir/scripts/autotest_common.sh
$testdir/unit/nvme_ns_cmd_c/nvme_ns_cmd_ut
$testdir/unit/nvme_c/nvme_ut
$testdir/unit/nvme_qpair_c/nvme_qpair_ut
$testdir/unit/nvme_ctrlr_c/nvme_ctrlr_ut
$testdir/unit/nvme_ctrlr_cmd_c/nvme_... | changhuilin/spdk | test/lib/nvme/nvme.sh | Shell | bsd-3-clause | 494 |
@INCLUDE_COMMON@
echo
echo ELEKTRA CHECK EXTERNAL HIGHLEVEL
echo
if command -v pkg-config; then
if ! pkg-config elektra; then
echo "Elektra not installed, will skip"
exit 0
fi
else
echo "pkg-config not installed, will skip"
exit 0
fi
if ! kdb plugin-list | grep -xq ni; then
echo "ni plugin not found, will s... | BernhardDenner/libelektra | tests/shell/external/example_highlevel.sh | Shell | bsd-3-clause | 3,138 |
rm -rf build
rm -rf bin
rm -rf doc/html
rm -f *~
| AADC-Fruit/AADC_2015_FRUIT | Freestyle/clsquare/scripts/do_clean.sh | Shell | bsd-3-clause | 50 |
#!/bin/bash -e
#
# Usage (assuming: shopt -s extglob):
#
# $ cd examples/ && ../scripts/render_index.sh !(index).html
#
mkdir -p thumbs
tmpdir=$(mktemp -d)
trap "rm -r $tmpdir" INT TERM EXIT
cat <<EOF>index.html
<!DOCTYPE html>
<html>
<head>
<title>Notebook gallery</title>
</head>
<body>
EOF
for f in $@; do
if... | sympy/scipy-2017-codegen-tutorial | bin/render_index.sh | Shell | bsd-3-clause | 833 |
#!/bin/sh
BASE_DIR=`pwd`
JEMALLOC_PATH="$BASE_DIR/deps/jemalloc-4.1.0"
LEVELDB_PATH="$BASE_DIR/deps/leveldb-1.18"
SNAPPY_PATH="$BASE_DIR/deps/snappy-1.1.0"
if test -z "$TARGET_OS"; then
TARGET_OS=`uname -s`
fi
if test -z "$MAKE"; then
MAKE=make
fi
if test -z "$CC"; then
CC=gcc
fi
if test -z "$CXX"; then
CXX=g++
fi... | left2right/ssdb | build.sh | Shell | bsd-3-clause | 3,492 |
#!/bin/sh
EGOS=noos EGARCH=cortexm3 EGTARGET=f40_41xxx egc $@
| ziutek/emgo | egpath/src/stm32/examples/emw3162/build.sh | Shell | bsd-3-clause | 62 |
#!/bin/sh
SPACE="space search key int number attributes bit01, bit02, bit03, bit04, bit05, bit06, bit07, bit08, bit09, bit10, bit11, bit12, bit13, bit14, bit15, bit16, bit17, bit18, bit19, bit20, bit21, bit22, bit23, bit24, bit25, bit26, bit27, bit28, bit29, bit30, bit31, bit32 primary_index bit... | hyc/HyperDex | test/sh/search.index.keytype=int,daemons=8.fault-tolerance=1.sh | Shell | bsd-3-clause | 764 |
#!/bin/bash
# (C)opyright L.P.Klyne 2013
source /opt/fileserver/config.sh
source /opt/fileserver/functions.sh
if is_mounted $DISKA && is_mounted $DISKB ; then
do_rsync "$DISKA/*" "$DISKB/"
fi
| LawrenceK/fs_monitor | rsync_a_b.sh | Shell | bsd-3-clause | 194 |
#!/bin/sh
case "$1" in
pack)
npm run clean
npm run build &
npm run dev
;;
pack:dev)
npm run clean
npm run build:dev &
npm run dev
;;
stop)
kill $(ps aux | grep 'npm' | awk '{print $2}')
kill $(ps aux | grep 'rails s' | awk '{print $2}')
#kill $(ps aux | grep 'ssh -ND... | motephyr/socketio_template | serv.sh | Shell | mit | 360 |
#!/bin/bash
#Author: mirage335
#Date: 07-01-2011 (MM-DD-YYYY)
#Version: 1.0 (Minor versions reflect compatible updates.)
#Dependencies: ubiquitous_bash.sh
#Usage: enterChroot.sh
#Purpose: Enters the associated ChRoot folder.
. ubiquitous_bash.sh
mustBeRoot #Non-superuser has no ability to mount filesyste... | mirage335/mirage335OS | enterChRoot.sh | Shell | mit | 569 |
#!/bin/bash
# Handle command-line arguments
source $KDBTESTS/flagparse.sh
# Path to test directory
testpath=${KDBTESTS}/dataaccess/common
# Start procs
${TORQHOME}/torq.sh start discovery1
# Start test proc
/usr/bin/rlwrap q ${TORQHOME}/torq.q \
-proctype rdb -procname dailyrdb1 \
-test ${testpath} \
-load ${... | FlyingOE/TorQ | tests/dataaccess/common/run.sh | Shell | mit | 610 |
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2015 zsh-syntax-highlighting contributors
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted
# provided that the following conditions... | admean/dotfiles | .oh-my-zsh/custom/plugins/zsh-syntax-highlighting/highlighters/main/test-data/dollar-quoted3.zsh | Shell | mit | 2,370 |
#!/bin/sh
# rpm-chksec
#
# Copyright (c) 2011-2013 Steve Grubb. ALL RIGHTS RESERVED.
# sgrubb@redhat.com
#
# This software may be freely redistributed under the terms of the GNU
# public license.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free S... | akuster/meta-security | recipes-security/redhat-security/files/rpm-chksec.sh | Shell | mit | 7,353 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
local source="${BUILT_PRODUCTS_DIR}/Pods-BSImagePickerExampleTests/$1"
... | aaronsakowski/BSImagePicker | Example/Pods/Target Support Files/Pods-BSImagePickerExampleTests/Pods-BSImagePickerExampleTests-frameworks.sh | Shell | mit | 2,491 |
#!/bin/sh
# download-tools-sources.sh
#
# Copyright (c) 2012, 2013, 2014 Anthony Green
#
# The above named 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.
#
# The above named program is d... | jgarzik/moxiebox | contrib/download-tools-sources.sh | Shell | mit | 1,391 |
#!/bin/bash
FN="RnaSeqSampleSizeData_1.20.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/experiment/src/contrib/RnaSeqSampleSizeData_1.20.0.tar.gz"
"https://bioarchive.galaxyproject.org/RnaSeqSampleSizeData_1.20.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-rnaseqsamplesizedata/b... | roryk/recipes | recipes/bioconductor-rnaseqsamplesizedata/post-link.sh | Shell | mit | 1,352 |
# -*- mode: bash; tab-width: 2; -*-
# vim: ts=2 sw=2 ft=bash noet
# Copy the code into the live directory which will be used to run the app
publish_release() {
nos_print_bullet "Moving code into app directory..."
rsync -a $(nos_code_dir)/ $(nos_app_dir)
}
# Determine the nodejs runtime to install. This will first... | nanobox-io/nanobox-engine-nodejs | lib/nodejs.sh | Shell | mit | 3,296 |
# XXX #0f0 should show up green
# XXX f00 should not show up red
# FIXME ff0 should show up yellow but are known not to
echo '#0f0'
echo ##0f0
echo \#ff0
echo #f00
echo ##0f0
echo # #0f0
cmd '#0f0'
cmd "#0f0"
cmd \#ff0
cmd #f00
cmd ##0f0
cmd # #0f0
#f00
##0f0 XXX
# #0f0 XXX
# XXX #0f0 XXX
cat << ''
#0f0
| ruchee/vimrc | vimfiles/bundle/css-color/tests/example.zsh | Shell | mit | 310 |
#!/bin/bash
## Give the Job a descriptive name
#PBS -N testjob
## Output and error files
#PBS -o testjob.out
#PBS -e testjob.err
## Limit memory, runtime etc.
#PBS -l walltime=01:00:00
#PBS -l pmem=100mb
## How many nodes should we get?
#PBS -l nodes=8
## Start
#echo "PBS_NODEFILE = $PBS_NODEFILE"
#cat $PBS_NODEF... | VHarisop/Parallel | ex1/code/scripts/old_scripts/mpirun_on_lab.sh | Shell | gpl-2.0 | 486 |
#!/bin/bash
set -eu
find ../../ '(' \
-iname '*.pas' -or \
-iname '*.inc' -or \
-iname '*.css' -or \
-iname '*.dpr' ')' \
-execdir sed --in-place -e 's|Copyright 1998-2016 PasDoc developers|Copyright 1998-2018 PasDoc developers|' '{}' ';'
| pasdoc/pasdoc | source/tools/adjust_copyrights.sh | Shell | gpl-2.0 | 250 |
#!/bin/bash
set -e # exit immediately if a command returns with a nonzero exit code
echo "*** Building distcc/base image"
docker build -t distcc/base -f base/Dockerfile base
if [ $# -eq 0 ]; then
compilers=("gcc-4.8" "gcc-5" "clang-3.8")
else
compilers=("$1")
fi
for compiler in "${compilers[@]}"
do
echo "*** ... | itensionanders/distcc | docker/build.sh | Shell | gpl-2.0 | 768 |
#!/bin/bash
header "User"
ROLE_NAME="tmp_user_role_$RAND"
#testing user
test_success "user update" user update --username="$TEST_USER" --password=password
test_success "user list" user list
test_success "user info" user info --username="$TEST_USER"
#test role assignment
test_success "user_role create" user_role cr... | beav/katello | scripts/system-test/cli_tests/user.sh | Shell | gpl-2.0 | 1,474 |
#!/bin/bash
TOPDIR=/N/u/bcmcpher/Karst/nhp_reg
dim=3
m=bias2dwi.nii.gz
f=t2.nii.gz
its=[15x50x15,1e-6,10]
smth=2x1x0
down=3x2x1
antsRegistration -d $dim \
--metric CC[$f,$m,1,4] \
--transform SyN[0.1,3.0,0] \
--convergence $its \
--smoothing-sigmas $smth \
--shrink-factors $down \
--use-h... | bacaron/pestillilab_projects | nhp/shell/examples/antsDemoReg.sh | Shell | gpl-2.0 | 752 |
#! /bin/bash
if [ -z "$LIOBIN" ] ; then
LIOBIN=../../../liosolo/liosolo
fi
SALIDA=output
if [ -n "$1" ]
then
SALIDA=$1
fi
$LIOBIN -i chloride.in -c chloride.xyz -v > $SALIDA
| ramirezfranciscof/lio | test/LIO_test/07_TDDFTHCL/run.sh | Shell | gpl-2.0 | 185 |
#!/bin/bash
# run as root...
NIC=$1
ifconfig $NIC down
ifconfig $NIC up
ethtool -G ethX rx 4096
ethtool -K $NIC tso off
ethtool -K $NIC gro off
ethtool -K $NIC lro off
ethtool -K $NIC gso off
ethtool -K $NIC rx off
ethtool -K $NIC tx off
ethtool -K $NIC sg off
| google-code/amico | utils/turn_offload_off.sh | Shell | gpl-2.0 | 265 |
#!/bin/bash
echo "Configuring..."
source configure.sh
./notifyCommit.sh
echo "Building..."
./gradlew clean assembleRelease
[ -z "$BUILD_TAG" ] || python3.5 gen_manifest.py
[ $? -eq 0 ] || echo "Build Failed!"
| MSF-Jarvis/AndroidFileHost_Browser | buildReleaseApp.sh | Shell | gpl-3.0 | 213 |
#!/bin/bash
read -p 'What date (YYYY-MM-DD) should we get contributions since? (i.e. date of previous release): ' from_date
read -sp 'Provide a personal access token (you must): ' auth_token
ignored_users="renovate-bot,apps/renovate,renovate,renovate[bot]"
output_file="contributors.html"
common_arguments="--owner woo... | greguly/woocommerce | bin/contributors.sh | Shell | gpl-3.0 | 1,589 |
#!/bin/sh
xrandr --output HDMI1 --off --output DP1 --mode 1920x1080 --pos 1920x0 --rotate left --output eDP1 --primary --mode 1920x1080 --pos 0x840 --rotate normal --output VIRTUAL1 --off
| TheKK/customize-settings | .screenlayout/right_rotate_multi.sh | Shell | gpl-3.0 | 188 |
for a; do
echo $a
done
| legionus/shell_parser | t/shfmt/shell-0030.sh | Shell | gpl-3.0 | 27 |
#!/bin/bash
#===================================================================================
#
# FILE: compile.sh
#
# USAGE: compile.sh <FILE> [FOLDER]
#
# DESCRIPTION: Creates the default build directory for the QSS Solver GUI
# and runs the MicroModelica compiler
#
# PARAMETERS: <FILE> Micr... | CIFASIS/qss-solver | deploy/linux/scripts/compile.sh | Shell | gpl-3.0 | 1,217 |
#!/bin/sh
#
# file: distclean.sh
#
# author: Copyright (C) 2015-2018 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
# distributed with this file, You can obtain one at http://mo... | jasmin-j/distortos | scripts/distclean.sh | Shell | mpl-2.0 | 702 |
#!/bin/bash
#docker run -t --rm -e "JENKINS_TOKEN_NAME=$JENKINS_TOKEN_NAME" -v $(pwd):/work -w /work smashwilson/curl /bin/bash get_latest_version_of_dependencies.sh
set -e
TEMPDIR=`mktemp -d`
#for each line in the nightly-repos folder
#get the latest file from the repo
curl -o ${TEMPDIR}/nightlies.xml http://openro... | OpenROV/openrov-rov-suite | get_latest_version_of_dependencies.sh | Shell | agpl-3.0 | 1,342 |
#!/bin/bash -e
SVNFLAGS="-q"
CURDIR=$(pwd)
SCRIPT_DIR=$(cd $(dirname $0) && pwd)
cd $SCRIPT_DIR
./setup.sh
cd svn-test/checkout/testrepo
FILE_CONTENT=$1
echo $1 > README.txt
svn add $SVNFLAGS README.txt
svn commit $SVNFLAGS -m "Added readme." # r1
svn rm $SVNFLAGS README.txt
svn commit $SVNFLAGS -m "Deleting file... | cstroe/svndumpapi | src/test/resources/dumps/scripts/svn_copy_and_delete.sh | Shell | agpl-3.0 | 861 |
#! /bin/bash
# cycle various about setting and test success
# environment :
# STORE_ACCOUNT : account name
# STORE_URL : host http url
# STORE_REPOSITORY : individual repository
curl -w "%{http_code}\n" -f -s -X PUT \
-H "Content-Type: application/x-www-form-urlencoded" \
--data-urlencode @- \
${STORE... | dydra/http-api-tests | accounts-api/accounts/openrdf-sesame/repositories/mem-rdf/profile/PUT-form.sh | Shell | unlicense | 1,261 |
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | Altiscale/bigtop | docker/bigtop-puppet/opensuse-42.1/build.sh | Shell | apache-2.0 | 875 |
sudo dpkg -i trendz-1.7.0.deb | volodymyr-babak/thingsboard.github.io | docs/trendz/install/resources/1.7.0/trendz-ubuntu-installation.sh | Shell | apache-2.0 | 29 |
#!/bin/bash
set -e
function get_admin_key {
# No-op for static
log "static: does not generate the admin key, so we can not get it."
log "static: make it available with the help of your configuration management system."
log "static: ceph-ansible is a good candidate to deploy a containerized version of Ceph.... | ceph/ceph-docker | ceph-releases/mimic/daemon/config.static.sh | Shell | apache-2.0 | 3,919 |
#!/bin/bash
# Copyright (c) 2016 Baidu, 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 appl... | alvations/Paddle | demo/model_zoo/resnet/get_model.sh | Shell | apache-2.0 | 933 |
#!/bin/bash
#
# Publishes the coverage report to http://coveralls.io.
#
# Copyright 2015 Mohiva Organisation (license at mohiva dot com)
#
# 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
#
# ... | mohiva/swagger-codegen-play-scala | scripts/coveralls.sh | Shell | apache-2.0 | 894 |
#!/bin/sh
# $NetBSD: prepare-import.sh,v 1.1 2014/03/09 16:58:03 christos Exp $
# Copy the FreeBSD src/lib/elftwoolchain directory contents to dist. Run
# this script and you're done. This does not add NetBSD RCSID's just cleans
# existing ones to avoid conflicts in the future
#
# lib/ is built as SUBDIR from lib/Mak... | execunix/vinos | external/bsd/elftoolchain/prepare-import.sh | Shell | apache-2.0 | 582 |
#!/usr/bin/env bash
#
# Copyright © 2012-2014 Cask Data, 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 applica... | caskdata/coopr-provisioner | lib/provisioner/worker/plugins/automators/shell_automator/lib/test.sh | Shell | apache-2.0 | 900 |
#!/bin/bash
plotkmerspectrum.py ../repeatresolutionpaper/counts-validationgenomedata/SRR000333.fastq.21 -g 25
plotkmerspectrum.py ../repeatresolutionpaper/counts-validationgenomedata/SRR000333.fastq.21 -g 26
cp ../repeatresolutionpaper/counts-validationgenomedata/SRR000333.fastq.21.26.pdf .
cp ../repeatresolutionpaper... | MG-RAST/kmerspectrumanalyzer | img/test-25.sh | Shell | bsd-2-clause | 377 |
#!/bin/sh
maj_min=1
maj_max=8
base=clang-format
format=""
#Redirect output to stderr.
exec 1>&2
#check if clang - format is installed
type "$base" >/dev/null 2>&1 && format="$base"
#if not, check all possible versions
#(i.e.clang - format - <$maj_min - $maj_max> - <0 - 9>)
if [ -z "$format" ]
then
for j in `se... | cogsys-tuebingen/csapex_core_plugins | .apply_clang_format.sh | Shell | bsd-3-clause | 815 |
#!/bin/bash
echo -e "Initializing symbolic link between SimpleStorefront and public_html folders.";
cd /home/vagrant/
rm -rf public_html
ln -s SimpleStorefront public_html
cd /home/vagrant/public_html
echo -e "Setting up SSH.";
chmod 700 ~/.ssh/id_rsa*
eval $(ssh-agent -s)
ssh-add
echo -e "Cleaning scripts in bin.";... | ethos71/LemonadeStand | bin/initialize.sh | Shell | mit | 527 |
###########################################################################
# before_install.sh
# ---------------------
# Date : March 2016
# Copyright : (C) 2016 by Matthias Kuhn
# Email : matthias at opengis dot ch
##############################################... | alexbruy/QGIS | ci/travis/linux/qt4/before_install.sh | Shell | gpl-2.0 | 1,240 |
#! /bin/sh
# Copyright (C) 2011-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/yacc-d-vpath.sh | Shell | gpl-2.0 | 2,259 |
#!/bin/sh
echo "static const char selfsignedCer[] = " > selfsigned.cer.h
cat selfsigned.cer | sed 's/^/"/' | sed 's/$/\\n"/' >> selfsigned.cer.h
echo ";" >> selfsigned.cer.h
echo "static const char selfsignedKey[] = " > selfsigned.key.h
cat selfsigned.key | sed 's/^/"/' | sed 's/$/\\n"/' >> selfsigned.key.h
echo ";" >... | MoSync/MoSync | tools/makesis-4/src/makecertheader.sh | Shell | gpl-2.0 | 340 |
#!/bin/sh
# Copyright (C) 2014 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.
#
# You should have received a copy of the GNU General Public Licens... | vgmoose/lvm | test/shell/lock-parallel.sh | Shell | gpl-2.0 | 997 |
#!/bin/bash
. xsl-fo.sh
/cygdrive/c/Applications/fop/fop.bat -dpi 150 -fo cg3.fo -pdf cg3.pdf
| TinoDidriksen/cg3 | manual/pdf.sh | Shell | gpl-3.0 | 94 |
#!/bin/sh -ex
rm -rf bootstrap
mkdir bootstrap
cd bootstrap
curl -OL http://caml.inria.fr/pub/distrib/ocaml-4.01/ocaml-4.01.0.tar.gz
tar -zxvf ocaml-4.01.0.tar.gz
cd ocaml-4.01.0
./configure -prefix `pwd`/../ocaml
make world opt
make install
| chambart/opam | shell/bootstrap-ocaml.sh | Shell | gpl-3.0 | 243 |
#!/bin/sh
# base16-shell (https://github.com/chriskempson/base16-shell)
# Base16 Shell template by Chris Kempson (http://chriskempson.com)
# Chalk scheme by Chris Kempson (http://chriskempson.com)
color00="15/15/15" # Base 00 - Black
color01="fb/9f/b1" # Base 08 - Red
color02="ac/c2/67" # Base 0B - Green
color03="dd/b... | longshorej/dotfiles | src/os/linux/.config/scripts/base16-chalk.sh | Shell | gpl-3.0 | 3,958 |
#!/bin/bash
## note: you have to be in the dir with the build.xml to run this
cmd="ant -DshortHost=rc remote-int-test"
echo $cmd
eval $cmd
| esdc-esac-esa-int/caom2db | caom2-repo-server/test/scripts/int-test-rc.sh | Shell | agpl-3.0 | 146 |
#!/bin/bash
set -e -o pipefail
name=$(basename $0 .sh)
result=$(mktemp ${name}.out.XXXXXX)
echo "result file: $result"
stderr=$(mktemp ${name}.err.XXXXXX)
echo "stderr file: $stderr"
$OSCAP oval eval --results $result --variables $srcdir/external_variables.xml $srcdir/$name.oval.xml 2> $stderr
[ ! -s $stderr ] && rm... | openprivacy/openscap | tests/API/OVAL/unittests/test_external_variable.sh | Shell | lgpl-2.1 | 7,866 |
#!/bin/bash
#This is a quickly thrown together utility to build the message file that
# we send off to be translated.
#It will likely need to be updated each time it is used.
#The output is written to `pwd`/messages_$$.txt
if [ `uname` != "Linux" ]; then
echo "ERROR: this script is for Linux only."
exit 1
fi
f... | SnappyDataInc/snappy-store | gemfirexd/tools/bin/i18nBuildMsgFile.sh | Shell | apache-2.0 | 1,036 |
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... | zhiweicen/link022 | demo/util/cleanup_servers.sh | Shell | apache-2.0 | 749 |
# npm install latest versions
for dir in $(ls -d */)
do
cd $dir
echo $dir
npm install
echo ------------------------------
cd ..
done
| mehulsbhatt/nscale | scripts/dev/npminstall.sh | Shell | artistic-2.0 | 146 |
#!/bin/bash
# From: https://circleci.com/docs/1.0/nightly-builds/
_project=$1
_branch=$2
_circle_token=$3
if [ "$_circle_token" == "" ]; then
echo "Skip triggering $_project"
exit 0
fi
trigger_build_url=https://circleci.com/api/v1.1/project/github/${_project}/tree/${_branch}?circle-token=${_circle_token}
post_d... | pparkkin/eta | utils/scripts/circleci-trigger.sh | Shell | bsd-3-clause | 619 |
#! /bin/bash
PAGES=(ethernet features wireless)
for page in ${PAGES[@]}; do
rm ${page}.html
pandoc -s --toc -w html --email-obfuscation=javascript -c header.css -o ${page}.html $page
done
| iphitus/netcfg-updates | docs/make.sh | Shell | bsd-3-clause | 197 |
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
# Copyright (C) 2006 Fokus Fraunhofer <carsten.tittel@fokus.fraunhofer.de>
alias debug=${DEBUG:-:}
alias mount='busybox mount'
# newline
N="
"
_C=0
NO_EXPORT=1
LOAD_STATE=1
LIST_SEP=" "
hotplug_dev() {
env -i ACTION=$1 INTERFACE=$2 /sbin/hotplug-call net
}
append() {
lo... | choushane/MaRa-a1a0a5aNaL | package/base-files/files/etc/functions.sh | Shell | gpl-2.0 | 19,110 |
#!/bin/sh -x
#
# minor helper script for the fwknop test suite in --enable-cores-pattern mode
#
DIR=/tmp/fwknop-cores
service apport stop
ulimit -c unlimited
mkdir $DIR
echo "$DIR/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
exit
| akerl/fwknop | test/generate_cores.sh | Shell | gpl-2.0 | 238 |
#!/bin/sh
#This script will be called via mini X session on behalf of file owner, after
#installed in /etc/mini_x/session.d/. Any auto start jobs including X apps can
#be put here
# start hob here
export PSEUDO_PREFIX=/usr
export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo
export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64
expo... | bkauler/oe-qky-src | sumo/openembedded-core/meta/recipes-graphics/builder/files/builder_session.sh | Shell | gpl-3.0 | 1,099 |
#!/bin/bash
# This script builds bits of text for HTML page, to load and display examples
ls ../ezhil_tests/*.n -c1 | cut -d'/' -f3 | sort -u > examples.txt
for i in `cat examples.txt`
do
echo '<option value="'"$i"'">'$i'</option>'
done
echo "we have a total of " `wc -l examples.txt` " to show the user on Ezhil w... | kracekumar/Ezhil-Lang | website/build_examples.sh | Shell | gpl-3.0 | 344 |
#!/bin/bash
rm -rf docs/api/; ringo-doc --file-urls -s lib/ -d docs/api/ -p package.json -n "Stick API"
| waybarrios/worldmap | src/geonode-client/externals/stick/update-docs.sh | Shell | gpl-3.0 | 105 |
#!/bin/bash
# This script holds library functions for setting up the shell environment for OpenShift scripts
# os::util::environment::use_sudo updates $USE_SUDO to be 'true', so that later scripts choosing between
# execution using 'sudo' and execution without it chose to use 'sudo'
#
# Globals:
# None
# Arguments:
... | chmouel/origin | hack/lib/util/environment.sh | Shell | apache-2.0 | 8,444 |
#!/bin/bash -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# shellcheck disable=SC1090
source "$DIR/common.env.sh"
# shellcheck disable=SC1090
source "$DIR/../awsutil.sh"
# if $VERSION is not set, then we should not continue
if [ -z "${VERSION}" ]; then
echo "VERSION needs to be set. Exiting."
exi... | estroz/tectonic-installer | installer/scripts/release/get_installer_bins.sh | Shell | apache-2.0 | 1,067 |
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012 Vincent C. Passaro (vincent.passaro@gmail.com)
#
#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 Licens... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5-beta/prod/GEN001550.sh | Shell | apache-2.0 | 5,022 |
#!/bin/bash
FN="RTCGA.miRNASeq_1.20.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.13/data/experiment/src/contrib/RTCGA.miRNASeq_1.20.0.tar.gz"
"https://bioarchive.galaxyproject.org/RTCGA.miRNASeq_1.20.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-rtcga.mirnaseq/bioconductor-rtcga.mirnas... | phac-nml/bioconda-recipes | recipes/bioconductor-rtcga.mirnaseq/post-link.sh | Shell | mit | 1,322 |
# Install/unInstall package files in LAMMPS
if (test $1 = 1) then
cp fix_append_atoms.cpp ..
cp fix_msst.cpp ..
cp fix_nphug.cpp ..
cp fix_wall_piston.cpp ..
cp fix_append_atoms.h ..
cp fix_msst.h ..
cp fix_nphug.h ..
cp fix_wall_piston.h ..
elif (test $1 = 0) then
rm -f ../fix_append_atoms.cpp
... | tm1249wk/WASHLIGGGHTS-2.3.7 | src/SHOCK/Install.sh | Shell | gpl-2.0 | 508 |
#### This script is meant to be sourced by ltconfig.
# ltcf-gcj.sh - Create a GCJ compiler specific configuration
#
# Copyright (C) 1996-1999, 2000, 2001, 2003 Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# Original GCJ support by:
# Alexandre Oliva <oliva@lsd.ic.un... | ZHAW-INES/rioxo-uClinux-dist | user/gdb/ltcf-gcj.sh | Shell | gpl-2.0 | 27,419 |
#!/bin/bash
echo "installing autossh..."
apt-get -y install autossh
echo "..DONE.."
exit
| xtr4nge/module_meterpreter | includes/install.sh | Shell | gpl-3.0 | 91 |
#!/bin/sh
# Show that split -a works.
# Copyright (C) 2002-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 3 of the License, or
# (at your op... | houwentaoff/coreutils | tests/split/suffix-length.sh | Shell | gpl-3.0 | 2,076 |
#!/usr/bin/env bash
# Copyright 2017 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... | gojira/tensorflow | tensorflow/java/maven/run_inside_container.sh | Shell | apache-2.0 | 11,272 |
#!/bin/sh
cat ../nuklear.h|./doc > nuklear.html
| OpenMusicKontrollers/sherlock.lv2 | subprojects/nk_pugl/nuklear/doc/build.sh | Shell | artistic-2.0 | 50 |
#!/bin/sh
# test splitting into newline delineated chunks (-n l/...)
# Copyright (C) 2010-2016 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 3 o... | mfragkoulis/coreutils | tests/split/l-chunk.sh | Shell | gpl-3.0 | 4,207 |
#!/bin/sh
#
# Copyright (C) 2014 Free Software Foundation, Inc.
# Contributed by ARM Ltd.
#
# This file is part of GCC.
#
# GCC 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, or (at your opt... | xinchoubiology/gcc | gcc/config/aarch64/geniterators.sh | Shell | gpl-2.0 | 1,880 |
# Set Hadoop-specific environment variables here.
# The only required environment variable is JAVA_HOME. All others are
# optional. When running a distributed configuration it is best to
# set JAVA_HOME in this file, so that it is correctly defined on
# remote nodes.
# The java implementation to use. Required.
# e... | shakamunyi/hadoop-20 | singleNodeHadoop/mapredConf/hadoop-env.sh | Shell | apache-2.0 | 3,307 |
#!/bin/bash
set -x -e
#export CXXFLAGS="${CXXFLAGS} -std=c++11 -stdlib=libstdc++ -stdlib=libc++ -DUSE_BOOST"
export CXXFLAGS="${CXXFLAGS} -std=c++11 -DUSE_BOOST -I${PREFIX}/include/bamtools"
mkdir -p ${PREFIX}/bin
mkdir -p ${PREFIX}/scripts
mkdir -p ${PREFIX}/config
## Make the software
if [ "$(uname)" = Darwin ]... | ostrokach/bioconda-recipes | recipes/augustus/build.sh | Shell | mit | 1,520 |
#!/bin/sh
# set jvm startup argument
JAVA_OPTS="-Xms2g \
-Xmx2g \
-Xmn1g \
-XX:PermSize=128m \
-XX:MaxPermSize=256m \
-XX:-DisableExplicitGC \
-Djava.awt.headless=true \
-Dcom.sun.management.jmxremote.port=8333 \
-Dcom.sun.... | ctripcorp/hermes | hermes-example/script/env.sh | Shell | apache-2.0 | 756 |
#!/bin/bash
#
# Creating an ASDF tarball of a source directory in the rl-glue Lisp codec
# src path by omitting the .svn directories.
#
# $Revision$
# $Date$
if [ ${#} != 1 ]; then
echo "Usage: ${0} <asdf-system-name>"
echo "Example: ${0} rl-glue-codec"
exit -1
fi
tooldir="`dirname ${0}`"
package="${1}"
... | GarethNelson/rl-glue-ext | projects/codecs/Lisp/tools/make-asdf-package.sh | Shell | apache-2.0 | 834 |
#!/bin/bash
#Bash disables history in noninteractive shells by default, but we turn it on here.
HISTFILE=~/.bash_history
set -o history
cd /opt/QA/sources/suricata/ && \
/usr/bin/suricata --build-info | pevma/SQARD-S | staging-area/tests/ubuntu/sequence/01-generic/60-verify/01-verify.sh | Shell | gpl-2.0 | 202 |
#!/bin/bash
# Make sure VUFIND_HOME is set:
if [ -z "$VUFIND_HOME" ]
then
# set VUFIND_HOME to the absolute path of the directory containing this script
# https://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself
export VUFIND_HOME="$(cd "$(dirname "$0")" && pwd -P... | j4lib/vufind | harvest/batch-import-marc.sh | Shell | gpl-2.0 | 3,000 |
_opam_add()
{
_opam_reply="$_opam_reply $1"
}
_opam_add_f()
{
local cmd
cmd=$1; shift
_opam_add "$($cmd "$@" 2>/dev/null)"
}
_opam_flags()
{
opam "$@" --help=groff 2>/dev/null | \
sed -n \
-e 's%\\-%-%g' \
-e 's%^\\fB\(-[^,= ]*\)\\fR.*%\1%p'
}
_opam_commands()
{
opam "$@" --help=groff 2... | monkeytest15/opam | shell/opam_completion.sh | Shell | gpl-3.0 | 4,673 |
#!/bin/bash
set -e -x -o pipefail
mkdir -p $PREFIX/bin
if [ "$(uname)" == "Darwin" ]; then
echo "Platform: Mac"
# export CFLAGS='-O3'
# export CXXFLAGS='-O3'
cp $SRC_DIR/bin/* $PREFIX/bin
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
echo "Platform: Linux"
cp $SRC_DIR/bin... | hardingnj/bioconda-recipes | recipes/blast/2.2.21/build.sh | Shell | mit | 367 |
# Source this script to set up the ROOT build that this script is part of.
#
# Conveniently an alias like this can be defined in .bashrc:
# alias thisroot=". bin/thisroot.sh"
#
# This script if for the bash like shells, see thisroot.csh for csh like shells.
#
# Author: Fons Rademakers, 18/8/2006
drop_from_path()
{
... | root-mirror/root | config/thisroot.sh | Shell | lgpl-2.1 | 5,473 |
# 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.
#
# Copyright (C) 2012-4 Michael D. Taht, Toke Høiland-Jørgensen, Sebastian Moeller
#improve the logread output
sqm_logger() {
... | clehner/openwrt-packages | net/sqm-scripts/files/usr/lib/sqm/functions.sh | Shell | gpl-2.0 | 14,652 |
#!/bin/sh
COMMIT_SHA=$(git describe --dirty)
TARGET_DIR=/Users/admin/dev_src/APMPlanner
WEBSITE_USER=TeamCityAdmin
mv apm_planner2_$BUILD_NUMBER\_osx.dmg ${TARGET_DIR}/apm_planner_${COMMIT_SHA}_osx.dmg
cp ${TARGET_DIR}/apm_planner_${COMMIT_SHA}_osx.dmg ${TARGET_DIR}/apm_planner2_latest_osx.dmg
rsync -avh --password-fi... | duststorm/apm_planner | scripts/upload_stable_osx.sh | Shell | agpl-3.0 | 594 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ rtu34cdf
| joachimwolff/bioconda-recipes | recipes/bioconductor-rtu34cdf/pre-unlink.sh | Shell | mit | 55 |
#!/bin/bash
. ./common.sh
if [ -z $1 ]; then echo "Specify DB node to kill."; exit 1; fi
killNode $1 | thomasdarimont/keycloak | testsuite/performance/db-failover/kill-node.sh | Shell | apache-2.0 | 103 |
#!/bin/sh
(
cd ~/src/$1 &&
# Get current branch name so we can make sure it's master
# http://stackoverflow.com/questions/6245570/get-current-branch-name
branch=`git rev-parse --abbrev-ref HEAD`
if [ "master" != "$branch" ]; then
echo "Not on the master branch!"
exit 1
fi
npm version patch &&
g... | punkave/punkave-jobs | scripts/bump.sh | Shell | mit | 365 |
#!/bin/bash
export CFLAGS="-I$PREFIX/include"
export LDFLAGS="-L$PREFIX/lib"
./configure --prefix=$PREFIX
make
make install
| gvlproject/bioconda-recipes | recipes/libbambamc/0.5.00/build.sh | Shell | mit | 126 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.