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
#
# A script to bootstrap dokku.
# It expects to be run on Ubuntu 14.04 via 'sudo'
# If installing a tag higher than 0.3.13, it may install dokku via a package (so long as the package is higher than 0.3.13)
# It checks out the dokku source code from Github into ~/dokku and then runs 'make install' from dokk... | u2mejc/dokku | bootstrap.sh | Shell | mit | 3,567 |
#!/bin/sh
# Base16 Atelier Lakeside - Virtual console color setup script
# Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)
color00="ebf8ff" # Base 07 - White
color01="d22d72" # Base 08 - Red
color02="568c3b" # Base 0B - Green
color03="8a8a0f" # Base 0A - Yellow
color04="257fad... | atelierbram/syntax-highlighting | docs/atelier-schemes/output/vconsole/base16-atelierlakeside.light.sh | Shell | mit | 1,449 |
#!/bin/bash
# Script Name: AtoMiC Kodi init.d update
echo 'Updating init.d file'
sudo sed -i "s@RUN_AS=ReplaceMe@RUN_AS=$UNAME@g" /etc/init.d/$APPINITD || { echo -e $RED'Replacing RUN_AS failed.'$ENDCOLOR ; exit 1; }
| TommyE123/AtoMiC-ToolKit | kodi/kodi-init-update.sh | Shell | mit | 219 |
#!/bin/bash
for svgfile in `ls *.svg`
do
pdffile=`echo $svgfile | sed 's/svg/pdf/g'`
inkscape -D -z --file=$svgfile --export-pdf=$pdffile --export-latex
done
| LDVSOFT/SPbAU-Cnzpkt | Calculus/theory-questions/build-svg.sh | Shell | mit | 161 |
#!/bin/bash
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=${PREFIX} \
-DCMAKE_INSTALL_LIBDIR=${PREFIX}/lib \
-DCMAKE_CXX_COMPILER=${CXX} \
-DCMAKE_C_COMPILER=${CC} \
-DWITH_SWIG=OFF \
-DLIBSBML_DEPENDENCY_DIR="${PREFIX}" \
-DLIBXML_INCLUDE_DIR=${PREFIX}/include/libxml2 \
..... | blankenberg/bioconda-recipes | recipes/libsbml/build.sh | Shell | mit | 356 |
#!/bin/bash
FN="fitCons.UCSC.hg19_3.7.1.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/fitCons.UCSC.hg19_3.7.1.tar.gz"
"https://bioarchive.galaxyproject.org/fitCons.UCSC.hg19_3.7.1.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-fitcons.ucsc.hg19/bioconductor-fit... | roryk/recipes | recipes/bioconductor-fitcons.ucsc.hg19/post-link.sh | Shell | mit | 1,461 |
gedit lib/puppet/type/web.rb &
gedit lib/puppet/provider/web/webp* &
gedit lib/puppet/provider/web/web/web* &
| NeilBryant/pfc | dev/puppet/web-module/gedit.sh | Shell | mit | 110 |
#!/usr/bin/ksh
#
# edit a HUG log file.
#
#########################################################################
#
if [[ $# == 1 ]]
then
if [[ "${1}" == "-?" ]]
then
echo
echo " usage: $(basename ${0}) [-?] [labid [hugtype]]"
echo
echo " where hug type is: pre, cpu, cm, iom"
exit 0
fi
#
labid="${1}"
e... | ombt/ombt | lts08.lcstools/tools/src/hug/src/hugedit.sh | Shell | mit | 1,306 |
#!/bin/bash
set -ex
apt-get update
apt-get upgrade -y
echo "UseDNS no" >> /etc/ssh/sshd_config
| uchida/packer-pbuilder | scripts/base.sh | Shell | cc0-1.0 | 95 |
for ((i = 1; i <= 30; i++)) ; do
java -cp .:../lib/* -Djava.security.policy=/home/cld1593/cloud-dvinci/java/security.policy nl.tudelft.in4392.client.Generator $1 1 $2 $3 -encipher $4 -blur 0 50 -rotate 90
sleep 1
done
sleep 2
| ardhipoetra/cloud-dvinci | java/out/test.sh | Shell | gpl-2.0 | 244 |
#!/bin/sh
INC_DIR="-I../include:/usr/include"
MY_EXE=$1
shift
MY_FILES="$*"
MY_LIBS="-L../lib -lgdlib -L/usr/lib -lgd -lpng -lz -ljpeg -lfreetype -lm -lct"
MY_GTLIB="-gtstd"
if [ -z ${MY_FILES} ]; then
MY_FILES=${MY_EXE};
fi
echo "Exe = ${MY_EXE}, Files = ${MY_FILES}"
echo "xhbcmp -n -w -es2 -go ${INC_DIR} ${MY_... | xharbour/core | contrib/gd/tests/bldtest.sh | Shell | gpl-2.0 | 487 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2012-2017 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 distribu... | anatol/tup | test/t8026-in-tree-to-variant4.sh | Shell | gpl-2.0 | 1,426 |
#!/bin/sh
# This File exports the current version informations and
# creates an NIS installer include file.
# Remember: This file will be sourced from / as current directory.
# Standard arguments for this script:
# $1: src/colinux/VERSION
# $2: src/colinux/os/winnt/user/install/colinux_def.inc
VERSION_FILE=$1
TARGET... | da-x/colinux | src/colinux/os/winnt/user/install/colinux_def.sh | Shell | gpl-2.0 | 903 |
$ cat _dados.txt | zzhsort -d ":"
one:um:1
dois:two:2
three:tres:3
four:quatro:4
cinco:five:5
$
$ cat _dados.txt | zzhsort -r -d ":" -D _
1_um_one
2_two_dois
3_tres_three
4_quatro_four
5_five_cinco
$
$ zzhsort -D "-" "1 a z x 5 o" #=> a-o-x-z-1-5
$ zzhsort -r -d ":" -D "\t" "1:a:z:x:5:o" #=> 5 1 z x o a
$ zzhsort ... | funcoeszz/funcoeszz | testador/zzhsort.sh | Shell | gpl-2.0 | 427 |
#!/bin/sh
python -u /usr/lib/gnomenu/GnoMenu.py run-in-window
| cs2c-jindongyang/GnoMenu | src/lib/gnomenu/Start_Script.sh | Shell | gpl-2.0 | 62 |
#!/bin/sh -ex
# Setup Qt variables
export QT_BASE_DIR=/opt/qt${QTVERMIN}
export PATH=$QT_BASE_DIR/bin:$PATH
export LD_LIBRARY_PATH=$QT_BASE_DIR/lib/x86_64-linux-gnu:$QT_BASE_DIR/lib
cd rpcs3 || exit 1
# Pull all the submodules except llvm, since it is built separately and we just download that build
# Note: Tried to... | clienthax/rpcs3 | .ci/build-linux.sh | Shell | gpl-2.0 | 2,378 |
#!/bin/sh
dmesg -c | /dev/null
LOAD=$(modprobe timer)
sleep 5
INFO=$(dmesg)
UNLOAD=$(rmmod timer)
echo
echo "<pre>$INFO</pre>"
| BeFra/Systemsoftware | v3/rootFs_files/www/cgi-bin/timer.sh | Shell | gpl-2.0 | 129 |
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) 2019 Petr Vorel <pvorel@suse.cz>
# Copyright (c) 2017 Oracle and/or its affiliates. All Rights Reserved.
# Copyright (c) International Business Machines Corp., 2001
TST_CNT=2
TST_NEEDS_CMDS="traceroute"
TST_SETUP="setup"
TST_TESTFUNC="test"
TST_NEE... | chenhuacai/ltp | testcases/network/traceroute/traceroute01.sh | Shell | gpl-2.0 | 1,315 |
#!/bin/sh
# Copyright (c) 2011, 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... | openjdk/jdk7u | jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.sh | Shell | gpl-2.0 | 13,048 |
#!/bin/sh
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This disclaimer is not a license and does not gra... | CprE488/Final | system/implementation/system_axi_interconnect_1_wrapper_fifo_generator_v9_1_1/implement/implement.sh | Shell | gpl-3.0 | 3,451 |
#!/bin/sh
set -ue
FILE="${1:-art.txt}"
LEN=$(wc -l <"$FILE")
I=1
while [ $I -le $LEN ]; do
LINE1="$(sed -n "$((I+00))p" "$FILE")"
LINE2="$(sed -n "$((I+13))p" "$FILE")"
LINE3="$(sed -n "$((I+26))p" "$FILE")"
LINE4="$(sed -n "$((I+39))p" "$FILE")"
LINE5="$(sed -n "$((I+52))p" "$FILE")"
echo "$... | syncrypt/client | syncrypt/vendor/keyart/doc/examples/party.sh | Shell | gpl-3.0 | 420 |
#!/bin/bash
./check.server.sh
res=$(echo $?)
if [ $res -eq 1 ]; then
exit 1
fi
source properties.inc
version='0.0.1'
current_dir=$PWD
group=com.mftvanak.edusys
artifact=ws.phonebook
packaging=war
target=$group.$artifact
cp $current_dir/$target/target/$target-$version-SNAPSHOT.$packaging $publish_dir
| ckpp/edusys | oldest-src/publish.ws.phonebook.sh | Shell | gpl-3.0 | 307 |
#!/bin/sh
# MSE, team chop-chop
mknod /dev/hitbox c 62 0
mknod /dev/nistnet c 62 1
chown root /dev/hitbox
chown root /dev/nistnet
mknod /dev/mungebox c 63 0
chown root /dev/mungebox
mknod /dev/spybox c 64 0
chown root /dev/spybox
/root/nistnet-3.0a/Load.Nistnet
cnistnet -u
#cnistnet -a 0.0.0.0 0.0.0.0 add new --dela... | kjakka/libjingletestsuite | Scripts/nistnet-setup.sh | Shell | gpl-3.0 | 338 |
#!/bin/sh
autoreconf -if || exit 1
# output of glib-gettextize is silenced because it is confusing
glib-gettextize --force --copy > /dev/null || { echo "glib-gettextize failed"; exit 1; }
intltoolize --force --copy --automake
| Maato/volumeicon | autogen.sh | Shell | gpl-3.0 | 227 |
#!/bin/bash
Path=`pwd`
cd `dirname $0`
git submodule init
git submodule update
cd meatstand_common
git pull http://dev.meatstand.com/meatstand/meatstand_common.git master
cd "${Path}"
| mogorman/steak | update_submodule.sh | Shell | gpl-3.0 | 185 |
#!/usr/bin/env bash
#
# Copyright (C) 2007-2016 Hypertable, Inc.
#
# This file is part of Hypertable.
#
# Hypertable 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 any la... | hypertable/hypertable | bin/ht-stop-monitoring.sh | Shell | gpl-3.0 | 2,568 |
# Create a temporary dummy script for running qsub
export PATH=$PWD:$PATH
echo 'echo "$@" >> qsub.log' > qsub
trap "rm qsub" EXIT
chmod a+x qsub
ducttape 06-02-sge-simple.tape "$@"
| jhclark/ducttape | tutorial/06-02-sge-simple.sh | Shell | mpl-2.0 | 182 |
#!/bin/bash
app="telemeta"
dir="../../doc/devel"
python modelviz.py -a > $dir/$app-all.dot
python modelviz.py $app > $dir/$app.dot
dot $dir/$app-all.dot -Tpdf -o $dir/$app-all.pdf
dot $dir/$app.dot -Tpdf -o $dir/$app.pdf
rsync -a $dir/ doc.parisson.com:/var/www/files/doc/$app/diagram/
| ANR-kamoulox/Telemeta | app/scripts/diag.sh | Shell | agpl-3.0 | 290 |
#!/bin/bash
exitstatus=0
for i in $(go list -f '{{.Dir}}' launchpad.net/juju-core/...)
do
src=$i/*_test.go
# The -s flag is needed to suppress errors when
# the above pattern does not match any files.
if grep -s -q -l 'launchpad.net/gocheck' $src &&
! egrep -l -q 'gc\.TestingT|testing\.(\w*)MgoTestPackage' $src
... | cloudbase/juju-core | scripts/checktesting.bash | Shell | agpl-3.0 | 497 |
#!/bin/sh
if [ "$(find ~ -maxdepth 0 -printf '%U\n')" != 0 ]; then
echo "Use in fakechroot environment"
exit 1
fi
test -f savemode.dat1 && mv -f savemode.dat1 savemode.dat1~
test -f savemode.dat2 && mv -f savemode.dat2 savemode.dat2~
LANG=C find . \( -type b -o -type c -o -type p -o -type s \) \
| tar czPf ... | blipvert/fakechroot | scripts/savemode.sh | Shell | lgpl-2.1 | 473 |
#! /bin/bash
set -o errexit
# the protocol target is the repository - as a direct graph, the content is turtle:
# - triples are added to the document (default) graph.
# - quads are added to the document graph.
# - statements are removed from the document graphs only
# with the repository as the target, the effect is a... | NXPdata/http-api-tests | sparql-graph-store-http-protocol/PATCH-ttl.sh | Shell | unlicense | 1,006 |
#!/bin/bash
set -e
DIFF_OUTPUT="${DIFF_OUTPUT:-/build/fix_format.diff}"
# We set this for two reasons. First, we want to ensure belt-and-braces that we check these formats
# in CI in case the skip-on-file-change heuristics in proto_format.sh etc. are buggy. Second, this
# prevents AZP cache weirdness.
export FORCE_P... | envoyproxy/envoy | ci/check_and_fix_format.sh | Shell | apache-2.0 | 643 |
#!/usr/bin/env bash
sudo docker build \
--file=Dockerfile \
--tag="lburgazzoli/app-gmail-britta" \
--build-arg DOCKER_USER=$LOGNAME \
--build-arg DOCKER_USER_GID=$(id $LOGNAME -g) \
--build-arg DOCKER_USER_UID=$(id $LOGNAME -u) \
.
#docker run --rm -v $PWD:/repo -v ~/.travis:/travis andreduma... | lburgazzoli/lb-docker-files | apps/gmail-britta/build.sh | Shell | apache-2.0 | 337 |
#!/bin/bash
# Copyright 2016-2018 Replay SDK (http://www.replay-sdk.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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
... | e-dot/bibliopuce | bin/stop.sh | Shell | apache-2.0 | 827 |
#/bin/bash
ROOTDIR=`dirname $0`
photo="/mnt/ramdisk/pic.gif"
list=$(find /mnt/ramdisk -name '*.jpg' | sort)
# strip meta data
mogrify -strip ${list}
# convert to animated gif, 1/2 second delay between frames
convert -delay 50 -loop 1 ${list} ${photo}
# Optimize to reduce gif size
mogrify -layers optimize ${photo}
pytho... | syncom/twitimg | twitimg-run.sh | Shell | apache-2.0 | 381 |
#!/bin/bash
file=$1
# >path_4990095754155914678 length=5708 circular=0 signature=496a062284e721fa
grep '>' $file > names
cat names|awk '{print $1}' | sed 's/>//g' | sort | uniq > uniq-names
echo "Nothing is good."
for i in $(cat uniq-names)
do
echo -n $i
echo -n " "
grep $i names | sort|uniq| wc -l
don... | GeneAssembly/biosal | scripts/assembly_debugging/check-signatures.sh | Shell | bsd-2-clause | 338 |
#! /bin/sh -e
rm -rf autom4te.cache
aclocal -I m4
autoheader
case `uname` in Darwin*) glibtoolize --copy ;;
*) libtoolize --copy ;; esac
automake --add-missing --copy
autoconf
| couchbase/snappy | autogen.sh | Shell | bsd-3-clause | 178 |
#!/bin/bash
# Agave automatically writes these scheduler
# directives when you submit a job but we have to
# do it by hand when writing our test
#SBATCH -p development
#SBATCH -t 00:30:00
#SBATCH -n 15
#SBATCH -A iPlant-Collabs
#SBATCH -J test-samtools
#SBATCH -o test-samtools.o%j
# Set up inputs and parameters
# ... | iPlantCollaborativeOpenSource/cyverse-sdk | examples/samtools-0.1.19/stampede/test-sort.sh | Shell | bsd-3-clause | 1,295 |
#!/bin/bash
echo "Updating Social Likes on gh-pages…"
grunt build
cp ../social-likes_flat.css ../../social-likes_gh-pages/src/
cp ../social-likes_classic.css ../../social-likes_gh-pages/src/
cp ../social-likes_birman.css ../../social-likes_gh-pages/src/
cp ../social-likes.min.js ../../social-likes_gh-pages/src/
cp ..... | dianlight/social-likes | src/update-gh-pages.sh | Shell | mit | 555 |
python ./generate.py | tred | dot -Tsvg > dependency_graph.svg
| programonauta/webthree-umbrella | dependency_graph/generate.sh | Shell | mit | 63 |
#!/bin/bash
#sudo modprobe uio
#sudo insmod build/kmod/igb_uio.ko
#-- -p PORTMASK [--config (port,queue,lcore)[,(port,queue,lcore]]
# -p PORTMASK: hexadecimal bitmask of ports to configure
# --config (port,queue,lcore): rx queues configuration
# --no-numa: optional, disable numa awareness
app=$1
if [ -z $app ]
... | twood02/adv-net-samples | dpdk/go.sh | Shell | mit | 419 |
#! /usr/bin/env bash
$XGETTEXT -kaliasLocal `find -name \*.cpp -o -name \*.h` -o $podir/kdiff3plugin.pot
| NullVoxPopuli/kdiff3 | kdiff3plugin-QT4/Messages.sh | Shell | gpl-2.0 | 105 |
#! /bin/sh
. ../../testenv.sh
export GHDL_STD_FLAGS=--std=08
analyze repro.vhdl
clean
echo "Test successful"
| tgingold/ghdl | testsuite/gna/issue816/testsuite.sh | Shell | gpl-2.0 | 113 |
#!/bin/sh
oname=$1
ogroup=$2
ouid=$3
ogid=$4
cat /etc/group | awk '{ FS = ":" } { print $3 }' | grep -q "$ogid" || groupadd -g "$ogid"
id -u $oname >/dev/null 2>&1 || useradd -u $ouid -g $ogid $oname
preamble() {
systemctl start dbus
}
unit_tests() {
echo "** Unit tests"
su $oname -c "./test/run"
}
configure() ... | krig/crmsh | test/run-in-container.sh | Shell | gpl-2.0 | 680 |
#!/bin/sh -u
#
# Copyright (C) 2012 Codership Oy <info@codership.com>
#
# This is a script for glbd exec watchdog backend to monitor the availability
# of HTTP server.
#
# It tries to query the server for a given page, and echoes status back to glbd.
#
# Example usage:
# ./glbd -w exec:"curl.sh http://index.html" -t 2 ... | codership/glb | files/curl.sh | Shell | gpl-2.0 | 1,066 |
#!/bin/bash
#Error
func_error() {
[ $error == "0" ] && return 0
echo "
Unexpected Error:
=================
at: $current
... Please try again."
exit 1
}
#Get current architecture
current="1:Set architecture"
if [[ $(uname --machine) == "x86_64" ]] ; then
arch="64" && error=0
elif [[ $(uname --machine) == "i"*"86" ]]... | AlexandraPauline/Butter | dist/linux/exec_basefile.sh | Shell | gpl-3.0 | 2,843 |
## Base configuration of image.
echo "Setting up the basics"
# Set install date.
echo "Set install date"
date > /etc/vagrant_box_build_time
# Execute apt-get update.
echo "Executing apt-get update"
apt-get -yq update
# Execute apt-get upgrade.
echo "Executing apt-get upgrade"
apt-get -yq upgrade
# Install dependenc... | sirhopcount/packer-templates | debian-7.8.0-64bit-vbox-4.3.18-puppet-2.7.26/scripts/base.sh | Shell | gpl-3.0 | 1,173 |
#!/usr/bin/env bash
set -evuo pipefail
node ./scripts/gen_keys.js
# Force install of mysql-patcher
(cd node_modules/fxa-auth-db-mysql && npm install &>/var/tmp/db-mysql.out)
mysql -u root -e 'DROP DATABASE IF EXISTS fxa'
node ./node_modules/fxa-auth-db-mysql/bin/db_patcher.js
# Start backgrounded fxa-auth-db-mysql... | shane-tomlinson/fxa-auth-server | scripts/start-travis-auth-db-mysql.sh | Shell | mpl-2.0 | 710 |
#!/usr/bin/env bash
set -exuo pipefail
function cleanup_gh_install() {
[ -n "${gh_cli_dir}" ] && [ -d "${gh_cli_dir}" ] && rm -rf "${gh_cli_dir:?}/"
}
function ensure_gh_cli_installed() {
if command -V gh; then
return
fi
trap 'cleanup_gh_install' EXIT SIGINT SIGTERM
# install gh cli for... | davidvossel/kubevirt | automation/release.sh | Shell | apache-2.0 | 3,701 |
#!/usr/bin/env bash
# **sec_groups.sh**
# Test security groups via the command line
echo "*********************************************************************"
echo "Begin DevStack Exercise: $0"
echo "*********************************************************************"
# This script exits on an error so that err... | inkerra/devstack | exercises/sec_groups.sh | Shell | apache-2.0 | 2,156 |
# React component
DEFAULT_COMPONENT_FOLDER="components"
echo -n 'Enter the name of the Component: '
read ComponentName
echo -n "Output folder path relative to ./src (default: $DEFAULT_COMPONENT_FOLDER): "
read Output
if [ "$Output" = "" ]
then
Output="$DEFAULT_COMPONENT_FOLDER"
fi
ABS_PATH=`cd "$1"; pwd` # gets t... | expdevelop/exp-template | rcc.sh | Shell | mit | 1,151 |
#!/usr/bin/env bash
ruby_version_family="${ruby_version:0:3}"
ruby_archive="ruby-$ruby_version.tar.bz2"
ruby_src_dir="ruby-$ruby_version"
ruby_mirror="${ruby_mirror:-https://cache.ruby-lang.org/pub/ruby}"
ruby_url="${ruby_url:-$ruby_mirror/$ruby_version_family/$ruby_archive}"
#
# Configures Ruby.
#
function configure... | PLOS/ruby-install | share/ruby-install/ruby/functions.sh | Shell | mit | 1,225 |
#!/bin/bash
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
cd "$DIR"
DO_LOOP="yes"
while getopts "p:f:l" OPTION 2> /dev/null; do
case ${OPTION} in
p)
PHP_BINARY="$OPTARG"
;;
f)
POCKETMINE_FILE="$OPTARG"
;;
l)
DO_LOOP="yes"
;;
\?)
break
;;
esac
done
if [ "$PHP_BINARY" == "" ];... | PocketKiller/PocketMine-Plugins | RestartMe/resources/start.sh | Shell | mit | 1,148 |
#! /bin/sh
# Copyright (C) 2005-2015 Red Hat, Inc.
# This file is part of elfutils.
#
# This file 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 option) any late... | bgamari/elfutils | tests/test-subr.sh | Shell | gpl-3.0 | 3,713 |
#!/bin/sh
set -e
set -u
APP_PREFIX="broker"
APP_PATH="/opt/ctrip/app/hermes-${APP_PREFIX}"
# copy tar
OLD_DEPLOY="${APP_PATH}/old-deployment/"
echo "Move ["${APP_PATH}/*.tar"] into "${OLD_DEPLOY}
mkdir -p ${OLD_DEPLOY}
mv ${APP_PATH}/*.tar ${OLD_DEPLOY}
echo "Copy ["hermes-${APP_PREFIX}/target/*.tar"] to " ${APP_PA... | sdgdsffdsfff/hermes | hermes-broker/script/jenkins_run.sh | Shell | apache-2.0 | 610 |
#!/bin/bash
vagrant box add ubuntu-trusty-64 ubuntu-trusty-64.box
| sudhakarau1/devstack | scripts/add-box/add-box-local.sh | Shell | apache-2.0 | 67 |
@INCLUDE_COMMON@
echo
echo ELEKTRA BASIC SCRIPTS TESTS
echo
check_version
OURS_ROOT=$USER_ROOT/mergetest/ours
THEIRS_ROOT=$USER_ROOT/mergetest/theirs
BASE_ROOT=$USER_ROOT/mergetest/base
MERGED_ROOT=$USER_ROOT/mergetest/merged
echo "Testing version"
if [ "x$CHECK_VERSION" != "xNO" ]; then
"$KDB" -V | grep KDB_VERS... | mpranj/libelektra | tests/shell/check_basic.sh | Shell | bsd-3-clause | 766 |
#!/bin/bash
FN="indac.db_3.2.3.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.13/data/annotation/src/contrib/indac.db_3.2.3.tar.gz"
"https://bioarchive.galaxyproject.org/indac.db_3.2.3.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-indac.db/bioconductor-indac.db_3.2.3_src_all.tar.gz"
"https... | phac-nml/bioconda-recipes | recipes/bioconductor-indac.db/post-link.sh | Shell | mit | 1,398 |
#!/bin/bash
FN="humanomni25quadv1bCrlmm_1.0.2.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/annotation/src/contrib/humanomni25quadv1bCrlmm_1.0.2.tar.gz"
"https://bioarchive.galaxyproject.org/humanomni25quadv1bCrlmm_1.0.2.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-humanomni25quadv1... | jerowe/bioconda-recipes | recipes/bioconductor-humanomni25quadv1bcrlmm/post-link.sh | Shell | mit | 1,502 |
#!/bin/sh
# Exercise the Darwin/MacOS bug worked around on 2006-09-29,
# whereby rm would fail to remove all entries in a directory.
# Copyright (C) 2006-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... | houwentaoff/coreutils | tests/rm/readdir-bug.sh | Shell | gpl-3.0 | 1,444 |
#!/bin/sh
# Build html versions of sections of lilypond Contributors' Guide
#
# Usage: ./cg-section.sh SECTION
#
# where SECTION is the section to be built.
#
# For example, CG 4 would be built by
# ./cg-section.sh doc-work
#
# At the end of the run, the user is prompted whether or not to
# remove the g... | RomanticStrings/lilypond-git | scripts/auxiliar/cg-section.sh | Shell | gpl-3.0 | 3,038 |
#!/bin/bash
source ~/.profile
source ~/.rvm/scripts/rvm
rvm --version
# rvm install ruby-1.8.7
# rvm use ruby-1.8.7
rvm install ruby-2.0.0
rvm use ruby-2.0.0
set -e
ruby -v
echo "gem version"
gem --version
gem install bundler --no-rdoc --no-ri
bundle install --without development
bundle --version
gem update --syst... | carroarmato0/biemond-oradb | test.sh | Shell | apache-2.0 | 631 |
#!/bin/sh
# Script to Test the udp_server code.
EXEC=./udpsort_test
TMPOUTPUT=tmpoutput$$
EXPECTEDPERIOD=10
$EXEC 6001 6002 6003 6004 6005 &
#2> udp_server1.cerr &
$EXEC 6002 6001 6003 6004 6005 &
$EXEC 6003 6002 6001 6004 6005 &
$EXEC 6004 6002 6003 6001 6005 &
$EXEC 6005 6002 6003 6004 6001 &
## print success / f... | hunbernd/RetroShare | libretroshare/src/tests/tcponudp/udpsort_test.sh | Shell | gpl-2.0 | 542 |
#!/bin/bash
F=$1
if [ "$F" = "" ]
then
echo You must supply a firmware file.
exit 1
fi
echo "unsigned char d[] = {" > $F.c
hexdump -v -e '"\t" 8/1 "0x%02x, " "\n"' $F >> $F.c
echo "};" >> $F.c
gcc -c $F.c
objcopy -Oihex $F.o $F.ihex
| patrikryd/kernel | scripts/fw-to-ihex.sh | Shell | gpl-2.0 | 239 |
#!/usr/bin/env bash
# Assumes that python points to the python you want to use
# This should be managed from other script, or from CI/CD pipelines
script_dir=$(cd $(dirname $0) || exit 1; pwd)
# Requires DEPENDENCIES_BUILD_DIR
echo "In deploy script: DEPENDENCIES_BUILD_DIR $DEPENDENCIES_BUILD_DIR"
echo ""
echo "$(py... | dcoeurjo/DGtal | wrap/deploy/deploy_macos_one_python.sh | Shell | lgpl-3.0 | 1,250 |
#!/bin/bash
export HOME="/home"
cd /opt/apps/osf
source env/bin/activate
python -m scripts.send_digest
| kushG/osf.io | scripts/send_digests.sh | Shell | apache-2.0 | 104 |
#!/bin/bash
# Copyright 2016 gRPC authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | deepaklukose/grpc | tools/codegen/core/gen_nano_proto.sh | Shell | apache-2.0 | 3,185 |
#!/bin/bash
FN="Illumina450ProbeVariants.db_1.30.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/experiment/src/contrib/Illumina450ProbeVariants.db_1.30.0.tar.gz"
"https://bioarchive.galaxyproject.org/Illumina450ProbeVariants.db_1.30.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-i... | cokelaer/bioconda-recipes | recipes/bioconductor-illumina450probevariants.db/post-link.sh | Shell | mit | 1,387 |
#
# This script can be used to automatically guess target OS.
# It requires the config.guess utility which is a part of GNU Autoconf.
# GNU Autoconf can be downloaded from ftp://ftp.gnu.org/gnu/autoconf/
#
# Use "default" as a make target for automatic builds.
#
# Specify path to the config.guess utility (unless set ... | commshare/testLiveSRS | trunk/objs/st-1.9/osguess.sh | Shell | mit | 1,219 |
#!/bin/bash
FN="hugene10sttranscriptcluster.db_8.8.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/annotation/src/contrib/hugene10sttranscriptcluster.db_8.8.0.tar.gz"
"https://bioarchive.galaxyproject.org/hugene10sttranscriptcluster.db_8.8.0.tar.gz"
"https://depot.galaxyproject.org/software/biocondu... | cokelaer/bioconda-recipes | recipes/bioconductor-hugene10sttranscriptcluster.db/post-link.sh | Shell | mit | 1,398 |
#!/bin/bash
set -eu
outdir=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM
mkdir -p $outdir
mkdir -p $PREFIX/bin
cp -r * $outdir
sed -i.bak s#!/bin/sh#!/bin/bash# $outdir/bin/sentieon
ln -s $outdir/bin/sentieon $PREFIX/bin/sentieon
ln -s $outdir/libexec/licsrvr $PREFIX/bin/sentieon-licsrvr
| pinguinkiste/bioconda-recipes | recipes/sentieon/build.sh | Shell | mit | 297 |
#!/bin/sh
# Make sure the host sed supports '-i' (in-place).
# If it doesn't, we'll build and use our own.
SED=$(toolchain/dependencies/check-host-sed.sh)
if [ -z "$SED" ] ; then
echo build-sed-host-binary
else
echo use-sed-host-binary
fi
| egtvedt/Buildroot-for-AVR32 | package/sed/sedcheck.sh | Shell | gpl-2.0 | 243 |
#/bin/bash
lPATH='.'
LIBSREF=( )
lINETPath='../../../../inet/src'
for lP in '../../../src' \
'../../../src/base' \
'../../../src/modules' \
'../../testUtils' \
'../utils' \
"$lINETPath"; do
for pr in 'mixim' 'inet' 'powerTestUtils'; do
if [ -d "$lP" ] && [ ... | rmsun/veins-2.0-rc1-mod | tests/power/deviceTestAll/runTests.sh | Shell | gpl-2.0 | 1,347 |
#!/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
# "Licens... | drankye/directory-server | installers-maven-plugin/src/main/resources/org/apache/directory/server/installers/macosxpkg/apacheds-usr-bin.sh | Shell | apache-2.0 | 859 |
# Install Ruby from source
source ./proxy.sh
RUBY_VERSION="ruby-1.9.3-p448"
RUBY_SOURCE="http://ftp.ruby-lang.org/pub/ruby/1.9/${RUBY_VERSION}.tar.gz"
LIBYAML_VERSION="yaml-0.1.4"
LIBYAML_SOURCE="http://pyyaml.org/download/libyaml/${LIBYAML_VERSION}.tar.gz"
yum install -y readline-devel ncurses-devel gdbm-devel tcl-... | Gamevy/veewee | templates/OracleLinux-5.9-x86_64-DVD/ruby.sh | Shell | mit | 993 |
# This tries to read from some file that is group root, but not world
# readable. It should fail with WRONG-ANSWER, because we first check.
# If anything is not as expected it should generate a RUN-ERROR.
#
# @EXPECTED_RESULTS@: WRONG-ANSWER
set -e
echo "Our effective user/group(s) are:"
id
echo "Our real IDs:"
ec... | Lekssays/brackets | web/tests/test-permissions.sh | Shell | gpl-3.0 | 744 |
#!/bin/sh
# Copyright 2003 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 of the License, or
# (at your option) any later version.
#
# This... | scs/uclinux | user/gdb/gdb/gdb_gcore.sh | Shell | gpl-2.0 | 1,790 |
#!/bin/bash
# build all targets for PX4
# This helps when doing large merges
# Andrew Tridgell, February 2013
set -e
set -x
. config.mk
echo "Testing ArduPlane build"
pushd ArduPlane
make px4-clean
make px4
make px4-io
popd
echo "Testing ArduCopter build"
pushd ArduCopter
make px4-clean
make px4
popd
echo "Testing... | GekoCH/HighAltitudeArduPlane20130613 | Tools/scripts/build_all_px4.sh | Shell | gpl-3.0 | 391 |
# $NetBSD: t_bpf.sh,v 1.3 2012/11/29 16:05:34 pgoyette Exp $
#
# Copyright (c) 2008, 2010 The NetBSD Foundation, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of sour... | veritas-shine/minix3-rpi | tests/ipf/t_bpf.sh | Shell | apache-2.0 | 2,169 |
#!/bin/bash
# This script sets up a go workspace locally and builds all go components.
set -o errexit
set -o nounset
set -o pipefail
OS_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${OS_ROOT}/hack/common.sh"
"${OS_ROOT}/hack/build-go.sh" cmd/genbashcomp
# Find binary
genbashcomp=$( (ls -t _output/local/go/bin/genba... | dustintownsend/origin | hack/update-generated-completions.sh | Shell | apache-2.0 | 832 |
#!/bin/bash
# Copyright 2012 Johns Hopkins University (Author: Daniel Povey). Apache 2.0.
# This script does decoding with an SGMM system, by rescoring lattices
# generated from a previous SGMM system. The directory with the lattices
# is assumed to contain speaker vectors, if used. Basically it rescores
# the la... | keighrim/kaldi-yesno-tutorial | steps/decode_sgmm_rescore.sh | Shell | apache-2.0 | 4,672 |
#!/bin/sh
# "./check-style.sh files..." will validate files given on command line.
# "./check-style.sh" without arguments will validate all style files
# in the source directory
files=""
if [ $1 ]; then
files=$@
else
if [ "$srcdir" ]; then
cd $srcdir
fi
files=*.xml
fi
for file in $files; do
xmllint --... | mrcyberfighter/IT-Edit | it-edit-2.0/data/Styles/check-style.sh | Shell | gpl-3.0 | 368 |
#!/bin/sh
# GDB script to create list of files to check using gdb_ari.sh.
#
# Copyright (C) 2003-2016 Free Software Foundation, Inc.
#
# This file is part of GDB.
#
# 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 S... | swigger/gdb-ios | gdb/contrib/ari/gdb_find.sh | Shell | gpl-2.0 | 1,360 |
#!/bin/bash
# ------------------------------------------------------------------------
#
# Copyright 2005-2015 WSO2, Inc. (http://wso2.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
#
#... | gayangunarathne/private-paas-cartridges | wso2cep/4.0.0/samples/applications/wso2cep-400-application/scripts/ec2/undeploy.sh | Shell | apache-2.0 | 911 |
#!/bin/bash
cygwin=false;
linux=false;
case "`uname`" in
CYGWIN*)
cygwin=true
;;
Linux*)
linux=true
;;
esac
get_pid() {
STR=$1
PID=$2
if $cygwin; then
JAVA_CMD="$JAVA_HOME\bin\java"
JAVA_CMD=`cygpath --path --unix $JAVA_CMD`
JAVA_PID=`ps |grep $JAVA_CMD... | wangcan2014/otter | node/deployer/src/main/bin/stop.sh | Shell | apache-2.0 | 1,361 |
#!/bin/bash
# Copyright 2014 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 ... | reactiveops/kops | vendor/k8s.io/kubernetes/hack/update-all.sh | Shell | apache-2.0 | 2,278 |
#!/usr/bin/env zsh
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2018 zsh-syntax-highlighting contributors
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted
# provided that the f... | codeprimate/arid | zsh/zsh-syntax-highlighting/highlighters/main/test-data/bang-assign-scalar.zsh | Shell | bsd-2-clause | 2,164 |
#!/usr/bin/env bash
mkdir -p AnimTransDistr
cd AnimTransDistr
curl -O http://vision.stanford.edu/Datasets/AnimTransDistr.rar
unrar x AnimTransDistr.rar
# The following file is a weird file:
rm Anims/104034.jpg
| M4573R/BuildingMachineLearningSystemsWithPython | ch10/download.sh | Shell | mit | 211 |
#!/bin/sh
set -ux
SUBTARGET=${1:?}
OUTDIR=${2:-$TARGET_BUILD_DIR}
# build library for device and simulator
xcodebuild -target $SUBTARGET -configuration $CONFIGURATION -sdk iphoneos BUILD_DIR=$BUILD_DIR BUILD_ROOT=$BUILD_ROOT\
|| exit 1
xcodebuild -target $SUBTARGET -configuration $CONFIGURATION -sdk iphonesimulato... | dani4/ZBarWin64 | iphone/bin/BuildUniversal.sh | Shell | lgpl-2.1 | 902 |
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
# Test traffic distribution when there are multiple routes between an IPv4
# GRE tunnel. The tunnel carries IPv6 traffic between multiple hosts.
# Multiple routes are in the underlay network. With the default multipath
# policy, SW2 will only look at the outer IP addresse... | Pingmin/linux | tools/testing/selftests/net/forwarding/gre_inner_v6_multipath.sh | Shell | gpl-2.0 | 7,843 |
#!/bin/sh
test_description='apply to deeper directory without getting fooled with symlink'
. ./test-lib.sh
lecho () {
for l_
do
echo "$l_"
done
}
test_expect_success SYMLINKS setup '
mkdir -p arch/i386/boot arch/x86_64 &&
lecho 1 2 3 4 5 >arch/i386/boot/Makefile &&
ln -s ../i386/boot arch/x86_64/boot &&
gi... | TextusData/Mover | thirdparty/git-1.7.11.3/t/t4122-apply-symlink-inside.sh | Shell | gpl-3.0 | 1,038 |
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Runs static keys kernel module tests
# Kselftest framework requirement - SKIP code is 4.
ksft_skip=4
if ! /sbin/modprobe -q -n test_static_key_base; then
echo "static_key: module test_static_key_base is not found [SKIP]"
exit $ksft_skip
fi
if ! /sbin/modprobe -q -n te... | Linutronix/linux | tools/testing/selftests/static_keys/test_static_keys.sh | Shell | gpl-2.0 | 753 |
#!/bin/bash
. vars.sh
usage() {
echo "$0:"
echo " user-logged"
echo " zstream-bz bugid"
echo " attach-patch bugid patch [description]"
echo " attach-corosync-git-patch bugid sha1"
exit 1
}
case "$1" in
"zstream-bz")
[ "$2" == "" ] && usage
python-bugzilla/bugzilla-cli query -b "$2" -... | jfriesse/hsu | bz.sh | Shell | isc | 1,608 |
#!/usr/bin/env bash
OBJDIR="_build"
BINDIR="bin"
DATASYMLINK="${BINDIR}/data"
CC="g++ -std=c++11"
OC="g++"
WFLAGS="-Wall -Wno-missing-braces -Wno-unused-variable -Wno-unused-function"
#CFLAGS="-c ${FLAGS} ${WFLAGS} -g -gmodules -O0 -DMACOSX -Isrc -DDEBUG -DPLATFORM_MACOS"
CFLAGS="-c ${FLAGS} ${WFLAGS} -O2 -mssse3 -mt... | zeqfreed/evolve | build.sh | Shell | isc | 2,523 |
#!/bin/bash
if [ $IP = "127.0.0.1" ]; then
:
elif [ $RANCHER ]; then
until grep -q '169.254.169.250' /etc/resolv.conf; do
sleep 1
done
IP=$(wget -q -O- http://169.254.169.250/latest/self/container/primary_ip)
else
IP=$(hostname -i)
fi
if [ ! -f /app/config/server.properties ] ; then
s... | tcaxias/docker | kafka/start_kafka.sh | Shell | isc | 1,207 |
function gco {
if [ -z "$1" ]; then
git checkout master
else
git checkout $*
fi
}
# $ git log --no-merges --pretty=format:"%ae" | stats
# 514 a@example.com
# 200 b@example.com
# From @paulmillr
function gstats() {
sort | uniq -c | sort -r
}
# List all files changed in a commit
function gchanged() {
... | tricinel/dotfiles | git/functions.zsh | Shell | mit | 2,697 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3321-1
#
# Security announcement date: 2015-07-30 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:29 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - xmltooling:1.4.2-5+deb7u1
# - lib... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/x86_64/2015/DSA-3321-1.sh | Shell | mit | 1,217 |
# updating and automating - http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Python_django.html
#
#
# questions:
# 1) is it possible to create a virtualenv in python?
# 2) where do I want the test app to be located?
# 3) how do I run command line tools like pip freeze > requirements.txt the right way... | TheJimFactor/One-Button-Django-Beanstalk | djangobean/initialize.sh | Shell | mit | 1,087 |
#################
# CLI Shortcuts #
#################
alias copyrsa="pbcopy < $HOME/.ssh/id_rsa.pub"
alias copyec="pbcopy < $HOME/.ssh/id_ed25519.pub"
alias copyredis="echo -n $REDIS_TOKEN | pbcopy"
alias reloadcli="source $HOME/.zshrc"
alias reloaddns="dscacheutil -flushcache && sudo killall -HUP mDNSResponder"
## Dir... | djfurman/dotfiles | aliases.zsh | Shell | mit | 1,243 |
#!/bin/bash
basedir="/home/v/p/drawn"
cd "/home/v/Downloads/AnkPixiv"
num=0
suc=0
for f in *; do
((++num))
name=`echo "$f"|sed 's/-.*//'`
dir="$basedir/$name"
mkdir -p "$dir"
cp "$f" "$dir"
if [ $? -eq 0 ]; then
((++suc))
fi
done
echo "Successfully copied $suc of $num files."
| Liag/rinuks | sortpixiv.sh | Shell | mit | 286 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.