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
#
# Copyright (c) 2016 Caoimhe Chaos <caoimhechaos@protonmail.com>,
# Ancient Solutions. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of sou... | tonnerre/dockerfiles | apps/quassel/run-quasselcore.sh | Shell | bsd-3-clause | 2,065 |
#!/bin/bash
# Fast fail the script on failures.
set -e
# Verify that the libraries are error free.
dartanalyzer --fatal-warnings \
lib/md_proc.dart \
test/library_test.dart \
tool/build.dart
# Linter
pub run linter:linter `find lib test tool -type f \( -iname "*.dart" ! -iname "*.g.dart" \)`
# TODO Use .analy... | kevmoo/md_proc | tool/travis.sh | Shell | bsd-3-clause | 721 |
#!/bin/sh
#
# Copyright (c) 2014 Final Level
# Author: Denys Misko <gdraal@gmail.com>
# Distributed under BSD (3-Clause) License (See
# accompanying file LICENSE)
#
# chkconfig: 2345 61 39
# description: Metis Storage is a CDN and high available http server
# processname: metis_storage
# pidfile: /var/run/metis_stora... | FinalLevel/metis | etc/init.d/metis_storage.sh | Shell | bsd-3-clause | 2,932 |
#!/bin/bash
#------------------------------------------------------------------------------
#
#
#
#
#
#------------------------------------------------------------------------------
PACKAGE_BEEEON="com.rehivetech.beeeon.debug"
# force stop
adb shell am force-stop $PACKAGE_BEEEON
adb shell ps | awk '/com\.android\.c... | BeeeOn/android | tests/monkey/kill-test.sh | Shell | bsd-3-clause | 376 |
#!/bin/bash
#Redpitaya INSTALL SDK install script
NAME=SDK
GREET_MSG="\nSTARTING REDPITAYA SDK INSTALLATION..."
LIB_MSG="\nINSTALLING REDPITAYA LIBRARIES...\n"
GCC_LINARO_MSG="INSTALLING GCC LINARO...\n"
RP_INCLUDE=./include
#ECLIPSE_DL=.
GCC_LINARO_DL=gcc-linaro-arm-linux-gnueabi-2012.03-20120326_linux
GCC_LINARO_D... | ydre/kit-soft | RedPitaya/install.sh | Shell | bsd-3-clause | 2,391 |
#!/bin/bash
INPUT=$1
OUTPUT_NAME=$2
OUTPUT='/tmp/movie/'
mkdir -p $OUTPUT
rm $OUTPUT/*
ffmpeg -i $INPUT -an -f image2 -r 4 -s 64x27 $OUTPUT/image_%05d.jpg
TexturePacker --algorithm MaxRects --padding 0 --disable-rotation --format libgdx $OUTPUT --data $OUTPUT_NAME.txt --sheet $OUTPUT_NAME.png
| 0x90sled/droidtowers | convert-movie.sh | Shell | mit | 297 |
#!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
XCASSET_FILES=()
realpath() {
DIRECTORY="$(cd "${1%/*}" && pwd)"
FILENAME="${1##*/}"
echo "$DIRECTORY/$FILENAME"
}
install_reso... | yaliyingwy/YwenCrypto | ios/Pods/Target Support Files/Pods/Pods-resources.sh | Shell | mit | 6,209 |
#!/bin/bash
# Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
build_root=$(cd "$(dirname "$0")/.." && pwd)
cd $build_root/node
# Set up links in the npm cache to ensure we're exercising all the code in
# the repo, rathe... | kevinledinh/azure-iot-sdks | jenkins/linux_node.sh | Shell | mit | 914 |
#!/bin/bash
set -e
set -x
JENKINS_VERSION=$(curl -sq https://api.github.com/repos/jenkinsci/jenkins/tags | grep '"name":' | egrep -o '[0-9]+(\.[0-9]+)+' | sort --version-sort | uniq | tail -1)
echo "$JENKINS_VERSION"
JENKINS_SHA=$(curl "http://repo.jenkins-ci.org/simple/releases/org/jenkins-ci/main/jenkins-war/${JEN... | WeDevBrasil/jenkins-php7 | weekly.sh | Shell | mit | 770 |
#!/usr/bin/env bash
#
# Generate release notes for Meza
#
# SET VARIABLES FOR COLORIZING BASH OUTPUT
#
RED='\033[0;31m'
GREEN='\033[0;32m'
BLUE='\033[0;34m'
NC='\033[0m' # No Color
#
# SETUP KNOWN VARS PRIOR TO USER INPUT
#
PREVIOUS_RELEASES=$(git tag -l | sed '/^v0/ d' | sed '/^v1/ d')
LATEST="${PREVIOUS_RELEASES##*... | enterprisemediawiki/meza | src/scripts/do-release.sh | Shell | mit | 5,100 |
#!/bin/bash
source ./envvars.sh
docker-compose up --build -d
| cforlando/PetAdoption-API | start_services.sh | Shell | mit | 61 |
#!/bin/sh
FileList="\
../source/src/highslide-full.packed.js\
../source/src/highslide.config.js\
../source/src/simi.js\
../source/src/spin.js\
../source/src/load-image.js\
../source/src/utils.js\
../source/src/js.cookie.js\
../source/src/thumbsContainer.js\
../source/src/vkApiWrapper.js\
../source/src/vkAppUt... | Leonid-SPB/MovePhotosVk | scripts/genprod.sh | Shell | mit | 1,385 |
vim /etc/apt/sources.list
Ubuntu Sources List Generator
http://repogen.simplylinux.ch/
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get autoremove
apt-get clean
dpkg-reconfigure tzdata
passwd
adduser cs
usermod -a -G sudo cs
visudo
# User privilege specification
root ALL=(ALL:ALL) ALL
cs ALL=(ALL:ALL) ALL... | devotg/dev-deb | Ubuntu.sh | Shell | gpl-2.0 | 968 |
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This disclaimer is not a license and does not grant any
# r... | dimitdim/pineapple | strawberry/fpga/blk_mem_gen_v7_3/simulation/timing/simulate_vcs.sh | Shell | gpl-2.0 | 2,798 |
#! /bin/sh
#
# This script prints all configure-sub.in in src/backends
# directory to standard output. This is meant to be used
# from m4_esyscmd inside configure.ac.
#
# The motivation for this non-standard approach was that
# it allows adding new backends without touching core
# files, which should have simplified th... | shadeslayer/SyncEvolution | build/gen-backends.sh | Shell | gpl-2.0 | 732 |
#!/bin/sh
. /lib/functions.sh
. ../netifd-proto.sh
init_proto "$@"
proto_dhcp_init_config() {
proto_config_add_string 'ipaddr:ipaddr'
proto_config_add_string 'netmask:ipaddr'
proto_config_add_string 'hostname:hostname'
proto_config_add_string clientid
proto_config_add_string vendorid
proto_config_add_boolean 'b... | sprinkler/rainmachine-openwrt-os | package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | Shell | gpl-2.0 | 1,504 |
# git-mergetool--lib is a shell library for common merge tool functions
: ${MERGE_TOOLS_DIR=$(git --exec-path)/mergetools}
IFS='
'
mode_ok () {
if diff_mode
then
can_diff
elif merge_mode
then
can_merge
else
false
fi
}
is_available () {
merge_tool_path=$(translate_merge_tool_path "$1") &&
type "$merge_... | tacker66/git | git-mergetool--lib.sh | Shell | gpl-2.0 | 9,701 |
#!/bin/sh
# Calls gnome-autogen to build Makefiles and run configure
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="ocrfeeder"
(test -f $srcdir/configure.ac) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
exit 1
}
which gnome-a... | thuydang/ocrfeeder | autogen.sh | Shell | gpl-3.0 | 511 |
#!/bin/bash
# flags
set -e
#.tmux.conf
cp tmux/.tmux.conf ~
exit 0
| randradas/myenv | tmux/install.sh | Shell | gpl-3.0 | 69 |
#
# Test bandwidth of webcam stream and that it is working
# Press ^C just once and wait to exit
#
sudo mjpg_streamer -b -i "/usr/local/lib/input_uvc.so -r 640x360 -f 10" -o "/usr/local/lib/output_http.so -p 8081"
wget -O /dev/null http://localhost:8081/?action=stream
sudo killall mjpg_streamer
| jsalin/catrover | test_webcam.sh | Shell | gpl-3.0 | 296 |
#!/bin/sh
F=$1
YAY="Success!"
echo "$0: grepping for $YAY in file $F";
R=`grep $YAY $F`
if [ "$R" = "" ]; then
exit 1;
else
exit 0;
fi
| batmancn/MyLife | works/SipWrapper/sipstack/resiprocate-1.7/nICEr/src/test/success_check.sh | Shell | gpl-3.0 | 141 |
#!/bin/sh
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
olddir=`pwd`
cd $srcdir
AUTORECONF=`which autoreconf`
if test -z $AUTORECONF; then
echo "*** No autoreconf found, please install it ***"
exit 1
fi
set -e
mkdir -p m4
GTKDOCIZE=$(which gtkdocize 2>/dev/null || true)
... | sujitfulse/ostree | autogen.sh | Shell | lgpl-2.1 | 1,063 |
#!/bin/bash
set -euxo pipefail
: ${ANSIBLE_MAJOR_VERSION:=2.10}
/usr/bin/python -m pip uninstall -y ansible ansible-base ansible-core
/usr/bin/python -m pip install -r tests/requirements-${ANSIBLE_MAJOR_VERSION}.txt
mkdir -p /.ssh
mkdir -p cluster-dump
mkdir -p $HOME/.ssh
ansible-playbook --version
# in some cases w... | kubernetes-sigs/kubespray | tests/scripts/testcases_prepare.sh | Shell | apache-2.0 | 670 |
#!/bin/bash
#
#
# 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 writing, software
# dis... | pagespeed/mod_pagespeed | pagespeed/apache/system_tests/mod_pagespeed_message.sh | Shell | apache-2.0 | 795 |
#!/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"); you... | sunlibin/incubator-eagle | eagle-webservice/ui-build.sh | Shell | apache-2.0 | 1,264 |
#!/bin/sh
#
# Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | pagespeed/mod_pagespeed | install/verify_nginx_release.sh | Shell | apache-2.0 | 4,017 |
#!/bin/bash
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
# NOTE(SamYaple): Static gpt partcodes
CEPH_JOURNAL_TYPE_CODE="45B0969E-9B03-4F30-B4C6-B4B80CEFF106"
CEPH_OSD_TYP... | rthallisey/kolla-kubernetes-personal | kolla/docker/ceph/ceph-osd/extend_start.sh | Shell | apache-2.0 | 2,545 |
DEBUG=false
info () { echo >&2 " * $*" ; }
debug () { ! ${DEBUG} || echo >&2 " ~ $*" ; }
error () { echo >&2 "ERROR: $*" ; false ; }
get_image_id ()
{
local old_IFS=$IFS
local result
# split "$1" into "$1 $2 .." on colons
IFS=:
set -- $1
IFS=$old_IFS
case $2 in
local)
... | openshift/postgresql | test/pg-test-lib.sh | Shell | apache-2.0 | 3,928 |
#!/bin/bash
if [ "$JAVA_HOME" = "" ] ; then
echo "ERROR: JAVA_HOME not found in your environment."
echo
echo "Please, set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you want to use."
exit 1
fi
if [ -z "$EXIST_HOME" ]; then
P=$(dirname $0)
if ... | NCIP/cadsr-cgmdr-nci-uk | tools/XFormsFilter/build.sh | Shell | bsd-3-clause | 746 |
#!/usr/bin/env bash
# Runs test for each package
exitcode=0
for PACKAGE in $(cat .scripts/RELEASABLE_PACKAGES) ; do
make test $PACKAGE || exitcode=$?
done
exit $exitcode
| usm4n/cyclejs | .scripts/test-all.sh | Shell | mit | 176 |
#!/usr/bin/env bash
set -x
set -e
tag=2017-GA
docker pull metaskills/mssql-server-linux-tinytds:$tag
container=$(docker ps -a -q --filter ancestor=metaskills/mssql-server-linux-tinytds:$tag)
if [[ -z $container ]]; then
docker run -p 1433:1433 -d metaskills/mssql-server-linux-tinytds:$tag && sleep 10
exit
fi
c... | aharpervc/tiny_tds | test/bin/setup.sh | Shell | mit | 476 |
#!/bin/sh
set -x
function system {
"$@"
if [ $? -ne 0 ]; then
echo "make.sh: unsuccessful command $@"
echo "abort!"
exit 1
fi
}
if [ $# -eq 0 ]; then
echo 'bash make.sh slides1|slides2'
exit 1
fi
name=$1
rm -f *.tar.gz
opt="--encoding=utf-8"
opt=
rm -f *.aux
# Plain HTML documents
html=${name}... | CompPhysics/ComputationalPhysics2 | doc/src/Projects/2018/Project2/make.sh | Shell | cc0-1.0 | 2,062 |
#!/bin/bash
#set -x
set -e
. $HOME/freeswan-regress-env.sh
recipients=`echo $NIGHTLY_WATCHERS | sed -e 's/,/ /g'`
#recipients='mcr@freeswan.org hugh@freeswan.org'
tmpfile=/tmp/msg$$
cat - >$tmpfile
sed -n -e '1,/^$/p' $tmpfile >$tmpfile.headers
sed -n -e '/^$/,$p' $tmpfile >$tmpfile.body
# encrypt body
#gpg --en... | y-trudeau/openswan-patch-meraki | testing/utils/teammail-sample.sh | Shell | gpl-2.0 | 678 |
# ditz bash completion
#
# author: Christian Garbs
#
# based on bzr.simple by Martin Pool
_ditz()
{
local cur=${COMP_WORDS[COMP_CWORD]}
if [ $COMP_CWORD -eq 1 ]; then
# no command yet, show all commands
COMPREPLY=( $( compgen -W "$(ditz --commands)" -- $cur ) )
else
unset COMP_WORDS[COMP_CWORD] # re... | moro/ditz | contrib/completion/ditz.bash | Shell | gpl-3.0 | 1,010 |
#!/usr/bin/env bash
#set -o nounset #exit if an unset variable is used
set -o errexit #exit on any single command fail
# find voltdb binaries in either installation or distribution directory.
if [ -n "$(which voltdb 2> /dev/null)" ]; then
VOLTDB_BIN=$(dirname "$(which voltdb)")
else
VOLTDB_BIN="$(dirname $(di... | simonzhangsm/voltdb | tests/test_apps/kafkaimporter/run.sh | Shell | agpl-3.0 | 5,377 |
#!/bin/bash
PROG="${GRINS_BUILDSRC_DIR}/grins"
INPUT="${GRINS_TEST_INPUT_DIR}/simple_ode.in"
# FIXME: In theory we should be able to solve a scalar problem on
# multiple processors, where ranks 1+ just twiddle their thumbs.
# In practice we get libMesh errors.
#${LIBMESH_RUN:-} $PROG $INPUT
$PROG $INPUT
| nicholasmalaya/grins | test/regression/simple_ode.sh | Shell | lgpl-2.1 | 308 |
#!/bin/bash
set -euo pipefail
source $(dirname $0)/../utils.sh
TEST_ID=$(generate_test_id)
echo "TEST_ID = $TEST_ID"
ROOT=$(dirname $0)/../..
env=nodejs-$TEST_ID
fn=nodejs-hello-$TEST_ID
cleanup() {
log "Cleaning up..."
clean_resource_by_id $TEST_ID
}
if [ -z "${TEST_NOCLEANUP:-}" ]; then
trap cleanu... | fission/fission | test/tests/test_backend_poolmgr.sh | Shell | apache-2.0 | 1,079 |
#!/bin/bash
set -e
trap ctrl_c INT
function ctrl_c() {
exit 1
}
function usage() {
me=$(basename "$0")
echo
echo "Usage: $me build|clean [sample_name]"
echo
exit 2
}
function buildProject() {
dir=$1
echo "*********************** Building $dir"
pushd "$mydir/samples/$dir"
npm... | lrkwz/generator-jhipster | travis/build-samples.sh | Shell | apache-2.0 | 1,117 |
#!/bin/bash
# Copyright 2014 PerfKitBenchmarker 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 requ... | syed/PerfKitBenchmarker | perfkitbenchmarker/data/set-interrupts.sh | Shell | apache-2.0 | 2,490 |
#!/bin/sh
#
# 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");... | tripodsan/jackrabbit-filevault | vault-rcp/src/test/resources/list_tasks.sh | Shell | apache-2.0 | 885 |
#!/bin/bash
# DESCRIPTION
# Defines general utility functions.
# Answers the file name.
# Parameters:
# $1 = The file path.
get_file_name() {
printf "${1##*/}" # Answers file or directory name.
}
export -f get_file_name
# Answers the file extension.
# Parameters:
# $1 = The file name.
get_file_extension() {
loca... | masterots/osx_setup | lib/utilities.sh | Shell | mit | 2,194 |
#!/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_PAM_bilevel.sh | Shell | gpl-2.0 | 362 |
#
# Disable kdump.service for all systemd targets
#
systemctl disable kdump.service
#
# Stop kdump.service if currently running
#
systemctl stop kdump.service
| mpreisler/scap-security-guide-debian | scap-security-guide-0.1.21/RHEL/7/input/fixes/bash/service_kdump_disabled.sh | Shell | gpl-2.0 | 160 |
#!/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/rwblob_G3_truecolor.sh | Shell | gpl-2.0 | 363 |
#!/bin/sh
#
# Copyright (c) 2009, 2010 David Aguilar
#
test_description='git-difftool
Testing basic diff tool invocation
'
. ./test-lib.sh
if ! test_have_prereq PERL; then
skip_all='skipping difftool tests, perl not available'
test_done
fi
LF='
'
remove_config_vars()
{
# Unset all config variables used by git-... | gdb/git | t/t7800-difftool.sh | Shell | gpl-2.0 | 6,942 |
#!/bin/sh
export ZIPNAME=nubdist/iceball-indev-0.2a-6.zip
zip -r $ZIPNAME *.dll *.exe *.txt opencmd.bat docs/ \
clsave/config.json \
clsave/pub/user.json \
clsave/pub/controls.json \
clsave/vol/dummy \
svsave/pub/dummy \
svsave/vol/dummy \
pkg/iceball/halp/ \
pkg/iceball/launch/ \
pkg/iceball/config/ \
pkg/... | 10se1ucgo/iceball | zipdist.sh | Shell | gpl-3.0 | 359 |
#!/bin/sh
sudo chown -R privoxy: /etc/privoxy
sudo chmod -R go-rwx /etc/privoxy
| vitvegl/AppArmor-profiles | ubuntu/x86_64/privoxy.sh | Shell | gpl-3.0 | 81 |
#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/PCI/rhel6/dev/pci-dss-2-Disable_Kudzu.sh | Shell | apache-2.0 | 1,935 |
#!/bin/sh
#-
# Copyright (c) 2010 iXsystems, Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of con... | jhbsz/OSI-OS | usr.sbin/pc-sysinstall/backend/functions-localize.sh | Shell | bsd-3-clause | 12,871 |
#! /bin/sh
set -x
true \
&& rm -f aclocal.m4 \
&& rm -f -r autom4te.cache \
&& rm -f collectd-*.tar.bz2 \
&& rm -f collectd-*.tar.gz \
&& rm -f compile \
&& rm -f config.guess \
&& rm -f config.log \
&& rm -f config.status \
&& rm -f config.sub \
&& rm -f configure \
&& rm -f depcomp \
&& rm -f install-sh \
&& rm -f ... | perfwatcher/collectd-pw | clean.sh | Shell | gpl-2.0 | 1,282 |
#!/bin/sh
test_description='git merge
Testing octopus merge with more than 25 refs.'
. ./test-lib.sh
test_expect_success 'setup' '
echo c0 > c0.c &&
git add c0.c &&
git commit -m c0 &&
git tag c0 &&
i=1 &&
while test $i -le 30
do
git reset --hard c0 &&
echo c$i > c$i.c &&
git add c$i.c &&
git commit ... | tacker66/git | t/t7602-merge-octopus-many.sh | Shell | gpl-2.0 | 2,149 |
#!/usr/bin/env bash
HT_HOME=${INSTALL_DIR:-"$HOME/hypertable/current"}
SCRIPT_DIR=`dirname $0`
$HT_HOME/bin/ht-start-test-servers.sh --clear --no-thriftbroker
echo "CREATE NAMESPACE MATCH_VERSION; quit;" | $HT_HOME/bin/ht shell --batch
echo "USE MATCH_VERSION; CREATE TABLE VERSION('M' MAX_VERSIONS 10); quit;" | $HT... | hypertable/hypertable | tests/integration/general/hql-delete-test.sh | Shell | gpl-3.0 | 1,399 |
#!/usr/bin/env bash
wget "https://valtman.name/files/telegram-cli-1222"
sudo apt-get -y install libreadline6 libreadline-dev libreadline-dev libreadline6-dev libconfig-dev libssl-dev tmux lua5.2 liblua5.2-dev lua-socket lua-sec lua-expat libevent-dev make unzip redis-server autoconf git g++ libjansson-dev libpython-dev... | DarKTeaMoNe/TabChi | install.sh | Shell | gpl-3.0 | 801 |
# 300_create_dp_restore_fs_list.sh
# Purpose: Generate a file system list of objects to restore
# $ /opt/omni/bin/omnidb -filesystem | grep $(hostname)
# test.internal.it3.be:/ '/' FileSystem
[ -f $TMP_DIR/DP_GUI_RESTORE ] && return # GUI restore explicetely requested
/opt/omni/b... | terreActive/rear | usr/share/rear/restore/DP/default/300_create_dp_restore_fs_list.sh | Shell | gpl-3.0 | 1,160 |
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
OS_ROOT=$(dirname "${BASH_SOURCE}")/../..
source "${OS_ROOT}/hack/util.sh"
source "${OS_ROOT}/hack/cmd_util.sh"
os::log::install_errexit
# This test validates template commands
os::cmd::expect_success 'oc get templates'
os::cmd::expect_success 'oc create -f ... | yepengxj/df_st_origin1 | test/cmd/templates.sh | Shell | apache-2.0 | 4,188 |
java -cp ../../classes/production/:../../lib/jline-0.9.9.jar:../../lib/java-cup-11a.jar:../../lib/lpsolve55j.jar:../../lib/ thebeast.util.alchemy.AlchemyWeights2TheBeast \
model.pml bibserv-weight-order.txt \
< corpora/cora/folds/cora-all.trained-for-fold0of10.mln > /tmp/test.weights | 52nlp/thebeast | applications/entityresolution/alchemy2pml-weight-convert.sh | Shell | lgpl-3.0 | 288 |
# $1 = file path $2 = (optional) file content
if [ ! -e $1 ]
then
echo [error] $1 does not exist
exit -1
fi
if [ $2 ]
then
content="`cat $1`"
if [ "$2" != "$content" ]
then
echo [error] $1 content "$content" != "$2"
exit -2
fi
fi
echo [success] file $1 = $2 exist
| jcnelson/syndicate | tools/irods/fuse/test/file_exist.sh | Shell | apache-2.0 | 276 |
pylint --rcfile=scripts/pylint.rc apps scripts *.py
| justintweaver/mtchi-cert-game | makahiki/scripts/run_pylint.sh | Shell | gpl-3.0 | 52 |
# {{{ - Install
# install mime-types, bells and whistles for the desktop
# see http://developers.sun.com/solaris/articles/integrating_gnome.html
# and freedesktop specs
install_tomb() {
# TODO: distro package deps (for binary)
# debian: zsh, cryptsetup, sudo
_message "updating mimetypes..."
cat <<EOF > /tmp/dy... | Narrat/Tomb | extras/desktop/install.zsh | Shell | gpl-3.0 | 2,536 |
#!/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"); you ... | vineetgarg02/hive | testutils/metastore/dbs/oracle/prepare.sh | Shell | apache-2.0 | 3,896 |
#!/bin/bash
sed -i 's|localhost|'"${DBHOST}"'|g' app.pl
sed -i 's|user .*;|user '"$(id -u -n)"';|g' nginx.conf
sed -i 's|server unix.*frameworks-benchmark.sock;|server unix:'"${TROOT}"'/frameworks-benchmark.sock;|g' nginx.conf
fw_depends perl nginx
cpanm --notest --no-man-page \
Dancer@1.3134 \
Dancer::Plugi... | PermeAgility/FrameworkBenchmarks | frameworks/Perl/dancer/setup.sh | Shell | bsd-3-clause | 581 |
#!/bin/sh
# SUMMARY: Test the node_exporter example
# LABELS:
set -e
# Source libraries. Uncomment if needed/defined
#. "${RT_LIB}"
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
NAME=node_exporter
clean_up() {
rm -f ${NAME}*
}
trap clean_up EXIT
# Test code goes here
linuxkit build "${LINUXKIT_EXAMPLES_DIR}/${NAME}.yml"
... | deitch/linuxkit | test/cases/000_build/100_examples/050_node_exporter/test.sh | Shell | apache-2.0 | 328 |
# no tunnels left, Ma!
: ==== cut ====
ipsec auto --status
cat /tmp/pluto.log
: ==== tuc ====
echo end
: ==== end ====
| y-trudeau/openswan-patch-meraki | testing/pluto/dpd-07/final.sh | Shell | gpl-2.0 | 120 |
#! /bin/bash
echo "**************************"
echo "* PUSH CHANGES TO GITHUB *"
echo "**************************"
git diff | grep ^+++
git diff | grep ^---
read -p "You want to continue? [y|*N*]: " OPTION
if [ "$OPTION" == "y" ]; then
read -p "Write the commit message: " MESSAGE
git add . && \
git co... | asanzdiego/curso-groovy-grails-2013 | git-push.sh | Shell | agpl-3.0 | 360 |
#!/bin/bash
# usage xacro2urdf file1.xacro file2.urdf
echo "Converting file $1 in $2"
rosrun xacro xacro.py $1 > $2
| mwimble/ArduinoConroller | summit-xl-ros-stack-read-only/trunk/trunk/summit_xl_sim_hydro/xl_terabot_description/urdf/xacro2urdf.sh | Shell | gpl-2.0 | 119 |
#!/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 l... | StephanEwen/incubator-flink | flink-python/bin/pyflink-shell.sh | Shell | apache-2.0 | 2,994 |
#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $CURRENT_DIR/helpers/helpers.sh
source $CURRENT_DIR/helpers/resurrect_helpers.sh
create_tmux_test_environment_and_save() {
set_screen_dimensions_helper
$CURRENT_DIR/helpers/create_and_save_tmux_test_environment.exp
}
main()... | ibizaman/conffiles | tmux/resurrect/tests/test_resurrect_save.sh | Shell | mit | 592 |
#!/bin/bash
# Hudson Tomcat control script
#
# description: Provides easy control of Hudson-deployed tomcat instance(s)
# Variables for use within this script
DEPLOY_ROOT=$HOME/deploys/mifos-$JOB_NAME-deploy
JVM_TMPDIR=/tmp/hudson-$JOB_NAME-tomcat-tmp
# Variables for use by children/successors of this script
export CA... | AArhin/head | resources/continuous-integration/salesDemo-deploy/tomcat/control.sh | Shell | apache-2.0 | 1,429 |
#!/bin/sh
#
# This test is for checking rtnetlink callpaths, and get as much coverage as possible.
#
# set -e
devdummy="test-dummy0"
ret=0
# set global exit status, but never reset nonzero one.
check_err()
{
if [ $ret -eq 0 ]; then
ret=$1
fi
}
# same but inverted -- used when command must fail for test to pass
c... | raumfeld/linux-am33xx | tools/testing/selftests/net/rtnetlink.sh | Shell | gpl-2.0 | 15,621 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ PhyloProfileData
| blankenberg/bioconda-recipes | recipes/bioconductor-phyloprofiledata/pre-unlink.sh | Shell | mit | 63 |
#
# Copyright (C) 2010 OpenWrt.org
#
. /lib/ramips.sh
PART_NAME=firmware
RAMFS_COPY_DATA=/lib/ramips.sh
platform_check_image() {
local board=$(ramips_board_name)
local magic="$(get_magic_long "$1")"
[ "$#" -gt 1 ] && return 1
case "$board" in
3g-6200n | \
3g-6200nl | \
3g150b | \
3g300m | \
a5-v11 | \
ai... | m2mselect/owrt | target/linux/ramips/base-files/lib/upgrade/platform.sh | Shell | gpl-2.0 | 2,983 |
#!/bin/bash
# Copyright 2015 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 ... | jkhelil/kubernetes | hack/update-generated-protobuf.sh | Shell | apache-2.0 | 1,021 |
#!/bin/bash
if [ -f .veewee_params ]
then
. .veewee_params
fi
# postinstall.sh created from Mitchell's official lucid32/64 baseboxes
date > /etc/vagrant_box_build_time
# Installing the virtualbox guest additions
apt-get -y install dkms
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
cd /tmp
wget http://download.v... | jedi4ever/veewee | templates/ubuntu-11.10-server-amd64-ishaya/postinstall.sh | Shell | mit | 3,063 |
#! /bin/sh
# Copyright (C) 2007 Red Hat, Inc.
# This file is part of Red Hat elfutils.
#
# Red Hat elfutils is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by the
# Free Software Foundation; version 2 of the License.
#
# Red Hat elfutils is dis... | VanirAOSP/external_elfutils | tests/run-unstrip-test.sh | Shell | gpl-2.0 | 1,810 |
#!/bin/bash
set -e
ABSOLUTE_BUILD=`pwd`/build
POSTGRES_DATA="$ABSOLUTE_BUILD/postgres"
NODE_DATA="$ABSOLUTE_BUILD/node"
# Create Postgres instance
mkdir -p $POSTGRES_DATA
# TODO: Handle non-empty directories correctly?
TZ=UTC initdb --encoding="UTF8" --locale="C" $POSTGRES_DATA || true
# TODO: Start postgres and cr... | adeubank/mitro | mitro-core/build.sh | Shell | gpl-3.0 | 350 |
#!/bin/bash
# check that a Sling staged release matches the corresponding svn tags
#
# usage:
# sh check_release_matches_tag.sh 004 /tmp/sling-staging
#
# Note that differences in line endings are not ignored by default.
# doing "EXPORT DIFFOPT=-b" before calling this ignores them.
BASE=$2/$1/org/apache/sling
TAGBASE=... | roele/sling | check_release_matches_tag.sh | Shell | apache-2.0 | 1,075 |
#!/usr/bin/env 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 applica... | krmayankk/kubernetes | hack/make-rules/clean.sh | Shell | apache-2.0 | 1,360 |
#!/bin/bash
# If clang_format_diff.py command is not specfied, we assume we are able to
# access directly without any path.
if [ -z $CLANG_FORMAT_DIFF ]
then
CLANG_FORMAT_DIFF="clang-format-diff.py"
fi
# Check clang-format-diff.py
if ! which $CLANG_FORMAT_DIFF &> /dev/null
then
echo "You didn't have clang-format-dif... | aishnogah/uplift_db | rocksdb-rocksdb-3.6.2/build_tools/format-diff.sh | Shell | bsd-3-clause | 3,385 |
#compdef frontend
zstyle ':completion:*:descriptions' format '%B%d%b'
zstyle ':completion::complete:frontend:*:commands' group-name commands
zstyle ':completion::complete:frontend:*:frontend_points' group-name frontend_points
zstyle ':completion::complete:frontend::' list-grouped
zmodload zsh/mapfile
function _front... | jesseke55/oh-my-zsh | plugins/frontend-search/_frontend-search.sh | Shell | mit | 3,788 |
#!/bin/sh
fatal()
{
echo "fatal: $1" 1>&2
exit 1
}
info()
{
echo "info: $1" 1>&2
}
CURRENT_DIR=`pwd` ||
fatal "could not retrieve current directory"
rm -rf doc-out ||
fatal "could not remove doc-out"
xmllint \
--noout \
--xinclude \
--schema ext/structural-0.1.0/structural-01.xsd \
doc/documentat... | io7m/jfppg | make-xmldoc.sh | Shell | isc | 1,020 |
#!/bin/bash
source "names.sh";
source "comments.sh";
(
declare -A regexes;
echo "package ics";
echo;
echo "// File automatically generated with ./genParams.sh";
echo;
echo "import (";
echo " \"errors\"";
echo " \"fmt\"";
echo " \"regexp\"";
echo " \"strings\"";
echo " \"unicode/utf8\"";
echo;
echo " \"vi... | MJKWoolnough/ics | genParams.sh | Shell | isc | 10,330 |
#!/bin/bash
set -e
vivado -mode batch -source runme.tcl
echo "=========================================================="
md5sum wires_{INT,CLBLL,CLBLM}_[LR]_*.txt | sed -re 's,X[0-9]+Y[0-9]+,XY,' | sort | uniq -c | sort -k3
echo "=========================================================="
md5sum pips_{INT,CLBLL,CLBLM... | SymbiFlow/prjxray-experiments-archive-2017 | tiles_wires_pips/runme.sh | Shell | isc | 394 |
#!/bin/bash
# vim: filetype=sh:tabstop=2:shiftwidth=2:expandtab
gcloud compute zones list --format='value(NAME)'
| pinterb/devtoolbox | binfiles/gcp-zones.sh | Shell | mit | 115 |
spec="consensus"
palette="/tmp/palette.png"
filters="fps=15,scale=320:-1:flags=lanczos"
$HOME/opt/ffmpeg/bin/ffmpeg -v warning -i final.$spec.%05d.tga -vf "$filters,palettegen" -y $palette
$HOME/opt/ffmpeg/bin/ffmpeg -v warning -i final.$spec.%05d.tga -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y $spec.gif... | mdtraj/tftraj | examples/rmsd-consensus/render.sh | Shell | mit | 321 |
~/dotfiles/shells/thinkpad_x13/disable_c6_state.sh
~/dotfiles/shells/thinkpad_x13/gdrive_sync.sh
| dooooooooinggggg/dotfiles | shells/thinkpad_x13/startup_init.sh | Shell | mit | 97 |
mongodump -h ds119873-a0.mlab.com:19873 -d hah-prod -u hah_prod_backup -p $HAH_PROD_BACKUP_PASSWORD -o tmp
mongorestore -h ds143559.mlab.com:43559 -d hah-dev -u hah_dev_restore -p $HAH_DEV_RESTORE_PASSWORD --drop tmp/hah-prod
rm -rf tmp/hah-prod
rm -rf tmp
| HelpAssistHer/help-assist-her | server/data-import/import-from-prod/prod-to-dev.sh | Shell | mit | 258 |
while [[ -e foo ]]; do sleep 1; done | grncdr/js-shell-parse | tests/fixtures/shellcheck-tests/while-clause/source.sh | Shell | mit | 36 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-120-2
#
# Security announcement date: 2015-05-04 00:00:00 UTC
# Script generation date: 2017-01-01 21:08:55 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - xorg-server:2:1.7.7-18+deb6u3
#
# Las... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/i386/2015/DLA-120-2.sh | Shell | mit | 633 |
#!/usr/bin/env bash
if [ -z "$1" ]; then
echo 'Invalid invocation'
exit 24
fi
DIR=/tmp/marina-ngrok
mkdir -p $DIR
pushd $DIR
curl -L 'https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-darwin-amd64.zip' > ngrok.zip
unzip ngrok.zip
mv ngrok "$1"
popd
rm -fr $DIR
| shnhrrsn/marina-cli | scripts/install-ngrok.sh | Shell | mit | 267 |
# Falkor Bootstrap to install missing packages etc...
# Install some key missed packages
apt-get -y install curl figlet vim bash-completion
# Puppet customization
apt-get -y install facter
# # Adding sid repository to install Lmod (Current version on Debian is too old for EasyBuild, so we use the one from the sid ... | Falkor/vagrant-vms | scripts/Debian/bootstrap.sh | Shell | mit | 1,258 |
#!/bin/sh
#
# Copyright (c) 2015 daemotron
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publis... | daemotron/yajam | src/share/yajam/provide.sh | Shell | mit | 6,590 |
#!/bin/bash
OUT_DIR="release/tmp"
DATE=$(date +"%m/%d/%Y")
SERVERVERSION="3.3.1"
TERRAFORMVERSION="0.15.4"
KUBECTLVERSION="1.19"
HELMVERSION="3.4.0"
KOTSVERSION="1.64.0"
COMMENT="FINAL"
# Build Overview
echo "Building Server Overview..."
asciidoctor-pdf -v
asciidoctor-pdf -a pdf-style=jekyll/_cci2/_release-pdf/cir... | circleci/circleci-docs | scripts/build_pdfs_asciidoc.sh | Shell | mit | 2,607 |
#!/bin/bash
find ./lib/cfnlego/resources/ -iname *.yaml | cut -f6,7,8 -d/ | sed 's/.yaml//' | sed "s/\//::/g"| sort | uniq
| allinwonder/cfnlego | utils/list-supported-resources.sh | Shell | mit | 126 |
#!/bin/bash
# Script that restores a previous snapshot by name to all $storageNodes.
# Requires argument: Snapshot name.
cwd="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$cwd/settings.sh"
#Ask for the snapshot name to be passed in.
if [[ -z $1 ]]; then
echo "$(date +%x_%r) No snapshotName passed for ... | FOGProject/fog-community-scripts | fog-libvirtd-testing/restoreSnapshots.sh | Shell | mit | 819 |
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source ${DIR}/../src/bashop/modules/globals.sh
source ${DIR}/../src/bashop/modules/printer.sh
source ${DIR}/../src/bashop/modules/config.sh
function check_parse() {
bashop::config::parse "${DIR}/fixtures/config"
assertion__equal "string" "... | GM-Alex/bashop | tests/config_test.sh | Shell | mit | 3,294 |
values="1 5 10 50 100 500 1000"
#wiGenRunner="\basura\wigen-0.0.1\wigen-0.0.1\bin\wigen.bat"
wiGenRunner=./wigen
for value in $values
do
outName="outDataSetsNR"
params="--countries 1 --dataSets $value --slices 1 --observations 1 --computations 1 --Indicators 1 --Organizations 1 --shex schemas/webindex_NonRecursive.sh... | labra/wiGen | stats/testDataSetsNR.sh | Shell | mit | 535 |
#!/bin/bash -ev
# Linux From Scratch
# Chapter 5: Constructing a Temporary System
# Section 15: ncurses-6.0
#####################################################################
source ../lfs_profile
tar -xvf ncurses-6.0.tar.gz
cd ncurses-6.0
./configure --prefix=/tools \
--with-shared \
--wit... | pajamapants3000/LFS_scripts | scripts/5.150_ncurses.sh | Shell | mit | 645 |
#!/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... | 2h4u/Async | AsyncPodsExample/Pods/Target Support Files/Pods-AsyncExample tvOS/Pods-AsyncExample tvOS-frameworks.sh | Shell | mit | 3,715 |
#!/usr/bin/env bash
mkdir -p ../postgres/{pg_tblspc,pg_twophase,pg_stat_tmp,pg_replslot,pg_stat,pg_snapshots,pg_logical/snapshots,pg_logical/mappings,pg_commit_ts}/ | unsupo/ogame | ogamebotapp/src/main/resources/databases/postgres/fixdb.sh | Shell | mit | 164 |
#!/bin/bash
echo "## Networks"
echo "[global] > docker network inspect global >/dev/null > exists?"
docker network inspect global >/dev/null
if [ $? -ne 0 ];then
echo "[global] > docker network create -d bridge --subnet=10.0.0.0/24 global > create"
docker network create -d bridge --subne... | ChristianKniep/orchestra | consul-ambassador/start.sh | Shell | mit | 1,428 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.