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
348f41069c9eeb7c31e0abf5542e994a24033274
Shell
jturolla/kubernetes
/hack/jenkins/upload-finished.sh
UTF-8
1,360
3.546875
4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash # Copyright 2016 The Kubernetes Authors All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
true
f8dd3f5a8d8f3bb315c6b82fbe26f6567cbb57b2
Shell
Paulmicha/common-web-tools
/cwt/instance/init.make.sh
UTF-8
913
3.9375
4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/usr/bin/env bash ## # Convenience "instance init" wrapper for default 'make' task. # # It is necessary to convert arguments syntax when (ab)using make the way we do. # This "entry point" script implements a custom named arguments conversion # syntax to "forward" them as needed - i.e. replaces '-a' by 'a:'. # # @see...
true
6563ff842fc9329bf3e147352d235e9c8bddf6bc
Shell
dev-alex-alex2006hw/docker-encfs
/audit/retrieve_user_pass
UTF-8
209
3.15625
3
[]
no_license
#!/bin/bash user=$1 if [ -z "$2" ]; then msg=login else msg="job $2" fi MYPASS=$(cat /root/.mypass) pass user/$user logger $0: User $user retrieved password from ssh connection $SSH_CLIENT for $msg
true
198aedf789568a88c15660a950ca70a7f8563add
Shell
lnxjedi/gopherbot
/tasks/notify.sh
UTF-8
355
3.25
3
[ "MIT" ]
permissive
#!/bin/bash -e # tasks/notify.sh - send notification to a user, generally used as a FailTask # Requires two arguments: notify user and message source $GOPHER_INSTALLDIR/lib/gopherbot_v1.sh USER=$1 MESSAGE=$2 if [ -n "$GOPHER_CHANNEL" ] then SendUserChannelMessage "$USER" "$GOPHER_CHANNEL" "$MESSAGE" else Se...
true
0517c8d5e67b544f227fb3bef8ce0d528a094932
Shell
spacetelescope/jupyterhub-deploy
/tools/patch-image
UTF-8
3,992
4
4
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
#! /bin/bash set -eu # This script is used to generate a new version of an existing image by running # a patch script inside a container created from the image. The container is # then commited using "docker commit ..." to store it's writable layer in a new # image. See doc/SCRIPTS.md for more info on using this s...
true
bde27c1ce4e0c60e435e53f31d66a9bd4aac9948
Shell
makortel/hiptest
/build.sh
UTF-8
816
3.015625
3
[]
no_license
#!/bin/bash GCC=g++ HIPCC=hipcc CXXFLAGS="-std=c++17" function single { $GCC $CXXFLAGS main.cc test1.cc test2.cc -o main-single-gcc $HIPCC $CXXFLAGS main.cc test1.cc test2.cc -o main-single-hipcc } function objects { $GCC $CXXFLAGS -c -o test1.o test1.cc $HIPCC $CXXFLAGS -c -o test2.o test2.cc $G...
true
3387dc34d2c16971f4590f05b4f2bc39c81cd492
Shell
opnfv/auto
/prepare.sh
UTF-8
770
2.671875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash ######################################################################## # Copyright (c) 2018 Huawei Technologies Co.,Ltd and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribu...
true
f196777a543dd5195567dc40f8711458b51b122b
Shell
theratzul/ansible
/compare-string-arguments.sh
UTF-8
387
3.890625
4
[]
no_license
#!/bin/bash if [[ $# -ne 2 ]];then echo "Please enter exactly two arguents" exit 1 fi lenght_1=${#1} lenght_2=${#2} if [[ $lenght_1 -gt lenght_2 ]];then echo -n "From $1 and $2,the lenght of $1 is greater. \n" elif [[ $lenght_1 -eq $lenght_2 ]];then echo -n "The lenght of $1 and $2 is equal. \n" else ...
true
6f7a0a3fb53349b7b7015665bce2e3fd5316a0dc
Shell
Pavankasoju/mobile
/check/loop/until.sh
UTF-8
122
3.328125
3
[]
no_license
#!/bash/sh a=0 # until -- it executes untill condition is true until [ ! $a -lt 10 ] do echo $a a=`expr $a + 1` done
true
672f471d2c2b2bcd5424bb857ff3aa63a6259d30
Shell
saponace/alis-server
/components/logging/elastic-stack/install-elastic-stack.sh
UTF-8
1,808
3.3125
3
[]
no_license
#------------------------------------------------- # Configure Elastic stack for centralised logging #------------------------------------------------- # Increase vm allocated memory. Required by elasticsearch (actually does not seem required when elasticsearch is in # single-node mode) # sudo sysctl -w vm.max_map_c...
true
5ffb8d629ce07a73787418947c04a6b203a0eff8
Shell
davidfmiller/bin
/timestamp
UTF-8
75
2.859375
3
[]
no_license
#!/bin/sh if [[ "$1" = "" ]] then date +%s else date -j -f %s $1 fi
true
5e209bfade7feb1aeb6ca250beb0a57520a17a85
Shell
jonberenguer/archlinux-bootstrap
/00-baseline-setup
UTF-8
5,784
3.609375
4
[]
no_license
#!/bin/bash # has password: password123! # run openssl passwd -6 password123! # PWHASH="`openssl passwd -6`" echo "Enter primary disk [/dev/sda]:" read PRIDISK [ -z "$PRIDISK" ] && PRIDISK=/dev/sda echo "Enter hostname [workstation]:" read NEWHOSTNAME [ -z "$NEWHOSTNAME" ] && NEWHOSTNAME="workstation" echo "Enter ...
true
1780d5873caf9d6763e49c19cb7be7e52a090b67
Shell
andriipanchuk/test
/nagiosxi/0-repos
UTF-8
8,870
3.75
4
[]
no_license
#!/bin/bash -e . ./xi-sys.cfg . ./functions.sh # Check if user already configured repos if [ -f installed.repos ]; then echo "Repos already configured - exiting." exit 0 fi echo "Configuring Repos..." # Check if we don't have all the info on a debian or ubuntu system that # hasn't installed lsb-release if [ ...
true
985cfb03acd8b12f98616ee2b959b90f83240791
Shell
rafiq-mohammed/Vagrant-LocalSetup
/install_jenkins.sh
UTF-8
648
3.09375
3
[]
no_license
# AUTHOR: sa.mdrafiq@gmail.com # DATE: 05-07-2021 # USECASE: This script will be used to install jenkins on Ubuntu along with required prerequisites. #!/bin/bash echo "[TASK 1] Install Generic Updates" apt-get update -y echo "[TASK 1] Install Java 8" sudo apt install openjdk-8-jdk -y echo "[TASK 1] Install Mave...
true
b51051d96f11e9c6daaa32cfc45b8a5f25681fb2
Shell
Sad-Soul-Eater/dotfiles
/configs/bin/polybar-scripts/upower-headset.sh
UTF-8
281
3.046875
3
[]
no_license
#!/usr/bin/env bash ICON='' targets=($(upower -e | grep 'headset')) result='' for target in "${targets[@]}"; do if [[ -n "${result}" ]]; then result+=' ' fi result+="$ICON $(upower -i "${target}" | grep --perl-regexp --only-matching '\d+(?=%)')%" done echo "$result"
true
3d0f69432599c80662154e3520d8775fb8860e8c
Shell
bison/rkt-workshop
/provision.sh
UTF-8
565
2.828125
3
[]
no_license
#!/bin/bash set -eux apt update apt -y install systemd-container ############### # Install rkt # ############### KEY_URL="https://coreos.com/dist/pubkeys/app-signing-pubkey.gpg" curl -s $KEY_URL | gpg --import 2>/dev/null gpg --verify /vagrant/packages/rkt_1.18.0-1_amd64.deb.asc 2>&1 || exit 1 dpkg -i /vagrant/pa...
true
09c553f522324402cd186549def82b9934d43bd8
Shell
eyedeekay/android_vendor_rockchip_mk808b
/extract-from-rom.sh
UTF-8
1,154
3.171875
3
[]
no_license
#! /usr/bin/env sh export systemimg="system.img" if [ ! -z $1 ]; then export systemimg="$1" fi if [ -f "$systemimg" ]; then mkdir -p vendor \ proprietary/bin \ proprietary/etc/firmware \ proprietary/lib/ \ proprietary/lib/drm \ proprietary/lib/egl \ proprietary...
true
f2ad64fe4c724a7f3fdbd4b1eba954b6246e1774
Shell
jackode/geodocker-cluster
/accumulo/fs/sbin/master-node-dev.sh
UTF-8
482
3.265625
3
[ "Apache-2.0" ]
permissive
echo -n "Waiting for TCP connection to ${HADOOP_MASTER_ADDRESS}..." while ! hadoop fs -ls / 2>/dev/null do echo -n . sleep 1 done echo "Ok." echo -n "Waiting for TCP connection to ${ACCUMULO_ZOOKEEPERS}:2181..." while ! nc -w 1 ${ACCUMULO_ZOOKEEPERS} 2181 2>/dev/null do echo -n . sleep 1 done echo "Ok." i...
true
69a9d7bdeadf71b787ee5a0684ab77fd86fa56ab
Shell
dennisliuu/My-Todo-Script
/todo.sh
UTF-8
216
3.28125
3
[]
no_license
#!/bin/bash # echo $1 $2 if [ $1 == 'add' ] then echo $2 >> ~/.todo.txt elif [ $1 == 'list' ] then cat -n ~/.todo.txt elif [ $1 == 'del' ] then sed -i.bak -e $2d ~/.todo.txt else echo 'Wrong argv' fi
true
e1c10056c965073a6c202baea8f71561e645dda2
Shell
ian-howell/.dotfiles
/src/install_zsh
UTF-8
674
4.0625
4
[]
no_license
#!/bin/bash set -x install_zsh() { zsh_exists=$(command -v zsh) if [ -z "$zsh_exists" ]; then sudo apt-get -qq -y install zsh fi # If this user's login shell is not already "zsh", attempt to switch. TEST_CURRENT_SHELL=$(basename "$SHELL") if [ "$TEST_CURRENT_SHELL" != "zsh" ]; then if hash chsh ...
true
d6ebec328f574886590def6aab3dd71a0fae0723
Shell
dimatomp/dotfiles
/.zshrc
UTF-8
2,311
2.765625
3
[]
no_license
# The following lines were added by compinstall zstyle ':completion:*' completer _complete _ignored zstyle ':completion:*' format '[%d]' zstyle ':completion:*' group-name '' zstyle ':completion:*' insert-unambiguous false zstyle ':completion:*' menu select zstyle ':completion:*' list-colors '' zstyle ':completion:*' l...
true
a6bb715a3033ff26fe8ae862ff08a39a8326c45b
Shell
myside-oss/LinuxGSM
/lgsm/functions/info_stats.sh
UTF-8
3,458
3.640625
4
[ "MIT" ]
permissive
#!/bin/bash # LinuxGSM info_stats.sh function # Author: Daniel Gibbs # Website: https://linuxgsm.com # Description: Optional Stats to send to LinuxGSM Developer # Uses Google analytics info_distro.sh # generate uuid if [ ! -f "${datadir}/uuid.txt" ];then mkdir -p "${datadir}" touch "${datadir}/uuid.txt" if [ -n "$(...
true
9c1f965693eba05b997c78399c260e6839803951
Shell
mr-c/touchchip-debian
/update-touchchip-driver
UTF-8
2,134
3.8125
4
[]
no_license
#!/bin/sh # Download UPEK's TouchChip TFM/ESS FingerPrint BSP for Linux # # (C) 2000,2001 Eric Sharkey. # (C) 2007 Michael R. Crusoe <michael@qrivy.net>. # adapted from Eric Sharkey's update-ms-fonts script # You may freely distribute this file under the terms of the GNU General # Public License, version 2 or later. #...
true
cd7102488b29d3ab684ce9c3149fc49af9025530
Shell
t0rqd/Lenovo_Type_20FB
/fix-reboot.sh
UTF-8
968
3.8125
4
[]
no_license
#!/bin/bash # Because the X1 Carbon (4th Gen) has a broken UEFI, some serious # hacks are required to be able to dual boot back into this Linux # instance. Here we attempt to make this possible by using the # BootNext flag with efibootmgr as changing BootOrder doesn't work. PATH=/sbin:/usr/sbin:/bin:/usr/bin NEXT=`e...
true
007bb2fbbba385b303335f8e38f41377bbce2f97
Shell
WolfireGames/overgrowth
/Libraries/qhull_git_22feb2012/eg/make-vcproj.sh
UTF-8
3,179
3.390625
3
[ "Apache-2.0", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
#!/bin/bash # # make-vcproj.sh -- Make sln and vcproj files from CMakeLists.txt and qhull-all.pro # # [jan'12] Additional changes made by hand for qhull 2012.1. This file updated but not tested. # # $Id: //main/2011/qhull/eg/make-vcproj.sh#5 $$Change: 1476 $ # $DateTime: 2012/01/28 09:37:56 $$Author: bbarber $ if [[...
true
0cb0e938cc6614de7c5956fb14bf2f6c1d0dec1a
Shell
desaiViraj/shell_script_vhirewadeyar
/Shell_Script/1.basic_concepts/7.ifthen1.sh
UTF-8
178
3.0625
3
[]
no_license
#!/bin/bash clear #this will clear the screen before execution if [ -e /home/ansadm/ansible.cfg ] then echo "File exist" else echo "File doesnt exist in the given path" fi
true
2b9d9a208b0c218bf08c0ac8af356a68d2ddb3d9
Shell
daliansky/Lenovo-Air13-IWL-Hackintosh
/Tools/Air13IWL-HiDPI-Ventura.sh
UTF-8
3,998
3.15625
3
[]
no_license
#!/bin/sh # Air13IWL-HiDPI.sh # Enable HiDPI For Air13IWL # For macOS Big Sur 11 / Catalina 10.15 # Created by xlivans on 2020/12/10. echo echo " Air13IWL 开启 HiDPI" echo echo " 1. 安装 Install" echo " 2. 卸载 Removed" echo read -p "选择 Select : " iu case ${iu} in 1) echo "安装 Install ..." ;; 2) e...
true
8e07e97c085ecea04c07fee119d401b701e4e6b3
Shell
samuelj123/balderdash-cli
/type.sh
UTF-8
629
3.109375
3
[]
no_license
#!/bin/bash clear Red='\033[0;31m' Yellow='\033[1;33m' # shuf -i1-6 -n1 CT=$(shuf -e 'WW' 'PP' 'II' 'MM' 'LL' -n1) if [ $CT = 'WW' ] then CTA="WEIRD WORDS\n" elif [ $CT = 'PP' ] then CTA="PECULIAR PEOPLE\n" elif [ $CT = 'II' ] then CTA="INCREDIBLE INITIALS\n" elif [ $CT = 'MM' ] then CTA="MARVELLOUS MOV...
true
a93cf6b8195a040c8b38cf756d5e382a0377a18c
Shell
vmogilev/evnt
/linux/mon/evnt/seed/bin/dbevnth.sh
UTF-8
3,728
2.859375
3
[]
no_license
#!/bin/ksh # # File: # dbevnth.sh # EVNT_REG: DB_EVNT SEEDMON 1.3 Y # <EVNT_NAME>High Avg Wait Time</EVNT_NAME> # # Author: # Vitaliy Mogilevskiy (vit100gain@earthlink.net) # # Usage: # <EVNT_DESC> # Reports database events with high number of average wait time # REQUIRES COLLECTION from v$system_event view...
true
2c82cc58bf020823a6dfc662138fb3122e822352
Shell
verticalpalette/ellies-pad
/tools/common/serve.bash
UTF-8
492
2.875
3
[]
no_license
#!/usr/bin/env bash session="tools/common/serve" tmux has-session -t ${session} if [[ $? -ne 0 ]]; then tmux new-session -s ${session} -d -n api 'cd "$ELLIESPATH" && goapp serve ./api' tmux split-window 'cd "$ELLIESPATH/web" && gulp serve' tmux set-option -t ${session} mode-mouse on tmux set-option -t ${sess...
true
9d01e55d40d1fabb3731251fdd52dd3eda75fa70
Shell
rsarwas/aoc
/runall.sh
UTF-8
911
2.9375
3
[]
no_license
# Run all versions of a solution in the current folder echo echo "C/C++" clang answers.c && ./a.out < input.txt && rm a.out echo echo "C# (mono)" echo "Disabled until an ARM version is available." # csc answers.cs && mono answers.exe < input.txt && rm answers.exe echo echo "C# (dotnet)" ../run_dotnet.sh answers input.t...
true
76d1b580de856650497c02ac7912dc80cd46aed1
Shell
zodinyac/GramSchmidt
/scripts/res_table
UTF-8
356
2.828125
3
[]
no_license
#!/bin/bash for f in stdout/*.txt do count=`cat $f | awk '{print $3}' | sed -n 1p` size1=`cat $f | awk '{print $3}' | sed -n 2p` algo_time=`cat $f | awk '{print $3}' | sed -n 3p` write_time=`cat $f | awk '{print $3}' | sed -n 4p` #size2=`cat $f | awk '{print $5}' | sed -n 2p` echo "$count ...
true
b6573b69b51c150ce8e23a9013d804341f8536db
Shell
Hindmalti/projet_gestion_container
/container.sh
UTF-8
1,954
4.125
4
[]
no_license
#!/bin/bash if [ $# -lt 1 ]; then printf "NOM\n" printf "\t Container\n" printf "SYNOPSIS \n" printf "\t baleine container <COMMANDES> [arguments]\n" printf "Description: \n \n" printf "\t La commande 'Container' permet de créer des conteneurs, en supprimer, lister les conteneurs existants (Son ...
true
916640c65401c72afbd8f6c8caee5cbc238727f4
Shell
NetBSD/src
/regress/sys/fs/lfs/ckckp/run_ckckp
UTF-8
246
2.703125
3
[]
no_license
#!/bin/ksh TMPMP=$1 LFSCDEV=$2 GFILE=$3 WFILE=$4 PLEX=$5 COUNT=$6 SIZE=$7 UTILDIR=`pwd` (cd $TMPMP; $UTILDIR/cleanalot_async -n $COUNT -p $PLEX -b $SIZE) & $UTILDIR/ckckp $TMPMP $LFSCDEV $GFILE $WFILE kill %1 sleep 2 kill -9 %1 sleep 2 exit 0
true
3b0a2d183da2adef8fd237fd59bea0c39e52d86d
Shell
jgrenoble/craftcake
/templates/default/minecraft.erb
UTF-8
1,598
3.75
4
[]
no_license
#!/bin/sh PID=`/bin/ps -ef | grep "java" | grep -v "grep" | awk '{print $2}'` SERVICE_NAME=Minecraft-Server PATH_TO_JAR=/var/minecraft/minecraft_server.jar case $1 in start) echo "Starting $SERVICE_NAME ..." if [ -z "$PID" ]; then echo "pid does not exist, starting server..." ...
true
ec83d960f67f9f36ada7fca31c3d3c80e0df34b4
Shell
shunsunsun/ftp.kaist.ac.kr
/geoul/trunk/src/metrics/publish-metrics/main
UTF-8
484
3.484375
3
[]
no_license
#!/usr/bin/env bash # publish-stats.d/main -- User interface to internal commands # # Created: 2009-03-07 # # Written by Jaeho Shin <netj@sparcs.org>. # (C) 2009, Geoul Project. (http://geoul.sparcs.org) set -e . "$GEOUL.sh" Self=`readlink -f "$0"` Base=`dirname "$Self"` export PATH="$Base:$PATH" cmd=$1; shift || ...
true
0796c87051ec7c4cb2a0cf7ca983c393021fb830
Shell
armatys/splot-code-gen
/compile.sh
UTF-8
1,054
2.765625
3
[ "MIT" ]
permissive
#!/bin/bash set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SRC_DIR="${DIR}/src" DIST_DIR="${DIR}/dist" : ${TLC:="tlc"} : ${TLC_MODULES:=""} rm -rf "${DIST_DIR}" mkdir -p "${DIST_DIR}" LUA_PATH="${TLC_MODULES}${SRC_DIR}/?.lua;;" ${TLC} -o "${DIST_DIR}/node.lua" "${SRC_DIR}/node.tl" LUA_PATH="${TLC_MO...
true
90bd288a352d2b93b9f2e677be9e0793d6c3042c
Shell
tanweeralii/terminal_decorator
/install.sh
UTF-8
770
2.9375
3
[]
no_license
#!/bin/bash hello=$PWD; cd ~/ if grep -q "alias decorator='$hello/main.sh'" ".bashrc" then if grep -q "alias sudo='sudo '" ".bashrc" then sudo cp $hello/functions.sh ~/functions.sh sudo cp $hello/colors.sh ~/colors.sh echo "ok"; else echo "alias sudo='sudo '" >> ~/.bashrc; sudo cp $hello/functions.sh ~/fun...
true
bde5c0c02164763d47565bc035eea587ec22c7dd
Shell
camante/DEM_generation_tx_w_la
/bm_xyz.sh
UTF-8
616
3.859375
4
[]
no_license
#!/bin/bash ### Blockmedian all the xyz files in the current directory to 1/9th arc-sec and gzip the originals. if [ ${#@} == 1 ]; then inc=$1 else #slightly finer than 1/9th arc-sec inc=".1s" fi total_files=$(ls -1 | grep '\.xyz$' | wc -l) echo "Total number of xyz files to process:" $total_files file_...
true
d259faa4293c94f09653c9c8d637f903f5336bfc
Shell
Turk1024/home
/.local/bin/db-backup
UTF-8
152
2.71875
3
[]
no_license
#!/bin/sh USER=rick HOST=apache DB=application TODAY=$(date +%F) DEST=$HOME/Documents/Linux/sqldump_$TODAY mysqldump -u $USER -p -h $HOST $DB > $DEST
true
2ced2a44bc659bdcef3c813a761d39b58ff6efa5
Shell
mkaouer/Code-Smells-Detection-in-JavaScript
/JS-CS-Detection-byExample/Dataset (ALERT 5 GB)/362764/shogun-1.1.0/shogun-1.1.0/examples/undocumented/csharp_modular/check.sh
UTF-8
1,075
3.421875
3
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
#!/bin/bash rm -f error.log if [ -z "${MONO}" ] then MONOC=gmcs MONO=mono fi export LD_LIBRARY_PATH=../../../src/shogun:../../../src/interfaces/csharp_modular export MONO_PATH=../../../src/interfaces/csharp_modular MONOFLAGS="Load.cs /lib:../../../src/interfaces/csharp_modular /r:modshogun" FILES=$@ test -z "$...
true
35ef1f295b039ce7a15d842c61b6f2add33dbee3
Shell
jenniferyeung/bio-workshop-18
/episode3_wgs_workflow/solutions/6.bcftools.sam.sh
UTF-8
1,205
2.75
3
[]
no_license
#!/bin/bash samtools_cont=quay.io/biocontainers/samtools:1.9--h46bd0b3_0 bcftools_cont=biocontainers/bcftools:v1.3.1-1b1-deb_cv1 run_flags="--rm -v $(pwd):/data -w /data" docker run $run_flags $samtools_cont samtools sort -o SRR6166481_sub_sorted.bam SRR6166481_sub.bam docker run $run_flags $samtools_cont samtools i...
true
257add89e16326cf8facd53dfc7f425815813207
Shell
maris205/secondary_structure_detection
/run_experiment.sh
UTF-8
771
2.640625
3
[]
no_license
#!/bin/sh ######################################################################### # Author: billczhang # Created Time: Sat 26 Dec 2015 01:51:48 PM CST # File Name: run_experiment.sh # Description: protein word experiment ######################################################################### set -x #1 pre process ...
true
4a577ec2f9ff52d46b2c1cd73530658ddfeb7a0f
Shell
jessfraz/dotfiles
/bin/generate-go-project-files
UTF-8
8,376
4.3125
4
[ "MIT" ]
permissive
#!/bin/bash ############################################################################## # generate-go-project-files # ----------- # Generates a .travis.yml, .gitignore, LICENSE, README.md, Makefile, # Dockerfile, VERSION.txt, and version/ files and directories. # # Usage: # generate-go-project-files # # :autho...
true
539726a87ea6a927030612ac005e7cda8a20d236
Shell
paul-j-lucas/env
/dotfiles/profile
UTF-8
3,975
3.15625
3
[]
no_license
#! /bin/bash ## # .profile -- Bourne or Bash start-up file # # Author: Paul J. Lucas ## # Set a minimal path so basic Unix commands work. PATH=/bin:/usr/bin export PATH OS=`uname` export OS ########## Set various path variables ######################################### ## # Given a colon-separated path, return ...
true
5e1650eb4fb0a5718d64f6e71b0165f6676723e4
Shell
jinghaomiao/apollo
/docker/scripts/cyber_into.sh
UTF-8
2,437
3.453125
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash ############################################################################### # Copyright 2017 The Apollo Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of...
true
bdaad73e79e22fdcbf85c888fec93d0d4401ca5b
Shell
albhasan/gdal2scidb
/installGdalHdf.sh
UTF-8
2,663
3.296875
3
[ "MIT" ]
permissive
#!/bin/bash # HDF5 guide http://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/release_docs/INSTALL function DEBUG() { [ "$_DEBUG" == "on" ] && $@ } echo "*****************************" echo "INSTALL GDAL WITH HDF SUPPORT" echo "*****************************" cd ~ rm -rf install-gdal mkdir install-gdal cd install-gda...
true
a74b5f2bf18c77893cba44ed43e13d84f9d0ff90
Shell
zhaodafei/resource
/nginx/nginx.sh
UTF-8
2,748
3.078125
3
[]
no_license
#!bin/bash echo -e "\x1B[35m :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: \x1B[0m" echo ":: ::" echo ":: 欢迎使用linux 一键编译安装Nginx1.4.2 ::" echo ":: 本脚本由 ☆赵大飞☆ 编写,如有疑问请联系...
true
d854e0159b191a0df7f3f9707119155fa5111b58
Shell
FauxFaux/debian-control
/m/micro-httpd/micro-httpd_20051212-15.1_amd64/prerm
UTF-8
1,308
3.828125
4
[]
no_license
#!/bin/sh set -e PATH="/sbin:/bin:/usr/sbin:/usr/bin" PACKAGE=$(basename $0 | sed 's/\..*//') pkgdir=/usr/share/$PACKAGE conf=/etc/inetd.conf port="www" entry= Debhelper () { : # Automatically added by dh_systemd_start if [ -d /run/systemd/system ]; then deb-systemd-invoke stop micro-httpd.socket >/dev/null...
true
4f51a98e280ab459b680dc0689d3c066e274e237
Shell
petronny/aur3-mirror
/rt2x00-git/PKGBUILD
UTF-8
1,323
2.65625
3
[]
no_license
# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ # Maintainer: Aljosha Papsch <papsch.al@gmail.com> _pkgname=rt2x00 pkgname=rt2x00-git pkgver=20110828 pkgrel=2 pkgdesc="A free, stable and feature rich wireless driver for rt2400, rt2500, rt2570, rt61, rt73" arch=('i686' 'x86_64') conflicts=('linux-firmwa...
true
97881f047028386e1026c58eace29c34472f2708
Shell
att90/jdownloader2
/updatej.sh
UTF-8
2,454
3.25
3
[]
no_license
#!/bin/bash ###Variable source ${PWD}/funkcie declare -A systemdConf systemdConf[jdownloader]=JDconfig systemdConf[vnc]=VNCconfig systemdConf[openbox]=OBoxconfig systemdConf[xvfb]=Xvfbconfig url=$(curl http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 2>&1|grep -o -E 'http://.*arm3...
true
2226d9f20febb243d055a224f5f6b066ed998259
Shell
whl1729/use
/08/e8.51_mainprog.sh
UTF-8
658
4.03125
4
[]
no_license
#!/bin/sh # Scriptname: mainprog # This is the main script that will call the function, addon datafile=/tmp/datafile . ./e8.51_dbfunctions.sh if [ ! -f $datafle ] then echo "`basename $datafile` does not exist" 1>&2 exit 1 fi echo "Select one: " cat <<EOF [1] Add info [2] Delete info [3] Exit EOF read choic...
true
5c8dd8579007e3e3504330589faa2f961916d027
Shell
hosuaby/jq-voronoi
/voronoi.sh
UTF-8
361
3.5
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # Wrapper to make voronoi/voronoi.jq and voronoi/voronoi_sphere.jq runnable from any directory # Get directory of this script SCRIPT=`realpath -s $0` BASEDIR=`dirname $SCRIPT` JQ_SCRIPT=voronoi/voronoi.jq if [[ "$@" =~ --sphere || "$@" =~ -s ]] then JQ_SCRIPT=voronoi/voronoi_sphere.jq fi jq -...
true
db6719c94a728977f7a11503ebae5a22acf3fa72
Shell
hms-dbmi/pic-sure-all-in-one
/start-picsure.sh
UTF-8
4,124
2.890625
3
[ "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
#!/usr/bin/env bash if [ -f "/usr/local/docker-config/setProxy.sh" ]; then . /usr/local/docker-config/setProxy.sh fi if [ -z "$(grep queryExportType /usr/local/docker-config/httpd/picsureui_settings.json | grep DISABLED)" ]; then export EXPORT_SIZE="2000"; else export EXPORT_SIZE="0"; fi export WILDFLY_JAVA_OP...
true
47f3b34a14aa0c4c7a65064409b8abcd343f0404
Shell
spiroid/full-disk-encryption
/update-boot-key.sh
UTF-8
680
3.578125
4
[ "CC0-1.0" ]
permissive
#!/bin/bash # Unofficial bash stric mode : http://redsymbol.net/articles/unofficial-bash-strict-mode/ set -euo pipefail IFS=$'\n\t' # Note: ${BASH_SOURCE%/*} refers to this script location # @see: https://stackoverflow.com/questions/6659689/referring-to-a-file-relative-to-executing-script # Initialize script variable...
true
27a254e0a22b16414c2f4aa3b33476e9f5a04dd0
Shell
logico/logico-zsh-theme
/logico.zsh-theme
UTF-8
575
2.703125
3
[ "MIT" ]
permissive
local resetColor="%{$reset_color%}" local prefix="⬢" local dir="%{$fg_bold[black]%}%c$resetColor$resetColor" PROMPT='%{$fg_bold[black]%}$prefix $(ssh_connection)$dir $(git_prompt_info)' MODE_INDICATOR="%{$fg_bold[white]%}%{$bg[black]%} NORMAL %{$reset_color%}" function ssh_connection() { if [[ -n $SSH_CONNECTION ]]...
true
4b33cd1c94318f78a39be73c6a537d696f85123a
Shell
dpolioudakis/single_cell_RNAseq_DS-001
/1_Process_And_Align_HsMm.sh
UTF-8
12,178
3.546875
4
[]
no_license
#!/bin/bash # Damon Polioudakis # 2016-06-17 # Code to submit all samples for Drop-seq STAR alignment # To submit this script: # qsub -cwd -o logs/1_Process_And_Align_HsMm_$(date +%Y%m%d).log -e logs/1_Process_And_Align_HsMm_$(date +%Y%m%d).error -S /bin/bash -V -N DAHM_QSUB -q geschwind.q -l h_data=8G,h_rt=12:00:0...
true
3863c51524a2ac04531722faec3d25b1f953cef9
Shell
vc-devops/restore-mysql-database
/script.sh
UTF-8
582
3.40625
3
[]
no_license
#!/bin/bash BACKUP_DIR=/var/www/dbrestore declare -a databases for entry in $(ls $BACKUP_DIR); do if [ -d "$BACKUP_DIR/$entry" ]; then databases=("$BACKUP_DIR/$entry" "${databases[@]}") fi done for i in "${databases[@]}"; do declare -a frmfiles echo $i for file in $(ls $i | grep frm); do...
true
2b2fc79e9ed78ba75d133827458223318728c711
Shell
htrefil/kshare
/install.sh
UTF-8
410
2.921875
3
[]
no_license
#!/bin/bash set -e # Copy binaries. cp -f build/server/server /usr/bin/kshare-server cp -f build/client/client /usr/bin/kshare-client # Copy config files, don't overwrite existing ones if they exist. mkdir -p /etc/kshare if [ ! -f /etc/kshare/server.toml ]; then cp example/server.toml /etc/kshare/server.toml fi if ...
true
b49dca4d2ce9b568700ea02e17b1a2c8a7d9d2f3
Shell
mkaesz/openshift-origin-cartridge-squid
/bin/install
UTF-8
486
2.609375
3
[]
no_license
#!/bin/bash set -x echo "$version" > ${OPENSHIFT_SQUID_DIR}env/OPENSHIFT_SQUID_VERSION mkdir -p ${OPENSHIFT_SQUID_DIR}{var/logs,cache,run,configuration} #ln -s /usr/share/squid/errors/ errors #ln -s /usr/share/squid/icons/ icons cp ${OPENSHIFT_SQUID_DIR}template/configuration/squid.conf ${OPENSHIFT_SQUID_DIR}config...
true
e1480436874810e94136d841865adfc704e39161
Shell
sanosom/webhook-deploy
/service.sh
UTF-8
1,076
4
4
[]
no_license
set -evu if [ $# -ne 2 ]; then echo "USAGE: $0 name command" exit 1 fi ubuntu_home=/home/ubuntu # Set the service name service_name=$1 # Set the command service_command=$2 # Setting runit to run $service_name... mkdir -p /etc/service/$service_name/log cat <<EOS > /etc/service/$service_name/run #!/bin/sh exec ...
true
8834fc138726191d4fda7af8a016a6e0e15e9465
Shell
cv/git-utils
/git-PS1
UTF-8
420
3.1875
3
[]
no_license
#!/bin/bash # # Taken from http://kerneltrap.org/mailarchive/git/2006/11/16/230518 # # In your .profile, add: # # export PS1='$(git-PS1 "[\u@\h \W]\$ ")' # BRANCH=$(git symbolic-ref HEAD 2>/dev/null) || { echo "$@" ; exit ; } BRANCH=${BRANCH#refs/heads/} RELATIVE=$(git rev-parse --show-prefix) RELATIVE="${RELAT...
true
34e477149c200581f2ad82af420907df272a6e6e
Shell
wang-q/intspan
/benchmarks/spanr/run.sh
UTF-8
1,329
3.421875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash #----------------------------# # Colors in term #----------------------------# # http://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux GREEN= RED= NC= if tty -s < /dev/fd/1 2> /dev/null; then GREEN='\033[0;32m' RED='\033[0;31m' NC='\033[0m' # No Colo...
true
0ae60b90e53097be38c6c0e1b24cfd0fc77fb036
Shell
makerforceio/blog-theme
/fetch-katex.sh
UTF-8
288
3.125
3
[ "MIT" ]
permissive
#!/bin/bash VERSION=0.13.11 TARGET="assets/js/katex" set -eu mkdir -p tmp/ wget -O tmp/katex.zip https://github.com/KaTeX/KaTeX/releases/download/v$VERSION/katex.zip unzip tmp/katex.zip -d tmp/ echo "Copying katex to $TARGET/" rm -rf $TARGET/ || true mv tmp/katex $TARGET rm -r tmp/
true
5822d5c871c017b0df2ff76333c6105c6e2c420e
Shell
jravetch/linux-build
/package/root/usr/local/sbin/rock64_erase_spi_flash.sh
UTF-8
459
3.40625
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash set -eo pipefail if [[ "$(id -u)" -ne "0" ]]; then echo "This script requires root." exit 1 fi echo "Doing this will overwrite data stored on SPI Flash" echo " and it will require that you use eMMC or SD" echo " as your boot device." echo "" while true; do echo "Type YES to continue or Ctr...
true
055f0275ca438c77915c123235719d4b0d5726e8
Shell
kazuhito-m/chinchikurin-tools
/incron-notify/main_exec_tasks.sh
UTF-8
245
3.109375
3
[]
no_license
#!/bin/bash # Markdownが更新されれば、HTMLの作成を行う。 rm -rf ${CUR_DIR}/html mkdir ${CUR_DIR}/html for i in $(ls ${CUR_DIR}/md/*.md) ; do pandoc -f markdown -t html ${i} -s -o `echo ${i} | sed -e 's/md/html/g'` done
true
4a6bb8b95f2ef785180dde26dfe3847baeb0e98f
Shell
fr830/freeioe
/scripts/echo_skynet_md5.sh
UTF-8
811
3.09375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # Absolute path to this script, e.g. /home/user/bin/foo.sh SCRIPT=$(readlink -f "$0") # Absolute path this script is in, thus /home/user/bin SCRIPTPATH=$(dirname "$SCRIPT") echo $SCRIPTPATH VERSION=$1 echo $VERSION RELEASE_DIR=$SCRIPTPATH/../__release/bin declare -A plats plats["linux/x86_64"]=...
true
09512e466c17f10dcc7f1f11c6fcbbb099acd181
Shell
vehar/autokraken
/stage0/capture.bash
UTF-8
308
2.90625
3
[]
no_license
#!/bin/bash set -e [[ -z $1 ]] && echo ARFCN? && exit 1 hppm=10 arfcn=$1 cfile=/root/capture/$arfcn.cfile echo hppm is $hppm echo capturing ARFCN $arfcn for 120 seconds into $cfile #HRF grgsm_capture --arfcn=$arfcn --ppm="$hppm" --args=hackrf=0 --gain=32 --cfile=$cfile --rec-length=120 ls -lhF $cfile
true
7d8dc61e6c216e8abcd8c689cd7bf607e959cfc8
Shell
tito0224/dotfiles
/bash/bash_exports
UTF-8
1,057
2.9375
3
[ "MIT" ]
permissive
#!/bin/bash # bash_config export CLICOLOR=1 # Make vim the default editor export EDITOR="mvim -f" # Ignore duplicate commands in the history export HISTCONTROL=ignoredups # Increase the maximum number of lines contained in the history file # (default is 500) export HISTFILESIZE=10000 # Increase the maximum number ...
true
956179d49d073918d87d4a7399017bc4e732a7f7
Shell
mbgg/PKGBUILDs
/extra/libogg/PKGBUILD
UTF-8
1,052
2.90625
3
[]
no_license
# $Id$ # Maintainer: Tom Gundersen <teg@jklm.no> # Maintainer: Maxime Gauduin <alucryd@archlinux.org> # Contributor: John Proctor <jproctor@prium.net> # ALARM: Kevin Mihelich <kevin@archlinuxarm.org> # - create correct config_types based on arch pkgname=libogg pkgver=1.3.3 pkgrel=1.1 pkgdesc='Ogg bitstream and fram...
true
415fc1b7495df0a02d13ab38f0d14562562f66fd
Shell
symsec/dotfiles
/command.zsh
UTF-8
877
3.859375
4
[]
no_license
#!/usr/bin/zsh #typeset -a APPS #MOVE alias -g NUL="> /dev/null 2>&1" (( $UID == 0 )) || { echo "Not root: exit.:"; exit 1; } # To define required packages and leave space to search/download. DEBDEP=(httrack git zsh bash doobie snack pdftk) APTGET=() SEARCH=() # printf "\n%s\n%s\n" \ "Dependency packages found d...
true
38c290d7adfc94d3b729afd2d28d2afa7d594cbf
Shell
marcusvb/incode-platform
/build.sh
UTF-8
2,627
3.734375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash #set -x #trap read debug set -o nounset set -o errexit # # Build a single module # function die { local prefix="[$(date +%Y/%m/%d\ %H:%M:%S)]: " echo "${prefix} ERROR: $@" 1>&2 exit 10 } typearg="" type="" artifact="" goals="clean install" extra="" skipTests="" # # validate script args # while geto...
true
95664bb110a35d37dece03dbecaca20425f7cd95
Shell
huiyiqun/PKGBUILD-nheqminer-cuda-git
/PKGBUILD
UTF-8
1,671
3.109375
3
[]
no_license
# NiceHash equihash miner. Tromp GPU/CUDAsolver build # Maintainer: Sebastian Stammler <base64 -d<<<c2ViQGhkZG4uc3BhY2UK> _flavour="cuda" pkgname="nheqminer-${_flavour}-git" pkgver=0.5c.r1.gb9900ff pkgrel=1 pkgdesc="zcash equihash miner by NiceHash. Djezo GPU/CUDA solver build." arch=('x86_64') url="https://github.com/...
true
484632bd5b5883f9def96b1f80a669d6af270aa2
Shell
ychen1986/CarSensorJLib
/utility/obsiot-modem.sh
UTF-8
892
3.40625
3
[]
no_license
#!/bin/bash GPIOPATH=/sys/class/gpio if [ ! -e $GPIOPATH/gpio44 ];then echo 44 > $GPIOPATH/export fi if [ ! -e $GPIOPATH/gpio45 ];then echo 45 > $GPIOPATH/export fi if [ ! -e $GPIOPATH/gpio46 ];then echo 46 > $GPIOPATH/export fi echo in > $GPIOPATH/gpio44/direction echo in > $GPIOPATH/gpio45/direction echo in > $...
true
36160d1ad668ea73f80d6c1eef82b6df2dad0701
Shell
theCalcaholic/bash-utils
/start-when-available.sh
UTF-8
1,645
3.984375
4
[ "MIT" ]
permissive
#!/usr/bin/env bash DESCRIPTION="Start given command as soon as a url can be reached" USAGE="Usage: start-when-available [OPTIONS][--delay time] [--batch] [--help|-h] url cmd url The url that needs to be available before executing the command command The command to be executed Options: -d, --delay ...
true
43fe7dbc1495d8d7dbac1037f9da6257488fb154
Shell
rogertinkoff/Linux-root
/bin/d1-install-shell.bash
UTF-8
241
2.5625
3
[]
no_license
#!/bin/bash if [ "$BuildRoot" == "" ]; then echo "d1-install-shell: no BuildRoot defined" return -1 fi cd $BuildRoot/sw/nestlabs/apps/shell make BuildProduct=topaz BuildConfig=development Verbose= flash-shell SUDO="sudo -E" cd $BuildRoot
true
ffa192b2f1f20ceb5006c8050a3c2a21ce93e59b
Shell
HackBL/Syracuse-University
/OS/pa1/task-1/solution-1.sh
UTF-8
188
2.875
3
[]
no_license
#!bin/bash mkdir Assignment-1 # make directory Assignment-1 cd Assignment-1 for i in {1..10} # do the following tasks do mkdir Query-$i cd Query-$i touch response-$i.sh cd .. done
true
9bcff8604c8905888a2573697f51861e9a7a7683
Shell
delkyd/alfheim_linux-PKGBUILDS
/pacping/PKGBUILD
UTF-8
471
2.578125
3
[]
no_license
# Maintainer: nightsense <nightsense at protonmail dot ch> pkgname=pacping pkgver=2.0 pkgrel=1 pkgdesc="Compare response times of Arch Linux mirrors" arch=('any') url="https://github.com/nightsense/pacping" license=('GPL3') source=("https://github.com/nightsense/${pkgname}/archive/${pkgver}.tar.gz") sha256sums=('58ac2...
true
c90a07aeb5bdbf5d289562ae2e46f4ccf30a12c7
Shell
metonymic-smokey/Apathetic-ML
/DC/File Transfer/controller/master_script.sh
UTF-8
323
3.125
3
[]
no_license
#!/bin/bash splits=$1 file=$2 filelength="$(wc -l $file | sed -e 's/[[:space:]]\{1,\}/ /' | cut -d' ' -f 1)" echo 'File Length '$filelength #split_lines="$(($filelength / $splits))" #split="$(printf "%d" $split_lines)" #perform splitting here mkdir -p /dev/core/data split -n $splits $file /dev/core/data/data. echo 'Don...
true
f4170585b2c40198ad7e9e2772b7e29b857827cd
Shell
justin8/packages
/Arch/old/ftb-direwolf20-server/PKGBUILD
UTF-8
2,106
2.78125
3
[]
no_license
# Maintainer: Justin Dray <justin@dray.be> MCVER="1.7.10" JARFILE="minecraft_server.${MCVER}.jar" LAUNCHWRAPPER="net/minecraft/launchwrapper/1.11/launchwrapper-1.11.jar" pkgname=ftb-direwolf20-server pkgver=1.0.3 pkgrel=1 pkgdesc="Feed the Beast Direwolf20 server." arch=('i686' 'x86_64') url="http://www.feed-the-beas...
true
f82105524d579f622dcc8282be177b766ef746d1
Shell
patrick0057/checkfix-certs
/checkfix-certs.sh
UTF-8
8,292
3.78125
4
[]
no_license
#!/bin/bash red=$(tput setaf 1) green=$(tput setaf 2) reset=$(tput sgr0) TMPDIR=$(mktemp -d) function helpmenu() { echo "Usage: ./checkfix-certs.sh [-y] -y When specified checkfix-certs.sh will automatically install required dependencies " exit 1 } while getopts "hy" opt; do case ${opt} in h) # process...
true
166ceb06960e662fb068b83a9bdeec310f22c3e4
Shell
rrnewton/Haskell-CnC
/build_distro.sh
UTF-8
1,046
3.15625
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # OUTDATED ... This was used to produce a distro. # This builds a package EXAMPLES="hello_world.hs mandel.hs primes.hs primes2.hs sched_tree.hs threadring_onestep.hs threadring.hs embarrassingly_par.hs fib.hs nbody.hs" OTHER="Intel/Cnc.hs Intel/CncPure.hs Intel/CncUtil.hs haskell_cnc.h LICENSE README...
true
fe9d3cd14a7cc4eb7ec77eabd9629c5524889b06
Shell
ImKifu/thuctapsinh
/SonDX/Install-OPS/Queens/Centos7-1804-KickStart/scripts/apt-cacher-ng_install.sh
UTF-8
1,564
3.28125
3
[]
no_license
#!/bin/bash #Author Son Do Xuan echo "###Install and config APT-CACHER-NG on Ubuntu 16.04###" # Environment variable echo "###Setup environment variable###" IP_APT_CACHER_NG=10.10.10.152 PORT=3142 # Install and config APT-CACHER-NG echo "###Install and config APT-CACHER-NG###" ## Install packages apt update -y apt...
true
8aac291624fa8737e4e980b155c59271c4cac3cf
Shell
czq7966/rom.jenkin.jobscripts
/base/import_to_qa_ftp.sh
UTF-8
772
2.984375
3
[]
no_license
if [ "${_ftp_server_pdir_qa}" != "none" ]; then echo "******上传至QA的FTP******" # TARGET_NET_TYPE="wifi" # _versionname="1.0.0.0" # _targetfilename="_targetfilename1" # _output_dir="/home2/jenkins/workspace/nd3_wifi_test_compile/RKTools/windows/AndroidTool/AndroidTool_Release_v2.33/rockdev/output" _ftp_server_pdir_qa="$...
true
979a88e04af2d05fb7585f40c2568d6294abde24
Shell
moznion/aws-lambda-perl5-layer
/scripts/build.sh
UTF-8
322
2.8125
3
[ "MIT" ]
permissive
#!/bin/bash BASE_DIR="/tmp/layer" cd "/opt" || exit 1 cp "${BASE_DIR}/bootstrap" . chmod 755 'bootstrap' # XXX copy some libs for workaround: https://github.com/moznion/aws-lambda-perl5-layer/issues/6 cp -R /lib64/libcrypt* ./lib/ cp -R /usr/lib64/libcurl* ./lib/ zip -r "${BASE_DIR}/lambda-layer-perl-${TAG}.zip" ....
true
37119832743d31388b0450e40ec1b86d92f76c9b
Shell
charisma-beads/charisma-beads
/bin/repo-update.sh
UTF-8
314
3.296875
3
[]
no_license
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR cd ../ git pull git fetch --tags CB_VERSION="tags/"$(git describe --tags $(git rev-list --tags --max-count=1)) echo "lastest version to install:" ${CB_VERSION} git checkout "${CB_VERSION}" echo "current version:" git describe --tags
true
741ff0ff79848517960707a56d636363221f7e8d
Shell
hbeaufils/graphql-rxjava
/build.sh
UTF-8
1,975
3.828125
4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash IMAGE_NAME=quicksign/graphql-rxjava-build CONTAINER_OUTPUT_DIR=/data/build HOST_OUTPUT_DIR=./outputs GRADLE_CACHE=graphql-rxjava-gradle-cache SHORT_GIT_SHA1=${SHORT_GIT_SHA1} if [ -f /.dockerinit ] || [ -f /.dockerenv ]; then echo echo "--------------------------" echo "| Building inside doc...
true
c73788d1554fca609d055c5e64fcf4c41946f4f1
Shell
peterzen/dcrweb
/bin/test.sh
UTF-8
839
3.78125
4
[ "ISC" ]
permissive
#!/usr/bin/env bash # validate generated html content echo -n "Starting nu validator " docker run -d --rm --name nu_validator -p 8888:8888 validator/validator:latest || exit 1 # wait for the service to start up while true; do curl -qqq localhost:8888 2>/dev/null >/dev/null && break echo -n . sleep 1; d...
true
13cb2d768ea70d8dd6af3973105c7e3fcf0616ce
Shell
mchchiang/phase_field_model
/c/benjamin_model/analysis/run/msd_exp.sh
UTF-8
1,476
3.359375
3
[]
no_license
#!/bin/bash d_start=$1 d_end=$2 d_inc=$3 pe_start=$4 pe_end=$5 pe_inc=$6 in_dir=$7 out_dir=$8 if [ "$#" != 8 ]; then echo "usage: msd_exp.sh d_start d_end d_inc pe_start pe_end pe_inc in_dir out_dir" exit 1 fi d=$(python -c "print '%.3f' % ($d_start)") pe=$(python -c "print '%.3f' % ($pe_start)") N=100 tstar...
true
2f51ec8e2965e69e403004f569bbca6a084b8028
Shell
herryfan/janus-container
/scripts/start.sh
UTF-8
947
3.609375
4
[ "Apache-2.0" ]
permissive
#! /bin/bash set -e echo echo "***************************" echo " Running $0 " echo "***************************" echo # Empty the mounted http directory if [ "$COPY_JANUS_SAMPLES" == "true" ]; then echo echo " Removing the content of /html directory " echo "-----------------------------------------" rm -rf...
true
070802d01775444dc2101c405abdb233f7db0f78
Shell
cchriste/dot
/.bashrc
UTF-8
8,241
2.578125
3
[]
no_license
#debug startup #set -x # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # (called by .profile) # If not running interactively, don't do anything case $- in *i*) ;; *) return;; #echo "non-interactive: aborting"; re...
true
e166876ca92c8c7fb873406c3911d32799bfd450
Shell
hringriin/dotfiles
/bash/i3BattCheck.bash
UTF-8
3,126
3.71875
4
[]
no_license
#!/bin/bash # i3_batt - will throw pop ups , if battery power low tmpFile=/tmp/battinfo # these files will assure, each message (crit/warning) is only issued once warning0=/tmp/battwarning0 critical0=/tmp/battcritical0 acpi -b > $tmpFile if [[ !(-e $tmpFile) ]] ; then echo "Temp files not found\!" exit 1 fi...
true
3ba5dec5c6fb190fd7718932778fce4fab6922cf
Shell
CoryHawkless/petaSAN
/config/tuning/templates/Generic Mid Range Hardware/post_deploy_script
UTF-8
3,709
2.75
3
[]
no_license
#! /bin/bash cat << EOF > /etc/udev/rules.d/90-petasan-disk.rules # ------ NVME --------- #ACTION=="add|change", KERNEL=="nvme*[0-9]n*[0-9]", ATTR{queue/read_ahead_kb}="16" ACTION=="add|change", KERNEL=="nvme*", ENV{DEVTYPE}=="disk", ATTR{queue/read_ahead_kb}="16" ACTION=="add|change", KERNEL=="nvme*", ENV{DEVTYPE}...
true
11562cd59d5cdd72e056ba50b2bad0aeaa5a70f9
Shell
pbowden-msft/Unlicense
/Unlicense
UTF-8
27,706
3.53125
4
[ "Unlicense" ]
permissive
#!/bin/zsh #set -x TOOL_NAME="Microsoft Office 365/2021/2019/2016 License Removal Tool" TOOL_VERSION="3.6" ## Copyright (c) 2021 Microsoft Corp. All rights reserved. ## Scripts are not supported under any Microsoft standard support program or service. The scripts are provided AS IS without warranty of any kind. ## Mi...
true
6e03f772992527fd2e7cc9d7094599746ef9dc40
Shell
titanuim-ua/yii2-app-plain
/protected/init.sh
UTF-8
557
3.0625
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash DIR="$( cd "$( dirname "$0" )" && pwd )" cd $DIR/.. REF=${1:-master} echo Trying to checkout $REF git fetch origin git reset --hard git checkout $REF git pull cd protected; composer install -n --prefer-dist npm install npm run production rm -rf $DIR/../assets/* rm -rf $DIR/runtime/cache rm -rf $DIR/r...
true
32b24103766aaf3ff5d7af2b862e53d378017012
Shell
akhileshravi/ShellCodeDebugTrackingSoftware
/main/TaskFiles/Task_3/Code_3.sh
UTF-8
156
2.5625
3
[ "MIT" ]
permissive
#! /bin/sh for i in 1 2 3 4 5 6 7 8 9 10 do echo THIS FILE IS FOR CLIENT NUMBER - $i < Client_$i.txt; cp Client_$i.txt ./PURCHASE done ls ./PURCHASE
true
5e5bf25660fcdf08140c890c8f0a567141699f7e
Shell
JotellyBarros/instaladores
/requirements.sh
UTF-8
1,857
2.796875
3
[]
no_license
# Step 1 - Updating Ubuntu sudo apt-get update sudo apt-get upgrade # Step 2 - Install dependencies and libboost sudo apt-get install -y \ wget \ git \ pkg-config \ build-essential \ libboost-all-dev \ libvtk5-dev \ cmake \ gedit \ libboost-all-dev \ # OpenCV: freeglut3 \ freeglut3-dev \ libtbb-dev \ lib...
true
ab0ddb23ce2d4f257ee2a14d93f4cb0eba2e7b37
Shell
developer01189998819991197253/egeria-palisade
/palisade/local-docker/bash-scripts/initDockerS3.sh
UTF-8
1,114
4.125
4
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
#!/usr/bin/env bash if [[ $# -lt 2 ]]; then echo "Usage: $0 FILE BUCKET" echo -e "\nUpload FILE to a bucket named BUCKET to a minio instance inside a container" exit 1; fi docker rm -f minio mc >/dev/null 2>&1 # Copy file into this directory cp $1 /tmp FNAME=$(basename "$1") # Start Docker container f...
true
5eba3830c7c10c1bb8d64db1847efccbc602ac9b
Shell
vzaicev/bash
/2022/10_daniil_presniakov/lab1/lab1_z19.sh
UTF-8
428
3.53125
4
[]
no_license
#!/bin/bash if [ -n "$1" ] && [ "$1" == "-task" ]; then echo "Задание" echo "19. Сравнить две числовые переменные и вывести сообщение yes или no, используя команду [." echo echo echo fi echo "Введите первое число" read a echo "Введите второе число" read b if [ "$a" -eq "$b" ] then echo echo "yes" else echo echo "no" fi
true
83107d16bd194c717af9b6d16298236d41203cc9
Shell
Soluto/tweek-deploy
/generate_keys.sh
UTF-8
642
2.734375
3
[ "MIT" ]
permissive
#!/bin/bash openssl req -x509 -newkey rsa:4096 -keyout private-key.pem -out certificate.pem -days 365 -nodes -subj '/CN=tweek' chmod go-rwx *.pem ssh-keygen -y -f private-key.pem > public_ssh openssl pkcs12 -export -nodes -noiter -in certificate.pem -out certificate.pfx -nokeys -name "Tweek" -passout pass: mkdir -p s...
true