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
# Paper.js
#
# This file is part of Paper.js, a JavaScript Vector Graphics Library,
# based on Scriptographer.org and designed to be largely API compatible.
# http://scriptographer.org/
#
# Copyright (c) 2011, Juerg Lehni & Jonathan Puckey
# http://lehni.org/ & http://jonathanpuckey.com/
#
# Distributed unde... | NHQ/paper | build/build.sh | Shell | mit | 904 |
#!/bin/bash
# this script requires an existing installation of Anaconda Python
conda update conda
conda update anaconda
conda update python
conda update --all
| ChicagoBoothAnalytics/DataWrangling_inR | Python/Update-All-Anaconda-Python-Packages.sh | Shell | mit | 161 |
#!/bin/bash
set -e -o pipefail
dub build -b release --compiler=$DC --config=${VIBED_DRIVER=libevent}
dub test --compiler=$DC #--config=${VIBED_DRIVER=libevent}
dub test :utils --compiler=$DC #--config=${VIBED_DRIVER}
dub test :data --compiler=$DC #--config=${VIBED_DRIVER}
dub test :core --compiler=$DC --config=${VIBE... | redstar/vibe.d | travis-ci.sh | Shell | mit | 1,044 |
#!/bin/bash
# Apache
apt-get install -y apache2 libapache2-mod-fcgid
a2enmod rewrite expires headers proxy proxy_http proxy_fcgi actions fastcgi alias ssl
# OpenSSL
echo -n 'cn=' > /tmp/openssl.payload
cat /vagrant/shell_provisioner/config/hosts.txt | grep -v '^#' | cut -d' ' -f2 | grep -v '^$' | sed -n '1p' | tr '... | JanDC/critical-css-site | shell_provisioner/module/apache.sh | Shell | mit | 1,115 |
#!/bin/bash
#+======================================================================
# $HeadURL: https://svnpub.iter.org/codac/iter/codac/dev/units/m-iter-units-api/branches/codac-core-4.0/src/main/resources/test_template.sh $
# $Id: test_template.sh 33491 2013-01-20 18:21:08Z zagara $
#
# Project : CODAC Core Sy... | css-iter/org.csstudio.iter | products/org.csstudio.iter.alarm.beast.server.product/demo/m-TEST-BEAST/src/test/epics/test_template.sh | Shell | epl-1.0 | 1,985 |
#!/bin/bash
ant_nodes=({101..116})
for i in ${ant_nodes[*]}; do clush -w 10.0.0.${i} killall $1; done | dpaiton/OpenPV | projects/HyPerRetina/shell/killant.sh | Shell | epl-1.0 | 102 |
#!/bin/sh
export BASE_DIR="$( cd "$( dirname "$0" )" && pwd )"
TOP_DIR="$BASE_DIR/.."
if test x"$NO_MAKE" != x"yes"; then
make -C $TOP_DIR > /dev/null || exit 1
fi
if test -z "$CUTTER"; then
CUTTER="`make -s -C $BASE_DIR echo-cutter`"
fi
export CUTTER
if test -z "$VALGRIND"; then
VALGRIND="`make -s -C $... | insionng/flare | test/run-tests.travis.sh | Shell | gpl-2.0 | 1,109 |
#!/bin/bash
###########################################################################
## ##
## Set eth connection ##
## ##
## T... | FABtotum/fabui-colibri | fabui/ext/bash/set_ethernet.sh | Shell | gpl-2.0 | 2,587 |
#!/usr/bin/env bash
if [[ -z "$1" ]]; then
echo "Missing Payload URL" 1>&2
exit 1
fi
if [[ -z "$2" ]]; then
echo "Missing output filename " 1>&2
exit 1
fi
# Ensure the payload folder exists
mkdir -p dist/payload
# Basic Authentication
# $3 is a username/password combo
if [[ -z "$3" ]]; then
curl -f -L $1 -o di... | blueliquiddesigns/gravity-forms-pdf-extended | bin/json-payload.sh | Shell | gpl-2.0 | 384 |
#!/bin/sh
#
# Script which tries to bootstrap a Hawk development environment
BASE="$HOME/hawk"
echo "*** Add Virtualization repository"
if grep 'VERSION="Tumbleweed"' < /etc/os-release >/dev/null 2>&1; then
sudo zypper ar http://download.opensuse.org/repositories/Virtualization/openSUSE_Factory/ Virtualization
elif ... | krig/hawk | scripts/bootstrap-development.sh | Shell | gpl-2.0 | 1,528 |
echo "Start Mysql Dump ..."
ssh root@ber "mysqldump -uroot -pDungaum33! mbox > /tmp/mbox.sql"
echo "Dump finished."
ssh root@ber "bzip2 /tmp/mbox.sql"
echo "Start secure copy ..."
scp root@ber:/tmp/mbox.sql.bz2 /tmp
echo "Secure copy finished."
bunzip2 /tmp/mbox.sql.bz2
echo "Start DB import ..."
mysql -uroot -pDungaum... | AndreasSamjeske/tipmaster | tmsrc/utility/migration/migrateBoxDB.sh | Shell | gpl-2.0 | 428 |
#!/bin/sh
#
#scripts by robin 2013-11-11
#
#silent install oracle database software
#
#
ouser=`groupmems -g dba -l|awk '{print $1}'`
if [ ! -d /robin ];then
mkdir /robin
fi
umount /dev/cdrom >/dev/null 2>&1
umount /robin >/dev/null 2>&1
mount /dev/cdrom /robin >/dev/null 2>&1
ls /robin/p10404530... | sdgdsffdsfff/tools-2 | oracle-install/install.sh | Shell | gpl-2.0 | 2,344 |
#!/bin/bash -
# libguestfs
# Copyright (C) 2013 Red Hat Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This ... | pombredanne/libguestfs | tests/mountable/test-mountable-inspect.sh | Shell | gpl-2.0 | 2,446 |
#!/bin/sh
mkdir -p mnttmp
rm -f working.dmg
gunzip < template.dmg.gz > working.dmg
hdiutil attach working.dmg -noautoopen -quiet -mountpoint mnttmp
# NOTE: output of hdiutil changes every now and then.
# Verify that this is still working.
DEV=`hdiutil info|tail -1|awk '{print $1}'`
rm -rf mnttmp/Recipes.app
mv ./Recip... | matthiasclasen/gr | osx/build-osx-installer.sh | Shell | gpl-3.0 | 492 |
cat <<EOF
>>> This driver uses SNA as the default acceleration method. You can try
falling back to UXA if you run into trouble. To do so, save a file with
the following content as /etc/X11/xorg.conf.d/20-intel.conf :
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
... | mkslack/pkgBuildBot | buildtools/xorgdrv1/xf86-video-intel/doinst.sh | Shell | gpl-3.0 | 419 |
#!/bin/bash
VALUE=$1
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TMPDIR="/tmp/ps2_${USER}/"
mkdir -p $TMPDIR
cd $TMPDIR
# Download the pre-trained model file
flock $TMPDIR -c "test ! -e resnet50_coco_best_v2.0.1.h5 && wget https://github.com/OlafenwaMoses/ImageAI/releases/download/1.0/resnet50_coc... | ginolhac/tutorials | sequential/examples/images/run_object_recognition.sh | Shell | gpl-3.0 | 513 |
# ------------------------------------------------------------------------
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to Yo... | ilarischeinin/chipster | ext/applications/apache-activemq-5.10.0/examples/other/perfharness/perfharness-activemq.sh | Shell | gpl-3.0 | 2,190 |
#!/bin/sh
# Ensure "ls --color" properly colors other-writable and sticky directories.
# Before coreutils-6.2, this test would fail, coloring all three
# directories the same as the first one -- but only on a file system
# with dirent.d_type support.
# Copyright (C) 2006-2017 Free Software Foundation, Inc.
# This pro... | adtools/coreutils | tests/ls/color-dtype-dir.sh | Shell | gpl-3.0 | 1,803 |
#!/bin/bash
if [[ -z "$LIB_PATH" ]] ; then
echo "ERROR: No se ha declarado la ruta de librerias"
exit 1
fi
. $LIB_PATH/utils.sh
. $LIB_PATH/hard.sh
. $LIB_PATH/parted.sh | Dte-ba/ett-bots | lib/source.sh | Shell | gpl-3.0 | 177 |
#!/bin/bash
#cd ../molmodel_legacy/simbody
#mkdir build-debug
#cd build-debug
#cmake ..
#make -j4
#sudo make install
#cd ../../
cd ../molmodel_legacy # EU
mkdir build-debug
cd build-debug
cmake ..
make -j12
sudo make install
#cd ../../openmm
#mkdir build-debug
#cd build-debug
#cmake ..
#make -j4
#sudo make install
... | spirilaurentiu/GMolmodel | cmake_regenerateMolmodel.sh | Shell | gpl-3.0 | 364 |
#!/bin/bash
cd `dirname $BASH_SOURCE`
if [ -f log/server.out ]
then
echo 'INFO: Rotating log/server.out ...'
cat log/server.out > log/server.out.1
truncate --size 0 log/server.out
fi
if [ -f log/server.err ]
then
echo 'INFO: Rotating log/server.err ...'
cat log/server.err > log/server.err.1
tr... | bazgu/front-node | logrotate.sh | Shell | agpl-3.0 | 354 |
#!/bin/bash
slots=/sys/devices/bone_capemgr.*/slots
dtbs="gpio_hd44780 gpio_leds tlc5946 gpio_buttons spi1 jd-t18003-ctrl"
for a in $dtbs; do
echo $a > $slots
done
| piranha32/IOoo | examples/apply_overlays.sh | Shell | lgpl-3.0 | 168 |
#!/bin/bash
pandoc --from markdown --to html -c swiss.css -o index.html llamada.md
| guatejug/files | JavaDay2015/CFP/build.sh | Shell | apache-2.0 | 84 |
#!/bin/sh
curl http://127.0.0.1:9991/
| baldrailers/ari | _examples/script/sendDtmf.sh | Shell | apache-2.0 | 39 |
#!/bin/sh
DIR=$(cd $(dirname "$0") && pwd)
cd ${DIR}
case $(uname) in
Linux)
(cd ${DIR} && sudo docker build -t lumifyio/dev dev)
;;
Darwin)
(cd ${DIR} && docker build -t lumifyio/dev dev)
;;
*)
echo "unexpected uname: $(uname)"
exit -1
;;
esac
| Steimel/lumify | docker/build-dev.sh | Shell | apache-2.0 | 281 |
#!/bin/bash
export https_proxy=$http_proxy
export INSTALL_DIR=$HOME/raven_libs/root/opt/raven_libs
rm -Rvf $INSTALL_DIR
./pip_ve_osx.sh
#Create raven environment script.
mkdir -p $HOME/raven_libs/root/opt/raven_libs/environments
PROFILE_FILE=$HOME/raven_libs/root/opt/raven_libs/environments/raven_libs_profile
cat - >... | idaholab/raven | developer_tools/packaging/pip_package.sh | Shell | apache-2.0 | 741 |
#!/bin/bash
set -e
case "$1" in
java8)
echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jdk_x64_linux_hotspot_8u312b07.tar.gz"
;;
java11)
echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.13%2B8/OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_... | Buzzardo/spring-boot | ci/images/get-jdk-url.sh | Shell | apache-2.0 | 538 |
#!/usr/bin/env bash
TAGS=`git describe --abbrev=0 --tags`
VERSIONS=`echo $TAGS | sed 's/V//'`
RELEASE=`echo $CI_JOB_ID`
run_source() {
./util/makesrc $TAGS
}
run_build() {
mkdir -p ~/rpmbuild/SOURCES/
mv -f ~/nano-${VERSIONS}.tar.gz ~/rpmbuild/SOURCES/.
scl enable llvm-toolset-7 devtoolset-7 'rpmbuild... | clemahieu/raiblocks | ci/build-centos.sh | Shell | bsd-2-clause | 928 |
#!/bin/bash
#
# Copyright (C) 2010 Intel Corporation
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program ... | xiaojunwu/crosswalk-test-suite | wrt/tct-pm-wrt-tests/scripts/wrt_pm_OfflineUpdate_MultiApp.sh | Shell | bsd-3-clause | 1,837 |
#!/bin/sh
for package in $(go list ./...)
do
DIR=$(echo $package | sed 's%github.com/materials-commons/gohandy%.%')
mkdir -p docs/$DIR
godoc $package > docs/$DIR/package.txt
done
| materials-commons/gohandy | makedocs.sh | Shell | mit | 192 |
#!/bin/bash
#
# vercmptest - a test suite for the vercmp/libalpm program
#
# Copyright (c) 2009-2018 by Pacman Development Team <pacman-dev@archlinux.org>
# Copyright (c) 2008 by Dan McGee <dan@archlinux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GN... | eli-schwartz/pacman | test/util/vercmptest.sh | Shell | gpl-2.0 | 3,201 |
#!/bin/bash
if [ "$1" == "clean" ]; then
read -p "Do you really want to delete existing packages? [y/N]"
[[ $REPLY == [yY] ]] && { rm -fr zoneminder*.build zoneminder*.changes zoneminder*.deb; echo "Existing package files deleted"; } || { echo "Packages have NOT been deleted"; }
exit;
fi
DATE=`date -R`
DISTRO=$1
... | schrorg/ZoneMinder | utils/do_debian_package.sh | Shell | gpl-2.0 | 2,458 |
#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
#
# Based in part upon ebuild.sh from Portage, which is Copyright 1995-2005
# Gentoo Foundation and distributed under the terms of the GNU General
# Public License v2.
#
# This file is part of the Paludis package manager. P... | chutzimir/paludis | paludis/repositories/e/ebuild/exheres-0/pkg_prerm.bash | Shell | gpl-2.0 | 1,755 |
# Refs of upstream : main(A)
# Refs of workbench: main(A) tags/v123
# git push : next(A) refs/for/main/topic(A)
test_expect_success "proc-receive: no hook, fail to push special ref ($PROTOCOL)" '
test_must_fail git -C workbench push origin \
HEAD:next \
HEAD:refs/for/main/topic \
... | felipec/git | t/t5411/test-0011-no-hook-error.sh | Shell | gpl-2.0 | 2,248 |
#! /bin/sh
# Copyright (C) 2001-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/nobase-libtool.sh | Shell | gpl-2.0 | 2,246 |
#!/bin/sh
./sim_isp_orig --out /tmp/out --simtime 10
./sim_background --dir /tmp/ --tau 10 --simtime 10
| idiot-z/auryn | examples/tests.sh | Shell | gpl-3.0 | 105 |
#!/usr/bin/env bash
set -eux
ANSIBLE_ROLES_PATH=../ ansible-playbook test.yml -e '@../../integration_config.yml' -i inventory "$@"
| aperigault/ansible | test/integration/targets/ansible-runner/runme.sh | Shell | gpl-3.0 | 133 |
#!/bin/bash -e
oc project demo &>/dev/null
for template in $(oc get templates -n openshift | sed 1d | awk '{print $1;}'); do
echo $template
if oc process -n openshift $template | oc create -f - &>/dev/null; then
for bc in $(oc get bc | sed 1d | awk '{print $1;}'); do
oc start-build --follow $bc
done
... | ianmiell/demobuilder | layers/rhel-server-7:gui:ose-3.0:offline/@target/dobuilds.sh | Shell | gpl-3.0 | 395 |
#!/bin/sh
# Show that we've eliminated most of ls' failing getxattr syscalls,
# regardless of how many files are in a directory we list.
# This test is skipped on systems that lack LD_PRELOAD support; that's fine.
# Similarly, on a system that lacks getxattr altogether, skipping it is fine.
# Copyright (C) 2012-2013 F... | mmayer/coreutils | tests/ls/getxattr-speedup.sh | Shell | gpl-3.0 | 2,262 |
#!/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/spice-usbredir/build.sh | Shell | apache-2.0 | 704 |
#!/bin/bash
#
# This scripts starts the OpenShift server with a default configuration.
# No registry or router is setup.
# It is intended to test cli commands that may require docker and therefore
# cannot be run under Travis.
source "$(dirname "${BASH_SOURCE}")/../../hack/lib/init.sh"
os::util::environment::setup_time... | jeffvance/origin | test/extended/cmd.sh | Shell | apache-2.0 | 10,393 |
#!/bin/bash
##
# Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
# This file is part of openmano
# 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
#
# ... | nfvlabs/openmano | openvim/test/2VM_NoHuge.sh | Shell | apache-2.0 | 4,755 |
#! /bin/sh
# Quick hack to figure out where is the space coming from
FILE=$1
if [ -z "$FILE" -o "$FILE" = "-h" ] ; then
echo "Usage: $0 binary"
exit 1
fi
TMPRESULT=`mktemp /tmp/nm_out.XXX`
RESULT=$TMPRESULT
echo "Working on $FILE, intermediate nm result in $RESULT"
nm -C --defined-only --print-size -l $FILE > ... | ldemailly/wdt | build/binary_analyzer.sh | Shell | bsd-3-clause | 1,497 |
#!/bin/sh
[ -n "$status_db_type" ] && db_type=$status_db_type
if [ "$db_type" = "mysql" ]; then
ENGINE="ENGINE=MyISAM DEFAULT CHARSET=utf8"
else
ENGINE=
fi
cat <<EOF
CREATE TABLE IF NOT EXISTS status_new (
name VARCHAR(64) NOT NULL,
operation VARCHAR(64) NOT NULL,
progress INTEGER DEFAULT 0,
... | yahoo/gearbox | workers/gearbox/sql/status-migration/6.undo.sql.sh | Shell | bsd-3-clause | 830 |
#!/bin/sh
# Copyright (C) 1999-2006 ImageMagick Studio LLC
#
# This program is covered by multiple licenses, which are described in
# LICENSE. You should have received a copy of LICENSE with this
# package; otherwise see http://www.imagemagick.org/script/license.php.
. ${srcdir}/tests/common.shi
${RUNENV} ${MEMCHECK} ... | ipwndev/DSLinux-Mirror | user/imagemagick/src/tests/rwfile_MIFF_truecolor16.sh | Shell | gpl-2.0 | 366 |
#!/bin/sh
#
# Copyright (C) 2015, 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/.
fail=0
if $PERL -e 'use File::Fetch... | pecharmin/bind9 | bin/tests/system/statschannel/prereq.sh | Shell | mpl-2.0 | 442 |
#!/bin/sh
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib:"
# We don't need to duplicate any of the env setup from rcS, since we will only ever run this to *restart* nickel, and not bootstrap it.
# Meaning we've already got most of the necessary env from nickel itself via both our launcher (fmon/KFMon) and our own startu... | poire-z/koreader | platform/kobo/nickel.sh | Shell | agpl-3.0 | 5,023 |
#!/usr/bin/env bash
# Copyright 2009 Red Hat Inc., Durham, North Carolina.
# All Rights Reserved.
#
# OpenScap CVSS Module Test Suite.
#
# Authors:
# Maros Barabas <mbarabas@redhat.com>
# Ondrej Moris <omoris@redhat.com
. $builddir/tests/test_common.sh
# Test cases.
# check vector against expected value... | mpreisler/openscap | tests/API/CVSS/test_api_cvss.sh | Shell | lgpl-2.1 | 768 |
#!/bin/bash -x
# Make sure we are executing in this script's directory
cd "$( cd "$( dirname "$0" )" && pwd )"
rm -R Results
mkdir Results
DIR="$( pwd )"
if [ $# -lt 6 ]
then
# $0 $1 $2 $3 $4 $5 $6 $7 (optional)
echo... | Azure/azure-mobile-services-test | sdk/iOS/RunInstruments.sh | Shell | apache-2.0 | 5,595 |
#!/bin/bash
#/ trigger local ci test run
. rd_versions.sh
set -euo pipefail
IFS=$'\n\t'
readonly ARGS=("$@")
DOCKER_DIR=$PWD/test/docker
usage() {
grep '^#/' <"$0" | cut -c4- # prints the #/ lines above as usage info
}
die(){
echo >&2 "$@" ; exit 2
}
check_args(){
if [ ${#ARGS[@]} -gt 0 ] ; then
D... | damageboy/rundeck | run-docker-api-tests.sh | Shell | apache-2.0 | 984 |
#!/usr/bin/env bash
# The master for this script exists in the Python '2.7' directory. Do
# not edit the version of this script found in other directories. When
# the version of the script in the Python '2.7' directory is modified,
# it must then be be copied into other directories. This is necessary as
# Docker when ... | GrahamDumpleton/mod_wsgi-docker | 3.5/entrypoint.sh | Shell | apache-2.0 | 1,010 |
#!/bin/bash
# removing un-needed packages and apt cache to reduce disk space consumed
apt-get -y autoremove
apt-get -y clean
apt-get purge linux-headers-$(uname -r) build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev
echo "Cleaning up mongodb"
echo "db.dropDatabase()" | mongo pxe
echo "Cleaning up rackhd lo... | tldavies/RackHD | packer/scripts/cleanup.sh | Shell | apache-2.0 | 1,271 |
#!/bin/bash
unset cloudpv
unset cloudsource
unset nodenumber
unset want_sles12sp1
export cloudpv=/dev/loop0
export cloudsource=develcloud6
export nodenumber='2'
export want_sles12sp1=2
exec /path/to/mkcloud "$@"
| gosipyan/automation | docs/basic-mkcloud-config.sh | Shell | apache-2.0 | 214 |
#! /bin/bash
#
# This file is part of khmer, https://github.com/dib-lab/khmer/, and is
# Copyright (C) Michigan State University, 2009-2015. It is licensed under
# the three-clause BSD license; see doc/LICENSE.txt.
# Contact: khmer-project@idyll.org
#
#
# download test data from:
#
# https://s3.amazonaws.com/pub... | F1000Research/khmer | doc/run-corn-50m.sh | Shell | bsd-3-clause | 2,777 |
#!/bin/sh
MD5TOOL=../file_md5
TEMP_DIR=/tmp/rdd9test_temp$$
mkdir -p ${TEMP_DIR}
BASE_COMMAND="../../apps/raw2bmx/raw2bmx --regtest -t rdd9 -o ${TEMP_DIR}/rdd9test.mxf -y 10:11:12:13 --clip test --part 12 "
if [ "$5" != "" ]; then
BASE_COMMAND="$BASE_COMMAND -f $5 "
fi
# create essence data
../create_test_essen... | xunchangguo/BMX | test/rdd9_mxf/create.sh | Shell | bsd-3-clause | 734 |
#!/bin/bash
curl http://www.usb.org/developers/tools/comp_dump > ../Resources/usb-vendors.txt
| ajostergaard/ControlPlane | Utilities/update-usb-data.sh | Shell | bsd-3-clause | 95 |
#! /bin/bash
set -u
function parseGlide() {
cat $1 | grep -A1 $2 | grep -v $2 | awk '{print $2}'
}
# fetch and checkout vendored dep
glide=$1
lib=$2
echo "----------------------------------"
echo "Getting $lib ..."
go get -t github.com/tendermint/$lib/...
VENDORED=$(parseGlide $glide $lib)
cd $GOPATH/src/github... | wangluinc/ethermint | vendor/github.com/tendermint/tendermint/scripts/glide/checkout.sh | Shell | gpl-3.0 | 557 |
#!/bin/sh -ex
#EMBLEM_FILE="emblems.tar.gz"
NAUTILUS_EXTENSION="nautilus_panbox.py"
# copy python extension
if [ -f "$NAUTILUS_EXTENSION" ]
then
mkdir -p ~/.local/share/nautilus-python/extensions
mkdir -p ~/.local/share/nautilus-python/extensions/img && echo "[+] created python extension dirs"
cp nautilus_panbox.p... | tidatida/PanBox | panbox-linux/src/org/panbox/desktop/linux/nautilus/install.sh | Shell | gpl-3.0 | 905 |
#!/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... | gistic/PublicSpatialImpala | bin/start-impalad.sh | Shell | apache-2.0 | 2,330 |
[ "$FREETZ_PATCH_ALARMCLOCK" == "y" ] || return 0
echo1 "adding alarm-clock"
modpatch "$FILESYSTEM_MOD_DIR" "${PATCHES_COND_DIR}/${FREETZ_TYPE_LANGUAGE}/alarmclock_${FREETZ_TYPE_PREFIX}.patch"
| bs-github/freetz | patches/scripts/480-add_3rd_alarmclock.sh | Shell | gpl-2.0 | 194 |
# Copyright: 2017 Masatake YAMATO
# License: GPL-2
CTAGS="$1 --quiet --options=NONE --fields=+lK"
list_kinds()
{
echo '#'
echo '#' list kinds$2 $1
echo '#'
${CTAGS} -o - \
--options=./event.ctags \
--options=./hook.ctags \
--options=./plugin.ctags \
--list-kinds$2=$1
}
list_kinds C
list_kinds E... | masatake/ctags | Tmain/nested-subparsers.d/run.sh | Shell | gpl-2.0 | 2,972 |
#!/bin/sh
# Demonstrate bug when using -d with an existing destination file
# that is a symlink.
# Copyright (C) 2000-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 Fo... | ZheJiuShiMing/coreutils | tests/cp/deref-slink.sh | Shell | gpl-3.0 | 982 |
#!/bin/sh
# copy a sparse file to a pipe, to exercise some seldom-used parts of copy.c
# Copyright (C) 2011-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, ... | mmayer/coreutils | tests/cp/sparse-to-pipe.sh | Shell | gpl-3.0 | 1,088 |
#!/usr/bin/env bash
#
# Copyright (c) 2015 Jeromy Johnson
# MIT Licensed; see the LICENSE file in this repository.
#
test_description="test bitswap commands"
. lib/test-lib.sh
test_init_ipfs
test_launch_ipfs_daemon
test_expect_success "'ipfs bitswap stat' succeeds" '
ipfs bitswap stat >stat_out
'
test_expect_suc... | disorganizer/brig | vendor/github.com/ipfs/go-ipfs/test/sharness/t0220-bitswap.sh | Shell | agpl-3.0 | 1,801 |
#!/bin/sh
PROJECT=libcork
COMMIT="$1"
if [ -z "$COMMIT" ]; then
COMMIT="HEAD"
fi
VERSION=$(git describe ${COMMIT})
git archive --prefix=${PROJECT}-${VERSION}/ --format=tar ${COMMIT} | \
bzip2 -c > ${PROJECT}-${VERSION}.tar.bz2
| Jigsaw-Code/outline-client | third_party/shadowsocks-libev/libcork/make-dist.sh | Shell | apache-2.0 | 238 |
#! /bin/sh
#
# Copyright (c) 1999, 2006 Tanuki Software Inc.
#
# Java Service Wrapper sh script. Suitable for starting and stopping
# wrapped Java applications on UNIX platforms.
#
#-----------------------------------------------------------------------------
# These settings can be modified to fit the needs of you... | maheshika/wso2-synapse | modules/distribution/src/main/bin/synapse-daemon.sh | Shell | apache-2.0 | 15,065 |
#!/usr/bin/env bash
echo "installing npm dependencies"
rm -rf node_modules > /dev/null 2>&1
npm cache clean
npm install
echo "running build task"
npm run build | kenzanlabs/pipeline-handyman | bin/build.sh | Shell | apache-2.0 | 161 |
#!/bin/bash
#
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"... | pkdevbox/stratos | products/stratos/modules/distribution/src/bin/manage-git-repo.sh | Shell | apache-2.0 | 5,210 |
#!/bin/bash
# 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 ... | kshafiee/kubernetes | hack/update-openapi-spec.sh | Shell | apache-2.0 | 2,222 |
#!/bin/bash
# Datadog Agent install script for Mac OS X.
set -e
logfile=ddagent-install.log
dmg_file=/tmp/datadog-agent.dmg
dmg_url="https://s3.amazonaws.com/dd-agent/datadog-agent-5.4.2.dmg"
# Root user detection
if [ $(echo "$UID") = "0" ]; then
sudo_cmd=''
else
sudo_cmd='sudo'
fi
# get real user (in case o... | yuecong/dd-agent | packaging/osx/install.sh | Shell | bsd-3-clause | 3,728 |
#!/bin/sh
#
# show_files.sh
export XBPS_TARGET_ARCH="$2" XBPS_DISTDIR=/hostrepo
while read -r pkg; do
for subpkg in $(xsubpkg $pkg); do
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
xbps-query --repository=$HOME/hostdir/binpkgs \
--repository=$HOME/hostdir/binpkgs/nonfree \
-f "$subpkg"
done
don... | necrophcodr/void-packages | common/travis/show_files.sh | Shell | bsd-2-clause | 339 |
#!/bin/sh
# Test the -I option added to coreutils 6.0
# Copyright (C) 2006-2015 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, ... | kdave/coreutils | tests/rm/interactive-once.sh | Shell | gpl-3.0 | 4,861 |
#!/bin/bash
#
# update-pandoc
#
# Copyright (C) 2009-12 by RStudio, Inc.
#
# Unless you have received this program directly from RStudio pursuant
# to the terms of a commercial license agreement with RStudio, then
# this program is licensed to you under the terms of version 3 of the
# GNU Affero General Public License... | ppc64le/build-scripts | r/rstudio/Dockerfiles/0.99.903_ubuntu_14.04/common/update-mathjax.sh | Shell | apache-2.0 | 842 |
#!/bin/bash -l
set -eo pipefail
function setup_gpadmin_user() {
./gpdb_src/concourse/scripts/setup_gpadmin_user.bash "$TEST_OS"
}
# Get ssh private key from REMOTE_KEY, which is assumed to
# be encode in base64. We can't pass the key content directly
# since newline doesn't work well for env variable.
function i... | Chibin/gpdb | concourse/scripts/aix_remote_cleanup.bash | Shell | apache-2.0 | 1,291 |
#!/bin/bash -e
[ -d m4 ] || mkdir m4
autopoint --force
libtoolize --copy --force
aclocal -I m4
autoconf
autoheader --force
automake --foreign --add-missing --copy
rm -rf autom4te.cache
( cd widgets && ./autogen.sh )
| karmix/anaconda | autogen.sh | Shell | gpl-2.0 | 216 |
#!/usr/bin/env bash
# Init vars
if [[ -z "$SERVICE_PHPFPM_OPTS" ]]; then SERVICE_PHPFPM_OPTS=""; fi
source /opt/docker/bin/config.sh
includeScriptDir "/opt/docker/bin/service.d/php-fpm.d/"
exec /usr/local/bin/php-fpm --nodaemonize $SERVICE_PHPFPM_OPTS
| webdevops/Dockerfile | provisioning/php/general/bin/service.d/php-fpm.sh | Shell | mit | 256 |
#! /bin/bash
ARDUBLOCK_ZIP=ardublock.zip
ARDUBLOCK_DIR=ardublock.translations
if [ -f $ARDUBLOCK_ZIP ]; then
if [ -d $ARDUBLOCK_DIR ]; then
rm -rf $ARDUBLOCK_DIR
fi
mkdir $ARDUBLOCK_DIR
cd $ARDUBLOCK_DIR
unzip -q ../$ARDUBLOCK_ZIP
translated_files=`ls -l */* | grep -v " 93" | awk '{print $9}'`
for file i... | Elecrow-keen/Ardublock | target/classes/com/ardublock/block/i18n.sh | Shell | gpl-3.0 | 574 |
#!/bin/bash
if [[ $target_platform =~ linux.* ]] || [[ $target_platform == win-32 ]] || [[ $target_platform == win-64 ]] || [[ $target_platform == osx-64 ]]; then
export DISABLE_AUTOBREW=1
$R CMD INSTALL --build .
else
mkdir -p $PREFIX/lib/R/library/leapp
mv * $PREFIX/lib/R/library/leapp
if [[ $target_platfor... | ostrokach/bioconda-recipes | recipes/r-leapp/build.sh | Shell | mit | 2,755 |
#!/bin/sh
set -x -e
make
cp RepeatScout build_lmer_table ${PREFIX}/bin
| dmaticzka/bioconda-recipes | recipes/repeatscout/build.sh | Shell | mit | 72 |
#!/usr/bin/env bash
./reinstate.py "$@"
./checkin.py "$@"
| foobarbazblarg/stayclean | stayclean-2021-january/reinstate-and-checkin.sh | Shell | mit | 59 |
npm uninstall $REMOVE_DEPS
npm install $DEPS | maratonato/slides | treinamento1/node_modules/grunt-retro/test/install_deps.sh | Shell | mit | 44 |
#!/bin/sh
#
# Copyright (c) 2007 Andy Parkins
#
test_description='for-each-ref test'
. ./test-lib.sh
. "$TEST_DIRECTORY"/lib-gpg.sh
# Mon Jul 3 15:18:43 2006 +0000
datestamp=1151939923
setdate_and_increment () {
GIT_COMMITTER_DATE="$datestamp +0200"
datestamp=$(expr "$datestamp" + 1)
GIT_AUTHOR_DATE="$da... | alex-zhang/git | t/t6300-for-each-ref.sh | Shell | gpl-2.0 | 17,048 |
SCRIPT_NAME=elf
OUTPUT_FORMAT="elf32-i386"
NO_RELA_RELOCS=yes
ENTRY=_main
TEXT_BASE=0x0
DYN_TEXT_BASE=0x00400000
TEXT_START_ADDR="(DEFINED(_DYNAMIC) ? ${DYN_TEXT_BASE} : ${TEXT_BASE})"
case ${LD_FLAG} in
n|N) TEXT_START_ADDR=0x1000 ;;
esac
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
ARCH=i386
MACHINE=
NOP=0x9090
TEMPLATE_... | jlspyaozhongkai/Uter | third_party_backup/binutils-2.25/ld/emulparams/i386lynx.sh | Shell | gpl-3.0 | 454 |
#!/usr/bin/env bash
#
# Bash wrapper for running groker.py in crontab
#
test_python () {
if ! ${PYTHON_BIN} -c 'import yaml ; import plumbum' &> /dev/null ; then
echo 'Error: Could not find pyyaml or plumbum modules!' >&2
echo 'Info: Tip: install them in a virtualenv, with:' >&2
echo 'Info... | eripa/groker | groker-wrapper.sh | Shell | mit | 1,521 |
for item in `awk -F ' ' '{print $1}' HICP.txt`
do
wget --header="Accept:application/vnd.sdmx.structurespecificdata+xml;version=2.1" https://sdw-wsrest.ecb.europa.eu/service/data/ICP/M.PT.N.$item.4.INX
echo "item $item is done"
done
| BadWizard/Inflation | DATA/temp/PT/script-data.sh | Shell | mit | 240 |
java -jar BON.jar -mcp ~/ksrc/githubTCPRKC/MinecraftForge/fml -from OBF -to MCP -side UNIVERSAL -in libs/quivering.zip -out quivernow.jar
| Robotia/ExtraUtilities | ExtraUtilitiesBuilder/deobf.sh | Shell | mit | 139 |
curl -o .bash_prompt https://raw.githubusercontent.com/mimiflynn/dotfiles/master/shared/bash/.bash_prompt
curl -o .bash_profile https://raw.githubusercontent.com/mimiflynn/dotfiles/master/shared/bash/.bash_profile
source .bash_profile | mimiflynn/dotfiles | shared/bash/install.sh | Shell | mit | 234 |
#!/bin/bash
what="tests/"
if [[ $# -ge 1 ]]; then
what="$@"
fi
exec python3 -m pytest -v --log-level=DEBUG --junit-xml=unit-test-results.xml --cov=scuba --cov=tests $what
| JonathonReinhart/scuba | run_unit_tests.sh | Shell | mit | 176 |
#!/bin/sh
prog=ellip5OneM_test.m
depends="ellip5OneM_test.m test_common.m \
schurexpand.oct schurdecomp.oct schurOneMscale.m \
tf2schurOneMlattice.m schurOneMlatticeNoiseGain.m schurOneMlattice2Abcd.oct \
schurOneMlatticeFilter.m KW.m bin2SD.oct crossWelch.m p2n60.m qroots.m \
qzsolve.oct"
tmp=/tmp/$$
here=`pwd`
if ... | robertgj/DesignOfIIRFilters | test/01/t0123a.sh | Shell | mit | 1,972 |
#!/bin/bash
IFS=$'\n'
THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TESTS_DIR="$( cd "${THIS_DIR}/.." && pwd )"
BIN_DIR="${TESTS_DIR}/bin"
NANO_PKG="github.com/pasztorpisti/nano"
NANO_DIR="$( cd "${TESTS_DIR}/../../../.." && pwd )"
SERVERS_DIR="$( cd "${TESTS_DIR}/.." && pwd )"
SERVERS_PKG="${NANO_PK... | pasztorpisti/nano | examples/example1/servers/tests/helpers/env.sh | Shell | mit | 1,099 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2985-2
#
# Security announcement date: 2016-05-26 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:27 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: i386
#
# Vulnerable packages fix on version:
# - libc-bin:2.15-0ubuntu10.15
# - libc6... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/i386/2016/USN-2985-2.sh | Shell | mit | 1,081 |
#!/bin/bash
set -e
sudo rm /etc/apt/sources.list.d/mongodb*.list
sudo rm /etc/apt/sources.list.d/docker.list
sudo apt-get install hhvm && rm -rf /home/travis/.kiex/
sudo apt-get purge -y mysql-common mysql-server mysql-client
source ~/.nvm/nvm.sh
nvm install v8.10.0
pip install python-coveralls
wget https://raw.git... | RicardoJohann/frappe | .travis/install.sh | Shell | mit | 745 |
export PATH="$HOME/.plenv/shims:$HOME/.plenv/bin:$PATH"
export PLENV_SHELL=zsh
source "$HOME/.plenv/completions/plenv.zsh"
| andrewalker/dotfiles | plenv/path.zsh | Shell | mit | 123 |
#!/bin/bash
read -p "Insert fine or directory name:" VAR
if [ -d "$VAR" ]
then
echo "${VAR} is a directory"
elif [ -f "$VAR" ]
then
echo "${VAR} is a file"
else
echo "${VAR} is something else"
fi
ls -l $VAR
| riccardotommasini/shell-scripting-course | section-two/exe6.sh | Shell | mit | 219 |
archweb_get_pkgbase() {
local pkgbase
pkgbase=$(curl -LGs 'https://archlinux.org/packages/search/json/' --data-urlencode "q=$1" |
jq -r --arg pkgname "$1" 'limit(1; .results[] | select(.pkgname == $pkgname).pkgbase)')
[[ $pkgbase ]] || return
printf '%s\n' "$pkgbase"
}
| falconindy/asp | archweb.inc.sh | Shell | mit | 286 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2016:1551
#
# Security announcement date: 2016-08-03 08:14:20 UTC
# Script generation date: 2017-01-25 21:23:48 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - firefox.i686:45.3.0-1.el6_8
# - firef... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2016/RHSA-2016:1551.sh | Shell | mit | 1,218 |
#!/usr/bin/env bash
rm -rf bin
mkdir bin
# android
wget --no-check-certificate -P bin/release/android/armeabi-v7a https://s3.amazonaws.com/jlibtorrent1/release/android/armeabi-v7a/libjlibtorrent.so
wget --no-check-certificate -P bin/release/android/arm64-v8a https://s3.amazonaws.com/jlibtorrent1/release/android/arm64... | aldenml/frostwire-jlibtorrent | swig/get-binaries.sh | Shell | mit | 1,302 |
#!/bin/bash
# URL list generator for YAMA
# Requirements: apt-get install pwgen
MYNAME=`basename $0`
if [ $# -ne 3 ]; then
echo "usage: ${MYNAME} <output file> <format> <opeartion>"
echo "<output file>: output filename to write URL list"
echo "<format>: csv or http"
echo "<operation>: GET operation to generate i... | vitovitolo/yama | utils/url_file_generator.sh | Shell | mit | 1,381 |
#!/bin/bash
# If executing
# ./7.exercise.11.ch04.04.test.bash | grep -v LIE | cut -f2 | sort -u | wc -l
# returns 100, we know each number from 1 to 100 is reachable on 8 answers
for i in {y,n}{y,n}{y,n}{y,n}{y,n}{y,n}{y,n}{y,n}; do
result=$(echo $i | ./a.out 2>&1 | tail -n2 | grep -o '[0-9]*\|LIE' | paste - -... | 0p3r4t4/PPPUCPP2nd | ch07/7.exercise.11.ch04.04.test.bash | Shell | mit | 354 |
docker run -t -i jmarin/supervisor
| jmarin/devops | supervisor/run.sh | Shell | mit | 35 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.