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
adb44d7457ebe71355493e30086e14174765465d
Shell
hce-project/hce-bundle
/src/api/python/manage/dc-daemon_modes.sh
UTF-8
5,487
3.359375
3
[]
no_license
#!/bin/bash #Manage the modes of all periodic processing types and classes if [ "$1" = "" ]; then echo "Usage: $0 < all | crawling | processing | purging | recall | rcrawling | icrawling | recrawling | aging > [ 0 | 1 ]" echo "To get current state of all periodic processes:" echo "$0 all" echo "" echo "To di...
true
d0ed528ee58b1659b97e4bdaf469c9f130a3d165
Shell
lxsang/antix
/packages/mkwpasupplicant.sh
UTF-8
505
2.875
3
[ "MIT" ]
permissive
#! /bin/bash # this package require libressl and libnl set -e . ../env.sh . ../toolchain.sh dir="wpa_supplicant-2.7" cd ${ANTIX_BASE}/source if [ ! -f "${dir}.tar.gz" ]; then # download it wget https://w1.fi/releases/${dir}.tar.gz fi tar xvf ${dir}.tar.gz cd ${dir}/wpa_supplicant cp defconfig .config make -j 8...
true
2872ca79029ecea682f564e46d2e772611a6ff6c
Shell
cfoust/cawnfig
/configs/keynav/install_x
UTF-8
151
2.59375
3
[ "MIT" ]
permissive
#!/bin/bash THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ensure_package "keynav" ensure_link "$THIS_DIR/keynavrc" "$HOME/.keynavrc"
true
9666213480f5d97596ff88bf22b9b4fe75dba222
Shell
nicktelford/auriel
/src/cmd-remove.sh
UTF-8
357
3.234375
3
[]
no_license
#!/usr/bin/env bash # # Removes one or more packages check_help "$1" "remove" require_sudo for pkg in $@ do (process "Removing $pkg" && \ call_git submodule deinit --force "$pkg" && \ call_git rm "$pkg" && \ run "rm -rf $AURIEL_REPO_DIR/.git/modules/$pkg" && \ run "sudo pacman -R ...
true
8f2ba38fd997854fc9df499f088968fc637e34ea
Shell
preesm/preesm-apps
/scripts/preesm_system.sh
UTF-8
3,988
3.96875
4
[]
no_license
#!/bin/bash -u #apt install git cmake make gcc g++ build-essential libsdl2-* xvfb openjdk-8-jdk maven wget p7zip-full ffmpeg function preesm_jdk_version() { local result= local java_cmd if [[ -n $(type -p java) ]] then java_cmd=java elif [[ (-n "$JAVA_HOME") && (-x "$JAVA_HOME/bin/javac") ]] then ...
true
2976741d9819d5f538f96dc3daed437011cd7fce
Shell
vod-ka/kali_upgrade_script
/daliy_upgrade.sh
UTF-8
2,907
3.703125
4
[]
no_license
#!/bin/bash # @Author: Aliao # @Repository: https://github.com/vod-ka # @Date: 2021-03-09 16:10:09 # @Last Modified by: Aliao # @Last Modified time: 2021-03-09 19:29:21 #升级kali系统和清楚旧包 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:~/bin export PATH cutimer=$(date +'%Y%m%d%H%M') cumonth...
true
83b2f108eebc03d957f7057dfef80a14949ff76a
Shell
StamLab/stampipes
/scripts/bwa/aggregate/basic/reset.bash
UTF-8
2,646
3
3
[]
no_license
# Requires LIBRARY_NAME, AGGREGATION_ID, HOTSPOT2_DIR and GENOME to be in the environment # Removes any of the listed files that exist echo "RESETTING AGGREGATION ${AGGREGATION_ID} FOR ${LIBRARY_NAME}" files=( \ "${LIBRARY_NAME}.${GENOME}.sorted.bam" \ "${LIBRARY_NAME}.${GENOME}.sorted.bam.bai" \ "${LIB...
true
4d4c46c07efa886a2a41b078c5d0f3ca8feea2ed
Shell
cherepan/CSCDev
/runDisplay.sh
UTF-8
660
2.90625
3
[]
no_license
plotbase=$1 # run event displays for chamber in "ME11" "nonME11" do for cat in "seg_uf_0_ru_1" "seg_uf_1_ru_0" "seg_uf_1_ru_2" "seg_uf_2_ru_1" "seg_uf_4_ru_4" "rh_uf_5_ru_6" "rh_uf_6_ru_5" do cp /raid/raid8/mhl/CSC_Run2/CMSSW_dev/analysisCode/logs/${cat}"_"${chamber}".txt" /raid/raid8/mhl/CSC_Run2/CMSSW_dev...
true
822a5d2998926399509a8ba1a65051d45df9b83c
Shell
jlaw9/TRI_Dev
/Variants/start_list_variants.sh
UTF-8
4,120
3.859375
4
[]
no_license
#! /bin/bash # GOAL: Run annovar on all of the vcf files in the project, and generate a list of variants #$ -S /bin/bash #$ -cwd #$ -N Get_All_Variants #$ -o results.txt #$ -e errors.txt #$ -V PROJECT_DIR='/rawdata/project_data/Wales_Archived_data2' # This is the directory where I'm still QC multiple runs # There sh...
true
87ed69edd69b24e70b7ec8888499760ac67d3e23
Shell
cherishing99/MiNoPy
/docs/install
UTF-8
362
2.71875
3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#! /bin/bash cd $MINOPY_HOME/minopy/lib; python setup.py echo 'Installing snaphu...'; cd $MINOPY_HOME; wget https://web.stanford.edu/group/radar/softwareandlinks/sw/snaphu/snaphu-v2.0.4.tar.gz tar -xvf snaphu-v2.0.4.tar.gz mv snaphu-v2.0.4 snaphu; rm snaphu-v2.0.4.tar.gz; sed -i 's/\/usr\/local/$(MINOPY_HOME)\/snaphu/g...
true
0d70a93520515dc8d2b573e039af830494aac1d6
Shell
nimmis/docker-spigot
/rootfs/usr/local/bin/build_mc_ver
UTF-8
239
2.65625
3
[]
no_license
#!/bin/bash /usr/local/bin/get_mc_ver $1 if [ -f $SPIGOT_HOME/spigot-$1.jar ]; then echo "Setting $1 as current spigot version" rm -f $SPIGOT_HOME/spigot.jar ln -s $SPIGOT_HOME/spigot-$1.jar $SPIGOT_HOME/spigot.jar fi
true
f2f54391164fa62c66abdc3164d811da48827522
Shell
HybridiSpeksi/hybridispeksi
/scripts/utils.sh
UTF-8
148
2.671875
3
[]
no_license
getCommitHash() { git log --pretty=format:'%h' -n 1 } readonly DOCKER_IMAGE_NAME="hybridispeksi/web" readonly DOCKER_IMAGE_TAG=$(getCommitHash)
true
1216aa30b4306b136eb715685c9da74ee23ba08d
Shell
ansagay/watchman
/travis/run.sh
UTF-8
407
3.015625
3
[ "Apache-2.0" ]
permissive
#!/bin/sh set -x uname -a set -e PATH=$PWD:$PATH ./autogen.sh ./configure --with-pcre --with-python --without-ruby $CONFIGARGS make clean make set +e rm -rf /tmp/watchman* TMPDIR=/var/tmp TMP=/var/tmp export TMPDIR TMP if ! make integration ; then cat /tmp/watchman* exit 1 fi INST_TEST=/tmp/install-test test -d $I...
true
e8c009cb73f793011c29802bd15fa7e5159acffa
Shell
mhousworth/cpsc223N-Assignment-1
/build.sh
UTF-8
1,806
3.59375
4
[]
no_license
#!/bin/bash #In the official documemtation the line above always has to be the first line of any script file. But, students have #told me that script files work correctly without that first line. #Ruler:==1=========2=========3=========4=========5=========6=========7=========8=========9=========0=========1=========2==...
true
235105e6097ba82add208ab80cc8fee3acf3ac80
Shell
einervonvielen/family-scripts
/fotodiary/diary.sh
UTF-8
2,220
4.09375
4
[ "MIT" ]
permissive
#!/bin/bash # apt-get install exiftool if type exiftool >/dev/null 2>&1 ; then echo "ok, exiftool is installed" else echo "Install apt-get install exiftool" exit fi if [ "$1" == "-h" ]; then echo "Create a HTML page (diary) from images" echo "You can use one of the following parameters" echo " " echo " path...
true
1dc490cbb447441ba531f8ab33d2bc646e297223
Shell
iCodeIN/llama
/scripts/lib/wait-for-function
UTF-8
496
3.59375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -eu eval "$(llama config -shell)" func="$1" echo "Sleeping until function is ready..." while :; do status=$(aws --region "$llama_region" --query Configuration.LastUpdateStatus --output text \ lambda get-function --function-name "$func") case "$status" in Successful) ...
true
5eaeb96f8d0a5faedefb800c57939461552124bb
Shell
gangsteel/simple-db-dist
/config/query_running_scripts/run_query.sh
UTF-8
291
2.546875
3
[ "MIT" ]
permissive
#!/bin/bash query=$1 bash ./config/query_running_scripts/run_single_distributed.sh $query echo 'Wait a few seconds before running on SimpleDb' sleep 3 bash ./config/query_running_scripts/run_simpledb.sh $query echo 'Killing all child nodes' bash ./config/killChildNodes.sh echo 'Done'
true
cae6ee585db65c7c234b15c463620ef7e6d92541
Shell
jjo/bin
/mplayer-radioparadise.sh
UTF-8
539
3.34375
3
[]
no_license
#!/bin/sh stream=aac- qual=320 while [ $# -gt 0 ]; do case "$1" in -rock|-mellow|-eclectic|-world) stream=${1#-}-; shift;; -64|-128|-320) qual=${1#-}; shift;; -flac) qual=${1#-}; shift;; *) break;; esac done # Particular case :/ -> [ ${stream}${qual} = "aac-flac" ] && stream="" s...
true
4f33348b7846292065279690fb6ad06fdbca0292
Shell
RobertsLab/code
/20-bismark.sh
UTF-8
7,232
3.921875
4
[]
no_license
#!/bin/bash ## Job Name - can be changed #SBATCH --job-name=BISMARK ## Allocation Definition - confirm correctness #SBATCH --account=coenv #SBATCH --partition=coenv ## Resources ## Nodes (often you will only use 1) #SBATCH --nodes=1 ## Walltime (days-hours:minutes:seconds format) #SBATCH --time=30-00:00:00 ## Memory pe...
true
250814b749ed4aad78d0fc2b2c08af0a9bf7d785
Shell
coveredinc/davinci
/bin/prme
UTF-8
704
3.15625
3
[]
no_license
#!/bin/bash set -euo pipefail repo="$(basename "$(git rev-parse --show-toplevel)")" org="${1:?must set org}" ; shift title="${1:?must set PR title}" ; shift body="${1:-${title}}" ; shift branch="$(git branch-search)" function _url_encode() { python -c "import urllib, sys; print urllib.quote(sys.argv[1])" "$1" } if...
true
6ccdcf80aab86976d6827dc6d1cace1f2131e0f1
Shell
r26D/slack-action
/entrypoint.sh
UTF-8
1,930
3.28125
3
[ "MIT" ]
permissive
#!/bin/bash ##!/bin/sh -l set -e replace_in_file() { local -r key="${1:?key is required}" local -r value="${2:?value is required}" local safe_value=$(echo $value | sed -e 's/[\/&]/\\&/g') local -r filename="${3:?filename is required}" #echo "sed -i -e \"s/$key/$safe_value/\" $filename" sed -i -e "s/$key/$sa...
true
687d6dd00e853f7afe7a77ce87d6b7a14fe0c0f5
Shell
FoodConnectsPeople/foodconnectspeople-tool
/data_sources/scripts/files/check-consistency.sh
UTF-8
3,125
2.890625
3
[]
no_license
#! /bin/sh export LC_ALL=C rm -f u-*.csv tail -n +2 recipe2ingredients.csv | cut -f2 -d"," > u-recipeingredients0.csv tail -n +2 recipe2ingredients.csv | cut -f6 -d"," >> u-recipeingredients0.csv cat u-recipeingredients0.csv | sort | uniq > u-recipeingredients.csv tail -n +2 ingredients.csv | cut -f1 -d"," | sort | ...
true
c9e7b80083511c9668dc289b4f199b866b486f9f
Shell
marafa/openstack-utils
/utils/openstack-service
UTF-8
3,690
3.859375
4
[ "Apache-2.0" ]
permissive
#!/bin/sh # Copyright (C) 2013, Red Hat, Inc. # Lars Kellogg-Stedman <lars@redhat.com> # # 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 # #...
true
9f2513e238c10814639d015bbdf5fd90ba005a8e
Shell
apalpant/formation-devops
/CI-CD/Jenkins/provision_jenkins.sh
UTF-8
2,246
3.15625
3
[]
no_license
#!/bin/sh # On installe le pare-feu apt install ufw # On le met en route ufw --force enable # On lui fixe de nouvelles regles ufw allow ssh ufw allow http ufw allow https ufw allow 8080 # On prepare l'installation de jenkins apt-get install -y gnupg apt-get install -y openjdk-11-jre # On installe jenkins suivant ...
true
4dc93c8ee1a496d46ecad917e7234891bf4c2e1d
Shell
linyimin0812/my-shell
/查看IP.sh
UTF-8
421
3.328125
3
[]
no_license
#! /bin/bash # 查看本地IP, 此方法包含docker对应的IP ifconfig | grep "inet " | grep -Fv "127.0.0.1" | awk '{print $2}' | sed 's/'addr:'//g' # 上面的方法如果存在docker时,也会把docker的IP打印出来,使用ip命令获取真实的IP ([[ ! -z $(type -P ip) ]] && (ip route get 1 | awk '$7!="" {print $7}')) || (ifconfig | grep "inet " | grep -Fv "127.0.0.1" | awk '{print $2}...
true
7233bf7db0ea9f67846fab82baf723fcef8e6060
Shell
lahemi/assigncodement
/Arduino/st7920_datadisplay/mem.sh
UTF-8
678
3.0625
3
[]
no_license
#!/usr/bin/env bash # See: man proc # GPLv2, 2013, Ilkka Jylhä & Lauri Peltomäki data=$(awk 'NR' /proc/meminfo) mt=$(echo -n "$data"|awk '/MemTotal/ {print $2}') mb_f=$(echo -n "$data"|awk '/MemFree/ {print $2}') mb_b=$(echo -n "$data"|awk '/Buffers/ {print $2}') mb_c=$(echo -n "$data"|awk '/^Cached/ {print $2}') #st...
true
e2937def0b228365b153df42d05b32aeb651fc81
Shell
outofcoffee/semver-cli
/release.sh
UTF-8
1,228
3.53125
4
[]
no_license
#!/usr/bin/env bash set -e #set -x CURRENT_VERSION="$( git describe --tags --exact-match )" GITHUB_USER="outofcoffee" GITHUB_REPO="semver-cli" function create_release() { CREATE_RELEASE_REQ=$( cat << EOF { "tag_name": "${CURRENT_VERSION}", "target_commitish": "master", "name": "${CURRENT_VERSION}", "body...
true
00382f27c608dee16c242e8f6e64cc238c8a69ae
Shell
semoho/Linux-Tutorial
/students-assignments/1/Assignment 06/color.sh
UTF-8
185
3.34375
3
[]
no_license
#!/bin/bash echo "Enter color name" read color case $color in black | white ) echo "Pure Colors" ;; "red" ) echo "I like this one" ;; * ) echo "I think $color is also nice" esac
true
07eb4f045b0d19dca6341ac026aa7ccc47cc40be
Shell
nxmatic/multipass-vpnkit
/hack/hyperkit.sh
UTF-8
1,387
3.6875
4
[]
no_license
#!/bin/bash # Idea taken from https://github.com/AlmirKadric-Published/docker-tuntap-osx/blob/master/sbin/docker.hyperkit.tuntap.sh set -o nounset set -o errexit # VPNKit socket vpnkitintf=/var/run/vpnkit.socket # Find index and id of highest network interface argument ethILast=false ethIDLast=false argI=0 while [ ...
true
9ddf89d8e0d9c848d9c7ab20e504cb964a47bdc8
Shell
antv0/archsetup
/archsetup.sh
UTF-8
6,398
3.96875
4
[ "MIT" ]
permissive
#!/bin/sh #mount your drive in /mnt before running this script # -c as option hostname="arch" country="france" #for reflector timezone="Europe/Paris" locale="fr_FR.UTF-8" lang="fr_FR.UTF8" keymap="fr-pc" additional_packages="https://raw.githubusercontent.com/antv0/archsetup/master/packages.txt" use_reflector=false r...
true
1f748d8a2c33e63da92f3860c7c7351fdae07cc2
Shell
lambdasawa/dotfiles
/script/install/starship.sh
UTF-8
198
2.84375
3
[ "MIT" ]
permissive
#!/bin/bash if ! which starship >/dev/null 2>&1; then [ "$(uname)" = Darwin ] && brew install starship [ "$(uname)" = Linux ] && FORCE=1 sh -c "$(curl -fsSL https://starship.rs/install.sh)" fi
true
ed243f26d49574fdf4ad17ad806f3abc88ed7084
Shell
abra7134/ansible-roles
/backups_rclone/templates/opt/backups_rclone.inc.sh.j2
UTF-8
10,136
3.96875
4
[ "MIT" ]
permissive
#!/bin/bash {{ ansible_managed | comment }} ELASTICDUMP_OPTIONS=({{ backups_rclone_elasticdump_options }}) MKSQUASHFS_OPTIONS=({{ backups_rclone_mksquashfs_options }}) MC_OPTIONS=({{ backups_rclone_mc_options }}) MONGODUMP_OPTIONS=({{ backups_rclone_mongodump_options }}) MYSQLDUMP_OPTIONS=({{ backups_rclone_mysqldump...
true
de5498b1fa25160094187a3b02e523f04e29ca44
Shell
crashcoredump/freebsd-desktop
/backupzfs.sh
UTF-8
12,349
3.46875
3
[ "CC0-1.0" ]
permissive
#!/bin/bash # https://wiki.freebsd.org/bhyve/UEFI export MK_PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" export PATH="$MK_PATH" export MK_SCRIPT="$0" export MK_OPTS="$@" # YES to enable debug export PDEBUG="" tolower(){ local msg="$@" echo "${msg^^}" } tolower(){ local msg="$@" ...
true
b4876461a4bd6b147a169b588abb2398dcaeca1a
Shell
pvkc/Online-Grocery-Store-SQLite
/OnlineGroceryStore/stop_gunicorn.sh
UTF-8
88
2.65625
3
[]
no_license
#!/bin/bash PID=/tmp/gunicorn.pid cat $PID | xargs kill if [ -f $PID ] then rm $PID fi
true
d0868cefae9c0b53c79276a71c2ef577b14b7578
Shell
iynaix/dotfiles-old
/bin/bin/git-reword.sh
UTF-8
760
3.828125
4
[]
no_license
#! /bin/bash if [ -z "$1" ]; then echo "No SHA provided. Usage: \"git reword <SHA>\""; exit 1; fi; if [ $(git rev-parse $1) == $(git rev-parse HEAD) ]; then echo "$1 is the current commit on this branch. Use \"git commit --amend\" to reword the current commit."; exit 1; fi; git merge-base --is-ancesto...
true
cd50f2c60178a469fc521e75d2a6524cfc43adf2
Shell
hanslovsky/gnuplot
/janelia/thickness/plot_animation.sh
UTF-8
2,882
3
3
[]
no_license
#!/bin/bash MIN="${MIN:-0}" MAX="${MAX:-1000}" STEP="${STEP:-1}" DIGITS="${#MAX}" N_ZERO_PADDING="${N_ZERO_PADDING:-$DIGITS}" N_WHITESPACE_PADDING="${N_WHITESPACE_PADDING:-$DIGITS}" SOURCE_DIR="${SOURCE_DIR:-fit_coordinates}" TARGET_DIR="${TARGET_DIR:-plot_animation}" SOURCE_FORMAT="$SOURCE_DIR/fitCoordinates_%d.csv" ...
true
10a5c7c670fb340985c6c995d79a6e9a5af2c0a6
Shell
ansonken/jd-1
/docker/default_task.sh
UTF-8
10,953
3.59375
4
[ "MIT" ]
permissive
#!/bin/sh set -e # 放在这个初始化python3环境,目的减小镜像体积,一些不需要使用bot交互的用户可以不用拉体积比较大的镜像 # 在这个任务里面还有初始化还有目的就是为了方便bot更新了新功能的话只需要重启容器就完成更新 function initPythonEnv() { echo "开始安装运行jd_bot需要的python环境及依赖..." apk add --update python3-dev py3-pip py3-cryptography py3-numpy py-pillow echo "开始安装jd_bot依赖..." #测试 #cd /jd_docker/docker/...
true
eff36c210b80a21aa97171511e2a262dee9babf4
Shell
sebhoerl/lead-lyon
/parcels/run_all.sh
UTF-8
1,714
3.140625
3
[]
no_license
## Check for input files INPUT_FILES=" input/activities.csv input/homes.gpkg input/persons.csv input/confluence_areas.gpkg input/rhone-alpes-latest.osm.pbf input/lyon_network.xml.gz " for f in $INPUT_FILES; do if [ ! -f "$f" ]; then echo "Input file missing: $f" exit 1 fi done ## Check osmosi...
true
5dc8f58e702eff7146e1249c5dd2280dabe61450
Shell
sifive/RiscvSpecFormal
/simpleTests.sh
UTF-8
1,160
3.34375
3
[ "Apache-2.0" ]
permissive
#! /usr/bin/env bash # # Example Usage: ./simpleTests.sh '/nettmp/netapp1a/vmurali/riscv-tests/isa/' 'ui' 'add' source common.sh path=$1 [[ $path == '' ]] && error "Error: PATH argument is missing." pre=$2 [[ $pre == '' ]] && error "Error: PRE argument is missing (example 'ui')." test=$3 [[ $test == '' ]] && error ...
true
62a947c92a94de073d1c436eb86145a0d255e913
Shell
lapesd/PSkel-MPPA-Async
/tests/mppaPlotExercise/getSpeedup.sh
UTF-8
364
3.203125
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash DATADIR=$1 APPNAME=$2 CLUSTERBASE=$(head -n 1 $DATADIR/tmpTime${APPNAME}.txt) &> $DATADIR/tmpTimeSpeedup${APPNAME}.txt while read p; do if (( $(bc <<< "$CLUSTERBASE != $p") )); then speedup=$(echo "scale=4;$CLUSTERBASE/$p" | bc) echo " $speedup" >> $DATADIR/tmpTimeSpeedup${APPNAME}.txt ...
true
ad356e79065c61a5b1d605d1ea7ce9c56369947e
Shell
umn-enhs/linux-image-scanning-automation
/image_deskew.sh
UTF-8
1,293
3.796875
4
[]
no_license
#!/bin/bash scan="$1" temptif=`mktemp /tmp/temp-XXXXXXXX` sub_folder=deskew rm -f $temptif temptif="$temptif.tif" if [ -e "${scan}" ]; then scan_folder=`dirname ${scan}` pushd ${scan_folder} > /dev/null scan_folder=`pwd` popd > /dev/null if [ ! -d ${scan_folder}/${sub_folder} ]; then ...
true
11c439956310c61f9722c08f11f695e3ed6013aa
Shell
AlphaBoom9/AlphaBoom
/contrib/initscripts/bsd/novacoin
UTF-8
1,839
3.859375
4
[ "MIT" ]
permissive
#!/bin/sh # PROVIDE: AlphaBoom # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # # AlphaBoom_enable (bool): Set to NO by default. Set this variable to YES if you want to enable AlphaBoom service. # AlphaBoom_config (path): Set to /usr/lo...
true
8cc7294caba7c862549a808c54928a40d9f3f5c3
Shell
emcorrales/bash101
/section2/exer6.bash
UTF-8
550
4.46875
4
[]
no_license
#!/bin/bash # Exercise 6: # # Write a shell script that prompts the user for a name of a file or directory # and reports if it is a regular file, a directory, or other type of file. Also # perform an ls command against the file or directory with the long listing # option. read -p "Please enter the path of a file or d...
true
60104f9acd5274e2a77c8ea79750227042482720
Shell
beevelop/TSHITS
/meta/checks.sh
UTF-8
1,311
3.984375
4
[ "Apache-2.0" ]
permissive
check_udp() { HOST=$1 PORT=$2 nc -uzv $HOST $PORT if [[ $? == 0 ]]; then echo "✅ [UDP-] ${HOST}:${PORT} is reachable" return 0 else echo "📛 [UDP-] ${HOST}:${PORT} is not reachable" return 1 fi } check_tcp() { HOST=$1 PORT=$2 nc -zv $HOST $PORT if [[ $? == 0 ]]; then echo "✅ ...
true
9f47077f0e54d7de23c020b3349c947e47298bee
Shell
twistedmove/jsalt2019-diadet
/egs/jsalt2019-diadet/v2/local/make_chime5_spkdiar_jsalt19_enhanced_dev_eval.sh
UTF-8
1,804
3.390625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Copyright # 2019 Johns Hopkins University (Author: Jesus Villalba) # Apache 2.0. # Make lists for JSALT19 worshop speaker diarization # for CHiMe5 dataset set -e if [ $# != 3 ]; then echo "$0 <wav-path> <list-path> <output_path>" exit 1 fi train_mics="PXX U01 U02 U03 U04 U05 ...
true
d3f856bd7b0cc94a29def8cca29c0ba1951f24e6
Shell
metrilyx/metrilyx-dataserver
/etc/init.d/metrilyx-dataserver
UTF-8
2,302
4.125
4
[ "Apache-2.0" ]
permissive
#!/bin/sh # # description: Metrilyx Data Server. This provides data via websockets. # [ -f "/etc/rc.d/init.d/functions" ] && . /etc/rc.d/init.d/functions [ -f "/etc/sysconfig/metrilyx" ] && . /etc/sysconfig/metrilyx PGREP="/usr/bin/pgrep -f" NAME="metrilyx-dataserver" METRILYX_HOME="/opt/metrilyx" BIN=${METRILYX_HO...
true
a577cecf4a548991d1b38098fea9534f8cf1e270
Shell
pkhuong/app_jetex
/server/s/build
UTF-8
3,939
3.359375
3
[ "BSD-2-Clause" ]
permissive
#!/bin/bash set -e OUT="libjetex_server.so"; SRC="src shared utility"; VENDOR=""; LIBS="-lpthread -lm -ldl"; CC="${CC:-cc}"; CCACHE="${CCACHE:-$(if which ccache > /dev/null 2> /dev/null; then echo ccache; fi)}"; NCPU="${NCPU:-$(grep -c -E '^processor\s+:' /proc/cpuinfo)}"; SYMBOLS=$(awk '{ if (NR == 1) printf("%s", $1...
true
da6ae73afc86ed1ab97511042417cbf3cbd6444e
Shell
jaylyerly/Python-aux
/build_libpng.sh
UTF-8
3,410
2.96875
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # Required with Xcode 12 beta: export M4=$(xcrun -f m4) OSX_SDKROOT=$(xcrun --sdk macosx --show-sdk-path) IOS_SDKROOT=$(xcrun --sdk iphoneos --show-sdk-path) SIM_SDKROOT=$(xcrun --sdk iphonesimulator --show-sdk-path) curl -OL https://download.sourceforge.net/libpng/libpng-1.6.37.tar.gz tar xzf libpng-1.6....
true
6a26ed8ba184b05049d2fc6d93c1d92434461ffb
Shell
THAO1999/Linux
/ÔN----/Linux_2018_2019/Midterm/bai2.sh
UTF-8
269
3.4375
3
[]
no_license
#!/bin/bash nt() { a=$1 b=`expr $a / 2 ` for ((i=2; i<=b; i++)) do c=`expr $a % $i` if [ $c -eq 0 ] then return 1 else return 0 fi done } check() { var=$@ for va in $var do nt $va if [ $? -eq 0 ] then echo "$va" fi done } echo "Cac so nt la: " check $@
true
0439a311011c266ba9c960de0ea8b219d311fb0b
Shell
colis-anr/colis-language
/tests/test_e.sh
UTF-8
176
3.125
3
[]
no_license
if test -e '/bin'; then echo '/bin exists' else echo '/bin does not exist' fi if [ -e '/home' ]; then echo '/home exists' else echo '/home does not exist' fi
true
0b67bd0cfea84a78186de3e1e5741596b1b8e96e
Shell
alexjh/buildpacks-ci
/tasks/create-bosh-release/run.sh
UTF-8
907
3.5625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash -l set -o errexit set -o nounset set -o pipefail set -x version=$(cat version/number) pushd "$RELEASE_DIR" if [ -n "${SECRET_ACCESS_KEY:+1}" ]; then echo "creating private.yml..." cat > config/private.yml <<EOF --- blobstore: s3: access_key_id: $ACCESS_KEY_ID secret_access_key: $SECRET_AC...
true
b9e9f3e0a4769cf0f6d397c7e3d5352b60e24a34
Shell
tezizzm/dotnet-pipelines
/concourse-tasks/generate-version/task.sh
UTF-8
1,006
3.03125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -o errexit set -o errtrace ROOT_FOLDER="$( pwd )" PIPELINE_RESOURCE=dotnet-pipelines TASK_SCRIPTS_RESOURCE="${PIPELINE_RESOURCE}/scripts" CONCOURSE_TASKS_RESOURCE="${PIPELINE_RESOURCE}/concourse-tasks" SRC_VERSION_RESOURCE=src-version KEYVAL_RESOURCE=keyval KEYVALOUTPUT_RESOURCE=keyvalout ###########...
true
e9ed3cdc55129a217305dc50acc37c93f1cb6eb4
Shell
siollb/e-comBox_scriptsMacOS
/install_docker_docker-compose.sh
UTF-8
1,243
3.390625
3
[]
no_license
#!/bin/sh # Ce script lance des scripts qui automatise l'installation de Docker et Docker-Compose # Couleurs COLTITRE="\033[1;35m" # Rose COLPARTIE="\033[1;34m" # Bleu COLTXT="\033[0;37m" # Gris COLCHOIX="\033[1;33m" # Jaune COLDEFAUT="\033[0;33m" # Brun-jaune COLSAISIE="\033[1;32m" # Vert COLCMD="\033[1;37...
true
db75e735776a9677ff94f96a1807d7da80928aa2
Shell
hato-lab/kidney-endotoxin-sepsis-timeline-featureplot
/prepare.sh
UTF-8
387
2.8125
3
[ "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash set -euo pipefail # This script downloads the necessary R data object file from GEO. # Download and gunzip the R data object from GEO. mkdir -p data wget -O /dev/stdout ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE151nnn/GSE151658/suppl/GSE151658%5Fintegrated%2E0h%2E1h%5F4h%5F16h%5F27h%5F36h%5F48h%2Er...
true
2fa23bf46abed90c0a259cda2a4dc02020af524c
Shell
jonathanwillett/dotfiles
/helpers/gpg-agent.sh
UTF-8
371
3.46875
3
[ "MIT" ]
permissive
#!/bin/bash # Only attempt to setup the gpg-agent if we're not on an SSH connection if [ -z "${SSH_CONNECTION}" ]; then # Set GPG TTY export GPG_TTY=$(tty) # Start the gpg-agent if not already running gpg-connect-agent /bye >/dev/null 3>&1 # Set SSH to use gpg-agent unset SSH_AGENT_PID export SSH_AUTH_...
true
de1216d05316e94b8eee998c5c586ba61f098fe7
Shell
Bubblemelon/scripts
/wpa-connect.sh
UTF-8
293
3.046875
3
[]
no_license
#!/bin/bash echo "wpa -- cancel systemd stuff" echo "revert -- have the system as was before" case $1 "wpa") sudo systemctl stop NetworkManager sudo systemctl stop systemd-networkd "revert) sudo systemctl start NetworkManager sudo systemctl enable system-networkd ) exit esac
true
c5cea41de7ebec5e8b1522fde7f83cf57ee290fa
Shell
colorfulberry/notes
/script/backupSystem.sh
UTF-8
168
2.8125
3
[]
no_license
#!/bin/bash backdir="/etc /home /root /var/spool/mail" basedir=/backup [! -d "$basedir"] && mkdir $backdir backfile=$basedir/backup.tar.gz tar -zcvf $backfile $backdir
true
f6c9843b1c2b6776edf5b0abb42292c3dd5119a3
Shell
ppx17/advent-of-code
/2018/rust/rustc
UTF-8
383
2.578125
3
[]
no_license
#!/bin/bash docker run --rm \ --volume=$(realpath .):/opt/advent/rust \ --volume=$(realpath ../input):/opt/advent/input \ --volume=$(realpath ../expected):/opt/advent/expected \ -w /opt/advent/rust \ -ti \ rust:latest \ rustc "$@" if [...
true
ae8b21ecb8fa36f2071a6565df7a9022fc77d541
Shell
SpenceKonde/ReleaseScripts
/build_megaTinyCore.sh
UTF-8
5,592
3.65625
4
[]
no_license
#!/bin/bash ########################################################## ## ## ## Shell script for generating a boards manager release ## ## Created by MCUdude ## ## Requires wget, jq and a bash environment ## ## ...
true
6c99fc61aa5ddef15d3041cfdbb6ef62ca8e047d
Shell
termux/termux-packages
/packages/pcaudiolib/build.sh
UTF-8
967
3.140625
3
[ "Apache-2.0" ]
permissive
TERMUX_PKG_HOMEPAGE=https://github.com/espeak-ng/pcaudiolib TERMUX_PKG_DESCRIPTION="Portable C Audio Library" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=1.2 TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://github.com/espeak-ng/pcaudiolib/archive/$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_...
true
8f300391ab1884b4c8561c43bbb3ec23727306dd
Shell
Hamdih4/scripts
/common/print.sh
UTF-8
547
3.640625
4
[]
no_license
#!bin/bash ############### # Print Error # ############### function print_error { msg=$1 tput setaf 1; echo ${msg} tput sgr0; } ##################### # Print Fatal Error # ##################### function print_fatal_error { msg=$1 print_error "$msg" exit 1; } ############## # Print Text # ##########...
true
5497d058abbfce1752bf83c2dd87b12a504dca53
Shell
KiLJ4EdeN/Cpp_Tutorial
/src/ComputerVision/OpenCV/install_opencv.sh
UTF-8
1,607
2.90625
3
[ "MIT" ]
permissive
# install dependencies first sudo dnf install epel-release git gcc gcc-c++ cmake3 qt5-qtbase-devel \ python3 python3-devel python3-pip cmake python3-devel python3-numpy \ gtk2-devel libpng-devel jasper-devel openexr-devel libwebp-devel \ libjpeg-turbo-devel libtiff-devel tbb-devel libv4l-devel \ eigen3-...
true
49e70e41d9f4ee7729760fc42290d14befffc114
Shell
kinghows/dbdb.io
/restartdb.sh
UTF-8
903
3.359375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash if [[ $# -ne 1 ]]; then printf '\nusage: restartdb.sh <user>\n' printf '\nuser: username for mysql\n' exit fi printf '\nDropping database..\n' mysqladmin drop -u $1 -p dbdb_io printf '\nCreating database..\n' mysqladmin create -u $1 -p dbdb_io printf '\nDeleting migrations..\n' cd sy...
true
57371381ef9b82437940bbcd384b6b7ca5e5fc4a
Shell
barionleg/rut_rac_ker-download-scripts
/rutracker-catalog-magnet.sh
UTF-8
3,677
3.859375
4
[]
no_license
#!/usr/bin/env bash export LC_ALL=C # rutracker-catalog-magnet # Create list with magnet url's from custom category ID # Usage : sh rutracker-catalog-magnet.sh <ID_CATEGORY> # # Copyright (c) 2018 Denis Guriyanov <denisguriyanov@gmail.com> # Variables #################################################################...
true
2bbbe2745bd187de8c01dadf31ec113151806f12
Shell
CirculoSiete/adoptopenjdk-wait-for-it
/build.sh
UTF-8
227
2.578125
3
[]
no_license
#!/usr/bin/env bash VER=$(grep "version" image.properties|cut -d'=' -f2) && \ docker build -t circulo7/adoptopenjdk-w4i:$VER . && \ git release $VER && \ docker push circulo7/adoptopenjdk-w4i:$VER && \ echo "done"
true
9728f79865d8f02c4fcbb2cf4884c64ffe98f43f
Shell
hathitrust/ingest_helpers
/ingest_fixers/update_checksum.sh
UTF-8
255
2.75
3
[]
no_license
VOLUMES=$@ for id in $VOLUMES; do grep -v meta.yml $id/checksum.md5 > $id/checksum.new; mv $id/checksum.new $id/checksum.md5; md5sum $id/meta.yml >> $id/checksum.md5; done for id in $VOLUMES; do echo $id; zip $id.zip $id/meta.yml $id/checksum.md5; done
true
42c0fd4ce0d421eb518908c390d2324b0bfbaf57
Shell
yrachid/roman-numerals
/scripts/src/main/bash/run.sh
UTF-8
1,040
3.703125
4
[]
no_license
#!/bin/bash -eu readonly SOURCE_LOCATION="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" readonly RESOURCES_LOCATION="${SOURCE_LOCATION}/../resources" readonly EXECUTION_MODE=${1} readonly CONTEXT_PATH=${2} readonly INPUT_OPTION=${3} readonly ARABIC_TO_ROMAN_INPUT_OPTION=$(cat "${RESOURCES_LOCATION}/...
true
eeb30532cec6ce670318afbc704abda0cbf02107
Shell
sarahpeiffer/Docker-Provider
/sarah-test-deployment/ServiceGroupRoot/Scripts/pushAgentToAcr.sh
UTF-8
1,964
3.671875
4
[ "MIT" ]
permissive
#!/bin/bash set -e # Note - This script used in the pipeline as inline script # These are plain pipeline variable which can be modified anyone in the team # AGENT_RELEASE=ciprod # AGENT_IMAGE_TAG_SUFFIX=08202021 #Name of the ACR for ciprod & cidev images ACR_NAME=containerinsightsprod LINUX_AGENT_IMAGE_FULL_PATH=${A...
true
4c4b0d03fa29023a9b8e246be3a6c3280f87efff
Shell
cfengine/masterfiles
/templates/federated_reporting/transport.sh
UTF-8
3,837
4.1875
4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash # # Transport dump files from the feeder hubs to the superhub. # # Can be run as: # transport.sh # On a feeder hub, pushes dump files to the superhub. # transport.sh push # The same as with no arguments. # transport.sh pull FEEDER_HUB [FEEDER_HUB2...FEEDER_HUBn] # On the superh...
true
00a1393c64195e1fd72dbbb3208abff4519cc70e
Shell
JT5D/AppleTree
/Applescripts/ocefpaf-shell/toolsui-java.sh
UTF-8
443
2.625
3
[]
no_license
#!/bin/bash # toolsui-java # # purpose: # author: Filipe P. A. Fernandes # e-mail: ocefpaf@gmail.com # web: http://ocefpaf.tiddlyspot.com/ # date: 02-Jan-10 # modified: 02-Jan-10 # # obs: # # check dependencies commds=( java ) for commd in ${commds[@]}; do if [[ -z $( type -p ${commd} ) ]]; then ...
true
21ae6cf1046e8ecf4d29365458ce4a562515d9bc
Shell
sthaid/proj_reversi
/android-project/.archive/do_create_ic_launcher
UTF-8
669
2.8125
3
[ "MIT" ]
permissive
#!/bin/bash # set directory variables TOP=`pwd` SDL_DIR=$TOP/SDL2-2.0.12 BUILD=$SDL_DIR/build/org.sthaid.reversi # create the launcher icon echo "Creating launcher icons" set -x cd $BUILD/app/src/main/res pwd gcc -Wall `sdl2-config --cflags` -lSDL2 -lSDL2_ttf -lpng -o create_ic_launcher \ ../../../../../../../se...
true
d6556abd74ebd3983678ab47b815a8d75fa0e194
Shell
arduino-libraries/azure-iot-sdks
/build/linux_node.sh
UTF-8
902
3.484375
3
[ "MIT" ]
permissive
#!/bin/bash # Copyright (c) Microsoft. All rights reserved. # Licensed under the MIT license. See LICENSE file in the project root for full license information. build_root=$(cd "$(dirname "$0")/.." && pwd) cd $build_root/node # Set up links in the npm cache to ensure we're exercising all the code in # the repo, rathe...
true
8e60f41429fbf0da2515acc260f813bab0831fa5
Shell
ddkclaudio/qb_install
/xercesc.sh
UTF-8
529
2.9375
3
[]
no_license
# INSTALACAO DE DEPENDENCIAS sudo apt-get install build-essential cmake wget make tar sudo apt-get install build-essential g++ python-dev autotools-dev libicu-dev build-essential libbz2-dev libxml2 git # CLONANDO SOURCE SOURCE_FOLDER="SOURCE_FOLDER" mkdir -p $SOURCE_FOLDER && cd $SOURCE_FOLDER wget https://archive.apa...
true
9efbc87e5d94f35c2be0e5bc86f6b882cc43b81b
Shell
mare-imbrium/film-wiki
/wiki/src/extract_directors_links.sh
UTF-8
1,429
3.921875
4
[]
no_license
#!/usr/bin/env bash #=============================================================================== # # FILE: extract_directors_links.sh # # USAGE: ./extract_directors_links.sh # # DESCRIPTION: from a film file, extract the directors section and get the links. # the cssselector is...
true
beace49a68f9c66ba77656192421b4bcfa4c15df
Shell
roidayan/ovs-tests
/test-tc-vxlan-meter.sh
UTF-8
5,621
2.921875
3
[]
no_license
#!/bin/bash # # Test act_police action. # Bug SW #2707092, metering doesn't work before version xx.31.0354 xx.32.0114 my_dir="$(dirname "$0")" . $my_dir/common.sh min_nic_cx6 require_module act_police require_remote_server IP=1.1.1.7 REMOTE=1.1.1.8 LOCAL_TUN=7.7.7.7 REMOTE_IP=7.7.7.8 VXLAN_ID=42 DSTPORT=4789 VXLA...
true
72f3233b7095486653f9aa9c142abd07a8371c8c
Shell
lilin5819/mintenv
/install.sh
UTF-8
7,604
3.03125
3
[]
no_license
#!/bin/bash # Author:lilin # email:1657301947@qq.com # github:https://github.com/lilin5819/mintenv function configMirrors() { sudo cp -f etc/apt/sources.list.d/official-package-repositories.list /etc/apt/sources.list.d sudo dpkg --add-architecture i386 echo "update mirrors,waiting for a while......" su...
true
cfa8f198d01009c67adb490291130b82d40e2051
Shell
Azure-Samples/azure-intelligent-edge-patterns
/Research/kubeflow-on-azure-stack-lab/04-KFServing/tensorflow_runme.sh
UTF-8
868
2.71875
3
[ "MIT" ]
permissive
#!/bin/bash kubectl create -f tensorflow_flowers.yaml -n kfserving-test echo give the inferenceservice time to create the pods... sleep 5 export INGRESS_HOST=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.status.loadBalancer.ingress[0].ip}') export INGRESS_PORT=$(kubectl -n istio-system ge...
true
acd88374a8c102005ac8a624854b5f222b493892
Shell
elftech/vmware-code
/shell/trap_ignore.sh
UTF-8
459
3.46875
3
[]
no_license
#!/bin/bash trap "" 1 2 3 15 LOOP=0 my_exit() { echo "Received interrupt on count $LOOP" echo "Now exiting..." exit 1 } LOOP=0 while : do LOOP=`expr $LOOP + 1` echo "critical processing..$LOOP..you cannot interrupt me" sleep 1 if [ "$LOOP" -eq 6 ];then break fi done LOOP=0 trap "my_exit" 1 2 3 15 while : ...
true
ae24adf6643b39cb18a4491be10194c451252ccf
Shell
binhonglee/RandomScripts
/cleanOldNodeVersions.sh
UTF-8
526
3.671875
4
[]
no_license
#!/bin/bash export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" input="tempNodeVer.txt" if [ $(uname) == "Darwin" ]; then command="gsed" else command="sed" fi nvm ls | $command -r "s/\x1B\[[0-9;]*[JKmsu]//g" > $input end="no" while read -r line && [ "$end" = "no" ]; do toUninstall=`echo ...
true
9e18c093f7c0e15c0e781037637e54e0359de285
Shell
kdave/xfstests
/tests/generic/338
UTF-8
1,341
3.125
3
[]
no_license
#! /bin/bash # SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016 Red Hat Inc., All Rights Reserved. # # FS QA Test 338 # # Test I/O on dm error device. # # Motivated by an ext4 bug that crashes kernel on error path when trying to # update atime. # . ./common/preamble _begin_fstest auto quick rw eio # Override the...
true
bb6bb9d0ef94c2794840ab1ec76a6e3cce514471
Shell
rolfposchmann/linux-theme
/install_theme.sh
UTF-8
625
2.671875
3
[]
no_license
#!/bin/bash #chmod u+x install_theme.sh mkdir -p ~/bin echo "export PATH=$PATH:$HOME/bin" >> ~/.profile source ~/.profile #arc-theme installieren sudo apt update sudo apt install arc-theme #numix circle icons hinzufügen sudo add-apt-repository ppa:numix/ppa sudo apt update sudo apt install numix-icon-theme-circle ...
true
30ed51f867c3ff40cf480c005d923f7661d29466
Shell
morristech/dotfiles-37
/.zshrc
UTF-8
3,930
2.859375
3
[]
no_license
## # cloudhead - .zshrc # xset r rate 180 40 # Sane repeat rate xset -b # No bell xset -dpms # Keep screen on at all times xset s off # xset m 7/5 0 # Pointer settings setxkbmap us -variant altgr-...
true
cf4ede432597fda6580a873551ae5e080448b40d
Shell
csg001/clang-stm32
/cmake.sh
UTF-8
1,105
2.921875
3
[]
no_license
#! /bin/bash function clean() { rm -rf build mkdir build } function cmake_all_debug() { cd build time cmake -GNinja -DCMAKE_BUILD_TYPE=debug -D CMAKE_TOOLCHAIN_FILE=cmake/toolchain-arm-none-eabi.cmake -D COMPILER="clang" .. #cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D CMAKE_TO...
true
fddfbed474b2cbf28b4c2b9dfd4d6844fef4ac01
Shell
xxhank/Automator
/run-click.sh
UTF-8
1,818
3.390625
3
[]
no_license
#!/usr/bin/env sh mode=$1 if [[ ! -z $mode ]]; then mode=" -m $mode" fi # 进入程序 #./cliclick $mode c:1419,584 # w:1000 c:345,862.5 if [[ $mode != "test" ]]; then echo "进入程序" osascript ./bringAppToFront.scpt || exit 1 sleep 1 fi function random_value(){ min=$1 max=$2 echo $(( RANDOM % (`expr ...
true
89ff4f897e13d7f7b4d1d1cb6c0a0cc434e9ea0b
Shell
ChefIronBelly/BSD-Configs
/open/home/.bin/ufetch
UTF-8
1,380
3.484375
3
[]
no_license
#!/bin/sh # # ufetch-openbsd - tiny system info for openbsd # ## INFO # user is already defined HOST="$(hostname)" OS="$(uname -sr)" KERNEL="$(uname -v)" UPTIME="$(uptime | awk -F, '{sub(".*up ",x,$1);print $1}' | sed -e 's/^[ \t]*//')" PACKAGES="$(pkg_info -A | wc -l | sed -e 's/^[ \t]*//')" # shell is already defin...
true
2a3e814fc0670e94a2cfc972b6490b7769b6bc3d
Shell
adryd325/dotfiles
/legacy/personal/_install/30-pnpm.sh
UTF-8
307
2.984375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # shellcheck source=../../../constants.sh [[ -z "${AR_DIR}" ]] && echo "Please set AR_DIR in your environment" && exit 0; source "${AR_DIR}"/constants.sh ar_os AR_MODULE="pnpm" if [[ "${AR_OS}" = "darwin_macos" ]]; then log info "Installing pnpm" npm install -g pnpm --silent fi
true
8d91dc7ddd63a30df821e51d4822da1e870fa8d3
Shell
rskumar/sourcegraph
/dev/circle-release-sourcemaps.sh
UTF-8
518
2.875
3
[]
no_license
#!/bin/bash set -ex VERSION=$1 # release sourcemaps for Splunk JavaScript logging rm -rf sourcemaps && mkdir -p sourcemaps/assets cp -R app/node_modules/* sourcemaps/ cp -R app/web_modules/* sourcemaps/ cp -R app/assets/*.map sourcemaps/assets/ tar -czf "sourcemaps-$VERSION.tar.gz" -C sourcemaps . echo $GCLOUD_SERV...
true
61159c56042fa69ae95e466e936ca412e14c104a
Shell
rndsolutions/hawkcd
/Server/hawkcd.sh
UTF-8
3,697
3.546875
4
[ "Apache-2.0" ]
permissive
# Copyright (C) 2016 R&D Solutions Ltd. # # 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...
true
757d103d67f575de4b91621138fe3eecf1a57ee4
Shell
felipebelucena/eventex
/scripts/setup-env.sh
UTF-8
656
2.71875
3
[]
no_license
#!/bin/bash # install pyenv curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash echo >> ~/.bashrc echo 'export PATH="/home/vagrant/.pyenv/bin:$PATH"' >> ~/.bashrc echo 'eval "$(pyenv init -)"' >> ~/.bashrc echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc export PATH=...
true
7bac904ed57667297731606171964272a4955bd3
Shell
Diaradougou/kbash
/setup/component/commands/.scope.sh
UTF-8
198
2.875
3
[]
no_license
#!/bin/bash # Not-used ENTRYPOINT_scope_usage() { echo "<<DESCRIBE ANY OPTIONS FOR THIS SCOPE>>" } ENTRYPOINT_scope_help() { printf "`cat << EOF ENTRYPOINT COMPONENT_NAME commands EOF `\n\n" }
true
ebc808f7d0f4b866a6ec20c6f7b0699dde1ef488
Shell
rbogusze/oracleinfrastructure
/scripto/oracle/setup/oracle_setup.wrap
UTF-8
80,196
3.71875
4
[]
no_license
#!/bin/bash #$Id: oracle_setup.wrap,v 1.1 2012-05-07 13:48:38 remik Exp $ # # This is a script to run blocks of task (not related to each other) that are often performed on # database hosts. These are usually simple things that I am tired to do again and again. # # This script will perform checks and action with accord...
true
81f4f1c675869530dc31e3121269b3e652b249f2
Shell
AkshithGit/awsCLI
/kinesisStream_randomPuts.sh
UTF-8
1,706
4.1875
4
[]
no_license
#!/bin/bash ## This script will create random data into a Kinesis stream ## Still To do: #1 Fix Word3 to have a bigger data entry #2 Have the entries written in a format such as CSV or JSON #3 Better understand the partition key and how to use it correctly # Function for the randomWord randomWord(){ shuf -n1 ...
true
4ad2a366979864bf5d7bf31bd6705ca77f85a9ee
Shell
Igorjan94/CF
/scripts/cloneRep.sh
UTF-8
175
3.140625
3
[]
no_license
#!/usr/bin/env bash if [ -z "$1" ]; then echo "Rep isn't set"; exit 1; fi surname=$(findSurname.py "$1") git clone "$1" "$surname" && cd "$surname" && buildHere.sh
true
3c58f5fdb22cb46362135c53470a946199dd5f6b
Shell
jxsr713/coding
/tools/ddt_clr_tmp_config_files.sh
UTF-8
818
2.5625
3
[]
no_license
######################################################################### # File Name: .sh # Author: jxsr713 # mail: jxsr713@163.com # sync km iommu code: saf driver and cli tool # Created Time: 2021年06月09日 星期三 15时10分45秒 ######################################################################### #!/bin/bash #++++++++++...
true
8287a5d12f12e147c3ba9f9393905105d9eeaa27
Shell
donaldguy/2017-dotfiles
/zshrc.d/functions/osx.zsh
UTF-8
261
2.953125
3
[]
no_license
function toggle_desktop() { shown=$(defaults read com.apple.finder CreateDesktop) if [ $shown = "true" ]; then defaults write com.apple.finder CreateDesktop 'false' else defaults write com.apple.finder CreateDesktop 'true' fi killall Finder }
true
e52cf60d7e9fbd814a3430d8c92480aa0df40757
Shell
marquisXuan/configuration
/linux/install/centos-7/docker/docker-spring-boot.sh
UTF-8
1,262
3.6875
4
[]
no_license
#!/bin/bash _path=$1 _container_name=$2 _env=$3 DOCKER_CONTAINER_NAME=spring-boot-images DOCKER_IMAGES=$(docker images | grep spring-boot-images | awk '{print $1}') if [ -z "$DOCKER_IMAGES" ]; then __path=/srv/docker/java/base mkdir -p $__path && cd $__path echo "RlJPTSBvcGVuamRrOjgKRU5WIEpBVkFfT1BUSU9OU...
true
ed645dfdf2e3c0b91a824ea9bd7f11f5f22cab90
Shell
ef37/operations-puppet
/modules/role/files/toollabs/fetch-worker.bash
UTF-8
500
3.296875
3
[]
no_license
#!/bin/bash # Simple script that only downloads kubelet/kube-proxy # Useful for first run scenarios set -o errexit set -o nounset # TODO: Add error checking (baaaaassshhhhh) URL_PREFIX="${1:?URL_PREFIX is required}" VERSION="${2:?VERSION is required}" # Download the new things! wget -O /usr/local/bin/kubelet $URL_PRE...
true
f126ea91ed15f026041803c2d9d5f43856fdf430
Shell
jwiegley/scripts
/b2-restic
UTF-8
6,070
3.59375
4
[]
no_license
#!/bin/bash if [[ "$1" == "--passwords" ]]; then source $2 shift 2 fi POOL="$1" shift 1 export PATH=$HOME/.nix-profile/bin:$PATH if [[ -z "$RESTIC_PASSWORD" ]]; then export RESTIC_PASSWORD_COMMAND="pass show Passwords/restic" else unset RESTIC_PASSWORD_COMMAND fi if [[ -z "$AWS_ACCESS_KEY_ID" ]]; t...
true
d4199c15411e092e1e262a6c393ef36b0e660811
Shell
indaco/predix-ec-configurator-vagrant
/scripts/provision.sh
UTF-8
4,308
3.28125
3
[]
no_license
#!/bin/bash set -o errexit echo '>>> Setting up ECDemo Vagrant Box' # Assign permissions to "vagrant" user sudo chown -R vagrant /usr/local # Updating the system sudo apt-get -y update ### Installing Git echo '>>> Installing Git' sudo apt-get install -y git git config --global user.name "Admin" git config --global...
true
45af512aae510d78e75abae83de3b356cc4acacd
Shell
joebass85/awesome.config
/.bashrc
UTF-8
2,720
2.703125
3
[]
no_license
# # ~/.bashrc # If not running interactively, don't do anything [[ $- != *i* ]] && return export HISTCONTROL=ignoreboth:erasedups PS1='[\u@\h \W]\$ ' if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin/sh:$PATH" fi #list alias ls='ls --color=auto' alias la='ls -a' alias ll='ls -AlF' alias l='ls' alias l.="ls -A | egrep '...
true