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
# Install/Updates the FPGA server
# Run from the fpga-api dir
# Parameter 1: server path
# Parameter 2: user
if [ "$#" -ne 2 ]; then
echo "Illegal number of parameters (server_path and user)"
exit 1;
fi
FOLDER_EXP='s|dir=\".*\"|dir=\"'${1}'\"|g'
SERVER_EXP='s|user=\".*\"|user=\"'${2}'\"|g'
se... | EduardoMiravalls/NetWatcher | fpga-api/scripts/install_service.sh | Shell | mit | 972 |
#!/bin/sh
yum groupinstall -yq "development tools"
| mitchellh/vagrant-installers | packer/vagrant/scripts/centos/install-dev-tools.sh | Shell | mit | 52 |
#!/bin/bash
if [[ -z $QUERY_PORT_9411_TCP_ADDR ]]; then
echo "** ERROR: You need to link the query service as query."
exit 1
fi
QUERY_ADDR="${QUERY_PORT_9411_TCP_ADDR}:9411"
SERVICE_NAME="zipkin-web"
DEFAULT_ROOTURL=http://localhost:8080/
ROOTURL="-zipkin.web.rootUrl=${ROOTURL:-DEFAULT_ROOTURL}"
echo "** Startin... | radiomix/zipkin-infrastructure | web/run.sh | Shell | mit | 433 |
#!/bin/bash
SCRIPT_DIR=$(dirname $(readlink -f $0))
echo "[*] Build and Run of vulnerable FineUploader/php-traditional-server v1.1.0."
docker build -t vuln ${SCRIPT_DIR}
echo "[*] Running docker"
docker run -p 8000:80 -d vuln
echo "[*] Test now the following:"
echo "./CVE-2018-9209.sh http://localhost:8000/"
| lcashdol/Exploits | generic_docker/docker/install.sh | Shell | mit | 315 |
#!/bin/sh
find . -name \*.html -exec svn propset svn:mime-type text/html {} \; | jdurbin/durbinlib | fixmime.sh | Shell | mit | 79 |
#!/bin/bash
FN="silva128.1MgDb_1.00.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/silva128.1MgDb_1.00.0.tar.gz"
"https://bioarchive.galaxyproject.org/silva128.1MgDb_1.00.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-silva128.1mgdb/bioconductor-silva128.1mg... | roryk/recipes | recipes/bioconductor-silva128.1mgdb/post-link.sh | Shell | mit | 1,445 |
#!/bin/bash
set -e
#######################################
# load environment variables for LRSDAY
source ./../../env.sh
#######################################
# set project-specific variables
prefix="SK1" # The file name prefix for the processing sample. Default = "SK1" for the testing example.
genome="./../07.Supe... | yjx1217/LRSDAY | pipelines/LRSDAY.15.Annotation_Integration.sh | Shell | mit | 4,461 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_CONF=default
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/Timer-ADC.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
OUTPUT_BASENAME=Timer-ADC.X.${IMAGE_TYPE}.${OUTPUT_SUFF... | mzeitler/openstrom | firmware/testing - prototype/TimerADC/Timer-ADC.X/nbproject/Package-default.bash | Shell | mit | 1,381 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2009-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... | fasterthanlime/tup-fuseless | test/t7017-delayed-tupfile.sh | Shell | gpl-2.0 | 1,166 |
#!/bin/sh
diff -aurN old new -x .svn > patch.patch
| oat-sa/tao-core | test/integration/updateData/diff.sh | Shell | gpl-2.0 | 51 |
# $XConsortium: substring.sh /main/3 1995/11/01 16:56:33 rswiston $
function err_exit
{
print -u2 -n "\t"
print -u2 -r $Command: "$@"
let Errors+=1
}
Command=$0
integer Errors=0 j=4
base=/home/dgk/foo//bar
string1=$base/abcabcabc
if [[ ${string1:0} != "$string1" ]]
then err_exit "string1:0"
fi
if [[ ${string1:0:100... | sTeeLM/MINIME | toolkit/srpm/SOURCES/cde-2.2.4/programs/dtksh/ksh93/src/cmd/ksh93/tests/substring.sh | Shell | gpl-2.0 | 3,435 |
#! /bin/bash
set -x
set -e
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG
trap 'echo FAILED COMMAND: $previous_command' EXIT
#-------------------------------------------------------------------------------------------
# This script will download packages for, configure, build and install a QEM... | munix2/munix | tools/build-qemu.sh | Shell | gpl-3.0 | 1,280 |
#!/bin/sh
# Test "rm -i".
# Copyright (C) 1997-2017 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any la... | adtools/coreutils | tests/rm/i-1.sh | Shell | gpl-3.0 | 1,181 |
#!/bin/bash
source /etc/profile
# CloudScape Agent
#
# This is a server designed to handle system polling for a managed CloudScape
# host. Typically used to submit periodic reports of system data.
# \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ #
# Init Info \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\... | djtaylor/cloudscape | _local/etc/init.d/agent.centos.sh | Shell | gpl-3.0 | 997 |
#!/bin/bash
# Author: Ryan Young
# Description: Makes all binaries in $1 and places them into a folder $2 of your choosing as specified by the first argument. Got kind of tired of encumbersome GUI and
# dragging all compiled binaries into the right location.
#
# $3 is an optional argument indicating whether or ... | JadhavLab/TrodesDataProcess | OtherTools/MakeTrodeBinaries.sh | Shell | gpl-3.0 | 4,770 |
# shellcheck shell=sh
# Compatible with ranger 1.5.3 through 1.9.*
#
# Change the prompt when you open a shell from inside ranger
#
# Source this file from your shell startup file (.bashrc, .zshrc etc) for it to
# work.
[ -n "$RANGER_LEVEL" ] && PS1="$PS1"'(in ranger) '
| ranger/ranger | examples/shell_subshell_notice.sh | Shell | gpl-3.0 | 273 |
#!/bin/bash
source ./../setup.bash
strCategory="node"
strName="5-form"
strFile="5-form.js"
wget -q -O /dev/stdout --auth-no-challenge --user="${strUser}" --password="${strPassword}" --post-file="${strFile}" "${strServer}/test?strCategory=${strCategory}&strAssignment=${strName}" | Gabib32/webdev | node/5-form.bash | Shell | gpl-3.0 | 281 |
#!/bin/bash
set -e -x
cd $(dirname $0)/../..
make -f Makefile.dune coq coqide-server
| Matafou/coq | dev/ci/azure-build.sh | Shell | lgpl-2.1 | 88 |
#!/bin/bash
# Needs help!!
# Populate Apache configuration.
# You will need to enable the sites after running this script.
HOME_DIR=/home/ubuntu
TUKEY_MIDDLEWARE=$HOME_DIR/tukey-middleware
#TUKEY_SITE=$HOME_DIR/tukey-site
APACHE_SITES_AVAILABLE=/etc/apache2/sites-available
for site_name in auth glance nova
do
su... | opencloudconsortium/tukey-middleware | tools/create_apache.sh | Shell | apache-2.0 | 581 |
#!/bin/bash
echo "FILES TO MERGE : $*" 1>&2
cat $* | sort -k2 | awk -F\ '{a[$2]+=$1} END {for (i in a) print i" "a[i]}' | sort
echo "" > wrapper.error
| swift-lang/swift-k | tests/aimes_testing/wordcount/merge.sh | Shell | apache-2.0 | 155 |
#
# Set runtime for kernel.dmesg_restrict
#
sysctl -q -n -w kernel.dmesg_restrict=1
#
# If kernel.dmesg_restrict present in /etc/sysctl.conf, change value to "1"
# else, add "kernel.dmesg_restrict = 1" to /etc/sysctl.conf
#
if grep --silent ^kernel.dmesg_restrict /etc/sysctl.conf ; then
sed -i 's/^kernel.dmesg_restri... | rprevette/clip | packages/scap-security-guide/scap-security-guide-0.1.25/RHEL/7/input/fixes/bash/sysctl_kernel_dmesg_restrict.sh | Shell | apache-2.0 | 525 |
#!/bin/bash
sudo dtruss -f -t open "/Applications/Adobe\ Reader.app/Contents/MacOS/AdobeReader" $1 > dtruss-adobereader.log 2>&1
| openpreserve/scape | pc-cc-strender/osx-dtruss/dtruss-AdobeReader.sh | Shell | apache-2.0 | 130 |
#!/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 ... | haveatry/kubernetes | hack/local-up-cluster.sh | Shell | apache-2.0 | 34,144 |
ck replay experiment:demo-autotune-flags-susan-linux-best @replay_base_best.json --subpoint=$1
| supriyantomaftuh/ck-autotuning | demo/autotuning-compiler-flags-susan-linux/replay_base_best.sh | Shell | bsd-3-clause | 95 |
# load tpch data into db2
# load_tpch.sh <database> <datadir>
db2 connect to $1
for tab in customer lineitem nation orders partsupp part region supplier; do
echo $tab;
db2 "load from $2/$tab.tbl of del modified by coldel| insert into $tab";
done
| ulricha/dsh-tpc-h | scripts/db2/load_tpch.sh | Shell | bsd-3-clause | 263 |
#!/bin/sh
set -e
UNSIGNED=$1
SIGNATURE=$2
ARCH=x86_64
ROOTDIR=dist
BUNDLE=${ROOTDIR}/Dash-Qt.app
TEMPDIR=signed.temp
OUTDIR=signed-app
if [ -z "$UNSIGNED" ]; then
echo "usage: $0 <unsigned app> <signature>"
exit 1
fi
if [ -z "$SIGNATURE" ]; then
echo "usage: $0 <unsigned app> <signature>"
exit 1
fi
rm -rf $... | mytestcoin/mytestcoin | contrib/macdeploy/detached-sig-apply.sh | Shell | mit | 1,226 |
#! /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-log.sh | Shell | gpl-2.0 | 4,007 |
#!/bin/sh
if [ "$#" -lt 1 ]
then
echo "Usage: $0 <version> [destination]"
exit 1
fi
APP="kanboard"
VERSION=$1
DESTINATION=$2
if [ -z "$2" ]
then
DESTINATION=~/Devel/websites/$APP
fi
echo "Build package for version $VERSION => $DESTINATION"
# Cleanup
rm -rf /tmp/$APP /tmp/$APP-*.zip 2>/dev/null
# Downl... | crwilliams/kanboard | scripts/make-archive.sh | Shell | agpl-3.0 | 1,556 |
#!/bin/bash
# Author: Fred Brooker <original@fredbrooker.cz>
# URL: http://fredbrooker.cz/
if [ $# -eq 0 ]
then
echo -e "\nConvert WAV files to MP3 recursively.\n\nSyntax: $(basename $0) <folder>\n"
exit 1
fi
if [ -n "$1" ]
then
if [ -d "$1" ]
then
cd "$1"
else
echo -e "Invalid folder: $1\n"
exit 1
fi
fi... | gauravdatir/linux-bash-scripts | wav2mp3.sh | Shell | unlicense | 846 |
#!/bin/bash -eux
# 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 agre... | skia-dev/oss-fuzz | infra/base-images/all.sh | Shell | apache-2.0 | 1,594 |
#!/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... | ppwwyyxx/tensorflow | tensorflow/tools/ci_build/release/ubuntu_16/cpu_py37_full/pip.sh | Shell | apache-2.0 | 2,062 |
#!/bin/sh
printf "\033[01;38msequential write only channel\033[00m test has"
make clean all>/dev/null
result=$(grep "FAILED" result.log | awk '{print $4}')
if [ "" = "$result" ] && [ -s result.log ]; then
echo " \033[01;32mpassed\033[00m"
make clean>/dev/null
else
echo " \033[01;31mfailed with ... | zerovm/zerovm | tests/functional/channels/seqwo/test.sh | Shell | apache-2.0 | 347 |
#!/usr/bin/perl
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
my $command = "mksysnum_nacl.sh ". join(' ', @ARGV);
print <<EOF;
// $command
// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
package sysc... | 8l/go-learn | src/pkg/syscall/mksysnum_nacl.sh | Shell | bsd-3-clause | 507 |
#! /bin/sh
killall -9 chunkserver
killall -9 nameserver
cd nameserver;
./bin/nameserver 1>nlog1 2>&1 &
echo $! > pid
cd ../chunkserver1;
./bin/chunkserver --chunkserver_port=8021 1>clog1 2>&1 &
echo $! > pid
cd ../chunkserver2;
./bin/chunkserver --chunkserver_port=8022 1>clog2 2>&1 &
echo $! > pid
| 00k/ToyDFS | sandbox/restart_bfs.sh | Shell | bsd-3-clause | 304 |
#!/bin/bash
FN="hgu133plus2cdf_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/annotation/src/contrib/hgu133plus2cdf_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/hgu133plus2cdf_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-hgu133plus2cdf/bioconductor-hgu133plus2c... | ostrokach/bioconda-recipes | recipes/bioconductor-hgu133plus2cdf/post-link.sh | Shell | mit | 1,445 |
#!/bin/bash
FN="gskb_1.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/experiment/src/contrib/gskb_1.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/gskb_1.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-gskb/bioconductor-gskb_1.18.0_src_all.tar.gz"
)
MD5="9c8267af08b0eeeb9... | Luobiny/bioconda-recipes | recipes/bioconductor-gskb/post-link.sh | Shell | mit | 1,272 |
#!/bin/bash
FN="BSgenome.Mmusculus.UCSC.mm10.masked_1.3.99.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/BSgenome.Mmusculus.UCSC.mm10.masked_1.3.99.tar.gz"
"https://bioarchive.galaxyproject.org/BSgenome.Mmusculus.UCSC.mm10.masked_1.3.99.tar.gz"
"https://depot.galaxyproject.org... | Luobiny/bioconda-recipes | recipes/bioconductor-bsgenome.mmusculus.ucsc.mm10.masked/post-link.sh | Shell | mit | 1,592 |
#!/bin/sh
#
# This program launch a web browser on the html page
# describing a git command.
#
# Copyright (c) 2007 Christian Couder
# Copyright (c) 2006 Theodore Y. Ts'o
#
# This file is heavily stolen from git-mergetool.sh, by
# Theodore Y. Ts'o (thanks) that is:
#
# Copyright (c) 2006 Theodore Y. Ts'o
#
# This file ... | samv/git | git-web--browse.sh | Shell | gpl-2.0 | 3,961 |
#!/usr/bin/env bash
#
# Process (API) docs after a successful build on Travis (via ../.travis.yml).
#
# Updated/changed documentation for "master" is pushed to gh-pages.
# In case of pull requests or other branches, it will get added to a separate branch.
# In case of a pull request, a compare view comment will be post... | blueyed/awesome | build-utils/travis-apidoc.sh | Shell | gpl-2.0 | 5,785 |
#!/bin/sh
printf "choose a file from the list: \n"
ls *.mol
printf "> "
read firstarg
filename=${firstarg%%.*}
awk -f check_1_foe.awk $firstarg
awk -f foe_bubbles_09_10.awk $firstarg
cp graph_before.json "$filename"_0.json
cp graph_before.json file_0.json
for ((a=1; a <= 20 ; a++))
do
awk -f check_1_foe.awk... | zitterbewegung/chemlambda-gui | scripts_and_mol_files/main_viral_foe_bubbles.sh | Shell | gpl-2.0 | 823 |
#!/bin/sh
test_description='test smart fetching over http via http-backend'
. ./test-lib.sh
. "$TEST_DIRECTORY"/lib-httpd.sh
start_httpd
test_expect_success 'setup repository' '
git config push.default matching &&
echo content >file &&
git add file &&
git commit -m one
'
test_expect_success 'create http-accessib... | devzero2000/git-core | t/t5551-http-fetch-smart.sh | Shell | gpl-2.0 | 15,072 |
#! /bin/sh
$XGETTEXT *.cpp -o $podir/kfile_ics.pot
| chusopr/kdepim-ktimetracker-akonadi | strigi-analyzer/ics/Messages.sh | Shell | gpl-2.0 | 51 |
#!/bin/bash -eu
# Copyright 2019 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 agree... | skia-dev/oss-fuzz | projects/samba/build.sh | Shell | apache-2.0 | 767 |
#!/bin/bash
vagrant ssh -c "rsync -avP --exclude vbox --exclude .chef /chef-bcpc-host/ /home/vagrant/chef-bcpc/"
vagrant ssh -c "cd chef-bcpc && knife environment from file environments/*.json && knife role from file roles/*.json && knife role from file roles/*.rb && knife cookbook upload -a -o cookbooks"
| mlongob/chef-bach | vbox_update.sh | Shell | apache-2.0 | 307 |
conda config --set anaconda_upload yes
conda build flann
conda build --py all pyflann
conda build --python 2.7 --python 3.4 --python 3.5 --numpy 1.9 --numpy 1.10 pyamg
conda build --python 2.7 --python 3.4 --python 3.5 --numpy 1.10 megaman
| jakevdp/megaman | conda_recipes/build_all.sh | Shell | bsd-2-clause | 240 |
#!/bin/bash
storage_account_name=$1
storage_account_key=$2
curl --silent https://raw.githubusercontent.com/spinnaker/spinnaker/master/InstallSpinnaker.sh | sudo bash -s -- --quiet --noinstall_cassandra
# Enable Azure storage
sudo /opt/spinnaker/install/change_cassandra.sh --echo=inMemory --front50=azs
sudo sed -i "s... | AbelHu/azure-quickstart-templates | spinnaker-vm-simple/scripts/set_spinnaker.sh | Shell | mit | 635 |
#!/bin/bash
# Copyright (c) 2012-2016 Codenvy, S.A.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Tyle... | bartlomiej-laczkowski/che | dockerfiles/base/scripts/base/commands/cmd_rmi.sh | Shell | epl-1.0 | 1,434 |
#! /bin/sh
# Copyright (C) 2007-2013 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 ... | DDTChen/CookieVLC | vlc/extras/tools/automake/t/aclocal-deleted-header.sh | Shell | gpl-2.0 | 1,342 |
#!/usr/bin/env bash
HT_HOME=${INSTALL_DIR:-"/opt/hypertable/current"}
SCRIPT_DIR=`dirname $0`
echo "======================="
echo "Defect #783 - OFFLOAD 2"
echo "======================="
function wait_for_file()
{
file=$1
echo "wait_for_file $file"
while [ ! -f $file ]
do
sleep 2
done
ls -l $file
}
... | nkhuyu/hypertable | tests/integration/defects/issue783/run2.sh | Shell | gpl-3.0 | 3,636 |
#!/bin/bash
# exit on errors
set -e
if test x$donotrun != xtrue; then
for omega in 0 1; do
gerris2D -DOMEGA=$omega nonlinear.gfs
gerris2D -DOMEGA=$omega river.gfs
gerris3D -DOMEGA=$omega ocean.gfs
done
fi
for omega in 0 1; do
gnuplot <<EOF
set term postscript eps color solid lw 2 18
set output 'error... | peterlzhang/gerris | test/nonlinear/nonlinear.sh | Shell | gpl-3.0 | 1,433 |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="libmatemixer"
(test -f $srcdir/configure.ac) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
exit 1
}
which mate-aut... | monsta/libmatemixer | autogen.sh | Shell | lgpl-2.1 | 536 |
#!/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 ... | elipapa/kubernetes | cluster/gce/config-test.sh | Shell | apache-2.0 | 11,174 |
#!/usr/bin/env node
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same di... | kentaromiura/RPGMV-Destructure | node_modules/reshape/node_modules/jscodeshift/bin/jscodeshift.sh | Shell | mit | 1,550 |
#!/bin/sh
# Copyright (C) 2005-2012 MaNGOS project <http://getmangos.com/>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that ... | Xadras-01/looking4group-core | tools/extractor_binary/ExtractResources.sh | Shell | gpl-2.0 | 4,290 |
#!/bin/sh
# Tests for ln -L/-P.
# Copyright (C) 2009-2013 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) ... | mmayer/coreutils | tests/ln/hard-to-sym.sh | Shell | gpl-3.0 | 2,472 |
#!/bin/bash
# This file is part of darktable.
#
# darktable 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 later version.
#
# darkt... | edgardoh/darktable | .ci/ci-script-windows.sh | Shell | gpl-3.0 | 3,401 |
#!/bin/bash
# Update Doxygen documentation after push to 'master'.
# Author: @pah
set -e
SUDO=sudo
DOXYGEN_VER=doxygen-1.8.7
DOXYGEN_TAR=${DOXYGEN_VER}.linux.bin.tar.gz
DOXYGEN_URL="http://ftp.stack.nl/pub/users/dimitri/${DOXYGEN_TAR}"
DOXYGEN_BIN="/usr/local/bin/doxygen"
: ${GITHUB_REPO:="miloyip/rapidjson"}
GITHUB... | flingone/frameworks_base_cmds_remoted | libs/rapidjson/build/travis-doxygen.sh | Shell | apache-2.0 | 3,168 |
#! /bin/sh
# $FreeBSD$
. $(dirname $0)/../../common.sh
# Description
DESC="New path for builtin shells (2)."
# Setup
TEST_COPY_FILES="shell 755"
# Run
TEST_N=3
TEST_1="sh_test"
TEST_2="csh_test"
TEST_3="ksh_test"
TEST_3_SKIP="no ksh on FreeBSD"
eval_cmd $*
| jrobhoward/SCADAbase | usr.bin/bmake/tests/shell/path_select/legacy_test.sh | Shell | bsd-3-clause | 262 |
#!/bin/sh
# $FreeBSD$
base=`basename $0`
echo "1..2"
name="pkill -U <uid>"
ruid=`id -ur`
sleep=$(pwd)/sleep.txt
ln -sf /bin/sleep $sleep
$sleep 5 &
sleep 0.3
pkill -f -U $ruid $sleep
ec=$?
case $ec in
0)
echo "ok 1 - $name"
;;
*)
echo "not ok 1 - $name"
;;
esac
rm -f $sleep
name="pkill -U <user>"
ruid=`id -urn`... | jrobhoward/SCADAbase | bin/pkill/tests/pkill-U_test.sh | Shell | bsd-3-clause | 511 |
#!/bin/bash
FN="mAPKLData_1.26.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/experiment/src/contrib/mAPKLData_1.26.0.tar.gz"
"https://bioarchive.galaxyproject.org/mAPKLData_1.26.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-mapkldata/bioconductor-mapkldata_1.26.0_src_all.tar.gz"... | cokelaer/bioconda-recipes | recipes/bioconductor-mapkldata/post-link.sh | Shell | mit | 1,297 |
#!/usr/bin/env bash
# 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/.
set -o errexit
set -o nounset
set -o pipefail
while (( "${#}" ))
do
case "${1}" in
--servo)
... | 6112/servo | etc/ci/performance/test_all.sh | Shell | mpl-2.0 | 1,662 |
#!/bin/sh
# uzbl window detection
. "$UZBL_UTIL_DIR/uzbl-util.sh"
readonly UZBL_WIN_POS="$( xwininfo -id "$UZBL_XID" | \
sed -n -e 's/[ ]*Corners:[ ]*[+-]\([0-9]*\)[+-]\([0-9]*\).*$/\1 \2/p' )"
readonly UZBL_WIN_SIZE="$( xwininfo -id "$UZBL_XID" | \
sed -n -e 's/[ ... | GSI/uzbl | examples/data/scripts/util/uzbl-window.sh | Shell | gpl-3.0 | 659 |
#!/bin/sh
# PR 文件变更收集
set -e
################################################################################
# 读入:(无)
# 写出:
# - /tmp/changes # 文件变更列表
################################################################################
echo "[收集] 计算 PR 分支与目标分支的分叉点……"
TARGET_BRANCH="${GITHUB_BASE_REF:-master}"
echo "[... | runningwater/TranslateProject | scripts/check/collect.sh | Shell | apache-2.0 | 1,332 |
#!/bin/bash
#Bash disables history in noninteractive shells by default, but we turn it on here.
HISTFILE=~/.bash_history
set -o history
cd /opt/QA/sources/suricata/ && \
/usr/bin/suricata --engine-analysis -l /var/log/suricata/
cp /var/log/suricata/*.{txt,json} /opt/QA/results/logs/
| pevma/SQARD-S | staging-area/tests/ubuntu/sequence/01-generic/60-verify/08-verify.sh | Shell | gpl-2.0 | 287 |
#! /bin/sh
# Copyright 2010 Ovidiu Predescu <ovidiu@gmail.com>
# Date: June 2010
ARDUINO=192.42.172.237
if [ $# != 0 ]; then
FILES="$*"
else
FILES=html/*
fi
for f in $FILES; do
if [[ $(echo $f | egrep "~|CVS") ]]; then
echo Skipping $f
else
size=`ls -l $f | awk '{print $5}'`
echo "Uploading $f ($... | ldv46/Lichtschakelsysteem | libraries/TinyWebServer/examples/FileUpload/upload.sh | Shell | gpl-3.0 | 391 |
#!/bin/bash
set -o nounset # Treat unset variables as an error
if [ -a $1 ]
then
awk '/tc state/ {print $5,$8,$11}' $1 > state_data.log
fi
| SebKuzminsky/linuxcnc-mirror | tests/trajectory-planner/circular-arcs/util/save_state.sh | Shell | lgpl-2.1 | 174 |
#
# Common variables that can be used by xbps-src.
#
# SITE used for ditfiles mirrors. For use in $distfiles.
set -a
SOURCEFORGE_SITE="http://downloads.sourceforge.net/sourceforge"
NONGNU_SITE="http://download.savannah.nongnu.org/releases"
UBUNTU_SITE="http://archive.ubuntu.com/ubuntu/pool"
XORG_SITE="http://xorg.free... | k00mi/void-packages | common/environment/setup/misc.sh | Shell | bsd-2-clause | 954 |
#!/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" ]]... | KnirkeBarken/butter | dist/linux/exec_basefile.sh | Shell | gpl-3.0 | 2,836 |
#!/bin/bash
# A simple script to compute translation stats for each locale
#
# T. Sutton June, 2012
cd safe_qgis
REPORT=`lrelease inasafe.pro 2>/dev/null`
echo $REPORT| grep -o '[0-9]*\ finished\ and\ [0-9]*\ unfinished\|_[a-z][a-z]\.qm'|sed 's/_/Locale: /g'| sed 's/.qm//g'
cd ..
| opengeogroep/inasafe | scripts/string-stats.sh | Shell | gpl-3.0 | 284 |
#!/bin/bash
export CPP_INCLUDE_PATH=${PREFIX}/include
export CXX_INCLUDE_PATH=${PREFIX}/include
export CPLUS_INCLUDE_PATH=${PREFIX}/include
export LIBRARY_PATH=${PREFIX}/lib
outdir=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM
mkdir -p "${outdir}/libexec" "$PREFIX/bin"
chmod u+x install_kraken.sh
./install_krak... | gvlproject/bioconda-recipes | recipes/livekraken/build.sh | Shell | mit | 866 |
#!/bin/sh
# convenience wrapper for the snpEff jar file
java -jar snpEff.jar "$@"
| iulian787/spack | var/spack/repos/builtin/packages/snpeff/snpEff.sh | Shell | lgpl-2.1 | 82 |
make
mkdir -p $PREFIX/bin
cp abawaca $PREFIX/bin
| guowei-he/bioconda-recipes | recipes/abawaca/build.sh | Shell | mit | 49 |
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
lib_dir=$(dirname $0)/../../../../net/forwarding
NUM_NETIFS=6
source $lib_dir/lib.sh
source $lib_dir/tc_common.sh
source devlink_lib_spectrum.sh
current_test=""
cleanup()
{
pre_cleanup
if [ ! -z $current_test ]; then
${current_test}_cleanup
fi
devlink_sp_size_kvd... | Linutronix/linux | tools/testing/selftests/drivers/net/mlxsw/spectrum/resource_scale.sh | Shell | gpl-2.0 | 1,275 |
#!/bin/sh
#
# this script finds unused lp_*() functions
#
# use it like this:
#
# user@host:~/samba/source>./script/find_unused_options.sh
#
LIST_GLOBAL=`grep '^FN_GLOBAL' param/loadparm.c |sed -e's/^FN_GLOBAL.*(\(.*\).*,.*\(&Globals\..*\)).*/\1:\2/'`
LIST_LOCAL=`grep '^FN_LOCAL' param/loadparm.c |sed -e's/^FN_LOCA... | zarboz/XBMC-PVR-mac | tools/darwin/depends/samba/samba-3.6.6/source4/script/find_unused_options.sh | Shell | gpl-2.0 | 857 |
#!/bin/bash
source config.sh
source find-prototype-region.sh
if [[ "$region" != "" ]]; then
source get-tags.sh
source vars.sh
source deploy-app-code.sh
source create-ami.sh
source get-security-group-id.sh
source create-launch-configuration.sh
source use-new-launch-configuration.sh
source scale-up.sh
source ... | stevenharradine/ansible-aws-deployment | deploy.sh | Shell | isc | 402 |
pacat --format=s16be --channels=1 --channel-map=mono --rate=44100 --device=alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo
| strickyak/rxtx | qrss/player.sh | Shell | mit | 144 |
#!/bin/bash
# Simple call of the start.jar with used port.
SCRIPT_ABS_PATH="$(cd "${0%/*}" 2>/dev/null; echo "$PWD")"
. "$SCRIPT_ABS_PATH/settings.sh"
# Go to the installation directory.
cd "$PM_EXIST_INSTALL_DIR"
if [ ! -f "start.jar" ]; then
echo "No eXist installation found, at:"
echo "$PM_EXIST_INSTALL_DIR"
... | nusselder/politicalmashup | exist/start_jetty_bound.sh | Shell | mit | 439 |
#!/bin/sh
# create public folder if not exist
mkdir -p ./public
# copy fonts to public folder
cp -R ./src/font ./public
# copy JS libraries to public folder
cp -R ./src/libs ./public
# build JS files
yarn build:js
# build SASS files
yarn build:sass
# build mustacher files
yarn build:html
| sixertoy/mustacher | example/.scripts/build.sh | Shell | mit | 295 |
#!/bin/bash
ghc orcamento.hs comandos/comandos.dominio.hs && ./orcamento | LorhanSohaky/UFSCar | 2019/workshop-funcional/haskell/run.sh | Shell | mit | 73 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
# This protects against multiple targets copying the same framework dependency at the same time.... | palneel/JamifiSDK | Example/Pods/Target Support Files/Pods-JamifiSDK_Example/Pods-JamifiSDK_Example-frameworks.sh | Shell | mit | 4,826 |
#!/usr/bin/env bash
# @author Joschi <josua.krause@gmail.com>
# created 2015-02-17 14:26
base_dir=`pwd`
server_pid_file="${base_dir}/server_pid.txt"
USAGE="Usage: $0 -hqc [--no-open] [--] <url>"
usage() {
echo $USAGE
echo "-h: print help"
echo "-q: be quiet"
echo "-c: check whether the server is runn... | nyuvis/patient-viz | open_url.sh | Shell | mit | 2,103 |
#!/bin/bash
_user="$(id -u -n)"
if [ "$_user" == "researcher" ]; then
export JULIA_PKGDIR=/opt/julia
fi
| dit4c/dockerfile-dit4c-container-ijulia | etc/profile.d/opt_julia.sh | Shell | mit | 108 |
pyrcc5 -o qtrst/ui/resources_rc.py design/resources.qrc
pyuic5 -o qtrst/ui/main.py design/main.ui
| petrushev/qtrst | build.sh | Shell | mit | 98 |
#!/usr/bin/env bash
if [ ! -d "bin" ]; then
printf "No compiled classes. Did you run compile.sh?\n"
exit
fi
java -classpath bin/ com/scottlessans/simpledtw/examples/Problem6
| slessans/simple-dynamic-time-warping-java | run_problem6.sh | Shell | mit | 178 |
#!/usr/bin/env zsh
#
# Currently DIT4C portal's SSH REPL is provided by Ammonite-SSHD, which uses
# jline2 for terminal interactions. Unfortunately, this means it requires a
# TTY to work correctly.
#
# This script wraps the entire portal server in its own pseudo-terminal as a
# workaround.
#
zmodload zsh/zpty
zpty -... | dit4c/dit4c | scripts/extra/start_portal.zsh | Shell | mit | 498 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-220-1
#
# Security announcement date: 2015-05-15 00:00:00 UTC
# Script generation date: 2017-01-01 21:08:56 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - dpkg:1.15.12
#
# Last versions recomm... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/i386/2015/DLA-220-1.sh | Shell | mit | 582 |
#!/bin/bash
HOST="localhost"
PORT="1883"
# Array for storing PIDS of future processes
PIDS=()
# Start the two Python processes and store the PIDs
timeout -k 15s 15s python3 test_node.py -host $HOST -port $PORT node_desc_b.json -val -1 &
PIDS+=("$!")
timeout -k 15s 15s python3 test_node.py -host $HOST -port $PORT nod... | robotarium/vizier | examples/example_0/test_nodes.sh | Shell | mit | 446 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-621-1
#
# Security announcement date: 2016-09-15 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:18 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: armv7l
#
# Vulnerable packages fix on version:
# - autotrace:0.31.1-16+deb7u1
#
# Last ... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/armv7l/2016/DLA-621-1.sh | Shell | mit | 625 |
#!/bin/bash
#if [ -z "$SHARELATEX_UID" ]; then
# SHARELATEX_UID=1000
#fi
#if [ -z "$SHARELATEX_GID" ]; then
# SHARELATEX_GID=1000
#fi
if [ -z "$MONGOD_SMALLFILES" ]; then
MONGOD_SMALLFILES=""
else
MONGOD_SMALLFILES="--smallfiles"
fi
#addgroup --gid $SHARELATEX_GID sharelatex
#adduser --system --home ... | sb-minimal/docker-ubuntu-sharelatex | overlay/sharelatex.sh | Shell | mit | 1,022 |
#!/bin/bash
# Place this file in the same folder as a freetype SVN checkout.
VERSION="9.1" # SDK version
MINVERSION="6.1" # Target version.
ARCHES=("arm64" "armv7" "armv7s" "i386")
PLATFORMS=("iPhoneOS" "iPhoneOS" "iPhoneOS" "iPhoneSimulator")
MERGE="lipo -create -output libfreetype-fat.a "
for i in ${!ARCHES[@]}
do... | Gerjo/freetype_ios_android | freetype_ios.sh | Shell | mit | 2,040 |
#!/bin/bash -i
# Bail out on failure
set -e
cd $HOME
timestamp=$(date "+%Y%m%d_%H%M%S")
branch="master"
function print_help {
echo "Usage:
./setup.sh [-r|-u|-h] [branch]
-r Remote setup, grabs your Vim config from GitHub
-u Update Vim config from GitHub and update all Bundles
-h Print this help
br... | ashishraste/.dotfiles | vim_osx/setup.sh | Shell | mit | 2,455 |
#!/bin/bash
#
# cloc.sh: Compile cl file into an HSA Code object file (.hsaco)
# using the LLVM Ligntning Compiler. An hsaco file contains
# the amdgpu isa that can be loaded by the HSA Runtime.
#
# Old options -hsail and -brig use HLC are deprecated
#
# Written by Greg Rodgers Gregory.Rodger... | ROCm-Developer-Tools/hcc2 | utils/bin/cloc.sh | Shell | mit | 17,425 |
#!/usr/bin/env bash
docker run -it --rm=true \
-v /mnt/Seagate/Dropbox:/home/pi/rclone/Dropbox \
-v conf.txt:/root/.rclone.conf \
ianscrivener/rpi-rclone-dropbox \
rclone --transfers=1 -v copy /home/pi/rclone/Dropbox/Photos Dropbox:/Photo
| ianscrivener/rpi-rclone-dropbox | run-interactively.sh | Shell | mit | 246 |
#!/bin/bash
bowtie=/shared/workspace/software/bowtie-1.0.1/bowtie
bowtie_index=/shared/workspace/software/bowtie_index/hsapiens_hg19/genome
input_fastq=$1
if [ ! -f "$input_fastq.sam" ]; then
$bowtie $bowtie_index $input_fastq > $input_fastq.sam
fi
exit 0
| ucsd-ccbb/jupyter-genomics | src/awsCluster/server/ChipSeqPipeline/homer_workflow/scripts/alignment.sh | Shell | mit | 263 |
#!/usr/bin/env bash
set -ex
set -o pipefail
### Update /etc/hosts
if ! grep -q passenger.test /etc/hosts; then
cat >>/etc/hosts <<-EOF
127.0.0.1 passenger.test
127.0.0.1 mycook.passenger.test
127.0.0.1 zsfa.passenger.test
127.0.0.1 norails.passenger.test
127.0.0.1 1.passenger.test 2.passenger.test 3.passenger.test... | phusion/passenger | dev/vagrant/provision.sh | Shell | mit | 4,122 |
#!/usr/bin/env bash
set -e
REPO="$(pwd)"
ROOT="$REPO/.."
# Publish Web Client
WEB_BUILD_NAME="vscode-web"
WEB_TARBALL_FILENAME="vscode-web.tar.gz"
WEB_TARBALL_PATH="$ROOT/$WEB_TARBALL_FILENAME"
rm -rf $ROOT/vscode-web.tar.*
(cd $ROOT && tar --owner=0 --group=0 -czf $WEB_TARBALL_PATH $WEB_BUILD_NAME)
node build/azur... | mjbvz/vscode | build/azure-pipelines/web/publish.sh | Shell | mit | 462 |
#!/usr/bin/env bash
SCM_THEME_PROMPT_PREFIX="${bold_blue}|${yellow}"
SCM_THEME_PROMPT_SUFFIX=" "
SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓${bold_blue}|"
SCM_THEME_PROMPT_DIRTY=" ${bold_red}✗${bold_blue}|"
SCM_NONE_CHAR=""
function prompt_command() {
local last_stats="$?"
if [ $last_stats -eq 0 ]; then
... | EduardoLeggiero/dotfiles | bash_it_custom/themes/leggiero/leggiero.theme.bash | Shell | mit | 1,155 |
#!/bin/bash
SWARM_CSS_DIR=../../project/war/dougkoellmer_com
DK_CSS_DIR=../../project/src/com/dougkoellmer/shared/css
source ./config_app_version.sh
## mega hack to make sure spinner sprite plate uses app version
SPINNER_CSS=$DK_CSS_DIR/spinner.css
sed -E "s/url\('(.*)'\)/url('\1?v=$CURRENT_VERSION')/g" $SPINNER_CS... | dougkoellmer/dougkoellmer_com | scripts/client/minify_css.sh | Shell | mit | 1,013 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2915-1
#
# Security announcement date: 2016-03-01 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:14 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: i686
#
# Vulnerable packages fix on version:
# - python-django:1.6.1-2ubuntu0.12
#
# La... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/i686/2016/USN-2915-1.sh | Shell | mit | 658 |
#!/usr/bin/env bash
MY_DIR="$(dirname "$0")"
JUNK_DIR=${MY_DIR}/../junk
echo
echo "Installing latest bash..."
brew install bash
#TODO: These require sudo, figure out how to handle this
# Get password from encrypted file
I_GOTZ_CRED=$(openssl rsautl -decrypt -inkey $JUNK_DIR/junk_rsa -in $JUNK_DIR/.mi.6)
echo
echo... | rbaumbach/JumperCables | installz/bash.sh | Shell | mit | 628 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.