blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
4
115
path
stringlengths
2
970
src_encoding
stringclasses
28 values
length_bytes
int64
31
5.38M
score
float64
2.52
5.28
int_score
int64
3
5
detected_licenses
listlengths
0
161
license_type
stringclasses
2 values
text
stringlengths
31
5.39M
download_success
bool
1 class
0c5858868efc006372aaa125169a6702b61c0d68
Shell
DiptaStark/Paket-OpenCV-2.4.3
/setupopencv.sh
UTF-8
1,661
2.671875
3
[]
no_license
#!/bin/bash # Shell script sederhana untuk instalasi dan konfigurasi opencv dalam sistem operasi ubuntu # Diuji pada Ubuntu 12.04 Precise Pangolin # ------------------------------------------------------------------------------------------ # Ditulis oleh Hendri Karisma <http://situkangsayur.wordpress.com/> # (c) 2012 s...
true
7c263e83bbd242687dd6767f3f717e8a7eeefe39
Shell
abernstein/commands
/linux/package_management.sh
UTF-8
1,640
3.140625
3
[ "MIT" ]
permissive
# Setup Local Build Env mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} if [ ! -e ~/.rpmmacros ]; then echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros; else echo "Configuration File Exists"; fi # View Current RPM Settings rpm -–showrc # Find unique RPM builds rpm -qa | grep <PACKAGE> # Evaulate package de...
true
a3a8dd9be9b7d1e1b781f17bae49e813d115bcdf
Shell
exophunk/dotfiles
/letsgo.sh
UTF-8
1,416
3.734375
4
[]
no_license
#!/bin/bash # include utils for file in utils/*.sh do . $file done # Set continue to false by default CONTINUE=false echo "" cecho "###############################################" $red cecho "# EXOPHUNK DOTFILES #" $red cecho "# #" $red cecho "...
true
b4fd60829018f750e796339edd941af6691b3115
Shell
fishxz/q2jump-discordbot
/upload.sh
UTF-8
5,457
3.09375
3
[]
no_license
#!/bin/bash JUMPTEMP=/home/quake2test/quake2/jump_gertest.temp/ MAPFILES=/home/quake2test/discordbot/mapfiles.sh MAPLIST=/home/quake2test/quake2/jump_gertest/28910/maplist.ini RCON=/home/quake2test/discordbot/rcon.sh ZIPFILES=/home/quake2test/discordbot/zipfiles.sh for file in "$JUMPTEMP"*.{bsp,filelist,zip}; do if...
true
f51702cb89d5d77db053e8aaa6e5bef8030ada82
Shell
johnstuartmill/skycoin
/electron/build-conf.sh
UTF-8
1,414
3.09375
3
[]
no_license
#!/usr/bin/env bash set -e -o pipefail # These values are also in gulpfile.js and package.json and must be equal SKY_VERSION="0.8.1" ELN_VERSION="v1.2.2" ELN_OUTPUT_BASE=".electron_output" ELN_OUTPUT="${ELN_OUTPUT_BASE}/${ELN_VERSION}" GOX_OSARCH="linux/amd64 windows/amd64 darwin/amd64" GOX_OUTPUT=".gox_output" STL_...
true
2eed0f87c42f1a1f050c9d78c9630d11328046fb
Shell
tbaltrushaitis/bash-files
/src/.bash_opts
UTF-8
8,053
3.1875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash ## ┌──────────────────────────────────────────────────────────────────┐ ## │ ____ _ ____ _ _ _____ ___ _ _____ ____ │ ## │ | __ ) / \ / ___|| | | | | ___|_ _| | | ____/ ___| │ ## │ | _ \ / _ \ \___ \| |_| | _____ | |_ | || | | _| \___ \ │ ## │ | ...
true
61c10f06ecf1219fc5b1abb58194e7e4ebad1ad8
Shell
AJarombek/data-analytics-prototypes
/Python/pandas/install_dependencies.sh
UTF-8
480
3
3
[]
no_license
#!/usr/bin/env bash # Install dependencies for pandas code samples # Author: Andrew Jarombek # Date: 10/16/2022 python3 -V pip3 -V if [ $? != 0 ]; then python3 -m ensurepip --upgrade else printf "pip already installed.\n" fi python3 -c "import pandas" if [ $? == 1 ]; then pip3 install pandas else print...
true
958952c22e5f7484301bae844d8946bc98059142
Shell
rohitjaysankar/shell-script
/q6.sh
UTF-8
92
2.75
3
[]
no_license
#!/bin/bash read f_name for everyfile in "$f_name"/* do cat $everyfile done<$f_name
true
0e48ca2fb5cdc1d6cc19703a597768f7d1d286ae
Shell
xaamin/ubuntu
/root/scripts/config-ssh.sh
UTF-8
1,211
3.421875
3
[ "MIT" ]
permissive
#!/bin/bash if [ ! -f $HOME/.bashrc ]; then echo "" >> $HOME/.bashrc fi if [ ${SSH_PASSWORD} ]; then if [ ! -d "/var/run/sshd" ]; then mkdir /var/run/sshd echo "" echo " ========================================= " echo "Configuring SSH service" echo "root:${SSH_PASSWO...
true
061e4317042da945b8885981e34cd1c9d75306b0
Shell
astronomy-commons/genesis-jupyterhub-automator
/configure
UTF-8
18,461
3.9375
4
[ "MIT" ]
permissive
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" cd "$DIR" TEMPLATES=($(ls templates/config/config.sh.* | grep -v '.*~')) #############################################################################3 # Functions #####################################################################...
true
fab3d97517d22c0d8f7313c53ba895da859c769e
Shell
schinken/microtools
/aqbanking/get_balance.sh
UTF-8
1,400
3.359375
3
[]
no_license
#!/bin/bash ############################################################################# # Configuration # Database Credentials SQL_HOST="violet" SQL_USER="bank" SQL_PASS="lollolol" SQL_NAME="mydb" # Files AQBANKING_CLI="/usr/bin/aqbanking-cli" PINFILE="/tmp/pinfile" CTX_FILE="/tmp/tmp.ctx" SNMP_FILE="/tmp/account_...
true
9647546a007867c9c5146bf166138e7adaac9270
Shell
sjmh/packer-rhel7-vms
/scripts/vmware.sh
UTF-8
892
3.21875
3
[ "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash set -x VMWARE_ISO=/tmp/vmware_tools_linux.iso VMWARE_MNTDIR=$(mktemp --tmpdir=/tmp -q -d -t vmware_mnt_XXXXXX) VMWARE_TMPDIR=$(mktemp --tmpdir=/tmp -q -d -t vmware_XXXXXX) # Extract tools mount -o loop $VMWARE_ISO $VMWARE_MNTDIR tar zxf $VMWARE_MNTDIR/VMwareTools*.tar.gz -C $VMWARE_TMPDIR umount $...
true
11ef058e6914ac07535b298ef96c7057c54d9422
Shell
mikeybeck/wordshell
/ws_event_functions.sh
UTF-8
1,020
3.5
4
[ "MIT" ]
permissive
function ws_event_error() { # "Non-urgent failures, these should be relayed to developers or admins; each item must be resolved within a given time." ws_logger ERROR "$1" } function ws_event_warning() { # "Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file syst...
true
f8bc1c589f02038c2c272ce945e015f15a815c23
Shell
kvdheeraj123/loginnew
/shellScript.sh
UTF-8
1,836
2.84375
3
[]
no_license
#!/bin/bash # elif statements clustername=$1 desiredno=$2 #environment=$3 environment=dev source /opt/isosys/secret/env.properties #if loop env = dev/uat non prod and evn=prod is prod echo "Setting ECR variables" if [ $environment == "dev" ] || [ $environment == "uat" ]; then envmnt=nonprod ECR_en...
true
8a3973bbdd14d417cd22410730bb7dcd7c726d90
Shell
infobloxopen/engcloud
/scripts/project-cleanup.sh
UTF-8
1,300
3.21875
3
[]
no_license
#!/bin/bash TENANT_NAME=${1:-nios} if [[ "$OS_USERNAME" != "admin" ]]; then echo "Cleanup must be done as OpenStack admin." exit 1 fi # instances IDS=$(openstack --os-project-name $TENANT_NAME server list -c ID -f value) for id in $IDS do openstack --os-project-name $TENANT_NAME server delete $id done # flo...
true
88d9016cfd1648a2c3a6e5f79ad897a6a9cb5d19
Shell
eduardo71vg/petfishco
/build_compose.sh
UTF-8
983
3.265625
3
[ "MIT" ]
permissive
docker-compose -f docker-compose.yml up -d docker-compose run --rm -w /project app composer update while true; do FILES=application/petfish.sql for f in ${FILES} do if [[ ! -e ${f} ]]; then continue; fi read -p "Do you want to import ${f} (y/n)?" yn2 case ${yn2} i...
true
f34c682e7c2abb601a1f781e9cad00f7d509a683
Shell
isabella232/dockerfile-terraform
/0.10.1/build.sh
UTF-8
613
3.375
3
[]
no_license
#!/bin/bash _terraform_version=$1 _terraform_tag=$2 _release_build=false if [ -z "${_terraform_version}" ]; then source TERRAFORM_VERSION _terraform_version=$TERRAFORM_VERSION _terraform_tag=$TERRAFORM_VERSION _release_build=true fi echo "TERRAFORM_VERSION: ${_terraform_version}" echo "DOCKER TAG: ${_terraform_ta...
true
40bf8b80b3806a81cff6540ad37da690809b4785
Shell
fl0-1337/dwmstatus
/src/dwmstatus
UTF-8
261
2.984375
3
[]
no_license
#!/bin/bash # Import the modules for module in $HOME/.local/share/dwmstatus/* do source "${module}" done # Update dwm status bar every second while true do xsetroot -name "$(cmus)$(apt)$(vol)$(ram)$(cpu)$(disk)$(mounts)$(bat)$(inet)$(clock)" sleep 1s done
true
c462a0147fab3b0766e7e7a2408fea836dac416b
Shell
blundellc/bhcd
/scripts/exper_sampson
UTF-8
910
3.03125
3
[]
no_license
#!/bin/sh opt='-R 50' prefix="output/$(./scripts/datestamp)/sampson_t4" ./src/bhcd/bhcd $opt -p ${prefix} data/pajek/Sampson_Sampson_T4.gml ./src/bhcd/bhcd $opt -p ${prefix}_bin -B data/pajek/Sampson_Sampson_T4.gml ./src/bhcd/bhcd $opt -p ${prefix}_sparse -S data/pajek/Sampson_Sampson_T4.gml ./src/bhcd/bhcd $opt -p $...
true
c23d1a7cfc69f24b5f13945fe8d8cc9a7c082ca5
Shell
XutaxKamay/usermodelinux
/rootfs_run/create_image.sh
UTF-8
870
3.125
3
[]
no_license
LIGHTGREEN='\033[1;32m' ./umount.sh dd if=/dev/zero of=rootfs-image count=0 obs=1MB seek=8000 sudo mkfs.ext4 rootfs-image -F ./mount.sh echo 'Finding version for root filesystem' wget -q -O /tmp/directory.html 'http://mir.archlinux.fr/iso/latest/' archlinuxbootstrap=$(cat /tmp/directory.html| \ grep bootstrap|grep ...
true
16260def209e867e288760047ea764cfe53f238f
Shell
slooker/drixian-photos
/keep-getting-photos.sh
UTF-8
298
3.078125
3
[]
no_license
#!/bin/sh while [ true ] do sudo killall -9 PTPCamera > /dev/null IFS=$'\n' lines=`gphoto2 --auto-detect | sed 1,2d | awk '{print $NF}'` for j in $lines do echo "Copying from $j" gphoto2 --get-all-files --skip-existing --port $j sleep 10 done done
true
6e961494a270438d899d9590591a02a113e309d0
Shell
thomasloven/mittos64-old
/emul
UTF-8
2,167
3.828125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash if [[ -z ${TOOLCHAIN+x} ]]; then echo TOOLCHAIN is not set. Please source activate exit 1 fi function print_help() { cat << EOF emul [-gvdh] Runs emulator -g Run with graphics window Can also be invoked by setting EMULGFX -v Run in vnc mode Can also be invoked by sett...
true
b468acac6d5ecb6f2de58fc079859dba78e83fb9
Shell
fanatid/rust-krb5-src
/krb5/src/kadmin/testing/scripts/stop_servers_local
UTF-8
746
3.40625
3
[ "Apache-2.0", "MIT-CMU", "LicenseRef-scancode-michigan-disclaimer", "MIT", "BSD-3-Clause", "LicenseRef-scancode-rsa-md4", "GPL-2.0-or-later", "LicenseRef-scancode-nrl-permission", "ISC", "LicenseRef-scancode-brian-gladman-3-clause", "OLDAP-2.8", "LicenseRef-scancode-mit-old-style", "FSFULLRW...
permissive
#!/bin/sh DUMMY=${TESTDIR=$TOP/testing} DUMMY=${KRB5RCACHEDIR=$TESTDIR} while [ $# -gt 0 ] ; do case $1 in -start_servers) start_servers=$1 ;; *) TOP=$1 export TOP ;; esac shift done # kill any running servers. if $VERBOSE; then echo "Killing servers:"; fi for pid in xxx \ `$PS_ALL | grep k...
true
37b708666dbef5cd04cba4e6eb9e5c9597da1437
Shell
SELO77/initialize_macOS
/utils.sh
UTF-8
358
3.75
4
[]
no_license
#!/usr/bin/env bash dotted_line="===========================" function print_start_line { echo $'\r\f'$dotted_line } function print_end_line { echo $dotted_line$'\r\f' } function read_line_by_line { local value while IFS='' read -r line || [[ -n "$line" ]]; do value="$value $line...
true
b95219965f167429e300235a1bdc933d2e77ee62
Shell
KaiSforza/archlinux-pkgbuilds
/bin/maurpkg
UTF-8
3,285
4.03125
4
[]
no_license
#!/bin/bash ## TODO: Add in flags that change config options #maurpkg shopt -s extglob ## Some sane defaults pkgbuilds="$HOME/aur/" packagesrepo="$pkglocation" packagesrepo="/home/wgiokas/.cache/pacman/pkg" archiverepo="/home/wgiokas/.cache/pacman/pkg/old" verbose="-v" reponame="personal" moreinfo="-i" _sign="" packa...
true
cb61b4b5cf64ec8495dcfe344320eb153464824a
Shell
triton-inference-server/server
/qa/L0_rate_limiter/test.sh
UTF-8
16,941
2.75
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # Copyright 2020-2021, NVIDIA CORPORATION & AFFILIATES. 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,...
true
9f9fed90384ba6721225c3572d6168473c02902b
Shell
xebialabs-community/xlr-docker-dev-run
/resources/command.sh
UTF-8
640
2.609375
3
[ "MIT" ]
permissive
#!/usr/bin/env sh # Copy downloads into 'plugins' if [ -d "/data/build/downloads/plugins" ]; then cp /data/build/downloads/plugins/* ${APP_HOME}/default-plugins/__local__ fi # Copy to plugins cp /data/build/libs/*.jar ${APP_HOME}/default-plugins/__local__ # Link the license ln -s /license/xl-release-license.lic ...
true
b296f41d4779fdcebf28729c2afbf6d7572fcc11
Shell
uk-gov-mirror/ministryofjustice.hmpps-oracle-database-parameters
/set_oracle_parameters/files/set_parameter_values.sh
UTF-8
525
3.125
3
[]
no_license
#!/bin/bash export ORACLE_SID=$1 export PARAMETER_NAME=$2 export PARAMETER_VALUE=$3 # Check Oracle SID exists /usr/local/bin/dbhome ${ORACLE_SID} if [[ $? -gt 0 ]] then echo "Invalid Oracle SID" exit 123 fi echo "Setting $PARAMETER_NAME to $PARAMETER_VALUE" export PATH=$PATH:/usr/local/bin; export ORAENV_ASK=NO ; ...
true
d44952add6c6f2867b404b5ba17dfc460b32bd43
Shell
bodhisatwa-mandal/Assignments
/3rdYr_1stSem/OS/assignment_1.sh
UTF-8
245
2.90625
3
[]
no_license
#!/bin/sh echo -n "Enter userv1 : " read userv1 #Value Entered by User 1 echo -n "Enter userv2 : " read userv2 #Value Entered by User 2 echo "$userv1,$userv2" #Print First Line echo "'$userv1' and \"$userv2\"" #Print Second Line
true
729beb3e3e3db0e12a83a42fa6f990a8c42362a3
Shell
TaitoUnited/taito-cli
/plugins/docker-compose/env-apply-28
UTF-8
326
2.796875
3
[ "MIT" ]
permissive
#!/bin/bash -e # shellcheck source=lib/all.bash . "${taito_plugin_path:?}/lib/all.bash" : "${taito_env:?}" taito::confirm "Save changed secrets to ./secrets/${taito_env}" || \ taito::skip_to_next "${@}" taito::save_secrets \ docker-compose::get_secret_value \ docker-compose::put_secret_value taito::call_next "...
true
be419e01255bccde0ff633de9ba83d7e9d0680ba
Shell
AdamMartinCote/ElevationJukebox
/tp/tp3/run.sh
UTF-8
368
3.546875
4
[]
no_license
#!/usr/bin/env bash APP_NAME='tp3' # Check if root if [ "$(whoami)" == root ]; then PORT=80 MAX_PORT=1023 else PORT=8080 MAX_PORT=8500 fi while [ "$PORT" != "$MAX_PORT" ]; do echo $'\n'"Trying port number $PORT" sudo ./build/$APP_NAME "$PORT" RETURN_CODE=$? if [ "$RETURN_CODE" == 255 ]...
true
d6c7948033cd48ac877edcd13d6d666035c216ea
Shell
PacktPublishing/Hands-On-Infrastructure-Automation-with-Puppet-6-V-
/section2/idempotent.sh
UTF-8
119
2.859375
3
[ "MIT" ]
permissive
#!/bin/bash getent passwd unchanged 2>&1 >/dev/null if [ $? -ne 0 ]; then useradd unchanged -c "Idempotent User" fi
true
199fc9f2d0bdcb4bfafc48853a9f9e69fe5d80ec
Shell
kaiwan/L2_kernel_trg
/sched/ftrace/ftrace1_generic.sh
UTF-8
1,465
3.21875
3
[ "MIT" ]
permissive
#!/bin/bash # Ftrace demo via a bash script # We ftrace a 'sleep 1' # # (c) Kaiwan NB, kaiwanTECH # May16 reset_ftrc() { echo 0 > tracing_on echo nop > current_tracer echo 1 > options/latency-format echo 0 > options/context-info echo 0 > options/userstacktrace echo 0 > tracing_max_latency # reset echo "" > set...
true
e252b2993844589219208360da799099e26dbb0f
Shell
mdnfiras/plugops
/worker/initscripts/workerkubeinstall.sh
UTF-8
1,789
3.171875
3
[]
no_license
#!/bin/bash echo "=======> disabeling swap :" swapoff -a echo "=======> updating repos :" apt update echo "=======> installing curl, gnupg, software-properties-common & resolvconf :" apt -y install curl gnupg software-properties-common resolvconf echo "=======> setting up dns :" systemctl start resolvconf.service syst...
true
3d063d48020011426fde56a346cab6679a77badd
Shell
nextinterfaces/react-isomorphic-typescript-docker
/bin/start.sh
UTF-8
1,190
3.40625
3
[]
no_license
#!/bin/bash mkdir -p ./nginx_container/dist mkdir -p ./api_container/dist mkdir -p ./ui_container/dist cp ./nginx_container/app.conf.templ ./nginx_container/dist/app.conf if [ "/root" = $HOME ]; then printf "\n\n------------------------\n\n\t PROD docker start ... \n\t [$(pwd)] \n\n------------------------\n\n"...
true
5127ca10dadf87471c276e5eac72a6e6ae240cb5
Shell
ninekilobytyes/course-managing-docker-linux-servers
/securing/secured/install.from.binaries.sh
UTF-8
807
3.34375
3
[]
no_license
#!/bin/sh VERSION="20.10.2" ARCH="x86_64" CHANNEL="stable" # download binaries curl -fsSL \ "https://download.docker.com/linux/static/${CHANNEL}/${ARCH}/docker-${VERSION}.tgz" \ -o "docker-${VERSION}.tgz" # extract binaries tar xzvf "docker-${VERSION}.tgz" # copy or link binaries into directory in path already...
true
13ceefa5dd92c10d55d739a415333b0e84d130a5
Shell
tonybka/build-quorum-nodes
/single-node/s1-bootstrap.sh
UTF-8
1,932
3.0625
3
[]
no_license
#!/bin/bash set -eu -o pipefail # Install dependencies add-apt-repository ppa:ethereum/ethereum apt-get update apt-get install -y build-essential unzip libdb-dev libleveldb-dev libsodium-dev zlib1g-dev libtinfo-dev solc sysvbanner wrk # Install NodeJS curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sud...
true
72443ad6f1589734b45d8a4f001eeffff3acc050
Shell
a736399919/Actions-OpenWrt
/diy.sh
UTF-8
1,244
2.640625
3
[ "MIT", "TMate" ]
permissive
#!/bin/bash #================================================= # Description: DIY script # Lisence: MIT # Author: P3TERX # Blog: https://p3terx.com #================================================= #修改lan口地址 sed -i 's/192.168.1.1/192.168.5.1/g' package/base-files/files/bin/config_generate #修改机器名称 sed -i 's/OpenWrt/Ne...
true
0bf48d35254f8187500f33bbcb913a1484d04a79
Shell
15fpereira/TI_Profissional
/conf/clean_pdf
UTF-8
769
3.609375
4
[]
no_license
#!/bin/bash # Autor: Francisco Dias # Data de criação: 18/05/2020 # Data de atualização: 18/05/2020 # Versão: 0.01 # Testado e homologado para a versão do Ubuntu Server 16.04 LTS x64 # Kernel >= 4.4.x # # Criando as váriaveis de validação do diretório LOG="/var/log/samba/log.limpeza_pdf" PDF="/arquivos/ti-pro.intra/pdf...
true
95262a9030d8e645c6f5ccc98bc78ad3558c5c39
Shell
kazirahiv/shell_practices
/Class Practices/Fileread.sh
UTF-8
142
2.984375
3
[]
no_license
#!/bin/bash filename='company.txt' n=1 while read line; do # reading each line echo "Line No. $n : $line" n=$((n+1)) done < $filename
true
669710d87641b032d9cb26e109253f0a84591561
Shell
darcyg/mininas3.0_v1
/scrips/dataMigrate.sh
UTF-8
511
3.375
3
[]
no_license
#!/bin/sh if [ $# -ne 1 ]; then printf "usage:Migrate.sh <path>\n" exit fi HOMEDIR=$1/MOVE export UGIDLIMIT=500 rm -rf ${HOMEDIR} mkdir ${HOMEDIR} awk -v LIMIT=$UGIDLIMIT -F: '($3>=LIMIT) && ($3!=65534)' /etc/passwd > ${HOMEDIR}/passwd.mig awk -v LIMIT=$UGIDLIMIT -F: '($3>=LIMIT) && ($3!=65534)' /etc/group > ${HOM...
true
692f50518b008c5539fb42d3671d4fce51409f7d
Shell
cerritej/CIS241Project
/big release
UTF-8
696
3.4375
3
[]
no_license
#!/bin/bash find . -type f -print0 | xargs -0 sha1sum | cut -d" " -f1 > sum readarray -t a < ./sum size=$(echo "${#a[@]}") echo $size flag=0 rem=$((size%2)) if(rem==1) then flag=1 fi size=$((size/2-1)) echo $size while : do if(size<2) then break fi for i in $(seq 0 $size) do var1="${a[$i*2]}${a[$i*2+1]}" a[i]=$(...
true
6ab64726290656ca8decc9cc99583b5809ec01d4
Shell
rikeyone/envsetup-script
/tools/host/build_kernel.sh
UTF-8
525
3.6875
4
[ "MIT" ]
permissive
#!/bin/bash i=0 configs=($(ls arch/arm64/configs/*)) #echo ${configs[@]} for file in ${configs[@]} do echo ${i}:${file##*/}; ((i++)); done echo please input your choice: read choice target=${configs[${choice}]##*/} echo target is: ${target} sleep 5 case $choice in *) echo "good";; esac if [ -d `pwd`/out ] th...
true
50d22a4c23a8925dc284677dff0cbadcbcedfac4
Shell
wdicarlo/wdc-do-commands
/git/do-git-add-files
UTF-8
392
3.65625
4
[]
no_license
#!/usr/bin/env bash function usage() { cmd=`basename $0` echo "Usage: $cmd [-n] <file-to-add>" echo " -n : dry-run" echo "" } if [ ! $# -gt 0 ]; then usage exit fi proc="xargs -I@ git add @ " if [ "$1" == "-n" ]; then proc="cat" shift fi cmd="do-git-ls | ...
true
176d5f75cf29e4b6e1a57bdde9010decd8b243e7
Shell
lduboeuf/ut-qtcreator
/ut-qtcreator.sh
UTF-8
483
2.6875
3
[]
no_license
#!/bin/bash #set -ex #SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" IMAGE="ut-qtcreator:base" CONTAINER_NAME=ut-qtcreator DEV_HOME=/home/$(id -un) xhost + docker run --rm --net=host \ -e QML_IMPORT_PATH=/usr/lib/x86_64-linux-gnu/qt5/qml \ -u `id -u`:`id -g` -e DISPLAY -e LANG=C.U...
true
71412e8a3af75a60c369d7693c2b04731c9d835c
Shell
arthursn/arthursn.github.io
/lol/rick/roll.sh
UTF-8
2,936
3.3125
3
[]
no_license
#!/bin/bash # Rick Astley in your Terminal. # By Serene Han and Justine Tunney <3 version='1.1' rick='https://arthursn.github.io/lol/rick' # rick='http://localhost/lol/rick' video="$rick/astley80.full.bz2" # TODO: I'll let someone with mac or windows machine send a pull request # to get gsm going again :) audio_gsm="$r...
true
2400c9c9dfa14cf334ee0b088452ea3caebff0b8
Shell
liuliang2015/composer
/.travis/install.sh
UTF-8
353
3.3125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Exit on first error, print all commands. set -ev set -o pipefail # Bring in the standard set of script utilities DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" source ${DIR}/.travis/base.sh # ---- # Use lerna bootstrap and not npm install; it's a lot faster in Travis. cd ${DIR} lerna bootst...
true
5c3c6ba6d86a93fdf9b602f2ce05366a397e94f9
Shell
SparkDevNetwork/Rock
/.githooks/pre-commit
UTF-8
404
3.6875
4
[]
no_license
#!/bin/sh # # Redirect output to stderr. exec 1>&2 ## # Check for any newly added files with CMS or CRM in the pathname. # Exclude anything in Rock/Model/ directory. ## badfiles=`git diff --staged --name-only --diff-filter=ACR | grep -v '^Rock/Model/' | grep -E '/(CMS|CRM)/'` if [ -n "$badfiles" ]; then cat <<EO...
true
87c64aaf913923064095f3e19cdcef2c781cbf5d
Shell
manikanta-cse/saloodo-tech-challenge
/deploy.sh
UTF-8
339
3.328125
3
[]
no_license
#!/bin/bash set -o nounset set -o errexit kube_version=$(kubectl version) echo "$kube_version" if [[ $kube_version == *"Server"* ]]; then echo "kube found on machine" echo "starting to deploy..." kubectl apply -f ./k8s-manifests echo "deployment is done" else echo "kube not found on machine, so exiti...
true
c2cf7e6d5238385b11bcf9919c9a0386b3b346e5
Shell
xiph/oggdsf
/src/lib/codecs/webm/libvpx/src/build/make/gen_msvs_proj.sh
UTF-8
27,507
3.796875
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash ## ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. ## ## Use of this source code is governed by a BSD-style license ## that can be found in the LICENSE file in the root of the source ## tree. An additional intellectual property rights grant can be found ## in the file PATENTS. All...
true
a2644f2a3c25c4bf7fd986dfc46da375668bf6cd
Shell
diriano/diriano.github.io
/generatePublications.sh
UTF-8
1,167
2.6875
3
[]
no_license
#Turn bibliography in from a bibtex file into HTML # Requires bibtex2html which in turn requires Objective Calm bibtex2html -d -r -t 'BCES Publications' -noabstract -nokeywords -noheader -nofooter dmrpPublications.bib head -n 65 links.html |sed 's/<title>BCES - Links<\/title>/<title>BCES - Publications<\/title>/' > p...
true
807f39a131b7b2024a248d34ba2dc3c0960aed27
Shell
Voltaic0/ECE364
/Lab08/getComponentByStudent.sh
UTF-8
946
3.515625
4
[]
no_license
#! /bin/bash # ###################################################### # Author : Mark Dunn # email : dunn60@purdue.edu # ID : ee364a12 # Date : 10/22/19 # ###################################################### # Write your sequence of statements here . name=${1} dir=$( pwd ) studfile=$dir"/maps/students.dat" id=$(egrep...
true
4e3631e7b3289af688d6f28febf9813c896382c3
Shell
ebernhardson/analytics-integration
/bin/init-hive-state.sh
UTF-8
4,692
3.703125
4
[]
no_license
#!/bin/sh set -e DISCOLYTICS=/src/wikimedia-discovery-analytics REFINERY=/src/analytics-refinery header() { echo echo echo "********************" echo echo $* echo echo "********************" echo } create_table() { # The various scripts often reference the exact location # t...
true
dbfea8e9dbd41bcb27804b339005bec91ed59738
Shell
sbksba/NMV-5I453
/TME4/qemu-run-externKernel.sh
UTF-8
487
2.703125
3
[ "MIT" ]
permissive
#! /bin/bash HOME=~login/cours/NMV # Fixer les variables avec les chemins de vos fichiers HDA=$HOME/Images/nmv-tp.img HDB=$HOME/Images/myHome.img KERNEL=/tmp/linux-4.2.3/arch/x86/boot/bzImage # Si besoin ajouter une option pour le kernel CMDLINE='root=/dev/sda1 rw vga=792 console=ttyS0 kgdbwait kgdboc=ttyS1' exec q...
true
f737b5cba7737e0d096e50cf2026635648c676cc
Shell
nanoant/archmac-packages
/extra/cmake/PKGBUILD
UTF-8
1,572
2.703125
3
[]
no_license
# Ported from Arch Linux: # https://git.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/cmake # Maintainer: Felix Yan <felixonmars@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Pierre Schmitz <pierre@archlinux.de> pkgname=cmake pkgver=3.15.5 pkgrel=1 pkgdesc='...
true
f872a18bdfc0d1b58553757854fca7dd12fa2379
Shell
richardimaoka/aws-iperf-cross-region
/generate-input-json.sh
UTF-8
1,447
3.921875
4
[]
no_license
#!/bin/sh # cd to the current directory as it runs other shell scripts cd "$(dirname "$0")" || exit ###################################### # 2. Generate input json files ###################################### # sed to remove whitespace INSTANCE_TYPES=$(grep -v "#" < "instance-types.txt" | sed -e 's/\s//g' | grep -v "...
true
ca3dfc79cdf6da394d9a2c46a91fc5943f3150d2
Shell
wuliebucha/pytorch-baidu-ctc
/wheels/fix_deps.sh
UTF-8
3,093
4.03125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -ex; SDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"; function fname_with_sha256() { HASH=$(sha256sum $1 | cut -c1-8) DIRNAME=$(dirname $1) BASENAME=$(basename $1) if [[ $BASENAME == "libnvrtc-builtins.so" ]]; then echo $1 else INITNAME=$(echo $BASENAME | cut -f1 -d".") ENDN...
true
db0ad6f329d0c113b9ac536a8192b8304d8e0709
Shell
svanellewee/packer-debian
/vagrant-scripts/save-images
UTF-8
320
2.71875
3
[]
no_license
#!/usr/bin/env bash #mount -t vboxsf var_vm-shared /vagrant/ mkdir -p /home/vagrant/shared/cache #kubeadm config images pull docker images --format '{{.ID}} {{.Repository}} {{.Tag}}' | { while read b a c do echo "$b..${a##*/}-${c}.tar" docker save ${a} -o /home/vagrant/shared/cache/k8s-${a##*/}-${c}.tar done }
true
b0d067f9e36444cd92988891e361f3f7d201af6c
Shell
sunbinzhu/azure-hpc
/Templates/hpc-cluster/azuredeploy.sh
UTF-8
18,750
3.53125
4
[ "MIT" ]
permissive
#!/bin/bash set -x #set -xeuo pipefail if [[ $(id -u) -ne 0 ]] ; then echo "Must be run as root" exit 1 fi echo "Script arguments: $@" if [ $# != 10 ]; then echo "Usage: $0 <MasterHostname> <WorkerHostnamePrefix> <WorkerNodeCount> <HPCUserName> <ClusterFilesystem> <ClusterFilesystemStorage> <ImageOffer>...
true
8a8308803686579aff4746ab527fd33a413e88d8
Shell
wh0330/visdial_conv
/subset_dialog_data/subset_visdial_on_vispro.sh
UTF-8
1,011
2.78125
3
[ "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash source activate visdialch # Common paths export CURRENT_DIR=${PWD} export PARENT_DIR="$(dirname "$CURRENT_DIR")" cd $PARENT_DIR export CODE_DIR=$PARENT_DIR export CONFIG_DIR=$CODE_DIR/configs export PROJECT_DIR="$(dirname "$PARENT_DIR")" export DATA_DIR=$PROJECT_DIR/data/ export SAVE_DATA_DIR=$P...
true
993bbb061491092d68350ef4139c2565f8386027
Shell
tom-clx/bsdcan18-ansible
/lib/rchroot.sh
UTF-8
329
3.609375
4
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
#!/bin/sh # This script allows Ansible to execute commands in a chroot on a remote host; # a capability that Ansible seems to lack. # # Usage: # rchroot.sh $chroot_path $command chroot_path="${1:?No path parameter}" shift cmnd="${*:?No command parameters provided!}" for a in $@; do echo "$a" done chroot "$chroot_...
true
a8deb9c276d0952a494cdd84b2ec6cacb550a6e6
Shell
sscollis/lns3d
/test/wave/run.sh
UTF-8
438
2.84375
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # # Default input is explicit # INP="${1:-rk4.inp}" LNS3D_DIR="${LNS3D_DIR:=../..}" echo LNS3D base directory = $LNS3D_DIR echo " Using input file $INP" #export PATH=$LNS3D_DIR/util:$PATH echo $PATH $LNS3D_DIR/util/genmesh < mesh.inp && \ ln -f -s grid.dat grid.xyz && \ $LNS3D_DIR/util/mkmean < mean.inp &&...
true
6ce9ec971526da31b5ed6a56db2c26de5f1686bd
Shell
sshyran/git-timestamp
/tests/10-tag.sh
UTF-8
1,038
3.78125
4
[ "MIT", "CC-BY-3.0" ]
permissive
#!/bin/bash -e # Test basic key import and tag timestamping h="$PWD" d=$1 shift cd "$d" export GNUPGHOME="$d/gnupg" mkdir -m 700 "$GNUPGHOME" git init echo $RANDOM > 10-a.txt git add 10-a.txt git commit -m "Random change 10-$RANDOM" tagid=v10-$RANDOM $h/git-timestamp.py --tag $tagid --server https://gitta.zeitgitter.n...
true
4d6280f006151f993486d2a737d2a842ce26e31f
Shell
MylioDavidN/iRAM
/configure.sh
UTF-8
609
2.734375
3
[]
no_license
# degree of how aggressively iRAM cleans up memory # 1=min (cleans only background processes) # 2=medium (cleans background processes + system caches) # 3=max (cleans background processes + system caches + foreground processes) export AGGRESSION_LEVEL=2 # minimal amount of free memory (% from total), clean whenever...
true
afde56f6eba10afb7b8d8306293d65b07ef19908
Shell
duplexsystem/Hydrinity
/scripts/installLauncher.sh
UTF-8
1,183
3.109375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # SCRIPT HEADER start basedir=$1 source "$basedir/scripts/functions.sh" echo " " echo "----------------------------------------" echo " $(bashcolor 1 32)Task$(bashcolorend) - Install Launcher" echo " This will build a launcher that similar to Paperclip by the server jar." echo " " echo "-------...
true
0164948263f4e2f92e85c62e851ddfaa5bd9be30
Shell
marina-go-al/blimp_snn
/setup/install_basics.sh
UTF-8
1,476
2.96875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Go to the proper catkin workspace FOLDER_NAME='ros_radar_mine' BRANCH='master' cd ~/Pi_Git/${FOLDER_NAME}/catkin_ws/ #catkin_make # Add the catkin_simple package cd ~/Pi_Git/${FOLDER_NAME}/catkin_ws/src mkdir catkin_simple cd catkin_simple git clone https://github.com/catkin/catkin_simple . rm -rf .git ...
true
66a5c0551670b3aab75ac04157b068717dfc007e
Shell
rlamarche/evostream_addons
/bash_scripts/Ambarella.A9-EMS-StartStreaming.sh
UTF-8
1,970
3.796875
4
[ "MIT" ]
permissive
#!/bin/bash ##### # # EvoStream Bash Scripts # EvoStream, Inc. # (c) 2016 by EvoStream, Inc. (support@evostream.com) # Released under the MIT License # ##### # This script activates the streaming engine on an A9-Based Camera and starts EMS # The Ambarella A9 SoC has both an RTOS which runs on the bare metal of the #...
true
f1e6b3f132b2b5b33005c1efb1832eb815a8ceda
Shell
emersonmx/scripts
/nvm/install.sh
UTF-8
369
2.828125
3
[]
no_license
#!/bin/bash latest_nvm_version=$( \ curl --silent \ 'https://api.github.com/repos/nvm-sh/nvm/releases/latest' \ -H 'Accept: application/vnd.github.v3+json' \ | grep '"tag_name"' \ | sed -E 's/.*"([^"]+)".*/\1/' \ ) curl -o- \ "https://raw.githubusercontent.com/nvm-sh/nvm/$latest_nvm_ver...
true
a81fed3783d64e17c2911bec7d75559860ebf248
Shell
crypto-forks/flow-core-contracts
/lib/go/test/build_crypto_dependency.sh
UTF-8
453
3.28125
3
[ "Unlicense" ]
permissive
#!/bin/bash # go get the package go get github.com/onflow/flow-go/crypto # the version of flow-go/crypto used for now is v0.21.3. # till the script is automatized, the version is hardcoded. VERSION="v0.21.3" PKG_DIR="${GOPATH}/pkg/mod/github.com/onflow/flow-go/crypto@${VERSION}" # grant permissions if not existant ...
true
8818f846b2786befe4a0a974873eeee3a03db1ad
Shell
dgleba/vamp206a
/apps/setup-kashmiri/21,kashmiri-sh/21kashmirisetup1.paste.txt.sh
UTF-8
1,376
2.859375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash saynow() { date1=$(date +"__%Y.%m.%d_%H.%M.%S") echo $date1 timeout1=5 ; read -t "${timeout1}" -p "Press ENTER or wait $timeout1 seconds..." || true ; echo ; } #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ function offline21() { echo tmp1 exit 999 : <<'BLOCKCOMMENT' Purpose: ...
true
b8e5559e1320ff9b0d0b90587ec2530a6983d575
Shell
kigster/bash-it
/test/plugins/ruby.plugin.bats
UTF-8
812
3.09375
3
[ "MIT" ]
permissive
# shellcheck shell=bats load "${MAIN_BASH_IT_DIR?}/test/test_helper.bash" function local_setup_file() { setup_libs "helpers" } @test "plugins ruby: remove_gem is defined" { run load "${BASH_IT?}/plugins/available/ruby.plugin.bash" assert_success load "${BASH_IT?}/plugins/available/ruby.plugin.bash" run ty...
true
f1970f938d314a99a996e4dc811eceac0e9ef263
Shell
gheja/backupscripts
/archive_files.sh
UTF-8
5,775
3.921875
4
[]
no_license
#!/bin/bash # http://github.com/gheja/backupscripts original_parameters="$@" archive="no" verbose="no" quiet="no" dry_run="no" exif_ok="no" timestamps="yes" _help() { echo "archive_files.sh -- http://github.com/gheja/backupscripts" echo "" echo "Valid options and switches:" echo " -s, --source DIR required...
true
d1939e4de2684341a70928b73f38042068b24533
Shell
mogelbrod/dotfiles
/zshrc
UTF-8
13,531
3.140625
3
[]
no_license
#{{{ Environment # Disable flow control stty -ixon -ixoff unsetopt flow_control flowcontrol # Add various directories to PATH export PATH=".:./node_modules/.bin:$HOME/bin:$PATH" # Auto push dir when CDing setopt auto_pushd pushd_silent pushd_ignore_dups unset nomatch # error when filename patterns d...
true
017f62af8900f37a4a4dbddcedd9ab431e7248e0
Shell
jskrable/wsl-setup
/setup.sh
UTF-8
3,449
3.4375
3
[]
no_license
#!/bin/bash # jskrable # 5-7-21 # setup important software on a new Debian/Ubuntu WSL install # put someone accessible from WSL, like Desktop or user root directory # change into directory, then run bash ./setup.sh # set home dir home="$PWD" alias reset=". ~/.bashrc" # standard updates echo "Standard Updates--------...
true
ba6b2cbe551a61670550da800c8350f13c402ba6
Shell
altlinux/libutempter
/ci/run-build-and-tests.sh
UTF-8
787
3.390625
3
[]
no_license
#!/bin/sh -ex # # Copyright (c) 2018-2020 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later case "${TARGET-}" in x32) CC="$CC -mx32" ;; x86) CC="$CC -m32" ;; esac echo 'BEGIN OF BUILD ENVIRONMENT INFORMATION' uname -a |head -1 libc="$(ldd /bin/sh |sed -n 's|^[^/]*\(...
true
51dc21044c0df08bf553c17e3344d6c3c2a8e9ed
Shell
krattai/AEBL
/blades/xtreemfs/tests/cronjob/run_xtreemfs_tests.sh
UTF-8
3,806
4
4
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
#!/bin/bash # Copyright (c) 2006-2011 by Björn Kolbeck, Zuse Institute Berlin # 2011-2013 by Michael Berlin, Zuse Institute Berlin # # Licensed under the BSD License, see LICENSE file for details. # This script downloads the latest XtreemFS sources and runs the integration tests. # As of April 2013, we...
true
4d12f9e189fa340862aa66b7c565b192f909a5bc
Shell
t-k-cloud/tkarch
/dotfiles/overwrite.sh
UTF-8
461
3.5
4
[]
no_license
#!/bin/bash LIST=${HOME}/overwrite.list SKIP=`basename ${0}` CDIR=$(cd `dirname ${0}` && pwd) echo "home directory: ${HOME}" echo "cd directory: ${CDIR}" echo "skip me: ${SKIP}" echo "who am I: `whoami`" > "$LIST" cd "${CDIR}" find . -maxdepth 1 \( -path './.git' \) -prune -o ! \( -name '.' -o -name '*.swp' -o -name ...
true
885c5405eaafbc6cb4a2f52314b7eb40a8063813
Shell
wzinser/OpenMesh-Research
/OpenMesh_Download
UTF-8
666
3.421875
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash #This is a linux shell script to download, extract, and compile OpenMesh as uninstall # Check to see if file exists, if so, prompt for uninstall if [ -d ~/Desktop/OpenMesh-8.0 ] then while true; do read -p "Do you want to uninstall OpenMesh? (Y/N): " yn case $yn in [Yy]* ) rm -r ~/Desktop/OpenMesh...
true
a1182d4ed3046191cc0cc95f52b2f0913b8d6e77
Shell
bardiabarabadi/SuperRes_Vid_enc
/generate_curves.bash
UTF-8
3,544
3.625
4
[]
no_license
#!/bin/bash VID_1080_MAIN_DIR=/opt/a/shared/movies_1080/ VID_1080_DIR=./movies_1080/; VID_720_DIR=./movies_720/; VID_540_DIR=./movies_540/; RES_DIR=./experiment_results/; TMP_DIR=./temp_dir/; DUMMY_FILE=${TMP_DIR}dummy echo "Resetting the results. Delete previous outputs?" rm -i $RES_DIR* if [ ! -d $TMP_DIR ]; th...
true
54658cb64142edb55e4be65fe06965fbdcc8a024
Shell
jm4l1/serverlesstodo
/build_release.sh
UTF-8
571
3.484375
3
[]
no_license
#! /bin/bash env=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') if [ -z "$env" ] then stage="Dev" else if [ $env = "master" ] then stage="Prod" elif [ $env="stage" ] then stage="Stage" else stage="Dev" fi fi echo "building for ${stage} enviroment...
true
6b0a67873864e5244d4451d63fe7fb2d0d43ca13
Shell
emberger/FwEcalAirGap
/B4-build/B4c/SimAndAnaScript.sh
UTF-8
3,461
2.703125
3
[]
no_license
#!/bin/bash echo working! AngCOUNTER=0 Sen=50 #starting energy EnIterations=10 increment=100 eventsPerEnergy=5000 Xangle=0.4 #starting angles Yangle=0.4 Zangle=1.0 XPos=-200.0; #gun position YPos=-200.0; ZPos=-10.0; XAngIncrement=0. YAngIncrement=0. AngIiterations=1 foldername=AngReso_IT20_OT20...
true
1e908d8a44b52451317f8731dff6ce160fb154ec
Shell
stsbl/iserv-rssh
/lib/sftp_chroot_copy
UTF-8
139
3.15625
3
[ "MIT" ]
permissive
#!/bin/sh -e DEST="/sftp-chroot/$1" FILE="$1" if ! cmp -s $FILE $DEST; then install "$FILE" -m 644 -o root -g root $(dirname $DEST) fi
true
41b39f4f778c3791da36ab76478f0d8e5ab5e1e9
Shell
dklassen/.dotfiles
/bin/_git/gclean
UTF-8
234
3.078125
3
[]
no_license
#!/bin/bash if [ "check" == "$1" ]; then echo "Checking branches we should delete:" git branch --merged | grep -v '*' | grep -v 'master' else git branch --merged | grep -v '*' | grep -v 'master' | xargs -n 1 git branch -d fi
true
d1ca16734af340e532794b8f288a5bab87c097d0
Shell
hak5/bashbunny-payloads
/payloads/library/phishing/windows10_fakelogonscreen/payload.txt
UTF-8
3,322
3.390625
3
[]
no_license
#!/bin/bash # # Title: "Microsoft Windows 10" Fake Logon Screen # # Description: # 1) Change "monitor-timeout (AC and DC)" at NEVER with "powercfg" utility. # 2) Change "standby-timeout (AC and DC)" at NEVER with "powercfg" utility. # 3) Retrieve th...
true
e1ce52d799c2ac6c2237e17378f4aa243b0b885d
Shell
BofengDuke/shell_script
/chapter3/remove_duplicates.sh
UTF-8
680
3.625
4
[ "MIT" ]
permissive
#!/bin/bash #文件名:remove_duplicates.sh #用途: 查找并删除重复文件,每一个文件只保留一个样本 ls -lS | awk 'BEGIN { getline;getline; name1=$8;size=$5; } {name2=$8; if (size == $5) { "md5sum "name1 | getline;csum1=$1; “md5sum "name2 | getline;csum2=$2; if( csum1==csum2) {print name1; print name2;} }; ...
true
747bc7f6dbb7246648bba1ada4d920078c5ec159
Shell
efweber999/ACCUM2_BENCHMARKING
/run_batchwalk
UTF-8
1,606
3.71875
4
[]
no_license
#!/bin/bash # May 2021 - Gene Weber # This script launches a batch of walk clients on the nodes running tservers. # All settings for this test are in acc_test.conf. # Location of existing directory on shared file system of installed software. INSTALL_DIR=$(cat inst_dir) # Execute the configuration file to initialize...
true
79255d2844db79e8763ebb09c499837759f9fb20
Shell
heavysink/repo
/archlinuxcn/logiops-git/PKGBUILD
UTF-8
899
2.859375
3
[]
no_license
# Maintainer: Y7n05h <Y7n05h(aT)protonmail--d0t--com> # Contributor: Kristóf Marussy <kris7topher at gmail dot com> # Contributor: PixlOne <pixlone@pm.me> # Contributor: Afnan Enayet <afnan@afnan.io> pkgname=logiops-git _pkgname="logiops" pkgver=v0.2.3.r18.gdbe2b28 pkgrel=1 pkgdesc="An unofficial driver for Logitech H...
true
555d3d37c03fee3903509cc5630d9c1f917f4d98
Shell
zestze/audio-visualizer
/test/build.sh
UTF-8
371
2.71875
3
[]
no_license
#!/bin/bash # ------------------------------------------------------- # this is the directory we plan on building everything to # ------------------------------------------------------- BUILD_DIR=audio-build cd "../$BUILD_DIR" # ------------------------------------------------------- # now, build # ------------------...
true
0e2e9c8a2bc6855aab3ca1500109bf0ed7c357a2
Shell
chadknight-wf/dotfiles
/zshrc
UTF-8
12,555
2.875
3
[]
no_license
#!/bin/zsh # vim: set foldmarker=<<,>> foldlevel=1 foldmethod=marker: #=================================================================================== # DESCRIPTION: Damn if feels good to be a gangster # AUTHOR: Jarrod Taylor # .__ # ________ _____| |_________ ____ # \___ / / ___/ ...
true
b88cda3beabf0049a5ae2c06e7a80215eb0e12e6
Shell
Inventitech/handy-command-line-commands
/kill-long-running-processes/kill-long-processes.sh
UTF-8
539
3.34375
3
[]
no_license
#!/bin/bash # Source: http://serverfault.com/questions/166034/kill-all-processes-that-are-running-for-more-than-5-minutes-by-a-given-user-in-l # This script will kill process which running more than X hours # egrep: the selected process; grep: hours PIDS="`ps eaxo bsdtime,pid,comm | egrep "spamd|exim|mysqld|httpd" | ...
true
2dac9c2587cc7084d85eacd79421e32bfe2fff35
Shell
miquelbcn15/laplace_mpi
/sbatch/hybrid01.sub
UTF-8
1,125
2.984375
3
[]
no_license
#!/bin/bash # # This script generates data for a fixed number of resources # #SBATCH --job-name=hybrid01 #SBATCH --output=hybrid01.txt # #SBATCH -N 10 # number of nodes #SBATCH --ntasks=120 # number of tasks # --ntasks-per-node=3 # --cpus-per-task=4 # number of threads per task #SBATCH --nodelist...
true
56fad4e41bfb958cd7ce1b32960206c0bb0d1759
Shell
kingcasino/compileEverything
/gitolite/hooks/common/post-update
UTF-8
2,500
3.59375
4
[ "CC-BY-3.0" ]
permissive
#!/bin/bash source "${H}/sbin/usrcmd/get_tpl_value" # A local branch must be registered get_tpl_value "${H}/.envs.private" "@LOCAL_BRANCH@" branch_local if [[ "${branch_local}" == "" ]] ; then echo "No local branch registered, nothing to push to upstream" exit 0 fi branch=$(git rev-parse --symbolic --abbrev-ref ...
true
77e764ffdd881920950da6d9485c0c046858fa12
Shell
prajdabre/mt-scripts
/remainder-test.sh
UTF-8
716
2.78125
3
[]
no_license
base=`pwd` i=phrase_based/ur-en pair=ur-en src=ur tgt=en cd $i/direct; echo "Testing pair $i"; cd $base; for j in $i/moses-*.ini; do piv=`echo $j | cut -d '-' -f4`; cd $i/$piv; echo "For pivot $piv"; ~/tools/moses/bin/moses...
true
5a2acd1669f35bf80983461e62a5cfa7b1bbe668
Shell
mfang329/aws-cloudformation-template
/vpc/vpc_infra_creation.sh
UTF-8
3,644
4.1875
4
[]
no_license
#!/bin/bash # Create basic VPC network infrastructure with AWS Cloudformation Template # Resource of creation: VPC, iGateway, NatGateway, ACL, subnets, VPC endpoint for S3 # # Usage: ./vpc_infra_creation {Profile} {Region} {VPC Name} {classB address} # # # Modify by: Ming Fang # Date: 10/18/2017 set -euo pipef...
true
19d5087ca4aa4fb6ad53b579b7e9edf0aa031d39
Shell
delkyd/alfheim_linux-PKGBUILDS
/python2-libewf/PKGBUILD
UTF-8
723
3.078125
3
[]
no_license
pkgname=python2-libewf _pkgcode=libewf pkgver=20160124 pkgrel=1 pkgdesc="Libewf is a library to access the Expert Witness Compression Format (EWF)" url="https://github.com/libyal/libewf/" arch=('any') license=('LGPLv3+') depends=('python2') makedepends=('python2' 'gcc') provides=('libewf') md5sum=c134579eccc45c3cd25...
true
1cef445430f4ad4ad6b5577362beb1fe1fd346df
Shell
speak/guest
/deploy.sh
UTF-8
203
2.671875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash echo "Deploying to $1" ENVIRONMENT=$1 DEFAULT="speak" BUCKET=speak-${ENVIRONMENT}-guest echo "bucket is $BUCKET" DIR=build/ aws s3 sync $DIR s3://$BUCKET --acl=public-read --delete
true
76490f3c4212e96ef42ddfbf1e860000359931e2
Shell
JMD110/swift
/docker/install_scripts/21_apk_install_py3.sh
UTF-8
137
2.5625
3
[ "Apache-2.0" ]
permissive
#!/bin/sh set -e apk add --update \ python3 \ python3-dev \ py3-pip if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi
true
7d4bafe2d32768f70d80e7c273aaed69847fe9e1
Shell
dgraph-io/gqlparser
/validator/imported/export.sh
UTF-8
607
3.46875
3
[ "MIT", "BSD-3-Clause" ]
permissive
#!/bin/bash REPO_DIR=./graphql-js PATH=./node_modules/.bin:$PATH EXPORTER_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $EXPORTER_ROOT if [[ -d "$REPO_DIR" ]] ; then echo "fetching latest graphql-js" cd $REPO_DIR git fetch origin master git checkout origin/master git reset --hard el...
true
0df1a5b18fa383e6680e36252351023f9df4ae86
Shell
dhensen/dotfiles
/scripts/bin/external
UTF-8
429
3.328125
3
[]
no_license
#!/bin/zsh eval $(monitor_detection) monitor_count=$(xrandr | grep -c " connected") if [ "$monitor_count" = "2" ]; then monitor_switch $MON0 $MON1 cat << EOF | notify_or_echo "Switch to external monitor" Switched to external monitor. EOF elif [ "$monitor_count" = "1" ]; then cat << EOF | notify_or_echo "Sw...
true
6e4d4aab9ebe9abbc00d45d6ca10f1b5f5e2111e
Shell
rameshshihora/ldap_backup
/ldap_backup.sh
UTF-8
1,789
3.53125
4
[]
no_license
#!/usr/bin/bash ######################################################################## # Unwanted Archival Log script !!! # # Usage: sh <SciprtName.sh> # # Created By: Ramesh Shihora ######################################################################## DB_ARCHIVE="/appl/web/db4826/bin/db_archive" DB_RECOV...
true