code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/bin/sh
qemu-arm bin/rawcaudio < data/large.pcm > output_large.adpcm
qemu-arm bin/rawdaudio < data/large.adpcm > output_large.pcm
| LingxiaoJIA/gem5 | benchmark/adpcm/runme_large.sh | Shell | bsd-3-clause | 132 |
#!/bin/sh
#
# Copyright (c) 2015 Regents of the SIGNET lab, University of Padova.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyri... | uwsignet/DESERT_Underwater | DESERT_Framework/DESERT/autogen.sh | Shell | bsd-3-clause | 1,717 |
#!/bin/env bash
# Dependencies:
# alsa
TRASH_PATH="$HOME/.local/share/Trash"
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
ICON_PATH="$HOME/.icons/dunst"
CACHE_PATH="$HOME/.cache/polybar/trash"
DEFAULT_DISPLAY='size' # size or count
function set_display_state() { # {{{
if [[ ! -d "$CACHE_PATH" ]]; then
mkdir -pv... | NearHuscarl/dotfiles | .config/polybar/trash/trash.sh | Shell | bsd-3-clause | 2,001 |
#!/bin/bash
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
#delete tmp and filestore artifacts remaining from previous tests
echo "Deleting old artifacts in tmp/ and filestore/"
rm -rf tmp/attachement_fu
rm -rf tmp/cache
rm -rf tmp/model_images
rm -rf tmp/fleximage
rm -rf tmp/test_content_blobs
rm -rf tmp/rdf
rm -... | SynthSys/seek | script/build-cruise.sh | Shell | bsd-3-clause | 1,838 |
#!/bin/bash -x
set -xe
./spotifyd --no-daemon --verbose --bitrate 320 \
--device-type computer --device-name redsnapper-spotifyd \
-u aannoaanno@gmail.com -p 2malAanno
| aanno/linux-config | build-with-docker/spotifyd.sh | Shell | bsd-3-clause | 174 |
SRC=nbody-orig.c
EXE=nbody-orig-mic
MICROOT=/shared/apps/rhel-6.2/intel/ics-2013/composerxe/lib/mic
MIC=mic0
if [ $# -gt 0 ]
then
MIC=$1
fi
icc -std=c99 -openmp -mmic -DSHMOO -o $EXE $SRC
scp $EXE $MIC:~/
scp $MICROOT/libiomp5.so $MIC:~/
echo $EXE
K=1024
for i in {1..10}
do
ssh $MIC "export LD_LIBRARY_PAT... | jameslinsjtu/KNC-MAO | NBody-working-on/shmoo-mic-nbody-orig.sh | Shell | bsd-3-clause | 375 |
#!/bin/sh
if [[ "$OSTYPE" == "darwin"* ]]; then
alias date='gdate'
fi
dt=`date +%s%6N`
token="AAA"
curl -s -o /dev/null -w "%{http_code}" 'http://localhost:8080/raw/test/test2' -H "Etag: \"$dt\"" -H "Authorization: Bearer $token"
| Littlelies/spread | tests/get_404.sh | Shell | bsd-3-clause | 234 |
set -e
mkdir -p "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/A/Headers"
# Link the "Current" version to "A"
/bin/ln -sfh A "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/Current"
/bin/ln -sfh Versions/Current/Headers "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Headers"
/bin/ln -sfh "Versi... | jessearmand/Exposer | Scripts/prepare_framework.sh | Shell | bsd-3-clause | 714 |
#!/usr/bin/env bash
#
# Tests to confirm GitHub issue #11 is resolved
#
# https://github.com/dharple/detox/issues/11
#
set -e
if [ -z "$TESTBASE" ] ; then
echo TESTBASE needs to be passed via the env
exit 1
fi
. "$TESTBASE"/test-functions.sh
. "$TESTBASE"/character-helper.sh
DETOX=$1
INPUT=$(printf ' '$'\n\n'... | dharple/detox | tests/legacy/github-issue-0011/test.sh | Shell | bsd-3-clause | 1,317 |
#!/bin/bash
set -e -u -E # this script will exit if any sub-command fails
########################################
# download & build depend software
########################################
WORK_DIR=`pwd`
DEPS_SOURCE=`pwd`/thirdsrc
DEPS_PREFIX=`pwd`/thirdparty
DEPS_CONFIG="--prefix=${DEPS_PREFIX} --disable-shared -... | lylei/squirrel | internal_build.sh | Shell | bsd-3-clause | 3,336 |
:
# $Id: mkopt.sh,v 1.10 2015/06/07 17:29:08 sjg Exp $
#
# @(#) Copyright (c) 2014, Simon J. Gerraty
#
# This file is provided in the hope that it will
# be of use. There is absolutely NO WARRANTY.
# Permission to copy, redistribute or otherwise
# use this file is hereby granted provided that
# the above copyright no... | TigerBSD/TigerBSD | FreeBSD/contrib/bmake/mk/mkopt.sh | Shell | isc | 2,356 |
#!/bin/bash
set -e
export NODE_ENV=production
export silent=false
export daemon=false
if [[ "$*" == ./nodebb*start* ]]; then
if [ ! -e "$BB_CONTENT/config.json" ]; then
if [ -e "$BB_SOURCE/config.json" ]; then
cp "$BB_SOURCE/config.json" "$BB_CONTENT/config.json"
fi
fi
if [ -e... | dprasanthv/DockerFiles | nodebb/docker-entrypoint.sh | Shell | mit | 457 |
#!/bin/sh
# failure
../examples/test6 -n mike 2 > tmp.out 2>&1
if cmp -s tmp.out $srcdir/test35.out; then
exit 0
else
exit 1
fi
| XiaoxiaoLiu/SCDS | Utilities/ThirdParty/tclap/tests/test35.sh | Shell | mit | 136 |
SASS_VERSION=3.3.2
set -x
set -e
# Install SassC if not already cached or upgrade an old version.
if [ ! -e $CIRCLE_BUILD_DIR/bin/sassc ] || ! [[ `sassc -v` =~ "libsass: ${SASS_VERSION}" ]]; then
export SASS_BUILD_DIR=$HOME/src/github.com/sass
mkdir -p $SASS_BUILD_DIR
cd $SASS_BUILD_DIR
git clone --recursive... | mana-planorama/site-cms-3 | ci-install-sassc.sh | Shell | mit | 571 |
#!/usr/bin/env bash
# This script installs bowline in new or existing Drupal projects.
read_continue () {
continue_prompt=${1-'Would you like to continue? [Y/n]'};
echo $continue_prompt
read response
response="$(echo ${response} | tr 'A-Z' 'a-z')"
if [ "${response}" = "n" ]; then
echo "Exiting"
exit... | davenuman/bowline | lib/bowline/install.sh | Shell | mit | 2,299 |
#!/bin/bash
FN="pd.chogene.2.0.st_3.12.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/pd.chogene.2.0.st_3.12.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.chogene.2.0.st_3.12.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.chogene.2.0.st/bioconductor-... | roryk/recipes | recipes/bioconductor-pd.chogene.2.0.st/post-link.sh | Shell | mit | 1,466 |
#!/usr/bin/env bash
fine_mapping_pipeline prepare -s tests/test_data/snp_list/maf_snps.txt -z tests/test_data/zscores/ -f 20000 -b hg19 -o big_test
fine_mapping_pipeline paintor -i big_test -o big_test/paintor -a
fine_mapping_pipeline caviarbf -i big_test -o big_test/caviarbf
| smilefreak/fine_mapping_pipeline | big_test.sh | Shell | mit | 282 |
#!/bin/bash
# Script Name: AtoMiC SABnzbd+ settings configurator
echo
echo -e "$YELLOW--->Configuring SABnzbd+ Settings...$ENDCOLOR"
echo 'Set to Network Access'
sudo sed -i "s@^${ACCESSHOST}.*@${ACCESSHOST}0.0.0.0@g" \
"$APPSETTINGS" || { echo -e "${RED}Modifying $ACCESSHOST \
in $APPSETTINGS file failed.$ENDCOLOR";... | TommyE123/AtoMiC-ToolKit | sabnzbdplus/sabnzbdplus-settings-configurator.sh | Shell | mit | 801 |
#!/usr/bin/env bash
export R_ENABLE_JIT=3
export R_COMPILE_PACKAGES=TRUE
./pi.r $1
| UCL-RITS/pi_examples | r_pi_func_dir/run.sh | Shell | cc0-1.0 | 85 |
#!/bin/sh
echo 1 > /proc/sys/vm/overcommit_memory
if [ -x "/bin/mknod" ]; then
mkdir /dev/rd
mknod /dev/ac0 c 240 0
mknod /dev/acl0 c 230 0
mknod /dev/flash0 c 200 0
mknod /dev/hwnat0 c 220 0
mknod /dev/i2cM0 c 218 0
mknod /dev/I2S c 234 0
mknod /dev/aci0 c 254 0
mknod /dev/aci... | xandlom/keenetic-firmware | target/linux/keenetic_lite/base-files/bin/setup-target.sh | Shell | gpl-2.0 | 2,763 |
#!/bin/bash
if [ $# -gt 1 ]; then
if [ "$1" == DEBUG ]; then
gdb --args ./picomesh 0 10 0 0 5 5 $2 $3
elif [ "$1" == VALGRIND ]; then
valgrind --leak-check=yes ./picomesh 0 10 0 0 5 5 $2 $3
else
./picomesh 0 10 0 0 5 5 $2 $3
echo "Usage: ./edge_router.sh <DEBUG/VALGRIND> [si... | danielinux/geomess | apps/IEEE802154/edge_router.sh | Shell | gpl-2.0 | 476 |
#! /usr/bin/env bash
# invoke the extractrc script on all .ui, .rc, and .kcfg files in the sources
# the results are stored in a pseudo .cpp file to be picked up by xgettext.
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
# if your application contains tips-of-the-day, call preparetips as w... | photom/simon | plugins/Commands/Executable/Messages.sh | Shell | gpl-2.0 | 594 |
#!/usr/bin/env bash
karma start karma.conf.js
| adest/typescript-amd-project-tpl | run-karma.sh | Shell | gpl-2.0 | 46 |
#!/bin/sh
VENDOR=doogee
DEVICE=f5
OUTDIR=vendor/$VENDOR/$DEVICE
MAKEFILE=../../../$OUTDIR/$DEVICE-vendor-blobs.mk
(cat << EOF) > $MAKEFILE
# Copyright (C) 2011 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.... | MushroomLT/android_device_doogee_f5 | setup-makefiles.sh | Shell | gpl-2.0 | 2,830 |
#!/bin/bash
#
# Copyright (C) 2008-2009 SecurixLive <dev@securixlive.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. You may not use, modify or
# distribute this program unde... | cnbird1999/nsmnow | lib/lib-component-sguilclient.sh | Shell | gpl-2.0 | 12,695 |
#!/bin/bash
# Release and push tags to remotes on Drupal and GitHub
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Variables
BRANCH="7.x-$1"
TAG="7.x-$2"
function git_tag_recurse()
{
for i in * ; do
if [ -d "$i" ]; then
if [[ "$i" == *wetkit* ]]; then
cd $i
# Init 4.x branch
... | meosch/wetkit | release.sh | Shell | gpl-2.0 | 1,376 |
#!/bin/sh
set -xe
cd /tmp
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=~/.local -DCMAKE_CXX_FLAGS="-Wall -Wextra -Werror" /io
make install
make tests
ctest --output-on-failure --timeout 100 ${MAKEFLAGS}
| openturns/otfftw | run_docker_build.sh | Shell | gpl-3.0 | 213 |
#!/usr/bin/env bash
#here's how to use it:
#o2-message-monitor --id source1 --mq-config O2MessageMonitor.json
#o2-message-monitor --id sink1 --mq-config O2MessageMonitor.json
| AllaMaevskaya/AliceO2 | Utilities/O2MessageMonitor/test/runO2MessageMonitor.sh | Shell | gpl-3.0 | 175 |
#!/bin/sh
KERNEL_RELEASE=`uname -r`
LANG=C
export LANG
if [ -e '/etc/redhat-release' ] ; then
which dnf > /dev/null
if [ "$?" = "0" ] ; then
PKG='dnf'
else
PKG='yum'
fi
IPT_VERSION=$(rpm -qi iptables | grep Version| awk '{print $3}')
PACKA... | mimuret/iptables-ext-dns | install-dependencies.sh | Shell | gpl-3.0 | 1,329 |
#!/bin/sh
export DISPLAY=:0
TESTSDIR=/usr/lib/libmeegotouch-tests
OUTDIR=/tmp/libmeegotouch-tests
mkdir -p ${OUTDIR}
EXIT_CODE=0
for TEST in `ls ${TESTSDIR}/?t_*`; do
$TEST -xml -o "${OUTDIR}/$(basename $TEST)".xml
if [ $? -ne 0 ]; then
EXIT_CODE=$((EXIT_CODE+1))
fi
done
exit $EXIT_CODE
| dudochkin-victor/libgogootouch | tests/runtests.sh | Shell | lgpl-2.1 | 297 |
#!/bin/sh
# Usage: from the tests subdirectory:
# ./generate_baselines.sh filename.ncml response [constraint_expr] [output_prefix]
#
# This script is used to run the besstandalone on a particular
# NcML file and save off the DAP responses { das|dds|dods|ddx}
# into the baselines directory. It is assumed the calle... | OPENDAP/ncml_module | tests/generate_baselines.sh | Shell | lgpl-2.1 | 2,587 |
./executeSQL.sh "testdata/pitaliumExplorer_ddl.sql"
| hifive/hifive-pitalium-explorer | pitalium-explorer/db/hsqldb/createTable.sh | Shell | apache-2.0 | 52 |
#!/bin/bash
# set -o errexit
SERVICE=$1
echo "Cleaning up docker images of $1..."
unamestr=`uname`
if [[ "$unamestr" == 'Linux' ]]; then
XARGS_CMD='xargs -r'
else
XARGS_CMD='xargs'
fi
# Stop running docker containers
image_prefix=$(docker ps | grep ${SERVICE} | awk '!NF || !seen[$3]++' | awk '{print $2}' | awk -... | Sixt/ja-micro | sit/docker_clean.sh | Shell | apache-2.0 | 692 |
#!/bin/bash
/usr/local/spark/bin/spark-submit --master local /usr/local/spark/examples/src/main/python/wordcount.py word.txt
| javierip/parallel-processing-teaching-toolkit | 05-clusters/02-spark-apache/02-wordcount-python/01-wordcount-phyton-standalone/run.sh | Shell | apache-2.0 | 126 |
#!/bin/bash
backup_dir="/var/lib/backups/mysql"
filename="${backup_dir}/mysql-`hostname`-`eval date +%Y%m%d`.sql.gz"
# Dump the entire MySQL database
/usr/bin/mysqldump --opt --all-databases | gzip > $filename
# Delete backups older than 7 days
find $backup_dir -ctime +7 -type f -delete
| pythonvietnam/salt-openstack | scripts/db-backup.sh | Shell | apache-2.0 | 289 |
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
#written 10-18-11
if [ $# -ne 7 ] # usage and exit if 4 args are not supplied
then
echo
echo "USAGE: >plot_pco_shell.sh <file_in> <inupt_dir> <output_PCoA_dir>... | MG-RAST/AMETHST | plot_pco_shell.sh | Shell | bsd-2-clause | 2,451 |
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2010-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 following condi... | codeprimate/arid | zsh/zsh-syntax-highlighting/highlighters/main/main-highlighter.zsh | Shell | bsd-2-clause | 53,603 |
#!/bin/bash
#
# Windows provisioner for Trellis
# heavily modified and based on KSid/windows-vagrant-ansible
# @author Andrea Brandi
# @version 1.0
ANSIBLE_PATH="$(find /vagrant -name 'windows.sh' -printf '%h' -quit)"
export PYTHONUNBUFFERED=1
# Create an ssh key if not already created.
if [ ! -f ~/.ssh/id_rsa ]; the... | jvandijk/epwp-trellis | windows.sh | Shell | mit | 1,414 |
#! /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/vala-vpath.sh | Shell | gpl-2.0 | 2,064 |
#!/bin/bash
###############################################################################
#
# EF51L Board Rev Select Script
#
###############################################################################
# 2011-06-16 choiseulkee : created
#################################################... | Vegaviet-DevTeam/android_kernel_pantech_ef50l | include/pantech/EF51L_SELECT_BOARD_VER.sh | Shell | gpl-2.0 | 1,205 |
#!/bin/bash
CLONEURL=http://git.haproxy.org/git/haproxy-1.8.git
BASE_TAG=v1.8.13
TMP_REPODIR=tmprepo
PATCHESDIR=patches
if test -d "${TMP_REPODIR}"; then rm -rf "${TMP_REPODIR}"; fi
git clone "${CLONEURL}" "${TMP_REPODIR}"
printf "Cleaning patches\n"
find ${PATCHESDIR} -type f -name "*.patch" -exec rm -f "{}" \;
i... | oneru/packages | net/haproxy/get-latest-patches.sh | Shell | gpl-2.0 | 741 |
#!/bin/sh
# ----------------------------------------------------------------------------
# Copyright 2001-2006 The Apache Software Foundation.
#
# 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... | jmmut/opencga | opencga-app/build/bin/opencga-daemon.sh | Shell | gpl-2.0 | 3,440 |
#!/bin/sh
# Copyright (C) 2008-2013 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 L... | vgmoose/lvm | test/shell/vgcfgbackup-usage.sh | Shell | gpl-2.0 | 2,433 |
#!/usr/bin/env bash
cd ~
git clone --depth=50 --branch=develop https://github.com/calum-chamberlain/EQcorrscan.git calum-chamberlain/EQcorrscan
cd calum-chamberlain/EQcorrscan
export OBSPY_VERSION=1.0.1
source ~/virtualenv/python3.5/bin/activate
python --version
pip --version
export OS="Linux"; export py=$1
echo $... | eqcorrscan/ci.testing | misc/travis_conda_test.sh | Shell | lgpl-3.0 | 2,060 |
#!/bin/bash
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
./gradlew build
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then
echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']'
./gradlew -Pbint... | LayneMobile/Sourcerer | gradle/buildViaTravis.sh | Shell | apache-2.0 | 1,010 |
#!/usr/bin/env bash
#
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRA... | riversand963/alluxio | bin/alluxio-workers.sh | Shell | apache-2.0 | 1,651 |
#!/bin/bash
# pwd is the git repo.
set -e
echo "Fix path issues"
ln -sf /usr/lib/`uname -i`-linux-gnu/libfreetype.so ~/virtualenv/python2.6/lib/
ln -sf /usr/lib/`uname -i`-linux-gnu/libjpeg.so ~/virtualenv/python2.6/lib/
ln -sf /usr/lib/`uname -i`-linux-gnu/libz.so ~/virtualenv/python2.6/lib/
echo "Install Python dep... | safwanrahman/kitsune | scripts/travis/install.sh | Shell | bsd-3-clause | 1,346 |
#!/bin/bash
FN="wheatcdf_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/wheatcdf_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/wheatcdf_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-wheatcdf/bioconductor-wheatcdf_2.18.0_src_all.tar.gz"
"h... | Luobiny/bioconda-recipes | recipes/bioconductor-wheatcdf/post-link.sh | Shell | mit | 1,403 |
#!/bin/bash
#---- INTRO ---------------
#
# Continuity Activation Tool - built by dokterdok
#
# Description: This script enables OS X 10.10 Continuity features when compatible hardware is detected.
# Continuity features activated by this tool include Application Handoff, Instant Hotspot, and Airdrop iOS<->OSX.
# The t... | derekstavis/Continuity-Activation-Tool | Archive/CAT v.1.1.2/Continuity Activation Tool.app/Contents/MacOS/contitool.sh | Shell | mit | 49,874 |
#!/bin/bash
FN="tartare_0.99.14.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/experiment/src/contrib/tartare_0.99.14.tar.gz"
"https://bioarchive.galaxyproject.org/tartare_0.99.14.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-tartare/bioconductor-tartare_0.99.14_src_all.tar.gz"
)
MD5... | Luobiny/bioconda-recipes | recipes/bioconductor-tartare/post-link.sh | Shell | mit | 1,291 |
#!/bin/bash
FLAGS=--no-tags
./build/split.sh | eXolnet/LaravelModule | build/split-no-tags.sh | Shell | mit | 46 |
#!/bin/sh
source ../luabin.sh
echo "# valid"
for l in all-*-decoder.lua test-*-decoder.lua; do
echo "## $l"
for j in validjson/*.json; do
echo "### ${j}"
echo "#### lua51"
eval "${lua51}" test.lua valid "${l}" "${j}" 2>&1
echo "#### lua52"
eval "${lua52}" test.lua valid "${l}" "${j}" 2>&1
echo "#### lua5... | bigcrush/lunajson | test/decodeparse/test.sh | Shell | mit | 1,440 |
#!/bin/bash -ue
# Copyright (C) 2013 Percona 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; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
#... | tplavcic/percona-xtradb-cluster | scripts/wsrep_sst_xtrabackup.sh | Shell | gpl-2.0 | 21,691 |
#!/bin/bash
# matiec - a compiler for the programming languages defined in IEC 61131-3
#
# Copyright (C) 2003-2011 Mario de Sousa (msousa@fe.up.pt)
# Copyright (C) 2007-2011 Laurent Bessard and Edouard Tisserant
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU G... | nucleron/matiec | tests/build.sh | Shell | gpl-3.0 | 1,187 |
#!/bin/sh
#
# Copyright (C) 2001, 2004, 2007, 2011-2014, 2016 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/.
SYSTEMTESTTOP... | pecharmin/bind9 | bin/tests/system/ixfr/setup.sh | Shell | mpl-2.0 | 1,056 |
#!/bin/sh
#
# Copyright (C) 2000, 2001, 2004, 2007, 2011, 2012, 2014-2016 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/.
#... | pecharmin/bind9 | bin/tests/system/upforwd/clean.sh | Shell | mpl-2.0 | 719 |
#!/bin/bash
# Copyright 2016 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
set -o errexit
set -o pipefail
# Add some helpful info to the MOTD, cull some Ubuntu cruft.
# ===
cat << MOTD_SCRIPT | sudo tee /etc/update-motd.d/05-pantsbuild
#!/bin/sh
# Co... | gmalmquist/pants | build-support/aws/ec2/packer/jenkins-slave.customize.sh | Shell | apache-2.0 | 2,530 |
#!/bin/bash
FN="pd.maize_3.12.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.13/data/annotation/src/contrib/pd.maize_3.12.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.maize_3.12.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.maize/bioconductor-pd.maize_3.12.0_src_all.tar.gz"
"h... | phac-nml/bioconda-recipes | recipes/bioconductor-pd.maize/post-link.sh | Shell | mit | 1,403 |
#!/bin/bash
RELATIVE_TRUNKDIR=../../..
./fix_eol.sh $RELATIVE_TRUNKDIR
./fix_eol.sh $RELATIVE_TRUNKDIR/../data_source
./fix_mimetypes.sh $RELATIVE_TRUNKDIR
./fix_mimetypes.sh $RELATIVE_TRUNKDIR/../data_source
./set_map_ignores.sh
./list_missing_textures.sh ../../../base/maps
./list_missing_textures.sh ../../../../... | ufoai/ufoai | contrib/scripts/repo_cleanup/clean_all.sh | Shell | gpl-2.0 | 363 |
#!/bin/sh
TEST_SCRIPT=./VMake/executableTester.sh
until test -r ${TEST_SCRIPT} ; do
TEST_SCRIPT=../${TEST_SCRIPT}
done
. ${TEST_SCRIPT}
runAndHandleSystemTest "testAbstractContext1 " "$0" "$@"
| kelchuan/snac_thesis | StGermain/Base/Context/tests/testAbstractContext1.0of1.sh | Shell | gpl-2.0 | 203 |
test_expect_success "setup proc-receive hook (ft, $PROTOCOL)" '
write_script "$upstream/hooks/proc-receive" <<-EOF
printf >&2 "# proc-receive hook\n"
test-tool proc-receive -v \
-r "ok refs/for/main/topic" \
-r "option fall-through"
EOF
'
# Refs of upstream : main(A)
# Refs of workbench: main(A) tags/v123
# g... | tacker66/git | t/t5411/test-0034-report-ft.sh | Shell | gpl-2.0 | 1,518 |
#!/bin/bash
DONE_FLAG="/tmp/$0_done"
RUBY_VERSION='ruby-2.1.6'
RUBY_SOURCE_URL="http://cache.ruby-lang.org/pub/ruby/2.1/$RUBY_VERSION.tar.bz2"
echo "#### Install $RUBY_VERSION ####"
if [ -f $DONE_FLAG ]; then exit; fi
echo '-- PRESS ENTER KEY --'
read KEY
ubuntu() {
echo 'Ubuntu will be supported shortly.'
}
cent... | kanety/zomeki-development | doc/install_scripts/install_ruby.sh | Shell | gpl-3.0 | 910 |
#!/bin/bash
ARG_1=`echo $QUERY_STRING | awk -F [=,\&] '{ print $1; }'`
ARG_2=`echo $QUERY_STRING | awk -F [=,\&] '{ print $2; }'`
ARG_3=`echo $QUERY_STRING | awk -F [=,\&] '{ print $3; }'`
ARG_4=`echo $QUERY_STRING | awk -F [=,\&] '{ print $4; }'`
ARG_5=`echo $QUERY_STRING | awk -F [=,\&] '{ print $5; }'`
ARG_6=`echo ... | carhaas/overpass-nlmaps | utils/nodes-csv-gzip.sh | Shell | agpl-3.0 | 2,426 |
#!/bin/sh
set -e
export GOPATH=`pwd`
export GOBIN=`pwd`/bin
export GO111MODULE=off
mkdir -p src/github.com/golang/mock
cd src/github.com/golang
curl -fsSL https://github.com/golang/mock/archive/v1.2.0.tar.gz -o mock.tar.gz
tar -xzvf mock.tar.gz -C mock --strip-components=1
cd mock/mockgen
go install .
cd ../../../../... | RobberPhex/thrift | test/go/genmock.sh | Shell | apache-2.0 | 418 |
#!/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... | paolodedios/tensorflow | tensorflow/lite/delegates/gpu/cl/testing/run_performance_profiling.sh | Shell | apache-2.0 | 3,262 |
#!/bin/bash
# Copyright 2012 Johns Hopkins University (Author: Daniel Povey)
# Decoding script that does fMLLR. This can be on top of delta+delta-delta, or
# LDA+MLLT features.
# This script does an extra pass of lattice generation over and above what the original
# script did-- it's for robustness in the case wher... | thorsonlinguistics/german-neutralization | steps/decode_fmllr_extra.sh | Shell | apache-2.0 | 11,771 |
/*
* Copyright 2011-2017 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#include <bgfx_shader.sh>
uniform vec4 u_params;
#define u_textureLod u_params.x
#define u_textureLayer u_params.y
#define u_ev u_params.w
vec4 toEv(vec4 _color)
{
ret... | Synxis/bgfx | tools/texturev/common.sh | Shell | bsd-2-clause | 371 |
#!/bin/sh
javac -d "${HYPERDEX_BUILDDIR}"/test/java "${HYPERDEX_SRCDIR}"/test/java/DataTypeInt.java
python2 "${HYPERDEX_SRCDIR}"/test/runner.py --space="space kv key k attributes int v" --daemons=1 -- \
java -ea -Djava.library.path="${HYPERDEX_BUILDDIR}"/.libs:/usr/local/lib:/usr/local/lib64:/usr/lib:/usr/lib64 Da... | vashstorm/HyperDex | test/sh/bindings.java.DataTypeInt.sh | Shell | bsd-3-clause | 344 |
#!/bin/sh
#
# Compilation scripts initialization for the OS/400 implementation.
#
# See Copyright for the status of this software.
#
# Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
#
case "${SCRIPTDIR}" in
/*) ;;
*) SCRIPTDIR="`pwd`/${SCRIPTDIR}"
esac
while true
do case... | tcwriting/tcwriting | vendor/cache/ruby/2.3.0/gems/nokogiri-1.7.0.1/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.4/libxml2-2.9.4/os400/initscript.sh | Shell | mit | 13,168 |
#!/bin/bash
#
# Z-Push: The Microsoft Exchange protocol server
# ----------------------------------------------
#
# Mostly for use on iOS which doesn't support IMAP IDLE.
#
# Although Ubuntu ships Z-Push (as d-push) it has a dependency on Apache
# so we won't install it that way.
#
# Thanks to http://frontender.ch/publ... | mboersma/mailinabox | setup/zpush.sh | Shell | cc0-1.0 | 2,760 |
#!/bin/sh
# Copyright 2012 Cloudera Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... | mapr/impala | bin/start-catalogd.sh | Shell | apache-2.0 | 2,012 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ TxDb.Athaliana.BioMart.plantsmart51
| cokelaer/bioconda-recipes | recipes/bioconductor-txdb.athaliana.biomart.plantsmart51/pre-unlink.sh | Shell | mit | 82 |
#!/bin/bash
# Fail on any error.
set -eo pipefail
# Display commands being run.
set -x
cd git/gocloud
# Run test only if profiler directory is touched.
profiler_test=false
for f in $(git diff-tree --no-commit-id --name-only -r HEAD); do
if [[ "$(dirname $f)" == "profiler" ]]; then
profiler_test=true
fi
done... | dgoodwin/online-archivist | vendor/cloud.google.com/go/profiler/integration-test.sh | Shell | apache-2.0 | 1,380 |
#!/bin/bash
# Copyright 2015 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 t... | deepaklukose/grpc | test/cpp/naming/private_dns_zone_init.sh | Shell | apache-2.0 | 9,292 |
#!/bin/bash
set -e -E -u -o pipefail; shopt -s failglob;
if [[ ! -f "/etc/apt/sources.list.d/cfengine-community.list" ]]; then
#wget -qO- http://cfengine.com/pub/gpg.key | apt-key add -
wget -qO- https://s3.amazonaws.com/cfengine.package-repos/pub/gpg.key | apt-key add -
echo "deb http://cfengine.com/pub/a... | wilas/vbkick-templates | Ubuntu14.04/postinstall/cfengine.sh | Shell | mpl-2.0 | 458 |
#!/bin/bash
test_fmt() {
DIR="$1"
hash goimports 2>&- || { echo >&2 "goimports not in PATH."; exit 1; }
for file in $(find -L $DIR -type f -name "*.go" -not -path "./Godeps/*")
do
output=`cat $file | goimports -l 2>&1`
if test $? -ne 0
then
output=`echo "$output" |... | vulndb/vulndb-go | tools/checkfmt.sh | Shell | mit | 910 |
#!/bin/sh
TOPDIR=$1
USAGE="$0 <TOPDIR> [-d]"
if [ -z "${TOPDIR}" ]; then
echo "Missing argument"
echo $USAGE
exit 1
fi
OPENOCD_PATH="/cygdrive/c/gccfd/openocd/bin"
OPENOCD_EXE=openocd-ftd2xx.exe
OPENOCD_CFG="${TOPDIR}/configs/ea3131/tools/armusbocd.cfg"
OPENOCD_ARGS="-f `cygpath -w ${OPENOCD_CFG}`"
~/projects/nutt... | IUTInfoAix/terrarium_2015 | nuttx/configs/ea3131/tools/oocd.sh | Shell | bsd-2-clause | 920 |
NODE_ADD=0
NODE_CHANGE=1
NODE_DEL=2
if [ "$qconf_event" != "$NODE_DEL" ]; then
value=`./qconf get_conf $qconf_path`
# TODO: Nginx directory, You may change this to your own directory
nginx=/usr/local/nginx
nginx_conf_path=$nginx/conf/nginx.conf
old_conf_value=`cat $nginx_conf_path`
#if value is ... | three2one/QConf | agent/script/nginx_template.sh | Shell | bsd-2-clause | 680 |
#!/bin/bash
# Copyright 2014 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | L-MA/kubernetes | hack/travis/install-etcd.sh | Shell | apache-2.0 | 956 |
#!/bin/bash
###########################################################################
#
# Copyright 2016-2017 Samsung Electronics 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 ... | HONGCHAEHEE/TizenRT | build/configs/sidk_s5jt200/tools/openocd/partition_gen.sh | Shell | apache-2.0 | 2,985 |
gw_data_find --observatory H --type H1_NINJA2_G1000176_EARLY_RECOLORED --gps-start-time 900000024 --gps-end-time 900010677 --url-type file --lal-cache > cache/H-H1_NINJA2_G1000176_EARLY_RECOLORED_CACHE-900000024-10653.lcf
| hagabbar/pycbc_copy | examples/tmpltbank/make_cache.sh | Shell | gpl-3.0 | 222 |
#!/usr/bin/env bash
# Turn the Portfile.template into a Portfile.
# Usage:
# mk_portfile.sh TEMPLATE OUTPUTFILE VERSION
set -e
blackbox_home=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source ${blackbox_home}/../bin/_stack_lib.sh
TEMPLATEFILE=tools/Portfile.template
OUTPUTFILE=Portfile
PORTVERSION=${1?"Arg 1... | serialdoom/blackbox | tools/macports_report_upgrade.sh | Shell | mit | 2,555 |
#!/bin/bash
set -e
function usage()
{
cat <<EOF
Usage:
$0 xtrabackup_target [installation_directory]
$0 path_to_server_tarball [installation_directory]
Prepares a server binary directory to be used by run.sh when running XtraBackup
tests.
If the argument is one of the build targets passed to build.sh
(i.e. in... | G33KS44n/mysql-5.6 | xtrabackup/test/bootstrap.sh | Shell | gpl-2.0 | 3,785 |
#!/usr/bin/env bash
set -eux
# ANSIBLE_CACHE_PLUGINS=cache_plugins/ ANSIBLE_CACHE_PLUGIN=none ansible-playbook test_gathering_facts.yml -i ../../inventory -v "$@"
ansible-playbook test_gathering_facts.yml -i ../../inventory -v "$@"
#ANSIBLE_CACHE_PLUGIN=base ansible-playbook test_gathering_facts.yml -i ../../inventor... | dataxu/ansible | test/integration/targets/gathering_facts/runme.sh | Shell | gpl-3.0 | 330 |
#!/usr/bin/env bash
TEST_PATH=/home/work/repos/fis/test/util/diff
FIS_PATH=/home/work/repos/fis/
FISP_PATH=/home/work/lib/node_modules/fis-plus
FISP_FIS_PATH=${FISP_PATH}/node_modules/fis
cd ${FIS_PATH}
rm -rf node_modules
npm install
npm install fis-preprocessor-image-set
npm install fis-postpackager-ext-map
npm ins... | MetSystem/fis | test/util/diff/new_fis_ready.sh | Shell | mit | 523 |
#!/bin/sh
test_description='miscellaneous rev-list tests'
. ./test-lib.sh
test_expect_success setup '
echo content1 >wanted_file &&
echo content2 >unwanted_file &&
git add wanted_file unwanted_file &&
git commit -m one
'
test_expect_success 'rev-list --objects heeds pathspecs' '
git rev-list --objects HEAD -- ... | seveas/git | t/t6000-rev-list-misc.sh | Shell | gpl-2.0 | 3,064 |
#!/bin/bash
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
$IMPALA_HOME/testdata/cluster/admin stop_cluster
sleep 2
| mapr/impala | testdata/bin/kill-mini-dfs.sh | Shell | apache-2.0 | 127 |
#!/bin/sh
# Copyright (c) 2013 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 Softw... | MyProgrammingStyle/hotspot | test/runtime/InitialThreadOverflow/testme.sh | Shell | gpl-2.0 | 2,391 |
#!/bin/sh
# If we're cross compiling use that path for nm
if [ "$CROSS_COMPILE_ARCH" != "" ]; then
NM=$ALT_COMPILER_PATH/nm
else
NM=nm
fi
$NM -Uj $* | awk '
{ if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 }
'
| lizhekang/TCJDK | sources/openjdk8/hotspot/make/bsd/makefiles/build_vm_def.sh | Shell | gpl-2.0 | 226 |
#!/bin/bash
mkdir -p $PREFIX/bin; cp bedToBigBed $PREFIX/bin
chmod +x $PREFIX/bin/bedToBigBed
| dmaticzka/bioconda-recipes | recipes/ucsc-bedtobigbed/build_osx.sh | Shell | mit | 94 |
#!/bin/bash
for i in chrome/app/resources/generated_resources_*.xtb; do
fn=`basename $i`
lc=${fn#generated_resources_}
lc=${lc%.xtb}
outf=content/nw/src/resources/locale/nw_strings_$lc.xtb
echo output locale: $lc
cat > $outf <<EOF
<?xml version="1.0" ?>
<!DOCTYPE translationbundle>
<translationbundle lang=... | trojanspike/nw.js | tools/extract_l10n_id.sh | Shell | mit | 502 |
#!/bin/bash
while [ 1 ]; do
fab tally
sleep 10
done | ireapps/lightning-talks | tally.sh | Shell | mit | 59 |
#!/bin/bash
echo Building...
mkdir -p dist/velexio/pylegos/deplibs
nuitka --module velexio/pylegos/database/oracle.py --output-dir dist/velexio/pylegos/database --remove-output --recurse-all
nuitka --module velexio/pylegos/core/framework.py --output-dir dist/velexio/pylegos/core --remove-output
cp -r deplibs/* dist/... | velexio/pyLegos | build/build-linux_x64.sh | Shell | mit | 613 |
#!/bin/sh
xrandr --output VIRTUAL1 --off --output DP2 --off --output DP1 --off --output DSI1 --primary --mode 1200x1920 --pos 0x0 --rotate right --output HDMI2 --off --output HDMI1 --off
| klaxalk/linux-setup | miscellaneous/arandr_scripts/tomas/gpd_standalone.sh | Shell | mit | 187 |
#!/bin/sh
THIS_SCRIPT=$0
usage(){
echo "${THIS_SCRIPT} [-s|-r] packet_file"
echo " -s: send packet."
echo " -r: receive packet."
echo " -c: chat packet."
}
err_exit(){
echo "Error exit. $1"
exit 1
}
# -----------------------------------------------
# k5pp9f90NBFSt0nesS7tgUSi4pdaLhFGoqk9CT... | shiki0711/soulAssist | tools/packetAnalyzer/script/dump_packet.sh | Shell | mit | 1,508 |
#!/bin/bash
./InetS3 1337
sudo ps -el | grep Inet
sudo sleep 10
sudo ps -el | grep Inet
cat /var/log/syslog
sudo sleep 2
sudo ps -el | grep Inet
cat /var/log/syslog
sudo sleep 1
sudo ps -el | grep Inet
cat /var/log/syslog
sudo sleep 1
sudo ps -el | grep Inet
cat /var/log/syslog
sudo sleep 1
sudo ps -el | grep Inet
cat... | lipecki/Johan | server_backup/run_Inet.sh | Shell | mit | 546 |
#!/bin/bash -e
# This dir needs to exactly match the one in generate.sh
BASE_DIR="NumericalMethodsAndClosedOrbitsInTheKeplerHeisenbergProblem"
FIGURE_DIR="$BASE_DIR/Figure7"
OUTPUT_DIR="$FIGURE_DIR/generated-data"
if [ ! -d "$BASE_DIR" ]; then
echo "This script must be run from the heisenberg project root (i.e. t... | vdods/heisenberg | NumericalMethodsAndClosedOrbitsInTheKeplerHeisenbergProblem/Figure7/generate-orbit-3-4.sh | Shell | mit | 732 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-493-1
#
# Security announcement date: 2016-05-29 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:11 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - openafs:1.6.1-3+deb7u6
#
# Last versio... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/i386/2016/DLA-493-1.sh | Shell | mit | 651 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2829-1
#
# Security announcement date: 2013-12-28 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:47 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - hplip:3.12.6-3.1+deb7u1
# - hplip-d... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/i386/2013/DSA-2829-1.sh | Shell | mit | 2,574 |
#! /bin/bash
# ============================================================================
# ZF2 CLI Helper - Installation Script
#
# @link https://github.com/waltzofpearls/zf2-cli-helper
# @copyright Copyright (c) 2014 Topbass Labs (topbasslabs.com)
# @author Waltz.of.Pearls <rollie@topbasslabs.com, rollie.m... | topbass/zf2-cli-helper | bash/install.sh | Shell | mit | 3,736 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.