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
f5da70f30dcf0750a6ea9236c660a8ce17e54326
Shell
mdeora/distribution
/src/build/druid
UTF-8
2,063
3.578125
4
[]
no_license
#!/bin/bash -eu # Clone upstream project UPSTREAM_NAME="druid" UPSTREAM_REPO="https://github.com/druid-io/$UPSTREAM_NAME.git" UPSTREAM_COMMITISH="druid-0.9.1.1" UPSTREAM_DIR="$TMP_DIR/$UPSTREAM_NAME.git" # We're including derbytools too DERBYTOOLS_VERSION="10.11.1.1" git clone -b "$UPSTREAM_COMMITISH" --single-branc...
true
c678d1174462c202fda2e6394d21e79968736f93
Shell
zulvani/alkindie
/dubbo/zookeeper/run.sh
UTF-8
614
2.921875
3
[]
no_license
DOCKER_NETWORK=zulv_dev_network DOCKER_NAME=myzoo create_docker_network(){ var=$(docker network create --driver bridge ${DOCKER_NETWORK}) if [[ ${var} =~ .*Error.* ]]; then printf "${CYAN}Network ${DOCKER_NETWORK} already created\n" return 0 else p...
true
46859df8bce9ef41fd8c9eab479f04682f804868
Shell
mscastanho/chaining-box
/deploy/vagrant/install-deps.sh
UTF-8
472
3.109375
3
[]
no_license
#!/usr/bin/env bash if [ $EUID -ne 0 ]; then echo "Please run as sudo." exit 1 fi # Install some stuff sudo apt install iperf3 jq -y ## Install newest iproute2 version iprdir="/home/vagrant/iproute2" # TODO: Find out why the official repo is failing to clone git clone https://github.com/shemminger/iproute2 ...
true
cd3b80ae7f90379bd9fedc9a526b44eb5bc95eb9
Shell
dimakuzminov/incredibuild_deployment
/3rd_side/prepare_distcc.sh
UTF-8
3,006
4.03125
4
[]
no_license
#!/bin/bash PROJECT_DIR=$(pwd) FILENAME=$1 HOSTNAMELOCALDNS="" function check_conditions() { if [ -z "$FILENAME" ]; then echo "Error, missing parameter"; echo "please run $script_name [ grid_server_domain.conf ]"; exit fi } function clean_environment() { rm -fr distcc_prepare.s...
true
d3b5e967b2facaea8937f27fe257a9d528f46d87
Shell
pilugin/meta-my-rpi
/meta-my-rpi/wic/flash-bootroot-only.sh
UTF-8
206
2.90625
3
[ "MIT" ]
permissive
#!/bin/bash set -ue FILE=${1} OUTPUT=${2:-/dev/sda} NUM_SECTORS=${3:-2211840} SECTOR_SIZE=${4:-512} bzcat ${FILE} | dd bs=${SECTOR_SIZE} count=${NUM_SECTORS} | sudo dd of=${OUTPUT} bs=10M conv=fsync
true
6c67f624da10de7df28f4b07612bdd8125498d93
Shell
bossjones/fake-medium-fastapi
/contrib/.deps_pyenv_bionic
UTF-8
1,192
2.78125
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -e export DEBIAN_FRONTEND=noninteractive #!/bin/bash if [[ "${EUID}" == "0" ]]; then echo "This script must NOT be run as root" exit 1 fi sudo apt-get update && \ sudo apt-get install -y locales ca-certificates && \ sudo apt-get clean && \ sudo localedef -i en_US -c -f UTF-...
true
19f634a09066880a60a91d2687d897625f53337e
Shell
gogithubalex/dmcDeploy
/aws/deployMe_active.sh
UTF-8
2,199
3.359375
3
[]
no_license
#!/bin/bash -v #anything printed on stdout and stderr to be sent to the syslog1, as well as being echoed back to the original shell’s stderr. exec 1> >(logger -s -t $(basename $0)) 2>&1 # yum update -y # yum install -y java-1.8.0-openjdk.x86_64 # yum erase -y java-1.7.0-openjdk # yum install -y git # yum install -y t...
true
860a125e90f30bbbd35d08db1d80946a82cc24de
Shell
waqasalam/xorp.ct
/other/LiveCD/tools/tools/nanobsd/Files/usr/local/etc/rc.d/xorp
UTF-8
3,061
3.046875
3
[]
no_license
#!/bin/sh # # $FreeBSD: ports/net/xorp/files/xorp.in,v 1.3 2008/01/03 12:25:40 bms Exp $ # # A sample XORP startup script. # # PROVIDE: xorp # REQUIRE: netif routing mountcritlocal # BEFORE: NETWORKING # Add the following lines to /etc/rc.conf to enable xorp: # #xorp_enable="YES" #xorp_config_boot="/usr/local/etc/xo...
true
c751894cd22d3cf3dbec9816843f1f521fc92fb1
Shell
FreeMobileOS/app_build_scripts
/forecastie.sh
UTF-8
868
2.671875
3
[]
no_license
#!/bin/sh [ -z "$VERSION" ] && VERSION=v1.22.1 SOURCE=git@github.com:martykan/forecastie.git MYDIR="$(dirname $(realpath $0))" . ${MYDIR}/envsetup.sh checkout if [ -e "${CERTS}/services/openweathermap" ]; then . ${CERTS}/services/openweathermap # We prefer using our own API key because there's a limited number # of...
true
af984828ba9c9b1b87b19a91c98b667b5c2a620b
Shell
StackedCrooked/stacked-crooked
/BuildingGCC/download-and-build.sh
UTF-8
893
3.9375
4
[]
no_license
#!/bin/bash set -e set -x VERSION=9.3.0 NAME=gcc-${VERSION} # Check if directory for the unpacked tarball is found [ ! -d $NAME ] && { # We did not find the unpacked tarball diretory => check if the tarball (tar.xz) file is found! [ ! -f $NAME.tar.xz ] && { # The tar.xz file is not found => download...
true
c9ebf0902ffe5b3f833da08eb4e53b6701ea82cf
Shell
mauchede/seedbox
/src/rootfs/usr/sbin/adduser-seedbox
UTF-8
477
3.78125
4
[ "MIT" ]
permissive
#!/bin/sh set -e # Check environment fail() { echo "$1" >&2 echo "Usage: $(basename "$0") [USER] [PASSWORD]" >&2 exit 1 } if [ -z "$1" ] ; then fail "Argument \"USER\" is missing." fi if [ -z "$2" ] ; then fail "Argument \"PASSWORD\" is missing." fi # Add user useradd --gid "$(id --group "${SE...
true
92f29867b9c604c9d415d8554001cd559e18fd73
Shell
ameetkonnur/azure-code
/cli-samples/vmsinparallel.sh
UTF-8
1,672
3.8125
4
[]
no_license
#!/bin/bash # set parameters group_name="<resource group>" vm_prefix="<vm prefix>" dc_location="<dc name>" image_name="Canonical:UbuntuServer:16.04-LTS:latest" vm_size="Standard_A2" vnet_name="<vnet name>" subnet_name="<subnet name>" vm_username="<username>" vm_passsword="<password>" # optional random 12 c...
true
4e8b0d64323a59fa5336af352cc9465087b2815b
Shell
dennisss/tansa
/scripts/start_many_instances.sh
UTF-8
535
3.46875
3
[ "MIT" ]
permissive
#!/bin/bash # Based on PX4/Tools/sitl_multiple_run.sh with modifications for starting with simulator etc. # Number of vehicles to spawn num=$1 rc_script=$2 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo "Killing running instances" pkill px4 sleep 1 n=0 while [ $n -lt $num ]; do $SCRIPT_DIR/st...
true
e5f1e982cdf6fc9edc5cb08e9d6d875e4488be49
Shell
oleglpts/reporter
/db_report/scripts/i18n_create
UTF-8
518
2.609375
3
[ "MIT" ]
permissive
#!/bin/bash # example: ./i18n_create simple_daemon ru CURRENT_DIR=`pwd` # cd ../venv source ~/.$1/venv/bin/activate #cd .. mkdir ../data/locale cd ../data/locale mkdir $2 cd $2 mkdir LC_MESSAGES cd $CURRENT_DIR/.. pygettext -a -v -d $1 -p data/locale/$2/LC_MESSAGES/ *.py utils/*.py config/*.py formats/*.py cat data/...
true
825b11fa0ad94e3757a3ddc65ccea691e8dd87a0
Shell
marstool/qwp201708
/scripts.Hugo/content/20170822_ReS3dWhyIag.info_dir/20170822_ReS3dWhyIag.info.json.sh2
UTF-8
2,067
2.6875
3
[]
no_license
#!/bin/bash rm -f \ 20170822_ReS3dWhyIag.info.json.vo.* \ 20170822_ReS3dWhyIag.info.json.ao.* \ 20170822_ReS3dWhyIag.info.json.bo.* \ 20170822_ReS3dWhyIag.info.json.wav rm -fr 20170822_ReS3dWhyIag.info_dir mkdir -p 20170822_ReS3dWhyIag.info_dir mv 20170822_ReS3dWhyIag.info.j...
true
d4b337d444665c4895b4654e4010b76d3747eae4
Shell
seqcode/miniMDS
/scripts/get_gm12878_inter.sh
UTF-8
1,138
3.3125
3
[ "MIT" ]
permissive
set -e RES=$1 mkdir -p hic_data cd hic_data if [ ! -e GSE63525_GM12878_combined_interchromosomal_contact_matrices.tar.gz ] then curl ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE63nnn/GSE63525/suppl/GSE63525_GM12878_combined_interchromosomal_contact_matrices.tar.gz -o GSE65325_GM12878_combined_interchromosomal_conta...
true
f69ca71281bd8ba65b195cefcac66f469c5fd2dd
Shell
rharrison10/origin-server
/cartridges/openshift-origin-cartridge-postgresql/bin/control
UTF-8
3,516
4.09375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash -ue source $OPENSHIFT_CARTRIDGE_SDK_BASH function _pg_stop { pg_ctl stop -w -t 30 "$@" } function _is_running { # Can't use pg_ctl status here because it doesn't mean the db is done starting up psql -l -U postgres 2>&1 > /dev/null return $? } function wait_for_postgres_availability { for i in ...
true
61318e7d686b76d4bf15e97931c5101aa7cbba78
Shell
FauxFaux/debian-control
/g/gap-scscp/gap-scscp_2.2.3+ds-2_all/postrm
UTF-8
774
3.65625
4
[]
no_license
#!/bin/sh # postrm script for gap-scscp set -e DAEMONUSER=_gapd # Automatically added by dh_installinit/12 if [ "$1" = "purge" ] ; then update-rc.d gapd remove >/dev/null fi # End automatically added section case "${1}" in remove) rm -rf /var/run/${DAEMONUSER#_} ;; purge) rm -rf /var/run/${DAEMONUSER#_} if ...
true
aa1e03c4effd1f6bbf1b377c196f4abb65bcf097
Shell
delkyd/alfheim_linux-PKGBUILDS
/jpeginfo/PKGBUILD
UTF-8
581
2.765625
3
[]
no_license
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=jpeginfo pkgver=1.6.1 pkgrel=2 pkgdesc="Jpeg information utility" arch=('i686' 'x86_64') url="http://www.kokkonen.net/tjko/projects.html" license=('GPL') depends=('libjpeg') source=(http://www.kokkonen.net/tjko/src/$pkgname-$pkgver.tar.gz) md5sums=('344b...
true
e338ffd15a898c94621e2c18691786c681a9778d
Shell
mochizukikotaro/google_vision_labels_sample
/batch.sh
UTF-8
145
2.6875
3
[]
no_license
if [ -e list.txt ]; then rm -f list.txt touch list.txt fi for file in `\find images -type f`; do node getLabels.js $file >> list.txt done
true
3a44a60731acb966e2f0c61c444265c6be1c5030
Shell
gnayuy/janeliafarmresearchcampus
/computer/backup/yang/script/ba20xEx1.sh~
UTF-8
741
2.578125
3
[]
no_license
#!/bin/bash TEMPLATE=/groups/scicomp/jacsData/yuTest/flybrainAlign/template/wfb_atx_template_ori.tif TARGET=/groups/scicomp/jacsData/yuTest/flybrainAlign/template/wfb_atx_template_rec2.tif TARGET_REFNO=1 SUBJET_REFNO=1 TARGET_LANDMARKS=/groups/scicomp/jacsData/yuTest/flybrainAlign/template/wfb_atx_template_rec2.mark...
true
5b1bd24e2f7d4d4352ed28a6dac98255940368af
Shell
arnlig/scc
/tests/cc/error/update.sh
UTF-8
121
2.546875
3
[ "ISC" ]
permissive
#!/bin/sh for i do (echo '/^PATTERN/+;/^\./-c' cc $CFLAGS -w -c $i 2>&1 printf ".\nw\n" echo w) | ed -s $i done
true
42d8a1023b7e4462e578c91bc63f312ec111bac2
Shell
nathanielc/jimbob
/sources/zlib.build
UTF-8
271
2.859375
3
[ "MIT" ]
permissive
#!/bin/bash set -e version="1.2.8" cd $JB_SRC tar -xvf zlib-${version}.tar.gz && cd zlib-${version} sed -i 's/-O3/-Os/g' configure ./configure --shared --prefix=/usr make make DESTDIR=${JB_CT_SYSROOT} install # Clean up build dir cd $JB_SRC && rm -rf zlib-${version}
true
9fa7728e489ed850d2b6369a0b2fab9f6780725a
Shell
sandipkpatel/health_check
/start.sh
UTF-8
869
2.8125
3
[]
no_license
#!/bin/bash cd $1 if [ $? != 0 ] then echo "failed!" exit 0 else echo "done" fi cd bin if [ $? != 0 ] then echo "failed!" exit 0 else echo "done" fi if [ $2 = 80 ] then ./furnishing -J-Xmx1000M -J-Xms1000M -Dhttp.port=$2 -Djavax.net.ssl.keyStore=/root/code/furnishing/ssl/a2032b2ccb8bab4189...
true
265f1779cfbc1304730a0de968528e61dc656cb7
Shell
SmartCambridge/tfc_web
/scripts/insert_tfc_web_internal_token
UTF-8
798
3.140625
3
[ "MIT" ]
permissive
#!/bin/bash echo "Please run 'manage.py setup_tfc_prod' which replaces this script" exit # Prompt for the hash value of an API key and insert it # into the authmultitoken_token table with the name 'TFC_WEB INTERNAL' # for the user tfc_prod # # This is the token listed in secrets.py that the tfc_web application # uses...
true
5179b2ac5ff184995bd2751c6b822dc3f866cecc
Shell
luoboblog/sysbackup
/backupsys.sh
UTF-8
544
3.234375
3
[]
no_license
#!/bin/sh # help: ./backupsys.sh [sys_part] [backup_part] [logfile] sys_part=$1 backup_part=$2 logfile=$3 # mount sys part sys_mountpoint=$(mktemp -d) mount $sys_part $sys_mountpoint # mount backup part backup_mountpoint=$(mktemp -d) mount $backup_part $backup_mountpoint file_number=$(cd $sys_mountpoint && find |...
true
e1f76446166eaad11beb4db59335b069b4e2d2f5
Shell
jshook/sysid_scripts
/bin/gather_info
UTF-8
792
3.734375
4
[]
no_license
#!/bin/bash if [ ! -f 'gather_info' ] then printf "You must run this from the bin directory for now.\n"; exit 2; fi datestamp=$(date +%s) basetmp="/var/tmp" resultdir="sysidinfo_$datestamp" outputdir="$basetmp/$resultdir" export SYSID_OUTPUTDIR=$outputdir mkdir -p ${outputdir} for script in \ kerninfo \ dmesgin...
true
6c384f5813f11b965b4596898e926bbd0cd5ac97
Shell
sbaldrich/data-environment-poc
/hadoop/hadoop-namenode/start.sh
UTF-8
955
2.703125
3
[]
no_license
#!/bin/bash echo -e "\n\e[00;37m*\e[00m `date` \e[00;37mStarting Supervisord\e[00m" nohup /usr/bin/supervisord -c /etc/supervisord.conf & echo "\e[33mWaiting for slave machines before starting cluster\[e0m" sleep 5 echo -e "\n\e[01;37m*\e[00m `date` \e[01;37mStarting HDFS - NameNode DataNodes\e[00m" start-dfs.sh ech...
true
948eb621121d52ccb9af61aba144d9882a0f6187
Shell
mrcrackeds/metasploit
/metasploit.sh
UTF-8
2,230
2.5625
3
[]
no_license
pkg install figlet -y pkg install toilet -y pkg install python -y pkg install python2 -y pkg install curl -y pkg install perl -y pip2 install --upgrade pip pkg install ruby -y gem install lolcat -y clear toilet -f smslant -F gay 'METASPLOIT INSTALLER BY MR CRACKED' sleep 1 echo "\033[33;1m Metasploit Installer" "\033[...
true
b2d8f5fdcc47e89a0150d7dcdc1e8bf55618d399
Shell
OpenSpeedShop/cbtf-krell
/core/scripts/cbtflink.in
UTF-8
20,753
2.796875
3
[]
no_license
#! /bin/bash # Some of this code is inspired by the libmonitor package (monitor-link). debug_flag=0 if [ -z "$CBTF_DEBUG_CBTFLINK" ] ; then echo "" else debug_flag=1 fi cbtf_target=@cbtftargetos@ # TODO: handle the target prefix cbtfk_prefix=@cbtfkCNdir@ cbtfk_libdir=@cbtfkCNlibdir@ cbtfk_bindir="${cbtfk_prefix}...
true
b053445166c754279b5e74d3a345faacf72bb588
Shell
gdankov/scf
/src/scf-release/src/acceptance-tests-brain/test-scripts/002_securitygroups_test.sh
UTF-8
1,365
3.484375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash ## # # ## ### Tracing and common configuration ### ## # # set -o errexit set -o xtrace function random_suffix { head -c2 /dev/urandom | hexdump -e '"%04x"'; } CF_ORG=${CF_ORG:-org}-$(random_suffix) CF_SPACE=${CF_SPACE:-space}-$(random_suffix) ## # # ## ### Login & standard entity setup/cleanup ### ## # #...
true
eefc0cdef817c24025dcd80002f46b21f29a4e4a
Shell
suomenriistakeskus/oma-riista-web
/scripts/database/load-schema.sh
UTF-8
366
2.96875
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/usr/bin/env bash set -e cd "$(dirname "$0")" # Ensuring correct working directory DATABASE_NAME="$1" if [ -z "${DATABASE_NAME}" ]; then echo "Usage: $0 <database-name>" exit 1 fi PSQL="psql -q1X -v ON_ERROR_STOP=1 -d ${DATABASE_NAME}" cd ../.. && mvn --quiet -Pdev,jsSkip -Ddb.url="jdbc:postgresql:$DATABA...
true
c9d5fd71f26b3293d634e8a31f1b38b8bd229b90
Shell
clutchski/dotfiles
/deploy.sh
UTF-8
900
3.53125
4
[]
no_license
#!/bin/bash set -e # First install oh-my-zsh if [ ! -d ~/.oh-my-zsh ]; then echo "Cloning oh-myzsh" git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh fi # Deploy each app config file. for f in `ls . ` do if [[ $f == "README.md" ]] || [[ $f == "deploy.sh" ]] ; then continue ...
true
941f30a370b2fb96c34e4db01e8e34927581a2b8
Shell
DragonGongY/cpp_deploy
/scripts/bootstrap.sh
UTF-8
254
2.875
3
[]
no_license
# download pre-compiled paddle encrypt ENCRYPTION_URL=https://bj.bcebos.com/paddlex/tools/paddlex-encryption.zip if [ ! -d "./paddlex-encryption" ]; then wget -c ${ENCRYPTION_URL} unzip paddlex-encryption.zip rm -rf paddlex-encryption.zip fi
true
d4ec7e4ff915cb543e579527a186e7c91ce9ce3b
Shell
midikang/dokku
/plugins/apps/commands
UTF-8
425
3.3125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash [[ " help apps:help " == *" $1 "* ]] || exit "$DOKKU_NOT_IMPLEMENTED_EXIT" set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x case "$1" in help | apps:help) cat<<EOF apps, List your apps apps:create <app>, Create a new app apps:destroy <app>, Permanently destroy an app apps:rename...
true
e812bb4dded8ac28335378cc045e8ee18b63ef83
Shell
aman556/tce
/hack/update-tag.sh
UTF-8
3,160
3.703125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # Copyright 2021 VMware Tanzu Community Edition contributors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 # set -o errexit set -o nounset set -o pipefail set -o xtrace FAKE_RELEASE="${FAKE_RELEASE:-""}" BUILD_VERSION="${BUILD_VERSION:-""}" # required input if [[ -z "${BUILD_VERSION}" ]]; ...
true
dacd60cdc42304e1f74007316cae82dfca3e676b
Shell
sailfish009/crucible
/scripts/build-sandbox.sh
UTF-8
2,239
4.15625
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # # This script checks out the repos needed to build crucible libraries and the crucible-server. # # This script only requires git to run, but crucible has the following prerequites: # # * stack # - https://github.com/commercialhaskell/stack/wiki/Downloads # # * Libraries & Utils: pkg-config, libzm...
true
687ef4218a68516fab918feaea42c95a72b76dda
Shell
repejota/dotfiles
/.bash/ui.bash
UTF-8
523
2.96875
3
[]
no_license
# check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize # enable color support of ls and also add handy aliases export TERM="xterm-256color" BASE16_SHELL=~/.config/base16-shell/ [ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BA...
true
df0adfd365ed27a8238e0c1c9850209384f09ade
Shell
zz/qelog
/scripts/stop.sh
UTF-8
854
3.53125
4
[]
no_license
#!/bin/bash program='qelog_admin' ps xua| grep -w $program | grep -v grep|awk '{print $2}'|xargs kill #健康检查 result="$?" if [ $result -ne 0 ];then echo -e "\033[41;33m 检测到程序就没有运行,不在关闭程序 \033[0m" else echo '程序关闭完成,休息1秒后检查程序是否结束成功.....' sleep 1 n=1 #循环检测 while [ $n -le 3 ] do status=`ps -ef | grep -w $pr...
true
b65ec9431bb7fa8dfb971051a55add3c91e40353
Shell
2play/virtualman400
/vman.sh
UTF-8
12,905
3.890625
4
[]
no_license
#!/bin/bash # START-UP --------------------------------------------------------------------- function waitForAnyKey() { read -n 1 -s -r -p " < press any key > " echo } # require user pi if [[ $USER != "pi" ]]; then echo "ERROR - script must be run as user pi" waitForAnyKey exit 1 fi # if not in ...
true
9110b108d937f4390b9b8f069c9798885b27cc04
Shell
aziouk/obsceneredundancy
/config.conf
UTF-8
726
3.03125
3
[]
no_license
#!/bin/bash # Configuration script for light weight cloud backup # Author: Adam Bull # Date: June 13, 2016 BACKUP_SRC="/var/www" BACKUP_DEST="obsceneredundancy" # Datacentre Locations to Backup # 1=Enabled 0=Disabled #BACKUP_TO_SYD=1 BACKUP_TO_LON=1 #BACKUP_TO_ORD=1 BACKUP_TO_IAD=1 #BACKUP_TO_DFW=1 # DAYS_RETEN...
true
77a4ec562388fbf04dd8f0adc1f16b1890f6021b
Shell
radiospiel/pipe2me-client
/test/auth-token-test.sh
UTF-8
289
2.578125
3
[ "MIT" ]
permissive
#!/usr/bin/env roundup describe "fails on invalid and missing auth" . $(dirname $1)/testhelper.inc it_fails_on_invalid_auth() { ! $pipe2me setup --server $pipe2me_server --token $pipe2me_token.invalid } it_fails_on_missing_auth_token() { ! $pipe2me setup --server $pipe2me_server }
true
48a71e41f40c83b77d04d709f6d48f23bc4d1e70
Shell
dideldum/LibreLink-xDrip-Patch
/patch.sh
UTF-8
6,830
3.609375
4
[]
no_license
#!/bin/bash # Color codes NORMAL='\033[0;39m' GREEN='\033[1;32m' RED='\033[1;31m' WHITE='\033[1;37m' YELLOW='\033[1;33m' WORKDIR=$(pwd) FILENAME='com.freestylelibre.app.de_2019-04-22' echo -e "${WHITE}Prüfe benötigte Tools ...${NORMAL}" MISSINGTOOL=0 echo -en "${WHITE} apksigner ... ${NORMAL}" which apksigner > /de...
true
d115b24bf5a956ad6203b1fd86dd56bdd69c521b
Shell
hypnoglow/dotfiles
/.xinitrc
UTF-8
439
2.578125
3
[]
no_license
#!/bin/sh # WARNING! This file should not be executed directly. # Shebang here is for shellcheck. # # ~/.xinitrc # # Executed by startx or xinit # (run your window manager from here). # This is not sourced by lightdm. . "${HOME}/.sh/POSIX/dot_logger.sh" dot_logger_log "Loading ~/.xinitrc" # Load xprofile manually [ ...
true
8071e67fd899963264d4df33c6cfddf4efdb7d1d
Shell
strizhechenko/twitter-git-poster
/__bot.sh
UTF-8
938
3.5625
4
[]
no_license
#!/usr/bin/env bash set -eu . /etc/sysconfig/git_poster REPO="$1" VERSION="$PRODUCT $2" LAST_POSTED_COMMIT="$(<$REPO.commit)" TMPFILE=$TMPDIR/git.log.$$ tweet_make() { local subject="$1" local jira_task_id="${2:-}" echo "$VERSION" echo echo "$subject" if [ -n "${jira_task_id:-}" ]; then ...
true
9c00462b6f053dce98b7b03974b84c8b0309fa35
Shell
eyalav/ece759
/hw8/data/run.sh
UTF-8
171
2.625
3
[]
no_license
#!/bin/bash export CUDA_PROFILE=1 rm -f log for i in {10..24} do ./a.out `echo "2^$i" | bc` >> log cat cuda_profile_0.log >> log echo >> log echo $i done
true
a685685ac6804091c49898910469279fa0af88b9
Shell
KantaponDech/lichess-computing
/02_sql/populate.sh
UTF-8
773
3.671875
4
[]
no_license
if [ "$#" -ne 1 ]; then echo "Usage: ./populate_table.sh bucket-name" exit fi BUCKET=$1 echo "Populating Cloud SQL instance chess from gs://${BUCKET}/lichess/..." # To run mysqlimport and mysql, authorize CloudShell bash authorize.sh # the table name for mysqlimport comes from the filename, so rename our CS...
true
a362438578beb32d654d1f24d526b27102e0f6d0
Shell
bitshoroscope/bash-ninja
/resources/webinit.sh
UTF-8
270
2.84375
3
[]
no_license
#!/bin/bash function webinit(){ mkdir $1 cd $1 echo 'Creating css...' mkdir css cd css touch main.css cd .. echo 'Creatiing js...' mkdir js cd js touch index.js cd .. echo 'Creating index...' touch index.html }
true
222e2a96ea6de53f143ac621e0979fe6a5e6d4fb
Shell
im-delgado/sre-task
/modules/website/files/setup_webserver.sh
UTF-8
627
2.984375
3
[]
no_license
#!/bin/bash # install Nginx sudo apt update sudo apt install nginx -y # Replace HTML FILE EC2IDENTITY="$(curl -s http://169.254.169.254/latest/dynamic/instance-identity/document)" sudo tee -a /var/www/html/index.nginx-debian.html >/dev/null <<EOF <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="v...
true
6ea766d6eb5f22b24ce62ca0d1eeb32e29c212f1
Shell
rajeshprasanth/sheet-music
/run.sh
UTF-8
10,270
2.953125
3
[]
no_license
#!/bin/bash #title #key #note1 #note2 #note3 #note4 #note5 #note6 #note7 #note8 genfiles() { title=$1 key=$2 note1=$3 note2=$4 note3=$5 note4=$6 note5=$7 note6=$8 note7=$9 note8=${10} file=${11} cat > $file << EOF \header { title = "$title" } \score {{ \key $key \major $note1 1 \downbow \0 $note2 \upbow $note3...
true
8c502c15486a91e74677f9eb157bb7364ba5f647
Shell
tokern/data-lineage
/docker/build_image.sh
UTF-8
1,602
3.921875
4
[ "MIT" ]
permissive
#! /usr/bin/env bash set -e PROJECT_ROOT=$(dirname $(dirname $0)) echo "$PROJECT_ROOT" DOCKERHUB_NAMESPACE=tokern TAG=$1 if [ -z $TAG ]; then echo "usage: $0 <release-name> [--publish] [--latest]" exit 1 fi if [ "$2" == "--publish" ]; then PUBLISH="YES" fi if [ "$3" == "--latest" ]; then LATEST=...
true
7a07cbe550783e93f5b7c66cda77f9cb8a979354
Shell
ouadakarim/openvpn-client-site-to-client
/bin/get-env.sh
UTF-8
204
2.53125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # --- Read environment variables from .env file --- export $(egrep -v '^#' ./.env | xargs) # --- Create a named for the named docker volume export OVPN_DATA="ovpn-data-${OVPN_LABEL}"
true
d4baaf2994c0a80e886b3e26a198b6e3e7c425e6
Shell
bird-house/birdhouse-deploy
/birdhouse/scripts/detect-user-install-in-jupyter-env
UTF-8
1,384
3.796875
4
[ "Apache-2.0" ]
permissive
#!/bin/sh # Detect user install (pip intall --user) in Jupyter environment. # # User install is error-prone since it overrides the official package version # from the environment. This means when new environments are available, user # will not receive update for the packages that are user installed since the # version...
true
50c37166e111a35d0640b28aedd2eac83f561959
Shell
sohankunkerkar/fedora-coreos-config
/tests/kola/multipath/multipathd-service-fix
UTF-8
1,093
3.171875
3
[ "MIT" ]
permissive
#!/bin/bash # kola: { "exclusive": false, "platforms": "qemu-unpriv" } # Just run on qemu since the answer is the same everywhere set -xeuo pipefail . $KOLA_EXT_DATA/commonlib.sh # We need either a fixed dracut or temporary workaround, no need for both. # See https://github.com/coreos/fedora-coreos-tracker/issues/80...
true
ce4d7ae3c762bf9ce77a2eca8f2ab2d00b491455
Shell
jromahen/comenius-tex
/corpus/vestibulum/hocrt.sh
UTF-8
532
3.1875
3
[]
no_license
#!/bin/bash # First process PBM, then PPM, then JPG for source in `ls *.pbm.html` do if [ -f "$source" ] then echo "Converting $source..."; ocroscript hocr-to-text "$source" > "$source".txt fi done for source in `ls *.ppm.html` do if [ -f "$source" ] then echo "Converting $source..."; ocroscrip...
true
a993c2f4d29db632eb3bfa79c747c303f2814853
Shell
xd23fe39/linux-pastebin
/cmd/arrays.sh
UTF-8
794
3.84375
4
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
# Einfaches Array ZAHLEN=(0 1 2 3 4 5 6 7 8 9) # Alle Elemente eines Arrays anzeigen echo ${ZAHLEN[*]} # Anzeigen des 5. Elements (beginnt bei null) echo ${ZAHLEN[5]} # Element eines Arrays einen Wert zuweisen ZAHLEN[5]=five # Anzahl der Einträge eines Arrays echo ${#ZAHLEN[*]} # Neues Array mit den 5 Elementen a...
true
4d8ae9bb8cc8752b1cc64c14648be694340cd4a8
Shell
discordianfish/kubernetes-docker
/node/run.sh
UTF-8
367
3.0625
3
[]
no_license
#!/bin/sh set -e if [ -z "$3" ] then echo "$0 peer-addr addr discovery-url" exit 1 fi ID="ip_`echo $1 | cut -d: -f1|tr '.' '_'`" echo "ID=$ID" kubelet -config /etc/kubelet.conf -docker unix:///docker.sock \ -address="0.0.0.0" -hostname_override=$ID -etcd_servers="http://localhost:4001" & /etcd/etcd -data-...
true
518c74cd14e9e7bf9802a6b04a9e336957e2c012
Shell
alee/tdar
/src/main/release/support_scripts/activity-report.sh
UTF-8
2,160
2.828125
3
[ "Apache-2.0" ]
permissive
#!/bin/sh GREPDATE=`date -d today +%Y-%m-%d` FILE="/var/log/tomcat7/tdar.$GREPDATE.log" CREATING=`zgrep -c "CREATING" ${FILE}` RSS=`zgrep -c "begin: GET:/search/rss" ${FILE}` OAI=`zgrep -c "begin: GET:/oai-pmh/oai" ${FILE}` INTG_SELECT=`zgrep -c "begin: GET:/workspace/select-tables" ${FILE}` INTG_COL=`zgrep -c "begin:...
true
88fdff3eff400b04278ff55e03a37e14552d2780
Shell
stefanschramek/iocage-plugin-nextcloud
/overlay/usr/local/bin/nextcloudset
UTF-8
1,347
3.421875
3
[]
no_license
#!/bin/sh DNS_SETTING="dns azure" TMP_FOLDER="/tmp/U0XfaFP10hh2lTMH" # Set configuration options give_message() { if [ $? -eq 0 ] ; then echo "Changing configuration" else echo "Error updating configuration">2 ; exit 1 fi } case $1 in hostname) cp -f ${TMP_FOLDER}/Caddyfile /usr/local/www/ s...
true
30306b08f8600b9aa78512f183a56a5fcd8c3702
Shell
wyvernzora/bush
/test-shell/test-esc.sh
UTF-8
321
2.765625
3
[ "MIT" ]
permissive
#!/bin/bash source ./utils.sh describe "Quotes and Escape characters" grade8=0 grade8max=5 ./test-esc-1.sh && grade8=`expr $grade8 "+" 1` ./test-esc-2.sh && grade8=`expr $grade8 "+" 1` ./test-esc-3.sh && grade8=`expr $grade8 "+" 1` ./test-esc-4.sh && grade8=`expr $grade8 "+" 2` echo "" suit $grade8 $grade8max echo ""...
true
df8233b48a4a2ebc03050229ae0877943333fe80
Shell
kiawin/http-tools
/cdncurl
UTF-8
472
3.46875
3
[]
no_license
#!/usr/bin/env bash if [ -z $1 ]; then echo "$0 - curl for CDN server" echo "" echo "USAGE:" echo " $0 <hostname> <cdn_server_ip> <path> [-I]" echo "" echo "OPTIONS:" echo " -I - display HTTP response header" echo "" echo "\"man curl\" for more information" fi if [ $4 ]; then OPT="" else OPT...
true
e3dd97f88cdfd4d97d65e6fcba5e160bb2f899f6
Shell
Pragati215/Tic_Tac_Toe_Game
/TicTacToe.sh
UTF-8
832
3.5625
4
[]
no_license
#! /bin/bash echo " #### Welcome to Tic-Tac-Toe Game #### " declare -a board # Constant maximum cell max_Cell=9 # Variable to count used cell cell_Count=0 # To Create board function createBoard() { for (( i=0;i<7;i=i+3 )) do ${board[$i]} ${board[$i+1]} ${board[$i+2]} done } #...
true
fdb497568666ae42f1b4d466633328eecb9a3aba
Shell
kf5i/k3ai-plugins
/v1/plugin_jupyter-allspark/install
UTF-8
3,178
3.4375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash ######################################### ### K3ai (keɪ3ai) Plugins - Install Template ### https://github.com/kf5i/k3ai ### Alessandro Festa @bringyourownai ### Gabriele Santomaggio @gsantomaggio ######################################### ### do not change this setion ### info() { echo '[INFO] ' "$@" ...
true
ce6f50369a003d343b4dee3466983a7595af805d
Shell
Alilouvic/Rans_Detector
/detect.sh
UTF-8
3,987
3.484375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # Sara_ransmware_detector : by djawad hammadi # Copyright@2020 # let's start this shit function banner(){ sleep 3 clear printf " |\/\/\/| <-- SARA_RANS DETECTOR --> | | < -- Coder : Djawad Hammadi --> | | < -- twitter : @xlinex23 --> | (o)(...
true
46a90ca713433fa134fba105727982f4a84df2e8
Shell
magicsolmyr/devstack
/run_tests.sh
UTF-8
1,188
3.59375
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 # distrib...
true
bf55238b8149da7dd60929e5cfc0f6c76c7b736a
Shell
KazAoyama/KaigoSystem
/E-LIFE/KEIRI/CGI/TAIHI/SHOKYAKU_KANRI_KOJIN.TAIKYO
UTF-8
3,668
3.171875
3
[]
no_license
#!/bin/bash # # SHOKYAKU_KANRI_KOJIN.SEARCH : 償却管理個人一覧.SEARCH # # Usage : SHOKYAKU_KANRI_KOJIN.SEARCH namefile datafile # # Written by j.aoyagi(hands lab.inc) exec 2> /home/hands/E-LIFE/KEIRI/APLOG/LOG.$(basename ${0}).${HOSTNAME}.$(date "+%Y%m%d"); set -xv # 設定ファイル読込 source /home/hands/.bashrc &> /dev/null # 変数設定 t...
true
6038daa71f6f5c8fb79264c9aa3b05f80538c700
Shell
enefeq/rcron
/files/debian.initd.sh
UTF-8
1,012
3.5625
4
[ "MIT" ]
permissive
#!/bin/sh ### BEGIN INIT INFO # Provides: rcron # Required-Start: $remote_fs $syslog # Default-Start: 2 3 4 5 # Short-Description: Ensure rcron is ready to run ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/bin/rcron NAME=rcron DESC="redundant cron middleware" CONFIG=/etc/rcron/rcron.con...
true
1f6994664c59b5ebdc479644be7511f8af7bb59f
Shell
francisjgarcia/PASIR-2018-19
/bash_scripts/scripts/management.sh
UTF-8
2,031
3.71875
4
[]
no_license
#!/bin/bash #VARIABLES CONFIG_CLUSTER="/var/lib/mysql-cluster" FICHERO_CLUSTER="config.ini" #Descargar paquete del cluster management wget https://dev.mysql.com/get/Downloads/MySQL-Cluster-7.6/mysql-cluster-community-management-server_7.6.6-1ubuntu18.04_amd64.deb #Instalar paquete dpkg -i mysql-cluster-community-man...
true
f6200313e3034375b19928a884b4ac043906e02f
Shell
prb112/FHIR
/build/release/bin/10_build/2_version.sh
UTF-8
1,448
3.28125
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -eu -o pipefail ############################################################################### # (C) Copyright IBM Corp. 2020, 2021 # # SPDX-License-Identifier: Apache-2.0 ############################################################################### # Set the version of the variables in fh...
true
c9860351002b08aaa19874d0af3d2c7a45c8bc8b
Shell
aniketdakhare/Day5-Practice-Problems
/area_acres.sh
UTF-8
346
2.96875
3
[]
no_license
#!/bin/bash ft=0.092903 read -p "Enter length in ft" len read -p "Enter breadth in ft" brd area=$(echo "scale=4; $(($len*$brd))*$ft" | bc ) read -p "Number of plots" no acres=4046.86 area2=$( echo "scale=4; $area*$no" | bc ) area25=$(echo "scale=4; $area2/$acres" | bc ) echo Area of $no plots of $len"feet*"$brd"feet" ...
true
0a23d1d07cb122f576f205d67b7a8ad942f325a8
Shell
dslm4515/BMLFS
/build-scripts/alsa-lib.build
UTF-8
1,889
2.9375
3
[]
no_license
#! /bin/bash # ALSA Library # Source: https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.8.tar.bz2 # # $BUILD = Directory to temporarily install # $PKGS = Directory to store built packages # # DEPS # Required: NONE # Recommended: NONE # Optional: Doxygen, Python2 # If optimizing, use these flags with ...
true
46c04dfedfdc423b3c2cd656c79f7d560fdb26cb
Shell
EdinsonNM/sigma-cloud
/scripts/deploy-dev/deploy.sh
UTF-8
896
3.078125
3
[]
no_license
#!/bin/sh -e set -a . ./connection.env set +a export DB_SCRIPTS_DIR=${DB_SCRIPTS_DIR:-..} echo "run builddb scripts" for f in `ls builddb/* -v`; do case "$f" in *.sh) echo "$0: running $f"; . "$f" ;; *.sql) echo "$0: running $f"; psql ${HOST_CONNECTION} -U ${PGUSER} -d ${DBNAME} < "$f" && echo ;; *) echo ...
true
ae5056e5d1693ce6fcc1af374dfd4d8058dfb786
Shell
baggybin/LokiPi
/scripts/lokipi
UTF-8
1,912
2.6875
3
[]
no_license
#! /bin/sh # /etc/init.d/raspberrypwnpi case "$1" in start) echo " Starting LOKiPi " echo " .M, +M " echo " :MMMM MMMM, ~" echo " ~MM .M M MM: ~" echo " .MM. M ...
true
ca7ad3bc3dfcc273bfd76e26c3277b28b67f7ad2
Shell
emintham/vagrant
/bootstrap.sh
UTF-8
1,387
3.234375
3
[]
no_license
#! /usr/bin/env bash HOME=/home/vagrant # -- Essentials -- apt-get update apt-get install -y git vim zsh # -- Common stuff -- git clone https://github.com/emintham/dotvim mv dotvim ${HOME}/.vim ln -s ${HOME}/.vim/.vimrc ${HOME} # -- Vim stuff -- VIM_BUNDLE_DIR=${HOME}/.vim/bundle cd ${VIM_BUNDLE_DIR} rm -rf sup...
true
796b1c551e214823eb75fff25159837d5b843f69
Shell
wuYin/lssc
/ch9/examples.sh
UTF-8
442
2.5625
3
[]
no_license
#!/bin/bash # # ps # ps -af -o pid,pcpu,pmem | head -4 # --all --full --or ps aux --sort -pcpu | head -4 # sort pcpu 降序 whereis ls file "$(which ls)" whatis ls # # 系统信息 # hostname uname -a cat /proc/cpuinfo | head -5 cat /proc/meminfo | head -5 cat /proc/partitions | head -5 # lshw 系统详细信息诊断 # # 定时作业 # crontab ...
true
637121ce157ee01f04422c47d2873dfa6498b7dd
Shell
imma/block
/exec/block-bootstrap
UTF-8
1,268
3.390625
3
[ "Apache-2.0", "JSON" ]
permissive
#!/usr/bin/env bash function block_bootstrap { if ! time script/bootstrap < /dev/null; then if [[ -x script/fresh ]]; then if ! script/fresh< /dev/null; then if [[ -x script/version ]]; then script/version fi return 1 fi elif [[ -x script/stale ]]; then if ...
true
dfb92195cde4d5f7c6f8b2e47fa9225ebf36fdf8
Shell
littlestar565/ESX-LISA
/remote-scripts/ovt_vgauth_del_alias.sh
UTF-8
2,329
3.59375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash ############################################################################### ## ## Description: ## Add a alias for testuser by vgauth ## ############################################################################### ## ## Revision: ## v1.0 - boyang - 01/12/2018 - Draft script for case ESX-OVT-029 ## ...
true
9d81c2cc20262a82735da4ecd2d087f48a0bc1d2
Shell
tanyyinyu/tomcat
/tomcat
UTF-8
501
3.140625
3
[]
no_license
#!/bin/bash TOMCAT_HOME=/usr/local/apache-tomcat-9.0.33 SHUTDOWN=$TOMCAT_HOME/bin/shutdown.sh STARTTOMCAT=$TOMCAT_HOME/bin/startup.sh case $1 in start) echo "启动$TOMCAT_HOME" $STARTTOMCAT ;; stop) echo "关闭$TOMCAT_HOME" $SHUTDOWN #pidlist=`ps -ef |grep java |grep -v "grep"|awk '{print $2}'` #kill -9 $pidlist ;; restart)...
true
08b1ab0f79f03e8eb3c7c81a47155af77574da02
Shell
gustavoscheffer/aprendizadoShellScript
/testeRead.sh
UTF-8
100
2.703125
3
[]
no_license
#!/bin/bash #teste do READ basico printf "Digite o seu nome: " read nome echo "Seu nome eh $nome!"
true
d21cb4bab34f51bbae96d877b7a53508d4279632
Shell
rapidsai/raft
/build.sh
UTF-8
22,019
3.828125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # Copyright (c) 2020-2023, NVIDIA CORPORATION. # raft build scripts # This script is used to build the component(s) in this repo from # source, and can be called with various options to customize the # build as needed (see the help output for details) # Abort script on first error set -e NUMARGS=$# ARG...
true
1a2be86ce1c2623c8ddc94d1990ad5916bfdef4e
Shell
Shew/Shewstring
/devel/scripts/shewstring_app_files.sh
UTF-8
1,973
3.359375
3
[ "CC0-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/sh # This script will call devel/generate_app_files.sh with the ports used in # Shewstring. # Arguments: folder="${1:-/tmp/apps}" if dirname "$0" \ | grep '^/' \ > /dev/null then directory="${2:-`dirname "$0"`/../..}" else directory="${2:-`pwd`/`dirname "$0"`/../..}" fi # Execute: cd "$dire...
true
ee58239ac748ec054ef0f3ed339405ee6bc51114
Shell
terkelbo/Matrix-Multiplication-Library
/run_all.sh
UTF-8
1,430
2.75
3
[]
no_license
#!/bin/sh CC=${1-"gcc"} OPT=$2 NUMBER_ROWS="50 100 180 200 220 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500 2000 2500" LOOPS=1000 LOGEXT=$CC.dat /bin/rm -rf data/${CC}/${OPT}/nat.${OPT}.$LOGEXT data/${CC}/${OPT}/blk.${OPT}.$LOGEXT data/${CC}/${OPT}/lib.${OPT}.$LOGEXT data/${CC}/${OPT}/knm.${OPT}.$LOGEXT ...
true
8961d33b16a9c6d7fb401afd6e31b2fb1a328185
Shell
hyeonsu0/shell
/array-example.sh
UTF-8
150
2.65625
3
[]
no_license
#!/bin/bash #2021-03-17 Soo declare -a sports sports=(ball frisbee puck) sports[3]=bat echo ${sports[*]} for i in "${sports[@]}"; do echo "$i"; done
true
32674d936adb85021e4dc21a3387987c504ea57a
Shell
paperbenni/yatext
/yatext.sh
UTF-8
6,290
3.546875
4
[]
no_license
#!/bin/bash # Taskwarrior extension that lets you attach notes to tasks export EDITOR="${EDITOR:-nvim}" SEARCHSTRING="${1:-'/./'}" TASKLOCATION="$(task rc.defaultheight=0 rc.verbose=nothing show data.location | sed 's/^[^ ]*[ ]*//g' | grep '.' | tail -1)" TASKLOCATION="${TASKLOCATION/#\~/$HOME}" if [ -n "$1" ]; the...
true
5e46165b42b63aae1c521095db2c567f99a29e22
Shell
antenore/svntogit-community
/python-poppler-qt5/repos/community-x86_64/PKGBUILD
UTF-8
871
2.515625
3
[]
no_license
# Maintainer: Bruno Pagani <archange@archlinux.org> pkgname=python-poppler-qt5 pkgver=21.1.0 pkgrel=1 pkgdesc="Python binding to libpoppler-qt5" arch=(x86_64) url="https://github.com/frescobaldi/python-poppler-qt5" license=(LGPL) depends=(qt5-base poppler-qt5 python-pyqt5) makedepends=(pyqt-builder sip) source=(${url}...
true
582874a2a13e205fd8737c860a1a00f36151a591
Shell
rbonvall/boggling-bulgy-beluga-bagel
/bbbb
UTF-8
86
2.75
3
[ "MIT" ]
permissive
#!/bin/bash BBBB="$(dirname $(readlink -f $0))" main () { echo $BBBB } main "$@"
true
e17ff030cafb8f2fc9dd5aeb386f1909e40ddc02
Shell
bloopton/InflationEconomics-Research-ColumbiaU
/listingData/listing_prices/listingPriceScript
UTF-8
338
3.046875
3
[]
no_license
#!/bin/bash curl https://api.mercadolibre.com/sites | sed -e 's/,/\'$'\n/g' | grep id | tr -d '"' | tr -d '{id:' | tr -d '[' > siteList #loop through site ids #SID is every line in siteList, i.e. site ID while read SID; do curl -X GET https://api.mercadolibre.com/sites/$SID/listing_prices | jq . > listingPrices$SID...
true
93560699119ea9718c304dbd4dc00a3712e9bcf8
Shell
jimmybowens/mac-setup
/install.sh
UTF-8
485
3.671875
4
[]
no_license
#!/bin/bash CURR_USER=$(whoami) if [ $CURR_USER == 'root' ];then echo "do not run with root" exit 1 fi echo "Press 'Enter' to continue" now=$(date +%Y%m%d%H%M%S) ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" > "$HOME/Desktop/install$now.log" 2>&1 if ! which 'brew' > /dev/...
true
390f9d90ab729bc42dfc3fbdcb54a3c719a7c65d
Shell
jessicah25/MultiModalEmotionDetection
/run.sh
UTF-8
2,032
3.03125
3
[]
no_license
### # Goals of this script # 1. Train the BERT Language Model # 2. Run Unimodal Classifiers (Neural Network and SVM) on the sentence embeddings of the utterance transcriptions # 3. Use the speech xvectors to create a consolidated multimodal dataset (CSV) # 4. Create arks with speech, text and multimodal vectors for eac...
true
97090630c327683d70bac94d10dded53b4cbb1de
Shell
voidfiles/puma-performance-sketch
/scripts/hello.sh
UTF-8
584
2.921875
3
[]
no_license
#!/bin/bash # Mostly a copy of the puma hello benchmark # https://github.com/puma/puma/blob/master/benchmarks/wrk/hello.sh cd app; PUMA_THREADS="${PUMA_THREADS:-4}" WRK_CONCURRENT="${WRK_CONCURRENT:-4}" DURATION="${DURATION:-30}" bundle exec puma -C puma_config.rb hello.ru & PID1=$! sleep 10 wrk -c ${WRK_CONCURREN...
true
d99c5413cd9d468c825e90c9d6c9cf414a9801f7
Shell
mathexl/dropcanco
/setup
UTF-8
1,733
3.59375
4
[]
no_license
#!/bin/bash show_help(){ echo ' Why Hello there! You must be looking for help - p for prod - d for dev - v for vagrant - k add key (put the .pem in devbox root) ' exit 0 } key(){ # 1000 security experts simultaneously having heart attacks. Devs better protect this key with th...
true
49691e0d40b1337347e7c73aa6f493b94a2982cd
Shell
DangNguyen146/CTF-Scripts-Writeups
/brute-aes-256.sh
UTF-8
3,115
3.625
4
[]
no_license
#!/bin/sh numPar="$#" STARTTIME=$(date +%s) GREEN='\e[1;32m' RED='\e[0;31m' BLUE='\e[0;34m' YELL='\e[1;33m' PURPLE='\e[1;35m' NC='\e[0m' # No Color if [ $numPar != 2 ] then echo "Error" echo "Usage: ./brute-aes-256.sh file.enc wordlist" exit fi if [ ! -f $1 ] then echo "Aes encrypted file ( $1 ) - not found" exi...
true
a128ba6a28c6e23f6c15c2ad7d9db5bdb9499527
Shell
delkyd/alfheim_linux-PKGBUILDS
/latex-homework-git/PKGBUILD
UTF-8
729
2.71875
3
[]
no_license
# Maintainer: Stephen Brennan <smb196@case.edu> pkgname=latex-homework-git pkgver=r33.cf82d6f pkgrel=2 pkgdesc="LaTeX class for homework assignments." arch=(any) url="https://github.com/brenns10/homework" license=('MIT') depends=('texlive-core') makedepends=('git') provides=("${pkgname%-git}") conflicts=("${pkgname%-gi...
true
820c92cc7af3c9f45c9553195c9fdc2d84c079f7
Shell
Coderphobia/Reference
/shell/func/02func.sh
UTF-8
581
3.578125
4
[]
no_license
#! /bin/bash function checkNum() { if [ $# -ne 2 ] then echo "checknum [数据] [数字]" return 11 fi num=$1 n=$2 len=${#num} for i in $(seq 0 $((len-1))) do temp=${num:$i:1} if [ $temp -eq $n ] then return 0 fi done return 1 } #############...
true
f55784764669032376e3e501e6a25708b27cf023
Shell
remimin/personal
/senlinrc
UTF-8
598
2.640625
3
[]
no_license
#!/bin/bash -x timestemp=`date +%F-%H%M%S` NL=`echo -ne '\015'` cat > /tmp/senlin-screenrc << EOH sessionname senlin hardstatus alwayslastline '%{= .} %-Lw%{= .}%> %n%f %t*%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})' setenv PROMPT_COMMAND /bin/true screen -t shell bash screen -t senlin-engine bash stuff "senlin-engine --confi...
true
06ffa9ed86ef40919f255e40251f525061bcd4db
Shell
chinnurtb/z_accesslogrotate
/z_accesslogrotate
UTF-8
450
3.78125
4
[]
no_license
#!/bin/bash # # Rotate Zotonic Webzmachine logs. # # Jarimatti Valkonen <jarimatti@me.com> if [ -z $1 ] then yesterday=`date -d yesterday +%Y_%m_%d` else yesterday=`date -d $1 +%Y_%m_%d` if [ $? != 0 ] then exit 3 fi fi accesslog=access.log.${yesterday} if [ -f ${accesslog}.tar.gz ] then ...
true
03a9248d698496a2f5b161075047ce827f65e846
Shell
GabrielCastro/neon-serde
/ci/setup.sh
UTF-8
278
2.953125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -euxo pipefail cd "$(dirname "$0")/.." if [[ "$(uname)" = "Darwin" ]] ; then brew update brew install yarn fi if [[ "${TRAVIS_RUST_VERSION:-}" = "nightly" ]] ; then cargo install clippy --force cargo install rustfmt-nightly --force fi
true
15e9bd86b728e12a246597e44d2a26f4b6199f1e
Shell
mack078/zabbix_disk_sheel
/userparameter_disk_io.sh
UTF-8
1,904
3.09375
3
[]
no_license
#!/bin/bash ############################################################ # $Name: disk_io.sh # $Function: DISK IO # $Author: Mr.nong # $organization: nongziyi.xin # $Create Date: 2018/1/25 # $Description: Monitor DISK IO ############################################################ Device=...
true
662c2554d7996d2025acb3caecb63c74a2576552
Shell
adini121/test-scripts
/moodle-tests/moodle-tests-run.sh
UTF-8
3,533
3.765625
4
[]
no_license
#! /bin/bash # Description: Selenium tests script for Moodle, takes as input : # Author: Aditya # ChangeLog: # Date: 1.09.15 usage(){ echo "Usage: $0 <OPTIONS>" echo "Required options:" echo " -u <USER> User name" echo " -v <MoodleVersion> Moodle version for databa...
true
83aa60d1ab005b108b049fd8a9a80146a464076d
Shell
jitsi/rnnoise-wasm
/build.sh
UTF-8
2,385
3.3125
3
[ "MIT", "Apache-2.0" ]
permissive
#!/bin/bash set -e export OPTIMIZE="-Os" export LDFLAGS=${OPTIMIZE} export CFLAGS=${OPTIMIZE} export CXXFLAGS=${OPTIMIZE} ENTRY_POINT="rnnoise.js" ENTRY_POINT_SYNC="rnnoise-sync.js" MODULE_CREATE_NAME="createRNNWasmModule" MODULE_CREATE_NAME_SYNC="createRNNWasmModuleSync" RNN_EXPORTED_FUNCTIONS="['_rnnoise_process_f...
true