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
cc43f16ba30fed04ec31a19f2e642a729c928ed7
Shell
Jackojc/dots
/scripts/utils/monitors/dimmer
UTF-8
126
2.6875
3
[]
no_license
#!/usr/bin/env sh file="$XDG_RUNTIME_DIR/dimmer" if [ -f "$file" ]; then sct rm "$file" else sct 4000 touch "$file" fi
true
86d05e322a5f20a77371dd3658d480bafb5deafc
Shell
cisco-security/Cisco-Validated-Designs
/safe-cloud-caas-azure/azure-infrastructure/gitlab-user-data.sh
UTF-8
1,313
2.921875
3
[]
no_license
#!/bin/sh # Documentation to install GitLab-CE can be found here - https://about.gitlab.com/install/?version=ce#ubuntu #Install Docker CE sudo apt-get -y update && sudo apt-get install -y apt-transport-https ca-certificates curl gnupg lsb-release sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg...
true
72f7d4f794d3fdfb1a82c21e5871b6d733dc509e
Shell
HETovi/disconf
/disconf-web/deploy/deploy.sh
UTF-8
2,556
3.78125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # # 一个简单的 WAR&&静态代码 部署脚本, 执行时必须在disconf-web目录下执行本脚本 # # # 执行前请确定环境变量里存在以下两个变量 # 1. $ONLINE_CONFIG_PATH : java web 线上配置目录 # 2. $WAR_ROOT_PATH : java web war 包 # # 脚本执行后,将生成从下文件: # $WAR_ROOT_PATH/ 项目根目录(请将Tomcat指向此目录) # $WAR_ROOT_PATH/disconf-web.war 生成的War包 # $WAR_ROOT_PATH/html HTML前端代码(请将...
true
fc4c4e07879a0f6637d5b5a8b5d7482130fef208
Shell
monalto/WPMT9.2
/script_wortnutzung.sh
UTF-8
261
3.03125
3
[]
no_license
#!/bin/bash # In diesem Script wird ein Wortnutzungsstatistik erstellt for word in "history" "historical" "praehistorische" "historische" do COUNT=$(grep -woi "$word" 2020-05-23-Article_list_dirty.tsv | wc -l| sed 's/^[[:space:]]*//') echo "$word:$COUNT" done
true
ec12f663064ac7e00cd1e4086fc9e167ce914e52
Shell
luis-16/baxter-interface-VP
/Codigos/configuracion_python.sh
UTF-8
676
2.515625
3
[]
no_license
#!/usr/bin/env bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" #echo "$DIR" #cd "$DIR" source /opt/ros/indigo/setup.bash source ~/ros_ws/devel/setup.sh #K=$(wmctrl -l | grep Gazebo) #echo $K + "hola" PID=$$ #echo $PID #for word in $K #do # echo $word #done #read -ra arr <<<"$K" #F=$(xdotool search --...
true
14384e4f8b27030d6140db8021d3e426d538cbe0
Shell
1902february04cloud/grep-JamesWatsonGitHub
/PalindromeScript
UTF-8
218
3.5625
4
[]
no_license
#!/bin/bash while read X; do message=$X length=${#message} backward="" for ((i=$length-1; i>=0; i--)); do backward=$backward${message:$i:1} done if [ "${message,,}" == "${backward,,}" ]; then echo $message fi done
true
0e3b9a6f3497fe3d9089fe2fc8691dc26c4e3d22
Shell
cha63506/core-3
/gstreamer0.10/PKGBUILD
UTF-8
1,386
2.625
3
[]
no_license
# maintainer almack@chakraos.org pkgname=gstreamer0.10 pkgver=0.10.36 pkgrel=11 pkgdesc="GStreamer Multimedia Framework" arch=('x86_64') license=('LGPL') url="http://gstreamer.freedesktop.org/" depends=('libxml2' 'glib2') makedepends=('intltool' 'pkgconfig' 'gobject-introspection' 'git') source=("git://anongit.freedes...
true
33753ff683d290d6c117d29c3a5b116b1ff7d2eb
Shell
manujakau/Packer_Vagrant
/bash_scripts/common/install_common_tools.sh
UTF-8
207
3.03125
3
[]
no_license
if [ -f /etc/redhat-release ]; then # Figure out this for redhat/CentOS sudo yum install -y vim man elif [[ $(lsb_release -i | awk '{print $3}') == "Ubuntu" ]]; then sudo apt-get install -y vim man fi
true
3ad39e62a820f40feccffdb368f55d6c4b96c88b
Shell
WizardFactory/cordova-plugin-todayweather-android-widget
/makeSources.sh
UTF-8
134
2.8125
3
[ "MIT" ]
permissive
#!/bin/sh while read foo do src=${foo#*/} dst=${src#*/} dst=${dst#*/} echo "<resource-file src=\"$src\" target=\"$dst\" />" done
true
545de0a38afe3e420bc306c443d500aa07e44799
Shell
gaeduron/init
/network/03
UTF-8
152
2.859375
3
[]
no_license
#!/bin/bash source colors.sh MAC_ADDRESS=$(ifconfig en0 | grep 'ether .*' | sed /.\*ether\ /s///) echo "Your MAC address: ${Green}$MAC_ADDRESS${NC}"
true
c7dff9b922a67b3d4ef3faa1fabc3462ab5ce525
Shell
BlackwaterTechnology/LearningCenter
/shell/deploy.ucp.sh
UTF-8
2,168
3.578125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e echo "此脚本只支持一次执行成功,如果失败请分析脚本内容处理" sleep 3 read -p "输入rocketchat包所在的主机(默认172.19.6.160):" remoteHost read -p "输入rocketchat包路径(默认/opt/)" remotePath read -p "输入rocketchat包文件(默认:sunchat.tar.gz)" remoteFile read -p "请输入项目名,即部署环境的包名,(列如:rocketchatv1.5):" package remoteHost="${remoteHost:-172.19.6.160}" rem...
true
273b63374ec1b9ce6721967c5c24c40b1b195a6a
Shell
roryashfordbentley/fission-docs
/tools/deploy.sh
UTF-8
3,605
3.703125
4
[]
no_license
#!/usr/bin/env bash localUrl="http://localhost/xxxxxxxx" remoteUrl="http://xxxxxxxx.com" remoteUrlRelative="public_html" remoteUrlPath="/home/xxxxxx/public_html" remoteMysqlDb="" remoteMysqlUser="" remoteMysqlPass="" remoteSshUsernameHost="" remoteSshPort="722" buildFolder="build" dbBackupName="db_backup.sql" #localUr...
true
5024416c70b5eb789a551dddccf9181473276437
Shell
yekai1003/go-example
/scripts/dockerfile.sh
UTF-8
863
4.03125
4
[ "MIT" ]
permissive
#!/bin/bash set -e #生成dockerfile gen(){ #程序名称 pname="$1_$2" #模板 filename=./deployments/bin/"$pname" #判断bin是否存在 if [ ! -d deployments/bin/"$pname" ];then mkdir deployments/bin/"$pname" fi cat>$filename/Dockerfile<<EOF FROM alpine:3.2 RUN set -xe && apk add --no-cache tzdata && cp -r -f /usr/share/zoneinfo/Asia/Shangh...
true
06d5ca4077107e18b65fe60213e13febab2db2cc
Shell
spiedeman/vim-config
/themes/install.sh
UTF-8
1,215
2.734375
3
[]
no_license
#!/bin/bash # echo "xiaomei1102" | sudo -S add-apt-repository ppa:snwh/pulp -y sudo add-apt-repository ppa:snwh/pulp sudo apt update sudo apt install paper-gtk-theme -y sudo apt install paper-icon-theme -y echo "<<< INSTALL arc-theme" if ! [ -d ~/tmp ]; then mkdir ~/tmp fi cd ~/tmp sudo apt install libgtk-3-dev...
true
cfdf9ec24209e6840ebc59dfe1336bf966b80127
Shell
ianjdarrow/license_script
/change.sh
UTF-8
612
3.296875
3
[ "MIT", "Apache-2.0" ]
permissive
#!/usr/bin/env bash REPO="$1" NOW=`date +%Y-%m-%d` BRANCH="LICENSE-CHANGE-$NOW" URL="git@github.com:filecoin-project/$REPO.git" echo "Cloning $URL" git clone "$URL" . git checkout -b "$BRANCH" ls | grep -i license | xargs rm -v CPY="$HOME/Code/license_script/COPYRIGHT" MIT="$HOME/Code/license_script/LICENSE-MIT" APA=...
true
e2e6a40edea9ee30d01e81a13ab89754c4436bdc
Shell
mo-ai/ai-dev-platform
/config/setup.sh
UTF-8
1,587
4.21875
4
[]
no_license
#!/usr/bin/env bash set -e os= function setupCentosRepos() { echo "Setup Centos Repositoris ..." sudo mkdir /etc/repos.d.bak sudo mv /etc/repos.d/* /etc/repos.d.bak sudo cp centos/etc/repos.d/nexus.repo /etc/repos.d } function setupDocker(){ echo "Setup Docker ..." sudo groupadd docker ...
true
7365187c2bb50499bee4cf6f5a1e44e8a140713b
Shell
rdnux59/microlinux
/desktop-kde-14.1-source/kde-workspace/kde-workspace.SlackBuild
UTF-8
7,263
3.421875
3
[]
no_license
#!/bin/sh # Slackware build script for kde-workspace # Written by Niki Kovacs <info@microlinux.fr> # # All rights reserved. # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # # 1. Redistributions of this script must retain the abov...
true
f4cfbe430e7bea602cbe011dee15fb1773681385
Shell
marstool/qwp201906
/docs/20190531_wqyxf3uampw.info_dir/20190531_wqYXF3UaMPw.info.json.sh2
UTF-8
2,410
2.78125
3
[]
no_license
#!/bin/bash rm -f \ 20190531_wqYXF3UaMPw.info.json.vo.* \ 20190531_wqYXF3UaMPw.info.json.ao.* \ 20190531_wqYXF3UaMPw.info.json.bo.* \ 20190531_wqYXF3UaMPw.info.json.wav rm -fr 20190531_wqYXF3UaMPw.info_dir mkdir -p 20190531_wqYXF3UaMPw.info_dir mv 20190531_wqYXF3UaMPw.info.j...
true
aa8e380fbaa592e000333553828565b8a9bc988d
Shell
lethosor/build-env
/msvc/dfhack-test
UTF-8
418
3.9375
4
[ "Unlicense" ]
permissive
#!/bin/bash -e usage() { echo 'Usage: dfhack-test [os] [bits] [command]' >&2 echo 'os: windows' >&2 echo 'bits: 32 or 64' >&2 echo 'command: DFHack command to use as the test runner; for example, test/main' >&2 echo '(run inside the DF folder)' >&2 } if [[ $# -ne 3 ]]; then usage exit 1 fi os=$1 bits=$2 scrip...
true
194bf5ee940e7e5b583a67661707599df3771382
Shell
pghalliday/gitify-svn
/end-to-end-test.sh
UTF-8
1,041
3.828125
4
[]
no_license
#!/bin/bash set -e DIR="$(dirname "$(readlink -f "$0")")" cd $DIR/end-to-end . git-repos.sh . svn-repos.sh # init Git repositories for repo in "${GIT_REPOS[@]}"; do echo y | sudo gitify-git-delete $repo sudo gitify-git-create $repo done # init SVN repositories for repo in "${SVN_REPOS[@]}"; do echo y | sudo ...
true
61a83c19ac2c8481684dd026650de9a07d944fac
Shell
Juici/dotfiles
/zsh/.zsh/prompt.zsh
UTF-8
11,185
3.359375
3
[]
no_license
# Setup {{{ # Substitute colours in prompt. setopt prompt_subst # Load colors module. autoload -Uz colors colors # http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#Version-Control-Information autoload -Uz vcs_info zstyle ':vcs_info:*' enable git svn zstyle ':vcs_info:*' check-for-changes true zstyle ':...
true
38e981dac233d50723f2c5f49c25f793a1cd52a8
Shell
MASILab/thorax_non_rigid_toolbox
/tools/functions_corrField_non_rigid_2_low_res.sh
UTF-8
8,735
2.71875
3
[]
no_license
run_process_one_scan () { local scan_name="$1" local scan_name_no_ext="${scan_name%.*}" local MOVING_IMG=${MOVING_FOLDER}/${scan_name} local REF_MASK_IMG=${REFERENCE_FOLDER}/valid_region_mask.nii.gz local scan_root_folder=${OUTPUT_ROOT_FOLDER}/${scan_name_no_ext} set -o xtrace mkdir -p ${scan_root_folde...
true
aadf8c2273894d38ad3c1449e702d438ecafa2d3
Shell
benderstwin/VPS-PLEX
/Traefik/install.sh
UTF-8
924
2.875
3
[ "Unlicense" ]
permissive
#!/bin/bash read -p "new username: " traefikuser useradd -m -s /bin/bash $traefikuser htpasswd -n $traefikuser password > /docker/apps/htpd su $traefikuser mkdir -p /docker/apps/traefik/ cd /docker/apps/traefik/ wget https://raw.githubusercontent.com/benderstwin/VPS-PLEX/master/Traefik/traefik.toml read -p "enter your ...
true
d69f12300e92c93b46edea1b40c8e08ecea6a1a6
Shell
serine/jira-cli-wrappers
/jira-log.sh
UTF-8
404
3.25
3
[]
no_license
#!/bin/bash jira_exec="jira" action="addWork" if [[ -z "$@" ]] then echo "" echo " MESSAGE: this is --action ${action}" echo "" echo " OPTIONS:" echo "" echo " --issue provide issue number, e.g bip-547" echo " --timeSpent specify the time e.g 3h 30m" echo " --comment comment str...
true
252fe2c93499a871085c0f599d3b50e3de7f8ad3
Shell
a18danperllu/P19
/2ASIX_M06_UF2_P19_Dani_Perez_show-attackers.sh
UTF-8
1,024
4.0625
4
[]
no_license
#!/bin/bash #PRactica_19 #https://github.com/a18danperllu/P19 usage() { echo "Usage: ./show-attackers.sh [log-file] file Display the number of failed logins attemps by IP address and location from a log file" 1>&2; exit 1; } #Global variables MAX='10' # Make sure a file was supplied as an argument. if [[...
true
ea9a3e663c9dbd6c48c084bddc72922f449cfff4
Shell
imankulov/wav2rtp
/src/wav2rtp-testcall.sh
UTF-8
4,081
3.34375
3
[ "FSFUL", "BSD-2-Clause" ]
permissive
#!/bin/bash # $Id$ # # Copyright (c) 2007, R.Imankulov # # 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, # this li...
true
7ccb39de5634f6a21be50cf37111ef60f9543e97
Shell
shreyasvalmiki/search-engine
/sorter.sh
UTF-8
385
3.46875
3
[]
no_license
#!/bin/bash declare -a arr ls dumps/buckets > temp/listfile readarray -t arr < temp/listfile #This does a simple sort on each bucket and saves it in the sorted file and deletes the original file. for i in "${arr[@]}" do if [[ -z "$i" ]] || [[ "$i" == " " ]]; then echo $i else echo $i sort -i -s -k1,1 dum...
true
f6e92f737bcd08f24d12de7da713692f2b3aa3ec
Shell
aluvalasuman/OpenSSL-1.0.1c_DirectoryStructureFriendly
/build_ptt.sh
UTF-8
4,312
3.390625
3
[]
no_license
#!/bin/bash # Setting the NDK_DEBUG=0 flag, while using ndk-build, forces the optimization level of -O2. #Start time of the build echo echo echo START=$(date +%s) echo "Start Date & Time: `date --date=@$START`" echo echo echo #Setting the build mode export MPTT_NATIVE_BUILD_MODE=$1 if [ $MPTT_NATIVE_BUILD_MODE ==...
true
6de4d8c58783aaa4c3c3bf529eca455ba639db84
Shell
lghcctvgmail/programming
/configfile/compile/hisiv200_compile_env.sh
UTF-8
195
2.5625
3
[]
no_license
#!/bin/sh HISIV200_ROOT=`pwd|xargs dirname` echo $HISIV200_ROOT #export hisiv200 compile env export PATH=$PATH:$HISIV200_ROOT/opt/hisi-linux/x86-arm/arm-hisiv200-linux/target/bin echo $PATH
true
e28a18a2eae003f305d09c3354956d912a0ed2dc
Shell
Tubbz-alt/CODK-Z
/utils/flash_jtag.sh
UTF-8
264
2.53125
3
[]
no_license
#!/bin/sh topdir=$((dirname $(readlink -f $0)) $topdir/bin/openocd -f scripts/interface/ftdi/flyswatter2.cfg -f scripts/board/firestarter.cfg -f scripts/codk-jtag.cfg if [ $? -ne 0 ]; then echo echo "***ERROR***" exit 1 else echo echo "!!!SUCCESS!!!" fi
true
3dd77d2b5f82680abb4703cc70222cbf28dc8874
Shell
jagregory/1password-env
/lib/signin.sh
UTF-8
1,598
3.609375
4
[ "MIT" ]
permissive
#!/usr/bin/env bash TOKEN_DIR="$HOME/.1password-env" function default_vault { echo -n "Vault" >&2 [ ! -z "$OP_DEFAULT_VAULT" ] && echo -n " ($OP_DEFAULT_VAULT)" >&2 echo -n ": " >&2 read -r __vault echo "${__vault:-$OP_DEFAULT_VAULT}" } function default_email { echo -n "Email" >&2 [ ! -z "$OP_DEFAULT_...
true
029f6e5c272d0b02478fd608421ff74cd2fd3f31
Shell
JakeFromTheDark/pre-commit-hooks
/hooks/cf-doc.sh
UTF-8
1,325
4.5
4
[]
no_license
#!/usr/bin/env bash output_dir= output_format=markdown verbose= retcode=0 die () { echo "${0##*/}: $*" >&2 exit 1 } while [ -n "$1" ]; do case "$1" in --outputdir=*) output_dir="${1#*=}" shift ;; --outputdir) shift output_dir="$1" shift ;; --format=*) ...
true
8209dde03a8bacd9026daea2ec23535d9a8fc70a
Shell
OXOTH1K/hassio-addon-transmission
/transmission/rootfs/etc/cont-init.d/20-transmission-configuration.sh
UTF-8
1,329
3.046875
3
[ "MIT" ]
permissive
#!/usr/bin/with-contenv bashio # ============================================================================== declare CONFIG declare authentication_required declare username declare password if ! bashio::fs.directory_exists '/data/transmission'; then mkdir '/data/transmission' fi if ! bashio::fs.file_exists '/da...
true
e6e8412fe3c5f639fa329bb01119a36de60016bb
Shell
Svtter/mysql-db-fork
/mysql-fork-delete.sh
UTF-8
1,018
3.53125
4
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
#!/usr/bin/env bash TARGET_DB=$1 PASSWORD=$1 echo "mysql-fork> deleting database and user $TARGET_DB" MYSQL=/usr/bin/mysql # Killing all process from user # http://dbadiaries.com/how-to-kill-all-mysql-processes-for-a-specific-user/ # ensure this file is deleted because mysql does not allow overwrite rm /tmp/kill_p...
true
01d94c29c4c5ffa60d3245da213540879cf091b3
Shell
faecie/async-sockets
/travis-install.sh
UTF-8
847
3
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e if [[ "${TRAVIS_PHP_VERSION}" = "5.4" || "${TRAVIS_PHP_VERSION}" = "5.5" ]]; then PHP_UNIT_VERSION=~4.7 else PHP_UNIT_VERSION=~5.2 fi if [[ "${TRAVIS_PHP_VERSION}" != "hhvm" && "${TRAVIS_PHP_VERSION}" != "7.0" && "${TRAVIS_PHP_VERSION}" != "7.1" && "${TRAVIS_PHP_VE...
true
ee9168f1ac140ee2470de51b3ac2384dd08938d9
Shell
EpochFail/word
/migrations/run-migrations
UTF-8
395
2.640625
3
[ "MIT" ]
permissive
#!/bin/bash export PGUSER="${PGUSER:-word}" export PGPASSWORD="${PGPASSWORD:-krampus}" export PGDB="${PGDB:-word}" export PGPORT="${PGPORT:-$( echo "${PG_PORT_5432_TCP_PORT:-5432}" )}" export PGHOST="${PGHOST:-$( echo "${PG_PORT_5432_TCP_ADDR:-127.0.0.1}" )}" export PGSSLMODE="${PGSSLMODE:-disable}" export PGTZ="${PGT...
true
d121dedc320ff3d8bf3c8d7fd404e4b187b9841d
Shell
AndDiSa/android_backup_project
/restore_apps.sh
UTF-8
2,427
3.640625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # License; Apache-2 # Originally from Raphael Moll # Tested/Fixed for Android O by marc_soft@merlins.org 2017/12 # improved / completly reworked to play nice with Android 9 / 10 by anddisa@gmail.com 2019/12 curr_dir="$(dirname "$0")" . "$curr_dir/functions.sh" set -e # fail early OLDIFS="$IFS" cat <<E...
true
d8d2b61e69b14e19a10787ab79052d3469fa089f
Shell
pixierepo/px-toolchain
/scripts/quick-conf.sh
UTF-8
245
2.625
3
[ "MIT" ]
permissive
#!/bin/bash #Config time setting and locales sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen sed -i 's/^# *\(en_US ISO-8859-1\)/\1/' /etc/locale.gen locale-gen echo 'LANG='$LANG >> /etc/locale.conf unset LANG source /etc/profile.d/locale.sh
true
47abc9f853a3f95ce63fe98fb1df94d9353af780
Shell
WDCommunity/wdpksrc
/wdpk/docker/init.sh
UTF-8
623
3.5625
4
[ "BSD-3-Clause" ]
permissive
#!/bin/sh [ -f /tmp/debug_apkg ] && echo "APKG_DEBUG: $0 $@" >> /tmp/debug_apkg APPDIR=$1 log=/tmp/debug_apkg echo "INIT linking files from path: $path" >> $log # setup binaries in PATH before the original v1.7 binaries ln -s $(readlink -f ${APPDIR})/docker/* /sbin # disable default docker by moving the original s...
true
3e8fce367b5e54abe19c47b0042144f7995dc441
Shell
Huihuiweng/3D_CUBIT_mesh
/Surface/create_surface_data.sh
UTF-8
3,360
3.359375
3
[]
no_license
### Load Parameters file ### source ../Parameters_for_curved_surfaces.sh ################################## ################################## ### Output Subxyz=surface_sigma_${Sur_sigma}_inc_${Sur_inc}.xyz if [ $Sur_GRD_data = "1" ] ; then if [ ! -f $Sur_input_data ] ; then echo "Miss the data for the...
true
63f2e913bb651f6338a691f110875d20245ae7e9
Shell
nreith/linux-scripts
/scripts/install_mssql17_drivers
UTF-8
1,750
3.453125
3
[]
no_license
#!/bin/bash # ms sql server odbc printf " Installing Microsoft SQL Server ODBC v17 and JDBC v7 Drivers in /opt/microsoft/ ############################################################################### " # Build Deps sudo apt-get update -qq sudo apt-get install -y curl wget apt-transport-https gnupg2 # MS SQL Serv...
true
538c36e4c71d08140040f354fabc3983e1806e18
Shell
chuchuva/cordova-plugin-purchase-documentation
/build.sh
UTF-8
901
3.09375
3
[]
no_license
#!/bin/bash for platform in android ios; do for type in consumable subscription non-consumable nr-subscription; do ( cat sections/$type-$platform-intro.md sections/generic-$platform-intro.md echo echo '## Setup' echo cat ./sections/setup-$platform-*.md cat ./sections/setup-$t...
true
74b897059c8d42792a28a32a67610ee85c3d2ffd
Shell
atgmavans/caa
/bin/bash/preprocess/preprocess_fastqc.sh
UTF-8
606
3
3
[]
no_license
#!/bin/bash/preprocess # filtering of raw reads if [[ $FASTQC == yes ]]; then fastqc_folder=$output_folder/FastQC_report mkdir $fastqc_folder echo -e " <mop_preprocess> \e[33m quality control of raw reads with fastqc \e[39m" fastqc $sequence_file -o $fastqc_folder -d $tempdir -t $TASK_CPUS if [[ $NANOFILT == yes ]...
true
2819b86b9b33e646e2aaff053ce490b94d899fa1
Shell
voting-app-example/vote
/build.sh
UTF-8
208
2.59375
3
[]
no_license
#!/bin/sh set -e TAG=$(echo $GITHUB_SHA | head -c7) REGISTRY_BASE_URL="registry.digitalocean.com/voting-app-example" docker build \ -t $REGISTRY_BASE_URL/vote:latest \ -t $REGISTRY_BASE_URL/vote:$TAG .
true
69304f60a8ce56c3ac8a2627cb7cf28fe9453f4b
Shell
easybiblabs/docker-chef
/research-containers/alpine-nginx-php7fpm/container_confs/entrypoint.sh
UTF-8
362
3.046875
3
[]
no_license
#!/bin/sh # ---------------------------------------------------------------------------- # entrypoint for container # ---------------------------------------------------------------------------- set -e if [ "$1" == "nginx" ]; then echo "starting services...." /usr/bin/supervisord -n -c /etc/supervisord.conf else ec...
true
227f0a1f32690fce53a01bec13718f34cb7bb072
Shell
SbWereWolf/fias
/docker/cmd/deploy/deploy-db.sh
UTF-8
1,653
2.796875
3
[]
no_license
#!/bin/bash echo 'START deploy FIAS' date --rfc-3339=seconds && echo 'Let create database fias' time psql -U postgres -wtc \ "SELECT 1 FROM pg_database WHERE datname = 'fias'" \ | grep -q 1 || psql -U postgres -c "CREATE DATABASE fias" date --rfc-3339=seconds && echo 'Let create schema fias' time psql -U post...
true
7ed708501903bb8fa42b2ccbfda2fd9435a24ed5
Shell
xanguera/mediaeval_zerocost
/s5/decode_mediaeval.sh
UTF-8
3,179
3.75
4
[]
no_license
#!/bin/bash # Xavier Anguera - ELSA Corp. 2016 # This script runs the decoding of a directory of wav files # USAGE: $0 input_directory output_directory # Change directory to the location of this script. cwd=$PWD cd $(dirname $0) #define some paths . path.sh || exit 1 . cmd.sh || exit 1 #default values inputDir= outp...
true
2edb298bb0bfe3a1081240878986bed51b2076ab
Shell
cClaude/cchlib
/buildAll.sh
UTF-8
3,455
3.5625
4
[]
no_license
#!/bin/bash # set +ex [ -d .logs ] || mkdir .logs mvn clean install | tee .logs/mvn-install.log MVN_EXIT="${PIPESTATUS[0]}" # MVN_EXIT="$?" - Not valid due to pipe cat .logs/mvn-install.log | grep "warning: no description for" | sort | uniq > .logs/mvn-install-warn-no-desc.log cat .logs/mvn-install.log | grep "warni...
true
a00627799410907a01be9655bd9dcaeec22bf32a
Shell
razorsedge/hadoop-deployment-bash
/navencrypt/navencrypt_prepare.sh
UTF-8
6,158
4.03125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # # 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 in writing, software # distribute...
true
0eb02fa88e2aa1c0a8c4c1b9b6122cc32a411133
Shell
jenkins-x/jx
/hack/linter.sh
UTF-8
451
3.359375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e -o pipefail if [ "$DISABLE_LINTER" == "true" ] then exit 0 fi DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" linterVersion="$(golangci-lint --version | awk '{print $4}')" expectedLinterVersion=1.50.1 if [ "${linterVersion}" != "${expectedLinterVersion}" ]; then echo "Install GolangC...
true
e96b4ea9bab279fdb162db081dd8976e28dbaa33
Shell
guy-mograbi-at-gigaspaces/cloudify-widget
/test/src/main/scripts/run-test.sh
UTF-8
314
2.671875
3
[ "Apache-2.0" ]
permissive
#!/bin/sh # install maven id=$1 cd /root/play-2.0.4/cloudify-widget play $* -Dconfig.file=conf/prod.conf run & url=http://localhost:9000 while ! wget --spider $url 2>&1 | grep --quiet "200 OK"; do sleep 1; echo waiting for site...; done; #start the tests cd /root/play-2.0.4/cloudify-widget/test mvn test -U -X
true
f88129d6beb8345af4140ff845c2d3e361c84a74
Shell
dlamber7/android_device_motorola_cliq2
/bootmenu/recovery/sbin/postrecoveryboot.sh
UTF-8
471
2.75
3
[ "Apache-2.0" ]
permissive
#!/sbin/sh sleep 5 for i in $(seq 1 10) do TMP=$(mount | grep /tmp) if [ -z "$TMP" ] then break fi umount -l /tmp sleep 1 done busybox mount -orw,remount / rm -r /tmp mkdir -p /tmp rm sdcard mkdir sdcard # Restart with root hacked adbd mount -orw,remount / busybox kill $(busybox ps ...
true
bc8aa23cda8e91f4512dba8c05e8a8d3081e56f1
Shell
postgrespro/testgres
/publish_package.sh
UTF-8
347
2.703125
3
[ "PostgreSQL" ]
permissive
#!/usr/bin/env bash set -eux # prepare environment venv_path=.venv rm -rf "$venv_path" virtualenv "$venv_path" export VIRTUAL_ENV_DISABLE_PROMPT=1 . "$venv_path"/bin/activate # install utilities pip3 install setuptools twine # create distribution of the package python3 setup.py sdist bdist_wheel # upload dist twin...
true
4176c65bfa236a964d8d30b3a1be355fe2c557ee
Shell
mobilemindtec/j2objc-unit
/share/j2objc-compile.sh
UTF-8
1,174
3.3125
3
[]
no_license
#!/usr/bin/env bash BUILD="./build/j2objc" rm -rf $BUILD mkdir -p $BUILD/{java,objc,bin} find "./src/main" -name '*.java' -type f -exec cp {} "$BUILD/java/" \; find "./src/main" -type f -name 'packages.properties' -exec cat {} + >> "$BUILD/java/packages.properties" ; CLASS_PATH="./src/main/java:" for f in $BUIL...
true
28a39c8c60a961fadc6c0545bde4a3542c3fca07
Shell
leinefran/system_engineering-devops
/0x04-loops_conditions_and_parsing/3-until_holberton_school
UTF-8
174
3.453125
3
[]
no_license
#!/usr/bin/env bash # a Bash script that displays Holberton School 10 times using a until loop. count=0 until [ $count -eq 10 ] do echo "Holberton School" ((count++)) done
true
c8fa78cd2e82d2573326cc5795afad1eaf845333
Shell
uk0/mongo-install
/systemctls/init/2-initRS.sh
UTF-8
1,380
2.9375
3
[]
no_license
#!/bin/bash ############ # init rsX # ############ ###########################获取集群节点数量############ source MONGO_PACKAGE_PATH/env/env.sh ##########################根据分片倍数创建MongoDB分片,并写入fstab## for((i=0;i<$TD_MDB_SHARD_GROUD_NUM;i++)) do for((j=1;j<=$TD_NODE_COUNT;j++)) do let increment_rs=$i*$TD...
true
f0cf88daaf903424033bc0bec5e077aea6099280
Shell
ryancj14/fpga-tool-perf
/utils/conda.sh
UTF-8
1,040
3.328125
3
[ "ISC" ]
permissive
#!/bin/bash # # Copyright (C) 2020 The SymbiFlow Authors. # # Use of this source code is governed by a ISC-style # license that can be found in the LICENSE file or at # https://opensource.org/licenses/ISC # # SPDX-License-Identifier: ISC export CONDA_DIR=$(pwd)/env/conda export PATH=$CONDA_DIR/bin:${PATH} ( if [[...
true
2422df78257ac2e2c469fa948b29bc0e2b9b670b
Shell
zarkone/bash-turing-machine
/turing.sh
UTF-8
5,070
3.578125
4
[]
no_license
#!/bin/bash #turing.sh V0.21 # This is an turing machine implemented in Bash. if [ -z "$1" ]; then echo "You should specify an input file!" 1>&2 exit 1 fi oldIFS=$IFS state=0 line=0 endless=1 bandwidth=79 pos=0 alpha[0]=" " alpha[1]="1" alpha[2]="0" alphasize=2 #Init Band IFS=$'\n' echo "# opening: $1" for l in ...
true
416fc7708988551e66f06b78564fcc73b4ea2e96
Shell
xjdr/bootstrap-dev
/bootstrap_vim.sh
UTF-8
780
2.75
3
[]
no_license
#!/bin/bash INSTALL_ROOT=$HOME/Vim mkdir $INSTALL_ROOT pushd $INSTALL_ROOT curl ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2 -O tar xvf vim-7.4.tar.bz2 pushd vim74 ./configure --with-features=huge \ --enable-multibyte \ --enable-rubyinterp \ --enable-pythoninterp \ ...
true
9a3997dca2c0c985363de143354684c278fcb965
Shell
nindate/openstack
/juno/aio/9-juno-aio-install-ceilometer.sh
UTF-8
9,372
2.890625
3
[]
no_license
#!/bin/bash -ex source config.cfg ## Configuring Ceilometer echo "########## Configuring Ceilometer ##########" # Install mongodb packages echo "########## Installing mongodb ##########" apt-get install -y mongodb-server mongodb-clients python-pymongo crudini --set /etc/mongodb.conf '' bind_ip $MANAGEMENT crudini -...
true
55f4acf2002d32492bcefb58def6efb513104912
Shell
caruccio/openshift-elasticsearch
/bin/install
UTF-8
113
3.0625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -eu case "$1" in -v|--version) version="$2" esac # Copy version specific files shopt -s dotglob
true
518f7fd2554925bd2dd41e922b2f662b94079dad
Shell
DamianZaremba/ClueServices
/rebuild_and_run.sh
UTF-8
524
3.09375
3
[]
no_license
#!/bin/bash CONFIG_FILE="config.xml" LIB_DIR="lib" BUILD_DIR="build" CS_RUN_CLASS="org.cluenet.clueservices.core.ClueServices" # Actual paths cd "$(dirname $0)" BASE_DIR="$(pwd)" CS_CONFIG_PATH="$BASE_DIR/$CONFIG_FILE" JAVA_CPATH=$CLASSPATH""$BASE_DIR"/"$BUILD_DIR"/:"$BASE_DIR"/"$LIB_DIR"/*" [ ! -z "$CLASSPATH" ] &&...
true
9d9858bfc79842fcc6146921a32e791b00750165
Shell
charoensri/pega-installer-ready
/scripts/docker-entrypoint.sh
UTF-8
8,095
3.5625
4
[]
no_license
#!/bin/bash set -e pega_root="/opt/pega" kit_root="${pega_root}/kit" scripts_root="${kit_root}/scripts" lib_root="${pega_root}/lib" config_root="${pega_root}/config" secret_root="${pega_root}/secrets" db_username_file="${secret_root}/DB_USERNAME" db_password_file="${secret_root}/DB_PASSWORD" setupDatabase_properties...
true
68fb605a8f9cd628a42246ddf6b794cf69764f06
Shell
WU-ARL/ndn-ops
/named-data/nfd_v0.3/NLSR_key_scripts/uci.sh
UTF-8
1,561
2.796875
3
[]
no_license
#!/bin/bash # point home to /var/lib/ndn/nlsr so keys will be stored there. sudo su - nlsr -c 'export HOME=/var/lib/ndn/nlsr/; ndnsec-key-gen -n /ndn/edu/uci > ~nlsr/unsigned_site.cert' # seems that now we have to set a default identity: sudo su - nlsr -c 'export HOME=/var/lib/ndn/nlsr/; ndnsec-key-gen -n /ndn/edu/uci...
true
b3307555a92d6670a27c2ba94f29fd5a0a0a3ad1
Shell
AbhikChowdhury6/overlay
/data_collection/UbuntuVidcap.sh
UTF-8
270
2.625
3
[]
no_license
#!/bin/bash t="$(date +"%d-%m-%Y-%H-%M-%S.%N")" productName=$2 sensorName=$1 port=$3 path="/media/chowderhat/18CE0051CE002998/" name=$path$productName-$sensorName-$t-.h264 echo $name ffmpeg -i /dev/video1 -r 30 -s 1920x1080 -c:v libx264 -preset ultrafast -crf 0 $name &
true
32ae228a7dd0beee675ff115d680ee6ec4e33db2
Shell
2infinite/ipmi-check
/ipmi-check-sdr.sh
UTF-8
958
3.390625
3
[]
no_license
#!/bin/bash # Add to cron: # IPMI check for sdr: #34 9,12,15 * * 1-5 /usr/local/sbin/ipmi-check-sdr.sh LOGDIR=/var/log/ipmi-sdr DOMAIN="DOMAIN.local" BLACKLIST4HOST=BLACKHOST\|OLDHOST-ilo\|BLACKHOST-ILO TEMPFILE="/tmp/hosts-ilo" PASS4IPMI="CHANGE" host -l ${DOMAIN} | grep -i "\-ilo" | egrep -iv ${BLACKLIST4HOST} |...
true
357e16b82b9aa1d36f4dc8c75ffb8337e6110174
Shell
MW-autocat-script/fr-MW-autocat-script
/catscripts/Lifestyle/Religion/Jainism/Jainism.sh
UTF-8
225
3.15625
3
[]
no_license
#!/bin/bash egrep -i 'Jain(|s|ism)\b' newpages.txt >> Jainism.txt JAINISM=`stat --print=%s Jainism.txt` if [ $JAINISM -ne 0 ]; then export CATFILE="Jainism.txt" export CATNAME="Jainism" $CATEGORIZE fi rm Jainism.txt
true
d3aa817088d857362fc5b4cf31cda3f5cdc99b0c
Shell
amwhalen/rpi-scripts
/cron/network_check.sh
UTF-8
1,632
4.46875
4
[]
no_license
#!/bin/bash # checks network connectivity and reboots if there are problems # credit here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=30&t=20149 # place in cron to check every two minutes: # */2 * * * * root /path/to/network_check.sh wlan0 192.168.0.1 /opt/check_lan/stuck.fflg >/dev/null if [ $# -lt 3 ]...
true
b42eec2a75e57390aa5ccc91e3dcaf2cf74d44bd
Shell
DamienRobert/dotfiles
/user/config/dotfiles/.zsh/extra-zle.zsh
UTF-8
2,805
2.8125
3
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
#vim: fdm=marker ### les fonctions de Luc sont grassouilles {{{ function zle_insert-pair () { LBUFFER="$LBUFFER$1" RBUFFER="$2$RBUFFER" } function zle_insert-braces () { zle_insert-pair '{' '}' } zle -N zle_insert-braces function zle_insert-double-quotes () { zle_insert-pair '"' '"' } zle -N zle_ins...
true
4f102c98cd60fcc6acc0d8476de2696f5ddecf20
Shell
thirtythreeforty/dotfiles
/bin/remove-vim-plugin
UTF-8
381
3.234375
3
[]
no_license
#!/bin/bash # Get real path SCRIPTPATH="$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )" DOTFILESDIR="$(dirname "$SCRIPTPATH")" REPONAME="$(basename "${@}")" REPONAME=${REPONAME%%.git} pushd "${DOTFILESDIR}" > /dev/null git submodule deinit -f "./vim/bundle/$REPONAME" git rm -f "./vim/bundle/$REPONAME" ...
true
ffb44cd1c4b0a7e9e4ce902dc83d4716daf7e61b
Shell
chahk0129/CS744-Big-Data-Systems
/assignment2/part2/taskB/run.sh
UTF-8
5,375
3.5
4
[]
no_license
#!/bin/bash ## get ip address of namenode ip_addr=$(hostname -I) ip=(${ip_addr//" "/ }) master_ip=10.10.1.1 num_nodes="1 2 3 4" ## directory info for all nodes node0=cs744/assignment2/part2/taskB node1=cs744/assignment2/part2/taskB node2=cs744/assignment2/part2/taskB node3=cs744/assignment2/part2/taskB ## expor pat...
true
181f48a311745601636e60a214d988556bfab431
Shell
hhwang39/EmorySleepProject
/RaspberryPiCodes/Test1/mount_mbient.sh
UTF-8
2,500
3.296875
3
[]
no_license
#!/bin/bash GPIODIR=/sys/class/gpio function initLED(){ if [ ! -f "$GPIODIR/gpio24" ];then echo 24 > $GPIODIR/export echo out > $GPIODIR/gpio24/direction echo 22 > $GPIODIR/export echo out > $GPIODIR/gpio22/direction echo 23 > $GPIODIR/export echo out > $GPIODIR/gpio23/direction fi } function offLED(){ e...
true
9effae6825f9048bc04cc6e291ff6ff6905822da
Shell
dfenglei/redis_dump_restore_modify
/redis_dump_restore_modify.sh
UTF-8
837
2.921875
3
[ "MIT" ]
permissive
#!/bin/bash src_ip=1.2.3.62 src_port=7963 dest_ip=1.4.3.6 dest_port=7963 key_prefix=1:b4cfea8406e4456d: i=1 redis-cli -h $src_ip -p $src_port -a Redis~123 -n 1 keys "${key_prefix}*" | while read key do redis-cli -h $dest_ip -p $dest_port -a Redis~123 -n 1 del ${key/b4cfea8406e4456d/93775b9324a34c08} ...
true
56a5d8e0f9cd7201ca01897a37607b7cb29eaa04
Shell
jrabenoit/oneoffs
/axial_diffusivity_creator.sh
UTF-8
145
2.875
3
[]
no_license
#!/bin/bash for D in */; do (cd $D && L2=*_L2.nii.gz L3=*_L3.nii.gz RD=$(basename $D)"_RD" fsl5.0-fslmaths $L2 -add $L3 -div 2 $RD); done
true
723d21323dffd65db1eea7e0acb60ac8228bdf7c
Shell
mtangh/dot-bashrc
/files/etc/bash.bashrc.d/04inputrc.sh
UTF-8
475
3.046875
3
[ "BSD-3-Clause" ]
permissive
# ${bashrc_dir}/04inputrc.sh # $Id$ inputrc_file="" # Lookup inputrc file in for inputrc_file in $( { __pf_rc_loader -r \ {"${XDG_CONFIG_HOME:-${HOME}/.config}"/,"${HOME}"/.}inputrc \ {"${bash_local}","${bashrc_dir}"}/inputrc } 2>/dev/null || :; ) do [ -f "${inputrc_file}" -a -r "${inputrc_file}" ] && { INPUTRC...
true
ce3455c6a7fe9ff59f1448d705e2b6251a09af29
Shell
robcore/Actiontec_T3200M
/userspace/public/apps/wanconf/scripts/wanconf.sh
UTF-8
223
2.890625
3
[]
no_license
#!/bin/sh case "$1" in start) echo "Starting wanconf..." /bin/wanconf exit 0 ;; stop) echo "Stopping wancof..." exit 0 ;; *) echo "Starting wanconf with no args..." /bin/wanconf exit 1 ;; esac
true
a8e4822027980f6123afb864e6fafd6570629230
Shell
dexterchan/TreeQuery
/Scripts/runTreeQueryNode.sh
UTF-8
529
2.671875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash DOCKERIMAGE=$1 WORKDIR=$2 docker run -it --rm -v $WORKDIR:/opt/config \ -e CLUSTERCFG=treequeryCluster.templ.yaml \ -e DBCFG=DatabaseConnection.templ.yaml \ -e NODE_HOSTNAME=$NODE_HOSTNAME \ -e NODE_PORT=$NODE_PORT \ -e CLUSTERNAME=$CLUSTERNAME \ -e SERVICE_DISCOVERY_HOSTNAME=$SERVICE_DISCOVERY_HOSTNAME ...
true
38025b6dfbd987208b524732e47dc3c4b66b7c98
Shell
mingster/dotfiles
/install/pydata.sh
UTF-8
3,796
3.546875
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # ~/pydata.sh # Removed user's cached credentials # This script might be run with .dots, which uses elevated privileges sudo -K brew uninstall --force --ignore-dependencies python python2 python2.7 python3 python3.6 > /dev/null 2>&1 brew install python@2 python@3 > /dev/null 2>&1 echo; for x in p...
true
f7cf2ceedd6a2ddb9603c80021adbaaaeac20db5
Shell
evilboss/cordova-actionscan
/run-device.sh
UTF-8
206
2.734375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash if [ "$(type -t cordova)" ]; then echo "Starting the operation" cordova run android else echo "Cordova not installed in this machine please run setup.sh" fi
true
2a7df55972df7679a62e2074c8f3bbea2179f13c
Shell
oracleyue/dotfiles
/ArchLinux/bin/tracker_update.sh
UTF-8
1,902
3.96875
4
[]
no_license
#!/bin/bash # env variables DAEMON=/usr/bin/aria2c PID_NAME=aria2c PID=$(ps ux | awk '/aria2c/ && !/awk/ {print $2}') CONFIG_PATH=${HOME}/.config/aria2/aria2.conf # check https://github.com/ngosang/trackerslist TRACKERLIST_NAME='trackers_best.txt' TRACKER_URL='https://raw.githubusercontent.com/ngosang/trackerslist/mas...
true
120c0c5fe9e8462ee9a79bb3288fd873907c5c88
Shell
leosilvadev/chat-js
/run.sh
UTF-8
431
3.1875
3
[]
no_license
#!/bin/bash if [ ! -d "redis" ]; then echo "Redis not found, downloading..." wget http://download.redis.io/releases/redis-3.2.6.tar.gz echo "Redis downloaded successfully!" tar xzf redis-3.2.6.tar.gz rm redis-3.2.6.tar.gz mv redis-3.2.6 redis cd redis echo "Installing Redis..." make &> /dev/null ec...
true
339c6cd4ed38df724e658bc4f9eff3f8e700b779
Shell
mikebd/dotfiles
/include/bashrc.d/svn.sh
UTF-8
314
3.140625
3
[]
no_license
function svndiff { if [[ "$1" == "--whitespace" ]]; then shift else local -r ignoreWhitespace="-x -b" fi if which colordiff > /dev/null 2>&1; then svn diff $ignoreWhitespace --diff-cmd colordiff "$@" | less else svn diff $ignoreWhitespace "$@" | less fi }
true
dd364efa747f61519f2841386e0295cfba224675
Shell
Shmorcho/shell_script_SAP
/SAPtask5/task5.sh
UTF-8
755
3.328125
3
[]
no_license
#!/bin/bash la[1]=hope ra[1]=hope do_alter(){ if [[ "$1" -le "$2" ]] then cat template_tmp | sed "s/@${la[$1]}@/${ra[$1]}/g" > template_t cp template_t template_tmp rm template_t do_alter $(($1+1)) $2 fi } cp $1 variables_tmp cp $2 template_tmp cat variables_tmp | sed "s/=.*//g" > variable...
true
86b396bbfac7343b32dc02ed400c07ffd5eb0b9e
Shell
fernand/site
/files/2010.sh
UTF-8
430
3.109375
3
[]
no_license
root=http://ngm.nationalgeographic.com root2=http://www.nationalgeographic.com loc=/ngm/photo-contest/2010/entries/wallpaper/ for week in {1..11} do i=1 curl $root$loc"week-"$week"/" | awk 'BEGIN {FS="\""} {if ($2=="wallpaper_link") print $4}' | while read line do curl "${root2}${line}" | awk 'BEGIN {FS=...
true
8eaf25ed257bed36c9998293d08be44a04bc682a
Shell
pesimon/microk8s
/microk8s-resources/actions/disable.storage.sh
UTF-8
469
3.1875
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -e echo "Disabling default storage" cat "${SNAP}/actions/storage.yaml" | \ "$SNAP/bin/sed" 's@\$SNAP_COMMON@'"$SNAP_COMMON"'@g' | \ "$SNAP/kubectl" "--kubeconfig=$SNAP/client.config" delete -f - sleep 5 echo "Storage removed" read -p "Remove PVC storage at $SNAP_COMMON/default-storage ? (Y/N):...
true
af3b59b8ae5d3ec52fe717ee8d0bda90384bdaa2
Shell
desertSniper87/dotfiles
/shell_scripts/bin/rename_extensions.sh
UTF-8
1,026
4.03125
4
[]
no_license
#!/bin/bash read -rp 'Old Extension: ' OLD_EXT read -rp 'New Extension: ' NEW_EXT if [ -z "$NEW_EXT" ] && [ -z "$OLD_EXT" ]; then echo "Nothing to do" exit 1 fi if [ -z "$NEW_EXT" ];then echo "Converting all files having *.$OLD_EXT in $(pwd) to *" else echo "Converting all files having *.$OLD_EXT in ...
true
294e9281150bc5139d4ea4a6713d9e4186bd4f58
Shell
schmel/steamlink
/emustation.sh
UTF-8
964
3.25
3
[]
no_license
#!/bin/sh # Set up the home directory and paths export APP=/home/apps/emustation export PATH=$APP:$PATH export LD_LIBRARY_PATH=$APP:$LD_LIBRARY_PATH export DBUS_SESSION_BUS_ADDRESS=$(cat /tmp/DBUS_SESSION_BUS_ADDRESS) export SDL_GAMECONTROLLERCONFIG_FILE=/etc/controller_map.txt # Check to see if we're alread...
true
ac456638051237caec11ff6946a65f4ddd804f1c
Shell
deanproctor/sdc-autoscaling
/autoscale/lambda/autoscale
UTF-8
3,708
3.859375
4
[]
no_license
#!/bin/bash set -e if [ -f "$SDC_CONF/autoscale.conf" ]; then . $SDC_CONF/autoscale.conf else echo "Autoscaling settings file missing $SDC_CONF/autoscale.conf" exit 0 fi if [[ "$AUTOSCALING_ENABLED" != "yes" ]]; then echo "Autoscaling configuration disabled" exit 0 fi if [ -z "$API_KE...
true
1d029e0d28cdd1c3c97ba5976bb86532d6142b14
Shell
coldis-org/infrastructure-software-repository
/src/main/infrastructure/service/script/nexus_configure.sh
UTF-8
2,597
4.1875
4
[]
no_license
#!/bin/sh # Default script behavior. set -o errexit #set -o pipefail # Default parameters. DEBUG=false DEBUG_OPT= FORCE_CONFIGURATION=false START_POOLING_INTERVAL=15 START_POOLING_RETRIES=20 NEXUS_SCRIPT=/opt/nexus-script # For each argument. while :; do case ${1} in # If debuf is enabled. --debug) DEBUG=...
true
72fd0e88f6d721e7249812dbb86150cb5be93816
Shell
josefpaij/dotfiles
/.zshrc
UTF-8
851
3.0625
3
[]
no_license
## ## Executes commands at the start of an interactive session. ## # Source Prezto. if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" fi unalias run-help autoload run-help HELPDIR=/usr/local/share/zsh/help autoload -Uz promptinit promptinit prompt josefpaij # lo...
true
13411000f20f3c830f01233df9a9f7346a584429
Shell
will-v-king/shellScriptFiles
/separateJSFromHTMFile
UTF-8
6,266
3.75
4
[ "MIT" ]
permissive
#! /bin/bash - #从.htm文件中提取javascript代码(只有一段内嵌代码时),并保存到.js/目录下同名.js文件中,然后重命名.htm为.html文件,并清除内嵌javascript代码,增加js文件引用。 LC_ALL=C path="." jsFolderName="js" sourceHTMLFileType=".htm" destinationHTMLFileType=".htm" jsBlockStartMarkStr='<script type="text/javascript">' jsBlockStartMarkGrepReg='<script type=\"text\/javascript\...
true
a2a27b525949f8f423edba866d7b14c4b7c5c413
Shell
fizyr/ros-pkgbuilds
/base/octomap/PKGBUILD
UTF-8
1,146
2.53125
3
[]
no_license
# Maintainer: Maaarten de Vries <maarten@de-vri.es> pkgname='octomap' pkgver='1.9.0' pkgrel=2 pkgdesc='An Efficient Probabilistic 3D Mapping Framework Based on Octrees' url='http://octomap.github.io/' arch=('x86_64' 'i686') license=('GPL' 'BSD') depends=(qt4 glu) makedepends=(cmake) options=(staticlibs) source=("$pkg...
true
4e0472ab62d7b6e2a4e1ade8a9435d1b465407d8
Shell
jscancella/chronamDeployment
/scripts/apache-watchdog
UTF-8
617
3.359375
3
[]
no_license
#!/bin/sh set -eu if ! /opt/chronam/ENV/bin/python --version >/dev/null 2>/dev/null; then echo "Python install is broken!" exit 2 fi if ! systemctl is-enabled --quiet apache2.service; then exit 0 fi if ! curl --output /dev/null --silent --show-error --max-time 10 --retry 6 --retry-delay 10 --retry-connr...
true
8a4f7bf650298b69a3749411687bfd0433674a42
Shell
oveits/kubernetes-install-kibana-via-helm
/0_source_config.sh
UTF-8
498
3.28125
3
[]
no_license
[ "$NAMESPACE" == "" ] && export NAMESPACE=elasticsearch [ "$RELEASE" == "" ] && export RELEASE=kibana-v1 [ "$ELASTIC_DETECTED" == "" ] \ && export ELASTIC_DETECTED=$(kubectl -n $NAMESPACE get svc | grep 'elastic.*client' | head -n 1 | awk '{print $1}') [ "$ELASTICSEARCH_URL" == "" ] && [ "$ELASTIC_DETECTED" != "" ] ...
true
b6a3119ac8d9b29261848c17ede07a977f251834
Shell
zhangxu2/mygit
/v3.3/sbin/agent_sql.sh
UTF-8
658
3.46875
3
[]
no_license
#!/bin/sh if [ $# -lt 5 ] then echo "error input" fi sql=$1 dbtype=$2 filepath=$3 sid=$4 user=$5 passwd=$6 dbname=$7 mkdir -p $SWWORK/tmp/agent if [ "$filepath" = "NULL" ] then filepath="" fi func_orc() { sqlplus -S $user/$passwd@$sid <<! set heading off linesize 9999 colsep'|' feedback off pagesize 0 verify off e...
true
937a1504debbda01d1006f4099218aaa66291c05
Shell
Tibiazak/umsl-cs
/cs2750/test/args.sh
UTF-8
199
3.671875
4
[]
no_license
if [[ $# > 2 || $# < 1 ]] then echo usage: "$0 [from-file] to-file" exit 1; elif [[ $# == 2 ]] then from = "$1" to = "$2" echo $from and $to else to = "$1" echo $to fi
true
1dc6042c9f498dcc36115932b11f0c8993a91882
Shell
fonsecapeter/miso-buddy
/bin/tag
UTF-8
242
2.6875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash make readonly version=`bin/miso --version` echo "$(tput bold)Tagging $(tput setaf 1)v${version}$(tput sgr0 && tput bold)...$(tput sgr0)" git tag -a "v${version}" -m "Version ${version}" $@ && git push origin "v${version}"
true
7c475e8b2d2e72648de6644e3430afe5d1006e67
Shell
fbielejec/setup-desktop
/chrome/install-google-chrome.sh
UTF-8
637
2.765625
3
[]
no_license
#!/bin/bash rm /tmp/google-chrome-stable_current_amd64.deb echo "################################################################" echo "downloading google chrome latest stable edition" wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -O /tmp/google-chrome-stable_current_amd64.deb sudo ...
true
b301097db308058337ff0caa2811558a6450df41
Shell
HyuncheolOh/twitter_crawler
/tweet_factchecking_crawler.sh
UTF-8
253
2.59375
3
[]
no_license
#!/bin/sh while true; do echo "Run tweet crawler" sleep 1 python tweet_factchecking_script.py python tweet_script.py timestamp=`date +%Y%m%d%H%M` echo "$timestamp" echo "done" ./follower_run.sh #repeat update per day sleep 86400 done
true
e5253d63a707e3e5b49d4a143db290e6fbff83c0
Shell
MaksTinyWorkshop/domoticz_scripts
/sh/synology.sh
UTF-8
7,136
3
3
[]
no_license
#!/bin/bash #https://www.domoticz.com/wiki/NAS_Monitoring#Synology # Settings NASIP="192.168.100.250" # NAS IP Address PASSWORD="monpassword" # SNMP Password DOMO_IP="127.0.0.1" # Domoticz IP Address DOMO_PORT="8080" # Domoticz Port NAS_IDX="799" # NAS...
true