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
54b469e7ead6ca6f5894a7ff79705cc6ef1c7d91
Shell
mmartinsOps/prj-cicd
/create-argo.sh
UTF-8
1,578
3.46875
3
[]
no_license
#!/bin/sh invalid() { echo "Error: Invalid parameters!" echo } usage() { echo "$ create-argo.sh <CD>" echo echo "Argumentos:" echo echo " CD: Nome base do projeto a ser criado / atualizado" echo } if [ "$CD" == "" ]; then ...
true
5f104df018870055dd6ffab10a4c048aa8820b76
Shell
yennanliu/utility_shell
/k8s/install_minikube.sh
UTF-8
466
2.546875
3
[]
no_license
# https://kubernetes.io/docs/tasks/tools/install-minikube/ # for Mac OSX # Step 1) validate if VMX exists sysctl -a | grep -E --color 'machdep.cpu.features|VMX' # Step 2) Installing minikube # install kubectl # install a Hypervisor : VirtualBox # install minikube brew install minikube # Step 3) Confirm Installati...
true
022ac169eeb89ca1d8bf2d467e14105856a21637
Shell
oduerr/wradlib
/scripts/install.sh
UTF-8
1,861
2.859375
3
[ "MIT" ]
permissive
#!/bin/bash # Copyright (c) 2016, wradlib developers. # Distributed under the MIT License. See LICENSE.txt for more info. # print the vars echo "TRAVIS_PULL_REQUEST " $TRAVIS_PULL_REQUEST echo "TRAVIS_SECURE_ENV_VARS " $TRAVIS_SECURE_ENV_VARS echo "TRAVIS_TAG " $TRAVIS_TAG ${TRAVIS_TAG:1} wget http://repo.continuum....
true
78f4d4431cdd7079e027f96697b77b0956f78a4e
Shell
afifsohaili/dotfiles-extensions
/booster/fetch_rebase.zsh
UTF-8
347
3.390625
3
[]
no_license
function fetch_rebase() { branch="origin/master" if [ -n "$1" ]; then branch="$1" fi git fetch && git rebase $branch } alias gfrb='fetch_rebase' function branch_reset() { if [ -n "$1" ]; then git fetch && git reset --hard origin/$1 else git fetch && git reset --hard origin/$(current_branch) ...
true
23a519f3ec7b4d8c9725cbbdb48ac0b781579587
Shell
TracyBallinger/SV_pipeline
/scripts/combine/lumpy_to_bedpe.sh
UTF-8
2,099
3.234375
3
[]
no_license
#!/bin/bash # SU is the cutoff for the read coverage for a break #$ -N #$ -cwd #$ -j y #$ -l h_rt=24:00:00 #$ -l h_vmem=1G #$ -o /exports/eddie/scratch/tballing/errorlogs/$JOB_NAME.o$JOB_ID.$TASK_ID unset MODULEPATH . /etc/profile.d/modules.sh # You really just need bedtools, but bedtools is in bcbio module loa...
true
512f8a51e2b348728f804f95a1a44e36d8a6e3a3
Shell
xiaoweiruby/edocs
/code/ubuntu_install.sh
UTF-8
2,727
3.34375
3
[]
no_license
clear echo echo "=== HI $USER, You are running on UBUNTU: " `lsb_release -c -r` echo """ this script helps you install your essential tools, let's go """ sudo apt-get update # on a fresh system, this is a MUST sudo apt-get -y install tig xclip git curl tree vim openssh-server config_ssh() { ssh-keygen -t dsa ...
true
010568af4f61ac24c3250bb9fdac2bff733a9ba9
Shell
iheanyi1989/aws-eks-workshop
/installeksctl.sh
UTF-8
653
2.640625
3
[ "MIT-0" ]
permissive
#!/bin/bash curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp sudo mv /tmp/eksctl /usr/local/bin eksctl version curl -o kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.21.2/2021-07-05/bin/linux/amd64/kubectl curl -o kubectl...
true
d20024a5d7af27bb5a4dbc012ff2add5144711a3
Shell
dmitriy-korotayev/gotbletu-dotfiles
/scripts/.scripts/shoutcast_tuner.sh
UTF-8
8,718
4.0625
4
[]
no_license
#!/bin/bash # tutorial video: https://www.youtube.com/watch?v=9T4VtC5Bhmo # http://crunchbang.org/forums/viewtopic.php?pid=396202#p396202 # shoutcast_radionomy_search.sh # search shoutcast and radionomy, # send url to radiotray, mpg123, mplayer or another player # send url to streamripper to record # # version 3.1 # # ...
true
541d9e7394ee38cc96188d079264b079cb7444e8
Shell
ResearchIT/molcas_pipeline
/molcas_pipeline.sh
UTF-8
2,850
3.828125
4
[]
no_license
#!/bin/bash #notes #PROJECT naming convention is molecule_XXsolv_temp (on the folder) #the files additionally have a timestep added e.g. molecule_XXsolv_temp_timestep #assumptions # project folder name will be used as the prefix of the input,prm,key,etc. filenames # e.g. project folder will be : HN3_73solv_298K, file...
true
147767d9a2533e288a01ab811b775e9963b14729
Shell
greatmobile/vpn
/add-host.sh
UTF-8
617
3.1875
3
[]
no_license
#!/bin/bash echo "Tukar Domain?" select yn in "Yes" "No"; do case $yn in Yes ) make install; break;; No ) exit;; esac done clear echo -e "Masukkan Domain" read -p "Hostname / Domain: " host rm -f /var/lib/crot-script/ipvps.conf rm -f /var/lib/premium-script/ipvps.conf rm -f /etc/v2ray/domain cl...
true
35f94d57d9b0a7585f2d91944180324d72c786ed
Shell
sjlongland/lib_mysqludf_sys
/mkdeb.sh
UTF-8
3,625
3.84375
4
[]
no_license
#!/bin/sh # Debian package build script set -e # Set some directory locations : ${SRCDIR:=$( realpath $( dirname "$0" ))} : ${WORKDIR:=${SRCDIR}/work} : ${DISTDIR:=${SRCDIR}/dist} # Begin by ensuring we have up-to-date sources if [ -z "${SKIP_FETCH}" ]; then make -C ${SRCDIR} fetch fi # Take the version from the...
true
cf38f82f096372e0e605c11a6e52df700d84a32a
Shell
BeWe11/dotfiles
/.zshrc
UTF-8
2,096
2.859375
3
[]
no_license
eval $(/opt/homebrew/bin/brew shellenv) printf '\n%.0s' {1..100} autoload -U compinit; compinit # prevent zsh from catching `CTRL-X` keys bindkey -e if [ -f ~/.zsh_aliases ]; then . ~/.zsh_aliases fi export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 export PATH="$PATH:/Users/ben/bin" export PATH="$PATH:/Appli...
true
7254529463dd36879b3454e2e794d596019d2442
Shell
Franco-Poveda/bapro-STP-dashboard
/provision/install-docker.sh
UTF-8
440
2.75
3
[]
no_license
#!/bin/bash if [[ $(id -u) -ne 0 ]] ; then echo "Please run as root" ; exit 1 ; fi apt-get update apt-get install -y apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - apt-key fingerprint 0EBFCD88 add-apt-repository "deb ...
true
bec8c896ab625bc0464dcee03b0bdb895fe8c7ef
Shell
hupili/2C-Web-Research
/feature-extraction/run.sh
UTF-8
123
2.6875
3
[]
no_license
#!/bin/bash rm -f log.* for i in `ls -1 ../data/raw` do ./extractor.sh ../data/raw/$i >> log.stdout 2>> log.stderr done
true
30364efbc67ce1b9df6c27eba54c181708834834
Shell
chipster/chipster-openshift
/scripts/costs.bash
UTF-8
4,225
3.609375
4
[ "MIT" ]
permissive
#!/bin/bash set -e core_hour="0.5" ram_gb_hour="1" storage_tb_hour="3" bu_eur=$(echo "scale=3; 420 / 20000" | bc -l) hours=$((24 * 365)) echo "Using prices:" echo "Pod core hour: $core_hour" echo "Pod RAM GB hour: $ram_gb_hour" echo "Storage TiB hour: $core_hour" echo "1 BU: $...
true
e518b5d7f9addc84d23cd1931e05f57293823149
Shell
svikramjeet/git
/deploy
UTF-8
214
2.53125
3
[ "MIT" ]
permissive
#!/bin/bash content=$(wget http://production-review-tool.herokuapp.com/api/checkReadyToDeploy?app_name=clientshare-web -q -O -) echo $content if [ "${content:1:14}" == '"success":true' ]; then exit 0 fi exit 1
true
5456c1f94005eb338c3c9a47ecab07a952197a4c
Shell
JeepGuy/bash_scripts
/script_files_ex/logging/logging_sol_1.sh
UTF-8
1,370
3.875
4
[]
no_license
#!/bin/bash # # Author: jcbrent # Created Date: 27_Jul_2017 # Modified by: # Write a shell script that displays one random number to the screen and also generates a syslog # message with that random number. Use the "user" facility and the "info" facility for your # messages. # # Hint: Use $RANDOM # -------------------...
true
2cb9f046fd3c5b0d01c57f10b8952a8b925c71d2
Shell
spagetti12/geba_dwnld
/geba_v1-1_20171024.sh
UTF-8
4,232
3.578125
4
[]
no_license
#set -x # 0. BEFORE YOU START # go to http://wrdc.mgo.rssi.ru/ and log in: # user: pavle # password: pavle # the script requires an argument or 2 arguments # 1. DIFFUSE RADIATION: # sh geba.sh difrad # 2. SUNSHINE DURATION: # sh geba.sh sundur # 3. GLOBAL RADIATION: # --- REQUIRES 2 ARGUMENTS --- # parallel sh ...
true
ddef90db4dd3cf770d4464bd47d0f0011852d6e5
Shell
docker-mailserver/docker-mailserver
/target/bin/listmailuser
UTF-8
3,182
4.15625
4
[ "MIT" ]
permissive
#!/bin/bash # shellcheck source=../scripts/helpers/index.sh source /usr/local/bin/helpers/index.sh # Workaround to support ENABLE_QUOTAS toggling during tests: # shellcheck source=/dev/null source /etc/dms-settings 2>/dev/null function _main() { local DATABASE_ACCOUNTS='/tmp/docker-mailserver/postfix-accounts.cf' ...
true
74c00c44ba237d062ae52320869bc7dbcd2c60db
Shell
maxjonata/ScreenTranslator
/scripts/make_iss.sh
UTF-8
1,634
3.03125
3
[ "MIT" ]
permissive
#!/bin/bash source ./options.sh $@ cleanupDirInNeeded $ISS_DIR cp -r $SRC_DISTR_DIR/iss/* $ISS_DIR CONTENT_DIR=$ISS_DIR/content mkdir -p $CONTENT_DIR echo "Making ISS" TESSDATA_DIR="$DOWNLOAD_DIR/tessdata" $(cd $ISS_DIR && ./make_tess_iss.sh $TESSDATA_DIR out="$ISS_DIR/tessdata.iss") #setup VERSION=`grep "versionS...
true
cade70b493a6d9702e4255256173be129e82ac4b
Shell
borispopoff/fvwm-min
/set-style
UTF-8
963
4.28125
4
[ "MIT" ]
permissive
#!/bin/sh # # Safely change the style for FVWM-min. This script just changes a symlink and # restarts FVWM. However, it does so safely. It can also give help on which # styles are available, usage information, etc. This should work on any POSIX # compliant shell. my_dir=$(dirname "$0") my_name=$(basename "$0") print_...
true
a2fbdb7355cace6555246ccd3ba2f66c2a1b7f33
Shell
mczwier/westpa_py3
/lib/examples/analysis_mdanalysis/westpa_scripts/runseg.sh
UTF-8
3,692
3.71875
4
[ "GPL-3.0-only", "MIT" ]
permissive
#!/bin/bash # # runseg.sh # # WESTPA runs this script for each trajectory segment. WESTPA supplies # environment variables that are unique to each segment, such as: # # WEST_CURRENT_SEG_DATA_REF: A path to where the current trajectory segment's # data will be stored. This will become "WEST_PARENT_DATA_REF" for ...
true
feb3b911ce2d8b7820f480f360979e7e2db41a08
Shell
yoko17k/my_launcher
/l.sh
UTF-8
1,508
3.765625
4
[ "Apache-2.0" ]
permissive
#!/bin/sh launcher() { if [ $# -lt 1 ]; then launcher help return fi case "$1" in "w" ) cd ~/vagrant/wordpress45/ &&\ vagrant up &&\ vagrant ssh -- docker-compose up ;; "w_s" ) cd ~/vagrant/wordpress45/ &&\ vagrant ssh ;; "w_h" ) cd ~/vagrant/wordpress45/ &&\ vagrant halt ;; "g...
true
fd8971f27fa963def2e5da5077e7bcb09670e99b
Shell
Kraysent/covid-statistics
/update_info.sh
UTF-8
535
3.28125
3
[]
no_license
if ! [ -d data ]; then mkdir data fi cd data/ if ! [ -d COVID-19 ]; then echo "COVID-19 folder does not exists. Cloning..." git clone https://github.com/CSSEGISandData/COVID-19.git fi if ! [ -d covid19-russia-data ]; then echo "covid19-russia-data folder does not exists. Cloning..." git clone htt...
true
59622913c07e66a77fee1e13f6972047c407f5e5
Shell
rfischer01/ShedRom
/tools/scripts/system/bootsd/su.d/11sd
UTF-8
11,916
2.96875
3
[]
no_license
#!/system/bin/sh BB=/system/bin/busybox # Mounting # $BB mount -o remount,rw / $BB mount -o remount,rw / / $BB mount -o remount,rw rootfs $BB mount -o remount,rw /system $BB mount -o remount,rw /system /system # SD R/W Tweaks # SD=/data/tweakslog/11SDT.log # Kernel Tweaks # KR=/data/tweakslog/13KER.log # System Twe...
true
184582041438950f56e0479ca63ed52ee087a589
Shell
gshang2017/docker
/aria2/root/etc/cont-init.d/aria2c.sh
UTF-8
5,218
3.109375
3
[]
no_license
#! /usr/bin/with-contenv bash #检查config文件 if [ ! -f /config/aria2.conf ]; then cp /usr/local/aria2/defaults/aria2.conf /config/aria2.conf if [ "$ARIA2_CONF_LANGUAGE" == "zh_Hant" ]; then sed -i 's/\#zh_Hant//g' /config/aria2.conf sed -i '/\#zh_Hans\#/d' /config/aria2.conf sed -i '/\#en\#/d' /config/ari...
true
70a690b6a6a2625d5cfb2cb76e1ec8b041185bff
Shell
hitswint/.emacs.d
/dotfiles/bin/ss_server.sh
UTF-8
872
2.921875
3
[]
no_license
#!/bin/sh # screen加-dm忽略shell环境,可开机启动;加-S xxx命名。 if [ -z "$STY" ]; then exec screen /bin/zsh $0 $1; fi port="3344" pass="r408hxkjopzZA" if [ x$1 != x ]; then # 可选$1做内网穿透。 server_sshR=$1 login_sshR=$(gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '$2==server_sshR {print $6}' server_sshR="$...
true
32d1e93d5bca5471d13b4b42940301e62fb1486e
Shell
cha63506/servlet-safety
/src/test/resources/fakesendmail.sh
UTF-8
550
3.5
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # This is a totally preposterous script which, if called like sendmail (i.e., # with the -t command line flag, echos everything from stdin to a file) to a # file named 'sent-mail.txt' in the current directory. This allows us to test # sending error reports via the sendmail command without actually sending ...
true
996a46ee4019395676b079b238ea0255c9c1ab69
Shell
kiegroup/kogito-pipelines
/tools/update-build-gradle-regex-line.sh
UTF-8
339
3.625
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -eo pipefail REGEX=$1 VALUE=$2 if [ -z "${REGEX}" ]; then echo "Please provide which a regex to update" echo 1 fi if [ -z "${VALUE}" ]; then echo "Please provide new value for the property as second argument" echo 1 fi find . -name build.gradle -exec sed -i "s|${REGEX}.*|${REGEX} \"...
true
3153efc7363935e4db61eee6e348363f9e1be548
Shell
openbsd/xenocara
/app/xlockmore/etc/showmodes.sh
UTF-8
1,553
3.71875
4
[]
no_license
#!/bin/ksh # or /bin/bash # Simple script to look all xlock modes supported. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose and without fee is hereby granted, # provided that the above copyright notice appear in all copies and that # both that copyright notic...
true
ca308f8631d01198bdb9ba2a9f341f691efc207b
Shell
s910611s/debian-server-tools
/debian-image-normalize.sh
UTF-8
6,300
3.25
3
[ "MIT" ]
permissive
#!/bin/bash # # Normalize Debian OS: jessie 8.x netinst (essential, required, important) and standard packages # # VERSION :1.0.0 # DEPENDS :apt-get install apt aptitude debian-archive-keyring # Generated lists # # - missing.pkgs # - extra.pkgs # - removed.pkgs # - integrity.log # - cruft.log # - installed...
true
03594df50a2953cd774a374483e6e3b04f23e639
Shell
estebanpw/docker-geckomgv
/src/media/scripts/gecko/workflowGalaxy.sh
UTF-8
8,512
3.296875
3
[]
no_license
#!/bin/bash FL=1000 # frequency limit MG=0 if [ $# -lt 7 ]; then echo " ==== ERROR ... you called this script inappropriately." echo "" echo " usage: $0 seqXName seqYName lenght similarity WL fixedL CSVOutput" echo "" exit -1 fi if [ $# == 8 ]; then MG=$8 fi { BINDIR="$( cd "$( dirname "${BA...
true
38cecbc7e37b76a49be7bcbb523937ae3160fe26
Shell
svpv/girar
/bin/girar-task-change-state
UTF-8
539
3.140625
3
[]
no_license
#!/bin/sh -efu . girar-sh-functions PROG='girar-task-change-state' id="$1"; shift new_state="$1"; shift cd "$TASKS_DIR/$id" enable -f /usr/lib/bash/lockf lockf # obtain an exclusive lock on the tasks state file builtin lockf -v task/state old_state=$(cat task/state) [ "$old_state" = "$new_state" ] || echo "$new_st...
true
7355852ad7832200f9b133011db61bc40f14a58f
Shell
wycomco/macos-printer-reset
/print_env_reset.sh
UTF-8
1,786
3.65625
4
[]
no_license
#!/bin/bash # This script will reset the printing system. # It was inspired by http://www.cnet.com/news/what-does-the-reset-print-system-routine-in-os-x-do/ # This script should work for OS X 10.10 Yosemite and later. Please be aware that it has not been # tested on macOS versions below 10.14 "Mojave". # # For macOS 1...
true
e47bc3a3edccc16280b0e22fed920d99f26a83ea
Shell
mzoka/Bashshell_project_dbms
/fzenity.sh
UTF-8
2,781
3.703125
4
[]
no_license
exist_and_create() { ID=$(tail -1 Databases/metadata 2>/dev/null|cut -f2 -d:) if [[ -z $ID ]]; then ID=0 fi texistDefultDB=$(find . -name Databases 2>/dev/null) sleep 3 | zenity --progress --no-cancel --title="Databases" --width=300 --height=200 --text="Searching for Databases" --pulsate --auto-close if [ -z ...
true
ccc93832d021b5cfd60f7db8b35523bc53eea5c0
Shell
suraj9741/Daily_Progress
/day5/weekdayif.sh
UTF-8
400
3.40625
3
[]
no_license
#!/bin/bash -x echo "Enter the single digit number : " read n if [ $n -eq 1 ] then echo "Sunday" elif [ $n -eq 2 ] then echo "Monday" elif [ $n -eq 3 ] then echo "Tuseday" elif [ $n -eq 4 ] then echo "Wednesday" elif [ $n -eq 5 ] then echo "Thursday" elif [ $n -eq 6 ] then echo "Friday" elif [ $n -e...
true
c44b6b8af26ee021c1befa4373359c5fb590be91
Shell
dev9318/bash
/bash/operation.sh
UTF-8
593
3.421875
3
[]
no_license
#! /bin/bash #age=25 #if [ "$age" -gt 18 ] && [ "$age" -lt 30 ] #then # echo "yay age" #else # echo "boomer" #fi #if [ "$age" -gt 60 ] || [ "$age" -lt 10 ] #then # echo "vaccine" #else # echo "bye bye" #fi #num1=20 #num2=5 #echo $(expr $num1 + $num2 ) #echo $(expr $num1 - $num2 ) # *, / and % # (Or) #e...
true
53f92459814cfd72a764dd3943ab6e14866e79a6
Shell
kbalist/xbmc-games
/psx/epsxe.sh
UTF-8
473
2.59375
3
[]
no_license
#!/usr/bin/env bash #################################### # PSX LAUNCHER #################################### # Thanks to http://www.gwenael.org/xbmc/index.php?title=PCSX-Reloaded#Linux # launcher : pcsx # manual : man pcsx # romext : mdf|iso|bin|img # savegame : yes # command line options : # -nogui : Don't load th...
true
82e1f8b821c16d8906698a29df23ac1ae2d438d4
Shell
petronny/aur3-mirror
/perroquet-bzr/PKGBUILD
UTF-8
997
2.625
3
[]
no_license
# Contributor: wido <widomaker2k7@gmail.com> pkgname=perroquet-bzr pkgver=83 pkgrel=1 pkgdesc="Perroquet is a educational program to improve playfully your listening in a foreign language" arch=('i686' 'x86_64') url="http://perroquet.b219.org" license=('GPL3') depends=('python' 'gtk2' 'intltool>=0.40.0' 'pygtk' 'gstre...
true
90a31c6f96ae0b445826324452972c385af06812
Shell
zeborrego/opensource.apple.com
/src/bind9/bind9-42/bind9/bin/tests/system/pending/tests.sh
UTF-8
6,266
3.375
3
[ "ISC" ]
permissive
#!/bin/sh # # Copyright (C) 2009, 2010 Internet Systems Consortium, Inc. ("ISC") # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS ...
true
cdf662c470373c3b14d31bc1f5044ed9d2c52ad2
Shell
kuperiu/mb-test
/clean.sh
UTF-8
178
2.75
3
[]
no_license
#!/bin/bash set -e [ $# -eq 0 ] && { echo "Usage: $0 [project name]"; exit 1; } PROJECT=$1 kubectl delete -f k8s/ pushd infra terraform destroy --var="project_name=$PROJECT" popd
true
e01c7e2cf8cf9432e974615f83b31ad62aef2eb9
Shell
cjgd/scripts
/admin/sendmail.restart
UTF-8
364
3.203125
3
[]
no_license
#! /bin/sh # sendmail.restart -- restarts sendmail ... # $Id$ # Carlos Duarte <cgd@mail.teleweb.pt>, 981223 case `uname | tr A-Z a-z` in linux*) PID=/var/run/sendmail.pid ;; irix*) PID=/etc/sendmail.pid ;; esac if test "$PID" = ""; then echo "What is this system?" exit fi if test -f $PID; then : ; else echo "W...
true
47d07a2e96cdd0f1a04d5c39e8fe257e3ad97943
Shell
SerhatTeker/dotfiles
/bin/time_utc
UTF-8
533
2.875
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # -*- coding: utf-8 -*- # vim: set ft=sh et ts=4 sw=4 sts=4: # Stdout in ISO-8601 format # https://en.wikipedia.org/wiki/ISO_8601 # # Date 2022-02-13 # Date and time in UTC 2022-02-13T18:43:51+00:00 # 2022-02-13T18:43:51Z # 20220213T184351...
true
09e4933dc1037fd8270024863fff362fd184f38d
Shell
connectthefuture/dotfiles-32
/scripts/bin/switch_to_workspace
UTF-8
823
3.265625
3
[ "MIT" ]
permissive
#!/bin/bash handle_selection() { if [[ $1 ]]; then echo $( wmctrl -d | grep '*' | awk '{ print $1 }' ) > /tmp/switch-to-workspace-last target=$1 wmctrl -s $(wmctrl -d | grep " $target" | awk '{ print $1 }') fi } if [[ $1 ]]; then if [[ $1 == 'last' ]]; then target=$( cat /tmp/switch-to-workspace...
true
57266112fad9ca6beb6d0bff46206c92ecbb9782
Shell
hxin/OntoSuite-Miner
/lib/ensembl-api/ensembl-functgenomics/scripts/run_update_DB_for_release.sh.example
UTF-8
2,489
3.03125
3
[ "Apache-2.0" ]
permissive
#!/bin/sh # Copyright [1999-2013] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute # # 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.o...
true
f6caffe59b6813d6ff984bc581b5a51100ede6da
Shell
nievergeltlab/PolygenicPTSD
/get_prs.sh
UTF-8
4,602
2.90625
3
[]
no_license
#Download and install PRSice https://choishingwan.github.io/PRSice/ #Get the variant rs-id names and stuff from UKBB wget https://www.dropbox.com/s/puxks683vb0omeg/variants.tsv.bgz?dl=0 -O variants.tsv.bgz #Split the variant file into just the rs-ids, position, chr, ref and coded variants zcat variants.tsv.bgz | ...
true
287c8331ff312f61202af8cfe020a57b5d65c7ca
Shell
joshWretlind/CSCI442-OperatingSystems
/project1/alamode-fetch.sh
UTF-8
4,287
4.03125
4
[]
no_license
#!/bin/bash # alamode-fetch.sh # this is the main logic for the program # Most of what this script does is validate things. The actual data we # get is in the alamode-generate.sh script # getInfo basically is the wrapper for the SSH command itself. This # contains a little bit of validation, but most of that is done ...
true
d2bcdfa2b6da046448f390eaddd8580f11ca5a32
Shell
krystof-k/my-macos-setup
/setup.sh
UTF-8
10,136
3.90625
4
[]
no_license
#!/bin/bash set -e # exit on any error # ↓ copy-pasted ./utiliies/message.sh BOLD='\033[1;30m' WHITE='\033[0;37m' YELLOW='\033[0;33m' RED='\033[0;31m' OFF='\033[0m' message () { if [ "$2" == 'step' ]; then MESSAGE=" $1" elif [ "$2" == 'substep' ]; then MESSAGE=" $1" else MESSAGE="${BOLD}$1${OF...
true
e8950235cfb1fd12beb6bb6a829a021dd1b350b6
Shell
dmwm/CMSKubernetes
/kubernetes/cmsweb/scripts/deploy-cm.sh
UTF-8
2,148
3.875
4
[]
no_license
#!/bin/bash # helper script to deploy given service with given tag to k8s infrastructure if [ $# -ne 3 ]; then echo "Usage: deploy-cm.sh <namespace> <service-name> <path_to_configuration>" exit 1 fi cluster_name=`kubectl config get-clusters | grep -v NAME` ns=$1 srv=$2 conf=$3 tmpDir=/tmp/$USER/sops if [ -d...
true
a4aed7132c9729d0b378d797612381fc8a52e074
Shell
bacek/asterisk-k8s-demo
/live-demo/kamailio/entrypoint.sh
UTF-8
1,625
3.46875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Set default settings, pull repository, build # app, etc., _if_ we are not given a different # command. If so, execute that command instead. set -e set -x # Default values : ${PID_FILE:="/var/run/kamailio.pid"} : ${KAMAILIO_ARGS:="-DD -E -f /etc/kamailio/kamailio.cfg -P ${PID_FILE}"} # confd requires th...
true
68e43595356c22c2d9f360d14295b09a3345ad5f
Shell
hiddely/imovies
/virtual-machines/webservice/scripts/backup.sh
UTF-8
1,855
3.1875
3
[]
no_license
#!/bin/sh # echo "=== BACKING UP ==="; BACKUP_DIR=/tmp/backup DATESTRING=$(date +'%Y.%m.%d') BACKUP_PKEY=/home/imovies-backup/.ssh/bak_rsa.pub.pem #BACKUP_PKEY=/Users/hidde/IdeaProjects/iMovies/virtual-machines/webservice/keys/bak_rsa.pub.pem # local, to test rm -rf $BACKUP_DIR mkdir $BACKUP_DIR mkdir $BACKUP_DIR/o...
true
3d64c1f3c9e5cf219c6c77d7a90471f6395f0a27
Shell
guowei-he/dalma-parallel-job-array
/mt_slurm_parallel_ja_submit.sh
UTF-8
2,942
4.125
4
[]
no_license
#!/bin/bash # # It generates a job script of parallel job array, # which will paralllely execute all commands in the file. # # Usage: # slurm-parallel-ja-submit-multi-threads.sh <inputfile> -c <Number of threads per process, default 1> -t <max_time (in hours, default 8)> # main() { # Validate and parse input ...
true
55d283eecf97400b6652381647dd39a8f3dcfdca
Shell
dzyasseron/amielke-overlay
/media-video/vdrconvert/files/0.2.1/grab.sh
UTF-8
720
3.3125
3
[]
no_license
#!/bin/sh # # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/vdrconvert/files/0.2.1/grab.sh,v 1.1 2006/03/02 22:41:36 hd_brummy Exp $ . /etc/conf.d/vdrconvert getvdrversnum() { vdrversnum=$(awk '/VDRVERSNUM/ { gsub("\"","",$3); print $3 }' /usr/inc...
true
d7d604c5e73ea25f7289a4e26f6464c8896195a3
Shell
luotao717/arsdk
/rootfs/db12x-clean/etc/rc.d/rcS
UTF-8
1,993
3.34375
3
[]
no_license
#!/bin/sh # This script runs when init it run during the boot process. # Mounts everything in the fstab mount -a mount -o remount +w / # # Mount the RAM filesystem to /tmp # mount -t ramfs -n none /tmp export PATH=$PATH:/etc/ath # for profile-based-optimization grep -iq "debugfs" /proc/filesystems if [ $? -eq 0 ...
true
0544b716f01fbc1e97a3dc61f551222ab444ffe5
Shell
Sunkek/abandoned-sunbot-layered
/sunbot-bot/entrypoint.sh
UTF-8
200
2.609375
3
[]
no_license
#!/bin/sh apt-get update && apt-get install -y netcat echo "Waiting for API..." while ! nc -z $API_HOST $API_PORT; do sleep 0.1 done echo "API started" exec "$@" #chmod +x /entrypoint.sh
true
75ada940dbacf3af25ee4a086507a566e396e6cb
Shell
PhillBenoit/uofa-pbs-scripts
/ocelote_gpu.pbs
UTF-8
1,784
2.859375
3
[]
no_license
#!/bin/bash ### This will be the researcher who supported your use of the HPC. #PBS -W group_list=[your researcher here] ### Researchers can buy in for priority queueing. However, the amount of time ### they can use for this is limited. Everyone has access to unlimited ### windfall. However, any priority jobs will...
true
52c375898dee4ef61de226648ab44d53539cbf00
Shell
mijime/sham
/src/plug/clean.sh
UTF-8
195
2.65625
3
[]
no_license
#!/bin/bash __sham__plug__clean() { case ${__v__stat} in 1|3) if [[ -d "${__v__dir}" ]] then rm -r "${__v__dir}" fi __v__stat=5 ;; *) ;; esac }
true
87f38c686cdd06f294953842ca060b6ae62421ba
Shell
zhangsunsuochang/sams
/pro.sh
UTF-8
396
2.671875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash data=$1 type=$2 dataset=$data if [ $type = cityu ]; then opencc -i ${data} -o ${data}_s -c hk2s dataset=${data}_s fi if [ $type = as ]; then opencc -i ${data} -o ${data}_s -c tw2s dataset=${data}_s fi python preprocess.py --type produces \ --dataset ${dataset} \ --to ${data}_repo \ ...
true
5c9fa899131e183ad1def0e7d6247e03d5d07411
Shell
Christabelawah/Technologies
/fl2.sh
UTF-8
61
2.8125
3
[]
no_license
i=5 while test $i != 0 do echo "$i" echo " " i=expr $i - 1
true
211dac85189f1f4e0e7c3304d4e7245461e260ea
Shell
casperbrike/git-delete-merged
/git-delete-merged
UTF-8
335
3.3125
3
[ "MIT" ]
permissive
#!/bin/bash current_branch=$(git branch | egrep "^\*" | awk '{split($0, a, " "); print a[2]}') git checkout master merged_branches=$(git branch --merged | egrep -v "(master|staging|beta|production)") if [ -n "$merged_branches" ] then git branch -d $merged_branches else echo 'No merged branches' fi git checkout $...
true
a084c9d6607feff10ea9b9a570a5fdc9379d3414
Shell
saga1015/scripts
/vps-scripts/nginx-install
UTF-8
1,430
3.015625
3
[]
no_license
#!/bin/bash ############################### # # Nginx 1.2.7 # http://nginx.org/ # # Configuration files # vi /etc/nginx/* # ############################### # Dependencies yum install gcc make autoconf automake zlib-devel openssl-devel pcre pcre-devel; # Get public key to verify PGP keys gpg --recv-keys --keyserver ...
true
2f6ba42f65987576620650a483b2516cf72b91b4
Shell
petemoore/try-server-hook
/test/platform_files_test_markup/grab.sh
UTF-8
937
3.421875
3
[]
no_license
#!/bin/bash # 1.4 for a version that should have files # 1.3t for a version that shouldn't have files # aurora for the fallback case # central for the master case # /releases for mapping info for i in \ "https://ftp.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/mozilla-b2g30_v1_4-linux64_gecko/" \ "https://ftp....
true
76b244a990bf40262a90ae05993fa1660a214846
Shell
leandropincini/dotfiles
/home/files/bash_profile
UTF-8
508
3.265625
3
[ "Unlicense", "LicenseRef-scancode-public-domain" ]
permissive
# loading everything # ~/.extra, ~/.bash_prompt, ~/.exports, ~/.aliases and ~/.functions for file in ~/.{aliases,exports,functions,extra}; do [ -r "$file" ] && source "$file" done unset file if [ $(uname) = "Darwin" ]; then for file in ~/.{aliases_mac,exports_mac,extra_mac}; do [ -r "$file" ] && source "...
true
996422666b45f3d7ffcdd1bfab4fd569c8b674be
Shell
rsertelon/rsertelon-plans
/baikal/plan.sh
UTF-8
726
2.703125
3
[ "Unlicense" ]
permissive
pkg_name=baikal pkg_origin=rsertelon pkg_version="0.9.3" pkg_maintainer="Romain Sertelon <romain@sertelon.fr>" pkg_license=("GPL-3.0") pkg_description="Baïkal is a Cal and CardDAV server, based on sabre/dav, that includes an administrative interface for easy management." pkg_upstream_url="http://sabre.io/baikal/" pkg_s...
true
73876adeace12d29d37df64c556b1175af3489cd
Shell
zhixingfeng/shell
/hdf5tobam
UTF-8
581
3.5
4
[]
no_license
#!/bin/bash if [ $# -ne 2 ] ; then echo "hdf5tobam indir(unzipped folder output by unziphdf5) outdir" exit 1 fi if [ "$(ls ./$1 | egrep Analysis_Results | wc -l)" == 0 ] ; then echo "fail to find Analysis_Results in $1" exit 1 fi if [ "$(ls ./$1/Analysis_Results/ | egrep .bax.h5 | wc -...
true
11d18b60652bb4d1715421d8500f07ee3e31183e
Shell
msys2/MINGW-packages
/mingw-w64-go/PKGBUILD
UTF-8
3,254
3.171875
3
[ "BSD-3-Clause" ]
permissive
# Maintainer: Martell Malone < martell malone at g mail dot com > # Contributor: Ray Donnelly <mingw.android@gmail.com> _realname=go pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") pkgver=1.21.0 pkgrel=2 pkgdesc="Go Lang (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64'...
true
3aade59822a65ef83b74d15cd9be9fa5f6d495f3
Shell
Fintan-contents/collaborage
/src/aws/script/cron/stop-app-before-creating-snapshot-of-ebs-data-volume.sh
UTF-8
187
2.546875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -euo pipefail set +u source ~/.bash_profile set -u export PATH="/usr/local/bin:$PATH" # stop docker-compose cd /home/centos/nop/docker/${NOP_APP_ID} docker-compose stop
true
228284dfe33c914547c6b48bb24adae5859d846e
Shell
rzarref/embratel_parallels_vdn
/pgms/scripts/apo/startvpn.sh
UTF-8
880
3.5625
4
[]
no_license
#!/bin/bash #if pgrep -lf openvpn && [ $(dig +noall +answer host1.apo.apsdemo.org | wc -l) -gt 0 ]; then # dig +noall +answer host1.apo.apsdemo.org # echo 'VPN já está Configurada' # exit 0 #fi if [ $(id -u) != 0 ]; then echo "must be root to run this script." sudo /home/fastlane/Embratel/pgms/scripts/apo/startvpn....
true
872ec2d91f514a77c37a96116c0ad5120e6bfab2
Shell
gavioto/org.openscada.deploy
/org.openscada.deploy.package/modules/org.openscada.p2.bin/src/bin/p2.create
UTF-8
1,660
3.421875
3
[]
no_license
#!/usr/bin/env bash # check arguments if [ -z "$1" ]; then echo "p2.create <targetDir>" exit 2 fi # load functions . p2.functions || exit 1 PROFILE="SDKProfile" FLAVOR="tooling" TARGET="$1" ARG_UNITS="$2" # check if a launcher already exists if [ -e "$TARGET" ]; then echo "$TARGET already exists" exit 1 fi ...
true
cf1b29ae9a43741bcc3f3df4a6fee8b767e4459a
Shell
chakralinux/desktop
/powertop/PKGBUILD
UTF-8
900
2.9375
3
[]
no_license
pkgname=powertop pkgver=2.9 pkgrel=1 pkgdesc="Tool that finds the software that makes your laptop use more power than necessary" arch=('x86_64') url="https://01.org/powertop" license=('GPL2') depends=('gcc-libs' 'libnl' 'ncurses' 'pciutils') categories=('utils') screenshot=('https://01.org/powertop/sites/default/files/...
true
8f91ec3a24c748a57186ec472ce878fd97b3ed2e
Shell
OpenInkpot-archive/iplinux-fontconfig
/debian/fontconfig.postinst
UTF-8
791
3.609375
4
[ "HPND-sell-variant", "LicenseRef-scancode-mit-old-style", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-permissive" ]
permissive
#!/bin/sh set -e #DEBHELPER# if [ "$1" = configure ]; then # Moving old caches accidentally installed to /usr/var/cache if [ -d /usr/var/cache/fontconfig ]; then rm -rf /usr/var/cache/fontconfig : fi if [ -d /usr/var/cache ]; then rmdir /usr/var/cache fi if [ -d /usr/var ]; then rmdir /usr/...
true
356a315f9c64578deee3d9dbf3430c1227395f78
Shell
jqhan/devops-demo
/.githooks/pre-commit
UTF-8
1,845
3.53125
4
[]
permissive
#!/bin/bash all_modules=($(./gradlew projects | grep -oh "':.*" | tr -d \'\:'\r')) touched_added_files=($(git diff --name-only --cached)) touched_modules=() for path in ${touched_added_files[@]}; do splitPath=(${path//\// }) # Splits on / module=${splitPath[0]} if [[ " ${all_modules[@]} " =~ " ${module} " ]]; t...
true
067d26006a41b61caeb8fb6e85f4d9cf4551e100
Shell
ravivcohen/dotfiles
/init/10_osx.sh
UTF-8
1,203
3.359375
3
[]
no_license
is_osx || return 1 if [[ ! "$(type -P brew)" ]]; then e_header "Installing Homebrew" true | /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" e_header "Installing Homebrew pks on first run" fi # Exit if, for some reason, Homebrew is not installed. [[ ! "$(type -P...
true
d6104a0cad54d1a74b749d5bf9ad62e3a5c3b221
Shell
tqvarnst/idc-quarkus-labs
/src/main/scripts/oc-clean.sh
UTF-8
1,789
3.15625
3
[]
no_license
#!/bin/bash set -e script_dir=$(dirname $0) ############ ## Settings ############ container_runtime=podman postgresql_pod_name=postgresql spring_project=spring spring_local_image_name=spring/todo spring_pod_name=spring-boot spring_pod_image=${spring_project}/todo quarkus_jvm_project=quarkus-jvm quarkus_jvm_local...
true
6864663a9830bd8abed1569f785a1ae5da883ed7
Shell
strigazi/athena
/InnerDetector/InDetCalibAlgs/PixelCalibAlgs/share/DeadMapBuilder.sh
UTF-8
2,737
2.8125
3
[ "Apache-2.0" ]
permissive
#!/bin/zsh #CMT_SETUP_PATH="/afs/cern.ch/user/i/idcalib/w0/Pixel_Calibration/cmthome" #CMT_SETUP_TAG="$AtlasVersion,$AtlasProject,32" CMT_SETUP_TAG="$AtlasVersion,$AtlasProject,here" #PACKAGE_SETUP_PATH="/afs/cern.ch/user/i/idcalib/w0/Pixel_Calibration/ATHENA/$AtlasProject-$AtlasVersion/cmt" PACKAGE_SETUP_PATH="/afs/c...
true
22e57b652c10ffad45f0bc4c64423fcbdbb5bca2
Shell
RunestoneInteractive/RunestoneServer
/makeRelease.sh
UTF-8
629
3.4375
3
[ "MIT" ]
permissive
set -e if [ $# -eq 0 ] then echo "Usage: makeRelease <release no>" exit fi while true; do read -p "Did you update/commit the version in pyproject.toml " yn case $yn in [Yy]* ) break;; [Nn]* ) exit;; * ) echo "Please answer yes or no.";; esac done while true; do read -p "Did...
true
8d67ccd6e5bd6de0ac91840c6c0e199525ddbd56
Shell
Boy-ming/Alic_env
/localhost/lnmp.sh
UTF-8
657
3.40625
3
[]
no_license
#!/bin/bash if [ ${UID} -eq 0 ]; then case $1 in start) /etc/init.d/nginx start #nginx /etc/init.d/mysql start #mysql /etc/init.d/php7.0-fpm start #php ;; stop) /etc/init.d/nginx stop #nginx /etc/init.d/mysql stop #mysql /etc/init.d/php...
true
ab19c2e7986defa8ca249c0c8e991f1a28c96593
Shell
saifulriza/3-1
/3-1.sh
UTF-8
1,050
3.515625
4
[]
no_license
#!bin/bash export PROJECT_ID=$(gcloud config get-value project) export BUCKET_NAME=$(gcloud config get-value project)-bucket mkdir gcf_hello_world cd gcf_hello_world cat <<EOF > index.js /** * Background Cloud Function to be triggered by Pub/Sub. * This function is exported by index.js, and executed when * t...
true
e263ddde6eb67fee86a0ea5ca5f2f91c46add65c
Shell
Hadryan/manythings
/scripts/deploy.sh
UTF-8
929
4.03125
4
[]
no_license
#!/bin/bash set -euo pipefail function help() { echo "Please specify which service you would like to deploy" exit -1 } IMAGE_NAME="" IMAGE_PATH="" VERSION="latest" SERVICE="manythings-webapp" # Compose local properties with flag options while [ "$#" -ne 0 ] ; do case "$1" in deploy) ...
true
72a7a2d9a39854cee510c94c2899aea85f521501
Shell
doumbia-alt/commonvoice-fr
/DeepSpeech/import_m-ailabs.sh
UTF-8
566
2.96875
3
[]
no_license
#!/bin/bash set -xe pushd $HOME/ds/ if [ "${ENGLISH_COMPATIBLE}" = "1" ]; then IMPORT_AS_ENGLISH="--normalize" fi; if [ ! -f "/mnt/extracted/data/M-AILABS/${M_AILABS_LANG}/${M_AILABS_LANG}_train.csv" ]; then if [ ! -z "${M_AILABS_SKIP}" ]; then SKIPLIST="--skiplist ${M_AILABS_SKIP}" fi; python bin/imp...
true
816ee2aa21a20fa2d55a55ab0d4202793f50f071
Shell
IslamAlam/docker-xubuntu
/config/skel/.xsessionrc
UTF-8
538
2.71875
3
[ "MIT" ]
permissive
#!/bin/sh export XDG_CACHE_HOME=${HOME:?}/.cache export XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg export XDG_CONFIG_HOME=${HOME:?}/.config export XDG_CURRENT_DESKTOP=XFCE export XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share:/usr/share export XDG_DATA_HOME=${HOME:?}/.local/share export XDG_MENU...
true
9818a97cbfc2e697a7a2ec789399cc847d940651
Shell
josephworks/ultimatelinux.sh
/makedeb.sh
UTF-8
502
2.78125
3
[ "MIT" ]
permissive
echo "Getting BuildTools" sudo apt install tree # Creating Directories mkdir build cd build mkdir DEBIAN mkdir usr cd usr mkdir local cd local mkdir bin cd ../../../ # Move files over for building cp ./uls.sh ./build/usr/local/bin cp ./ulsrepeat.sh ./build/usr/local/bin cp ./ultimatelinux.sh ./build/usr/local/bin cp ...
true
0ead3eb4e134458f48530884b30e935b581da357
Shell
xkszltl/Roaster
/pkgs/utils/fpm/install.sh
UTF-8
4,043
4.03125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # ================================================================ # Install Locally-built Package # ================================================================ set -e # ---------------------------------------------------------------- # Clean up install directory # ----------------------------------...
true
d69063cc06d56d0f81e36b421cb63277fd18d6be
Shell
krunalpatel5456/krunal
/mathscript.sh
UTF-8
601
3.96875
4
[]
no_license
#!/bin/bash # This script asks the user for 2 numbers, then does then # 5 basic arithmetic operations on those number read -p "Enter a number " firstnum read -p " Enter a second number " secondnum total=$(($firstnum + $secondnum)) echo "$firstnum + $secondnum equals $total" total=$(($firstnum - $secondnum)) echo "$f...
true
e310128615334e38037209c571c442b4e6e5c436
Shell
7u83/actube
/ssl/mkrootca.sh
UTF-8
2,502
3
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh echo Creating Root CAs KEYSIZE=2048 CONFIG=openssl.cnf ROOT_CA_DIR=./root-ca INT_CA_DIR=./intermediate-ca DAYS=6000 if [ ! -e $ROOT_CA_DIR ] then echo "Initializing root-ca" mkdir $ROOT_CA_DIR echo '1000' > $ROOT_CA_DIR/serial touch $ROOT_CA_DIR/index.txt fi if [ ! -e $INT_CA_DIR ] then echo "In...
true
db89e0e80d38749fa67496a9947a3acea5b311cc
Shell
Murd4/DEVSCOLA
/tree.sh
UTF-8
785
4.1875
4
[]
no_license
#!/bin/bash echo " ********************** Command-Line Assesment: 1. Type 'tree' to create a folder tree. 2. Once created, type 'find' to find a file inside it. " read -p "Introduce your option: " opt1 if [[ $opt1 == "tree" ]]; then read -p "Introduce the number of folders" folder_num a=0 b=1 while [ $a -lt $folde...
true
e818d7ecb4dcd6b83308b85e605362444dcf4855
Shell
gregory1506/Assignment3
/Assignment3/installserver.sh
UTF-8
1,474
2.828125
3
[]
no_license
#!/bin/bash app_path=/srv/app mkdir $app_path cp *.py $app_path # install python3 stuff apt -y update apt -y install python3-bottle apt -y install python3-pip pip3 install azure-storage pip3 install azure-servicebus pip3 install aiohttp # create worker service touch /etc/systemd/system/worker.service printf '[Unit]\n...
true
06bb1fbce4b062a70f309432e206e73c52da4aea
Shell
fabric8-analytics/fabric8-analytics-common
/vscode-visual-tests/runtest.sh
UTF-8
333
2.640625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -ex function prepare_venv() { virtualenv -p python3 venv && source venv/bin/activate && python3 `which pip3` install -r requirements.txt } [ "$NOVENV" == "1" ] || prepare_venv || exit 1 export VS_CODE_VERSION=1.32 PYTHONDONTWRITEBYTECODE=1 python3 `which behave` --tags=-skip -D dump_errors=true @feature...
true
04ab67ba435e11d2f71752a5e941f1ddf6c3611e
Shell
Klebert-Engineering/deep-spell-9
/publish.sh
UTF-8
630
3.03125
3
[ "MIT" ]
permissive
#!/bin/bash function zipdir { rm $1.zip zip -r $1.zip $1 -x "*.DS_Store" } exportdir="$(head -n1 README.md)-demo" exportpath="../$exportdir" rm -rf $exportpath find . -name __pycache__ | xargs -n1 rm -rf mkdir $exportpath mkdir $exportpath/modules mkdir $exportpath/models cp -r modules/deepspell $exportpat...
true
b1a11eebf74b9b71d6d9e6f901997153c1fffb4c
Shell
shahed3184/Audio-Album-Shell-Script
/albumScripts/Balam-Prem_Shikari.sh
UTF-8
1,694
2.9375
3
[]
no_license
# ------------- SCRIPT ------------- # #!/bin/bash scriptDirectory="${0##*/}" # Remove .sh from file name #fileDirectory=${scriptDirectory:: - 3} #fileDirectory${scriptDirectory::${#scriptDirectory}-3} fileDirectory=${scriptDirectory%???} cd .. mkdir files cd files IFS='-' read -ra array <<< "$fileDirectory" for...
true
f44e247d5a4153c7af4c716733ab05beef15d96a
Shell
yosoyfunes/warp-engine
/.warp/setup/redis/redis.sh
UTF-8
5,898
3.546875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash +x warp_message "" warp_message_info "Configuring the Redis Service" PATH_CONFIG_REDIS='./.warp/docker/config/redis' MSJ_REDIS_VERSION_HUB=1 # True while : ; do respuesta_redis_cache=$( warp_question_ask_default "Do you want to add a service for Redis Cache? $(warp_message_info [Y/n]) " "Y" ) if...
true
08528a5f4c35b43368098c3810d3e2aa54a3acce
Shell
wework/ray
/packages/core/tools/build_chromatic.sh
UTF-8
203
2.640625
3
[ "Apache-2.0" ]
permissive
if [ "${CIRCLE_BRANCH}" != "master" ]; then npx chromatic test "${@}" else # We know any changes that make it to master *must* have been approved npx chromatic test --auto-accept-changes "${@}" fi
true
0651c170550efa0687a7bf159711d49b795548f5
Shell
kitzy/rtrouton_scripts
/rtrouton_scripts/enable_external_network_adapter/enable_external_network_adapter.sh
UTF-8
1,826
3.6875
4
[ "MIT" ]
permissive
#!/bin/sh # Checks to see if the Mac is either a MacBook Pro Retina or MacBook Air # If it's either of these machines, the script will then check for External Network Adapters # If either adapter is present, it will add the adapter to network services # Resolves an issue with USB & Thunderbolt Ethernet adapters with De...
true
dd96e7e69379ddb7270ed0683e566b0a6236dfb6
Shell
citusdata/packaging
/fetch_build_files
UTF-8
2,007
4.46875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # make bash behave set -euo pipefail IFS=$'\n\t' # constants stdout=1 stderr=2 success=0 failure=1 badusage=64 noinput=66 packagingurl='https://github.com/citusdata/packaging' download=$(mktemp) # outputs usage message on specified device before exiting with provided status usage() { cat << 'E_O_USA...
true
c537d535fcca3104555acd6fe834324c6ce0cf2d
Shell
hshimamoto/debootstrapper
/scripts/build-perl.sh
UTF-8
358
3.0625
3
[]
no_license
#!/bin/bash . scripts/default if [ ! -e $DL_DIR/$PERLTAR ]; then PushD $DL_DIR wget $PERLURL PopD fi if [ -e $WORK_DIR/$PERL/miniperl ]; then echo "Already exist" exit 0 fi PushD $WORK_DIR tar zxf $DL_DIR/$PERLTAR cd $PERL # make static miniperl ./Configure -de cat >> config.sh <<'EOF' ldflags=" -static $ldf...
true
8a53323331e388567af83ef52033eb9ecda6ea03
Shell
newleal/bashScripting
/ejemplo06.sh
UTF-8
846
4.25
4
[]
no_license
#!/bin/bash # Funcion de ayuda function ayuda(){ cat <<DESCRIPCION_AYUDA SYNOPSIS $0 NOMBRE_1 [NOMBRE_2]...[NOMBRE_N] DESCRIPCION Muestra "Hola NOMBRE_1, NOMBRE_2,...NOMBRE_N!" por pantalla. CODIGOS DE RETORONO 1 Si el numero de parametros es menos que 1 2 Si el usuario no esta conectado DESCRIPCION_AYUDA } # Si nume...
true
c5003db849715d484d24d85219987df282cac0a0
Shell
Najmshosan/runc
/tests/integration/update.bats
UTF-8
9,336
3.59375
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bats load helpers function teardown() { rm -f $BATS_TMPDIR/runc-cgroups-integration-test.json teardown_running_container test_update teardown_running_container test_update_rt teardown_busybox } function setup() { teardown setup_busybox set_cgroups_path "$BUSYBOX_BUNDLE" ...
true
bd819b24c6cee845119dd7f00230ff7a7742516a
Shell
bbhunter/Recon-3
/create_words.sh
UTF-8
1,982
3.328125
3
[]
no_license
#!/bin/bash # script that generate all wordlist useful for recon process and removes unnecessary data. domain=$1 name=$(echo $domain | cut -d "." -f1) SECONDS=0 rm -r wordlists mkdir -p wordlists echo -e "\e[32m[*] Fetching DNS bruteforce wordlists ... \e[0m" cd wordlists git clone -q https://gist.github.com/jhaddi...
true
0c7fc687903c0fbcb53bb3b6e2a7625b000ac420
Shell
Pingva74/mysql_sc
/mysql.split.sh
UTF-8
342
3.75
4
[]
no_license
#!/bin/bash #### # Split MySQL dump SQL file into one file per table #### if [ $# -ne 1 ] ; then echo "USAGE $0 DUMP_FILE" fi csplit -s -ftable $1 "/-- Table structure for table/" {*} mv table00 head for FILE in `ls -1 table*`; do NAME=`head -n1 $FILE | cut -d$'\x60' -f2` cat head $FILE > "$NAME.sql" ...
true
7096f9fe13301bfaa87a4064d396ae6237f290b1
Shell
teepark/puffin
/bench
UTF-8
302
2.875
3
[]
no_license
#!/usr/bin/env bash if [ "$1" = "-p" ]; then PROF=1 shift fi python bench_server.py $1 & SERVER=$(echo $!) sleep 1 if [ -n "$PROF" ]; then kill -TTIN $SERVER fi weighttp -n100000 -c100 127.0.0.1:8000/ if [ -n "$PROF" ]; then kill -TTOU $SERVER sleep 1 fi kill -HUP $SERVER wait $SERVER
true