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
git clone https://github.com/nlpie/nlptab-webapp.git cd nlptab-webapp npm install gulp sed -i.bak "s/esServer: 'localhost:9200'/esServer: 'localhost:58032'/g" app/config.js cp -R app/* /var/www/html/ ufw allow http
NLPIE/NLP-TAB-vm
scripts/nlptab-webapp.sh
Shell
apache-2.0
215
#!/bin/bash # Creates shallow haddocks for GitHub pages. set -eu -o pipefail IMAGE_NAME=tensorflow/haskell:v0 STACK="stack --docker --docker-image=$IMAGE_NAME" $STACK haddock --no-haddock-deps tensorflow* DOC_ROOT=$($STACK path --local-doc-root) DOCS=docs/haddock git rm -fr $DOCS mkdir -p $DOCS cp $DOC_ROOT/{*.html...
cem3394/haskell
tools/haddock.sh
Shell
apache-2.0
422
# opendaylight.sh - DevStack extras script if is_service_enabled odl-server odl-compute; then # Initial source [[ "$1" == "source" ]] && source $TOP_DIR/lib/opendaylight fi if is_service_enabled odl-server; then if [[ "$1" == "source" ]]; then # no-op : elif [[ "$1" == "stack" && "$2" ...
HeidCloud/devstack
extras.d/80-opendaylight.sh
Shell
apache-2.0
1,958
#!/bin/sh # _ # | | # ___ _ _ _ __ ___ _ _| |_ _ ___ # / __| | | | '_ ` _ \| | | | | | | / __| # | (__| |_| | | | | | | |_| | | |_| \__ \ # \___|\__,_|_| |_| |_|\__,_|_|\__,_|___/ # # #$ -S /bin/bash #$ -N dummy-123432423 #$ -l gpus=2 cd $SGE_O_WORKDIR ...
Kitware/cumulus
tests/cases/fixtures/job/sge_submission_script_gpus.sh
Shell
apache-2.0
360
#!/bin/sh # Generate CSV for a scatter plot of CPU times. table-generator --correct-only -f csv -x scatter.xml # Generate CSV for a scatter plot where color indicates frequency of data points # (not useful with the example data in this directory). cut -f 3,7 < scatter.table.csv \ | sort -n \ | uniq -c \ > scatter....
martin-neuhaeusser/benchexec
contrib/plots/generate-plots.sh
Shell
apache-2.0
1,240
#!/bin/sh # Windows Azure OS X Package: Create packages script # Copyright (C) 2012 Microsoft Corporation. All Rights Reserved. # # This builds the package as well as prepares the tarball file, etc. # This script is only used at build time, it is not part of the package. # CURRENT_NODE_DISTRIBUTION_VERSION=v0.6.17 #...
egamma/azure-sdk-for-node
tools/osx-setup/build.sh
Shell
apache-2.0
2,249
#!/usr/bin/env bash # Stop script if unbound variable found (use ${var:-} if intentional) set -u # Stop script if command returns non-zero exit code. # Prevents hidden errors caused by missing error code propagation. set -e usage() { echo "Common settings:" echo " --configuration <value> Build configuration:...
VSadov/roslyn
eng/common/build.sh
Shell
apache-2.0
5,023
lesson_title "Redirection" test_redirecting_stdout_to_file() { output_stdout > tmp/redirect_test.txt local contents=$(cat tmp/redirect_test.txt) assertEqual "$contents" __ } test_redirecting_stderr_to_file() { output_stderr 2> tmp/redirect_test2.txt local contents=$(cat tmp/redirect_test2.txt) asser...
nadavc/bash_koans
src/00_about_redirection.sh
Shell
mit
953
#!/bin/sh #FG_ROOT= if [ -n "$1" ]; then FG_ROOT="$1" fi if [ -z "${FG_ROOT}" ]; then echo "Please set FG_ROOT or pass a FG_ROOT path" exit -1 fi if [ ! -d "${FG_ROOT}" ]; then echo "${FG_ROOT} is not a directory." exit -1 fi APT=${FG_ROOT}/Airports/apt.dat.gz NAV=${FG_ROOT}/Navaids/nav.dat.gz ...
FlightGear/fgmap
scripts/all2sql.sh
Shell
gpl-2.0
1,236
#!/bin/sh # # Copyright (C) 2013 OpenWrt.org # MPC85XX_BOARD_NAME= MPC85XX_MODEL= mpc85xx_board_detect() { local model local name model=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /model/ {print $2}' /proc/cpuinfo) case "$model" in *"HiveAP-330") name="hiveap-330" ;; *"TL-WDR4900 v1") name="tl-wdr4900-v1" ;; esa...
SolidRun/lede-project
target/linux/mpc85xx/base-files/lib/mpc85xx.sh
Shell
gpl-2.0
623
#!/usr/bin/env bash # This file is part of The RetroPie Project # # The RetroPie Project is the legal property of its developers, whose names are # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. # # See the LICENSE.md file at the top-level directory of this distribution ...
j-r0dd/RetroPie-Setup
scriptmodules/ports/minecraft.sh
Shell
gpl-3.0
1,059
#!/bin/bash # # Copyright 2016 IBM Corporation # # 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 l...
craigyam/amalgam8
testing/build_and_run.sh
Shell
apache-2.0
1,032
#!/usr/bin/env bash # Shutdown script for azkaban solo server set -o nounset source "$(dirname $0)/util.sh" installdir="$(dirname $0)/.." maxattempt=3 pid=`cat ${installdir}/currentpid` pname="solo server" kill_process_with_retry "${pid}" "${pname}" "${maxattempt}" && rm -f ${installdir}/currentpid
tianjianinline/azkaban-psbc
azkaban-solo-server/src/main/bash/azkaban-solo-shutdown.sh
Shell
apache-2.0
302
#!/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 ...
minggLu/bigtop
bigtop_toolchain/bin/puppetize.sh
Shell
apache-2.0
2,534
# Set passwords function kibanapw() { if [ $# -lt 2 ]; then echo -e "Usage: kibanapw USER PASSWORD\nUsers will be added to /etc/nginx/htpasswd.users"; else egrep "^${1}:" /etc/lighttpd/rock-htpasswd.user > /dev/null 2>&1; if [[ $? -eq 0 ]]; then sudo sed -i "/${1}\:/d" /etc/lighttpd/rock-htpasswd.user; fi; printf "${1}...
CyberAnalyticDevTeam/SimpleRock
roles/kibana/files/profile.d-kibanapw.sh
Shell
bsd-3-clause
438
#!/usr/bin/env bash clean_slds_files() { rm -fv $1/assets/fonts/License-for-font.txt rm -fv $1/assets/fonts/*.ttf rm -fv $1/assets/fonts/webfonts/*.eot rm -fv $1/assets/fonts/webfonts/*.svg rm -fv $1/assets/fonts/webfonts/SalesforceSans-Thin.woff rm -fv $1/assets/fonts/webfonts/SalesforceSans-T...
cdcarter/Cumulus
scripts/make_clean_slds_resource.sh
Shell
bsd-3-clause
1,830
#!/bin/sh cd $(dirname $0) node -pe "'Name: ' + require('../index').getPlatform().name" node -pe "'Version: ' + require('../index').getPlatform().bonescript" node -pe "require('../index').digitalRead('P8_19')"
beagleboard/bonescript
test/TODO/basic_sanity.sh
Shell
mit
210
#! /bin/sh PATH="$(dirname "$0")/../Resources":$PATH gorunner goimports
ascarter/Go.bbpackage
src/Text Filters/goimports.sh
Shell
mit
73
#!/bin/sh cp package.json import_today_ext/package.json.backup cp import_today_ext/ta.empty.package.json package.json ionic state reset cordova plugin add https://github.com/DavidStrausz/cordova-plugin-today-widget.git cp config.xml import_today_ext/config.xml.backup cp import_today_ext/ta.import.config.xml config.xml ...
kimalec/TodayWeather
client/import_today_ext/ta.run.sh
Shell
mit
617
#! /usr/bin/env bash #-------------------- # Standard options: export COMMON_FF_CFG_FLAGS= # export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --prefix=PREFIX" # Licensing options: export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-gpl" # export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-version3" expo...
abirjepatil/iOS
config/module-lite.sh
Shell
gpl-2.0
15,079
#!/bin/bash # testsuite for testlib if [ -n "$PBUILDER_CHECKOUT" ]; then . "$PBUILDER_CHECKOUT/testlib.sh" else # these currently don't need to be exported PBUILDER_TEST_ROOT="${PBUILDER_ROOT:-}" PBUILDER_TEST_PKGLIBDIR="${PBUILDER_PKGLIBDIR:-$PBUILDER_ROOT/usr/lib/pbuilder}" . "$PBUILDER_TEST_PKGL...
chensuchun/pbuilder
test_testlib.sh
Shell
gpl-2.0
632
#!/bin/sh TEST_SCRIPT=./VMake/executableTester.sh until test -r ${TEST_SCRIPT} ; do TEST_SCRIPT=../${TEST_SCRIPT} done . ${TEST_SCRIPT} runAndHandleSystemTest "testComponentMetadata " "$0" "$@"
bmi-forum/bmi-pyre
StGermain/Base/Automation/tests/testComponentMetadata.0of1.sh
Shell
gpl-2.0
204
#!/bin/bash #================ # FILE : config.sh #---------------- # PROJECT : openSUSE KIWI Image System # COPYRIGHT : (c) 2006 SUSE LINUX Products GmbH. All rights reserved # : # AUTHOR : Marcus Schaefer <ms@suse.de> # : # BELONGS TO : Operating System images #...
rjschwei/kiwi
doc/examples/suse-13.1/suse-vm-guest/config.sh
Shell
gpl-2.0
1,327
#!/bin/sh # Make sure cp --attributes-only doesn't truncate existing data # Copyright 2012-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 3 ...
Distrotech/coreutils
tests/cp/attr-existing.sh
Shell
gpl-3.0
975
#!/bin/bash # # Build file to set up and run tests set -ex # Install Bazel 4.0.0. use_bazel.sh 4.0.0 bazel version # Print bazel testlogs to stdout when tests failed. function print_test_logs { # TODO(yannic): Only print logs of failing tests. testlogs_dir=$(bazel info bazel-testlogs) testlogs=$(find "${testlog...
grpc/grpc-ios
native_src/third_party/protobuf/kokoro/linux/bazel/build.sh
Shell
apache-2.0
1,053
#!/bin/sh #/** # @@@ START COPYRIGHT @@@ # #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, Versio...
apache/incubator-trafodion
wms/bin/local-servers.sh
Shell
apache-2.0
1,338
rm *.so export PATH=../../../../scripts:$PATH export PYTHONPATH=../../../.. sed 's/vsum/sum/' sum0.py > ssum0.py python -m timeit -s 'from ssum0 import sum0 as s; import numpy as np ; r = np.random.rand(1000000)' 's(r)' rm -f ssum0.py pythran -O2 sum0.py python -m timeit -s 'from sum0 import sum0 as s; import numpy as ...
serge-sans-paille/pythran
docs/papers/wpmvp14/experiments/run_xp_sum0.sh
Shell
bsd-3-clause
518
#! /bin/sh # Check that compressed modules work correctly; based on 02simple.sh [ -n "$CONFIG_HAVE_ZLIB" ] || exit 0 for ENDIAN in $TEST_ENDIAN; do for BITNESS in $TEST_BITS; do rm -rf tests/tmp/* # Copy modules instead of linking, so we can compress them MODULE_DIR=tests/tmp/lib/modules/$MODTEST_UNAME mkdir -p $MO...
pexip/os-module-init-tools
tests/test-depmod/12compressed.sh
Shell
gpl-2.0
7,085
$ cd ./cassandra/data/data/catalogkeyspace/journal-296a2d30c22a11e9b1350d927649052c/snapshots && ls -l
belliottsmith/cassandra
doc/modules/cassandra/examples/BASH/find_two_snapshots.sh
Shell
apache-2.0
103
MACHINE= SCRIPT_NAME=elf OUTPUT_FORMAT="elf32-littlearm" BIG_OUTPUT_FORMAT="elf32-bigarm" LITTLE_OUTPUT_FORMAT="elf32-littlearm" TEXT_START_ADDR=0x8000 TEMPLATE_NAME=elf32 EXTRA_EM_FILE=armelf OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7) *(.vfp11_veneer)' OTHER_BSS_SYMBOLS='__bss_start__ = .;' OTHER_BSS_END_SYMBOLS='_bs...
seank/FreeScale-s12x-binutils-jm
ld/emulparams/armelf.sh
Shell
gpl-2.0
1,130
#!/bin/sh # # This test is for checking network interface # For the moment it tests only ethernet interface (but wifi could be easily added) # # We assume that all network driver are loaded # if not they probably have failed earlier in the boot process and their logged error will be catched by another test # # this fu...
uoaerg/linux-dccp
tools/testing/selftests/net/netdevice.sh
Shell
gpl-2.0
4,346
#!/bin/sh TZ=GMT export TZ enckey=0x4043434545464649494a4a4c4c4f4f515152525454575758 authkey=0x87658765876587658765876587658765 ipsec spi --del --af inet --edst 205.150.200.252 --spi 0x12345678 --proto esp ipsec spi --del --af inet --edst 205.150.200.252 --spi 0x12345678 --proto tun ipsec spi --af inet --edst 205.15...
qianguozheng/Openswan
testing/kunit/xmit-02/testspi1.sh
Shell
gpl-2.0
951
#!/bin/bash # usage: # api-expect-exec-success.sh ID [message] # tests an execution status is succeeded execid="$1" shift expectstatus=${1:-succeeded} shift # arg to include.sh set -- - DIR=$(cd `dirname $0` && pwd) source $DIR/include.sh # now submit req runurl="${APIURL}/execution/${execid}" params="" # get...
tjordanchat/rundeck
test/api/api-expect-exec-success.sh
Shell
apache-2.0
881
#!/bin/bash # Aruments # 1 - run list # 2 - start run # 3 - end run runList=$1 startRun=$2 endRun=$3 echo runList=$runList echo startRun=$startRun echo endRun=$endRun # workdir=${GUI_OUTDIR}/tmp/tmp${startRun}-${endRun} backupdir=`pwd`/ mkdirhier $workdir cp $runList $workdir cd $workdir source guiEnv.sh sou...
mkrzewic/AliRoot
TPC/scripts/OCDBscan/makeCalibTree.sh
Shell
bsd-3-clause
675
################################################################################ # Bug #1174314 # Test xtrabackup --stats with server dir ################################################################################ . inc/common.sh logdir=${TEST_VAR_ROOT}/logs mkdir $logdir MYSQLD_EXTRA_MY_CNF_OPTS=" innodb_log_g...
janlindstrom/percona-xtrabackup
storage/innobase/xtrabackup/test/t/xb_stats_datadir.sh
Shell
gpl-2.0
864
#! /bin/sh # $1 is expected to be $TRAVIS_OS_NAME ./Configure dist if [ "$1" == osx ]; then make NAME='_srcdist' TARFILE='_srcdist.tar' \ TAR_COMMAND='$(TAR) $(TARFLAGS) -cvf -' tar else make TARFILE='_srcdist.tar' NAME='_srcdist' dist fi
openweave/openweave-core
third_party/openssl/openssl/.travis-create-release.sh
Shell
apache-2.0
258
#!/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"); you ...
Kast0rTr0y/jackrabbit-oak
oak-run/run_writeacl.sh
Shell
apache-2.0
2,200
# cleanup for node in druid-historical druid-coordinator druid-overlord druid-router druid-broker druid-middlemanager druid-zookeeper-kafka druid-metadata-storage; do docker stop $node docker rm $node done # environment variables DIR=$(cd $(dirname $0) && pwd) DOCKERDIR=$DIR/docker SHARED_DIR=${HOME}/shared SUPERVISO...
erikdubbelboer/druid
integration-tests/run_cluster.sh
Shell
apache-2.0
2,942
#!/bin/sh test_description='CRLF renormalization' TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh test_expect_success setup ' git config core.autocrlf false && printf "LINEONE\nLINETWO\nLINETHREE\n" >LF.txt && printf "LINEONE\r\nLINETWO\r\nLINETHREE\r\n" >CRLF.txt && printf "LINEONE\r\nLINETWO\nLINETHREE\n" >CRLF...
abg1979/git
t/t0025-crlf-renormalize.sh
Shell
gpl-2.0
1,012
#!/bin/bash # # Copyright (C) 1997-2003 Sistina Software, Inc. All rights reserved. # Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. # # 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 Foundatio...
ingted/resource-agents
rgmanager/src/resources/postgres-8.sh
Shell
gpl-2.0
6,052
#!/bin/bash # This file is part of the rsyslog project, released under GPLv3 # this test is currently not included in the testbench as libdbi # itself seems to have a memory leak echo =============================================================================== echo \[libdbi-basic.sh\]: basic test for libdbi-basic fu...
RomeroMalaquias/rsyslog
tests/libdbi-basic-vg.sh
Shell
gpl-3.0
852
mkdir -p $PREFIX/bin #Copying perl script to bin folder cp LINKS $PREFIX/bin chmod +x $PREFIX/bin/LINKS #Recompiling C code cd lib/bloomfilter/swig/ PERL5DIR=`(perl -e 'use Config; print $Config{archlibexp}, "\n";') 2>/dev/null` swig -Wall -c++ -perl5 BloomFilter.i g++ -c BloomFilter_wrap.cxx -I$PERL5DIR/CORE -fPI...
dmaticzka/bioconda-recipes
recipes/links/build.sh
Shell
mit
524
# either plugin your device and copy the files via USB-detected-device or use the following method # when starting an ssh server like sshdroid URL=192.168.0.102 GH=/sdcard/graphhopper/maps/ # if you install sshdroid you can scp your files to your android device # wget http://mapsforge.googlecode.com/files/berlin.map...
tsammons/SMART-GH
android/scripts/deploy-maps.sh
Shell
apache-2.0
607
#!/bin/sh # Package PACKAGE="lirc" DNAME="LIRC" # Others INSTALL_DIR="/usr/local/${PACKAGE}" INSTALLER_SCRIPT=`dirname $0`/installer PATH="${PATH}:${INSTALL_DIR}/bin:/usr/local/bin:/bin:/usr/bin:/usr/syno/bin" DAEMON="${INSTALL_DIR}/sbin/lircd" PID_FILE="${INSTALL_DIR}/var/lircd.pid" CONF_FILE="${INSTALL_DIR}/etc/lir...
cdcabrera/spksrc
spk/lirc/src/dsm-control.sh
Shell
bsd-3-clause
4,844
#!/usr/bin/env bash # Copyright 2016 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
mkumatag/origin
vendor/k8s.io/kubernetes/cluster/restore-from-backup.sh
Shell
apache-2.0
9,389
#!/bin/bash export C_INCLUDE_PATH=${PREFIX}/include export LIBRARY_PATH=${PREFIX}/lib make mkdir -p $PREFIX/bin cp SweepFinder2 $PREFIX/bin
dmaticzka/bioconda-recipes
recipes/sweepfinder2/build.sh
Shell
mit
142
#!/usr/bin/env bash OS=`cat /etc/os-release | grep "^ID=" | sed 's/ID=//g' | sed 's/["]//g' | awk '{print $1}'` echo -e "Operating System: ${OS}\n" realm="TEST.COREFX.NET" domain="TEST" principal1="TESTHOST/testfqdn.test.corefx.net" principal2="TESTHTTP/localhost" krb_user="krb_user" krb_password="password" ntlm_use...
nbarbettini/corefx
src/System.Net.Security/tests/Scripts/Unix/setup-kdc.sh
Shell
mit
8,851
. ${srcdir}/emulparams/armelf.sh MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" TEXT_START_ADDR=0x00008000 TARGET2_TYPE=got-rel unset STACK_ADDR unset EMBEDDED
jlspyaozhongkai/Uter
third_party_backup/binutils-2.25/ld/emulparams/armelf_nbsd.sh
Shell
gpl-3.0
151