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 |
|---|---|---|---|---|---|
curl http://downloads.drone.io/release/linux/amd64/drone.tar.gz | tar zx
sudo install -t /usr/local/sbin drone
rm -f drone
BASH_PROFILE=/home/vagrant/.bash_profile
echo "export DRONE_SERVER=" >> $BASH_PROFILE
echo "export DRONE_TOKEN=" >> $BASH_PROFILE
| CiscoCloud/vaquero-vagrant | provision_scripts/drone.sh | Shell | apache-2.0 | 255 |
#!/usr/bin/env bash
#
# Copyright 2020 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | googleapis/google-cloud-cpp | ci/lib/io.sh | Shell | apache-2.0 | 4,325 |
#!/bin/bash
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | google-research/smore | smore/training/vec_scripts/train_freebase.sh | Shell | apache-2.0 | 1,433 |
#!/bin/bash
#######
# This file contains instructions to build the demo environment
# from source
#
# - as root,
# - within a bare Ubuntu 14.04 docker image
#
# 1. To launch into the bare image, use
# sudo docker run -p 3000:3000 -p 3350:3350 -p 3111:3111 -p 8080:8080 -it ubuntu:14.04 /bin/bash
#
# 2. Copy an... | manuel-freire/wp2-demo | go.sh | Shell | apache-2.0 | 10,296 |
# !/bin/sh
if ifconfig | grep -q vpp-dhcpd; then ip link del vpp-dhcpd; fi; \
if ip netns list | grep -q dhcpd; then ip netns del dhcpd; fi;
ip link add name vpp-dhcpd type veth peer name dhcpd-vpp
ip netns add dhcpd
ip link set dhcpd-vpp netns dhcpd
# ip netns exec dhcpd vconfig add dhcpd-vpp 10
# ip netns exec dhcp... | halexan/msc | test/dhcp/namespace.sh | Shell | apache-2.0 | 1,002 |
#!/sbin/sh
#
# /system/addon.d/10-mapsapi.sh
#
. /tmp/backuptool.functions
list_files() {
cat <<EOF
etc/permissions/com.google.android.maps.xml
framework/com.google.android.maps.jar
EOF
}
case "$1" in
backup)
list_files | while read FILE DUMMY; do
backup_file $S/$FILE
done
;;
restore)
list_fi... | microg/android_frameworks_mapsv1 | mapsv1-flashable/src/main/files/system/addon.d/10-mapsapi.sh | Shell | apache-2.0 | 618 |
#!/bin/bash
# Copyright 2019 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 to... | GoogleCloudPlatform/healthcare-federated-access-services | deploy/build-templates/dam/entrypoint.bash | Shell | apache-2.0 | 3,480 |
#!/usr/bin/env bash
FAKE="packages/build/FAKE/tools/FAKE.exe"
BUILDSCRIPT="build/scripts/Targets.fsx"
mono .paket/paket.bootstrapper.exe
if [[ -f .paket.lock ]]; then mono .paket/paket.exe restore; fi
if [[ ! -f .paket.lock ]]; then mono .paket/paket.exe install; fi
mono $FAKE $BUILDSCRIPT "cmdline=$*" --fsiargs -d:MO... | CSGOpenSource/elasticsearch-net | build.sh | Shell | apache-2.0 | 324 |
#!/bin/bash
set -e
# Use -gt 1 to consume two arguments per pass in the loop (e.g. each argument has a corresponding value to go with it).
# Use -gt 0 to consume one or more arguments per pass in the loop (e.g. some arguments don't have a corresponding value
# to go with it such as in the --default example).
#
while [... | code-tv/code-tv | agent/scripts/render.sh | Shell | apache-2.0 | 3,703 |
#!/bin/bash
# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
rm /var/lib/dhcp/*
# Make sure Udev doesn't block our network
echo "cleaning up udev rules"
rm /etc/udev/rules.d/70-persistent-net.rules
mkdir /etc/udev/rules.d/70-persistent-net.rules
rm -rf /dev/.udev/
rm /lib/udev/rules.d/75... | oakensoul/apv-ansible-citadel | scripts/cleanup.sh | Shell | apache-2.0 | 665 |
#!/bin/bash
export PYTHONPATH='../../'
nohup /home/bgshin/.virtualenvs/mxnet/bin/python -u /home/bgshin/works/mxnet_cnn/src/shm/w2v_shm_loader.py > mkshm.txt &
while [ ! -f /dev/shm/s17_y_tst_400 ]
do
sleep 2
done
ls /dev/shm/
echo 'done'
| bgshin/mxnet_cnn | src/shm/mkshm.sh | Shell | apache-2.0 | 243 |
#! /bin/bash
set -e
source omsagent.version
usage()
{
local basename=`basename $0`
echo "usage: ./$basename <path to omsagent-<version>.universal.x64{.sh, .sha256sums, .asc}> [path for zip output]"
}
input_path=$1
output_path=$2
PACKAGE_NAME="oms$OMS_EXTENSION_VERSION.zip"
if [[ "$1" == "--help" ]]; then
... | vityagi/azure-linux-extensions | OmsAgent/packaging.sh | Shell | apache-2.0 | 1,346 |
#!/usr/bin/env bash
#
# Deploy to Azure, which requires some shell magic to make things happy
#
# TODO: How do we check to see if the azure xplat tools are installed?
# Are the azure tools installed
# if [ `azure -v` ]
# Get the machine name from the command line or prompt for it
if [ "x$1" = "x" ]; then
echo "Plea... | dhruvplaytabase/vagrant-vms-reemo | nitrogen/deploy-azure.sh | Shell | apache-2.0 | 1,750 |
#!/bin/bash
export ILIB_HOME=../../..
DEST=../locale
rm localize.js
touch localize.js
# add IT, TW, and CH when they are ready
for locale in AU BE CN DE ES FR GB HK IE IN LU MX NL NZ SG US XX KR
do
echo Generating $locale ...
mkdir -p $DEST/und/$locale
../../../bin/tablemaker ${locale}.txt ${locale}.json
mv ${locale... | iLib-js/iLib | js/data/phone/genphone.sh | Shell | apache-2.0 | 1,530 |
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
# Skip API tests
export REPOFS_SKIP_API_TEST=true
# mocha --debug-brk
mocha --reporter spec --compilers js:babel-register --bail --timeout 15000
| GitbookIO/repofs | scripts/test-no-api.sh | Shell | apache-2.0 | 197 |
#!/bin/bash
DELAY=3
while [ 1 ]; do
IFS=$'\n'
CPU_TEMP=`cat /sys/class/thermal/thermal_zone1/temp`
/opt/beerbox/bin/OLED.py --parameter CPU_TEMP --value $CPU_TEMP
sleep $DELAY
sensor=0
while [ $sensor -le 1 ]
do
temp=`digitemp_DS9097U -t $sensor -q -r2000 -c /opt/beerbox/etc/digi... | RipZ/beerbox | scripts/temp_to_OLED.sh | Shell | apache-2.0 | 609 |
#!/bin/bash
set -e
this_local_dir=$(cd `dirname $0` && pwd)
if [ -z "$this_local_dir" ] || [ ! -d "$this_local_dir" ] ; then echo "Failed $0"; exit 1; fi
vocab_full=$1; shift
transcription=$1; shift
perl $this_local_dir/phonetic_transcription_dummy.pl $vocab_full $transcription
| UFAL-DSG/kams | kams/local/prepare_dummy_transcription.sh | Shell | apache-2.0 | 282 |
#!/bin/bash
PASS=${MYSQL_PASS:-$(pwgen -s 12 1)}
_word=$( [ ${MYSQL_PASS} ] && echo "preset" || echo "random" )
echo "=> Creating MySQL admin user with ${_word} password"
mysql -uroot -e "CREATE USER 'admin'@'%' IDENTIFIED BY '$PASS'"
mysql -uroot -e "GRANT ALL PRIVILEGES ON *.* TO 'admin'@'%' WITH GRANT OPTION"
ech... | freistil/freistil-docker-lamp | mysql/init/20-admin.sh | Shell | apache-2.0 | 747 |
#!/bin/bash
CERT=${1-}
PKEY=${2-}
if [[ -z $CERT || -z $PKEY ]] ; then
echo "Usage: ${0} CERT PKEY"
echo ""
exit 1;
fi
openssl x509 -modulus -in $CERT
openssl rsa -modulus -in $PKEY
#####
# EOF
| bewest/homeware | homeware-ec2-dev/check.sh | Shell | apache-2.0 | 205 |
#!/bin/sh
mpirun -np 4 -machinefile /home/eolson/am-macs/machinefile1234 /home/eolson/am-macs/local/bin/pyMPI tileImage.py -c am8screens $*
| rpwagner/tiled-display | flTile/am8screens.sh | Shell | apache-2.0 | 140 |
#!/bin/bash
echo "mvn deploy -V -B -DskipTests"
mvn deploy -V -B -DskipTests | javalite/activejdbc | .travisci/deploy.sh | Shell | apache-2.0 | 77 |
#!/bin/bash
set -e
trap 'echo >&2 Ctrl+C captured, exiting; exit 1' SIGINT
image="$1"; shift
docker build --pull -t repo-info:local-apk -q -f Dockerfile.local-apk . > /dev/null
docker build --pull -t repo-info:local-dpkg -q -f Dockerfile.local-dpkg . > /dev/null
docker build --pull -t repo-info:local-rpm -q -f Docke... | docker-library/repo-info | scan-local.sh | Shell | apache-2.0 | 1,787 |
#!/bin/bash
name_pattern="TA_response*"
find . -maxdepth 3 -mindepth 1 -type f -name $name_pattern | while read dir
do
./sampleRead_exe $dir
done
| seanpquinn/augerta | reco/batch_adelaide_bin_to_text.sh | Shell | apache-2.0 | 156 |
#!/bin/bash
echo "access with browser http://localhost:8080/kjwikigdocker/"
set -xe
docker run -p 8080:8080 --rm --name kjwikigdocker -e KJWikiG_defaultWord=StartPage georgesan/kjwikigdocker:latest
docker rm -f kjwikigdocker
set +xe
| george-pon/kjwikigdocker | test-run-for-docker.sh | Shell | apache-2.0 | 235 |
#! /usr/bin/env bash
# Cleaning directories
echo "Initiating Glyphs Scripts setup"
if [ -f "/private/etc/cron.d/sync_git_repos" ] ; then
sudo rm /private/etc/cron.d/sync_git_repos
fi
if [ ! -f "$/etc/cron.d" ] ; then
sudo mkdir /etc/cron.d
fi
cd /etc/cron.d
if [ -e "/tmp/GlyphsScriptsConfi" ] ; then
rm -r /tmp/Glyph... | zar-nicolas20/GlyphsApp-Package-Install | GlyphsScriptsConfi.sh | Shell | apache-2.0 | 52,318 |
TARGET_ARCH=amd64
KERNCONF=GENERIC
IMAGE_SIZE=$((2000 * 1000 * 1000))
generic_amd64_partition_image ( ) {
# TODO: create UEFI disk
# basic setup
disk_partition_mbr
disk_ufs_create
disk_ufs_label 1 bsdrootfs || exit 1
# boot loader
echo "Installing bootblocks($TARGET_ARCH)"... | wheelcomplex/crochet-freebsd | board/GenericAMD64/setup.sh | Shell | bsd-2-clause | 1,174 |
#/bin/sh
_DIR=$(dirname $BASH_SOURCE)
echo pushd ${_DIR}/..
pushd ${_DIR}/..
pub run test:test -p vm -p dartium -r expanded | alextekartik/mdl_js_react.dart | test/run_all.sh | Shell | bsd-2-clause | 125 |
#!/bin/sh
set -e
uname -a
${CC} --version
python --version
pip --version
./configure
make
make clean
#sudo pip install -r requirements.txt
#sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install libgsm1-dev libsndfile1-dev tcpdump curl
tcpdump --version || true
mkdir de... | hongbinz/rtpproxy | scripts/do-test.sh | Shell | bsd-2-clause | 849 |
#!/bin/bash
PWD="/usr/src/nanny/backend"
export PYTHONIOENCODING=utf-8
cd $PWD
DATE=`date +"%Y%m%d"`
python crawler.py nanny_$DATE.sqlite > log_$DATE.txt
if [ $? = "0" ]; then
cp nanny_$DATE.sqlite nanny.sqlite
fi
| Shihta/nanny | config/crawler.sh | Shell | bsd-3-clause | 222 |
#!/bin/sh
# First parameter gives config file
echo "Parametry $@"
echo "Pocet parametru $#"
add=""
add2=""
if [ $# -eq 1 ]; then
echo "in iff"
add="-cf"
add2="$1"
fi
echo "add $add"
python lisa.py -ni -dd ~/data/medical/processed/spring2014/exp010-seeds/org-liver-orig001.mhd-exp010-seeds.pklz
python li... | mjirik/lisa | experiments/exp-spring2014.sh | Shell | bsd-3-clause | 2,468 |
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="your-old-email@example.com"
CORRECT_NAME="Your Correct Name"
CORRECT_EMAIL="your-correct-email@example.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
export GIT_COMMITTER_NAME="$CORRECT_NAME"
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
fi
if [ "$GI... | herrbischoff/dotfiles | home/bin/git-author-rewrite.sh | Shell | bsd-3-clause | 560 |
#!/usr/bin/env bash
# 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.
# The syscall package provides access to the raw system call
# interface of the underlying operating system. Porting Go to
# a new architectur... | akutz/go | src/syscall/mkall.sh | Shell | bsd-3-clause | 12,348 |
sed -e "s/^.*;//; s/,/ /g" $1|while read line || [ -n "$line" ]; do
a=( $line )
echo "${a[*]}"|tr " " "\n"|sort|uniq -d
done
| nikai3d/ce-challenges | moderate/array_absurdity.bash | Shell | bsd-3-clause | 129 |
#!/bin/bash
sed -i 's|127.0.0.1|'"${DBHOST}"'|g' app/config.app.php
sed -i 's|".*/FrameworkBenchmarks/php-pimf|"'"${TROOT}"'|g' deploy/php-pimf
sed -i 's|Directory .*/FrameworkBenchmarks/php-pimf|Directory '"${TROOT}"'|g' deploy/php-pimf
sed -i 's|root .*/FrameworkBenchmarks/php-pimf|root '"${TROOT}"'|g' deploy/php-pi... | kellabyte/FrameworkBenchmarks | frameworks/PHP/php-pimf/setup.sh | Shell | bsd-3-clause | 632 |
#!/bin/bash
# Driver script if you're using a virtualenv called 'env' and want to
# activate it.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
pushd $DIR > /dev/null
source env/bin/activate
pushd src > /dev/null
exec ./tw.py $@
popd > /dev/null
popd > /dev/null
| wingu/tracewhack | tw.sh | Shell | bsd-3-clause | 277 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Debug
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/testpreparat... | Rossoner40/NBU-Classwork-and-Homework | OOP/TestPreparation/nbproject/Package-Debug.bash | Shell | mit | 1,491 |
#!/bin/bash
# ex40.sh (burn-cd.sh)
# Script to automate burning a CDR.
SPEED=10 # May use higher speed if your hardware supports it.
IMAGEFILE=cdimage.iso
CONTENTSFILE=contents
# DEVICE=/dev/cdrom For older versions of cdrecord
DEVICE="1,0,0"
DEFAULTDIR=/opt # This is the directory containing the data to... | yimng/LEARN | abs/16/burn-cd.sh | Shell | mit | 1,587 |
#!/bin/bash
# +---------------------------------------------------------------------------+
# | script for deploying a Seagull release |
# +---------------------------------------------------------------------------+
# args
REVISION_NUM=$1
PREVIOUS_REVISION_NUM=$(($REVISION_NUM - 1)... | demianturner/seagullframework-sandbox | etc/deploy_remote.sh | Shell | mit | 2,804 |
#!/usr/bin/env bash
exec ${0/*${TOOLCHAIN}-/\/usr\/bin\/x86_64-linux-gnu-} -m32 "$@"
| dockcross/dockcross | linux-x86/i686-linux-gnu.sh | Shell | mit | 85 |
#!/bin/bash
mkdir -p tmp/rivers
cargo build
PORT=3100 cargo run &
JOB=$!
sleep 1
cargo test && kill $JOB
| tempbottle/john | build.sh | Shell | mit | 108 |
#!/bin/bash
# Before executing this script make sure you have the 64 bit debian package installed.
cat safecheckerfiles.txt | zip safechecker-linux-64.zip -@
zip -r safechecker-linux-64.zip /opt/safechecker
| proxysh/Safejumper-for-Mac | buildlinux/makezipsafechecker64.sh | Shell | gpl-2.0 | 207 |
#!/bin/sh
# Script to download and install Flash Player.
# Only works on Intel systems.
dmgfile="flash.dmg"
volname="Flash"
logfile="/Library/Logs/FlashUpdateScript.log"
# Are we running on Intel?
if [ '`/usr/bin/uname -p`'="i386" -o '`/usr/bin/uname -p`'="x86_64" ]; then
# Get the latest version of Flash Player ava... | fproject/f-project | installFlash.sh | Shell | gpl-2.0 | 2,867 |
#!/bin/sh
# Copyright (C) 2014 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 Licens... | akiradeveloper/lvm2 | test/shell/lvmetad-client-filter.sh | Shell | gpl-2.0 | 677 |
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) 2014-2018 Oracle and/or its affiliates. All Rights Reserved.
# Copyright (c) 2018 Petr Vorel <pvorel@suse.cz>
# Author: Alexey Kodanev alexey.kodanev@oracle.com
TST_SETUP="dhcp_lib_setup"
TST_CLEANUP="dhcp_lib_cleanup"
TST_TESTFUNC="test01"
TS... | pevik/ltp | testcases/network/dhcp/dhcp_lib.sh | Shell | gpl-2.0 | 4,334 |
#!/bin/bash
make distclean >/dev/null 2>&1
./configure \
--with-pic \
--disable-static \
--enable-shared \
--disable-directx \
--disable-sdl \
--without-x
make
strip libmpeg2/.libs/*.dll
| xbmc/atv2 | xbmc/cores/dvdplayer/Codecs/libmpeg2/make-xbmc-lib-win32.sh | Shell | gpl-2.0 | 206 |
# do nothing...
| plesiv/hac | hac/config/runner/py.exec_compile.5.sh | Shell | gpl-2.0 | 16 |
#! /bin/sh
. ../../testenv.sh
analyze_failure repro.vhdl
analyze_failure repro2.vhdl
clean test
echo "Test successful"
| tgingold/ghdl | testsuite/gna/issue9/testsuite.sh | Shell | gpl-2.0 | 124 |
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) 2009 IBM Corporation
# Copyright (c) 2018-2020 Petr Vorel <pvorel@suse.cz>
# Author: Mimi Zohar <zohar@linux.ibm.com>
TST_TESTFUNC="test"
TST_SETUP_CALLER="$TST_SETUP"
TST_SETUP="ima_setup"
TST_CLEANUP_CALLER="$TST_CLEANUP"
TST_CLEANUP="ima_cleanup"... | linux-test-project/ltp | testcases/kernel/security/integrity/ima/tests/ima_setup.sh | Shell | gpl-2.0 | 7,999 |
#!/bin/sh
# This shell-script will import some GNS authorities into your GNS
# namestore.
gnunet-namestore -a -e never -n fcfs -p -t PKEY -V 72QC35CO20UJN1E91KPJFNT9TG4CLKAPB4VK9S3Q758S9MLBRKOG
| h4ck3rm1k3/gnunet-debian | contrib/gnunet-gns-import.sh | Shell | gpl-3.0 | 194 |
#!/usr/bin/env zsh
# author: Filipe Silva (ninrod)
SCRIPTPATH=$(cd $(dirname $0); pwd -P) && cd $SCRIPTPATH
GIT_ROOT=$(git rev-parse --show-toplevel)
DIR=~/.config/ranger
TARGET=.
if [[ -d $DIR ]]; then
rm -rf $DIR
else
rm -f $DIR
fi
ln -s $(readlink -f $TARGET) $DIR
| ninrod/dotfiles | options/ubuntu/ranger/makelink.zsh | Shell | gpl-3.0 | 276 |
#!/bin/sh
echo -n 'Preparing files...'
cd ..
rm -f tanglet.desktop.in
cp tanglet.desktop tanglet.desktop.in
sed -e '/^Name\[/ d' \
-e '/^GenericName\[/ d' \
-e '/^Comment\[/ d' \
-e '/^Icon/ d' \
-e '/^Keywords/ d' \
-i tanglet.desktop.in
rm -f tanglet.appdata.xml.in
cp tanglet.appdata.xml tanglet.appdata.xml.... | enz/tanglet | icons/po/update-pot.sh | Shell | gpl-3.0 | 1,234 |
#!/bin/sh
#
# srecord - Manipulate EPROM load files
# Copyright (C) 2011 Peter Miller
#
# 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... | freyc/SRecord | etc/man-html-index.sh | Shell | gpl-3.0 | 1,681 |
#!/bin/bash
#-----------------------------------------------------------------
# Runs serial version of merge throught sbatch on TACC
#
# This script requests one core (out of 16) on one node. The job
# will have access to all the memory in the node. Note that this
# job will be charged as if all 16 cores were request... | ogreen/avx-sort | src/sbatchrun.sh | Shell | gpl-3.0 | 1,389 |
if [[ -n "${ANSIBLE_VAULT_PASSWORD:-}" ]]; then
export ANSIBLE_VAULT_PASSWORD_FILE=$(mktemp)
echo "${ANSIBLE_VAULT_PASSWORD}" > "${ANSIBLE_VAULT_PASSWORD_FILE}"
else
>&2 echo "ERROR: ANSIBLE_VAULT_PASSWORD unset or empty"
exit 1
fi
| wtsi-hgi/hgi-ansible | ci/before_scripts.d/15-ansible-vault-pw.sh | Shell | gpl-3.0 | 248 |
#!/bin/bash
#
# Script will be run after parameterization has completed, e.g.,
# use this to compile source code that has been parameterized.
#
# avoid error message in syslog
echo $1 | sudo -S touch /dev/xconsole
echo $1 | sudo -S chown syslog:adm /dev/xconsole
| cliffe/SecGen | modules/utilities/unix/labtainers/files/Labtainers-master/labs/sys-log/sys-log/_bin/fixlocal.sh | Shell | gpl-3.0 | 266 |
#!/bin/bash
if [ -z "$1" ] ; then
cat << EOF
$0: Install the needed packages.
-------------------------------------
This script install:
* Some basic packages like vim, less, bash-completion
* Working packages like postgresql lighttpd default-jre-headless
* Utils packages like zip unzip git-core rsync
EOF
e... | BloatIt/bloatit | deployment/install/040-installPackages.sh | Shell | agpl-3.0 | 598 |
ghc -O2 main.hs -o ../aheui
| xnuk/Comparison-of-aheui-implementations | test/xnuk.haskell-aheui.sh | Shell | unlicense | 28 |
#!/usr/bin/env bash
# Copyright 2014 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | ravisantoshgudimetla/kubernetes | cluster/gce/config-test.sh | Shell | apache-2.0 | 29,153 |
#!/bin/sh
if [ -z "$MYSQL_PORT" ]; then
MYSQL_PORT=3306
fi
echo "
create database if not exists domeos;
create database if not exists graph;
create database if not exists portal;
" > ./create.sql;
mysql -h ${MYSQL_HOST} -P ${MYSQL_PORT} -u ${MYSQL_USERNAME} -p${MYSQL_PASSWORD} < ./create.sql;
sleep 5
echo "use do... | domeos/server | src/main/resources/old-version.v0.2/mysql-initialize.sh | Shell | apache-2.0 | 737 |
#!/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... | milindaperera/product-ei | distribution/src/scripts/tools/forgetme/forgetme.sh | Shell | apache-2.0 | 3,750 |
#3> <#> a <http://purl.org/twc/vocab/conversion/CSV2RDF4LOD_environment_variables> ;
#3> rdfs:seeAlso
#3> <http://purl.org/twc/page/csv2rdf4lod/distributed_env_vars>,
#3> <https://github.com/timrdf/csv2rdf4lod-automation/wiki/Script:-source-me.sh> .
export CSV2RDF4LOD_CKAN="true"
export CSV2RDF4LOD_CKAN_S... | timrdf/snoozl | data/source/csv2rdf4lod-source-me-when-zzz.sh | Shell | apache-2.0 | 524 |
#!/bin/bash
loglevel="none"
echo ">>> REMOVING PREVIOUS TEST DATABASE"
node index.js --log-level $loglevel --delete-app test --config "./tests/config.test.json"
echo ">>> CREATING TEST DATABASE"
node index.js --log-level $loglevel --add-app test --config "./tests/config.test.json"
echo ">>> CREATING API KEY"
node inde... | fruum/fruum | tests/run.sh | Shell | apache-2.0 | 954 |
#!/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}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | developerXiong/CYBleManager | Pods/Target Support Files/Pods-CYBluetoothManager/Pods-CYBluetoothManager-frameworks.sh | Shell | mit | 3,749 |
#!/bin/bash
FN="yeast.db0_3.8.2.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/annotation/src/contrib/yeast.db0_3.8.2.tar.gz"
"https://bioarchive.galaxyproject.org/yeast.db0_3.8.2.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-yeast.db0/bioconductor-yeast.db0_3.8.2_src_all.tar.gz"
)
MD... | mdehollander/bioconda-recipes | recipes/bioconductor-yeast.db0/post-link.sh | Shell | mit | 1,292 |
#!/bin/sh
set -e
set -x
cat <<EOF > /etc/installurl
https://fastly.cdn.openbsd.org/pub/OpenBSD
EOF
pkg_add sudo--
cat <<EOF > /etc/sudoers
#includedir /etc/sudoers.d
EOF
mkdir /etc/sudoers.d
cat <<EOF > /etc/sudoers.d/vagrant
Defaults:vagrant !requiretty
vagrant ALL=(ALL) NOPASSWD: ALL
root ALL=(ALL) NOPASSWD: ALL
... | reallyenglish/packer-templates | http/openbsd-6.3/install-chroot.sh | Shell | mit | 403 |
# Validation test for the urdf youbot model
rosrun xacro xacro.py `rospack find youbot_description`/robots/youbot_base.urdf.xacro -o ./youbot_base.urdf
rosrun urdf check_urdf ./youbot_base.urdf
rosrun xacro xacro.py `rospack find youbot_description`/robots/youbot_arm.urdf.xacro -o ./youbot_arm.urdf
rosrun urdf check_... | MatoMA/youbot_description | tests/test_urdf_model.sh | Shell | mit | 639 |
# About environment variables
lesson_title "Variables"
test_setting_the_variable() {
local variable=1
assertEqual 1 __
}
test_using_double_quotes() {
local variable=2
assertEqual "foo $variable" __
}
test_unsetting_variables() {
local newVariable="Foooo"
unset newVariable
assertEqual $newVariable __
}... | nadavc/bash_koans | src/00_about_variables.sh | Shell | mit | 1,500 |
#!/bin/bash
#
# This test was used in a set of CMD3 tests (cmd3-4 test).
LUSTRE=${LUSTRE:-`dirname $0`/..}
. $LUSTRE/tests/test-framework.sh
init_test_env $@
. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
assert_env CLIENTS MDSRATE SINGLECLIENT MPIRUN
MACHINEFILE=${MACHINEFILE:-$TMP/$(basename $0 .sh).machines}
BASEDIR=$MO... | behlendorf/lustre | lustre/tests/mdsrate-create-large.sh | Shell | gpl-2.0 | 3,928 |
#!/bin/bash
set -e
#Setup common variables
export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabi-
export AS=${CROSS_COMPILE}as
export LD=${CROSS_COMPILE}ld
export CC=${CROSS_COMPILE}gcc
export AR=${CROSS_COMPILE}ar
export NM=${CROSS_COMPILE}nm
export STRIP=${CROSS_COMPILE}strip
export OBJCOPY=${CROSS_COMPILE}objcopy
... | cubieboard/Cubieboard5-kernel-source | scripts/build_crane-standard.sh | Shell | gpl-2.0 | 8,730 |
#!/bin/bash
# Build the OMERO base VirtualBox image using Veewee.
# Example: ./build_base_image.sh Debian-7.7.0-amd64-omerobase
set -e -x
if [ $# -ne 1 ]; then
echo Usage: `basename $0` base_definition_name
exit 1
fi
if [ -d "$HOME/VirtualBox VMs/" ]; then
VBOXVMS="$HOME/VirtualBox VMs/"
else
echo "Cannot find V... | manics/ome-veewee | build_base_image.sh | Shell | gpl-2.0 | 2,128 |
#! /bin/sh
# Copyright (C) 2010-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/auxdir6.sh | Shell | gpl-2.0 | 1,438 |
#!/bin/bash
# This script rebuilds customized layer of Dojo for tt-rss
# Place unpacked Dojo source release in this directory and run this script.
# It will automatically replace previous build of Dojo in ../dojo
# Dojo requires Java runtime to build. Further information on rebuilding Dojo
# is available here: http:/... | maerco/tinytinyrss | lib/dojo-src/rebuild-dojo.sh | Shell | gpl-3.0 | 1,291 |
#! /bin/sh
adb logcat | ndk-stack -sym ../obj/local/armeabi-v7a > crashdump.log
| fzurita/mupen64plus-ae | tools/ndk-stack.sh | Shell | gpl-3.0 | 81 |
#!/bin/bash
# This attempts to stop all your emulators (on Ubuntu 18.10 at least...) nicely
#
# ...then if they don't stop it kills them
for EMU_ID in `adb devices -l | grep emulator | cut -d' ' -f1`; do
echo Stopping emulator $EMU_ID...
adb -s $EMU_ID emu kill
done
sleep 10
for PID in `ps -eo pid,cmd,args |grep... | ankidroid/Anki-Android | tools/quality-check/stop_all_emulators.sh | Shell | gpl-3.0 | 457 |
#! /bin/sh
$XGETTEXT text_vcard.cpp rc.cpp -o $podir/kmail_text_vcard_plugin.pot
$XGETTEXT text_calendar.cpp attendeeselector.cpp delegateselector.cpp rc.cpp -o $podir/kmail_text_calendar_plugin.pot
$XGETTEXT text_xdiff.cpp rc.cpp -o $podir/kmail_text_xdiff_plugin.pot
| lefou/kdepim-noakonadi | plugins/kmail/bodypartformatter/Messages.sh | Shell | lgpl-2.1 | 269 |
#! /usr/bin/env bash
#
# Copyright (c) 2013-2016 Commonwealth Computer Research, Inc.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0 which
# accompanies this distribution and is available at
# http://www.opensource.org/licenses/... | jahhulbert-ccri/geomesa | geomesa-bigtable/geomesa-bigtable-tools/bin/install-hadoop-hbase.sh | Shell | apache-2.0 | 2,595 |
#!/bin/bash
# Copyright 2015 The Bazel 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 required by ... | bazelbuild/bazel | scripts/ci/build.sh | Shell | apache-2.0 | 15,655 |
#!/usr/bin/env bash
declare -x GITEA_TIME_FORMAT
[[ -z "${GITEA_TIME_FORMAT}" ]] && GITEA_TIME_FORMAT=""
declare -x GITEA_TIME_DEFAULT_UI_LOCATION
[[ -z "${GITEA_TIME_DEFAULT_UI_LOCATION}" ]] && GITEA_TIME_DEFAULT_UI_LOCATION=""
| dockhippie/gitea | v1.12/overlay/etc/entrypoint.d/19-time.sh | Shell | mit | 231 |
#!/bin/bash
WD=
function on_exit { [ -n "$WD" ] && /bin/rm -rf "$WD"; }
WD=$(mktemp -d "/tmp/planet-opensuse-crush.XXXXXXXX")
for d in website/images website/hackergotchi; do
pngcrush -q -d "$WD/" "$d"/*.png
for f in "$WD"/*.png; do
[ -e "$f" ] || continue
size_crushed=$(stat -c '%s' "$f")
... | Gschlotter/planet.opensuse.org | crush.sh | Shell | gpl-2.0 | 524 |
#! /bin/sh
# Copyright (C) 2002-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/pr300-ltlib.sh | Shell | gpl-2.0 | 2,121 |
# Set the different path for this activity
# This is sourced by runit.sh
path=$1
activity=chat
plugindir=$path/../boards/.libs
pythonplugindir=$path
resourcedir=$path/resources
section="/fun"
| keshashah/GCompris | src/chat-activity/init_path.sh | Shell | gpl-2.0 | 193 |
#!/bin/sh
#
# Copyright (c) 2005 Junio C Hamano.
#
USAGE='[--interactive | -i] [-v] [--force-rebase | -f] [--no-ff] [--onto <newbase>] [<upstream>|--root] [<branch>] [--quiet | -q]'
LONG_USAGE='git-rebase replaces <branch> with a new branch of the
same name. When the --onto option is provided the new branch starts
ou... | TextusData/Mover | thirdparty/git-1.7.11.3/git-rebase.sh | Shell | gpl-3.0 | 13,390 |
#!/usr/bin/env 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
# "Lic... | dremio/arrow | ci/travis_script_js.sh | Shell | apache-2.0 | 963 |
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012 Vincent C. Passaro (vincent.passaro@gmail.com)
#
#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 Licens... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5-beta/prod/GEN001940.sh | Shell | apache-2.0 | 4,563 |
#!/bin/bash
# Copyright 2015 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... | squaremo/kubernetes | hack/jenkins/e2e.sh | Shell | apache-2.0 | 18,537 |
#!/bin/bash
pwd
./abgr.exe
./argb.exe
./bgra.exe
./rgba.exe
./cmyk.exe | dmilos/color | example/less-than-1k/format/AAA2/run.sh | Shell | apache-2.0 | 72 |
#!/bin/bash
function use(){
echo "Usage: $0 [sim|phone] paintown-dir"
}
# Check if arguments are given and the paintown directory exists
if [ -n "$2" ] && [ -d "$2" ]; then
if [ "$1" = "sim" ]; then
make clean
CFLAGS='-arch i386' LDFLAGS='-arch i386' CC=/Developer/Platforms/iPhoneSimulator.pla... | scristopher/paintown | misc/allegro-iphone/build-freetype.sh | Shell | bsd-3-clause | 999 |
#!/bin/sh
# Configure script for Hugs (using Microsoft Visual C++)
# Before we can run the configure script, we have to patch some
# incompatabilities between Unix and Windows:
#
# o Visual C++ can't handle the file descriptor that bash (from
# cygwin beta release 16) passes to it when stdout is redirected
# to /... | OS2World/DEV-UTIL-HUGS | src/msc/config.sh | Shell | bsd-3-clause | 1,282 |
#!/bin/bash
config=$(curl -s ${CONFIG_URL})
MEMCACHED_SERVERS=$(echo "$config" | jq -r '.MEMCACHE_HOST')
ACTIVATION_TOKEN=$(echo "$config" | jq -r '.RAILGUN_ACTIVATION_TOKEN')
ACTIVATION_RAILGUN_HOST=$(echo "$config" | jq -r '.RAILGUN_ACTIVATION_HOST')
sed -i "s/^memcached\.servers.*/memcached\.servers = ${MEMCACHED... | ArabellaTech/aa-docker-tools | testing/nginx/railgun/railgun.sh | Shell | mit | 789 |
#!/usr/bin/env bash
# Ensure this file is executable via `chmod a+x lein`, then place it
# somewhere on your $PATH, like ~/bin. The rest of Leiningen will be
# installed upon first run into the ~/.lein/self-installs directory.
export LEIN_VERSION="2.5.0"
case $LEIN_VERSION in
*SNAPSHOT) SNAPSHOT="YES" ;;
*) ... | AeroNotix/brim-template | resources/leiningen/new/brim/lein.sh | Shell | epl-1.0 | 11,958 |
cd $(dirname "$0")
$NDK/ndk-build -B "$@"
# Find instruction in file
# $1: instruction
# $2: file
find_instruction ()
{
local INST=$1
local FILE=$2
grep -q -w -F -e $INST $FILE
if [ $? != 0 ]; then
echo "$INST expected in file $FILE"
exit 1
fi
}
find_instruction "madd.d" mips-fp4... | efortuna/AndroidSDKClone | ndk_experimental/tests/build/mips-fp4/build.sh | Shell | apache-2.0 | 575 |
#!/bin/bash
# Copyright 2017 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 ... | humblec/external-storage | vendor/k8s.io/kubernetes/cluster/kubemark/gce/config-default.sh | Shell | apache-2.0 | 6,843 |
#!/usr/bin/env bash
benchmarks=$(pwd)/$( dirname "${BASH_SOURCE[0]}" )/*
for benchmark in $benchmarks
do
if ! [[ "${benchmark#*.}" =~ (rb|sh)$ ]]; then
$benchmark
echo "================================================================================================"
echo ""
fi
done
| Erol/hanami-router | benchmarks/run.sh | Shell | mit | 300 |
#!/usr/bin/env bash
set -e
###############################################################################
#
# all-tests.sh
#
# Execute tests for edx-platform. This script is designed to be the
# entry point for various CI systems.
#
###############################################################################... | chrisndodge/edx-platform | scripts/all-tests.sh | Shell | agpl-3.0 | 1,087 |
add new file
| rizkaz/TestRebase | test.sh | Shell | mit | 13 |
#!/bin/bash
mkdir -p ${PREFIX}/bin/
mkdir -p ${PREFIX}/share/amplify/
mkdir -p ${PREFIX}/share/amplify/src/
mkdir -p ${PREFIX}/share/amplify/models/
cp -r src/. ${PREFIX}/share/amplify/src
cp -r models/. ${PREFIX}/share/amplify/models
echo "#!/bin/bash" > ${PREFIX}/bin/AMPlify
echo "${PREFIX}/share/amplify/src/AMPlif... | cokelaer/bioconda-recipes | recipes/amplify/build.sh | Shell | mit | 492 |
#!/bin/bash
FN="ALLMLL_1.34.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/experiment/src/contrib/ALLMLL_1.34.0.tar.gz"
"https://bioarchive.galaxyproject.org/ALLMLL_1.34.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-allmll/bioconductor-allmll_1.34.0_src_all.tar.gz"
)
MD5="687fe88... | cokelaer/bioconda-recipes | recipes/bioconductor-allmll/post-link.sh | Shell | mit | 1,282 |
#!/bin/bash
bench="bin/clang-linux-3.2/release/threading-multi/osc_chain_1d"
repeat=5
maxnodes=16
function run {
n=$1
steps=$2
for ((nodes=1 ; nodes < $maxnodes ; nodes++)) ; do
# swap stderr & stdout
mpirun -np $nodes $bench $n $steps $repeat 3>&1 1>&2 2>&3
done
}
function run_all {... | rkq/cxxexp | third-party/src/boost_1_56_0/libs/numeric/odeint/performance/mpi/osc_chain_speedup.sh | Shell | mit | 450 |
#!/bin/bash
#
# ircDDBGateway start script for GUI
# Hans-J. Barthen (DL5DI) - dl5di@gmx.de
#
# description: Starts the G4KLX ircDDBGateway in GUI mode and sets the LC_NUMERIC LOCALE
# to en_US.UTF-8 to make the configfile compatible for GUI and daemon mode.
# config: /etc/sysconfig/ircddbgateway
#
if [ $UID -ne 0 ]; ... | hgraves/My_DVMega | LinuxExtras/CentOS/XReflector/usr/local/bin/xreflector.sh | Shell | gpl-2.0 | 598 |
ARCH=avr:3
MACHINE=
SCRIPT_NAME=elf32avr
OUTPUT_FORMAT="elf32-avr"
MAXPAGESIZE=1
EMBEDDED=yes
TEMPLATE_NAME=generic
TEXT_LENGTH=64K
DATA_LENGTH=4000
EEPROM_LENGTH=2K
DATA_START=0x60
STACK=0x0FFF
| pumpkin83/OpenUH-OpenACC | osprey/cygnus/ld/emulparams/avrmega603.sh | Shell | gpl-3.0 | 196 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.