content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
#!/usr/bin/env bash\n\ncurl -q -o vector-v0.18.1.tar.gz -L https://github.com/vectordotdev/vector/releases/download/v0.18.1/vector-0.18.1-x86_64-unknown-linux-gnu.tar.gz\ntar -xzf vector-v0.18.1.tar.gz\nmv vector-x86_64-unknown-linux-gnu/bin/vector vector-v0.18.1\nrm -rf vector-x86_64-unknown-linux-gnu\nrm -f vector-v0...
dataset_sample\shell\vectordotdev_vector\testing\github-10895\get-and-build-vector-binaries.sh
get-and-build-vector-binaries.sh
Shell
796
0.8
0
0.066667
react-lib
206
2023-09-08T11:46:12.973085
GPL-3.0
true
f23ee1c32a41e7ea82976efe37cac795
#!/usr/bin/env bash\n\ncurl -q -o vector-v0.19.0.tar.gz -L https://github.com/vectordotdev/vector/releases/download/v0.19.0/vector-0.19.0-x86_64-unknown-linux-gnu.tar.gz\ntar -xzf vector-v0.19.0.tar.gz\nmv vector-x86_64-unknown-linux-gnu/bin/vector vector-v0.19.0\nrm -rf vector-x86_64-unknown-linux-gnu\nrm -f vector-v0...
dataset_sample\shell\vectordotdev_vector\testing\github-11039\get-and-build-vector-binaries.sh
get-and-build-vector-binaries.sh
Shell
489
0.8
0
0.1
node-utils
892
2024-12-20T07:18:49.246747
MIT
true
135a1003fd6dd1e1052f04ecba856ca8
#!/usr/bin/env bash\n\ncurl -q -o vector-v0.19.0.tar.gz -L https://github.com/vectordotdev/vector/releases/download/v0.19.0/vector-0.19.0-x86_64-unknown-linux-gnu.tar.gz\ntar -xzf vector-v0.19.0.tar.gz\nmv vector-x86_64-unknown-linux-gnu/bin/vector vector-v0.19.0\nrm -rf vector-x86_64-unknown-linux-gnu\nrm -f vector-v0...
dataset_sample\shell\vectordotdev_vector\testing\github-11072\get-and-build-vector-binaries.sh
get-and-build-vector-binaries.sh
Shell
489
0.8
0
0.1
vue-tools
251
2024-04-23T18:36:01.265302
MIT
true
135a1003fd6dd1e1052f04ecba856ca8
#!/usr/bin/env bash\n\ncurl -q -o vector-v0.20.0.tar.gz -L https://github.com/vectordotdev/vector/releases/download/v0.20.0/vector-0.20.0-x86_64-unknown-linux-gnu.tar.gz\ntar -xzf vector-v0.20.0.tar.gz\nmv vector-x86_64-unknown-linux-gnu/bin/vector vector-v0.20.0\nrm -rf vector-x86_64-unknown-linux-gnu\nrm -f vector-v0...
dataset_sample\shell\vectordotdev_vector\testing\github-12069\get-and-build-vector-binaries.sh
get-and-build-vector-binaries.sh
Shell
489
0.8
0
0.1
awesome-app
39
2024-10-30T03:14:52.714901
MIT
true
8bad2687595b8732eeaf812930f39148
#!/bin/bash\n\nmkdir -p /ssl\n\ncp /certs/intermediate_server/private/postgres.key.pem /ssl/postgres.key\nchown postgres:postgres /ssl/postgres.key\nchmod 600 /ssl/postgres.key\n\ncp /certs/intermediate_server/certs/postgres-chain.cert.pem /ssl/postgres.crt\n\n/docker-entrypoint.sh postgres \\n -c ssl=on \\n -c s...
dataset_sample\shell\vectordotdev_vector\tests\data\postgres-init.sh
postgres-init.sh
Shell
419
0.8
0
0.090909
python-kit
924
2025-01-21T17:36:12.007080
Apache-2.0
true
08e7fa74be97e48579cc2d9a116ae0c7
#!/bin/bash\nfor i in $(seq 1 3); do\n BIND_ROOT="/bind${i}"\n BIND_CONTROL_PORT="900${i}"\n\n # Set up folders and files needed for the this instance.\n mkdir -p "${BIND_ROOT}/etc/bind/socket" "${BIND_ROOT}/usr/share/dns" "${BIND_ROOT}/var/lib/bind"\n cp -r /etc/bind/* "${BIND_ROOT}/etc/bind/"\n cp /...
dataset_sample\shell\vectordotdev_vector\tests\data\dnstap\configure_bind.sh
configure_bind.sh
Shell
800
0.8
0.1875
0.214286
react-lib
241
2025-05-17T17:50:23.222450
MIT
true
e1f9ff59d4ee3e639bf6969f54ff3565
#!/bin/bash\nfor i in $(seq 1 3); do\n BIND_ROOT="/bind${i}"\n BIND_QUERY_PORT="800${i}"\n\n # Clean any leftover DNSTAP socket.\n rm -f "${BIND_ROOT}/etc/bind/socket/dnstap.sock${i}"\n\n # Bring up the BIND instance, which will spawn itself as a background daemon.\n /usr/sbin/named -p "${BIND_QUERY_PORT}" ...
dataset_sample\shell\vectordotdev_vector\tests\data\dnstap\run_bind.sh
run_bind.sh
Shell
487
0.8
0.066667
0.416667
awesome-app
328
2025-01-12T00:01:07.831391
MIT
true
736ac0fdea2313e225e54136f70e5938
#!/bin/bash\nset -e\n\ncp /docker-entrypoint-initdb.d/pg_hba.conf /var/lib/postgresql/data/pg_hba.conf\n
dataset_sample\shell\vectordotdev_vector\tests\data\postgresql-local-socket-initdb\pg_hba.conf.sh
pg_hba.conf.sh
Shell
100
0.8
0
0.333333
python-kit
86
2024-09-28T13:25:02.203727
BSD-3-Clause
true
39b024a994e1f509aa9a3ab5dc7b52a8
#!/bin/bash\n./.gitlab/scripts/security.sh\n./.gitlab/scripts/code-quality.sh\n./.gitlab/scripts/unittest.sh
dataset_sample\shell\veloren_veloren\.gitlab\scripts\ci.sh
ci.sh
Shell
105
0.8
0
0.25
awesome-app
937
2024-09-19T03:30:02.352476
Apache-2.0
false
9f2af2d545d1e8f10726b28c068bca12
#!/bin/bash\n# cargo clippy is a superset of cargo check, so we don't check manually\n\ntime cargo clippy \\n --all-targets \\n --locked \\n --features="bin_cmd_doc_gen,bin_compression,bin_csv,bin_graphviz,bin_bot,bin_asset_migrate,asset_tweak,bin,stat,cli" \\n -- -D warnings &&\n\n# Ensure that the veloren...
dataset_sample\shell\veloren_veloren\.gitlab\scripts\code-quality.sh
code-quality.sh
Shell
696
0.8
0
0.25
vue-tools
622
2025-05-27T16:56:54.948988
GPL-3.0
false
18707cefa942f829b07b50d22c8b3bf9
#!/bin/bash\necho "modifying files in 5s, ctrl+c to abort" && sleep 5\nfind ./* -name "Cargo.toml" -exec sed -i -E 's/, *"simd"|"simd" *,|"simd"//g' {} \;\nexport VELOREN_ASSETS="$(pwd)/assets";\ntime cargo tarpaulin --skip-clean -v -- --test-threads=2;
dataset_sample\shell\veloren_veloren\.gitlab\scripts\coverage.sh
coverage.sh
Shell
249
0.8
0
0.2
node-utils
533
2023-08-16T09:09:45.881823
BSD-3-Clause
false
88872978358c8c52de9ad6ffb8e5a766
#!/bin/bash\n# exports default env variables in CI\nexport DISABLE_GIT_LFS_CHECK=true\nexport VELOREN_ASSETS="assets"\n\n# When updating RUSTFLAGS here, windows-x86_64.sh must also be updated as it sets them independently\nexport RUSTFLAGS="-D warnings"\n\nexport SHADERC_LIB_DIR=/shaderc/combined/\n
dataset_sample\shell\veloren_veloren\.gitlab\scripts\env.sh
env.sh
Shell
291
0.8
0
0.428571
vue-tools
72
2025-06-10T18:31:43.980797
BSD-3-Clause
false
0945d2f51fb3312c20070c1c5182b0aa
#!/bin/bash\nexport VELOREN_USERDATA_STRATEGY=executable\nexport PKG_CONFIG="/usr/bin/aarch64-linux-gnu-pkg-config"\ntime cargo build --target=aarch64-unknown-linux-gnu --release --no-default-features --features default-publish\n# evaluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on relea...
dataset_sample\shell\veloren_veloren\.gitlab\scripts\linux-aarch64.sh
linux-aarch64.sh
Shell
341
0.8
0
0.4
python-kit
757
2024-01-11T22:14:13.582932
GPL-3.0
false
9173c0befad813ead3582ba3de82db51
#!/bin/bash\nexport VELOREN_USERDATA_STRATEGY=executable\ntime cargo build --release --no-default-features --features default-publish\n# evaluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on release (but faster on debug)\n
dataset_sample\shell\veloren_veloren\.gitlab\scripts\linux-x86_64.sh
linux-x86_64.sh
Shell
248
0.8
0
0.5
awesome-app
894
2024-05-12T08:50:17.995979
BSD-3-Clause
false
9148b9ed78d10f7fe3496ba8a3be99ce
#!/bin/bash\nVELOREN_ASSETS="$(pwd)/assets"\nexport VELOREN_ASSETS\n\ntime cargo run --bin i18n_csv --features="stat"\n
dataset_sample\shell\veloren_veloren\.gitlab\scripts\translation.sh
translation.sh
Shell
114
0.8
0
0.25
python-kit
163
2025-03-01T03:12:20.217012
GPL-3.0
false
93aeba52e97c6ee8c0e0b1a13a748e0e
#!/bin/bash\n\n### returns respective DOCKER TAG\n### release-tag => <release-tag> (e.g. v1.2.3)\n### schedule => <SCHEDULE_CADENCE> (e.g. nightly)\n### master => "master"\n### else => ""\npublishdockertag () {\n# this stores the result in PUBLISH_DOCKER_TAG\nexport PUBLISH_DOCKER_TAG="";\nif [[ "${CI_COMMIT_TAG}" =~ $...
dataset_sample\shell\veloren_veloren\.gitlab\scripts\util.sh
util.sh
Shell
792
0.8
0.148148
0.296296
awesome-app
270
2024-06-01T13:13:45.598380
Apache-2.0
false
87d1b5269b8a5cca8e5dcd0b1eaf24d4
#!/bin/bash\nupdate-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix\nupdate-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix\nexport VELOREN_USERDATA_STRATEGY=executable\n\n# RUSTFLAGS is set here in addition to env.sh (which is used for all targets not jus...
dataset_sample\shell\veloren_veloren\.gitlab\scripts\windows-x86_64.sh
windows-x86_64.sh
Shell
629
0.8
0.090909
0.444444
vue-tools
875
2024-10-02T19:13:48.463739
GPL-3.0
false
2bf126da4bdcacc5b16e45e19c2d1cef
#!/usr/bin/env bash\n\nset -e\n\nif [[ -z "$GPG_KEY" ]]; then\n GPG_KEY=/secrets/key.gpg\nfi\n\nif [[ -f "${GPG_KEY}" ]]; then\n echo "importing gpg key..."\n if gpg --batch --import "${GPG_KEY}"; then\n gpg --list-secret-keys --keyid-format long\n fi\nfi\n\nif [[ -z "$DOCKER_CREDS_FILE" ]]; then\n DOCKER_CREDS_FILE=/...
dataset_sample\shell\vercel_turborepo\buildcontainer\entrypoint.sh
entrypoint.sh
Shell
855
0.95
0.25
0.030303
python-kit
911
2025-06-11T20:21:54.341321
BSD-3-Clause
false
508aa4bba24465fd9d3075190c1fa7f2
#!/usr/bin/env bash\n\nif [[ "$OSTYPE" != "msys" ]]; then\n echo "Skipping build for non-windows platform"\n exit\nfi\n\n\necho "Building stub turbo.exe for windows platform"\ng++ turbo.cpp -o turbo.exe\n\n\nSCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}")\nUP_ONE="$SCRIPT_DIR/.."\nROOT_DIR="$SCRIPT_DIR/../.."\nFIND_TURBO_F...
dataset_sample\shell\vercel_turborepo\packages\turbo-exe-stub\build.sh
build.sh
Shell
2,247
0.8
0.068182
0.033333
node-utils
156
2023-09-28T21:46:43.536688
BSD-3-Clause
false
9e5a7d06ba1feed889d7db76d93cd66a
#!/bin/bash\n\nuser_provided_flags="$@"\nscript_provided_flags="\\n --platform \\n -p=turborepo-napi \\n --cargo-cwd=../../ \\n --cargo-name=turborepo_napi \\n native \\n --js=false \\n"\n\nfor flag in $user_provided_flags; do\n if [[ $flag == --target=* ]]; then\n target=${flag#*=}\n rustup toolchain inst...
dataset_sample\shell\vercel_turborepo\packages\turbo-repository\scripts\build.sh
build.sh
Shell
1,011
0.8
0.090909
0.185185
awesome-app
462
2025-04-22T18:12:41.344936
MIT
false
c9ed9dc99c6be26089f4478082021a7f
#!/bin/bash\n\nset -e\n\n# Note: BASH_SOURCE[0] is a _relative_ path, so grab\n# the full realpath right away before manipulating.\nSCRIPT_FILE="$( realpath "${BASH_SOURCE[0]}" )"\necho "SCRIPT_FILE: ${SCRIPT_FILE}"\nPKG_ROOT=$(realpath "$(dirname "${SCRIPT_FILE}")/..")\necho "PKG_ROOT: ${PKG_ROOT}"\nJS_PACKAGE_JSON="$...
dataset_sample\shell\vercel_turborepo\packages\turbo-repository\scripts\bump-version.sh
bump-version.sh
Shell
1,166
0.8
0.058824
0.222222
node-utils
567
2024-02-10T07:20:08.109610
Apache-2.0
false
72bfc323647ccc3c8bc2b5e096c00889
#!/bin/bash\nset -eo pipefail\n\nTARGET_DIR=$1\nFIXTURE="${2-basic_monorepo}"\nFIXTURES_DIR="$3"\n\n# If a fixtures directory isn't provided, we use the default one we use for integration tests\nif [ "$FIXTURES_DIR" == "" ]; then\n echo "Pass a fixtures directory"\n exit 1\nfi\n\ncp -a "${FIXTURES_DIR}/$FIXTURE/." "$...
dataset_sample\shell\vercel_turborepo\turborepo-tests\helpers\copy_fixture.sh
copy_fixture.sh
Shell
322
0.8
0.142857
0.181818
vue-tools
306
2024-01-16T00:32:31.090528
GPL-3.0
true
9e1a1a12666cb89c9e6cd6212130efc4
#!/bin/bash\n\n# This script greps stdin (i.e. what's piped to it)\n# splits it by "=" and prints the second value.\n# it's intendted to get the global hash from a debug log that looks like this:\n# 2023-04-06T04:28:19.599Z [DEBUG] turbo: global hash: value=a027dadc4dea675e\n#\n# Usage:\n# turbo build -vv 2>&1 | "$TEST...
dataset_sample\shell\vercel_turborepo\turborepo-tests\helpers\find_global_hash.sh
find_global_hash.sh
Shell
403
0.8
0
0.909091
vue-tools
502
2025-05-18T01:13:55.383523
MIT
true
e4d2896679e7de5d96255fe866b4f6bc
#!/usr/bin/env bash\n\nset -eo pipefail\n# TODO: Should we default to pnpm here?\nPACKAGE_MANAGER="npm"\n# Check if "@" is present in the argument and remove it if so\nif [[ $1 != "" && $1 == *'@'* ]]; then\n PACKAGE_MANAGER=${1%%@*}\nelif [[ $1 != "" ]]; then\n PACKAGE_MANAGER=$1\nfi\n\nif [ "$PACKAGE_MANAGER" == "...
dataset_sample\shell\vercel_turborepo\turborepo-tests\helpers\install_deps.sh
install_deps.sh
Shell
1,340
0.8
0.204545
0.222222
python-kit
876
2023-08-18T23:47:17.786111
MIT
true
2f013788aac348e1492501d60d64a64a
#!/usr/bin/env bash\n\n# Create a mocked Vercel auth file\nread -r -d '' AUTH <<- EOF\n{\n "// Note": "This is your Vercel credentials file. DO NOT SHARE!",\n "// Docs": "https://vercel.com/docs/project-configuration#global-configuration/auth-json",\n "token": "mock-token"\n}\nEOF\n\nTMP_DIR=$(mktemp -d -t turbo-XX...
dataset_sample\shell\vercel_turborepo\turborepo-tests\helpers\mock_existing_login.sh
mock_existing_login.sh
Shell
948
0.8
0
0.222222
python-kit
774
2024-05-09T13:07:46.401231
BSD-3-Clause
true
96e0e8a6e3c6c67b1196977572ccc5a3
#!/usr/bin/env bash\n\nread -r -d '' CONFIG <<- EOF\n{\n "telemetry_enabled": true\n}\nEOF\n\nTMP_DIR=$(mktemp -d -t turbo-XXXXXXXXXX)\n\n# duplicate over to XDG var so that turbo picks it up\nexport XDG_CONFIG_HOME=$TMP_DIR\nexport HOME=$TMP_DIR\nexport TURBO_TELEMETRY_MESSAGE_DISABLED=1\nexport TURBO_CONFIG_DIR_PATH...
dataset_sample\shell\vercel_turborepo\turborepo-tests\helpers\mock_telemetry_config.sh
mock_telemetry_config.sh
Shell
573
0.8
0
0.210526
awesome-app
321
2025-03-11T00:24:30.134659
Apache-2.0
true
bf66724d676ad1202a36088fdff206fa
#!/usr/bin/env bash\n\nread -r -d '' CONFIG <<- EOF\n{\n "token": "normal-user-token"\n}\nEOF\n\nTMP_DIR=$(mktemp -d -t turbo-XXXXXXXXXX)\n\n# duplicate over to XDG var so that turbo picks it up\nexport XDG_CONFIG_HOME=$TMP_DIR\nexport HOME=$TMP_DIR\nexport TURBO_CONFIG_DIR_PATH=$TMP_DIR\nexport TURBO_TELEMETRY_MESSAG...
dataset_sample\shell\vercel_turborepo\turborepo-tests\helpers\mock_turbo_config.sh
mock_turbo_config.sh
Shell
703
0.8
0
0.217391
react-lib
247
2024-06-23T11:00:35.680468
GPL-3.0
true
b8150898e2baeda6180ffca2e4b2dafe
#!/usr/bin/env bash\n\nPROJECT_DIR=$1\nCONFIG_NAME=$2\n\nTHIS_DIR=$(dirname "${BASH_SOURCE[0]}")\nMONOREPO_ROOT_DIR="$THIS_DIR/../.."\n\nTURBO_CONFIGS_DIR="${MONOREPO_ROOT_DIR}/turborepo-tests/integration/fixtures/turbo-configs"\n\ncp "${TURBO_CONFIGS_DIR}/$CONFIG_NAME" "$PROJECT_DIR/turbo.json"\n\n# Check if there are...
dataset_sample\shell\vercel_turborepo\turborepo-tests\helpers\replace_turbo_json.sh
replace_turbo_json.sh
Shell
462
0.8
0.117647
0.166667
react-lib
555
2024-06-19T00:29:52.125427
MIT
true
eed38f6a6c12e868948b25b631a31395
#!/bin/bash\n\nfunction getSummaryTask() {\n cat "$1" | jq ".tasks | map(select(.task == \"$2\")) | .[0]"\n}\n\nfunction getSummaryTaskId() {\n cat "$1" | jq ".tasks | map(select(.taskId == \"$2\")) | .[0]"\n}\n
dataset_sample\shell\vercel_turborepo\turborepo-tests\helpers\run_summary.sh
run_summary.sh
Shell
204
0.95
0.222222
0.142857
awesome-app
999
2024-09-21T20:54:06.688883
MIT
true
06ab91154eb587fc2b076cc8de4278a2
#!/usr/bin/env bash\n\nTHIS_DIR=$(dirname "${BASH_SOURCE[0]}")\nMONOREPO_ROOT_DIR="${THIS_DIR}/../.."\n\nif [[ "${OSTYPE}" == "msys" ]]; then\n EXT=".exe"\nelse\n EXT=""\nfi\n\n# disable the first-run telemetry message\nexport TURBO_TELEMETRY_MESSAGE_DISABLED=1\nexport TURBO_GLOBAL_WARNING_DISABLED=1\nexport TURBO_DO...
dataset_sample\shell\vercel_turborepo\turborepo-tests\helpers\setup.sh
setup.sh
Shell
460
0.8
0.055556
0.133333
vue-tools
62
2024-11-01T14:38:14.549278
GPL-3.0
true
777d427421c33f4b63b3c4f0d3e7cdf5
#!/usr/bin/env bash\n\nTARGET_DIR=$1\n\ngit init ${TARGET_DIR} --quiet --initial-branch=main\n\nGIT_ARGS="--git-dir=${TARGET_DIR}/.git --work-tree=${TARGET_DIR}"\ngit ${GIT_ARGS} config user.email "turbo-test@example.com"\ngit ${GIT_ARGS} config user.name "Turbo Test"\n\n# https://docs.npmjs.com/cli/v9/using-npm/config...
dataset_sample\shell\vercel_turborepo\turborepo-tests\helpers\setup_git.sh
setup_git.sh
Shell
599
0.8
0.058824
0.333333
vue-tools
448
2023-09-10T12:50:20.843304
BSD-3-Clause
true
b2ed9773b6483c3cc30ccb4966340ab0
#!/usr/bin/env bash\n\ndir=$1\npkgManager=$2\n\n# Update package manager if one was provided\nif [ "$pkgManager" != "" ]; then\n # Use jq to write a new file with a .packageManager field set and then\n # Overwrite original package.json. For some reason the command above won't send its output\n # directly to the orig...
dataset_sample\shell\vercel_turborepo\turborepo-tests\helpers\setup_package_manager.sh
setup_package_manager.sh
Shell
1,726
0.8
0.152174
0.361111
awesome-app
858
2023-11-19T20:38:18.112578
MIT
true
74a5bb4ce35bcfc42b418ebd5a7f684c
#!/usr/bin/env bash\n\npathset="no"\nsysrootset="no"\n\nif [ -n "$PATH" ]; then\n pathset="yes"\nfi\n\nif [ -n "$SYSTEMROOT" ]; then\n sysrootset="yes"\nfi\n\n{\n echo -n "globalpt: '$GLOBAL_VAR_PT', "\n echo -n "localpt: '$LOCAL_VAR_PT', "\n echo -n "globaldep: '$GLOBAL_VAR_DEP', "\n echo -n "localdep: '$LOCAL_V...
dataset_sample\shell\vercel_turborepo\turborepo-tests\integration\fixtures\strict_env_vars\apps\my-app\build.sh
build.sh
Shell
431
0.8
0.090909
0.055556
react-lib
318
2024-11-06T07:21:05.580724
Apache-2.0
true
5b78893ec092ec195859da521c8b76b7
#!/bin/bash\n\nexport TURBO_DOWNLOAD_LOCAL_ENABLED=0\nSCRIPT_DIR=$(dirname ${BASH_SOURCE[0]})\nTARGET_DIR=$1\nFIXTURE_DIR=$2\n\ncp -a ${SCRIPT_DIR}/../../fixtures/find_turbo/$FIXTURE_DIR/. ${TARGET_DIR}/\n\n# We need to symlink: turbo -> .pnpm/turbo@1.0.0/node_modules/turbo\n# where `turbo` is the symlink\n# and `.pnpm...
dataset_sample\shell\vercel_turborepo\turborepo-tests\integration\tests\find-turbo\setup.sh
setup.sh
Shell
1,012
0.8
0.103448
0.434783
python-kit
145
2024-09-11T12:38:12.963208
GPL-3.0
true
10ce98f2cae98b60ee5d29c1f8fd4281
#!/bin/bash\n\nTARGET_DIR=$1\nTURBO_PATH=$2\n\nif [[ "$OSTYPE" == "msys" ]]; then\n FILES=$(find $TARGET_DIR -type f -name turbo.exe)\nelse\n FILES=$(find $TARGET_DIR -type f -name turbo)\nfi\n\nfor FILE in $FILES\ndo\n rm $FILE\n ln -s $TURBO_PATH $FILE\ndone\n
dataset_sample\shell\vercel_turborepo\turborepo-tests\integration\tests\find-turbo\set_link.sh
set_link.sh
Shell
250
0.8
0.125
0.076923
awesome-app
575
2024-03-29T03:28:09.147686
GPL-3.0
true
763af12d17f19c11d8b32a714b32eba4
#!/bin/bash\n\nTARGET_DIR=$1\nVERSION=$2\n\nFILES=$(find $TARGET_DIR -type f -name package.json)\n\nfor FILE in $FILES\ndo\n rm $FILE\n echo "{ \"version\": \"$VERSION\" }" > $FILE\ndone\n
dataset_sample\shell\vercel_turborepo\turborepo-tests\integration\tests\find-turbo\set_version.sh
set_version.sh
Shell
178
0.8
0.083333
0.111111
awesome-app
28
2023-12-26T18:18:36.596641
Apache-2.0
true
fd5b20fede8e73e181b8399d17d303fb
#!/bin/bash\n\nSCRIPT_DIR=$(dirname ${BASH_SOURCE[0]})\nTARGET_DIR=$1\nTURBOREPO_TESTS_DIR="$SCRIPT_DIR/../../.."\nSETUP_GIT_SCRIPT="${TURBOREPO_TESTS_DIR}/helpers/setup_git.sh"\n\nfunction install_deps() {\n local dir=$1\n pushd $dir > /dev/null || exit 1\n npm install --silent\n popd > /dev/null || exit 1\n git ...
dataset_sample\shell\vercel_turborepo\turborepo-tests\integration\tests\inference\nested_workspaces_setup.sh
nested_workspaces_setup.sh
Shell
1,128
0.95
0.028571
0.038462
awesome-app
511
2024-06-09T10:20:15.104575
GPL-3.0
true
7cc20781fa3acd99644b6bf813c2f153
#!/bin/bash\n\nSCRIPT_DIR=$(dirname ${BASH_SOURCE[0]})\nTARGET_DIR=$1\nTURBOREPO_TESTS_DIR="$SCRIPT_DIR/../../.."\nSETUP_GIT_SCRIPT="${TURBOREPO_TESTS_DIR}/helpers/setup_git.sh"\n\nfunction install_deps() {\n local dir=$1\n pushd $dir > /dev/null || exit 1\n npm install --silent\n popd > /dev/null || exit 1\n git ...
dataset_sample\shell\vercel_turborepo\turborepo-tests\integration\tests\inference\no_workspaces_setup.sh
no_workspaces_setup.sh
Shell
761
0.95
0.04
0.05
node-utils
206
2023-08-03T00:30:27.615345
Apache-2.0
true
d2ceb0bc971dc227b9ef5582d4509169
#!/bin/bash\n\nexport TURBO_GLOBAL_WARNING_DISABLED=1\nexport TURBO_DOWNLOAD_LOCAL_ENABLED=0\nSCRIPT_DIR=$(dirname ${BASH_SOURCE[0]})\nTARGET_DIR=$1\nFIXTURE_DIR=$2\ncp -a ${SCRIPT_DIR}/../../fixtures/lockfile_aware_caching/. ${TARGET_DIR}/\ncp -a ${SCRIPT_DIR}/${FIXTURE_DIR}/. ${TARGET_DIR}/\n# Setup git\ngit init ${...
dataset_sample\shell\vercel_turborepo\turborepo-tests\integration\tests\lockfile-aware-caching\setup.sh
setup.sh
Shell
658
0.8
0
0.117647
react-lib
943
2024-03-30T02:24:59.904359
Apache-2.0
true
e28a171a5d923d06895744b40600cfa2
#!/bin/bash\n\nset -ex\n\n# Unarchived size: 5.1M Apache.log\nif [ ! -f Apache.tar.gz ]; then\n curl -o Apache.tar.gz -C - https://zenodo.org/record/3227177/files/Apache.tar.gz?download=1\nfi\n\n# Unarchived size: 13G hadoop-*.log\nif [ ! -f HDFS_2.tar.gz ]; then\n curl -o HDFS_2.tar.gz -C - https://zenodo.org/record...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\deployment\logs-benchmark\source_logs\download.sh
download.sh
Shell
920
0.8
0.176471
0.230769
node-utils
818
2024-08-29T16:33:21.110905
BSD-3-Clause
false
3aee910d445e681cce3a77aee291daa5
#!/bin/sh\n\nsed -e 's|DEFAULT_FORWARD_POLICY=.*|DEFAULT_FORWARD_POLICY="ACCEPT"|g' \\n -i /etc/default/ufw\n\nufw allow ssh comment "SSH port"\nufw allow http comment "HTTP port"\nufw allow https comment "HTTPS port"\nufw allow 8428 comment "VictoriaMetrics Single HTTP port"\nufw allow 8089/tcp comment "TCP Influx ...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\deployment\marketplace\digitialocean\one-click-droplet\scripts\02-firewall.sh
02-firewall.sh
Shell
649
0.8
0.333333
0.076923
node-utils
762
2024-03-05T23:53:46.469675
Apache-2.0
false
a7fcb988142f04bc7d6a11de7a034de9
#!/bin/sh\n\n# Wait for cloud-init\ncloud-init status --wait\n\nwget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v${VM_VERSION}/victoria-metrics-linux-amd64-v${VM_VERSION}.tar.gz -O /tmp/victoria-metrics.tar.gz\ntar xvf /tmp/victoria-metrics.tar.gz -C /usr/bin\nchmod +x /usr/bin/victoria-metric...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\deployment\marketplace\digitialocean\one-click-droplet\scripts\04-install-victoriametrics.sh
04-install-victoriametrics.sh
Shell
435
0.8
0.083333
0.333333
awesome-app
512
2025-03-03T02:31:33.765139
Apache-2.0
false
fc80ca3593bce2a2e6642e088f5a7134
#!/bin/bash\n\n# DigitalOcean Marketplace Image Validation Tool\n# © 2021-2022 DigitalOcean LLC.\n# This code is licensed under Apache 2.0 license (see LICENSE.md for details)\n\nVERSION="v. 1.8.1"\nRUNDATE=$( date )\n\n# Script should be run with SUDO\nif [ "$EUID" -ne 0 ]\n then echo "[Error] - This script must be r...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\deployment\marketplace\digitialocean\one-click-droplet\scripts\99-img-check.sh
99-img-check.sh
Shell
23,318
0.95
0.168504
0.063683
node-utils
483
2024-05-05T11:36:08.185268
MIT
false
3c80b40cd6048866159749eadcbb9516
#!/bin/bash\n## Runs once-and-only-once at first boot per instance.\n\n## Report the start time to a logfile.\necho $(date -u) ": System provisioning started." >> /var/log/per-instance.log\n\napt update\nDEBIAN_FRONTEND=noninteractive apt -qq full-upgrade -y\nDEBIAN_FRONTEND=noninteractive apt -qq install -y ufw wget s...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\deployment\marketplace\vultr\victoriametrics-single\setup-per-instance.sh
setup-per-instance.sh
Shell
1,125
0.8
0.178571
0.227273
react-lib
547
2024-10-29T14:16:13.616343
GPL-3.0
false
9e3e4157157eedf6f5974c594beb6761
#!/bin/bash\n################################################\n## Prerequisites\nchmod +x /root/vultr-helper.sh\n. /root/vultr-helper.sh\nerror_detect_on\ninstall_cloud_init latest\n\n################################################\n## Create victoriametrics user\ngroupadd -r victoriametrics\nuseradd -g victoriametric...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\deployment\marketplace\vultr\victoriametrics-single\victoriametrics-single.sh
victoriametrics-single.sh
Shell
1,524
0.8
0.025
0.375
vue-tools
39
2024-05-20T12:51:58.124433
BSD-3-Clause
false
6d5a1fb997459e15071d833a7692bab8
#!/bin/bash\n\nARCH="amd64"\nif [[ $# -ge 1 ]]\nthen\n ARCH="$1"\nfi\n\n# Map to Debian architecture\nif [[ "$ARCH" == "amd64" ]]; then\n DEB_ARCH=amd64\n EXENAME_SRC="victoria-metrics-linux-amd64-prod"\nelif [[ "$ARCH" == "arm64" ]]; then\n DEB_ARCH=arm64\n EXENAME_SRC="victoria-metrics-linux-arm64-prod"\n...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\package\package_deb.sh
package_deb.sh
Shell
2,508
0.8
0.028302
0.2
awesome-app
875
2024-05-08T19:53:01.061316
BSD-3-Clause
false
feedabe5c825d9d713faf72d3126ed12
#!/bin/bash\n\nif ! which rpmbuild 2> /dev/null\nthen\n echo "*** Fatal: please install rpmbuild"\n exit 1\nfi\n\nARCH="amd64"\nif [[ $# -ge 1 ]]\nthen\n ARCH="$1"\nfi\n\n# Map to Debian architecture\nif [[ "$ARCH" == "amd64" ]]; then\n RPM_ARCH=x86_64\n EXENAME_SRC="victoria-metrics-linux-amd64-prod"\nelif [[...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\package\package_rpm.sh
package_rpm.sh
Shell
2,122
0.8
0.055556
0.059701
vue-tools
531
2025-05-25T07:41:12.372977
GPL-3.0
false
b28de7d78bba6ae0046c94169dc9690c
#!/bin/sh\n\n# Script to generate info.go files with methods for all clients.\n\nif [[ $# != 2 ]]; then\n echo >&2 "usage: $0 DIR PACKAGE"\n exit 1\nfi\n\noutfile=info.go\n\ncd $1\n\ncat <<'EOF' > $outfile\n// Copyright 2023 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the "License");\n// you ma...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\cloud.google.com\internal\gen_info.sh
gen_info.sh
Shell
1,305
0.95
0.086957
0.571429
react-lib
845
2025-04-11T18:22:24.993497
MIT
false
aa14675114850ad068ed1999288c11a7
#!/bin/bash\n# Copyright 2019 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or a...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\cloud.google.com\internal\version\update_version.sh
update_version.sh
Shell
688
0.95
0.052632
0.875
node-utils
419
2024-07-19T04:34:57.789863
GPL-3.0
false
6b44024a5d34c80466f22f4103c1dd96
#1/usr/bin/env bash\n\nPROJECT_DIR=""\nSMITHY_SOURCE_DIR=$(cd `dirname $0` && pwd)\n\nusage() {\n echo "Usage: $0 [-s SMITHY_SOURCE_DIR] [-d PROJECT_DIR]" 1>&2\n exit 1\n}\n\nwhile getopts "hs:d:" options; do\n case "${options}" in\n s)\n SMITHY_SOURCE_DIR=${OPTARG}\n if [ "$SMITHY_SOURCE_DIR" == "" ]; then\n...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\github.com\aws\smithy-go\local-mod-replace.sh
local-mod-replace.sh
Shell
791
0.95
0.102564
0.058824
react-lib
47
2025-06-14T14:06:55.355303
Apache-2.0
false
a84fa6479c07e06fe5b2400534d34c4b
#!/bin/bash\n\n# exclude vendor/\nSOURCES="*.go internal/ example/"\n\nif [ "$1" = "--fix" ]; then\n exec gofmt -s -w $SOURCES\nfi\n\nif [ -n "$(gofmt -s -l $SOURCES)" ]; then\n echo "Go code is not formatted correctly with \`gofmt -s\`:"\n gofmt -s -d $SOURCES\n exit 1\nfi\n
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\github.com\ergochat\readline\.check-gofmt.sh
.check-gofmt.sh
Shell
262
0.8
0.142857
0.181818
python-kit
802
2024-04-17T13:20:15.197399
Apache-2.0
false
4c49b9d482fc47946b2200f9dcefc2ff
#!/bin/bash\nset -e\nset -x\n\nif [ ! -d /tmp/build-golang/src/github.com/json-iterator ]; then\n mkdir -p /tmp/build-golang/src/github.com/json-iterator\n ln -s $PWD /tmp/build-golang/src/github.com/json-iterator/go\nfi\nexport GOPATH=/tmp/build-golang\ngo get -u github.com/golang/dep/cmd/dep\ncd /tmp/build-gola...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\github.com\json-iterator\go\build.sh
build.sh
Shell
381
0.8
0.083333
0.090909
python-kit
663
2023-10-05T03:00:52.609198
MIT
false
e9f456288fefdce7d233cabbfffda093
#!/usr/bin/env bash\n\n# Copyright The OpenTelemetry Authors\n# SPDX-License-Identifier: Apache-2.0\n\nset -euo pipefail\n\ntop_dir='.'\nif [[ $# -gt 0 ]]; then\n top_dir="${1}"\nfi\n\np=$(pwd)\nmod_dirs=()\n\n# Note `mapfile` does not exist in older bash versions:\n# https://stackoverflow.com/questions/41475261/nee...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\go.opentelemetry.io\otel\get_main_pkgs.sh
get_main_pkgs.sh
Shell
738
0.8
0.166667
0.227273
node-utils
800
2024-01-12T02:45:08.747787
GPL-3.0
false
101f5df29fc7e76f4b81e670ebefcdf3
#!/bin/bash\n\n# Copyright The OpenTelemetry Authors\n# SPDX-License-Identifier: Apache-2.0\n\nset -euo pipefail\n\ndirs=$(find . -type d -not -path "*/internal*" -not -path "*/test*" -not -path "*/example*" -not -path "*/.*" | sort)\n\nmissingReadme=false\nfor dir in $dirs; do\n if [ ! -f "$dir/README.md" ]; then\n e...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\go.opentelemetry.io\otel\verify_readmes.sh
verify_readmes.sh
Shell
474
0.8
0.190476
0.1875
react-lib
263
2024-02-01T23:18:55.785411
Apache-2.0
false
94580eae204359748e290d9285a5e02a
#!/bin/bash\n\n# Copyright The OpenTelemetry Authors\n# SPDX-License-Identifier: Apache-2.0\n\nset -euo pipefail\n\nTARGET="${1:?Must provide target ref}"\n\nFILE="CHANGELOG.md"\nTEMP_DIR=$(mktemp -d)\necho "Temp folder: $TEMP_DIR"\n\n# Only the latest commit of the feature branch is available\n# automatically. To diff...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\go.opentelemetry.io\otel\verify_released_changelog.sh
verify_released_changelog.sh
Shell
1,461
0.8
0.02381
0.322581
react-lib
232
2025-03-01T02:09:53.847570
BSD-3-Clause
false
9364d78a8df259e782b5c57fa3668a9e
#!/bin/bash -e\n\nERROR_COUNT=0\nwhile read -r file\ndo\n case "$(head -1 "${file}")" in\n *"Copyright (c) "*" Uber Technologies, Inc.")\n # everything's cool\n ;;\n *)\n echo "$file is missing license header."\n (( ERROR_COUNT++ ))\n ;;\n esac\ndone < <(git ls-files "*\.go")\n\nexit $ERROR_COUNT\n
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\go.uber.org\zap\checklicense.sh
checklicense.sh
Shell
294
0.8
0.058824
0.266667
node-utils
984
2025-07-06T01:02:52.326756
MIT
false
cb75537c7e07e9c18db459488e4f4c80
#!/usr/bin/env bash\n# Copyright 2009 The Go Authors. All rights reserved.\n# Use of this source code is governed by a BSD-style\n# license that can be found in the LICENSE file.\n\n# The plan9 package provides access to the raw system call\n# interface of the underlying operating system. Porting Go to\n# a new archit...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\golang.org\x\sys\plan9\mkall.sh
mkall.sh
Shell
4,535
0.95
0.073333
0.531469
python-kit
139
2023-10-21T22:45:42.257239
MIT
false
bcee9a80bbcf127575369a6e7cc35fdd
#!/usr/bin/env bash\n# Copyright 2009 The Go Authors. All rights reserved.\n# Use of this source code is governed by a BSD-style\n# license that can be found in the LICENSE file.\n\n# Generate Go code listing errors and other #defined constant\n# values (ENAMETOOLONG etc.), by asking the preprocessor\n# about the defin...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\golang.org\x\sys\plan9\mkerrors.sh
mkerrors.sh
Shell
6,068
0.95
0.052846
0.181395
vue-tools
147
2025-05-10T19:24:30.893840
MIT
false
6e34186474e18698c2953de8a1d26200
#!/bin/sh\n# Copyright 2009 The Go Authors. All rights reserved.\n# Use of this source code is governed by a BSD-style\n# license that can be found in the LICENSE file.\n\nCOMMAND="mksysnum_plan9.sh $@"\n\ncat <<EOF\n// $COMMAND\n// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT\n\npackage plan9\n\nconst(\nEOF\n\n...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\golang.org\x\sys\plan9\mksysnum_plan9.sh
mksysnum_plan9.sh
Shell
459
0.8
0
0.352941
vue-tools
900
2023-10-29T12:27:27.870739
Apache-2.0
false
558fa25425056804937a526491c0a621
#!/usr/bin/env bash\n# Copyright 2009 The Go Authors. All rights reserved.\n# Use of this source code is governed by a BSD-style\n# license that can be found in the LICENSE file.\n\n# This script runs or (given -n) prints suggested commands to generate files for\n# the Architecture/OS specified by the GOARCH and GOOS e...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\golang.org\x\sys\unix\mkall.sh
mkall.sh
Shell
8,304
0.95
0.076305
0.13278
vue-tools
595
2023-08-21T03:25:31.528444
BSD-3-Clause
false
e7e8f54242ca8462e9717dc8f12b76e3
#!/usr/bin/env bash\n# Copyright 2009 The Go Authors. All rights reserved.\n# Use of this source code is governed by a BSD-style\n# license that can be found in the LICENSE file.\n\n# Generate Go code listing errors and other #defined constant\n# values (ENAMETOOLONG etc.), by asking the preprocessor\n# about the defin...
dataset_sample\shell\VictoriaMetrics_VictoriaMetrics\vendor\golang.org\x\sys\unix\mkerrors.sh
mkerrors.sh
Shell
21,018
0.95
0.042236
0.508108
node-utils
693
2023-09-16T04:35:27.643598
MIT
false
cba76e218fc331faf717402d7b234a99
#!/usr/bin/env bash\n\nset -e\n\n\nif [[ ${GITHUB_REPOSITORY} != 'vimeo/psalm' && -z ${PHAR_REPO_SLUG} ]]; then\n echo 'Not attempting phar deployment, as this is not vimeo/psalm, and $PHAR_REPO_SLUG is unset or empty'\n exit 0;\nfi;\n\nPHAR_REPO_SLUG=${PHAR_REPO_SLUG:=psalm/phar}\n\ngit clone https://${PHAR_RE...
dataset_sample\shell\vimeo_psalm\bin\ci\github-deploy-phar.sh
github-deploy-phar.sh
Shell
1,082
0.8
0.046512
0.21875
node-utils
337
2025-05-25T01:39:47.286355
Apache-2.0
false
e2f38201aa1e41272c3764910645703e
#!/bin/sh -l\nset -e\n\nTAINT_ANALYSIS=""\nif [ "$INPUT_SECURITY_ANALYSIS" = "true" ]; then\n TAINT_ANALYSIS="--taint-analysis"\nfi\n\nREPORT=""\nif [ ! -z "$INPUT_REPORT_FILE" ]; then\n REPORT="--report=$INPUT_REPORT_FILE"\nfi\n\nSHOW_INFO=""\nif [ "$INPUT_SHOW_INFO" = "true" ]; then\n SHOW_INFO="--show-info=tr...
dataset_sample\shell\vimeo_psalm\bin\docker\entrypoint.sh
entrypoint.sh
Shell
762
0.8
0.171429
0.034483
awesome-app
841
2023-10-22T07:43:32.754517
MIT
false
9d0dd34a433c8a72360192a7f864135a
#!/bin/bash -e\n\nVERSIONS="7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4"\n\nfor f in $VERSIONS; do\n {\n docker buildx build --push --cache-to type=inline --cache-from type=registry,ref=ghcr.io/$ACTOR/psalm:internal_stubs_$f --build-arg VERSION=$f . -f bin/stubs/Dockerfile_$f -t ghcr.io/$ACTOR/psalm:internal_stub...
dataset_sample\shell\vimeo_psalm\bin\stubs\build_docker.sh
build_docker.sh
Shell
461
0.8
0.181818
0.111111
python-kit
526
2024-04-05T01:30:25.657583
GPL-3.0
false
4a63968d6ea668f48f16a06d97d79ec8
#!/bin/bash -e\n\nVERSIONS="7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4"\n\n\nfor f in $VERSIONS; do\n docker run --pull always --platform linux/amd64 --rm -v $PWD:/app ghcr.io/danog/psalm:internal_stubs_$f php /app/bin/stubs/gen_base_callmap.php &\ndone\n\nwait\n\nphp bin/stubs/gen_callmap.php\nphp bin/stubs/gen_callma...
dataset_sample\shell\vimeo_psalm\bin\stubs\gen_callmap.sh
gen_callmap.sh
Shell
314
0.8
0.076923
0.125
vue-tools
366
2024-07-22T18:18:35.027242
BSD-3-Clause
false
27f3fc4433810651d02972aa1010839b
#!/usr/bin/env sh\npushd /etc/apt/preferences.d/\ncat > nosnap.pref <<EOF\n# To prevent repository packages from triggering the installation of snap,\n# this file forbids snapd from being installed by APT.\n\nPackage: snapd\nPin: release a=*\nPin-Priority: -10\nEOF\npopd\nsnap remove --purge $(snap list | awk '!/^Name|...
dataset_sample\shell\vim_vim\ci\remove_snap.sh
remove_snap.sh
Shell
352
0.8
0
0.25
node-utils
30
2025-06-05T19:52:35.532554
BSD-3-Clause
false
9a041dd9208a375e3c9f080e0e122c30
#!/bin/bash\nset -e\n\n# Using a systemd user service doesn't work because it seems like github actions\n# doesn't support user sessions? Just run sway in the background and disown it.\nWLR_BACKENDS=headless sway &\ndisown\n
dataset_sample\shell\vim_vim\ci\setup-sway.sh
setup-sway.sh
Shell
217
0.8
0
0.5
awesome-app
362
2024-05-11T15:49:28.576726
Apache-2.0
false
70cd57db17131ae2698eb5eff3c753af
#!/bin/bash\nset -e\n\napt-get install -y xvfb\n\ncat <<EOT >/etc/systemd/system/xvfb.service\n[Unit]\nDescription=X Virtual Frame Buffer Service\nAfter=network.target\n[Service]\nExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24\n[Install]\nWantedBy=multi-user.target\nEOT\n\nsystemctl enable xvfb.service\nsystemctl st...
dataset_sample\shell\vim_vim\ci\setup-xvfb.sh
setup-xvfb.sh
Shell
321
0.8
0
0.071429
awesome-app
992
2025-01-18T05:54:32.729116
BSD-3-Clause
false
09f4cfb75a976f786a9b176224b23408
#! /bin/sh\n\nprefix=stock_\nlist=\n\nfor file in "$@"; do\n name=$(echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||')\n list="$list $prefix$name $file"\ndone\n\ngdk-pixbuf-csource --raw --static --build-list $list\n
dataset_sample\shell\vim_vim\pixmaps\gen-inline-pixbufs.sh
gen-inline-pixbufs.sh
Shell
211
0.8
0.090909
0.125
python-kit
448
2025-07-09T08:49:23.595529
BSD-3-Clause
false
6b6f2d36e0805ddeafdb7c50de0fad29
#!/bin/sh\n# Shell script to start Vim with less.vim.\n# Read stdin if no arguments were given and stdin was redirected.\n\nif test -t 1; then\n if test $# = 0; then\n if test -t 0; then\n echo "Missing filename" 1>&2\n exit\n fi\n vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' -\n...
dataset_sample\shell\vim_vim\runtime\macros\less.sh
less.sh
Shell
588
0.8
0.230769
0.16
node-utils
804
2024-04-13T00:57:54.508699
MIT
false
0edb12cf4299ff8057ea582c77fe7fe3
#! /bin/ksh\n# sh2\n# Jul 28, 2018: introduced shCommandSubBQ, which is *not* included in a shSubCommandList (so its not recursive)\nccc=`echo "test"`\n ccc=`echo "test"`\n\n# comment\ncase $VAR in\n# comment\n x|y|z) echo xyz ;;\n# comment\n a|b|c) echo abc ;;\n# comment\nesac\n\n# Jul 26, 2018: why isn't `..` being ...
dataset_sample\shell\vim_vim\runtime\syntax\testdir\input\sh_02.sh
sh_02.sh
Shell
497
0.8
0
0.481481
node-utils
71
2025-06-24T21:36:28.035843
BSD-3-Clause
true
04befb25425629baccf426808c5afdee
#!/bin/ksh\n# Test variable modifiers\n# Variable=value\nVariable='value'\nVariable="value"\nVariableA="pat1xxpat2"\nVariableB="pat2xxpat1"\necho ${#}\necho ${#VariableA}\necho ${VariableA#pat1}\necho ${VariableA##pat1}\necho ${VariableB%pat1}\necho ${VariableB%%pat1}\n\n# This gets marked as an error\nVariable=${Vari...
dataset_sample\shell\vim_vim\runtime\syntax\testdir\input\sh_03.sh
sh_03.sh
Shell
971
0.8
0.060606
0.25
vue-tools
787
2025-03-13T06:12:36.530580
Apache-2.0
true
5399f38bf023778d40ed9b154d07418e
#!/bin/dash\n# sh4\nVariable=${VariableB:-{VariableC}}\nVariable=${VariableB:-${VariableC:-{Var3:=eng}}}\n\n# This gets marked as an error while its ok\nVariable=${VariableB:-${VariableC:-{Var3:=eng}}}\nVariable=${VariableB:=${VariableC:={Var3:=${Var4:-eng}}}}\nVariable=${VariableB:=${VariableC:={Var3:=${Var4:-${Var5:-...
dataset_sample\shell\vim_vim\runtime\syntax\testdir\input\sh_04.sh
sh_04.sh
Shell
730
0.8
0.045455
0.333333
vue-tools
783
2025-02-22T23:05:21.024776
MIT
true
50a835488bb2e28022264db08bf51b1c
#!/bin/dash -x\n# sh5\n# Note that this is special for sh. ksh will be an extra file later.\n# Note too, that sh and ksh allow ${var:-sub} as well as ${var-sub}!\n# The ':' is optional!\n\n# This all should be OK\n# Case 0a\n[ -t 0 ] && date\nVariable1=value1\nVariable2='value2'\nVariable3="value3"\necho "$Variable1" "...
dataset_sample\shell\vim_vim\runtime\syntax\testdir\input\sh_05.sh
sh_05.sh
Shell
12,956
0.8
0.008043
0.202454
node-utils
39
2025-07-08T05:15:31.838716
MIT
true
40aaebc90a0a99055d499bc978349228
#!/bin/ksh\n# Shall we debug this script? If so, remove the '#' before '#DebugScript=set'\nDebugScript=set\n\n# Show that we are busy.\n[ -t 0 ] && echo "Please wait ... \c" >`tty`\n\n################################################################################\n#\n# Display some Help\n#\nUsage () {\n\n# does this c...
dataset_sample\shell\vim_vim\runtime\syntax\testdir\input\sh_06.sh
sh_06.sh
Shell
1,677
0.8
0.014085
0.442308
awesome-app
206
2024-11-27T03:39:28.900749
GPL-3.0
true
365fc7a70696d42689b22ff2c6bbb2cb
#!/bin/dash\n# Test file to test 'for do done' loops.\n# You can start this script like: $0 {-ne -gt -le ...} (all numeric operators \n# are allowed!\n\n# All this works and should be OK\n\n################################################################################\n#\n# For loop without 'in list'. Uses $1 $2 ... ...
dataset_sample\shell\vim_vim\runtime\syntax\testdir\input\sh_07.sh
sh_07.sh
Shell
2,304
0.95
0.193548
0.418919
react-lib
772
2023-09-17T13:37:18.818619
MIT
true
e8cfa78fc89d14316d90d1b956fd4461
#!/bin/ksh -p\n\n# Note that this is special test file for ksh. sh is an extra file.\n# Note too, that this file contains ONLY things which works for ksh BUT NOT\n# for sh\n\n# This all should be OK\n\n# Several keywords without any quotes!\n# Case 1a. Several Constants \n[ -t 0 ] && date\nVariable1=${VariableA:-This i...
dataset_sample\shell\vim_vim\runtime\syntax\testdir\input\sh_08.sh
sh_08.sh
Shell
2,993
0.8
0.060976
0.26087
vue-tools
111
2025-05-16T11:24:56.353832
Apache-2.0
true
c877914ef67c941ff4efa13d8157619b
#!/bin/dash\n# Test file for vim the check () subshells\n( cd ; $pwd ) | wc -c\n( cd $1 ; $pwd ) | wc -c\n( cd ${1} ; $pwd ) | wc -c\n( cd ; $pwd ) | wc -c\n( cd ${1:-.} ; $pwd ) | sed -e 's!$!/!' -e 's!//*$!/!'\n( cd ; $pwd ) | wc -c\n( cd ${1:+.} ; $pwd ) | wc -c\n( cd ; $pwd ) | wc -c\n( cd ${1:=.} ; $pwd ) | wc -c\...
dataset_sample\shell\vim_vim\runtime\syntax\testdir\input\sh_09.sh
sh_09.sh
Shell
485
0.8
0.052632
0.105263
awesome-app
887
2024-09-04T21:45:26.200770
GPL-3.0
true
5782cceb40206fc8cc476b173efd7da8
#!/bin/ksh\n\n# This script is a test file for ksh93 shared-state\n# command substitutions (subshares) and mksh value\n# substitutions (valsubs).\n\n# ======\n# Below is subshare syntax supported by both ksh93 and mksh.\nprint ${ echo one }\nprint ${ echo two\n}\nprint ${\necho three }\nprint ${ echo 'four'; }\nprint $...
dataset_sample\shell\vim_vim\runtime\syntax\testdir\input\sh_10.sh
sh_10.sh
Shell
1,030
0.8
0.040816
0.272727
react-lib
614
2023-09-30T11:15:50.426071
Apache-2.0
true
4e6aa25c87ca476b7058788950b87bf0
#!/bin/bash\n\n# Issue #962\n\narr=(\n 1 2 3 4\n) # ok\n\nif true; then\n\n arr=(1 2 3 4) # ok\n\n arr=( 1 2 3 4 ) # ok\n\n arr=(\n 1 2 3 4\n ) # paren error!\n\nfi\n\n
dataset_sample\shell\vim_vim\runtime\syntax\testdir\input\sh_11.sh
sh_11.sh
Shell
156
0.8
0.05
0.166667
react-lib
451
2024-11-15T03:34:59.327178
GPL-3.0
true
a20bffb545a9e9f8a7682bbdc5d731ef
#!/bin/bash\n# VIM_TEST_SETUP highlight link shArrayValue Identifier\n# VIM_TEST_SETUP highlight link shBracketExprDelim Structure\n# VIM_TEST_SETUP highlight link shCharClass Todo\n# VIM_TEST_SETUP highlight link shRange CursorLine\n\n\n\n\n[[ ( "$1" == ?(-)+([0-9]) && "$1" =~ ^-?[[:digit:]]+$ &&\n'^?(-)+([[:digit:]])...
dataset_sample\shell\vim_vim\runtime\syntax\testdir\input\sh_12.sh
sh_12.sh
Shell
6,139
0.8
0
0.082051
node-utils
747
2024-02-20T04:12:40.823562
Apache-2.0
true
72c0cc96d135864393f0324301083cac
#!/bin/dash\n# Issue #17026 (bash highlighting requires space after $())\n# https://github.com/vim/vim/issues/17026#issuecomment-2774112284\n\n_comp_compgen_split -l -- "$(\n tmux list-commands -F "#{command_list_name}"\n tmux list-commands -F "#{command_list_alias}"\n)"\n\n
dataset_sample\shell\vim_vim\runtime\syntax\testdir\input\sh_13.sh
sh_13.sh
Shell
272
0.95
0
0.428571
react-lib
614
2024-11-27T04:45:12.966209
GPL-3.0
true
e8e5f830279ed6663a4a343056e1a5f4
#!/bin/sh -e\n#\n# The following steps are to be taken by this script:\n# 1) Remove all files from the "dumps" directory.\n# 2) Generate screendumps for each syntax test and each self-test.\n# 3) Unconditionally move each batch of screendumps to "dumps"; if generated\n# files differ on repeated runs, always remove thes...
dataset_sample\shell\vim_vim\runtime\syntax\testdir\tools\regenerate_screendumps.sh
regenerate_screendumps.sh
Shell
2,776
0.8
0.063492
0.240741
vue-tools
511
2023-11-11T22:57:21.915164
MIT
true
6f4b77c93698c3f4e60628cb6887ee22
#!/bin/sh\n#\n# Spell a file & generate the syntax statements necessary to\n# highlight in vim. Based on a program from Krishna Gadepalli\n# <krishna@stdavids.picker.com>.\n#\n# I use the following mappings (in .vimrc):\n#\n# noremap <F8> :so `vimspell.sh %`<CR><CR>\n# noremap <F7> :syntax clear SpellErrors<CR>\n#\n# ...
dataset_sample\shell\vim_vim\runtime\tools\vimspell.sh
vimspell.sh
Shell
1,462
0.8
0.054545
0.510204
node-utils
141
2024-07-15T19:17:30.509819
GPL-3.0
false
e7f3d4d8a2582edce2fab1a3292eb19e
#! /bin/sh\n# installman.sh --- install or uninstall manpages for Vim\n#\n# arguments:\n# 1 what: "install", "uninstall" or "xxd"\n# 2 target directory e.g., "/usr/local/man/it/man1"\n# 3 language addition e.g., "" or "-it"\n# 4 vim location as used in manual pages e.g., "/usr/local/share/vim"\n# 5 runt...
dataset_sample\shell\vim_vim\src\installman.sh
installman.sh
Shell
3,829
0.95
0.152
0.205357
python-kit
678
2025-04-06T21:59:49.240835
BSD-3-Clause
false
87ca2e48ef4ca2effbb851b609231510
#! /bin/sh\n# installml.sh --- install or uninstall manpage links for Vim\n#\n# arguments:\n# 1 what: "install" or "uninstall"\n# 2 also do GUI pages: "yes" or ""\n# 3 target directory e.g., "/usr/local/man/it/man1"\n# 4 vim exe name e.g., "vim"\n# 5 vimdiff exe name e.g., "vimdiff"\n# 6 evim ex...
dataset_sample\shell\vim_vim\src\installml.sh
installml.sh
Shell
4,589
0.8
0.158824
0.223684
node-utils
382
2025-05-25T23:40:40.252920
BSD-3-Clause
false
fc01115c09d94356bb5c0d4011f68b72
#! /bin/sh\n#\n# link.sh -- try linking Vim with different sets of libraries, finding the\n# minimal set for fastest startup. The problem is that configure adds a few\n# libraries when they exist, but this doesn't mean they are needed for Vim.\n#\n# Author: Bram Moolenaar\n# Last change: 2010 Nov 03\n# Licens...
dataset_sample\shell\vim_vim\src\link.sh
link.sh
Shell
4,872
0.8
0.190789
0.293706
react-lib
928
2025-01-19T17:35:10.107012
Apache-2.0
false
3ce08f1e9352a7a0b90f42ca6ce94fd5
#! /bin/sh\n#\n# osdef.sh -- copy osdef.h.in to osdef.h while removing declarations\n# found in the system header files. Caution: weird sed magic going on here.\n# Warnings are printed if sed did not survive.\n#\n# (C) Michael Schroeder, Juergen Weigert\n#\n# osdef.h.in has been split into osdef1.h.in and osdef2.h.in, ...
dataset_sample\shell\vim_vim\src\osdef.sh
osdef.sh
Shell
3,009
0.95
0.14
0.46988
node-utils
680
2025-03-24T18:14:47.721307
GPL-3.0
false
84f5c5ecff2dc2964416cce453cc3f06
#! /bin/sh\n#\n# pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists\n#\nif test -s auto/link.sed; then\n cp auto/pathdef.c auto/pathdef.tmp\n sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c\n rm -f auto/pathdef.tmp\nfi\n\n# vim:set sw=2 et:\n
dataset_sample\shell\vim_vim\src\pathdef.sh
pathdef.sh
Shell
251
0.8
0.272727
0.5
python-kit
963
2024-01-12T21:49:22.562839
Apache-2.0
false
f496d6ef443b1ed695a27e9ac01c8355
#! /bin/sh\n#\n# which.sh -- find where an executable is located. It's here because the\n# "which" command is not supported everywhere. Used by Makefile.\n\nIFS=":"\nfor ac_dir in $PATH; do\n if test -f "$ac_dir/$1"; then\n echo "$ac_dir/$1"\n break\n fi\ndone\n
dataset_sample\shell\vim_vim\src\which.sh
which.sh
Shell
254
0.8
0.166667
0.363636
react-lib
80
2024-07-31T15:26:57.951187
GPL-3.0
false
acee61ea0666589ed420b343664373f2
#!/bin/bash\n# shellcheck disable=SC2164\n\n# Copyright 2019 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n#...
dataset_sample\shell\vitessio_vitess\bootstrap.sh
bootstrap.sh
Shell
8,010
0.95
0.067729
0.333333
react-lib
350
2024-12-09T11:33:25.593131
GPL-3.0
false
289190cada9f729a226767b8f4186b71
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic...
dataset_sample\shell\vitessio_vitess\docker\binaries\logrotate\rotate.sh
rotate.sh
Shell
982
0.95
0.060606
0.655172
awesome-app
23
2024-10-02T08:15:01.297052
GPL-3.0
false
9053283f5526ea85034ddb87e1882511
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic...
dataset_sample\shell\vitessio_vitess\docker\binaries\logtail\tail.sh
tail.sh
Shell
1,173
0.95
0.097561
0.571429
vue-tools
42
2024-12-30T14:07:52.027728
Apache-2.0
false
b4a3297cfd3e309e3993f75be0b4c2ba
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic...
dataset_sample\shell\vitessio_vitess\docker\bootstrap\build.sh
build.sh
Shell
2,105
0.95
0.086957
0.508475
python-kit
823
2024-10-21T15:19:06.422332
MIT
false
1927a956f7ae40eac6c2bea020249514
#!/bin/bash\n#\n# Run a MiniVitess docker image, with details and credentials for a MySQL replication topology\n#\n\nTOPOLOGY_SERVER=""\nMYSQL_SCHEMA=""\nTOPOLOGY_USER=""\nTOPOLOGY_PASSWORD=""\n\nhelp() {\ncat <<- "EOF"\nUsage:\n docker/mini/run.sh <options>\n\nMandatory options:\n -s <topology server>: in hostname[:p...
dataset_sample\shell\vitessio_vitess\docker\mini\run.sh
run.sh
Shell
1,627
0.8
0.155172
0.098039
awesome-app
460
2024-03-31T21:32:06.211567
Apache-2.0
false
8ac99d52c1f9856f0eb27398d5d4791e
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic...
dataset_sample\shell\vitessio_vitess\docker\mini\vtctld-mini-up.sh
vtctld-mini-up.sh
Shell
1,124
0.95
0.026316
0.484848
python-kit
794
2025-03-28T01:43:53.416048
BSD-3-Clause
false
d066323ce749c32983a537033c0c29cb
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic...
dataset_sample\shell\vitessio_vitess\docker\mini\vttablet-mini-up.sh
vttablet-mini-up.sh
Shell
2,586
0.95
0.05814
0.243243
react-lib
105
2024-06-16T11:33:23.443464
GPL-3.0
false
c7bd0b7522950bef23978b0837b9a122
#!/bin/bash\n\n# Copyright 2019 The Vitess Authors.\n# \n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# \n# http://www.apache.org/licenses/LICENSE-2.0\n# \n# Unless required by applic...
dataset_sample\shell\vitessio_vitess\docker\test\run.sh
run.sh
Shell
7,554
0.95
0.088106
0.362694
awesome-app
385
2025-01-05T23:46:53.101285
BSD-3-Clause
true
ddffcef664e87ab02885c7a71a7a8e7f
#!/bin/bash\n\n# Copyright 2021 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl...
dataset_sample\shell\vitessio_vitess\docker\vttestserver\run.sh
run.sh
Shell
1,828
0.95
0.104167
0.5
react-lib
211
2023-11-19T06:50:49.628749
MIT
true
a658c1a404d1fd0cee11c2999cb6bb81
#!/bin/bash\n\n# Copyright 2022 The Vitess Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicabl...
dataset_sample\shell\vitessio_vitess\examples\backups\restart_tablets.sh
restart_tablets.sh
Shell
2,939
0.95
0.151899
0.333333
react-lib
91
2025-06-26T14:01:48.393253
BSD-3-Clause
false
de9c31a240752a6200bd738701af2940