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
c03bfaf1590c56bd6e5233834dc97d03830cfe5e
Shell
Mattlk13/bsd
/script/vmware.sh
UTF-8
138
2.75
3
[ "Apache-2.0" ]
permissive
#!/bin/sh -u if [ "$PACKER_BUILDER_TYPE" = "vmware-iso" ]; then echo "==> No VMware tools support except for FreeBSD, continuing" fi
true
ba8829d5654ee31700d4f22e2e2e3255054a2284
Shell
jrafaelsantana/Useless-Scripts
/fibonacci.sh
UTF-8
265
3.640625
4
[]
no_license
#!/bin/bash function fibonacci(){ first=$1 if (( first <= 1 )) then echo 1 else echo $(( $(fibonacci $((first-1)) ) + $(fibonacci $((first-2)) ) )) fi } echo "digite um numero: " read numero val=$(fibonacci $numero) echo "fibonacci($numero) = $val" read x
true
61dff846dc4fe4f727b2ec83db2f16400cb711ac
Shell
NicolasTr/docker-odoo
/etc/service/openerp-server/run
UTF-8
336
2.703125
3
[]
no_license
#!/bin/bash -ex echo "Starting openerp-server..." # Wait for postgres sleep 30 exec setuser openerp openerp-server \ --database=${DB_1_ENV_POSTGRESQL_DB} \ --db_user=${DB_1_ENV_POSTGRESQL_USER} \ --db_password=${DB_1_ENV_POSTGRESQL_PASS} \ --db_host=${DB_1_PORT_5432_TCP_ADDR} \ --db_port=${DB_1_P...
true
6361ce5ff60f32331e6083a90991553e7b73e538
Shell
kba/shlog
/src/shlog-main.bash
UTF-8
211
3.09375
3
[ "MIT" ]
permissive
# detect if being sourced and # export if so else execute # main function with args shlog::reload if [[ ${BASH_SOURCE[0]} != "$0" ]]; then export -f shlog shlog::dump shlog::profile else shlog "${@}" fi
true
47915d32b1db0d322ec03095eb9f7cdf5c60595f
Shell
cartershanklin/structor
/modules/benchmetrics/files/tpc/tpcds.postgres/tpcds-datagen.sh
UTF-8
1,355
4.0625
4
[]
no_license
#!/bin/bash function usage { echo "Usage: tpcds-setup.sh scale_factor [temp_directory]" exit 1 } TARGET_DIR=target/v1.4.0/tools TARGET=$TARGET_DIR/dsdgen if [ ! -f $TARGET ]; then echo "Please build the data generator with ./tpcds-build.sh first" exit 1 fi which psql > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "...
true
57130cf99867adb482d5542cf1062a4d73f026a2
Shell
ChristopherKotthoff/aphros
/examples/105_sharp/tools/sharp
UTF-8
528
2.984375
3
[ "MIT" ]
permissive
#!/bin/sh set -eu base=$(dirname $(readlink -f $0)) : ${cfl=0.5} : ${steps=5} : ${np=1} i=$1 o=$2 shift 2 input=/tmp/input.$$.raw xmf=/tmp/input.$$.xmf output=/tmp/output.$$.raw trap 'rm $input $output $xmf; exit 1' 1 2 3 4 15 $base/img2raw -i $i -o $input shape=`awk 'sub(/^ <DataItem Dimensions="/, "") ...
true
3fe803c0797853e95511bef55a642540f1461a19
Shell
spavel1/Ticket
/changeFirefox.sh
UTF-8
982
3.015625
3
[]
no_license
################################################################################################## #45.7.0esr version of firefox is not supported in current versin of ubuntu server: ubuntu-18.04.3# ################################################################################################## #check Firefox versi...
true
42f5b4168de12cacd17604bf135a43cde81415b3
Shell
RGillespie64/CSC364-Setup-Files
/samba_setup.sh
UTF-8
2,147
3.4375
3
[]
no_license
#!/bin/bash # created by: Richard Gillespie # purpose: CSC-364 Final Project - Samba Setup and Default Configuration # install samba dnf install -y samba samba-common samba-client # move default smb config to a .orig mv /etc/samba/smb.conf /etc/samba/smb.conf.orig # Set File Server NETBIOS name echo "NETBIOS name: ...
true
37d4eb9963955630d3bf737cca8b8d2833931a30
Shell
jmarichal/Multiphysics
/build_nic4.sh
UTF-8
804
3.109375
3
[]
no_license
#!/bin/sh if [ ! -d "gmsh-4.1.5-Linux64-sdk" ]; then wget http://gmsh.info/bin/Linux/gmsh-4.1.5-Linux64-sdk.tgz tar -xf gmsh-4.1.5-Linux64-sdk.tgz rm -rf gmsh-4.1.5-Linux64-sdk.tgz fi if [ ! -d "eigen-eigen-323c052e1731" ]; then wget http://bitbucket.org/eigen/eigen/get/3.3.7.tar.gz tar -xf 3.3.7.tar.gz ...
true
f461314e6b9610ae0b8d0e877a46eac97ea98673
Shell
Koronen/dotfiles
/bash/rc.d/dircolors.bash
UTF-8
203
3.078125
3
[ "MIT" ]
permissive
if which dircolors > /dev/null; then [ "$(uname)" = "SunOS" ] && return if [ -r ~/.dircolors ]; then eval "$(dircolors -b ~/.dircolors)" else eval "$(dircolors -b)" fi fi
true
d4dcca0a4d21db6d292b3de58992ebeefa588c39
Shell
johny-coder/pandomium
/pandomium-linux/linux-build.sh
UTF-8
2,193
3.109375
3
[ "Apache-2.0" ]
permissive
# # Linux x64 # # Requirements: # Git # CMake # Python 2.7 # Oracle JDK 8 with JAVA_HOME # libnss3, libx11-xcb-dev, libxss1 # libasound2, libxtst6, unzip # mkdir JCEF67 && cd JCEF67 git clone https://bitbucket.org/chromiumembedded/java-cef.git src && cd src # Modify sources find ./java/org -type f -exec s...
true
14541c0ed901e22ca6f19306f1756057e494b7e6
Shell
dragonde/docker-baseimage
/download_baseimage
UTF-8
507
3.65625
4
[]
no_license
#!/bin/bash if [ $# -le 0 ] then # url="http://cdimage.ubuntu.com/ubuntu-core/daily/current" url="http://cdimage.ubuntu.com/ubuntu-core/trusty/daily/current" else url="http://cdimage.ubuntu.com/ubuntu-core/releases/$1/release" fi image=$(curl -sSL $url | egrep -o "[.a-z0-9\-]+-amd64.tar.gz" | head -n 1) echo U...
true
91654b85f8ad99dbfab3e51ef3edb255a3e99728
Shell
Loreton/RaspBerryConfig
/pi23/home/.Loreto
UTF-8
1,884
2.71875
3
[]
no_license
#!/bin/bash # ------------------------------ # - scp .Loreto LnPi22:/pi/home # - scp .Loreto /pi/home # ------------------------------ myPATH="$HOME/Loreto/pythonProjects/LnRSync/bin" myPATH="$myPATH:$HOME/LnProd/shProc" myPATH="$myPATH:$HOME/LnProd/pyProc" myPATH="$myPATH:$HOME/LnProd/bin" myPATH="$myPATH:$HOME/GIT-R...
true
e0d4bdfc16d18729702ed29a406875e14c76d53d
Shell
drescherjm/metro
/scripts/mklivemedia.sh
UTF-8
3,533
3.71875
4
[]
no_license
#!/bin/sh # Copyright 2010 Daniel Cordero # Licensed under the GPLv2 # R e q u i r e m e n t s # sys-boot/syslinux (for isolinux.bin) # app-cdr/cdrtools # sys-fs/squashfs-tools # a stage5 squashfs from metro usage() { echo -e "$0 [out: <output file>] [bin: <isolinux binary>] \\" echo -e "\t\t[cd: <cd directory r...
true
a096054c6b0d2c3ba858755989aa7e5de68e1cad
Shell
petronny/aur3-mirror
/soem-lib/PKGBUILD
UTF-8
1,223
2.53125
3
[]
no_license
# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org> pkgname=soem-lib pkgver=1.3.0 pkgrel=5 pkgdesc="Simple Open EtherCAT Master (SOEM) shared libraries" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/soem.berlios/" depends=('glibc') license=('gpl2') options=('!strip') source=("htt...
true
ca75c10ee29b00e170c342a0f47a01d4549b62d1
Shell
jodyhuntatx/dap-demo-env
/HFTOKEN_demo/demo/0_init_demo.sh
UTF-8
1,472
3.03125
3
[]
no_license
#!/bin/bash # fake DNS IP resolution with /etc/hosts entry echo "$CONJUR_MASTER_HOST_IP $CONJUR_MASTER_HOST_NAME" >> /etc/hosts APP_HOSTNAME=webapp/tomcat_host # delete old identity stuff rm -f /root/.conjurrc /root/conjur*.pem # initialize client environment echo yes | conjur init -u https://$CONJUR_MASTER_HOST_...
true
921331308260843a3049f5bd9446e48899d3c909
Shell
d33pc/guessNumFile
/guessinggame.sh
UTF-8
736
4.28125
4
[]
no_license
#!bin/bash start_game(){ echo "Welcome in the game." echo "Guess how many files are present in the current directory......." total_file=$(ls | wc -l) itr=0 read usr_in while [[ $usr_in -ne $total_file ]] do let itr=$itr+1 if [[ $usr_in -gt $total_file ]] then echo "Your guess was higher ...
true
4ff444dfb189a28c4df78ce6147d943da91561d7
Shell
rashenok/joomla-dev
/templates/redcomponent/wright/build/build.sh
UTF-8
2,568
3.203125
3
[]
no_license
#!/bin/bash # reset final css and temp folders rm -f ../../css/joomla[0-9]*-[a-z]*.css rm -rf .cache mkdir .cache #iterate styles for f in ../../less/variables-[a-z]*.less do c=${#f}; c=$((c-26)); f=${f:21:$c}; #iterate Joomla versions for j in less/joomla[[:digit:]][[:digit:]].less do jv=${j:11:2}; #create...
true
2e2f396cedbe0a3eb81d52233059bf5db51156ce
Shell
GucciGerm/AirBnB_clone_v2
/0-setup_web_static.sh
UTF-8
957
3.59375
4
[]
no_license
#!/usr/bin/env bash # This script will prepare our webservers for deployment # first update + install nginx sudo apt-get -y update sudo apt-get -y install nginx # create folders if not already existent sudo mkdir -p /data/web_static sudo mkdir -p /data/web_static/releases sudo mkdir -p /data/web_static/shared/ sudo m...
true
7529978464339b05feadbc063ff6204c05b75433
Shell
Aerolyzer/Aerolyzer_App
/setup.sh
UTF-8
5,588
3.484375
3
[]
no_license
#!/bin/bash # ------------------------------------------------------------ # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to...
true
3055e410ec3f856e7f07af7b075519436fa4f36f
Shell
BrickBot/Bound-T-H8-300
/boundt/platform/unix/run_oc
UTF-8
439
3.15625
3
[]
no_license
#!/bin/sh # # run_oc: Run oc (Omega Calculator), capturing input and output into log-files. # # A component of the Bound-T Worst-Case Execution Time Tool. # Copyright (c) 2004 Tidorum Ltd. # # $RCSfile: run_oc,v $ # $Revision: 1.1 $ # $Date: 2004-05-15 13:37:37 $ # $Name: $ # # $Log: run_oc,v $ # Revision 1.1 2004...
true
ce367900fff72d00b7a3c9a7189cef351be02eaf
Shell
l-lin/dev-cheat-sheet
/shell/capslock-to-ctrl.sh
UTF-8
682
2.515625
3
[]
no_license
#!/bin/sh # http://askubuntu.com/questions/462021/how-do-i-turn-caps-lock-into-an-extra-control-key#answer-521734 # ----------------------------------------- # To swap the keys go: # Xubuntu → Settings Manager → Session and Startup # Then in the Sessions and Startup configurator go # Application Autostart (tab at the t...
true
f3779ee7d7f3d7b82b6d53bb008de41008682e10
Shell
garabik/tidbits
/9wi/rotate_desktop.sh
UTF-8
2,817
3.96875
4
[ "Unlicense" ]
permissive
#!/bin/bash # # rotate_desktop.sh # # Rotates modern Linux desktop screen and input devices to match. Handy for # convertible notebooks. Call this script from panel launchers, keyboard # shortcuts, or touch gesture bindings (xSwipe, touchegg, etc.). # # Using transformation matrix bits taken from: # https://wiki.ubun...
true
d40d576f2e52c0c552f517c25bb5b00a74dc1426
Shell
jhermann/waif
/svg/svg2png.sh
UTF-8
3,058
4.15625
4
[ "Unlicense" ]
permissive
#! /bin/bash # Create bitmaps from SVG files. # # Converts all SVG files in the current directory according # to passed parameters: # # -n: dry run option (just show the commands). # # --layer n name: select the ‹n›th layer below the top one, # delete the others (for ‹n›=1…3); the ‹name› is # ...
true
6da12683bbfb26488f112a7a0820527946541940
Shell
davidosomething/dotfiles
/bin/enginx
UTF-8
406
3.9375
4
[]
no_license
#!/usr/bin/env bash # enginx # # Locate and edit the main nginx configuration file as root # _enginx() { local nginx_conf nginx_conf="$(sudo nginx -t 2>&1 | grep -Eom1 "configuration file (\S*) " | awk 'END { print $NF }')" if [ -f "$nginx_conf" ]; then printf 'Editing %s...\n' "$nginx_conf" sudo -e "$...
true
934bd22e8a2657b6294a106df490206bf04a962d
Shell
abtreece/confd
/test/integration/file/test_yaml.sh
UTF-8
758
2.53125
3
[ "MIT" ]
permissive
#!/bin/bash export HOSTNAME="localhost" mkdir backends1 backends2 cat <<EOT >> backends1/1 key: foobar database: host: 127.0.0.1 password: p@sSw0rd port: "3306" username: confd EOT cat <<EOT >> backends1/2.yml upstream: app1: 10.0.1.10:8080 app2: 10.0.1.11:8080 EOT cat <<EOT >> backends2/1.yaml nested: ...
true
81f8cce2b2dd192aa29ad22fe68f0dafae3a3fe8
Shell
composition-project/border-gateway
/test/test_ws_and_mqtt.sh
UTF-8
4,706
3.421875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash CA=$1 host=$2 if $3 then wsProtocol="wss" mqttSecureParams="--debug --cafile $CA" else wsProtocol="ws" mqttSecureParams="--debug" fi echo "cat $CA" cat "$CA" mqttPort=$4 wsPort=$5 user=$6 pass=$7 tokenEndpoint=$8 audience=$9 client_id="${10}" client_secret="${11}" scriptDir="$( cd "$( dirname "...
true
9b824586597c3403257f7f228b02c89a3cf1c64c
Shell
sarahgarcin/flux-ecran-papier
/printing-tools/print-deamon.sh
UTF-8
429
3.125
3
[]
no_license
#!/bin/bash # set -x # settings # find the printer $ lpstat -p # install watch with brew # lanch with $ watch -n 10 bash print-deamon.sh printer=Canon_LBP7100C_7110C archivebox="archivebox/" printinbox="printbox/" # main loop mkdir $archivebox $printinbox for step in `find $printinbox -iname "*.pdf" -type f` do ...
true
f2884e79eafbe0fdd3a5339ad6a7b9652f1a1510
Shell
TrongTan124/OpenStack-Mitaka-Scripts
/OPS-Mitaka-OVS-Ubuntu/scripts/start-install-compute1.sh
UTF-8
270
2.59375
3
[]
no_license
#!/bin/bash -ex source config.cfg source functions.sh WORK_DIR=$(dirname $0) # Kiem tra lai file config echo "IP Controller ext is $COM1_MGNT_IP" echo "IP Controller int is $COM1_EXT_IP" echo "Hostname Controller is $HOST_COM1" echo "Password default is $DEFAULT_PASS"
true
57761cdf3250bdcb6fbc8fa00255357b98deb853
Shell
akatbo/s2i-micros-build
/S2iScripts/assemble
UTF-8
955
3.328125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -e # # S2I assemble script for the 'book-custom-s2i' image. # The 'assemble' script currently only supports binary builds. # # For more information refer to the documentation: # https://github.com/openshift/source-to-image/blob/master/docs/builder_image.md # if [ ! -z ${S2I_DEBUG} ]; then echo "turning ...
true
6df165b7b79f8ffb4a5e7a7d1b3bbf49188bcdac
Shell
ajeddeloh/scripts
/sort_music_collection.sh
UTF-8
1,441
4.125
4
[]
no_license
#!/bin/bash #Sample script showing how to use muprint to generate paths and use those paths #To sort music. This version uses copy instead of move for safety #Run from the project root or change ./muprint to be approriate #TODO: make these arguments SRC_DIR="$1" DST_DIR="$2" handle_file() { # scratch file to use...
true
b742edb044b009a9d05309df1ea5350b0ef8fa50
Shell
kestarumper/jftt
/kompilator/singleTest.sh
UTF-8
235
2.796875
3
[]
no_license
#!/bin/bash filename="$1" ./kompilator "$filename" "TESTS_OUT/$(basename $filename).mr" rc=$? if [[ $rc != 0 ]] then exit $rc fi echo "TEST [$filename]" ./maszyna_rejestrowa/maszyna-rejestrowa "TESTS_OUT/$(basename $filename).mr"
true
46ece74110b32110c42d9c51fe9bf0d5f1914186
Shell
DirkSun99/git-auto-commit
/gitcommit.sh
UTF-8
1,037
3.96875
4
[]
no_license
#!/bin/bash # 文件路径 GIT_LOG_PATH="/opt/shell/git.log" # 分隔符,与文件路径指定的git.log中的分隔符对应 SEPARATOR="AAAA" # 提交文件路径(即每次提交需要修改的文件) COMMIT_FILE_PATH="/opt/gitrep/data.txt" # Git仓库地址 GIT_REPOSITORY="/opt/gitrep" for line in $(cat ${GIT_LOG_PATH}) do array=(${line//${SEPARATOR}/ }) # 提交人 commit_user_name=${array[0]} commit_u...
true
b2d9f90247efac1803eb0f22ee3899a22fd0f8e7
Shell
kjsanger/qcat-ncov2019-artic-nf
/recipe/build.sh
UTF-8
404
2.59375
3
[]
no_license
#!/bin/bash set -euo pipefail mkdir -p $PREFIX/bin mkdir -p $PREFIX/share pushd ncov2019-artic-nf singularity build --fakeroot artic-ncov2019-nanopore.sif \ ./environments/nanopore/Singularity popd cp $RECIPE_DIR/../bin/qcat-ncov2019-artic-nf.sh $PREFIX/bin cp -r $RECIPE_DIR/../nextflow -t $PREFIX/share...
true
aab5dbd54fa5fddc9c4856de71e14ed811c290b2
Shell
ecmwf/eccodes
/tests/grib_ecc-600.sh
UTF-8
1,158
2.953125
3
[ "Apache-2.0" ]
permissive
#!/bin/sh # (C) Copyright 2005- ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # # In applying this licence, ECMWF does not waive the privileges and immunities granted to it by # virtue of its status as an int...
true
a1d400c7c0a3b532c00eac107c8fee5400e9e92f
Shell
dmolina/template_course_pandoc
/common/createma.sh
UTF-8
654
3.8125
4
[ "MIT" ]
permissive
if [ "$#" -ne 2 ]; then echo "Missing argument: <topic> <asig>" exit fi tema=$1 asig=$2 dir=../$tema if [ -d $dir ]; then echo "Directory '$dir' already exists" exit fi mkdir $dir || (echo "Cannot create directory '$dir'" && exit) cp template.md $dir/${tema}.md echo "TEMA=$tema" >$dir/makefile echo "...
true
80b57fc9a7c41c56e622be8a10aed6ac74a72542
Shell
carlosival/aws_metadata_expose
/user-data.sh
UTF-8
1,258
3.53125
4
[]
no_license
#!/usr/bin/env bash #Se usa set para ver la ejecucion del script linea por linea. en caso de ayuda #set -e -x #El id de la instancia que corre el script automatizar este paso. instance_ids="i-08x58x4x478x1" # El /etc/profile se declaran las variables accesibles para todos los usuarios del sistema. expose_file="/etc/p...
true
07272a76fd1ebe453229f92c2beea29925900322
Shell
hyperledgerkochi/kobman-env-repo
/test-kobman-java-dev.sh
UTF-8
972
3.515625
4
[]
no_license
#!/bin/bash function __test_kob_init { if [[ ! -d $KOBMAN_DIR ]]; then echo "kob not found" echo "Please install KOBman and try again" echo "Exiting!" exit 1 else source $KOBMAN_DIR/bin/kobman-init.sh source $KOBMAN_DIR/src/kobman-utils.sh fi if [[ -z $(...
true
7f6648f93183f0e1fdeb5d91ec2a08c8378dd8b7
Shell
notalexa/proj_vysper
/update.sh
UTF-8
299
2.84375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash for f in bin/* ; do echo "Patch `basename $f`" (cd $f ; zip -r ../../vysper-0.7/lib/`basename $f`.jar *) > /dev/null done echo "Copy binaries" cp -r src/bin vysper-0.7 echo "Create vysper-jitsi-0.7.zip" (cd vysper-0.7 ; zip -r ../vysper-jitsi-0.7.zip *) > /dev/null echo "Patched."
true
49cc94f2e15e202b87094bbb27de98caabc4c4be
Shell
davidruizrodri/dotfiles
/zsh/custom/aliases.zsh
UTF-8
420
2.578125
3
[]
no_license
alias c='clear' alias hosts='sudo \"\$EDITOR\" /etc/hosts' alias zshrc='$EDITOR ~/.zshrc' alias update-zsh='source ~/.zshrc' alias gitka='gitk --all' alias overwrite-dotfiles='cd $HOME/.dotfiles; make clean; make' gdiff() { preview="git diff $@ --color=always -- {-1}" git diff $@ --name-only | fzf -m --ansi --p...
true
27e3dfbf0045e01bb30c35fee9fe9d006e82533f
Shell
majduk/SiteMonitor
/bin/store_result.sh
UTF-8
414
2.984375
3
[]
no_license
#!/bin/bash #get main config source "$1" #get site config source "$2" file=$TESTRESULT echo `date $LOGDATEFORMAT`" Import data from $file" echo "LOAD DATA LOCAL INFILE '"$file"' IGNORE INTO TABLE \`"$SQLDATABASE"\`.\`"$SQLTABLE"\` FIELDS TERMINATED BY ';';" > $SQLFILE /usr/bin/mysql -f -h $SQLHOST -u$SQLUSER -p$SQ...
true
e0476e4fcd1dba69ecbde9f82a641406b617f038
Shell
anivar/fonts-smc-chakra
/fonts-smc-raghumalayalamsans/PKGBUILD
UTF-8
1,045
2.578125
3
[]
no_license
# Contributor: Aashik S aashiks at gmail dot com # Maintainer: http://smc.org.in # Contributor: Akshay S Dinesh asdofindia at gmail dot com # Contributor: Anivar Aravind aanivar dot aravind at gmail dot com pkgname=fonts-smc-raghumalayalamsans pkgver=2.0.1 pkgrel=1 pkgdesc="This is RaghuMalayalamSans, a font belongi...
true
ff0fa74c4d388a88674dd1c2b4ef4c311c4792ef
Shell
hn-88/OCVvid2fulldome
/ocv430installforactions.sh
UTF-8
2,459
2.765625
3
[ "MIT" ]
permissive
#!/bin/bash # install script for OpenCV-4.3.0 # using pre-built binaries # from https://github.com/hn-88/opencvdeb/ wget https://github.com/hn-88/opencvdeb/releases/download/v4.3.0.1/OpenCVbuild.zip unzip OpenCVbuild.zip mv home/travis/build/hn-88/opencvdeb/opencv/build/OpenCVLocal ~/OpenCVLocal -v rm -Rvf home # ...
true
3ca49c972b507a58eba09927b75b348c2bad3448
Shell
mrtryhard/ginger
/sample.sh
UTF-8
210
2.515625
3
[ "MIT" ]
permissive
#!/bin/bash which clang++ > /dev/null 2>&1 if [[ $? -eq 0 ]]; then clang++ sample.cpp -o sample -std=c++11 -stdlib=libc++ else g++ sample.cpp -o sample -std=c++11 fi cat "sample.html" | ./sample rm sample
true
83aa6ff03989986859e4c3bb9df8c608f344d072
Shell
kbrock/dotfiles
/bashrc.d/shell.bash
UTF-8
2,075
3.265625
3
[]
no_license
export LC_CTYPE=en_US.UTF-8 export GREP_COLOR='1;32' export CLICOLOR=1 #unix commands alias ls='ls -G' alias ll='ls -lh' alias la='ls -lah' alias dir='ls -lh' alias rrm='rm -rf' alias ds='du -sk * |sort -nr' #-r for more allows "raw" to come through -i.e.: tty color alias more='less -r' alias mroe='less -r' alias wge...
true
55300201295f4bdd3f2341b1a5c157653c7ad32e
Shell
mkzzn/eurotech_jekyll
/deploy
UTF-8
574
3.296875
3
[ "MIT" ]
permissive
#!/bin/bash app_name=zopio-site tmp_path=/tmp/$app_name remote_path=/var/www/zopio remote_host=doblock # Add the necessary ssh key to the ssh-agent if it hasn't been added in this session ssh $remote_host "echo 2>&1" || ssh-add ~/.ssh/`echo $app_name`_dsa # Remove the temporary repository if one already exists [[ -d ...
true
38eafa319fd55ba3e02d6e5adff9614b334b556f
Shell
enesutku07/lfscript
/scripts/blfs-18652/x7font
UTF-8
1,950
2.8125
3
[ "MIT" ]
permissive
#!/bin/bash # The instructions in this file are extracted from # 'Beyond Linux From Scratch' (2017-04-29 / r18652) but are modified for use # with LFScript 4 which installs the software to a fake root directory. # # Beyond Linux From Scratch is released under the MIT license. # Copyright (C) 2001-2017, The BLFS Develo...
true
3c4dc7158d6b9982d27497bf90e19a6014566ddb
Shell
pronoun66/serverless-emails-backend
/scripts/unitTest.sh
UTF-8
194
2.765625
3
[]
no_license
#!/bin/bash set -e export IS_TEST=true TEST_PATH=$1 if [ -z $1 ] then TEST_PATH=tests/unit fi ./node_modules/mocha/bin/mocha $TEST_PATH --recursive --timeout 10000 --bail --errors-only
true
8032093d34a5de2c76c3516372bcd3686e0ee4ed
Shell
nicolasi31/public
/racine/home/.profile.d/perso-tipsnewinstall.sh
UTF-8
4,456
2.921875
3
[]
no_license
if [ ${PERSO_ENABLED} = 1 ] ; then tipsnewinstall () { echo ' MY_NEW_HOSTNAME="newserver" MY_NEW_DOMAIN="mydomain.net" MY_NEW_NETIF="eth0" MY_NEW_CONNAME="LAN" MY_NEW_NETIP="10.71.88.100/24" MY_NEW_NETRBIDGE="brwan" MY_NEW_NETGW="10.71.88.254" MY_NEW_DNS1="10.71.88.254" MY_NEW_DNS2="10.71.86.252" MY_FILE_SYSCTL="/etc...
true
7f61d7f2ed43cd189d9cb26cef8de20e5094f1b7
Shell
praveengowdaballa/awsplayground
/useradd.sh
UTF-8
585
2.53125
3
[]
no_license
#!/bin/bash useradd -m -d /var/lib/ccoe-n -s /bin/bash -c "CCoE team's default " -U ccoe-a mkdir /var/lib/ccoe-ain/.ssh touch /var/lib/ccoe-an/.ssh/authorized_keys cat > /var/lib/ccoe-in/.ssh/authorized_keys <<EOF ssh-rsa Test668hjb jnjlk.jljkljkln hghggBi5Oa3iEjqbV1jqgcn8Mj8QOmGEd ccoe-admin EOF chmod 700 /var/lib...
true
db02858f45821188577fd850d19c7da982b6e482
Shell
fteychene/dokku-alt
/plugins/dokku-mariadb/pre-deploy
UTF-8
285
3.1875
3
[ "MIT" ]
permissive
#!/bin/bash source "$(dirname $0)/vars" verify_app_name "$1" DB_LINKS="$DB_APP_DATABASES$APP/" DB_APP_PASSWORD="$DB_APP_PASSWORDS$APP" if [[ -d "$DB_LINKS" ]] && [[ -f "$DB_APP_PASSWORD" ]] && [[ $(ls -1 "$DB_LINKS" | wc -l) -gt 0 ]]; then ensure_database_container_is_running fi
true
8a507bf3b73eb42844617d3a6a4ea00d4a7684a0
Shell
estantevirtual/opsworks-cookbooks
/solr-config/templates/default/solr_init.d.sh.erb
UTF-8
1,909
3.53125
4
[ "Apache-2.0" ]
permissive
#! /bin/sh ### BEGIN INIT INFO # Provides: solr # Required-Start: $local_fs $remote_fs # Required-Stop: $local_fs $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/stop Solr Server # Description: Start/stop Solr Server ### END INIT INFO SOLR_DIR="/opt/...
true
a144be4b2b2a72800886540742db1d7395206c77
Shell
repmyblock/devsetup
/scripts/RenamePics.sh
UTF-8
235
3.484375
3
[]
no_license
#!/bin/sh FILE=$1 echo "FILE: $FILE" NEWFILE=`echo $FILE | sed 's/Img-\([0-9]*\)-\([0-9]*\).jpg/Img-\1.jpg/g'` echo "Newfile: $NEWFILE" if [ -f $NEWFILE ] then echo "$file found." else mv $FILE $NEWFILE echo "$file not found." fi
true
ea49da4f5d0e2741cb06ec1353594ae67db2e2e7
Shell
teuben/teunix
/Env/skel/.login
UTF-8
275
2.515625
3
[]
no_license
source ~/.tcshrc if ($?prompt) then if ("$tty" == "console" || "$tty" == "tty1") then printf "Start graphical X session? [y] "; set ok=$<:q if ("$ok" == "" || "$ok" == "y" || "$ok" == "Y") then ssh-agent startx -- -auth >& ~/.xerrors endif endif endif
true
fb6c7d2b6359a575d21462931578ad50f1ff9f3a
Shell
longlonghash/fluidex-backend
/run.sh
UTF-8
4,870
3.25
3
[]
no_license
#!/bin/bash set -uex # assume already install: libgmp-dev nasm nlohmann-json3-dev snarkit plonkit source ./common.sh source ./envs/small export VERBOSE=false export RUST_BACKTRACE=full DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)" STATE_MNGR_DIR=$DIR/rollup-state-manager CIRCUITS_DIR=$DIR/circ...
true
dd2612886fcc9abbfd89399d8a71849afb86466e
Shell
Deon-Trevor/scripts
/auto-git-push.sh
UTF-8
361
2.828125
3
[]
no_license
#!/bin/sh # This script works best when you have specific files that change constantly # and don't need dynamic commit messages GIT=`which git` REPO_DIR=~/Documents/VSCode/phishfort/harvester-shodan/python # repo directory cd ${REPO_DIR} ${GIT} pull ${GIT} add phish.cache # file to auto add ${GIT} commit -m "Updated...
true
8581b315bd7a2bbaa714e7161055214585ba5c8f
Shell
wjk940/pcf-pipelines
/tasks/config-mysql/task.sh
UTF-8
6,915
3
3
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
#!/bin/bash -e chmod +x tool-om/om-linux CMD_PATH="./tool-om/om-linux" function fn_ert_balanced_azs { local azs_csv=$1 echo $azs_csv | awk -F "," -v braceopen='{' -v braceclose='}' -v name='"name":' -v quote='"' -v OFS='"},{"name":"' '$1=$1 {print braceopen name quote $0 quote braceclose}' } ERT_AZS=$(fn_ert_bal...
true
10dc1723d9e6e42af79de129956723cb6db3a563
Shell
Kuniwak/tbf04-tests
/tests/test-reset-after-stash-u-recovery.sh
UTF-8
447
3.265625
3
[]
no_license
#!/bin/sh -eux set -o pipefail workspace=$(mktemp -d ./reset-after-stash-recovery.XXXXXX) (cd $workspace git init echo a > a echo b > b echo c > c git add a git commit -m "Add a" echo aa > a git stash -u git stash clear git reset --hard HEAD git fsck dangling_commit=$(git fsck | grep 'dangl...
true
36bd5b1b4dec04458683686aa5d02f4b2e693f31
Shell
rmitra/PS-Dataset
/download_dataset.sh
UTF-8
633
3.1875
3
[]
no_license
#!/bin/bash BASE_URL='https://www.cse.iitb.ac.in/PS-Dataset' SCENE_LIST='4 11 13 14 15 16 20 23 24 30 31 34 36 41 44 49 50 51 53 65 66 67 71 74 76 88 89 90 91 95' FILE_TYPES='patch_info.txt patchImg.bin pair_patch.txt' BASE_DOWNLOAD_DIR=$(pwd)/PS-Dataset for SC in $SCENE_LIST; do echo 'Downloading scene '$SC RE...
true
3c768647a38b3c012b979da1181d663364c9a594
Shell
scmdlcll/gcloud
/gcloud_install.sh
UTF-8
2,398
3.125
3
[]
no_license
# ensure system is updated and has basic build tools sudo apt-get update sudo apt-get --assume-yes upgrade sudo apt-get --assume-yes install tmux build-essential gcc g++ make binutils sudo apt-get --assume-yes install software-properties-common # download and install GPU drivers # see https://cloud.google.com...
true
5635f5653abb76ed22f78ef7b610caab6e47d255
Shell
ecoreos/syno
/etc.defaults/rc.sysv/slapd.sh
UTF-8
1,846
3.4375
3
[]
no_license
#!/bin/sh #set -x VERSION=2 PIDOF=/bin/pidof ECHO=/bin/echo CAT=/bin/cat SLEEP=/bin/sleep LOGGER=/usr/bin/logger DB_RECOVER=/usr/bin/db_recover LDAPSEARCH=/usr/bin/ldapsearch SLAPD=/usr/sbin/slapd pidfiledir=/var/run NEWLDAP_ROOT=/var/packages/DirectoryServer/target NEWDBDIR=$NEWLDAP_ROOT/etc/data NEWLDAP_BDB=$NEWDBD...
true
179a3fa535adb0de7515cf93d3a4cb6b676668a8
Shell
nautsio/nomad-ok
/packer/scripts/docker.sh
UTF-8
573
2.84375
3
[]
no_license
#!/bin/bash # Quit on errors. set -e # Install Docker curl -sSL https://get.docker.com/ | sh # maybe work around issue 'System error: The minimum allowed cpu-shares is 1024' install -o root -g root -m 755 -d /etc/systemd/system/docker.service.d install -o root -g root -m 644 /tmp/etc/systemd/system/docker.service.d/e...
true
41740294056cafacb281dc34c655853ccd6ecc21
Shell
niuzhiqiang90/toolkit
/bin/wiznote-cli
UTF-8
3,788
4.03125
4
[]
no_license
#!/bin/bash ################################################################################ # FILE: wiznote-cli # USAGE: # DESCRIPTION: this script is used to manage the wiznote # OPTIONS: --- # BUGS: --- # NOTES: --- # AUTHOR: niuzhiqiang, niuzhiqiang90@foxmail.co...
true
fb92098d661364c8077ae7026c0b56cb292be5d1
Shell
OpenDZ/deploy-vm
/deploy_k8s_cluster.sh
UTF-8
16,266
3.671875
4
[]
no_license
#!/usr/bin/env bash set -e usage() { echo " Usage: $0 [options] Options: -c|--channel CHANNEL channel name (stable/beta/alpha) [default: stable] -r|--release RELEASE CoreOS release [default: current] -s|-...
true
9e41b20ac7f9bfd8d4d5e3aa8f8d45feab8638d2
Shell
apache/tvm
/docker/install/ubuntu_install_spike_sim.sh
UTF-8
2,003
3.34375
3
[ "Apache-2.0", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "Zlib", "LLVM-exception", "BSD-2-Clause" ]
permissive
#!/bin/bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information ubuntu_install_spike_sim.sh # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Ver...
true
956831a0a75299bcbfdde299194e0253eee6b643
Shell
concord-consortium/sensor-projects
/labquest-jna/create-2way-universal.sh
UTF-8
1,538
3.234375
3
[]
no_license
#!/bin/sh # # The Vernier 1.95 version of the NGIO SDK comes with 3 mac libraries: # libNGIO (fat file with i386 ppc) # libNGIOUniversal (fat file with i386 ppc740 x86_64) # libNGIO64 (thin file x86_64) # # The script creates a single file that has all the architectures. # # Notes: # If you extract the x86_64 f...
true
50a942d8ac9bff6c76d61293806b3ff969fdfd10
Shell
travitch/whole-program-llvm
/.travis/store.sh
UTF-8
452
3.078125
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash -x # Make sure we exit if there is a failure set -e export PATH=/usr/lib/llvm-3.5/bin:${PATH} export LLVM_COMPILER=clang export WLLVM_OUTPUT=WARNING wllvm-sanity-checker #setup the store so we test that feature as well export WLLVM_BC_STORE=/tmp/bc mkdir /tmp/bc cd ./test/test_files make clean CC=wllvm...
true
ed2fcbe256f82d19559c8e832c37d218e658cde0
Shell
abhiomkar/publoy
/publoy
UTF-8
4,565
3.796875
4
[ "MIT" ]
permissive
#!/bin/bash # ~/Dropbox/Public/publoy/.publoy # [{ # project: "save-martian", # source: "~/code/save-martian", # target: "~/Dropbox/Public/publoy/save-martian" # }, # { # project: "save-martian", # source: "~/Sites/save-martian", # target: "~/Dropbox/Public/publoy/save-martian-1" # }, # { # project: "save-martia...
true
b4b6b349aa7b3e49441d5c2cec3e31244010e4a0
Shell
flihp/twobit-buildbot
/masters/bin/perms-fix.sh
UTF-8
219
3.703125
4
[ "Unlicense" ]
permissive
#!/bin/sh if [ ! -d "$1" ]; then echo "$0: $1 is not a directory" exit 1 fi find $1 -type d | while read DIR; do chmod g+rx "${DIR}" done find $1 -type f | while read FILE; do chmod g+r "${FILE}" done
true
69daa6c1fde430a5c3d55de55ce871c675458701
Shell
outpaddling/auto-admin
/Sys-scripts/auto-add-group
UTF-8
902
3.9375
4
[ "BSD-2-Clause" ]
permissive
#!/bin/sh -e ########################################################################## # Script description: # Create a new group # # Arguments: # [-g gid] # groupname # # History: # Date Name Modification # 2018-11-09 J Bacon Begin ###############################...
true
ab10930b453d3d1a230957193bb50b4e8a8ed062
Shell
mverleg/svsite
/dev/publish.sh
UTF-8
599
3.1875
3
[ "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash # run tests with py.test py.test tests || exit 10 # check style with pylint, exit for any problem except convention messages #pylint source #if [ "$?" -ne 16 ]; then exit 20; fi # create a file to run tests without needing py.test (or plugins) py.test --genscript=tests/runtests.py || exit 30 # c...
true
415bae77e771379291b97ed72df75c7327ccb186
Shell
pay4UU/btcShell
/addNewBlock2Mongo.sh
UTF-8
485
2.875
3
[]
no_license
#!/bin/bash echo $$ | tee /home/btccore/.bitcoin/bin/logs/my.$(basename $0).pid rpcCred=$(cat basisRPC) echo $rpcCred while [ : ] do index=$(bitcoin-cli $rpcCred getblockcount) echo "checking index " $index if [ $lastBlock -eq $index ] then echo "we are still at: " $lastBlock else ...
true
b9273386b7325717351176a4e0b4333ef5261bdc
Shell
ccliuyang/RabbitThirdLibrary
/build_script/ci/build.sh
UTF-8
4,660
3.203125
3
[]
no_license
#!/bin/bash set -e #TODO:修改数组,修改完后,再修改appveyor.yml中的 RABBIT_QT_NUMBER 为QT开始的数组索引 RABBIT_LIBRARYS[0]="change_prefix zlib expat libgpx openssl libsodium libcurl libqrencode " #dlib " RABBIT_LIBRARYS[1]="boost" RABBIT_LIBRARYS[2]="libpng jpeg libgif libtiff freetype libyuv libvpx libopus x264 speex ffmpeg" RABBIT_LIBRA...
true
3104897598005bb40c38be68b41d2e19bab50327
Shell
taylor-marrion/security_scripts
/snort_rules_from_list/arrays_to_snort_rules.sh
UTF-8
571
2.921875
3
[]
no_license
#!/bin/bash #write snort rules from arrays of IP's and domains # write snort rules from array of IP's mapfile -t IP_array < /ip_list.txt x=1100000 for IP in "${IP_array[@]}" do echo "alert ip any any <> $IP any (msg:\"Known Bad IP\"; sid:$x;)" >> /etc/nsm/rules/local.rules x=$((x+1)) done # write snort rules from ar...
true
213b38894beb1e6dd7188a4d2a709eb2b6bcf530
Shell
robotil/robil
/C31_PathPlanner/tests/testing
UTF-8
269
3.3125
3
[]
no_license
#!/bin/bash function test_it { tf=$(tempfile) c=$(head -1 $1) echo "$c" > $tf $c 2>&1 >> $tf diff $1 $tf > $tf.diff && (echo "PASS"; rm $tf.diff) || echo "ERROR: log in $tf.diff" rm $tf } for f in test_result*; do echo -n "TEST: $f ... "; test_it $f; done
true
fd19ca74067443e658a99ef605012365878740c4
Shell
richardhj/heroku-buildpack-contao
/bin/compile
UTF-8
2,209
3.796875
4
[]
no_license
#!/bin/sh indent() { sed -u 's/^/ /' } echo "-----> Installing Contao managed edition" BUILD_DIR=$1 BIN_DIR=$(cd $(dirname $0); pwd) ROOT_DIR=$(dirname $BIN_DIR) CACHE_DIR=$2/php mkdir -p "$CACHE_DIR" # Move monorepo into subfolder named "repo". The composer.json loads this folder as repository. cd $BUILD_D...
true
c0eecca604d7797e5a6b1ed66111e659f90bb805
Shell
uly55e5/uly55e5-overlay
/media-gfx/lightzone/files/lightzone-launcher
UTF-8
237
2.515625
3
[]
no_license
#!/bin/bash export LD_LIBRARY_PATH="/opt/#LZPATH#:${LD_LIBRARY_PATH}" LZCLASSPATH="" cd /opt/#LZPATH# for i in `ls *.jar`; do LZCLASSPATH=${LZCLASSPATH}:${i} done; java -cp ${LZCLASSPATH} com.lightcrafts.platform.linux.LinuxLauncher
true
e4163679926a2b8a4f894c8b67a91af1b1dd8310
Shell
jariano88/data
/ayuda
UTF-8
942
3.359375
3
[]
no_license
#!/bin/bash function menu { echo "1. Ayuda con despliegues" echo "2. Ayuda con contenedores" echo "3. Ayuda Netstat" echo "9. Salir" read OPTION netstat -ntpl >> /var/datatools/netstat_`date +%d%m%Y_%H%M` if [ $OPTION -eq 1 ];then cat /var/datatool...
true
ab8ed6a0f62c501bdef850071308ae003a17cf9e
Shell
futurescube/ambari-astroserver
/package/templates/abDetection.sh.j2
UTF-8
258
2.578125
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash rm -rf /etc/gwac_dbgen.pid echo $$ > /etc/gwac_dbgen.pid while true do python ./gwac_dbgen/pipeline.py 1 1 && file=`ls /data/astrodb/latest/gwac/catalog.csv/*` echo "{{master_node}} ${file}" > /tmp/Squirrel_pipe_test sleep 2 done
true
a868aae8e88700b778cdddf5fe23a11a509e7cc1
Shell
Carolis/cerberus
/linux-mint/virtualbox-install.sh
UTF-8
857
3.140625
3
[]
no_license
#!/bin/bash # virtualbox install sudo apt-get install virtualbox-nonfree # add your user to the vboxusers group # then log out and log back in sudo usermod -a -G vboxusers username # then download and install the VirtualBox 4.2.12 Oracle VM VirtualBox Extension Pack # https://www.virtualbox.org/wiki/Downloads # doub...
true
150053e644674f91e00b4a083bc8ff0c2611a791
Shell
davebaird/z5.stdlib
/sh/dockertools
UTF-8
4,977
4.1875
4
[]
no_license
#!/bin/bash import errcho import pidtools import checks import installer import pathtools dtools.ip () { local dname; dname="$1" dtools.waitfor "$dname" # local ip; ip=$(docker inspect --format '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' "$dname") # printf '%s\n' "$ip" docker inspect...
true
0445cfc87f72589386ecc218cdc0da8e2a06525a
Shell
COLDTURNIP/CDIP_config
/.zprofile
UTF-8
446
2.515625
3
[]
no_license
# Note: # - zshenv is sourced every shell initialization # (thus it should only include envvar-related settings) # - zprofile (current file) is sourced only in login shell, before zshrc # - zshrc is source in every interactive shells # - zlogin is sourced only in login shell, after zshrc # ==================== # 3r...
true
98ac54b15e2d995d1fe9b7eebd3938acb79319e3
Shell
jeffduda/brain-behavior-change-processing
/Reconstruction/dirtree.sh
UTF-8
253
3.296875
3
[]
no_license
#!/bin/bash # DIRTREE - print a nice graphical directory tree structure if [ $# -gt 1 ]; then echo "usage: `basename $0` <topfolder>" exit 1 fi ls -R $1 | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' exit 0
true
a904057dade79823559fe508d3a8c4b86b1cfc25
Shell
sardankur-zz/graph-analytics
/run.sh
UTF-8
4,243
3.359375
3
[]
no_license
#!/bin/bash export MAVEN_HOME=/usr/share/maven export PGX_HOME=/home/ankursarda/Software/pgx-2.2.1 export PGX_VERSION="2.2.1" export PYTHON_EXEC_VER=/usr/bin/python3.5 if [ -z "$JAVA_HOME" ]; then echo "Need to set JAVA_HOME" exit 1 fi if [ -z "$MAVEN_HOME" ]; then echo "Need to set MAVEN_HOME" exit 1 fi if ...
true
337e952c0e77ac82fa6efbcda621f6f2c172568b
Shell
Eduardo1723/Shell-Script-2021-Lista1
/n3.sh
UTF-8
137
2.96875
3
[]
no_license
#!/bin/bash ls -l DATA="$(date +%Y-%m-%d)" PASTA="/tmp/$DATA" mkdir -p ${PASTA} 2> /dev/null cp * $PASTA echo "$(date +%Y-%m-%d)"
true
2a7e571b80ec0d6b501072581bd2685e04d2ac19
Shell
f1est/proxy
/build_crosscompile_dlink.sh
UTF-8
656
2.671875
3
[]
no_license
#!/bin/sh PROJECTDIR=`pwd` BCM_BUILDROOT=/opt/hndtools-arm-linux-2.6.36-uclibc-4.5.3 ALPHA_BUILDROOT=/opt/hndtools-arm-linux-2.6.36-uclibc-4.5.3 export TPATH_UC=$ALPHA_BUILDROOT export TPATH_KC=$BCM_BUILDROOT export TPATH_UCLIBC=$ALPHA_BUILDROOT export TPATH_LIBTGZ=$ALPHA_BUILDROOT/lib.tgz export PATH=/opt/make-3.81:...
true
c17c525176321385ba324871c09d5088cbcb8cc0
Shell
nileshdhokrat52586/PracticeProblem
/Day5Ass/NumberInWordcase.sh
UTF-8
659
3.71875
4
[]
no_license
#! /bin/bash -x echo "Enter A Single Digit Number " read num case $num in 0) echo "Entered Number is 'ZERO' " ;; 1) echo "Entered Number is 'ONE' " ;; 2) echo "Entered Number is 'TWO' " ;; 3) echo "Entered Number is 'THREE' " ;; 4) echo "Entered Number is ...
true
09be1cdf9d91d551299a79bdd75d0221a88fe8c8
Shell
Chandu2319/Shell_script_practice
/Dictionaryproblems_day8/die_roll.sh
UTF-8
1,403
4.25
4
[]
no_license
#! /bin/bash -x # The die roll is obtained from RANDOM number generator and the results of how # many times each number is cast is stored in a dictionary. #variable declaration declare -a die_roll_count #initialization die_roll_count[1]=0; die_roll_count[2]=0; die_roll_count[3]=0; die_roll_count[4]=0; die_roll_count[5...
true
3b1289c88fe403ed9d440c82ec3c3e4b490e57bd
Shell
stallman-cui/log_analytics
/shell/init.d_etcd
UTF-8
1,706
3.890625
4
[]
no_license
#!/bin/bash ### BEGIN INIT INFO # Provides: etcd # Required-Start: $network $remote_fs $local_fs # Required-Stop: $network $remote_fs $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Stop/start etcd ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:...
true
25bb53413442da094ad49ad1a40892a8b569d5ce
Shell
Iubalus/BashTestDummy_Presentation
/gaspump/states/state_pump_fuel
UTF-8
129
2.734375
3
[]
no_license
#!/bin/bash function state_pump_fuel(){ header "Ready to pump fuel." echo "pumping fuel" CURRENT_STATE=$STATE_PAY }
true
4d2c0832418f38b3105fa902183b8d6e9e1d7cb7
Shell
hallettj/dot-xmonad
/home/bin/theme
UTF-8
677
3.421875
3
[]
no_license
#!/bin/bash set -e if [ "$#" -ne 1 ]; then echo "Usage: $0 <theme>" echo "" echo "The theme given must match a filename in ~/.config/X11/Xresources.avail" fi THEME="$1" CONFIG_DIR="$HOME/.config/X11" THEME_PATH="$CONFIG_DIR/Xresources.d/theme" if [ -L "$THEME_PATH" ]; then rm "$THEME_PATH" fi ln -s "../Xres...
true
9db2c95c22b06c150443440df4ebf11ccaa103ad
Shell
himanshuhastak/dotfiles
/tmux.sh
UTF-8
2,246
3.5
4
[]
no_license
#!/bin/bash # shellcheck disable=SC2086 # Session Name SESSION=$USER SESSIONEXISTS=$(tmux list-sessions | grep $USER) WORK_HOSTLIST="host1 " WORK1_HOSTLIST="host2 host3 " WORK2_HOSTLIST="host4 host5 " shopt -s extglob #Note: there should be no spaces : like '@(host1 | host2)' MINICOM_HOSTS='@(host4|host5)' # Only c...
true
bfd257c42a9a87f597a760ef26c112635c0fb8ce
Shell
gpac/testsuite
/scripts/graphics_dump.sh
UTF-8
1,484
2.890625
3
[]
no_license
graphics_test () { test_begin "graphics-$1" if [ $test_skip = 1 ] ; then return fi dump_file=$TEMP_DIR/dump.png do_test "$GPAC -font-dirs=$EXTERNAL_MEDIA_DIR/fonts/ -rescan-fonts -i $2 -o $dump_file --osize=512x512 --noback" "dump-png" #hash (2D) or test file presence if [ $3 = 1 ] ; then do_hash_test "$dum...
true
a424d122b31ba952d1862b3dff261307371d9f16
Shell
aur-archive/jp2a
/PKGBUILD
UTF-8
523
2.703125
3
[]
no_license
# Contributor: Tim Yang <tdy@gmx.com> # Contributor: Christoph Siegenthaler <csi@gmx.ch> pkgname=jp2a pkgver=1.0.6 pkgrel=3 pkgdesc="A small utility for converting JPG images to ASCII" arch=('i686' 'x86_64') url="http://jp2a.sourceforge.net/" license=('GPL') depends=('curl' 'libjpeg') source=(http://downloads.sourcefor...
true
497949130e3292f149e755d983d125733d278c91
Shell
BIMSBbioinfo/HOT-or-not-examining-the-basis-of-high-occupancy-target-regions
/Scripts/Align_bash/align_DRIP_seq_paired.sh
UTF-8
1,650
2.65625
3
[]
no_license
#!/bin/bash #paths quixpath="~/.guix-profile/bin" bedGraphToBigWigpath="/home/kwreczy/programs" bedtoolspath="/home/kwreczy/programs/bedtools-2.17.0/bin" bbdukpath="/home/kwreczy/programs/bbmap" fastqcpath="/home/kwreczy/programs/FastQC" #bowtiepath="/home/kwreczy/programs/bowtie-1.1.2/" akalindir="/data/akalin/Projec...
true
c0d3297fecf592b61c1633e46f7723ed2b3df645
Shell
kaduk/heimdal
/tests/gss/check-basic.in
UTF-8
5,713
2.703125
3
[ "BSD-3-Clause" ]
permissive
#!/bin/sh # # Copyright (c) 2007 Kungliga Tekniska Högskolan # (Royal Institute of Technology, Stockholm, Sweden). # 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 ...
true
cca6c16df32975650946db3cf8b3e4de77013681
Shell
0atman/lit
/lit.sh
UTF-8
2,220
4.5625
5
[]
no_license
#!/bin/bash # given a filename ending in .md, return the base filename function remove_extension { local file=$1 # file extension .md will always have three characters local extension_length=3 # old file path length local old_length=${#file} # calculate new filename length local new_length=$old_length-$e...
true
da645b23e9d8913633861d478c086a00a5ec819c
Shell
cmap/cmapM
/sig_tools/ext/mtocpp/test.sh
UTF-8
858
3.421875
3
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
#!/bin/bash function doit() { SUFFIX=$1; for MFILE in $FILES do echo "Checking $MFILE ..." MBFILE=`basename $MFILE` CCFILE="${MBFILE%.m}${SUFFIX}.cc" CCREFFILE="${MBFILE%.m}${SUFFIX}_ref.cc" DIFFFILE="${MBFILE%.m}${SUFFIX}.diff" $MTOCPP $MFILE conf$SUFFIX > $CCFILE if di...
true
6abfc3b7d1b848a4c6933bc77ff3222c733a931f
Shell
jimkil/update_git_repositories
/functions-misc.sh
UTF-8
944
4.25
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # Misc functions file show_message(){ # Shows the welcome message figlet "UPDATE GIT" printf "by: sWallyx\n\n" printf "Let me update the repositories for you\n" printf " - - - - - - - - - - - - - - - \n\n" } enter_folder_and_print_inside_exit(){ # Enters the given ...
true
6d4238c729364e51fd9d3db78cc1d1aca6e4a3ea
Shell
rbalzs/m2-cli-aliases
/magento2_cli_aliases.sh
UTF-8
1,202
2.890625
3
[]
no_license
export PROJECT="/home/user/m2project"; alias ws='cd $PROJECT; warden shell -c ' # reindexing alias fre="ws 'bin/magento indexer:reindex'" # DI compile alias fco="ws 'bin/magento setup:di:compile'" # runs a composer install & setup:upgrade alias c="ws 'composer install'" alias fsup="c; ws 'bin/magento setup:upgrade'"...
true