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 |
|---|---|---|---|---|---|
source $setup
tar -xf $src
mkdir build
cd build
../libsigsegv-$version/configure \
--host=$host \
--prefix=$out \
--enable-static=yes \
--enable-shared=no
make
make install
| jfranklin9000/urbit | nix/nixcrpkgs/pkgs/libsigsegv/builder.sh | Shell | mit | 185 |
#!/bin/bash
#
# Postfix (SMTP)
# --------------
#
# Postfix handles the transmission of email between servers
# using the SMTP protocol. It is a Mail Transfer Agent (MTA).
#
# Postfix listens on port 25 (SMTP) for incoming mail from
# other servers on the Internet. It is responsible for very
# basic email filtering suc... | nstanke/mailinabox | setup/mail-postfix.sh | Shell | cc0-1.0 | 11,611 |
#!/bin/bash
EXIT_CODE=0
kill_ffmpeg(){
echo "Killing ffmpeg with PID=$ffmpeg_pid"
kill -2 "$ffmpeg_pid"
wait "$ffmpeg_pid"
mkdir -p /tmp/e2e/report/
cp /tmp/ffmpeg_report/* /tmp/e2e/report/
}
set -x
# Validate selenium base URL
if [ -z "$TS_SELENIUM_BASE_URL" ]; then
echo "The \"TS_SELENIUM_BASE_URL\" ... | codenvy/che | dockerfiles/e2e/entrypoint.sh | Shell | epl-1.0 | 3,085 |
# OpenStack ocata installation script on Ubuntu 16.04.2
# by kasidit chanchio
# vasabilab, dept of computer science,
# Thammasat University, Thailand
#
# Copyright 2017 Kasidit Chanchio
#
# run with sudo or as root.
#
#!/bin/bash -x
cd $HOME/OPSInstaller/controller
pwd
#
apt-get -y install keystone
#
cp files/keysto... | kasidit/openstack-ocata-installer | documents/Example.OPSInstaller/controller/exe-stage09-SUDO-keystone.sh | Shell | gpl-2.0 | 1,087 |
#!/bin/sh
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eu
cd "$MESON_SOURCE_ROOT"
if [ ! -f .git/hooks/pre-commit.sample -o -f .git/hooks/pre-commit ]; then
exit 2 # not needed
fi
cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
echo 'Activated pre-commit hook'
| phomes/systemd | tools/add-git-hook.sh | Shell | gpl-2.0 | 313 |
# OpenStack ocata installation script on Ubuntu 16.04.2
# by kasidit chanchio
# vasabilab, dept of computer science,
# Thammasat University, Thailand
#
# Copyright 2017 Kasidit Chanchio
#
# Run this with sudo or as root
#!/bin/bash -x
cd $HOME/OPSInstaller/controller
pwd
echo "check chrony"
chronyc sources
sleep 1
... | kasidit/openstack-ocata-installer | documents/Example.OPSInstaller/controller/exe-stage04-SUDO-mysql.sh | Shell | gpl-2.0 | 1,810 |
#!/bin/sh
#
# Copyright (c) 2006 Junio C Hamano
#
test_description='Binary diff and apply
'
. ./test-lib.sh
test_expect_success 'prepare repository' \
'echo AIT >a && echo BIT >b && echo CIT >c && echo DIT >d &&
git update-index --add a b c d &&
echo git >a &&
cat "$TEST_DIRECTORY"/test4012.png >b &&
echo g... | zhaoz/gidit | t/t4012-diff-binary.sh | Shell | gpl-2.0 | 2,684 |
#
# create TRD geometry from patch file
#
SOURCE=Create_TRD_Geometry_v13p_3e.C
TARGET=Create_TRD_Geometry_v13p_1m.C
PATCH=p3etop1m.patch
#
echo
echo cp $SOURCE $TARGET
echo patch $TARGET $PATCH
echo root -l $TARGET
echo
#
cp $SOURCE $TARGET
patch $TARGET $PATCH
root -l $TARGET
| NicolasWinckler/CbmRoot | macro/trd/geometry/trd.v13/create_TRD_Geometry_v13p_1m.sh | Shell | gpl-2.0 | 282 |
#!/bin/sh
# $Id: run_tic.sh,v 1.1 2011/08/18 02:20:39 tsaitc Exp $
##############################################################################
# Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. #
# #
# Permission is ... | ysleu/RTL8685 | uClinux-dist/lib/ncurses/misc/run_tic.sh | Shell | gpl-2.0 | 7,003 |
#!/bin/sh
if [ $# -lt 4 ]; then
cat <<EOF
Usage: test_smbclient_basic.sh SERVER SERVER_IP DOMAIN USERNAME PASSWORD
EOF
exit 1;
fi
SERVER="$1"
SERVER_IP="$2"
USERNAME="$3"
PASSWORD="$4"
TARGET_ENV="$5"
shift 5
ADDARGS="$@"
incdir=`dirname $0`/../../../testprogs/blackbox
. $incdir/subunit.sh
. $incdir/common_test_fns.... | kernevil/samba | source3/script/tests/test_smbspool.sh | Shell | gpl-3.0 | 7,656 |
#! /bin/sh
# A simple utility script which reads the SBD configuration file and loops
# through all SBD block devices, clearing message slots for all nodes. This
# effectively unfences any nodes.
SBD_CONFIG="/etc/sysconfig/sbd"
# Read the SBD config file and loop over all devices
while read -r device; do
while r... | astersmith/esos | scripts/sbd_unfence.sh | Shell | gpl-3.0 | 676 |
#!/bin/sh
groff -t -e -mandoc -Tlatin1 man/fucheck.1 > MANUAL
| fepz/fucheck | generateTextManual.sh | Shell | gpl-3.0 | 62 |
#!/bin/sh
. ./include.sh
${examples_dir}precision > /dev/null
| MengbinZhu/pfldp | ropp-7.0/grib_api-1.9.9/examples/F90/precision.sh | Shell | gpl-3.0 | 67 |
#! /bin/sh
for i in `ls ./ | sed s'|.po||'` ; do
msgmerge --update --no-fuzzy-matching --no-wrap --add-location=file --backup=none ./$i.po pamac.pot
done
| manjaro/pamac | po/update_po_files.sh | Shell | gpl-3.0 | 156 |
#!/bin/sh
# Test some of cp's options and how cp handles situations in
# which a naive implementation might overwrite the source file.
# Copyright (C) 1998-2017 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License ... | adtools/coreutils | tests/cp/same-file.sh | Shell | gpl-3.0 | 8,456 |
#!/bin/bash
# Butterfly root
BUTTERFLY_ROOT=$(cd "$(dirname $0)/.." && pwd)
sources="$BUTTERFLY_ROOT/api/client/client.cc \
$BUTTERFLY_ROOT/api/client/client.h \
$BUTTERFLY_ROOT/api/client/nic.cc \
$BUTTERFLY_ROOT/api/client/request.cc \
$BUTTERFLY_ROOT/api/client/sg.cc \
$BUTTERFLY_ROOT/api/client/shutdown.cc \
$BUT... | outscale-toa/butterfly | scripts/tests_api_style.sh | Shell | gpl-3.0 | 1,916 |
#!/bin/bash
#
# flashx.tv module
# Copyright (c) 2014 Plowshare team
#
# This file is part of Plowshare.
#
# Plowshare 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 ... | drewc/plowshare | src/modules/flashx.sh | Shell | gpl-3.0 | 3,581 |
#!/bin/bash
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
set -ex
# required env vars: CLUSTER_NAME, CONFIG_BRANCH, CONFIG_REPO, NAMESPACE,
# DEPLOYMENT_YAML, DEPLOY... | flodolo/bedrock | bin/update_config.sh | Shell | mpl-2.0 | 1,291 |
#!/usr/bin/env bash
set -e
ci_dir="$(dirname "$0")"
. "${ci_dir}/ci-common.sh"
git_download quickchick
if [ "$DOWNLOAD_ONLY" ]; then exit 0; fi
( cd "${CI_BUILD_DIR}/quickchick"
make
make install
make tests
)
| coq/coq | dev/ci/ci-quickchick.sh | Shell | lgpl-2.1 | 220 |
#!/bin/bash
##
# Copyright (c) 2008-2012 Marius Zwicker
# All rights reserved.
#
# @LICENSE_HEADER_START:Apache@
#
# 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.... | JackieXie168/libdispatch | doc/xdispatch/build/genQtCreator_ProjectFiles.sh | Shell | apache-2.0 | 1,222 |
#!/bin/sh
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/master/travis-build.sh
bash travis-build.sh $encrypted_f76761764219_key $encrypted_f76761764219_iv &&
if [ ! -f release.properties ]
then
echo
echo '== No release.properties; running integration tests =='
# Not a release -- also perfor... | heathn/nar-maven-plugin | .travis/build.sh | Shell | apache-2.0 | 382 |
#!/bin/bash
# This script runs in a loop (configurable with LOOP), checks for updates to the
# Hugo docs theme or to the docs on certain branches and rebuilds the public
# folder for them. It has be made more generalized, so that we don't have to
# hardcode versions.
# Warning - Changes should not be made on the serve... | dgraph-io/badger | docs/scripts/build.sh | Shell | apache-2.0 | 3,536 |
npm install
(cd ./client/ && npm install)
| tjdulka/tjd-watson-agent | install.sh | Shell | apache-2.0 | 42 |
#!/bin/bash
set -e
readonly url=http://localhost:8080
readonly tmp_file=gerrit
wget --retry-connrefused --waitretry=5 --timeout=10 --tries=20 -O "/tmp/$tmp_file" "$url"
head -n 4 "/tmp/$tmp_file"
| guymers/docker-by-bazel | test/gerrit/test_web.sh | Shell | apache-2.0 | 197 |
#!/bin/bash
# Copyright 2014 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | bprashanth/kubernetes | cluster/vagrant/config-default.sh | Shell | apache-2.0 | 2,933 |
#!/bin/bash
rm -r /var/zootmp/*
echo "1" > /var/zootmp/myid
rm -r /var/lib/cassandra/*
rm ./AcaZoo-CompactionStats.dat
ant build
| placrosse/ACaZoo | acazooScript.sh | Shell | apache-2.0 | 130 |
#!/bin/bash
# This script will build the project.
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
./gradlew build --stacktrace --info
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then
echo -e 'Build Branch with... | elandau/karyon | buildViaTravis.sh | Shell | apache-2.0 | 1,358 |
#!/usr/bin/env bash
# start ssh to be tested "running" by netstat
service ssh start
# run the tests - every test should result in "passed"
cd /app && \
java -jar /app/dda-serverspec-standalone.jar -v /app/certificate-file.edn && \
echo "----------" && \
java -jar /app/dda-serverspec-standalone.jar -v /app/command.edn... | DomainDrivenArchitecture/dda-serverspec-crate | integration/resources/test_it.sh | Shell | apache-2.0 | 1,241 |
#!/bin/bash -e
#
#
# Shutdown script for Datafari
#
#
if (( EUID != 0 )); then
echo "You need to be root to run this script." 1>&2
exit 100
fi
DIR=../../../macosx/bin
source "set-datafari-env-devmode.sh"
source "${DIR}/utils.sh"
if is_running $SOLR_PID_FILE; then
SOLR_INCLUDE=$SOLR_ENV $SOLR_INSTALL_DIR/b... | svanschalkwyk/datafari | dev-tools/script/macosx/stop-datafari-devmode.sh | Shell | apache-2.0 | 558 |
#!/bin/bash
# This shell scripts generates the top-level Markdown structure of the
# Snabb lwAFTR manual.
#
# The authors list is automatically generated from Git history,
# ordered from most to least commits.
# Script based on src/doc/genbook.sh
lwaftr_app=../../../apps/lwaftr/
cat <<EOF
% Snabb lwAFTR Manual
% $(... | wingo/snabbswitch | src/program/lwaftr/doc/genbook.sh | Shell | apache-2.0 | 1,017 |
#!/bin/bash
exec newrelic-admin run-program python manage.py celeryd --maxtasksperchild=${CELERY_MAX_TASKS_PER_CHILD:-100}
| MikkCZ/kitsune | bin/run-celery-worker.sh | Shell | bsd-3-clause | 124 |
#!/bin/bash
DD=../../PhoneGap/ios/KNappen/assets/world/KNappen
rm -rf "$DD"
mkdir -p "$DD"
cp -va ./KNappen.MobileSPA/* "$DD"
pushd "$DD"
rm -rf Brukerdokumentasjon *.ts bin obj Properties UnitTests index.html Test.html index.html *.csproj *.user config.xml Web*.config packages.config
popd
| knreise/KNappen | KNappen_src/KNappen/CopyToPhoneGap_ios.sh | Shell | bsd-3-clause | 293 |
#!/bin/sh
set -e
set -u
set -o pipefail
function on_error {
echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
}
trap 'on_error $LINENO' ERR
if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
# If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
# frameworks to, so exit 0 (signalling the... | ghodasara/ForecastIO | Pods/Target Support Files/Pods-ForecastIO iOS Tests/Pods-ForecastIO iOS Tests-frameworks.sh | Shell | mit | 8,050 |
make clean
rm -v Makefile Makefile.inc config.log config.status src/config.h src/config.inc | Klaudit/pce | scripts/a0-clean.sh | Shell | gpl-2.0 | 91 |
# Exemplo: "Feliz Natal" em Esperanto: Gajan Kristnaskon
$ zznatal #→ --regex ^"Feliz Natal" em .+: .+$
| gmgall/funcoeszz | testador/zznatal.sh | Shell | gpl-2.0 | 108 |
#!/bin/sh
set -e
$GREP_DCTRL -I -sPackage '' 0001.out
| ip1981/dctrl-tools | tests/bug144174.sh | Shell | gpl-2.0 | 56 |
IMAGES="test-r test-python"
IMAGE_VERSION="0.1"
DOCKER_REGISTRY="localhost:5000"
for IMAGE in ${IMAGES} ; do
docker build --tag ${DOCKER_REGISTRY}/dpa/${IMAGE}:${IMAGE_VERSION} tasks/${IMAGE}
docker push ${DOCKER_REGISTRY}/dpa/${IMAGE}:${IMAGE_VERSION}
done
| nanounanue/rita-pipeline | rita/registrar.sh | Shell | gpl-3.0 | 267 |
#!/bin/bash
#python pyinstaller-pyinstaller-67b940c/pyinstaller.py ../pyNastran/pyNastran/gui/gui.py
rm -rf build dist
python pyinstaller-pyinstaller-67b940c/pyinstaller.py pyNastranGUI.spec
#dist/pywin27/gui.exe
#dist/gui/gui.exe
| saullocastro/pyNastran | dev/pyNastranGUI_build.sh | Shell | lgpl-3.0 | 239 |
#!/usr/bin/env bash
## Users, roles, tenants ##
adminUser=${1:-neutron}
adminRole=admin
l3AdminTenant=L3AdminTenant
serviceTenant=service
# Below user is just for demos so that we don't see all logical instances.
regularUser=viewer
password=viewer
echo -n "Checking if $l3AdminTenant tenant exists ..."
tenantId=`open... | Gitweijie/first_project | devstack/csr1kv/setup_keystone_for_csr1kv_l3.sh | Shell | apache-2.0 | 2,739 |
#!/bin/bash
. ./setenv
C_BIND=`uname -n`
C_PORT="1528"
S_PATH=$S_HOME/product-gfxd/bin
#echo "creating schema"
$S_PATH/gfxd run -file=schema_temp.sql -client-port=$C_PORT -client-bind-address=$C_BIND
| SnappyDataInc/snappy-store | gemfirexd/tools/src/test/resources/lib/diskCompatibilityScripts/exec-create-temp-schema.sh | Shell | apache-2.0 | 204 |
#!/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 ... | jinlmsft/kubernetes | test/kubemark/gce/util.sh | Shell | apache-2.0 | 5,070 |
#!/usr/bin/env bash
# Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless... | ZhangXinNan/tensorflow | tensorflow/tools/ci_build/ci_parameterized_build.sh | Shell | apache-2.0 | 21,407 |
#!/bin/bash
declare -a IMAGES=( 'ansible/ubuntu14.04-ansible:stable' 'ansible/centos7-ansible:stable' \
"williamyeh/ansible:debian8-onbuild" \
"williamyeh/ansible:debian7-onbuild" \
"williamyeh/ansible:ubuntu14.04-onbuild" \
"williamyeh/ansible:ubuntu12.04-onbuild... | bigashman/docker-ansible | compare-image-size.sh | Shell | apache-2.0 | 539 |
#!/bin/bash -ex
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Buildbot annotator script for the main waterfall. Tester only.
BB_DIR="$(dirname $0)"
BB_SRC_ROOT="$(cd "$BB_DIR/../../.."; pwd)"
.... | leighpauls/k2cro4 | build/android/buildbot/bb_main_tester.sh | Shell | bsd-3-clause | 723 |
#!/bin/sh
bindir=/usr/bin
sbindir=/usr/bin
libdir=/usr/lib
[ -n "$gearman_db_type" ] && db_type=$gearman_db_type
if [ "$db_type" = "mysql" ]; then
persistence="-q libdrizzle --libdrizzle-user=%{gearman.db_user} --libdrizzle-password=\\\"\$(pw=\\\"%{gearman.db_pass}\\\" && [ \\\"\${pw:0:8}\\\" = \\\"keydb://\\\" ]... | yahoo/gearbox | workers/gearbox/conf/mock-gearbox.conf.sh | Shell | bsd-3-clause | 2,079 |
#!/bin/bash
FN="ALL_1.32.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/experiment/src/contrib/ALL_1.32.0.tar.gz"
"https://bioarchive.galaxyproject.org/ALL_1.32.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-all/bioconductor-all_1.32.0_src_all.tar.gz"
)
MD5="a7181423086d1ea752a3e4... | bebatut/bioconda-recipes | recipes/bioconductor-all/post-link.sh | Shell | mit | 1,267 |
#! /bin/sh
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2015 6WIND S.A.
# Do some basic checks in MAINTAINERS file
cd $(dirname $0)/..
# speed up by ignoring Unicode details
export LC_ALL=C
# Get files matching paths with wildcards and / meaning recursing
files () # <path> [<path> ...]
{
if [ -z "$1" ] ; th... | john-mcnamara-intel/dpdk | devtools/check-maintainers.sh | Shell | mit | 2,892 |
make gio_rev03_defconfig
make
| psyke83/kernel_samsung_gio2europa | make_kernel_GT-S5660.sh | Shell | gpl-2.0 | 30 |
#!/usr/bin/env perl
# Copyright (c) 2000-2003, 2006, 2007 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; versi... | tempesta-tech/mariadb | sql-bench/test-insert.sh | Shell | gpl-2.0 | 51,085 |
source ./templates/support.sh
populate var_password_pam_unix_remember
if grep -q "remember=" /etc/pam.d/system-auth; then
sed -i --follow-symlink "s/\(remember *= *\).*/\1$var_password_pam_unix_remember/" /etc/pam.d/system-auth
else
sed -i --follow-symlink "/^password[[:space:]]\+sufficient[[:space:]]\+pam_unix.s... | mpreisler/scap-security-guide-debian | scap-security-guide-0.1.21/shared/fixes/bash/accounts_password_pam_unix_remember.sh | Shell | gpl-2.0 | 397 |
chmod 644 /etc/group
| mpreisler/scap-security-guide-debian | scap-security-guide-0.1.21/shared/fixes/bash/file_permissions_etc_group.sh | Shell | gpl-2.0 | 21 |
cd src
make clean
make clean 127mer=1
| fw1121/Pandoras-Toolbox-for-Bioinformatics | src/SOAPdenovo2/SOAPdenovo-Trans-src-v1.04/clean.sh | Shell | gpl-3.0 | 39 |
#!/bin/bash
set -x
set -e
resources/Datasources/hbase/createHbaseTables.sh
wait
hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dmapred.map.tasks.speculative.execution=false -Dmapred.reduce.tasks.speculative.execution=false -Dimporttsv.columns=HBASE_ROW_KEY,onecf:name,twocf:age,twocf:registration,threecf:contrib... | Agirish/drill-test-framework-archive | framework/resources/Datasources/hbase/hbase.sh | Shell | apache-2.0 | 702 |
#!/bin/sh
while [ "1" == "1" ]
do
uptime
sleep 1
done | tgou/RocketMQ | rocketmq-store/sbin/showload.sh | Shell | apache-2.0 | 60 |
#!/bin/sh
# $id:$
# $log:$
V_DATABASE=${DATABASE:-"tpcds"} # name of the database to be create
V_DBMS=${DBMS:-"db2"} # dbms flavor to use
# must match xx_setup.sh file name
V_DATA_DIR=${DATA_DIR:-"/data"} # flat file directory
if [ ! -f ${V_DBMS}_setup.sh ]
then
echo "Cannot find setup file for DBMS: ${V_DBMS}_se... | vitesse-ftian/dgtools | tpcds/tpcds_tools/tests/ri_base_data.sh | Shell | apache-2.0 | 563 |
error() {
echo " ! $*" >&2
exit 1
}
status() {
echo "-----> $*"
}
protip() {
echo
echo "PRO TIP: $*" | indent
echo "See https://devcenter.heroku.com/articles/nodejs-support" | indent
echo
}
# sed -l basically makes sed replace and buffer through stdin to stdout
# so you get updates while the comman... | penciu/apache | bin/common.sh | Shell | mit | 1,173 |
#!/bin/bash -e
echo "================= Installing JRuby 1.7.19 ==================="
rvm requirements
rvm install jruby-1.7.19
rvm use jruby-1.7.19
# Install ruby gems
gem install bundler
| dry-dock/u12rubpls | version/jruby_1_7_19.sh | Shell | mit | 189 |
#!/bin/bash
./start_all.sh
sleep 1
./show_cluster.sh
sleep 2
../output/bin/ins_cli --ins_cmd=register --flagfile=ins.flag --ins_key=zhangkai --ins_value=123456
#../output/bin/ins_cli --ins_cmd=register --flagfile=ins.flag --ins_key=fxsjy --ins_value=123456
sleep 1
nohup ../output/bin/ins_cli --ins_cmd=login --flagf... | fxsjy/ins | sandbox/quick_test.sh | Shell | bsd-3-clause | 518 |
#!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& . "../../utils.sh"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_in_purple "\n Dashboard\n\n"
execute "defaults write com.apple.dashboard mcx-disabled -bool true" \
"Disable Dashboard"
# `killall Dashboard` doesn't actua... | b-boogaard/dotfiles | src/os/preferences/macos/dashboard.sh | Shell | mit | 476 |
#!/bin/bash
#
# Test the init code
#
source "$REG_DIR/scaffold"
function opts
{
cat << DONE
-a
-n
DONE
}
cmd setup_git_repo
opts | while read opt ; do
cmd reset_git_repo
cmd guilt init $opt
cmd list_files
shouldfail guilt init $opt
cmd list_files
done
cmd git branch other
cmd git checkout other
cmd guilt... | jmesmon/guilt | regression/t-010.sh | Shell | gpl-2.0 | 378 |
#
# functions to use with HP Hardware RAID (Smart Array and compatible)
#
#
function define_HPSSACLI() {
# HP Smart Storage Administrator CLI is either hpacucli, hpssacli or ssacli
if has_binary hpacucli ; then
HPSSACLI=hpacucli
elif has_binary hpssacli ; then
HPSSACLI=hpssacli
elif has... | phracek/rear | usr/share/rear/lib/hp_raid-functions.sh | Shell | gpl-3.0 | 871 |
#!/usr/bin/env bash
lwjreOSX/bin/java -jar libs/solDesktop.jar
| Cervator/DestinationSol | launcher/solOSX.sh | Shell | apache-2.0 | 63 |
#!/bin/bash
FN="pd.atdschip.tiling_0.32.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/experiment/src/contrib/pd.atdschip.tiling_0.32.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.atdschip.tiling_0.32.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.atdschip.tiling/bioconduc... | cokelaer/bioconda-recipes | recipes/bioconductor-pd.atdschip.tiling/post-link.sh | Shell | mit | 1,342 |
#!/bin/sh
# verify that ls -lL works when applied to a symlink to an ACL'd file
# Copyright (C) 2011-2016 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 ... | sunny256/coreutils | tests/ls/slink-acl.sh | Shell | gpl-3.0 | 1,078 |
#!/usr/bin/env bash
set -e
cd "$(dirname "$BASH_SOURCE")/.."
rm -rf vendor/
source 'hack/.vendor-helpers.sh'
# the following lines are in sorted order, FYI
clone git github.com/Azure/go-ansiterm 70b2c90b260171e829f1ebd7c17f600c11858dbe
clone git github.com/Sirupsen/logrus v0.8.2 # logrus is a common dependency among ... | Neverous/docker | hack/vendor.sh | Shell | apache-2.0 | 3,860 |
#!/bin/bash
wget -N https://berlintemplates.blob.core.windows.net/arm-templates/MultiNodeEthereumNetwork/scripts/configure-geth.sh
wget -N https://berlintemplates.blob.core.windows.net/arm-templates/MultiNodeEthereumNetwork/scripts/start-private-blockchain.sh
wget -N https://berlintemplates.blob.core.windows.net/arm-t... | netwmr01/azure-quickstart-templates | ethereum-consortium-blockchain-network/scripts/helpers/getfiles.sh | Shell | mit | 847 |
#!/bin/sh
# Copyright (c) 2015, 2016 Sébastien Combéfis, Virginie Van den Schrieck
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your... | UCL-INGI/Informatique-1 | old_pythia/88_java/run.sh | Shell | agpl-3.0 | 959 |
#!/bin/bash
########################################################################
#
# Linux on Hyper-V and Azure Test Code, ver. 1.0.0
# Copyright (c) Microsoft Corporation
#
# All rights reserved.
# Licensed under the Apache License, Version 2.0 (the ""License"");
# you may not use this file except in compliance ... | hglkrijger/azure-linux-automation | remote-scripts/performance_zk.sh | Shell | apache-2.0 | 14,855 |
# This shell snippet unsets all variables/functions that can be used in
# a package template and can also be used in subpkgs.
## VARIABLES
unset -v noarch conf_files mutable_files preserve triggers
unset -v depends run_depends replaces provides conflicts tags
# hooks/post-install/03-strip-and-debug-pkgs
unset -v nost... | ylixir/void-packages | common/environment/setup-subpkg/subpkg.sh | Shell | bsd-2-clause | 1,110 |
blueberry=$(date -d "$(stat -c $(%z) blueberry.exe)")
| jerr/jbossforge-core | text/src/test/resources/examples/bash/nested_shells.in.sh | Shell | epl-1.0 | 54 |
#!/bin/bash
test_info()
{
cat <<EOF
Verify that the ctdb_transaction test succeeds.
Prerequisites:
* An active CTDB cluster with at least 2 active nodes.
Steps:
1. Verify that the status on all of the ctdb nodes is 'OK'.
2. Run two copies of ctdb_transaction on each node with a 30 second
timeout.
3. Ensure ... | SpectraLogic/samba | ctdb/tests/simple/53_ctdb_transaction.sh | Shell | gpl-3.0 | 869 |
#!/bin/sh
echo "$1" | sbbic/core | shell/source/unix/exec/urltest.sh | Shell | gpl-3.0 | 19 |
#/bin/sh
#set -x
# Script for processing DETdigits.C (or digitITSDET.C) macros
# and generating files with histograms.
# Generated histograms can be then plot with plotDigits2.C.
# Currently the macro has to be run in the directory
# with the aliroot output, and one has to specify the
# number of events and the numb... | jgrosseo/AliRoot | test/vmctest/scripts/digits.sh | Shell | bsd-3-clause | 647 |
#!/bin/bash
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
# with Numenta, Inc., for a separate license for this software code, the
# following terms and conditions apply:
#
#... | oxtopus/nupic | ci/travis/before_install-osx.sh | Shell | gpl-3.0 | 1,501 |
#!/bin/bash
export ORIGINAL_PATH=`pwd`
for name in builtin/*
do
if [ -d "${name}" ]; then
echo ------------------------------------------
echo ${name}
echo ------------------------------------------
cd ${name}
# check if we have uncommit changes
result=$(git cherr... | jarradh/nucliasm | utils/git-push.sh | Shell | mit | 456 |
#!/bin/bash
#
# Copyright 2013 Tim O'Shea
#
# This file is part of PyBOMBS
#
# PyBOMBS 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, or (at your option)
# any later version.
#
# PyBOMBS is ... | scalable-networks/ext | pybombs/git-meld.sh | Shell | gpl-2.0 | 778 |
#!/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 ... | jawnsy/cri-o | vendor/k8s.io/kubernetes/cluster/gce/debian/master-helper.sh | Shell | apache-2.0 | 4,297 |
# source this file (. devinstall.sh) to get exports in the right place
# then you can run graphlab from within the venv and it points to this
# development directory
# create a virtualenv (if necessary) and activate it
virtualenv venv
. venv/bin/activate
# set the export path for unity server
export GRAPHLAB_UNITY=$(... | iRGBit/Dato-Core | src/unity/python/devinstall.sh | Shell | agpl-3.0 | 692 |
#!/usr/bin/env bash
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
. ./test-lib.sh
setup_initsvn
setup_gitsvn
(
set -e
cd git-svn
git checkout -q -b work
echo "some work done on a b... | G-P-S/depot_tools | tests/basic.sh | Shell | bsd-3-clause | 1,929 |
#!/bin/sh
./test_document `find $srcdir/test/testdata -name *.xml`
| Bytewerk/uClinux-ipcam | user/wsc_upnp/libupnp-1.4.6/ixml/test/test_document.sh | Shell | gpl-2.0 | 69 |
#!/bin/bash
#set -x
source $LIBMESH_DIR/examples/run_common.sh
example_name=adjoints_ex3
example_dir=examples/adjoints/$example_name
run_example "$example_name"
| paulthulstrup/moose | libmesh/examples/adjoints/adjoints_ex3/run.sh | Shell | lgpl-2.1 | 166 |
#!/bin/bash
export "DEBIAN_FRONTEND=noninteractive"
VAGRANT_CORE_FOLDER=$(cat "/.puphpet-stuff/vagrant-core-folder.txt")
OS=$(/bin/bash "${VAGRANT_CORE_FOLDER}/shell/os-detect.sh" ID)
RELEASE=$(/bin/bash "${VAGRANT_CORE_FOLDER}/shell/os-detect.sh" RELEASE)
CODENAME=$(/bin/bash "${VAGRANT_CORE_FOLDER}/shell/os-detect... | OlyaRybak/vuxenforvaltningens_informationsportal | puphpet/shell/update-puppet.sh | Shell | gpl-2.0 | 2,189 |
#!/usr/bin/env bash
echo "
Please run download-db.sh to download the PlasmidFinder database to ${PLASMID_DB}.
If you have a database in custom path, please use "plasmidfinder.py" with the option "-p".
" >> ${PREFIX}/.messages.txt
printf '%s\n' "${URLS[@]}" >> "${PREFIX}/.messages.txt" 2>&1
| jerowe/bioconda-recipes | recipes/plasmidfinder/post-link.sh | Shell | mit | 292 |
#!/bin/bash
killall -q JSBSim
pkill -f runsim.py
set -e
set -x
autotest=$(dirname $(readlink -e $0))
cmd="../Tools/autotest/jsbsim/runsim.py --home=-35.362938,149.165085,584,270"
$autotest/run_in_terminal_window.sh "simulator" $cmd || exit 1
sleep 2
mavproxy.py --out 127.0.0.1:14550 --load-module=HIL $*
| gigglesninja/senior-design | ardupilot/Tools/autotest/sim_arduplane_hil.sh | Shell | gpl-2.0 | 311 |
setopt correct_all
alias man='nocorrect man'
alias mv='nocorrect mv'
alias mysql='nocorrect mysql'
alias mkdir='nocorrect mkdir'
alias gist='nocorrect gist'
alias heroku='nocorrect heroku'
alias ebuild='nocorrect ebuild'
alias hpodder='nocorrect hpodder'
| TheDahv/dotfiles | zsh/oh-my-zsh/lib/correction.zsh | Shell | mit | 256 |
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2015 zsh-syntax-highlighting contributors
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted
# provided that the following conditions... | codeprimate/arid | zsh/zsh-syntax-highlighting/highlighters/main/test-data/unbackslash.zsh | Shell | bsd-2-clause | 2,090 |
function gi() { curl http://gitignore.io/api/$@ ;}
_gitignireio_get_command_list() {
curl -s http://gitignore.io/api/list | tr "," "\n"
}
_gitignireio () {
compset -P '*,'
compadd -S '' `_gitignireio_get_command_list`
}
compdef _gitignireio gi | jeanlauliac/oh-my-zsh | plugins/gitignore/gitignore.plugin.zsh | Shell | mit | 252 |
#!/bin/bash
export PATH=$HOME/.local/bin:/usr/local/bin:$HOME/prefix/bin:$HOME/APM/px4/gcc-arm-none-eabi-4_7-2014q2/bin:$PATH
export PYTHONUNBUFFERED=1
export PYTHONPATH=$HOME/APM
cd $HOME/APM || exit 1
test -n "$FORCEBUILD" || {
(cd APM && git fetch > /dev/null 2>&1)
newtags=$(cd APM && git fetch --tags | wc -l)
o... | raydtang/ardupilot | Tools/scripts/build_autotest.sh | Shell | gpl-3.0 | 4,629 |
#!/bin/sh
# generate a set of ABI signatures from a shared library
SHAREDLIB="$1"
GDBSCRIPT="gdb_syms.$$"
(
cat <<EOF
set height 0
set width 0
EOF
nm "$SHAREDLIB" | cut -d' ' -f2- | egrep '^[BDGTRVWS]' | grep -v @ | egrep -v ' (__bss_start|_edata|_init|_fini|_end)' | cut -c3- | sort | while read s; do
echo "echo... | SVoxel/R7800 | git_home/samba.git/buildtools/scripts/abi_gen.sh | Shell | gpl-2.0 | 491 |
ext3_mount () {
modprobe -q ext3
mkdir -p $2
mount -t ext3 -onoatime,data=journal,errors=continue $1 $2
}
for arg in $CMDLINE; do
optarg=`expr "x$arg" : 'x[^=]*=\(.*\)'`
echo $arg xxx $optarg
case $arg in
ext3=*)
dev=`expr "$optarg" : '\([^:]*\).*'`
path=`expr "$optarg" : '[^:]... | bticino/openembedded | recipes/initrdscripts/files/80-ext3.sh | Shell | mit | 383 |
#!/bin/sh
# Copyright 2015, Google 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:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of condition... | 7anner/grpc | tools/run_tests/sanity/check_cache_mk.sh | Shell | bsd-3-clause | 1,626 |
#!/bin/sh
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This script generates a two roots - one legacy one signed with MD5, and
# another (newer) one signed with SHA1 - and has a leaf certificate sign... | GeyerA/android_external_chromium_org | net/data/ssl/scripts/generate-cross-signed-certs.sh | Shell | bsd-3-clause | 2,586 |
#
# Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Softwar... | stain/jdk8u | test/sun/tools/jstat/jstatLineCounts2.sh | Shell | gpl-2.0 | 1,365 |
#!/bin/sh
#
# Copyright (c) 2005 Amos Waterland
#
test_description='git branch assorted tests'
. ./test-lib.sh
test_expect_success 'prepare a trivial repository' '
echo Hello >A &&
git update-index --add A &&
git commit -m "Initial commit." &&
echo World >>A &&
git update-index --add A &&
git commit -m "Second... | overtherain/scriptfile | tool-kit/git-2.1.2/t/t3200-branch.sh | Shell | mit | 30,713 |
#!/bin/zsh
# WARP
# ====
# oh-my-zsh plugin
#
# @github.com/mfaerevaag/wd
wd() {
. $ZSH/plugins/wd/wd.sh
}
| jjsanchez/oh-my-zsh | plugins/wd/wd.plugin.zsh | Shell | mit | 113 |
#!/bin/sh
test_description="Test the svn importer's input handling routines.
These tests provide some simple checks that the line_buffer API
behaves as advertised.
While at it, check that input of newlines and null bytes are handled
correctly.
"
. ./test-lib.sh
test_expect_success 'hello world' '
echo ">HELLO" >ex... | TextusData/Mover | thirdparty/git-1.7.11.3/t/t0081-line-buffer.sh | Shell | gpl-3.0 | 1,650 |
#!/bin/bash
# This script:
# - assumes there are 2 network interfaces connected to $PUBLIC_SUBNET and $PRIVATE_SUBNET respectively
# - finds IP addresses from those interfaces using `ip` command
# - exports the IPs as variables
function getIpForSubnet {
if [ -z $1 ]; then
echo Subnet parameter undefined
... | thomasdarimont/keycloak | testsuite/performance/load-balancer/wildfly-modcluster/src/main/scripts/get-ips.sh | Shell | apache-2.0 | 934 |
#!/bin/bash
# Distill standard library documentation from the stdops.c file.
cat Interpreter/stdops.c | grep '//' | colrm 1 3 | tail -n +10 > Documentation/Standard\ Library.mkd
| wandernauta/Staple | Support/mkstdlibdoc.sh | Shell | mit | 180 |
# shellcheck disable=SC2148
# Defines transfer alias and provides easy command line file and folder sharing.
#
# source: https://gist.github.com/nl5887/a511f172d3fb3cd0e42d
#
# Authors:
# Remco Verhoef <remco@dutchcoders.io>
#
transfer() {
# check if curl is installed
if ! curl --version >/dev/null 2>&1; then
e... | niklas-heer/dotfiles | zsh/scripts/transfer.zsh | Shell | mit | 1,469 |
#!/bin/sh
# CYBERWATCH SAS - 2016
#
# Security fix for RHSA-2015:1686
#
# Security announcement date: 2015-08-25 06:10:14 UTC
# Script generation date: 2016-05-12 18:13:16 UTC
#
# Operating System: Red Hat 7
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - python-django.noarch:1.6.11-2.el7ost
# ... | Cyberwatch/cbw-security-fixes | Red_Hat_7/x86_64/2015/RHSA-2015:1686.sh | Shell | mit | 940 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.