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
d604d3fe5df2fc86811ed986c8254475ee3e56fa
Shell
openbsd/src
/regress/sys/ffs/tests/link/03.t
UTF-8
773
2.625
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh # $FreeBSD: src/tools/regression/fstest/tests/link/03.t,v 1.1 2007/01/17 01:42:09 pjd Exp $ desc="link returns ENAMETOOLONG if an entire length of either path name exceeded 1023 characters" n0=`namegen` expect 0 mkdir ${name255} 0755 expect 0 mkdir ${name255}/${name255} 0755 expect 0 mkdir ${name255}/${nam...
true
9293679eb23772b17d36ec044eff12cbafc8b46d
Shell
grahamnscp/soe-scripts
/katello-disconnected/mkisofs-dummy
UTF-8
1,033
3.578125
4
[]
no_license
#!/bin/bash # # Sample command: # mkisofs -r -D -graft-points \ # -path-list /var/lib/pulp/working/repos/rhel-server-rhscl-7-rpms-7Server-x86_64/distributors/export_distributor/realized/pulpiso-sR2vBE \ # -o /var/lib/pulp/working/repos/rhel-server-rhscl-7-rpms-7Server-x86_64/distributors/export_d...
true
0228b5aba2aeb05a95b2d4a4ec7fbf94fca35269
Shell
SeldonIO/seldon-core
/examples/cicd/cicd-argocd/seldon-core/remove-helm
UTF-8
299
3.1875
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -o nounset set -o errexit set -o pipefail STARTUP_DIR="$( cd "$( dirname "$0" )" && pwd )" if [ ! -f "${STARTUP_DIR}/../settings.sh" ]; then echo "settings.sh not found!" exit 1 fi source ${STARTUP_DIR}/../settings.sh helm reset --kube-context="${KUBE_CONTEXT}"
true
453fa5380c34813f5e3965afcc4f9db731e85016
Shell
LevyForchh/odin
/scripts/bootstrap_deployer
UTF-8
429
2.8125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # bootstrap odin # assume-role to the correct account set -e ./scripts/build_lambda_zip PROJECT_NAME=${PROJECT_NAME:-coinbase/odin} STEP_NAME=$(echo $PROJECT_NAME | sed 's/\//\-/') echo $PROJECT_NAME echo $STEP_NAME step bootstrap \ -lambda $STEP_NAME \ -step $STEP_NAME...
true
8a1605813d86aa1d46141fcceb6399b0f75c1b80
Shell
oldayn/video
/dashls.sh
UTF-8
1,610
3.03125
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh # # Simple script to convert normal MP4 file # to fMP4 fragments and DASH+HLS manifest using ffmpeg and bento4 # # It takes one parameter (MP4 file name) # and produce output folder with all content inside it # It leave maximum quality stream MP4 file as reference version # # oldayn@gmail.com 2017 # # no au...
true
abc143c2a78128d4a201898bf0602cfebd2ffe7f
Shell
f5devcentral/f5-bigip-image-generator
/src/bin/legacy/final_cloud_prepare.sysinit.mfg
UTF-8
10,189
3.5
4
[ "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
#!/bin/bash # Copyright (C) 2018-2022 F5 Inc # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
true
fd03ec49c392fc648e3bf623e7d2986908f5783d
Shell
rhabbachi/notlocal
/commands/dc
UTF-8
602
3.25
3
[]
no_license
#!/usr/bin/env bash ## Initialize a Docksal powered DKAN 7.x site ## ## Usage: fin notlocal dc # Abort if anything fails set -e #-------------------------- Helper functions -------------------------------- source $ADDON_ROOT/inc/common.inc #-------------------------- END: Helper functions ---------------------------...
true
fc1ccbe40c60bbefff1c75d6a0032dee4b142c31
Shell
harisokanovic/archlinux-packages
/libsignon-glib/repos/extra-i686/PKGBUILD
UTF-8
834
2.546875
3
[]
no_license
# $Id$ # Maintainer: Antonio Rojas <arojas@archlinux.org> # Contributor: Maxime Gauduin <alucryd@archlinux.org> # Contributor: Balló György <ballogyor+arch@gmail.com> pkgname=libsignon-glib pkgver=1.12 pkgrel=2 pkgdesc='GLib-based client library for applications handling account authentication through the Online Accou...
true
904eb209ee072388966695d7e80523255e9182a8
Shell
kasiakepka/test-infra
/prow/scripts/cluster-integration/kyma-serverless-metrics-nightly.sh
UTF-8
4,267
3.296875
3
[ "Unlicense", "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -o errexit set -o pipefail # Fail a pipe if any sub-command fails. export TEST_INFRA_SOURCES_DIR="${KYMA_PROJECT_DIR}/test-infra" export TEST_NAMESPACE="serverless-integration" export TEST_JOB_NAME="serverless-tests" # shellcheck source=prow/scripts/lib/utils.sh source "${TEST_INFRA_SOURCE...
true
661b463c6d74cacfe22c53d0818f42c9db12c4ad
Shell
zooniverse/cellect_panoptes
/benchmark/load_and_select.sh
UTF-8
759
2.78125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash curl_prefix="http://localhost:4000/workflows/1" declare -a power_users=("3685" "9616" "4013" "6538" "1863") # load subjects for the workflow time curl -v -H 'Accept: application/json' "${curl_prefix}/status" # load all power users seen sets for i in "${power_users[@]}"; do time curl -X POST -H 'Accept: ...
true
6ec76f630c5b7a3cbd5dcfbdc19a795f4d995803
Shell
Mathias-Boulanger/gff_toolbox
/gff_toolbox.sh
UTF-8
74,645
4.3125
4
[]
no_license
#!/bin/bash #Made by Mathias Boulanger - 2019/05/30 #gff_toolbox.sh #version 1.3 #use on gff file structure ARGS=1 #The script need 1 argument NAMEPROG=$(basename ${0}) #Name of the program DATA=$1 #File in argument ##Check the ability to work if [[ $# -ne $ARGS ]]; then printf "\n${GREEN}Usage:${NOCOLOR} ...
true
8d2cc6e026f2044cd21b6c28f24575546b3faaab
Shell
awesomejt/wp-theme-jason
/setup/provision.sh
UTF-8
991
2.65625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash export DEBIAN_FRONTEND=noninteractive apt-get update -y apt-get upgrade -y apt-get autoremove -y apt-get install -y apache2 apache2-utils nano git unzip apt-get install -y php5 php-pear libapache2-mod-php5 php5-dev php5-gd libssh2-php php5-mcrypt dbconfig-common apt-get install -y mysql-server php5-mysql a...
true
543848846bc55c92501b9f6818444c0220198b22
Shell
fakewaffle/shell-config
/bin/pull-request
UTF-8
870
3.5625
4
[]
no_license
#!/bin/sh ORIGIN=`git remote -v | grep -i origin | grep -i fetch | cut -d : -f 2 | cut -d / -f 1` UPSTREAM=`git remote -v | grep -i upstream | grep -i fetch | cut -d : -f 2 | cut -d / -f 1` if [ "$UPSTREAM" = "" ]; then echo "An repository named 'upstream' doesn't exist" echo -n "Type the name of the reposito...
true
26b4912b74cfce8892ff172bac3b5b293b940aa8
Shell
heuns2/articulate-ci-demo
/ci/tasks/current-app-get-info
UTF-8
652
3.234375
3
[]
no_license
#!/bin/bash set -xe pwd env cf api $PWS_API --skip-ssl-validation cf login -u $PWS_USER -p $PWS_PWD -o "$PWS_ORG" -s "$PWS_SPACE" cf apps set +e current_app="green" next_app="blue" result=`cf apps | grep "$PWS_APP_HOSTNAME.$PWS_APP_DOMAIN" | grep "$PWS_APP_SUFFIX\-\-green" |wc -l || true` if [ $result -ne 0 ] th...
true
d797d7176c7c3c3cc8541a1211d7978d35c9f563
Shell
twoerth/CH-isochrone
/city_cindex.sh
UTF-8
2,320
2.828125
3
[]
no_license
#!/bin/bash awk 'BEGIN { FS=","; printf("Name,Lat,Lon,CI60,CI50,CI40,CI30,CI20,CI10,Rank,Canton,Name,House2009, House1985, App2009, App1985, Tax2010\n"); while (getline < "coordinates.csv" > 0) { cities_name[$1] = $1; cities_lat[$1] = $2 + 0.0; cities_lon[$1] = $3 + 0.0; } ...
true
17f8fb4470a31eacee3c0a6c0aaed7d6790c29be
Shell
neomutt/test-docker
/generate-dated-emails.sh
UTF-8
1,165
3.640625
4
[]
no_license
#!/bin/bash FRUIT=(apple banana cherry damson elderberry fig guava hawthorn ilama jackfruit kumquat lemon mango nectarine olive papaya quince raspberry strawberry tangerine ugli vanilla wolfberry xigua yew ziziphus) COUNT=20 DICT="/usr/share/dict/words" WORDS=($(grep "^[a-z]\{6\}$" "$DICT" | shuf | head -n $COUNT)) ...
true
dce954e966aa37c982efdba58bed1ee41566d1c3
Shell
robdew/fieldcam
/take_pic.sh
UTF-8
1,616
2.84375
3
[ "Apache-2.0" ]
permissive
###############TAKEPIC.SH #!/bin/bash # sudo fswebcam --log ~/camlog.txt -d /dev/video0 -r 1600x1200 pics/`date '+%Y.%m.%d-%H.%M.%S'`.jpg # sudo fswebcam --log ~/camlog.txt -d /dev/video0 pics/`date '+%Y.%m.%d-%H.%M.%S'`.jpg #sudo raspistill -w 1024 -h 768 -o pics/`date '+%Y.%m.%d-%H.%M.%S'`.jpg #sudo raspistill -o pic...
true
c7b1652d475be85431df15a3415c701410f23174
Shell
javierjulio/laptop
/dotfiles/bin/repeat-until-exit
UTF-8
586
4.125
4
[]
no_license
#!/bin/bash set -e count=0 max_count=500 if [ "$#" -eq 0 ]; then echo "Usage: repeat-until-exit <command>" echo "" echo "Run a given command repeatedly until it exits or ${max_count} iterations reached." echo "" echo "Example:" echo " repeat-until-exit bin/rspec spec/requests/users_spec.rb:9" exit 1 f...
true
98813190f5491e0fabcfa6558b99135feb5b7659
Shell
Enterprise-Group-Ltd/aws-autoscaling-suspend-resume
/aws-asg-suspend-resume.sh
UTF-8
70,760
2.859375
3
[ "MIT" ]
permissive
#! /bin/bash # # # ------------------------------------------------------------------------------------ # # MIT License # # Copyright (c) 2017 Enterprise Group, Ltd. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"),...
true
6dd68bb1bea238a90ba43dcd8104ee5ff8947386
Shell
Nurdilin/scripts-utilities
/functions/func_date.sh
UTF-8
157
3.0625
3
[]
no_license
#!/bin/bash # source it and run in in another script # . ./functions/func_date.sh function _date { TIME=$(date +%d-%m-%Y_%H.%M.%S) echo $TIME } #_date
true
a940db1272c237679e800ac81d50ef4e6ec89035
Shell
MW-autocat-script/MW-autocat-script
/catscripts/Government/Countries/Mexico/Mexico.sh
UTF-8
336
2.890625
3
[ "MIT" ]
permissive
#!/bin/bash KEYWORDS_MEXICO="'Mexic(o|an)|Tijuana" KEYWORDS_MEXICO_EXCLUDE="New(| )Mexic(o|an)" KEYWORDS_MEXICO_ALL="$KEYWORDS_MEXICO" if [ "$1" == "" ]; then debug_start "Mexico" MEXICO=$(egrep -i "$KEYWORDS_MEXICO" "$NEWPAGES" | egrep -iv "$KEYWORDS_MEXICO_EXCLUDE") categorize "MEXICO" "Mexico" debug_...
true
e94306c52d0c775e542ae6f93f98eec76edab9fc
Shell
pierre-morisse-phd-private/PhD
/Guided_Assembly/Tests_et_Résultats/test.sh
UTF-8
1,388
2.71875
3
[]
no_license
#!/bin/bash res="scaffolds" echo "" echo "$res" ./generateGraphFile.sh "$1" "$2" "$3" 0 10000 0 1 "$4" > log wc -l "graph_file_$1" rm mmaps ./getMultimaps "filtered_alignments_$1" mmaps cut -f 2 mmaps | sort -u > pairable wc -l pairable ./getLinkedContigs.sh ../../sequences/reads/Ecoli/abyss.fa pairable > log 2> log ...
true
b5a43eeae1bf066b78385173d9b1ccce3e001672
Shell
FluidSimulation/LBM-D2Q6
/environment.sh
UTF-8
785
3.125
3
[]
no_license
# Shell script to contain environment settings for various systems # Usage: 'source environment.sh <system>' SYSTEM=$1 case $SYSTEM in idun) module load intel export CC=mpiicc export ARCH=intel export FFMPEG=${HOME}/tools/bin/ffmpeg export FFMPEG_FLAGS="-y -r 25 -b:v 16384k" ;; epic) module ...
true
df3dc0c52d43ac8fecf97caddfe78549447bfb2e
Shell
thesubtlety/historical-samples
/getCOF-clean.sh
UTF-8
1,390
3.734375
4
[]
no_license
#!/bin/bash #*********************************************************** # getCOF.sh - thesubtlety - Nov 20, 2012 # # This script polls yahoo finance every # so often (3 hours) and upon recieving a suitable stock # price, emails me. Very hacky and no robustness.. # # TO DO # >add functionality to search for stock name...
true
ea61386b97bfc25b90674af29adcb85ef630cea4
Shell
navikt/dagpenger-journalforing-gsak
/travis/deploy.sh
UTF-8
997
3.078125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash echo "DEPLOY DISABLED!" #set -e # #echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin # #IMAGE_VERSION=$DOCKER_IMG_NAME:$VERSION #IMAGE_LATEST=$DOCKER_IMG_NAME:latest # #docker build . --pull -t $IMAGE_VERSION -t $IMAGE_LATEST # #docker push $DOCKER_IMG_NAME # #j...
true
57a988032269762ea3e57b4853f7f44646671355
Shell
IFCA-Uniovi/WZ
/scripts/plotting3l_data.sh
UTF-8
320
2.578125
3
[]
no_license
#!/bin/bash #VAR=("njets" "nbjets" "met" "ht" "pt1" "pt2" "pt3" "srs") #VAR=("ftype") VAR=("srs") for var in ${VAR[@]}; do variable=$var cp cards/susy3l_data.C cards/tmpFiles/susy3l_data.C sed -i 's|VARIABLE|'$variable'|' cards/tmpFiles/susy3l_data.C root -l -b cards/tmpFiles/susy3l_data.C done
true
accd964fc942f727e5e77783e176ee57e4eb0078
Shell
onap/aai-graphadmin
/src/main/scripts/updatePem.sh
UTF-8
1,581
2.640625
3
[ "Apache-2.0" ]
permissive
#!/bin/ksh ### # ============LICENSE_START======================================================= # org.onap.aai # ================================================================================ # Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. # ===================================================...
true
cd24128b956f56e52e6e83a51187e9b76809f1dd
Shell
rbrich/bashtrace
/debug.sh
UTF-8
804
4
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # This file is preprocessed before run. # Following placeholders are replaced by appropriate FD number: # __DBG_WR__ Debug pipe, write end. # __STP_RD__ Step pipe, read end. # shopt -s extdebug set -T debug_trap() { # Communicate script line to our "debug" pipe echo "DBG $(caller)!!!...
true
bf41a01fdd0dd5ee1a120ac66791d51207855da8
Shell
marbl/merqury
/_submit_build_10x.sh
UTF-8
3,248
3.515625
4
[ "LicenseRef-scancode-public-domain" ]
permissive
#!/usr/bin/env bash build=$MERQURY/build if [ -z $1 ]; then echo "Usage: ./_submit_build.sh [-c] <k-size> <R1.fofn> <R2.fofn> <out_prefix> [mem=T]" echo -e "\t-c: OPTIONAL. homopolymer compress the sequence before counting kmers." echo -e "\t<k-size>: kmer size k" echo -e "\t<R1.fofn>: Read 1. The fir...
true
350fda017c35e554fb56e5d28700859e603f0121
Shell
icarosimoes/nefilim
/nefilim.sh
UTF-8
3,479
3.734375
4
[]
no_license
#!/usr/bin/env bash #============================================================================# # AUTOR : Jefferson Carneiro <slackjeff@riseup.net> # LICENÇA : GPLv2 # DESCRIÇÃO : Backup para arquivos/diretórios e banco de dados MariaDB # # Versão: 1.0 #=========================================================...
true
c95d8de5d729d84b9f4e2f3f04abad93ab54275e
Shell
pclever1/centELK-dev
/configure.sh
UTF-8
1,048
2.78125
3
[]
no_license
#check local IP ip=$(eval "ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'") #configure elasticsearch sed -i "s/#network.host: 192.168.0.1/network.host: $ip/g" /etc/elasticsearch/elasticsearch.yml sed -i 's/#http.port: 9200/http.port: 9200/g' /etc/elasticsearch/elasticsearch.yml sed -...
true
59c2d53a40e8fcf816e88b82a58b13588f9b69d9
Shell
Jesin/home-jesin
/.local/bin/dups-of
UTF-8
171
3.234375
3
[]
no_license
#!/bin/sh f0="$(readlink -f -- "$1")" shift [ -f "$f0" ] && [ -r "$f0" ] || exit for f; do [ "$f0" -ef "$f" ] && continue cmp -s -- "$f0" "$f" && printf %s\\0 "$f" done
true
9a76041fe3d1d7c2dda212a89cd96b2305083956
Shell
flecoqui/101-vm-simple-vegeta-universal
/install-software.sh
UTF-8
4,376
3.578125
4
[]
no_license
#!/bin/bash # This bash file install apache # Parameter 1 hostname azure_hostname=$1 ############################################################################# log() { # If you want to enable this logging, uncomment the line below and specify your logging key #curl -X POST -H "content-type:text/plain" --data-bin...
true
c40dd705270a0a3b904e77fde04bbf1e1a9c984b
Shell
faiproject/fai-config
/class/50-host-classes
UTF-8
706
3.3125
3
[]
no_license
#! /bin/bash # assign classes to hosts based on their hostname # do not use this if a menu will be presented [ "$flag_menu" ] && exit 0 # use a list of classes for our demo machine case $HOSTNAME in faiserver) echo "FAIBASE DEBIAN DEMO FAISERVER" ;; demohost|client*) echo "FAIBASE DEBIAN DEMO...
true
dd4ba0d761456e363865492d8f68f4f0b1cc1052
Shell
earthIsAPrisonIfYouNotAwareItCanNotOut/keepAwakeWhenSleeping
/shell/bash/TLCL/expansions_and_quoting.sh
UTF-8
3,862
3.5
4
[]
no_license
## echo # Any argument passed to echo gets displaye $ echo this is a test this is a test ## filepath expansiions $ echo * Desktop Documents ls-output.txt Music Pictures Public Templates Videos $ echo D* Desktop Documents $ echo *s Documents Pictures Templates Videos $ echo [[:upper:]]* Desktop Documents Music Pictu...
true
a4f6b1f6bb7b8ee8f75dcad98a5ead5b9892ec67
Shell
apple/cups
/scripts/makecups
UTF-8
917
4.09375
4
[ "LLVM-exception", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "EPL-1.0", "GPL-2.0-only", "LGPL-2.0-only" ]
permissive
#!/bin/sh # # Script to configure and make CUPS with the standard build options. When no # targets are specified, the "clean" and "check" targets are used. # # Usage: # # scripts/makecups [configure option(s)] [make target(s)] # # Scan the command-line arguments... confopts="--enable-debug --enable-debug-guards --e...
true
4aad7c4400381f2a064ff82b31f7b0ae1bb8cd03
Shell
pdlfs/bosen-umbrella
/processor/process_data.sh.in
UTF-8
2,469
3.0625
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # # Copyright (c) 2017, Carnegie Mellon University. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, ...
true
cf5a5ca1a5eaf9146e4508f056ce2ba0400d4aaf
Shell
pelt24/dotfiles
/install/brew.sh
UTF-8
560
3.046875
3
[]
no_license
# Install homebrew. if [ ! -x "$(which brew)" ]; then ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" fi # Update homebrew. brew update 1>/dev/null brew upgrade # Apps to be installed by homebrew. apps=( ansible docker docker-compose docker-machine docker-swarm ...
true
82ad027b472922d49548398a208811f31117368d
Shell
SerdarARIKAN/TEMP
/djangoSite.sh
UTF-8
16,952
3.046875
3
[]
no_license
#!/bin/bash clear echo -e "\e[0;31m!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\e[0m" echo -e "\e[0;32m!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\e[0m" echo -e "\e[0;33m!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\e[0m" echo -e "\e[0;34m!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
true
4599620d1ed0741acdc52e39d4bea44c0815969f
Shell
elvisassis/Docker-PostGIS
/PostgreSQL-9.3.5-PostGIS-2.1.7-GDAL-1.11.2-Patched/packages/run.sh
UTF-8
1,100
3.453125
3
[ "MIT" ]
permissive
#!/bin/bash # Create data store mkdir -p ${POSTGRES_DATA_FOLDER} chown postgres:postgres ${POSTGRES_DATA_FOLDER} chmod 700 ${POSTGRES_DATA_FOLDER} # Check if data folder is empty. If it is, start the dataserver if ! [ "$(ls -A ${POSTGRES_DATA_FOLDER})" ]; then su postgres -c "initdb --encoding=${ENCODING} --local...
true
19b89a92a6fc98722dc81e71a44e2778b2b4a070
Shell
mmoehrlein/.dotfiles
/scripts/bin/mkscriptdir
UTF-8
1,957
4.25
4
[ "MIT", "ISC" ]
permissive
#!/bin/bash # help output if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then echo -e " \ This tool is a lot like mkscript bit it creates a directory and links the executable up instead of a simple single file script. usage: mkscript <script-name> [script-folder] " exit 0 fi # folder where all the scipts shall be st...
true
013da1b324d16103220be8e1c97a699fc1b46f4d
Shell
dlenski/create_ap
/create_ap.resume
UTF-8
266
3.203125
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh set -e # After resume, restart create_ap service (if it was already running) # See: # https://www.freedesktop.org/software/systemd/man/systemd-suspend.service.html case "$1" in pre) ;; post) /bin/systemctl try-restart create_ap.service ;; esac
true
33c7eeb3c14432fcefc66b4ffde36ce21f868a15
Shell
frendo/unix
/ipod.sh
UTF-8
274
3.484375
3
[]
no_license
#!/bin/bash FILE_PATH=$1 echo $FILE_PATH SOURCE_PATH=$(find / -maxdepth 1 -type d -iname "boot") echo $SOURCE_PATH shopt -s dotglob find $SOURCE_PATH* -prune -type d | while read d; do echo "$d" FILES=$d/* for f in $FILES do echo "Processing $f file..." done done
true
61d2a55d4dfff4f2bfced9d85be22cd239e2495d
Shell
FlyInWind1/boot-starter
/boot-starter.conf
UTF-8
1,066
3.09375
3
[]
no_license
#!/bin/bash # shellcheck disable=SC2034 # 备份目录 backup_directory=./backup # 新部署文件存放位置 new_directory=./new # 后端所需要的文件列表 backend_files=(xx.jar) # 前端所需要的文件列表 front_files=(dist) # 启动项目的命令,前半部分 start_shell_prefix='nohup java -jar -Dserver.port=' # 启动项目的命令,后半部分 start_shell_suffix=' -Dloader.path=libs -jar xx.jar &' # 项目使用的两...
true
8bda256fafa89476f882f732fecbd5ae0d1bff47
Shell
OctaveC/holberton-system_engineering-devops
/0x0C-web_server/4-not_found_page_404
UTF-8
579
2.53125
3
[]
no_license
#!/usr/bin/env bash # 404 page replacement. sudo apt -y update sudo apt -y install nginx echo 'Holberton School for the win!' | sudo tee /var/www/html/index.nginx-debian.html sudo sed -i '/listen 80 default_server;/a \\n\trewrite ^/redirect_me https://www.youtube.com/watch?v=QH2-TGUlwu4 permanent;' /etc/nginx/sites-ava...
true
089f898c3e375082926473dc842ce9a8013ded3b
Shell
bridgecrew-perf4/terraform-infras
/aws/bin/destroy-s3-backend.sh
UTF-8
543
3.328125
3
[]
no_license
BUCKET_STATUS=$(aws s3api head-bucket --bucket "${TF_BACKEND_S3_BUCKET}" 2>&1) echo "Bucket name: $TF_BACKEND_S3_BUCKET" if echo "${BUCKET_STATUS}" | grep 'Not Found'; then echo "Bucket not found" elif echo "${BUCKET_STATUS}" | grep 'Forbidden'; then echo "Bucket exists but not owned" elif echo "${BUCKET_STATUS}...
true
505222e64899b94d881973edfc16e9666cdb808c
Shell
Daryljocky/rsync-docker
/docker-entrypoint-lsyncd.sh
UTF-8
290
2.515625
3
[]
no_license
#!/bin/sh set -e echo "$SYNC_PASSWORD" > /etc/lsyncd/rsyncd.password sed -i "s/{{SERVER_IP}}/$SERVER_IP/g" /etc/lsyncd/lsyncd.conf sed -i "s/{{SECTION}}/$SECTION/g" /etc/lsyncd/lsyncd.conf chmod 0600 /etc/lsyncd/rsyncd.password lsyncd -insist -nodaemon -log Exec /etc/lsyncd/lsyncd.conf
true
0f969a2bf026a734edb606e22cbcf13eda6474d3
Shell
Vaibhavgodha/nikkyjain.github.io
/others/collaborate/shastra/genPDF
UTF-8
1,306
3.375
3
[]
no_license
#!/bin/sh curDir=$PWD convert= [ "$1" = "-c" ] && convert="-c" cat <<EOF <!doctype> <html> <head> <title>jsPDF</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Language" content="hi" /> <script type="text/javascript" src="../libs/base64.js"></script> <...
true
8d003a3b9f6185a73ef8c15aed11714533331643
Shell
ahmedtd/ballistae
/third_party/jpeg/update.bash
UTF-8
201
2.578125
3
[ "BSD-3-Clause", "IJG", "Zlib", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
VERSION=2.0.4 curl -OL "https://github.com/libjpeg-turbo/libjpeg-turbo/archive/${VERSION}.tar.gz" || exit 1 tar xf "${VERSION}.tar.gz" --strip-components=1 || exit 1 rm "${VERSION}.tar.gz" || exit 1
true
ea373182325c1ca3fb502400d01b346f2cf3f949
Shell
fancyspeed/solution_of_kaggle_merck
/weighted-knn/script/run_svm_format.sh
UTF-8
643
2.546875
3
[]
no_license
#!/bin/sh -x ori_dir=../../data/dog in_dir=../../data/dog.stdscore.svmformat.sample out_dir=../data i=4 f_record=${ori_dir}/record_${i}.txt f_valid=${ori_dir}/validation_${i}.txt f_truth=${ori_dir}/groundtruth_${i}.txt f_train=${in_dir}/fm_traind_${i} f_test=${in_dir}/fm_testd_${i} f_pred=${out_dir}/knn_predd_${i}...
true
071e51a5e6e2cdf88f09c145579fc89e06f1290b
Shell
tianhongbo/controller
/src/github.com/tianhongbo/node/deviceinstall.sh
UTF-8
1,422
3.125
3
[]
no_license
#!/bin/bash # For Mac #vnc_server_path=/Users/Scott/master/src/github.com/tianhongbo/node #novnc_path=/Users/Scott/noVNC For Ubuntu vnc_server_path=/home/ubuntu2/controller/src/github.com/tianhongbo/node novnc_path=/home/ubuntu2/noVNC # ADB name, device_ip, vnc_port, ssh_port adb_name=$1 device_ip=$2 vnc_port=$3 vnc...
true
0dd63bce6a036f8ab08c2b03b8df296fbabec00c
Shell
adypappi/infra
/scripts/AdipappiUtils.sh
UTF-8
9,962
3.796875
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # # Defines all usefull functions used in laapi infra managemnt # #set -x # Adipappi infra scripts repository root export OK="OK" export KO="KO" # Use full Regex export IPV4_REGEX="^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9...
true
5b744cec96040a4ecd4681fc23a7182f3d335df6
Shell
DivyaMundhada/ProblemsonSequenceandSelection
/NumbertoWeekCase.sh
UTF-8
409
3.890625
4
[]
no_license
#! /bin/bash -x # Read a number and display the week day read -p "Please enter the day number 1 to 7 (considering 1= monday,..and 7= sun)" number case $number in 1) echo "Monday";; 2) echo "Tuesday";; 3) echo "Wednesday";; 4) echo "Thursday";; 5) echo "Friday";; 6) ech...
true
e2803202737314f9516994c9548cee7cfa98563b
Shell
sheppduck/scripts
/brew-tmux-ohmyzsh-rhel7.sh
UTF-8
3,958
3.234375
3
[]
no_license
#!/bin/sh # ============================ # Install BREW and LinuxBrew # ============================ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" test -d ~/.linuxbrew && PATH="$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH" test -d /home/linuxbrew/.linuxbrew && PATH="/h...
true
cb956491ef78aafdad36dddbbe781252a6c9eeae
Shell
kiennt/pinry
/pinry.sh
UTF-8
597
2.96875
3
[ "BSD-2-Clause" ]
permissive
#!/usr/bin/env sh . venv/bin/activate runserver() { python manage.py runserver } dumpdata() { python manage.py dumpdata auth.user --indent=4 > pinry/pins/fixtures/user.json python manage.py dumpdata social_auth --indent=4 > pinry/pins/fixtures/social_auth.json python manage.py dumpdata core --indent=4...
true
1b886cd77f8a46f38ed7cb25883561843c68b059
Shell
TheCoderMerlin/MerlinMake
/swift-clean.sh
UTF-8
908
2.625
3
[]
no_license
#!/bin/bash # This script is part of the MerlinMake repository # Copyright (C) 2021 CoderMerlin.com # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your...
true
19193e2eae489c998068d92f1ebba662b61d1ba7
Shell
Olave/bigdata
/shell/dw/ads/ads_continuity_uv_count.sh
UTF-8
916
2.65625
3
[]
no_license
#!/usr/bin/env bash day=$1 if [ -z "$day" ]; then day=$(date -d '-1 day' +%F) fi app=gmall sql=" insert overwrite table $app.ads_continuity_uv_count select * from $app.ads_continuity_uv_count union all select '$day' dt, c...
true
5a68268971ddd2201f1baec720490aca12d5b5ff
Shell
AMDResearch/DAGEE
/tools/bin/git-sort-commits-by-size.sh
UTF-8
1,297
3.28125
3
[ "MIT" ]
permissive
# Copyright (c) 2018-Present Advanced Micro Devices, Inc. See LICENSE.TXT for terms. #!/bin/bash git rev-list --objects --all \ | git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \ | sed -n 's/^blob //p' \ | sort --numeric-sort --key=2 \ | cut -c 1-12,41- \ | numfmt --field=2 -...
true
80653a7b10f58015b25c8ee029bad3a1715c05aa
Shell
belivem/Study
/FFMpeg
UTF-8
2,219
2.6875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash NDK=/data/liyanan/ffmpeg/android-ndk-r19c ADDI_LDFLAGS="-fPIE -pie" ADDI_CFLAGS="-fPIE -pie -march=armv8-a -mfloat-abi=softfp -mfpu=neon" CPU=arm64-v8a ARCH=arm64 SYSROOT=$NDK/toolchains/llvm/prebuilt/linux-x86_64/sysroot TOOLCHAIN=$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin PREFIX=$(pwd)/android/$CPU ...
true
a529f966b30494fd011390ffd3064c0bfb3c5375
Shell
dokku/dokku
/tests/unit/git_1.bats
UTF-8
2,380
2.84375
3
[ "MIT" ]
permissive
#!/usr/bin/env bats load test_helper setup() { global_setup create_app } teardown() { destroy_app global_teardown } @test "(git) git:help" { run /bin/bash -c "dokku git" echo "output: $output" echo "status: $status" assert_output_contains "Manage app deploys via git" help_output="$output" run /...
true
90ac91025f24f53826d3242e0a5573d1ba0e5d54
Shell
dombak1608/embedded_linux
/LV2/resources/post-build.sh
UTF-8
1,677
3.34375
3
[]
no_license
#!/bin/sh set -u set -e # Add a console on tty1 if [ -e ${TARGET_DIR}/etc/inittab ]; then grep -qE '^tty1::' ${TARGET_DIR}/etc/inittab || \ sed -i '/GENERIC_SERIAL/a\ tty1::respawn:/sbin/getty -L tty1 0 vt100 # HDMI console' ${TARGET_DIR}/etc/inittab fi # Change config.txt to boot u-boot.bin instead of zImage ...
true
576b9fc0aa93265f7b8c0a326fd9e51515150e90
Shell
ganbarodigital/storyplayer
/src/bin/browsermob-proxy.sh
UTF-8
2,311
4.1875
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # # browsermob-proxy.sh # start | stop browsermob-proxy.sh JAR=browsermob-proxy-2.0-beta-10-SNAPSHOT-standalone.jar NAME=browsermob-proxy PARAMS="-port 9090" # special case - where is the JAR file? BIN_DIR="@@BIN_DIR@@" if [[ $BIN_DIR == "@""@BIN_DIR@@" ]] ; then # we are running out of a vendor folder ...
true
dfdc1a2dc7b345a3a896ba795784473861054b6b
Shell
mutanthost/backupEC2
/ORACLE_19/bin/ORE
UTF-8
909
3.4375
3
[]
no_license
#!/bin/sh ORE_VER=1.5.1 R_MAJOR_VER=3 R_MINOR_VER=3 # Checking R type R > /dev/null 2>&1 if [ $? -eq 0 ]; then unset R_HOME R_HOME=`R RHOME` fi if [ -n "${R_HOME}" ]; then RCMD="${R_HOME}/bin/R" fi if [ -f "${RCMD}" ]; then unset R_HOME R_HOME=`${RCMD} RHOME` else echo "Fail" echo " ERROR: R not foun...
true
e71e4ba29b9da511c3163902a53f4df21c6390fc
Shell
yul14nrc/k8sDynatrace
/3-dynatrace/connectK8sDynatrace/k8sClusterToDynatrace.sh
UTF-8
3,811
3.296875
3
[]
no_license
#!/bin/bash if [ -z "$DT_TENANTID" ]; then export CREDS=../../1-credentials/creds.json if [ -f "$CREDS" ]; then echo "The $CREDS file exists." else echo "The $CREDS file does not exists. Executing the defineDTcredentials.sh script..." cd ../../1-credentials ./defineDTCrede...
true
621d30f615cb4c56657e9a1c042188a75d31fc6a
Shell
brennanfee/dotfiles
/bash/shared/functions/misc.bash
UTF-8
1,567
3.46875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # Bash strict mode # shellcheck disable=SC2154 ([[ -n ${ZSH_EVAL_CONTEXT} && ${ZSH_EVAL_CONTEXT} =~ :file$ ]] \ || [[ -n ${BASH_VERSION} ]] && (return 0 2> /dev/null)) && SOURCED=true || SOURCED=false if ! ${SOURCED}; then set -o errexit # same as set -e set -o nounset # same as set -u se...
true
a0fbddef85d7f7aff6c30ef76aa820819ae83d37
Shell
guke/flarum
/system/vagrant/environment.sh
UTF-8
970
2.875
3
[ "MIT" ]
permissive
#! /bin/bash su - vagrant ### Setup NPM globals and create necessary directories ### sudo apt-get install -y phantomjs zsh exuberant-ctags mkdir /home/vagrant/npm sudo chown -R vagrant:vagrant /home/vagrant cp /vagrant/scripts/aliases ~/.aliases ### Create rc file ### if [ -e "/home/vagrant/.zshrc" ] then echo "...
true
40560d0676d0bba9e99520a61c4108a06062d009
Shell
Agaisme/nopain-setupserver
/main.sh
UTF-8
596
2.765625
3
[]
no_license
#!/bin/bash ####################################################### # NoPain Setup Server V0.1 # Authors Subraga Islammada S (Agaisme) # Support Bash Version 4.3 # This file is taken from various sources ####################################################### # Sunday, 11-Aug-2019 # Load Support File CURRENT_DIR=$( cd...
true
ceaf8fc4a12a4525424561efac6b7eddf3276c4d
Shell
Wyyyyylla/shell2python
/test/test05.sh
UTF-8
247
2.9375
3
[]
no_license
#/bin/sh # Matthew Moss # mdm@cse.unsw.edu.au # cs2041, 12s2 # We're going to have nested loops for i in 1 2 3 do for j in 4 5 6 do while `test $i -lt $j` do echo $1 $i = `expr $1 + 1` done done done
true
1cd1b01ec52701be16046884e36a28dc8c484499
Shell
BerkeleyLibrary/iipsrv
/test/test.sh
UTF-8
2,637
4.15625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash ############################################################ # Helper functions # shellcheck disable=SC2155 download() { local download_url="${1}" local output_path="${2}" if ! curl -v "${download_url}" > "${output_path}" ; then echo "Downloading ${download_url} to ${output_path} failed...
true
f8064a5f30012b66a1b861a2c0c58962f523839b
Shell
szorfein/dots
/home/.chezmoiscripts/run_once_awesome_config.sh.tmpl
UTF-8
737
2.96875
3
[ "MIT" ]
permissive
#!/usr/bin/env sh set -o errexit DIR="${HOME}/.config/awesome/config" DEST="$DIR/env.lua" [ -d "$DIR" ] || mkdir -p "$DIR" cat >"$DEST" <<EOF terminal = os.getenv("TERMINAL") or "xst" terminal_cmd = terminal .. " -e " editor = "{{ .editor }}" editor_cmd = terminal_cmd .. editor {{- if eq .sound "alsa" }} {{- if e...
true
51dd9b1dce79182105acaa69090a56037b31cc76
Shell
timotheehub/Projbook
/build/deploy-doc.sh
UTF-8
1,248
3.34375
3
[]
no_license
#!/bin/bash set -e # exit with nonzero exit code if anything fails # inside this git repo we'll pretend to be a new user git config user.name "Travis CI" git config user.email "defrancea@gmail.com" # The first and only commit to this new Git repo contains all the # files present with the commit message "Deploy to Git...
true
936be9359aaad370e8c7f049fb77e68e85840370
Shell
shts/keyakifeed-api
/deamon_crawler_matomefeeds
UTF-8
785
3.765625
4
[]
no_license
#!/bin/sh # chkconfig: 2345 95 5 # description: crawler for keyakizaka46 matome feed entries # processname: crawler_entries NAME="[ matomefeeds crawler ]" APP_ROOT_DIR="/var/www/app" PID="/var/www/app/tmp/pids/crawler_matomefeeds.pid" CMD="ruby crawler_matomefeeds.rb" USER=root start() { if [ -e $PID ]; then ec...
true
deddab5d03cfc7ab9097fdc3ed566e2fac5df7e1
Shell
minorhash/3bs
/bin/kill.sh
UTF-8
176
2.890625
3
[]
no_license
sta=$(netstat -lpn |grep 3023) echo $sta str=$(echo $sta|awk '{print $7}') echo $str str2=${str:0: -5} echo $str2 if [ -z $str2 ];then echo "dead" else kill -9 $str2 fi
true
7ca83f826cbeab966796ba9c760a0d7a4c59cdbd
Shell
leopard152015/AMRmodel
/SI/BASE V10 - Exp/mp_R4.sh
UTF-8
1,316
2.828125
3
[ "MIT" ]
permissive
#!/bin/bash #SBATCH --account=def-amrowe #SBATCH --time=02:00:00 #SBATCH --cpus-per-task=1 #SBATCH --nodes=1 #SBATCH --mem=1000mb #SBATCH --job-name=V10_R4 #SBATCH --output=./output/output-%x-%a.out #SBATCH --open-mode=append if test -e ./pickleddata/$SLURM_JOB_NAME-$SLURM_ARRAY_TASK_ID; then # Rerun the simulation ...
true
ffa022f30e902233f38acf62e92aa09022e42684
Shell
petronny/aur3-mirror
/jabberd14-ubuntu/PKGBUILD
UTF-8
1,196
3
3
[]
no_license
pkgname=jabberd14-ubuntu _pkgname=jabberd14 pkgver=1.6.1.1 pkgrel=1 pkgdesc="XMPP Server with ubuntu patches" arch=('i686' 'x86_64') url="http://jabberd.org/" license=('GPL') #depends=('expat' 'udns' 'libidn' 'libgsasl') #makedepends=('expat' 'udns' 'libidn' 'libgsasl' 'openssl' 'mysql') source=("http://download.jabber...
true
acb263effce4eb489835f6afd4625f6e80e56d24
Shell
nishant3794/mediawiki
/terraform/modules/user_data/service/mediawiki/userdata.sh.tpl
UTF-8
1,145
2.78125
3
[]
no_license
#!/bin/bash sudo rm -rf /var/www/mediawiki sudo aws s3 cp s3://deployment-zips-mediawiki/mediawiki.tar /home/centos/mediawiki.tar sudo tar -xvf /home/centos/mediawiki.tar -C /var/www/ sudo mv /var/www/mediawiki-1.34.2 /var/www/mediawiki sleep 30 sudo aws s3 cp s3://resource-softwares-files/LocalSettings.php /var/www/me...
true
2c62750d5fc55e1b2b3fa2df1adf00eb79c12e14
Shell
XiaoGeNintendo/HHSOJ-Web-Edition
/getoj.sh
UTF-8
9,109
3.75
4
[]
no_license
#!/bin/bash Green_font_prefix="\033[32m" && Red_font_prefix="\033[31m" && Grey_font_preffix="\e[37m" && Green_background_prefix="\033[42;37m" && Red_background_prefix="\033[41;37m" && Font_color_suffix="\033[0m" column_size=${COLUMNS} length_size=${LINES} debug_mode=false check_root(){ [[ $EUID != 0 ]] && echo -e "...
true
efd5dae36315c2dab515434eb41c8d12029c2bc8
Shell
rahulgidde/Shellscript
/for_loop/HarmonicNumber.sh
UTF-8
302
3.84375
4
[]
no_license
#!/bin/bash -x #TAKE INPUT FROM USER read -p "Enter The Range Of Harmonic Number:" number #VARIABLE harmonic=0 #CALCULATE HARMONIC NUMBER for (( index=1; index<=number; index++ )) do harmonic=$(echo "scale=2; $harmonic + 1 / $index" | bc) done #DISPLAY RESULT echo "Harmonic Number is: $harmonic"
true
c18dd7fa526531704692f8476340b809b02c49c0
Shell
lhudson08/salmonella_cerro
/pseudochrom.sh
UTF-8
335
3
3
[]
no_license
#!/bin/bash #Usage: sh pseudochrom.sh <path to input files> #lmc297@cornell.edu cd $1 mkdir original_contigs for f in *.fasta do cp $f original_contigs sed -i 's/^>NODE.*/NNnnNNnnNNnnNNnn/' $f sed -i "1i >${f}" $f awk '/^>/{print s? s"\n"$0:$0;s="";next}{s=s sprintf("%s",$0)}END{if(s)print s}' $f > ${f%.fasta}_pseudo...
true
349f4a2c2a7b666831b0f2b5ef8dfcf877a34d57
Shell
OpenBEL/bel_parser
/bump.sh
UTF-8
955
3.390625
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash CURRENT=$(cat VERSION) NEXT=$(echo "puts \"${CURRENT}\".next" | ruby) read -p "Bump and release $NEXT [Y OR y]? " -n 1 -r if [[ ! $REPLY =~ ^[Yy]$ ]]; then echo -e "\nExiting." exit 1 fi # set version in VERSION file echo "$NEXT" > VERSION # update ISO 8601 date in gemspec sed -ri "s/[0-9...
true
6ed3b171fc190788ce0e62e1972d7e5c414446fe
Shell
artemrys/google-cloud-functions-deploy
/pipe/pipe.sh
UTF-8
1,846
3.828125
4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/usr/bin/env bash # Deploy to GCP Cloud Functions, https://cloud.google.com/functions/ # # Required globals: # KEY_FILE # PROJECT # FUNCTION_NAME # ENTRY_POINT # RUNTIME # # Optional globals: # MEMORY # TIMEOUT # EXTRA_ARGS # DEBUG # SOURCE # TRIGGER source "$(dirname "$0")/common.sh" enable_d...
true
81a5a7cc2144aa78bb2c01bf7deeb1582846da8c
Shell
noloerino/dotfiles
/bin/runjava
UTF-8
240
3.515625
4
[]
no_license
#!/bin/bash FILE_NAME=$1 shift if [[ $FILE_NAME == *\.java ]]; then : else FILE_NAME="$FILE_NAME.java" fi javac $FILE_NAME COMPILED=$? if [[ $COMPILED -eq 0 ]]; then echo "Compiled $FILE_NAME" java ${FILE_NAME%\.java} $@ fi
true
95ee7c3eb5775fa9a9d2b26e78eba5e9964f61cc
Shell
KIT-CMS/sm-htt-analysis
/condor_jobs/run_remote_job.sh
UTF-8
392
2.625
3
[]
no_license
#!/bin/bash set -e export XRD_LOGLEVEL="Info" echo " --------------" echo " Unpacking tarball ..." tar -xf gc_tarball.tar.gz echo " Sucessfully unpacked tarball" echo " --------------" echo " Starting shape Production ! " bash ./shapes/produce_shapes_remote.sh echo " Finished shape Production ! " echo " --------------"...
true
13cdb6ae12e729d28da96df381ec41e346f5248e
Shell
CarbsLinux/repository
/extra/info/build
UTF-8
448
2.5625
3
[ "MIT" ]
permissive
#!/bin/sh -e # Standalone build for info that doesn't depend on Perl. Only the info page # viewer. export LDFLAGS="$LDFLAGS -static" export PERL=/bin/true ./configure \ --disable-nls \ --disable-rpath make -C gnulib/lib make -C info make -C install-info clinst -Dm755 info/ginfo "$1/usr/bin/i...
true
b83b3f22c0a0989b6b2a382da3a30894b96e4af3
Shell
dwhitena/pachyderm-go-stats
/stats/stats.sh
UTF-8
668
3.765625
4
[]
no_license
#!/bin/bash # Grab the source code go get -d github.com/$REPONAME/... # Grab Go package name pkgName=github.com/$REPONAME # Grab just first path listed in GOPATH goPath="${GOPATH%%:*}" # Construct Go package path pkgPath="$goPath/src/$pkgName" if [ -e "$pkgPath/Godeps/_workspace" ]; then # Add local godeps dir t...
true
2c9f787edef167265ea4d21f75bbf63121e6b6d0
Shell
royish/my
/scripts/zd
UTF-8
331
3.09375
3
[]
no_license
#!/bin/sh rdiff.sh $1 printf "command:\n" printf "rev ci new \`cat $1.list\`\n" printf "Should I Commit? [y/N] " read cont if [ $cont == "y" ]; then printf "\n=============\n\n" printf "Copy this:\n" printf "$2\n\n" review ci new `cat $1.list` printf "\n=============\n" else printf "not patching...\n" ex...
true
8d749d36a646bc2198420cd114adf9454413db40
Shell
nasrinkabir/kubernetes-helm-poc
/installation_instruction
UTF-8
987
2.515625
3
[]
no_license
#!/bin/bash -x #Install Docker sudo apt update -y sudo apt-get remove docker docker-engine docker.io -y sudo apt install -y docker.io ### Install Kubectl ### curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linu...
true
cabb63f45074ab60e16d181f4a1a61474a76ce10
Shell
skyroot/ctfd-deployment
/server_scripts/start_ctfd_instance.sh
UTF-8
889
3.78125
4
[]
no_license
#!/usr/bin/env bash # Variables hostname="$1" nclteamname="$2" nclsio="http://172.18.178.45:8080" printusage() { echo "Usage: sudo $0 <hostname> <ncl_team_name>" } echo "$0: Started..." if [ "$#" -ne 2 ]; then echo "Failed: Wrong number of arguments." printusage exit fi if [ "$EUID" -ne 0 ]; then echo "...
true
b4a5e9474e47a189acda1760d63647bc4665f16b
Shell
abgit143/whyred_miuieu_port
/port.sh
UTF-8
10,967
3.09375
3
[]
no_license
#!/usr/bin/env bash export LOCALDIR=`cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd` export TOOLS=${LOCALDIR}/tools export DEVICE=lavender export TYPE=eu export VERSIONS=(stable) export SDAT2IMG=${TOOLS}/sdat2img.py export IMG2SDAT=${TOOLS}/img2sdat.py export IMGEXTRACT=${TOOLS}/imgextractor.py export MKUSERIMG=${TOOLS}/...
true
e5c0c02100455d8e09efb7e246bb490cb77cecaf
Shell
nkuehn/sphere-icecat-importer
/bin/12_download_and_clean_daily.sh
UTF-8
532
2.671875
3
[]
no_license
#!/bin/sh # you have to provide an environment variable with the icecat password via `export ICECATPWD=fooBar` and the same for # your IceCat username as `export ICECATUSER=fooBar` mkdir ../downloaded curl -u $ICECATUSER:$ICECATPWD -o ../downloaded/daily.export_urls_rich.txt.gz http://data.icecat.biz/export/freeurls...
true
3d8a3ab053e939e9488be617b11dd7de88e52028
Shell
yungez/iotdev-docker
/dockerfiles/deploy.sh
UTF-8
1,073
3.484375
3
[]
no_license
#!/bin/bash save_deviceip=0 save_username=0 save_password=0 save_srcdockerpath=0 save_destdir=0 for arg in "$@" do if [ $save_deviceip == 1 ] then deviceip="$arg" save_deviceip=0 elif [ $save_username == 1 ] then username="$arg" save_username=0 elif [ $save_passw...
true
bd9db5a23f78336bf6ed287b797b5b0da2574bc8
Shell
b2moo/learn
/experiments.sh
UTF-8
2,746
3.9375
4
[]
no_license
#!/bin/bash # This file generates the data for the plots of figure 7 of the article # Official parameters (K for K-parameterized experiments, D for dimension parameterized # experiments KPARAMS="50 100 150 200 250 300 350 400 450 500" DPARAMS="3 4 5 10 50 100 200" # 5 min TIMEOUT=300 # dia-r (This is K Diagonal Res...
true
afe8279bdf9ce7dcf48d3948b959b72fc62edf1d
Shell
SamAinsworth/reproduce-ghostminion-paper
/scripts/run_spec17.sh
UTF-8
881
2.796875
3
[]
no_license
cd .. set -u export BASE=$(pwd) cd SPEC17/benchspec/CPU/ N=$(grep ^cpu\\scores /proc/cpuinfo | uniq | awk '{print $4}') M=$(grep MemTotal /proc/meminfo | awk '{print $2}') G=$(expr $M / 8192000) P=$((G<N ? G : N)) i=0 for bench in bwaves perlbench gcc mcf omnetpp xalancbmk deepsjeng leela exchange2 xz bwaves cactusBSS...
true
698801f0019e4ac76aeab9c171fae1e8ee5102d0
Shell
eshwen/SemivisibleJets
/utils/pid_change.sh
UTF-8
1,797
3.03125
3
[]
no_license
#!/bin/bash if [ -z $1 ]; then usr_msg="Usage: ./pid_change.sh <path to LHE file>" $SVJ_TOP_DIR/utils/print_bash_script_usage.sh "$usr_msg" exit fi lheFile=$1 echo "Changing PDGIDs from MadGraph to Pythia conventions in preparation for hadronisation..." # madgraph sign convention is reversed? # Change PDG...
true
6b7ac020069f055bb0783f7fe7eb87ce9a9f449a
Shell
martin-walsh/utilities
/scripts/bash/completion.sh
UTF-8
1,348
3.0625
3
[]
no_license
#/usr/bin/env bash _complete () { COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" comp_folders=$@ COMPREPLY=( $(compgen -W "$comp_folders" -- $cur)) return 0 } ######################################################################### #### CD SCRIPTS #### #######...
true
8e0f16990f870ef0485d8fa05f7780eaf14aa191
Shell
dorucioclea/posthog
/ee/benchmarks/measure.sh
UTF-8
4,826
3.703125
4
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
#!/bin/bash set -e USER="default" while test $# -gt 0; do case "$1" in -h|--help) echo "This is a script to measure performance of a clickhouse query against a live database instance." echo "" echo "USAGE:" echo " measure.sh [FLAGS]" echo "" echo "EXAMPLE:" echo " ...
true
7204fd771c72794b0e60879fc2c72aaa0f39f652
Shell
grahamallegretto/NuDataTest
/Question-2/numsort.sh
UTF-8
512
4.09375
4
[]
no_license
## # Sorts a file that contains only numeric entries. Must pass filename as a parameter. # Will output to 'sortedData.txt' # SIZE_OF_CHUNKS=10000 # Exit if file doesn't exist if [ $# -eq 0 ] || [ ! -e $1 ]; then echo "File doesn't exist" exit 1 fi # Split into smaller files split -l $SIZE_OF_CHUNKS $1 chunk # Sor...
true
90479783987f87703d76ab22712211095a7cddd1
Shell
flavio-a/dotfiles
/dotfiles/config/zsh/.zshrc
UTF-8
2,211
2.671875
3
[ "MIT" ]
permissive
# Cross words with ctrl arrows autoload -U select-word-style select-word-style bash bindkey '^[[1;5D' backward-word bindkey '^[[1;5C' forward-word # Bind delete key to actually delete characters bindkey "^[[3~" delete-char # Disable adding completions, only shows setopt noautomenu nomenucomplete # Load shared shell ...
true
a50d58dc00814ad7637de0ccc89027139998aff5
Shell
noelnamai/kent
/src/tagStorm/jsonToTagStorm/errCheck.sh
UTF-8
1,178
4.0625
4
[]
no_license
#!/bin/bash usage() { echo "errCheck - run a program and compare error response to expected. usage: errCheck <expectedStderr.txt> <command> [command arguments] Returns zero if command returns with a non-crashing nonzero return and the stderr output of the command matches expected.txt" 1>&2 } if [ $# -lt 2 ]; ...
true
4ab2a885c319b9fc12d9d02eef5c953c5be22162
Shell
ShotaroBaba/shotaro-redmine-docker
/generate-docker-compose-yml.sh
UTF-8
775
3.0625
3
[ "MIT" ]
permissive
#!/bin/bash # Set passwords first num_pass_char=24 # Generate random password redmine_db_password=$(tr -dc A-Za-z0-9 </dev/urandom | head -c $num_pass_char ; echo '') redmine_secret_key=$(tr -dc A-Za-z0-9 </dev/urandom | head -c $num_pass_char ; echo '') mysql_root_password=$(tr -dc A-Za-z0-9 </dev/urandom | head -c ...
true