First 38 rows of sh
| uuidstring | repo_namestring | relative_pathstring | contentstring | categorystring | algo_rel_scorefloat64 | quality_scorefloat64 |
|---|---|---|---|---|---|---|
| 560e78a9-ee9c-4ee1-b379-195f6a5b7123 | emil237/novalerstore | novacampro.sh | #!/bin/sh # ###command=wget -q "--no-check-certificate" https://raw.githubusercontent.com/emil237/novalerstore/main/novacampro.sh -O - | /bin/sh ########################### PYTHON_VERSION=$(python -c"import platform; print(platform.python_version())") ########################## e… | TOOL | 0.9917393922805786 | 3.3840513229370117 |
| 098b20ae-95e4-40a0-9b28-8cc55dc57272 |
| scriptmodules/supplementary/ps3controller.sh |
| #!/usr/bin/env bash rp_module_id="ps3controller" rp_module_desc="PS3 controller driver and pair via sixad" rp_module_licence="GPL2 https://raw.githubusercontent.com/RetroPie/sixad/master/COPYING" rp_module_section="driver" function depends_ps3controller() { depends_bluetoot… |
| TOOL |
| 0.994817316532135 |
| 4.572351455688477 |
| 549cff88-ca0a-43ad-a46a-f7cbd95e9f0c | Ophelie-Renaud/MAD-based-RFI-mitigator | CodeFPGA/generated/vivado/vivado.runs/design_1_auto_us_1_synth_1/ISEWrap.sh | #!/bin/sh cmd_exists() { command -v "$1" >/dev/null 2>&1 } HD_LOG=$1 shift # CHECK for a STOP FILE if [ -f .stop.rst ] then echo "" >> $HD_LOG echo "*** Halting run - EA reset detected ***" >> $HD_LOG echo "" … | TOOL | 0.9950937032699585 | 4.453441143035889 |
| b94c3ab6-213e-4fbb-b488-0e6f6d17ab75 | de-nugan/amiboot | install_files/application/boot-handler.sh | #!/bin/bash # Process running check, only works without SUDO. ($$ = PID of this instance) if [[ $(pgrep -f $0) != $$ ]]; then echo "${0}: Another instance is already running." exit fi my_name="${0##*/}" my_path="${0%/${my_name}}" . "${my_path}/config.sh" # Real paths… | TOOL | 0.993240475654602 | 4.084008693695068 |
| b4eb14ec-100d-4efa-a2e8-dd2a16d98b77 | sagargoswami2001/Shell-Script-Programs | Loops/ex4_sum_of_digits.sh | #!/bin/bash read -p "Enter a number: " num sum=0 while [ $num -gt 0 ] do dig=$((num%10)) sum=$((sum+dig)) num=$((num/10)) done echo "The sum of digits of the given number: $sum" | ALGO | 0.989096462726593 | 4.9490509033203125 |
| 9bc5874f-1aa5-402b-9590-5dc80c296b68 | rawaqasha/Workflows-Repository | docker-installation.sh | #!/bin/sh set -e # # This script is meant for quick & easy install via: # 'curl -sSL https://get.docker.com/ | sh' # or: # 'wget -qO- https://get.docker.com/ | sh' # # For test builds (ie. release candidates): # 'curl -sSL https://test.docker.com/ | sh' # or: # 'wget -qO-… | TOOL | 0.9937437176704407 | 5.210196018218994 |
| 4b0aba20-af4c-4098-b2a7-5d52e24edda8 | emiliano080591/bash | basic/err_handling.sh | #!/bin/bash # Best practice: Comment your code # This script demostrates best practice in shell scripting # Best practice error handling set -e # Function to handle errors handler_error(){ echo $? echo "An error ocurred. Exiting" exit 1 } # Trap errors and call the… | TOOL | 0.9929983615875244 | 6.027470588684082 |
| ae29a747-ea8a-4ca6-b644-6482e9dd35f9 | mixtile/a31-linux | scripts/kconfig/lxdialog/check-lxdialog.sh | #!/bin/sh # Check ncurses compatibility # What library to link ldflags() { for ext in so a dylib ; do for lib in ncursesw ncurses curses ; do $cc -print-file-name=lib${lib}.${ext} | grep -q / if [ $? -eq 0 ]; then echo "-l${lib}" exit fi done done exit 1 … | TOOL | 0.9958782196044922 | 5.480968475341797 |
| ce6b3380-6dc1-4dd1-8255-b72c09ded5e2 | mightysai1997/official-images | test/tests/monica-cli-mariadb10/run.sh | #!/bin/bash set -eo pipefail dir="$(dirname "$(readlink -f "$BASH_SOURCE")")" image="$1" dbImage='mariadb:10' # ensure the dbImage is ready and available if ! docker image inspect "$dbImage" &> /dev/null; then docker pull "$dbImage" > /dev/null fi # Create an instance of the… | TOOL | 0.9322311878204346 | 4.402278900146484 |
| 3506d948-7490-49ab-a143-40e85e5b7d00 | Johnpaul-01/scripting-03 | while_loop.sh | echo "while demo loop ..." i=1 while [ $i -le 5 ] do echo $i i='expr $i + 1' done echo "while loop is over" | ALGO | 0.9960352778434753 | 4.027324676513672 |
| b03efd48-32f5-40b4-b92b-de71ffc999c0 | lucasfpalacios/bash-project | src/scripts/descargar.sh | #!/bin/bash # Este script debe descargar una sola imagen desde internet en la carpeta actual. # Puede recibir un argumento opcional indicando la clase de la imagen. # El nombre del archivo deberá ser único, una opción para evitar repetición de imágenes # y asegurar que sea único… | TOOL | 0.8952426314353943 | 5.261850357055664 |
| d5f0d4d4-a7c4-425d-bcce-4e2b1345d570 | hbackup/kaldi-rnnlm | egs/wsj/s5/steps/decode_combine.sh | #!/bin/bash # Combine two decoding directories by composing the lattices (we # apply a weight to each of the original weights, by default 0.5 each). # Note, this is not the only combination method, or the most normal combination # method. See also egs/wsj/s5/local/score_combine… | TOOL | 0.9827537536621094 | 4.4342217445373535 |
| de330f80-1177-441a-a22c-60b9fb289e88 | HattanOpenHack/hattantestsymp | IAC/setupinit.sh | #!/bin/bash set -e NAME="${1:-"$(cat /dev/urandom | env LC_ALL=C tr -dc 'a-z' | fold -w 8 | head -n 1)"}" LOCATION="${2:-"westus"}" NNN="${3:-"$(echo $RANDOM | fold -w 3 | head -n 1)"}" SUBSCRIPTION_ID=$(az account show --query id --output tsv) RG_NAME="rg-${NAME}-${NNN}" CR_N… | TOOL | 0.9910872578620911 | 3.3929290771484375 |
| 499ac52c-894b-48d5-9062-f433eeabf8e6 | dilyor91/jhipsterlmsapp3repo | src/main/docker/jib/entrypoint.sh | #!/bin/bash echo "The application will start in ${JHIPSTER_SLEEP}s..." && sleep ${JHIPSTER_SLEEP} # usage: file_env VAR [DEFAULT] # ie: file_env 'XYZ_DB_PASSWORD' 'example' # (will allow for "$XYZ_DB_PASSWORD_FILE" to fill in the value of # "$XYZ_DB_PASSWORD" from a file, e… | TOOL | 0.9195234179496765 | 4.360124111175537 |
| 8a1ccb53-9494-42ee-a686-15fa9309bab7 | Hiroki11x/LossLandscapeGeometry | exp/image_classification/imagenet1k/model-size-imagenet.sh | # ======== Wandb Configuration ======== WANDB_ENTITY='YOUR_ENTITY' WANDB_PROJECT_NAME='model-size-imagenet' # ======== Environmental Setting ======== SEED="1234" NUM_WORKER="8" NUM_GPU="4" # ======== Configuration ======== DATASET="imagenet" DATA_ROOT="None" # ======== Determi… | TOOL | 0.9327070713043213 | 3.6946046352386475 |
| 5cdb7b3f-0db3-42b5-b127-d4153fc9f2dc | mrvarrier/resume-maker | setup.sh | #!/bin/bash # ATS Resume Builder - Setup Script for macOS/Linux # This script will check prerequisites and install dependencies set -e # Exit on error # Color codes for output RED='\033[0;31m' GREEN='\033[0;32m' YELLOW='\033[1;33m' BLUE='\033[0;34m' NC='\033[0m' # No Color #… | TOOL | 0.9891679286956787 | 6.500220775604248 |
| 371f3c9a-db84-47eb-9aeb-eb2f5d62418c | vocho/qnxpkgsrcmirror | HEAD_640/pkgsrc/www/opera/files/opera.sh | fixup_opera_ini() { linux_osrel=`/sbin/sysctl -n emul.linux.kern.osrelease 2>/dev/null` case "$linux_osrel" in [01].*|2.0|2.0.[0-9]|2.0.[12][0-9]|2.0.3[0-8]) ;; *) return 0 ;; esac OPERADIR=$HOME/.opera @MKDIR@ $OPERADIR || return 1 for inifile in $OPERADIR/opera6.ini … | TOOL | 0.9543647766113281 | 4.767819404602051 |
| 4d17e2c7-c6bd-4006-8475-24a51937d081 | netbear/CloudAnts | test/ec2/ec2-bench.sh | #!/bin/bash #if [ $# != 3 ]; #do # echo "USAGE: $0 " #done CLUSTER_SIZE=4 INSTANCE_SIZE=m1.large GROUP_NAME=vold-bench # create group, if it doesn't exist ec2-add-group $GROUP_NAME -d "voldemort benchmark security group." ec2-authorize $GROUP_NAME -P tcp -p 6666 ec2-authorize… | TOOL | 0.9479303359985352 | 3.287456512451172 |
| 0d609bd7-eb81-4d33-b63d-e5e76e0c5bac | jessiewbailey/TaskFlow | apply-k8s-migrations.sh | #!/bin/bash # Apply missing database migrations in Kubernetes set -e # Colors for output RED='\033[0;31m' GREEN='\033[0;32m' YELLOW='\033[1;33m' NC='\033[0m' # No Color echo -e "${GREEN}TaskFlow Kubernetes Database Migration Application${NC}" echo "============================… | TOOL | 0.9916266202926636 | 4.466183662414551 |
| 4fa0c093-cae0-42ea-a40a-956341d3b914 | gbellocchi/richie-acc-bench | pulp/vitis-vision/fast/sw/app/run_fast_baseline.sh | #!/bin/bash # ========= # # FUNCTIONS # # ========= # # ===================================================================== # # Error message error_exit() { echo -e "\n$1\n" 1>&2 exit 1 } # Open a session using tmux open_session() { session_name=$1 # Check if th… | TOOL | 0.9960314631462097 | 3.7296769618988037 |
| 4b5fe90f-5645-4723-af86-0097c8c7d5bc | toxxin/uboot_palm | test/ums/ums_gadget_test.sh | #! /bin/bash clear COLOUR_RED="\33[31m" COLOUR_GREEN="\33[32m" COLOUR_DEFAULT="\33[0m" DIR=./ SUFFIX=img RCV_DIR=rcv/ LOG_FILE=./log/log-`date +%d-%m-%Y_%H-%M-%S` cd `dirname $0` ../dfu/dfu_gadget_test_init.sh 33M 97M cleanup () { rm -rf $RCV_DIR $MNT_DIR } control_c() … | TOOL | 0.9946460723876953 | 3.908287763595581 |
| e9557644-2693-4c3f-a2a9-0de68398570d | bioconda/bioconda-recipes | recipes/hmftools-sage/sage.sh | #!/bin/bash # hmftools SAGE executable shell script # https://github.com/hartwigmedical/hmftools/tree/master/sage set -eu -o pipefail export LC_ALL=en_US.UTF-8 # Find original directory of bash script, resolving symlinks # http://stackoverflow.com/questions/59895/can-a-bash-scr… | TOOL | 0.9976836442947388 | 4.321073055267334 |
| b69540f5-8303-482b-bc4e-16b368266e6c | linuxppc/linux-snowpatch | arch/arm/boot/deflate_xip_data.sh | # This script locates the start of the .data section in xipImage and # substitutes it with a compressed version. The needed offsets are obtained # from symbol addresses in vmlinux. It is expected that .data extends to # the end of xipImage. set -e VMLINUX="$1" XIPIMAGE="$2" DD… | TOOL | 0.9166451096534729 | 4.162642955780029 |
| e62c4cd5-df6e-4cd1-a1f0-7ab883c0fa51 | mmlb/home-manager-nixpkgs | pkgs/development/lisp-modules/quicklisp.sh | #! /usr/bin/env bash op= end_param= args=() cmd_args=() while let "$#"; do if test -n "$end_param" || test "$1" = "${1#--}"; then if test -n "$op"; then args[${#args[@]}]="$1"; else op="$1" fi shift else ca… | TOOL | 0.8808026909828186 | 6.041540145874023 |
| decac67f-e4e5-4e60-8490-09cfcee334b8 | LeonardSchuler/aws-autoscaling-ami | infrastructure/scripts/001_bootstrap.sh | #!/bin/bash script_dir=$(dirname "$(readlink -f "$0")") source "$script_dir/utils.sh" # Check if the correct number of arguments is provided if [ "$#" -ne 1 ]; then echo "Usage: $0 <environment>" echo "Example: $0 dev" exit 1 fi # Check git remote origin is set rem… | TOOL | 0.9929096102714539 | 4.290081024169922 |
| 2f49bc0a-2939-48a4-a1c3-a481aaf41b72 | CmST0us/luckfox-pico-ubuntu | sysdrv/source/kernel/tools/bootconfig/scripts/bconf2ftrace.sh | usage() { echo "Ftrace boottime trace test tool" echo "Usage: $0 [--apply|--init] [--debug] BOOTCONFIG-FILE" echo " --apply: Test actual apply to tracefs (need sudo)" echo " --init: Initialize ftrace before applying (imply --apply)" exit 1 } [ $# -eq 0 ] && usage BC… | TOOL | 0.992921769618988 | 4.329103469848633 |
| a2ac13da-d189-4273-a480-7572fe393d48 | FitnessKeeper/puppet-rk_tomcat | files/bootstrap.sh | #!/bin/bash -l THE_SCRIPT='/root/provision.sh' export PATH="/usr/local/bin:${PATH}" LOGGER='logger -t [CLOUDINIT] -p user.info' if [ -r "/etc/profile.d/aws-apitools-common.sh" ]; then . /etc/profile.d/aws-apitools-common.sh fi AZ=$(ec2-metadata --availability-zone | awk '{p… | TOOL | 0.9906178116798401 | 4.046009540557861 |
| f55130ef-371d-427a-8465-7d7ec9bf2e3a | Bulletdev/BulletPentest | grep/grep-unique-hosts-with-open-ports-comma.sh | #!/bin/bash if [ $# -eq 1 ]; then hostslist="" data=$(cat $1/*.gnmap|grep "Ports:") while read -r line ; do host=$(echo "$line"|cut -d$'\t' -f1|cut -d' ' -f2) ports=$(echo "$line"|cut -d$'\t' -f2|sed 's/Ports: //') IFS="," space="," hostports="" for por… | TOOL | 0.8825350999832153 | 3.4312667846679688 |
| ed07c9bc-e646-40f6-9a76-1769afb1f546 | catfish416/test_code | kmodule/link/linux_37-src/tools/testing/selftests/ntb/ntb_test.sh | REMOTE_HOST= LIST_DEVS=FALSE DEBUGFS=${DEBUGFS-/sys/kernel/debug} DB_BITMASK=0x7FFF PERF_RUN_ORDER=32 MAX_MW_SIZE=0 RUN_DMA_TESTS= DONT_CLEANUP= MW_SIZE=65536 function show_help() { echo "Usage: $0 [OPTIONS] LOCAL_DEV REMOTE_DEV" echo "Run tests on a pair of NTB endpoints." … | TOOL | 0.9509007930755615 | 3.963731050491333 |
| eb7e4d8e-b47c-4e9a-9dc7-feaae7dc2d2b | dgarage/hack0-armbian | lib/functions/artifacts/artifact-armbian-bsp-cli.sh | function artifact_armbian-bsp-cli_config_dump() { artifact_input_variables[BOARD]="${BOARD}" artifact_input_variables[BRANCH]="${BRANCH}" artifact_input_variables[EXTRA_BSP_NAME]="${EXTRA_BSP_NAME}" } function artifact_armbian-bsp-cli_prepare_version() { : "${BRANCH:?BRANCH … | TOOL | 0.9055144786834717 | 4.133225440979004 |
| de130454-ad6e-4e0e-b170-e6111cbc4d95 | stellastructure-aosp/platform_build | envsetup.sh | # gettop is duplicated here and in shell_utils.mk, because it's difficult # to find shell_utils.make without it for all the novel ways this file can be # sourced. Other common functions should only be in one place or the other. function _gettop_once { local TOPFILE=build/mak… | TOOL | 0.8603731393814087 | 3.5370094776153564 |
| 1fb3ba62-4afc-47d1-b587-c4081ca4ba18 | zephyr-flora/openwrt-gm | package/network/utils/umbim/files/lib/netifd/proto/mbim.sh | #!/bin/sh [ -n "$INCLUDE_ONLY" ] || { . /lib/functions.sh . ../netifd-proto.sh init_proto "$@" } #DBG=-v proto_mbim_init_config() { available=1 no_device=1 proto_config_add_string "device:device" proto_config_add_string apn proto_config_add_string pincode proto_config_… | TOOL | 0.9121949672698975 | 3.6455137729644775 |
| e715dc7d-a626-4569-806b-555c2d2bab17 | stefanofiorenza/bash-programming | Demo/Trainer/D410-Arrays.sh | #! /usr/bin/env bash ######################################## ########## DECLARE AND INIT ARRAY ############### ######################################## #1) Explicit declaration : ' #declare -a arrayname=(element1 element2 element3) # Attention!! Lower case a for indexed ar… | ALGO | 0.9993433356285095 | 4.81102180480957 |
| 288568fc-2d04-4b90-ac0a-b10f64f59f63 | karlcow/webcompat | moz/uaoverride/mozua2.sh | #!/bin/bash # Script to add manage UA override to B2G 1.2+ # Karl Dubost - 2013 © - MIT Licence LOCAL_USER_JS=/tmp/user.js LOCAL_ORIG_USER_JS=/tmp/orig-user.js # TODO: Change this for /data/b2g/mozilla/*.default/ # The user profile is # /data/b2g/mozilla/something.default/prefs.… | TOOL | 0.9628172516822815 | 4.141177177429199 |
| fb3c70f9-3ca5-4515-bfa5-d3ada565e4e2 | blurrySignature/task_tracker | initdb/initdb.sh | #!/bin/bash set -e if psql -U postgres -d postgres -c "SELECT 1 FROM pg_database WHERE datname = 'task_tracker'" | grep -qw 1; then echo "База данных 'task_tracker' уже существует. Пропустить создание." else psql -U postgres <<-EOSQL CREATE DATABASE task_tracker; EOSQL … | TOOL | 0.8605779409408569 | 4.8726277351379395 |
| 20bd1cbc-e45f-4c9e-8005-b855e0ef9d7a | supcreme/i3dotfiles | rofi/scripts/Powermenu.sh | #!/usr/bin/env bash # rofi-power # Use rofi to call systemctl for shutdown, reboot, etc # 2016 Oliver Kraitschy - http://okraits.de OPTIONS="\n\n" # source configuration or use default values if [ -f $HOME/.config/rofi-power/config ]; then source $HOME/.config/rofi-p… | TOOL | 0.9973459243774414 | 5.267138957977295 |
| 4963c218-4436-48f1-a7f5-3f818f869ed1 | Chatur27/Eureka-Kernel-Exynos7885-Q-R | scripts/headers.sh | #!/bin/sh # Run headers_$1 command for all suitable architectures # Stop on error set -e do_command() { if [ -f ${srctree}/arch/$2/include/asm/Kbuild ]; then make ARCH=$2 KBUILD_HEADERS=$1 headers_$1 else printf "Ignoring arch: %s\n" ${arch} fi } archs=${HDR_ARCH_LIST:-… | TOOL | 0.9500324726104736 | 3.0562727451324463 |
| d53d181c-8b59-40e7-90e4-ca5e5c83ebe7 | asappresearch/multistream-cnn | egs/yomdle_russian/v1/local/chain/compare_wer.sh | #!/usr/bin/env bash # this script is used for comparing decoding results between systems. # e.g. local/chain/compare_wer.sh exp/chain/cnn{1a,1b} if [ $# == 0 ]; then echo "Usage: $0: <dir1> [<dir2> ... ]" echo "e.g.: $0 exp/chain/cnn{1a,1b}" exit 1 fi echo "# $0 $*" used… | TOOL | 0.9563921093940735 | 4.744734764099121 |