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 -e
# FLAC - Free Lossless Audio Codec
# Copyright (C) 2001-2009 Josh Coalson
# Copyright (C) 2011-2013 Xiph.Org Foundation
#
# This file is part the FLAC project. FLAC is comprised of several
# components distributed under different licenses. The codec libraries
# are distributed under Xiph.Org's... | fredericgermain/flac | test/test_streams.sh | Shell | bsd-3-clause | 9,769 |
#!/bin/sh
#
# Copyright (c) 2011, University of Konstanz, Distributed Systems Group
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above cop... | sebastiangraf/treetank | scripts/svnToGit/03.sh | Shell | bsd-3-clause | 1,739 |
#!/bin/sh
SCRIPT=$(readlink -f "$0")
DIR=$(dirname "$SCRIPT")
psql -U gkri gkri < $DIR/gkri.sql
| carlosgarcia8/gkri | db/create.sh | Shell | bsd-3-clause | 97 |
pid=`ps -ef | grep albums_server | grep -v grep | awk '{print $2}'`
kill -9 $pid | orange-jacky/albums | stop.sh | Shell | bsd-3-clause | 80 |
#!/bin/bash
RETCODE=$(fw_exists /usr/bin/erl)
[ ! "$RETCODE" == 0 ] || { return 0; }
sudo cp ../config/erlang.list /etc/apt/sources.list.d/erlang.list
fw_get http://binaries.erlang-solutions.com/debian/erlang_solutions.asc
sudo apt-key add erlang_solutions.asc
sudo apt-get -y update
sudo apt-get install -y esl-erla... | seem-sky/FrameworkBenchmarks | toolset/setup/linux/languages/erlang.sh | Shell | bsd-3-clause | 322 |
cd ..
cabal install --reinstall --ghc-options=-fforce-recomp
cd -
ghc -threaded -Odph -eventlog -fforce-recomp --make Verify
./Verify +RTS -N8 -ls -s | jeremyong/Yaiba | Test/8.sh | Shell | bsd-3-clause | 149 |
#!/bin/bash
# To be adble to run autoconf I had to install
# libglibc-2.0-dev (or something like this)
# and "sudo aptitude install libgtk2.0-dev"
. ./env_slurm.sh
export PATH="$PREFIX/bin":$PATH
export LD_LIBRARY_PATH="$PREFIX/lib":$LD_LIBRARY_PATH
cd $SLURM_SRC
export ACLOCAL_FLAGS='-I /usr/share/aclocal'
./autog... | artpol84/ompi_trunk_build | scripts/slurm_sources_prepare.sh | Shell | bsd-3-clause | 326 |
#!/usr/bin/bash
#
# http://www.unixarena.com/2015/12/how-to-clone-a-kvm-virtual-machines-and-reset-the-vm.html
# the above describes virt-sysprep options which may be of use too ...
os=`uname|cut -c1-6`
echo "OS name $os"
export ISO_MNT_PATH=/mnt/iso/
export NEW_ISO_PATH=/var/tmp/
function isomnt {
imgpath=${HOME}... | OpenSciViz/cloudstack | cloudstack/src/bash/newiso.sh | Shell | mit | 1,968 |
#!/bin/sh
nginx -p `pwd` -c nginx.conf -s reload
| coinkite/cloudfire | restart.sh | Shell | mit | 49 |
#! /bin/bash
# Combine two videos and slow down the result
if [[ -z $1 || -z $2 ]]; then
echo "Missing input parameters"
echo "$0 file1 file2 [outputfile.mp4]"
exit 1
fi
if [ ! -f "$1" ] || [ ! -f "$2" ] ; then
echo "File $1 or $2 not found!"
exit 1
fi
TMP_VIDEO_DIR=tmp-video
FILE1=$(basename $1)
FILE... | beenanner/sitespeed.io | tools/combineVideos.sh | Shell | mit | 1,205 |
#!/bin/bash
# This script contains helper functions to deploy mesos clusters on GCE.
REDCELL_ROOT=$(pwd)/..
source $REDCELL_ROOT/gce/config-env.sh
ADMIN_PRIVATE_KEY="${HOME}/.ssh/${PROJECT}"
GCLOUD_CMD="gcloud compute"
# Wait for background jobs to finish
function wait-for-jobs {
local fail=0
local job
... | eddyzags/ognicluster | gce/util.sh | Shell | mit | 19,953 |
#!/bin/sh -e
VERSION=2.16.0
ARCH=centos-amd64
echo "Installing OmniDB dependencies..."
pip install pip --upgrade
pip install setuptools --upgrade
pip install -r ~/OmniDB/requirements.txt --upgrade
pip uninstall paramiko -y
pip install -r ~/OmniDB/OmniDB/deploy/requirements_for_deploy_server.txt --upgrade
echo "Done"
... | rafaelthca/OmniDB | OmniDB/deploy/server_centos7/build.sh | Shell | mit | 4,238 |
#!/bin/bash
if [[ "${BASH_SOURCE[0]}" == "$0" ]]
then
exit 1
fi
function print::message () {
echo -e "${CYAN}[BASTION]:${NC} $*"
}
function print::info () {
echo -e "${GREEN}[ INFO]:${NC} $*"
}
function print::warn () {
echo -e "${ORANGE}[WARNING]:${NC} $*"
}
function print::error () {
echo -e "${RED}... | snkrsnkampa/Bastion | scripts/bash/logger.sh | Shell | mit | 342 |
BINDIR=$1
echo $BINDIR
runpath() {
local exe=$1
test -n "$2" && exe=`echo $1 |sed "s,$2,,"`
[ "${exe:0:2}" = "./" ] && exe=${exe:2}
local d=`echo $exe |sed 's,[^\/],,g'`
d=`echo $d |sed 's,\/,\/..,g'`
# echo "$exe => $d"
echo "\$ORIGIN:\$ORIGIN$d/lib:\$ORIGIN$d"
}
[ -d "$BINDIR" ] || BINDIR=$PWD
qmlso=(... | fuyanzhi1234/DevelopQt | QtAV-master/tools/patchelf.sh | Shell | mit | 1,174 |
# Running clean.sh initially
source clean.sh
cd ../../ # Change to project root directory
# Enable virtual environment
source ./venv/bin/activate
# Setting python path
export PYTHONPATH="$PYTHONPATH:$PWD/src"
cd src/scripts # Change back to the scripts directory
# Enable pyclean command
alias pyclean="source $PWD... | pesos/ngo-portal | src/scripts/dev.sh | Shell | mit | 331 |
#!/bin/bash
#
##########################################################################
#Red Hat Enterprise Linux 6 - DISA STIG Compliance Remediation Content
#Copyright (C) 2013
#Vincent C. Passaro (vince@buddhalabs.com)
#
##########################################################################
#
#################... | atomicturtle/t-stig | aqueduct-0.4/compliance/Bash/STIG/rhel-6/prod/RHEL-06-000227.sh | Shell | mit | 2,418 |
#!/bin/sh
if [ -d .git ]; then
git describe --tags | perl -pe 'chomp; s/-/./; s/-.*//' | tee VERSION
elif [ -s VERSION ]; then
cat VERSION
else
echo -n UNKNOWN
fi
| simta/urcl | version.sh | Shell | mit | 176 |
#!/bin/bash
set -e # If occur any error, exit
function to_console {
echo -e "\n*** $1 ***\n"
}
cd $(dirname $0) && cd ..
to_console "creating virtual env on venv folder"
virtualenv -p /usr/bin/python2.7 venv
to_console "Activating virtualenv"
source venv/bin/activate
to_console "Checking up dependencies"
if ... | rafaelbarrelo/appengine-falcon-skeleton | backend/venv/venv.sh | Shell | mit | 917 |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir="$(dirname "$(readlink -f $0)")"
(test -f $srcdir/configure.ac) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level package directory"
echo
exit 1
}
# (intltoolize --version) < /dev/null > /dev/null ... | Distrotech/gtkspell | autogen.sh | Shell | gpl-2.0 | 1,828 |
#!/bin/bash
set -ex
# keep this in sync with setup.sh
CONTAINER=${RELEASE:-buster}-${ARCH:-amd64}
AUTOPKGTESTDIR=${SEMAPHORE_CACHE_DIR:-/tmp}/autopkgtest
# semaphore cannot expose these, but useful for interactive/local runs
ARTIFACTS_DIR=/tmp/artifacts
# add current debian/ packaging
git fetch --depth=1 https://sal... | jengelh/systemd | semaphoreci/gcc-compilation.sh | Shell | gpl-2.0 | 1,476 |
./fs_op
| yangshanjin/flash_manage | start.sh | Shell | gpl-2.0 | 8 |
UNIXBENCH_WORKLOADS=fstime-w
. $SHELLPACK_TOPLEVEL/drivers/driver-unixbench-common.sh
| kdave/mmtests | drivers/driver-unixbench-fstime-w.sh | Shell | gpl-2.0 | 86 |
#!/bin/sh
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
getcmdline() {
while read -r _line || [ -n "$_line" ]; do
printf "%s" "$_line"
done </proc/cmdline;
}
_dogetarg() {
local _o _val _doecho
unset _val
unset _o
unset _doecho
CMDLINE=$(getcmdline)
for _o in $CMDLINE; do
i... | yuwata/dracut | test/TEST-10-RAID/test-init.sh | Shell | gpl-2.0 | 3,659 |
#!/bin/sh
git archive --prefix = swt/ --format zip --output ../swt-src.zip master
| Pingmin/swt | generate_atom_package.sh | Shell | gpl-2.0 | 85 |
#!/bin/sh
test "$1" && extra="-$1"
# releases extract the version number from the VERSION file
version=$(cat VERSION 2> /dev/null)
if test -z $version ; then
# Extract revision number from file used by daily tarball snapshots
# or from the places different Subversion versions have it.
svn_revision=$(cat snapshot_ver... | Distrotech/MPlayer | version.sh | Shell | gpl-2.0 | 1,095 |
#!/bin/bash
mv /app/flat/deposit/policies/cmd2fox.xsl /app/flat/deposit/policies/cmd2fox.xsl.ORG
ln -s /app/flat/test/cmd2fox.xsl /app/flat/deposit/policies/cmd2fox.xsl | TheLanguageArchive/FLAT | docker/add-example-setup-to-flat/flat/scripts/do-9-example-setup.sh | Shell | gpl-3.0 | 169 |
#!/bin/bash
KEYS_PRESENT=cfg/ssl/key.generation.done
if [ -f $KEYS_PRESENT ] ; then
printf 'Keys present. Will not generate new ones.\n'
exit
fi
mkdir -p cfg/ssl
# Generate client public/private key pair into private keystore
echo Generating client public private key pair
keytool -genkey -alias clientprivate -key... | sranasir/SPADE | bin/keys/generatekeys.sh | Shell | gpl-3.0 | 1,635 |
#!/usr/bin/env bash
##################################################################################################
## USER CONFIGURATION
# working directory
WORKDIR=`dirname $0` # default is same as init script
# name displayed by init script, does not affect command
NAME="Product Distribution"
JAVA="java"
# c... | gwpy/seismon | ProductClient/init.sh | Shell | gpl-3.0 | 3,993 |
#!/bin/sh
#
# Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC")
#
# 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://mozilla.org/MPL/2.0/.
rm -f NSEC3
rm -f nsec3hash
rm -f nsec3par... | each/bind9-collab | bin/tests/system/tools/clean.sh | Shell | mpl-2.0 | 339 |
#!/usr/bin/env bash
set -e
# Set this to enable verbose profiling
[ -n "${CI_TIME-}" ] || CI_TIME=""
case "$CI_TIME" in
[Yy][Ee][Ss]|[Oo][Nn]|[Tt][Rr][Uu][Ee])
CI_TIME="time -p " ;;
[Nn][Oo]|[Oo][Ff][Ff]|[Ff][Aa][Ll][Ss][Ee])
CI_TIME="" ;;
esac
# Set this to enable verbose tracing
[ -n "${CI_... | karolhrdina/malamute | bindings/jni/ci_build.sh | Shell | mpl-2.0 | 3,526 |
#!/bin/sh -e
# gendocs.sh -- generate a GNU manual in many formats. This script is
# mentioned in maintain.texi. See the help message below for usage details.
scriptversion=2014-10-09.23
# Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
# Free Software Foundation, Inc.
#
# This progra... | matlink/fdroidserver | docs/gendocs.sh | Shell | agpl-3.0 | 16,143 |
#!/bin/bash
if [ -z "$1" ] ; then
cat << EOF
$0: Install and configure the exim4 mail server.
-----------------------------
### Usage
$0 [ exec ]
Use the exec param to launch the script.
### Details
Exim will be configured to send all email he recieve using ou gmail account.
It is automatically sen... | BloatIt/bloatit | deployment/install/090-configExim4.sh | Shell | agpl-3.0 | 2,724 |
#!/bin/sh
echo "this is a test"
sleep 1
echo "this is another line1"
echo "this is another line2"
echo "this is another line3"
echo "this is another line4"
sleep 1
echo "done!"
exit 0
| hughsie/fwupd | data/tests/spawn.sh | Shell | lgpl-2.1 | 184 |
# Opt out of homebrew analytics.
# https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Analytics.md#opting-out
export HOMEBREW_NO_ANALYTICS=1
| zborboa-g/dot-star | bash/.settings.sh | Shell | unlicense | 154 |
#!/bin/bash
USER=${POSTGRES_USERNAME:-pgadmin}
PASS=${POSTGRES_PASSWORD:-$(pwgen -s -1 16)}
DB=${POSTGRES_DBNAME:-}
EXTENSIONS=${POSTGRES_EXTENSIONS:-}
cd /var/lib/postgresql
# Start PostgreSQL service
sudo -u postgres /usr/lib/postgresql/9.3/bin/postgres -D /data &
while ! sudo -u postgres psql -q -c "select true;";... | shashankmjain/docker-postgresql | scripts/first_run.sh | Shell | apache-2.0 | 1,683 |
!/bin/bash
set -e
set -x
date_v=$(date '+%Y-%m-%d')
v="1.8.0_292"
n="java"
docker build -t vrusinov/$n:latest -t vrusinov/$n:$date_v -t vrusinov/$n:$v -t vrusinov/$n:$v.$date_v .
docker run --rm -it vrusinov/$n:latest
docker push vrusinov/$n:latest
docker push vrusinov/$n:$date_v
docker push vrusinov/$n:$v
docker pu... | vrusinov/copr-sundry | docker/java/build.sh | Shell | apache-2.0 | 346 |
#!/bin/bash
# From:
# http://raamdev.com/2008/using-curl-to-upload-files-via-post-to-amazon-s3/
GIT_VERSION=`git rev-parse --short HEAD`
rm -rf vendor composer.lock
composer install --no-dev
printf "<?php\nrequire __DIR__ . '/vendor/autoload.php';\n?>" > sendgrid-php.php
cd ..
zip -r sendgrid-php.zip sendgrid-php -x... | Primechain/yobichain | yobichain-web/primechain_functions/sendgridemail/vendor/sendgrid/sendgrid/scripts/s3upload.sh | Shell | apache-2.0 | 1,072 |
#!/usr/bin/env bash
CONF_FILE="./etc/hybrid_cloud/*"
DEST_CONF_FILE="/home/hybrid_cloud/"
CMS_FILE="./code/*"
DEST_CMS_FILE_PATH="/usr/lib64/python2.6/site-packages/heat/engine/resources/"
files=$(find ./ -name "*.sh")
for file in $files
do
dos2unix $file
done
install() {
echo "init '/home/hybrid_cloud' dir.... | Hybrid-Cloud/orchard | install.sh | Shell | apache-2.0 | 2,794 |
#! /bin/bash
set -o errexit
set -o nounset
set -o pipefail
if [ "$#" -lt 2 ]; then
echo "Usage: $0 train.far model.fst [order [theta]]" >&2
exit 2
fi
# Input training data:
train="$1"
# Output model:
model="$2"
# Optional parameters:
order="${3:-6}"
theta="${4:-1e-2}"
# Tools:
runfiles="${0}.runfiles"
festus=... | google/language-resources | af/train-graphone-model.sh | Shell | apache-2.0 | 726 |
#!/bin/bash
#
# Copyright 2016 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | VersoBit/mod_pagespeed | pagespeed/automatic/system_tests/lazyload_images.sh | Shell | apache-2.0 | 2,485 |
#!/bin/bash
## Iptables example ruleset
## James Stephens (jns@ias.edu)
## http://www.sns.ias.edu/~jns/
## ============================================================
#
# Load appropriate modules.
modprobe ip_tables
modprobe ip_conntrack
modprobe ip_conntrack_ftp
# These lines are here in case rules are already in ... | jcaesar/Iptables_Semantics | thy/Iptables_Semantics/Examples/sns.ias.edu/test.sh | Shell | bsd-2-clause | 12,453 |
mkdir results
../Tools/xunit/xunit.console.clr4.x86.exe Mosa.UnitTests.xunit
| Kintaro/MOSA-Project | Tests/RunAllUnitTests.sh | Shell | bsd-3-clause | 80 |
#!/bin/bash
ELEM_SIZE=$1
DYNAMIC=$2
PREFIX=$3
PARAM_TEMPLATE=$4
PARAM_OUTPUT=$5
echo ""
echo "dynamic triggering factor: ${DYNAMIC}"
echo "element size [m]: ${ELEM_SIZE}"
echo "parameter file written: params_${ELEM_SIZE}.d"
echo ""
BASE_NAME=${PREFIX}_${ELEM_SIZE}
sed -e s/DYNAMIC/${DYNAMIC}/g \
... | markyoder/vq | examples/setup_params.sh | Shell | mit | 437 |
#!/bin/sh
. "test/testlib.sh"
begin_test "ls-files"
(
set -e
mkdir repo
cd repo
git init
git lfs track "*.dat" | grep "Tracking \*.dat"
echo "some data" > some.dat
echo "some text" > some.txt
git add some.dat some.txt
git commit -m "added some files"
[ "some.dat" = "$(git lfs ls-files)" ]
)
end_... | ChaseFlorell/git-lfs | test/test-ls-files.sh | Shell | mit | 325 |
NETIFD_MAIN_DIR="${NETIFD_MAIN_DIR:-/lib/netifd}"
. /usr/share/libubox/jshn.sh
. $NETIFD_MAIN_DIR/utils.sh
proto_config_add_int() {
config_add_int "$@"
}
proto_config_add_string() {
config_add_string "$@"
}
proto_config_add_boolean() {
config_add_boolean "$@"
}
_proto_do_teardown() {
json_load "$data"
eval "p... | ff94315/hiwifi-openwrt-HC5661-HC5761 | staging_dir/target-mipsel_r2_uClibc-0.9.33.2/root-ralink/lib/netifd/netifd-proto.sh | Shell | gpl-2.0 | 7,649 |
#! /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/tap-basic.sh | Shell | gpl-2.0 | 3,949 |
#!/bin/sh
rebar compile
| sacramento04/practice | app_tools/build.sh | Shell | gpl-2.0 | 24 |
#!/bin/bash
export QGIS_PREFIX_PATH=/usr/local/qgis-realtime/
export PYTHONPATH=${QGIS_PREFIX_PATH}/share/qgis/python/:`pwd`
export LD_LIBRARY_PATH=${QGIS_PREFIX_PATH}/lib
python realtime/update_latest_report.py | rukku/inasafe | scripts/update-latest-report.sh | Shell | gpl-3.0 | 213 |
#!/bin/bash
# access postgres shell
DOCKER_CONFIG=${DOCKER_CONFIG:-docker-compose-db.yml}
docker-compose -f $DOCKER_CONFIG run --rm psql psql -h db -U django django | biomassives/django-angular-docker-seed | bin/psql.sh | Shell | unlicense | 165 |
#!/bin/bash
ciao_bin="$HOME/local"
ciao_gobin="$GOPATH"/bin
event_counter=0
#Utility functions
function exitOnError {
local exit_code="$1"
local error_string="$2"
if [ $1 -ne 0 ]
then
echo "FATAL ERROR exiting: " "$error_string" "$exit_code"
exit 1
fi
}
#Checks that no network artifacts are left behind
fun... | markdryan/ciao | testutil/singlevm/verify.sh | Shell | apache-2.0 | 10,250 |
#!/bin/bash
if [ ! -z "$DEBUG" ]; then
set -x
fi
NAME=aquilon
REPO=https://github.com/quattor/$NAME.git
# name of upstream remote
# git remote add upstream https://github.com/quattor/aquilon-protocols.git
UPSTREAM=upstream
RELEASEBRANCH=upstream
BASE=${BASE:-/tmp}
# PRs against upstream that we really want
# ... | jrha/release | src/scripts/build_last_aquilon_release.sh | Shell | apache-2.0 | 1,680 |
#!/bin/bash -eu
# Copyright 2021 Google LLC
#
# 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... | skia-dev/oss-fuzz | projects/wasm3/build.sh | Shell | apache-2.0 | 918 |
#!/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... | karllessard/tensorflow | tensorflow/tools/ci_build/release/macos/cpu_py38_full/nonpip.sh | Shell | apache-2.0 | 1,716 |
#!/bin/bash
# Check for proper number of command line args.
EXPECTED_ARGS=6
if [ $# -lt $EXPECTED_ARGS ]
then
echo "Usage: `basename $0` input-file output-path iters topics term-smoothing topic-smoothing"
exit -1
fi
PATH=stmt-0.4.0
INPUT=$1
OUTPUT=$2
ITERS=$3
TOPICS=$4
TERM_SMOOTHING=$5
TOPIC_SMOOTHING=$6
echo "T... | BillmanH/termite | pipeline/stmt/lda-learn.sh | Shell | bsd-3-clause | 1,285 |
#!/bin/bash
FN="COPDSexualDimorphism.data_1.22.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/experiment/src/contrib/COPDSexualDimorphism.data_1.22.0.tar.gz"
"https://bioarchive.galaxyproject.org/COPDSexualDimorphism.data_1.22.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-copdsex... | Luobiny/bioconda-recipes | recipes/bioconductor-copdsexualdimorphism.data/post-link.sh | Shell | mit | 1,377 |
#!/bin/sh
#
# Licensed under the GPLv2
#
# Copyright 2011, Red Hat, Inc.
# Harald Hoyer <harald@redhat.com>
ACTION="$1"
[ -w /dev/console ] && exec </dev/console >>/dev/console 2>>/dev/console
export TERM=linux
export PATH=/usr/sbin:/usr/bin:/sbin:/bin
. /lib/dracut-lib.sh
if [ "$(stat -c '%T' -f /)" = "tmpfs" ]; th... | xlpang/dracut | modules.d/99shutdown/shutdown.sh | Shell | gpl-2.0 | 3,113 |
#!/bin/sh
mkdir -p dist
browserify src/index.js -t browserify-shim -t es3ify --standalone leaflet-control-geocoder | derequire >dist/Control.Geocoder.js
cp -a Control.Geocoder.css images/ dist/
browserify test/browserify.js -o test/bundle.js
| marcusfaccion/unnamed_app | vendor/bower/leaflet-control-geocoder/scripts/build.sh | Shell | gpl-3.0 | 245 |
#!/usr/bin/env bash
rm -f error.log
if [ -z "${PYTHON}" ]
then
PYTHON=python
fi
for e in *.py
do
echo -n "running $e .."
if ${PYTHON} "$e" >/dev/null 2>&1
then
echo " OK"
else
echo " ERROR"
echo "================================================================================" >>error.log
echo " error i... | JingheZ/shogun | examples/undocumented/python_static/check.sh | Shell | gpl-3.0 | 691 |
#!/bin/bash
FN="ribosomaldatabaseproject11.5MgDb_1.00.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.13/data/annotation/src/contrib/ribosomaldatabaseproject11.5MgDb_1.00.0.tar.gz"
"https://bioarchive.galaxyproject.org/ribosomaldatabaseproject11.5MgDb_1.00.0.tar.gz"
"https://depot.galaxyproject.org/software... | phac-nml/bioconda-recipes | recipes/bioconductor-ribosomaldatabaseproject11.5mgdb/post-link.sh | Shell | mit | 1,571 |
SCRIPTS="combine_kreports.py extract_kraken_reads.py filter_bracken.out.py fix_unmapped.py kreport2krona.py make_kreport.py make_ktaxonomy.py"
for script in $SCRIPTS ; do
cp $script ${PREFIX}/bin
chmod 755 ${PREFIX}/bin/$script
done
| blankenberg/bioconda-recipes | recipes/krakentools/build.sh | Shell | mit | 239 |
# This shell script fragment is sourced by git-rebase to implement
# its interactive mode. "git rebase --interactive" makes it easy
# to fix up commits in the middle of a series and rearrange commits.
#
# Copyright (c) 2006 Johannes E. Schindelin
#
# The original idea comes from Eric W. Biederman, in
# http://article.... | lexaurin/git | git-rebase--interactive.sh | Shell | gpl-2.0 | 34,184 |
#!/bin/sh
## live-build(7) - System Build Scripts
## Copyright (C) 2006-2013 Daniel Baumann <daniel@debian.org>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
## under certain conditions; see COPYING for details.
Exit ()... | linuxknow/livebuildlihuen | functions/exit.sh | Shell | gpl-3.0 | 1,475 |
#!/bin/bash
for i in armv6 armv7 i386
do
cd $i
chmod +x *.sh
./freetype.sh
./ogg.sh
./tremor.sh
./theora-svn.sh
./allegro.sh
./dumb.sh
./lua.sh
cd ..
done
| OutOfOrder/ags-geminirue | iOS/buildlibs/buildall.sh | Shell | artistic-2.0 | 166 |
#!/usr/bin/env bash
# wait till it is up, run rofi with error message
sleep 1;
echo -e -n "aap\nnoot\nmies" | rofi -dmenu > output.txt &
RPID=$!
# send enter.
sleep 5;
xdotool key 'Down'
sleep 0.4
xdotool key Shift+Return
xdotool key Return
# Get result, kill xvfb
wait ${RPID}
RETV=$?
OUTPUT=$(cat output.txt | t... | jubalh/rofi | test/run_dmenu_test.sh | Shell | mit | 399 |
#!/bin/sh
# Multi-build script for testing compilation of all maintained
# configs of GDB.
# Copyright (C) 2002, 2003, 2007, 2008, 2009 Free Software Foundation, Inc.
# Contributed by Richard Earnshaw (rearnsha@arm.com)
# This program is free software; you can redistribute it and/or modify
# it under the ter... | GunioRobot/macgdb | gdb/gdb_mbuild.sh | Shell | gpl-2.0 | 7,827 |
#!/bin/sh
# resolve links - $0 may be a softlink
THIS="$0"
while [ -h "$THIS" ]; do
ls=`ls -ld "$THIS"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '.*/.*' > /dev/null; then
THIS="$link"
else
THIS=`dirname "$THIS"`/"$link"
fi
done
THIS_DIR=`dirname "$THIS"`
HOME=`cd "$THIS... | koolhazz/lushan | bin/hyper_dict.sh | Shell | bsd-3-clause | 3,394 |
#
# restore data with Galaxy
#
# Note:
# GxCmd checks for $# and calls the GxCmdLine script if there are any cmdline args.
# due to the way we call our scripts (with . ), the script name is present in $1
# So, in order to make GxCmd work correctly, we have to clear $*, but to be correct we
# restore $* at the end of th... | phracek/rear | usr/share/rear/restore/GALAXY/default/400_restore_with_galaxy.sh | Shell | gpl-3.0 | 2,207 |
#!/bin/sh
# vim: set noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 :
# Avoid more than one switch
SINGLETON_COUNT=0
setup_switch_dev() {
if [ $SINGLETON_COUNT -gt 1 ]; then
return 1
fi
local name
config_get name "$1" name
name="${name:-$1}"
# Just silently skip switches we are not familiar with
# In the... | openium/overthebox-feeds | swconfig-otb/files/switch.sh | Shell | gpl-3.0 | 592 |
#!/usr/bin/env bash
hostname=$1
dir=$2
archive_host=$3
archive_path=$4
echo "Creating backup"
ssh $hostname "rm -rf /tmp/backups/*.tar && cd $dir && source chorus_path.sh && ./chorus_control.sh backup -d /tmp/backups"
echo "Archiving backup to ${archive_host}:${archive_path}"
ssh $hostname "scp /tmp/backups/*.tar ${a... | prakash-alpine/chorus | script/ci/backup_and_archive.sh | Shell | apache-2.0 | 350 |
#!/bin/bash
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Build a tarball distribution of the Virtual Me2Me host for Linux.
# This script should be run from the top-level "src" directory - the out... | ropik/chromium | remoting/tools/build_me2me_tarball.sh | Shell | bsd-3-clause | 1,352 |
#!/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 | wso2esb/4.9.0/docker/delete.sh | Shell | apache-2.0 | 1,191 |
#!/usr/bin/env bash
echo
echo --- StartNode -------------------------------------------
if [ $# -lt 1 ]; then
echo "
Start a ProActive node on a new runtime (new JVM). The URL
of the node is printed on the standard output.
startNode.sh <the node name of the node to create>
ex : st... | paraita/programming | bin/startNode.sh | Shell | agpl-3.0 | 532 |
#!/bin/bash
#
# Copyright (C) 2009 The Android Open Source Project
#
# 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 a... | openweave/openweave-core | third_party/android/platform-libcore/android-platform-libcore/luni/src/main/files/certimport.sh | Shell | apache-2.0 | 2,998 |
#!/usr/bin/env bash
# Copyright 2017 The Rust Project Developers. See the COPYRIGHT
# file at the top-level directory of this distribution and at
# http://rust-lang.org/COPYRIGHT.
#
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
# <LI... | GBGamer/rust | src/ci/docker/dist-powerpc64-linux/build-powerpc64-toolchain.sh | Shell | apache-2.0 | 610 |
#!/bin/sh
# ver_test_4.sh -- test that version symbol is visible.
# Copyright (C) 2008-2016 Free Software Foundation, Inc.
# Written by Ian Lance Taylor <iant@google.com>.
# This file is part of gold.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Publ... | h4ck3rm1k3/binutils-gdb | gold/testsuite/ver_test_4.sh | Shell | gpl-2.0 | 1,343 |
#!/bin/bash
# A little shell script to install all the packages necesary to do Wireshark
# development. Both the development and runtime packages are installed
# although the latter aren't strictly necessary.
#
# Ideally this could automatically pull the packages out of
# packaging/rpm/SPECS/wireshark.spec.in but giv... | FabianKnapp/nexmon | utilities/wireshark/tools/install_rpms_for_devel.sh | Shell | gpl-3.0 | 2,219 |
#!/bin/bash
# create multiresolution windows icon
ICON_SRC=../../src/qt/res/icons/vertcoin.png
ICON_DST=../../src/qt/res/icons/vertcoin.ico
convert ${ICON_SRC} -resize 16x16 vertcoin-16.png
convert ${ICON_SRC} -resize 32x32 vertcoin-32.png
convert ${ICON_SRC} -resize 48x48 vertcoin-48.png
convert vertcoin-16.png vertco... | netswift/vertcoin | share/qt/make_windows_icon.sh | Shell | mit | 359 |
#!/bin/bash
mkdir -p "$PREFIX/bin"
if [ "$(uname)" == "Darwin" ]; then
cp hubCheck "$PREFIX/bin"
else
export MACHTYPE=x86_64
export BINDIR=$(pwd)/bin
mkdir -p "$BINDIR"
(cd kent/src/lib && make)
(cd kent/src/htslib && make)
(cd kent/src/jkOwnLib && make)
(cd kent/src/hg/lib && make)
... | dmaticzka/bioconda-recipes | recipes/ucsc-hubcheck/build.sh | Shell | mit | 429 |
# Check for bash
[ -z "$BASH_VERSION" ] && return
####################################################################################################
__gsettings() {
local choices
case "${COMP_CWORD}" in
1)
choices=$'help \nlist-schemas\nlist-relocatable-schemas\nlist-keys \nlist-children \nlist-recu... | twobob/buildroot-kindle | output/build/libglib2-2.30.3/gio/gsettings-bash-completion.sh | Shell | gpl-2.0 | 1,930 |
#!/bin/bash
# Automatically pull L10n dirs from SVN, compile, then push to git.
# Runs on all project dirs named *-autol10n.
# Settings
GIT=`/usr/bin/which git`
FIND=`/usr/bin/which find`
DEVDIR=$HOME/dev
# Update everything
for dir in `$FIND "$DEVDIR" -maxdepth 1 -name '*-autol10n'`; do
cd $dir
$GIT pull -q ori... | brian-yang/mozillians | bin/autol10n.sh | Shell | bsd-3-clause | 845 |
#!/usr/bin/env 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 applica... | Stackdriver/heapster | vendor/k8s.io/kubernetes/build/common.sh | Shell | apache-2.0 | 27,387 |
#!/bin/sh
if ! which gfortran > /dev/null 2>&1; then
echo "gfortran not available" > ${ocamltest_response}
test_result=${TEST_SKIP}
elif ! grep -q '^CC=gcc' ${ocamlsrcdir}/Makefile.config; then
echo "OCaml was not compiled with gcc" > ${ocamltest_response}
test_result=${TEST_SKIP}
else
test_result=${TEST_PASS... | gerdstolpmann/ocaml | testsuite/tests/lib-bigarray-2/has-gfortran.sh | Shell | lgpl-2.1 | 346 |
#!/bin/sh
# dbus-daemon wrapper script for dbus-vmstate testing
#
# This script allows to tweak the dbus-daemon policy during the test
# to test different configurations.
#
# 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
# th... | dslutz/qemu | tests/dbus-vmstate-daemon.sh | Shell | gpl-2.0 | 3,058 |
#! /bin/sh
${srcdir}/out_test.sh nasm_test modules/parsers/nasm/tests "nasm-compat parser" "-f bin" ""
exit $?
| jpflori/mpir | yasm/modules/parsers/nasm/tests/nasm_test.sh | Shell | gpl-3.0 | 111 |
#!/bin/bash -euo
# Add workaround for SSH-based Git connections from Rust/cargo. See https://github.com/rust-lang/cargo/issues/2078 for details.
# We set CARGO_HOME because we don't pass on HOME to conda-build, thus rendering the default "${HOME}/.cargo" defunct.
export CARGO_NET_GIT_FETCH_WITH_CLI=true CARGO_HOME="$... | ostrokach/bioconda-recipes | recipes/yacrd/0.5.1/build.sh | Shell | mit | 400 |
#!/bin/sh
# Copyright 2016 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | jnewland/kops | vendor/k8s.io/kubernetes/examples/https-nginx/auto-reload-nginx.sh | Shell | apache-2.0 | 965 |
#!/usr/bin/env bash
# simple test script for dataapi
accessKey=$1
function checkGET () {
resp=$( curl -i -s -X GET "http://localhost:7070$1" )
status=$( echo "$resp" | grep HTTP/1.1 )
exp=$2
if [[ $status =~ (.*HTTP/1.1 $exp [a-zA-Z]+) ]]; then
echo "[pass] GET $1 $status"
else
echo "[fail] GET $1 $resp... | tastatur/PredictionIO | data/test.sh | Shell | apache-2.0 | 11,285 |
#!/bin/bash
# grep adapters from trimmomatic
if [ -a "$CONDA_PREFIX/share/trimmomatic/adapters" ]; then
cat $CONDA_PREFIX/share/trimmomatic/adapters/* > config/adapters.fa
adapter_path=$CONDA_PREFIX/share/trimmomatic/adapters/;
else
cat $CONDA_PREFIX/../../../share/trimmomatic/adapters/* > config/adapters.fa
ada... | dmaticzka/bioconda-recipes | recipes/qcumber/build.sh | Shell | mit | 728 |
set -e
while true
do
m2sh reload -every
curl http://localhost:6767/tests/sample.html
curl http://localhost:6767/handlertest
done
| jiffyjeff/mongrel2 | tests/integration/basic/thrash_reload.sh | Shell | bsd-3-clause | 147 |
#
# Default Memory Map - for OMAP3530 dsplink examples
#
# Start Addr Size Description
# -------------------------------------------
# 0x80000000 126 MB Linux
# 0x87E00000 2 MB DSPLINK (MEM) + DDR + DSPLINK (RESET)
# sanity check to verify that we're using the right mem=xxM (126M in this case)
awk '/Me... | wwright2/dcim3-angstrom1 | sources/meta-ti/recipes-ti/dsplink/ti-dsplink/ti-dsplink-examples-loadmodules.sh | Shell | mit | 693 |
#!/bin/bash
#
# Copyright 2020-2022 F4PGA 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... | SymbiFlow/prjuray | utils/top_generate.sh | Shell | isc | 922 |
#!/bin/bash
./perf_test.sh "$@" |& tee -a test_results/perf_test_output
| ngokli/ducts | run_perf_test.sh | Shell | mit | 72 |
#!/bin/sh
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html#License
#
# Copyright (c) 2007, International Business Machines Corporation and
# others. All Rights Reserved.
# Echo shell script commands.
set -ex
PERF=test/perf/unisetperf/unisetperf
... | quyse/flaw | flaw-font-icu/src/icu/source/test/perf/unisetperf/draft/contperf.sh | Shell | mit | 718 |
#!/bin/sh
# to be run from the root directory of MyMediaLite
echo "The MovieLens datasets are for NON-COMMERCIAL use only."
echo "Refer to the README file for the details of the usage license."
echo "Hit enter to continue, Ctrl-C to abort."
read DUMMY
echo "This may take a while ..."
echo
mkdir -p data
# download ... | Evfro/fifty-shades | MyMediaLite-3.11/scripts/download_movielens.sh | Shell | mit | 1,830 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3233-1
#
# Security announcement date: 2015-04-24 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:20 UTC
#
# Operating System: Debian 8 (Jessie)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - wpa:2.3-1+deb8u1
#
# Last versions ... | Cyberwatch/cbw-security-fixes | Debian_8_(Jessie)/x86_64/2015/DSA-3233-1.sh | Shell | mit | 596 |
#!/bin/bash
export LD_LIBRARY_PATH=./:./.libs:$LD_LIBRARY_PATH
java -classpath com.ibm.icu.jar:swt.jar:trove.jar:jars/icu4j-charsets-4_0_1.jar:jars/icu4j-localespi-4_0_1.jar -jar gemxlib.jar
| ChongTang/CloneDetection | Repertoire/ccFinderx/gemx.sh | Shell | mit | 192 |
#! /bin/bash
# make_package.sh
# Copyright (C) 2015 Mike Dacre <mike@dacre.me>
#
# Distributed under terms of the MIT license.
#
if [[ $# < 1 ]]; then
echo "Please provide version number"
exit 1
fi
pkgver=$1
pkgname=qconnect
pkgfiles=(qconnect.py qconnect.1.gz README.md LICENSE install.sh)
echo "Creating ${pkgna... | MikeDacre/qconnect | packages/make_package.sh | Shell | mit | 856 |
#!/bin/bash
# -*- coding: utf-8 -*-
#
# AWS Lambda development bash script tools.
#
# This script should be sourced to use.
#
# This file is generated by cookiecutter-pygitrepo {{ cookiecutter._cookiecutter_pygitrepo_version }}: https://github.com/MacHu-GWU/cookiecutter-pygitrepo/tree/{{ cookiecutter._cookiecutter_pygi... | MacHu-GWU/docfly-project | bin/source/aws-lambda.sh | Shell | mit | 11,906 |
#!/bin/bash
files=(atom gemrc git-completion.bash gitconfig gitignore gitmessage profile tmux.conf vimrc zshrc psqlrc)
for file in "${files[@]}"
do
ln -sf `pwd`/$file $HOME/.$file
done
| itsmeduncan/dotfiles | install.sh | Shell | mit | 189 |
#!/bin/sh
echo "added $1 to TLS/SSL IP address list"
echo $1 >> /etc/squid/httpsip.txt
service squid reload
| starbuck3000/squid-whitelisting-conf | addips.sh | Shell | mit | 112 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.