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
7eec85072c3e2d556dd28fbd6b3d53048a99f090
Shell
akiljames83/linux_shell
/localusers/first-section/test.sh
UTF-8
126
2.921875
3
[]
no_license
#!/bin/bash COUNT=0 while read line do #COUNT=$((COUNT+1)) #if [ "${COUNT}" = "10" ] #then echo $line #fi done < "file.txt"
true
4139da769124e5d2c054fc9660cd90556615c362
Shell
nsfabina/gcrmn-benthic-classification
/gcrmnbc/data_acquisition/download_global_feature_quads.sh
UTF-8
267
2.5625
3
[]
no_license
#!/usr/bin/env bash DIR_DEST='/scratch/nfabina/gcrmn-benthic-classification/global_data' if [[ ! -d "${DIR_DEST}" ]]; then mkdir -p "${DIR_DEST}" fi gsutil -m cp -n -r "gs://coral-atlas-data-share/coral_reefs_2018_visual_v1_mosaic/**/L15-*.tif" "${DIR_DEST}"
true
9488067ee9a60cf53c05ce821223126b6155db11
Shell
chrisgeo/yeti
/scripts/bootstrap.sh
UTF-8
504
3.125
3
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
#!/bin/sh # Requires Mac OS X. [ ! -e /usr/local/.git ] && echo "Installing homebrew." \ && ruby -e "$(curl -fsS http://gist.github.com/raw/323731/install_homebrew.rb)" echo "Installing node, npm, etc." brew install node # Homebrew's npm install is horribly broken, again [ -f "$(which npm 2>/dev/null)" ] || cur...
true
59b639f3638f9fc15fa87ef93b14fe8edace9792
Shell
Appdynamics/apigee-monitoring-extension
/analytics/analytics_events.sh
UTF-8
5,559
3.3125
3
[ "Apache-2.0" ]
permissive
#!/bin/sh #Send Analytics Events to AppD schema_template="analytics/schema.json" markerfile="analytics/schema.markerfile" # The existence of this file will prevent the creation of a new schema. Delete it if a new schema is required. biq_request_payload="biq_request_payload.json" schema_name=$(jq -r '.analytics_detai...
true
1f2893cd74d9d1cc63209bfe1851afe2e06bbb96
Shell
jukylin/k3s
/scripts/build
UTF-8
1,976
3.078125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e -x source $(dirname $0)/version.sh cd $(dirname $0)/.. LDFLAGS="-X github.com/rancher/k3s/pkg/version.Version=$VERSION -X github.com/rancher/k3s/pkg/version.GitCommit=${COMMIT:0:8} -w -s" STATIC="-extldflags '-static'" STATIC_SQLITE="-extldflags '-static -lm -ldl -lz -lpthread'" TAGS="ctrd apparmo...
true
2581773d858ced3c1eb489610723054af42e1e76
Shell
WangHL0927/grafana
/scripts/build/build.sh
UTF-8
4,025
3.671875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # shellcheck disable=SC2086 # # This script is executed from within the container. # set -e ########## CCARMV6=/opt/rpi-tools/arm-bcm2708/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc CCARMV7=arm-linux-gnueabihf-gcc CCARMV7_MUSL=/tmp/arm-linux-musleabihf-cross/bin/arm-linux-musleabihf-gcc CCARM64=aar...
true
8e344e2603322275df4c3752b10bd1c8aede6c98
Shell
pnlbwh/pnlutil
/scripts-util/transpose.sh
UTF-8
936
3.921875
4
[]
no_license
#!/bin/bash -eu transpose() { awk ' BEGIN { FS=OFS=" " } { for (rowNr=1;rowNr<=NF;rowNr++) { cell[rowNr,NR] = $rowNr } maxRows = (NF > maxRows ? NF : maxRows) maxCols = NR } END { for (rowNr=1;rowNr<=maxRows;rowNr++) { for (colNr=1;colNr<=maxCols;colNr++) { printf "%s%s...
true
9973cd294ccae0fbb9764c9b77237d173f128c79
Shell
Disparity/git-hooks
/post-checkout-composer-auto-install
UTF-8
571
3.234375
3
[]
no_license
#!/bin/bash # # Auto install composer dependencies when composer.json/composer.lock is changed # # @author Disparity <disparity-github@yandex.ru> # @site https://github.com/Disparity/git-hooks # @dependency git # @dependency php@>=5.3 # @dependency composer@~1.0 if [ "$1" == "$2" ]; then exit 0; fi git diff --name-on...
true
58d3161f99aebc6b4520255a42537fbf22f2a046
Shell
PMET-public/magento-cloud-extension
/tests/new-branch-commands.bats
UTF-8
952
2.65625
3
[]
no_license
#!/usr/bin/env ./tests/libs/bats/bin/bats # bats will loop indefinitely with debug mode on (i.e. set -x) unset debug load 'libs/bats-assert/load' load 'libs/bats-support/load' load 'libs/bats-file/load' load 'bats-lib.sh' setup() { shopt -s nocasematch cd "$proj_dir/sh-scripts" || exit export tab_url="https:/...
true
195f449f0376c438334dc1f0635d7f5008c00390
Shell
sociomantic-tsunami/beaver
/bin/beaver-codecov
UTF-8
1,762
4.25
4
[ "BSL-1.0" ]
permissive
#!/bin/sh # Copyright dunnhumby Germany GmbH 2017. # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) # # Report codecoverage via codecov in a sandboxed environment. # # This command is just a wrapper to codecov-bash # (ht...
true
cb6358e7afc00d3af0a51d3e662b1e21be840552
Shell
Vinotha16/WIN_ROLLBACK
/templates/linux_actualfacts/suse11/cron_511_actual.fact
UTF-8
204
2.890625
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash if [ $( chkconfig --list cron | grep '2:on.*3:on.*4:on.*5:on' | wc -l) -eq 0 ]; then echo "{ \"cron_511_actual\" : \"\" }" else echo "{ \"cron_511_actual\" : \"enabled\" }" exit 1 fi
true
a5939691b3e13ebcf9743c3e6328c35b559cbba5
Shell
GobletSky31689/CS256
/Assignments/HomeWork 3/src/Scripts/train_4_Generator.sh
UTF-8
484
2.859375
3
[]
no_license
#!/usr/bin/env bash rm -rf $BASEDIR"/Train_4" mkdir $BASEDIR"/Train_4" echo echo "Generating data for Train_4 folder with 60,000 items of NON-STICKY class." rm -rf $BASEDIR"/out1.txt" rm -rf $BASEDIR"/out2.txt" python $BASEDIR"/sticky_snippet_generator.py" 30000 0 0 $BASEDIR"/out1.txt" python $BASEDIR"/sticky_snippet_...
true
17713dbba17f9e3f69b1faa92b977342d084b00b
Shell
XGWang0/Suse_testsuite
/tests/qa_test_coreutils/qa_test_coreutils/orig_test_suite/chgrp/posix-H
UTF-8
1,499
3.90625
4
[]
no_license
#!/bin/sh # Test POSIX-mandated -H option. if test "$VERBOSE" = yes; then set -x chgrp --version fi . $srcdir/../group-names set _ $groups; shift g1=$1 g2=$2 pwd=`pwd` t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0 trap '(exit $?); exit $...
true
e3509c97e52e9c07359086e26b3825f654b61371
Shell
bytedance/fedlearner
/deploy/scripts/aliyun/install.sh
UTF-8
28,826
2.984375
3
[ "LicenseRef-scancode-proprietary-license", "Apache-2.0" ]
permissive
#!/bin/bash # Copyright 2020 The FedLearner Authors. All Rights Reserved. # # 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...
true
8b2cfe7b76cec3f33c087b40e0fb9ae61e94e661
Shell
wp4613/HI3531D_BSP
/resource/nova/rootfs/etc/init.d/S90init-task.sh
UTF-8
1,380
3.28125
3
[]
no_license
#!/bin/sh NOVA_DRIVER_PATH=/usr/nova/driver FPGA_CNT_MAX=100 FPGA_CFG_SLEEP=0.1 cnt=0 # start telnetd /usr/sbin/telnetd & #debugfs mount mount -t debugfs none /sys/kernel/debug/ #insmod GPIO module insmod ${NOVA_DRIVER_PATH}/hi_gpio.ko #release reset of CDCM6208 # CDCM6208 U0(GPIO11_6) echo 94 > /sys/class/gpio/ex...
true
83bae22cd3a2e1ecf2bf472b91dc5f0f37696289
Shell
wang-shun/beidou-cron
/src/main/shell/bin/loadSiteSize.sh
GB18030
1,496
2.75
3
[]
no_license
#!/bin/sh CONF_SH="/home/work/.bash_profile" [ -f "${CONF_SH}" ] && source $CONF_SH || echo "not exist ${CONF_SH} " CONF_SH=../conf/common.conf [ -f "${CONF_SH}" ] && source $CONF_SH || echo "not exist ${CONF_SH} " CONF_SH=../conf/classpath_rpc.conf [ -f "${CONF_SH}" ] && source $CONF_SH || echo "not exist ${CONF_SH...
true
19264ba6cf916220bd665dd7d9575874104d38d5
Shell
webis-de/ICWSM-17
/wikipedia-reverts-geolocating/src-shell/make-geolocation-decision-tree.sh
UTF-8
3,175
3.96875
4
[]
no_license
#!/bin/bash if [ -z "$1" ];then echo "Usage:" echo " $0 <country>" echo "With" echo " country" echo " The two-letter country code as used by Wikipedia (en, de, fr, ...)" exit 1 fi country=$1 shell_source_dir=`dirname $0` source $shell_source_dir/config.sh source $shell_source_dir/../$detection_dir/s...
true
c02a12db8aba009a7cba01c9705166a9d68d8c07
Shell
sggdv/linuxops
/src/shellscripts/apache.sh
UTF-8
508
2.875
3
[ "MIT" ]
permissive
#!/bin/bash echo "starting apache.sh" WEB_FILE=../../public/templates/apache.html rm -f $WEB_FILE echo "<p>主机名: <strong>$(hostname)</strong></p>" >> $WEB_FILE echo "<p>检测时间: <strong>$(date)</strong></p>" >> $WEB_FILE echo "<hr><h1>版本信息</h1><p><code>service httpd -v</code></p>" >> $WEB_FILE echo "<pre>$(service http...
true
4e2ed898610407635311ca9248aaa3f1285ff43c
Shell
PandikKumar/dell-devops
/ci-scripts/test/unit/pingfederate/configure-delegated-admin/12-sessions-tests.sh
UTF-8
1,025
2.859375
3
[]
no_license
#!/bin/bash # Source the script we're testing # Suppress env vars noise in the test output . "${HOOKS_DIR}"/utils.lib.sh > /dev/null . "${HOOKS_DIR}"/util/configure-delegated-admin-utils.sh > /dev/null # Mock up is_multi_cluster, this logic sets is_multi_cluster to false. is_multi_cluster() { return 0 } testSadPat...
true
2e9d36639cb77c70fd19811ba18b4039396da21d
Shell
sambowler/dotfiles
/bash/functions/git.bash
UTF-8
911
3.59375
4
[]
no_license
# Remove all deleted files function grm { for i in `git status | grep deleted | awk '{print $3}'`; do git rm $i; done } # Pull all git repo's within the current folder function gpa { find . -type d -depth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} pull origin master \;; } cp_p() { strace -q -ewrite cp -- "${...
true
4da2b53651cee6bfe098a93aedfe7032c2dbd393
Shell
ForrestKnight/ODUCS418F17
/DockerThings/run.she
UTF-8
814
3.25
3
[]
no_license
#!/bin/bash VOLUME_HOME="/var/lib/mysql" sed -ri -e "s/^upload_max_filesize.*/upload_max_filesize = ${PHP_UPLOAD_MAX_FILESIZE}/" \ -e "s/^post_max_size.*/post_max_size = ${PHP_POST_MAX_SIZE}/" /etc/php5/apache2/php.ini if [[ ! -d $VOLUME_HOME/mysql ]]; then echo "=> An empty or uninitialized MySQL volume is d...
true
25395e54285896c9402c81344d0dc56888eb5461
Shell
imaxct/SH
/exercises/ex_ops.sh
UTF-8
395
4.09375
4
[]
no_license
#!/bin/bash ARGS=2 E_BADARGS=85 if [ $# -ne "$ARGS" ]; then echo "Usage: `basename $0` number1 number2" exit $E_BADARGS fi if [[ ! $1 =~ [0-9]{1,} || ! $2 =~ [0-9]{1,} ]]; then echo "arguments are not numbers" exit $E_BADARGS fi gcd(){ x=$1 y=$2 r=1 until [[ "$r" -eq 0 ]]; do let "r = $x % $y" x=$y y=...
true
4fe4af98c7c4a67a77b2055489d260b602a50bd2
Shell
wicadmin/Goldenorb
/luci-app-hotspot/files/usr/lib/hotspot/band.sh
UTF-8
546
3.359375
3
[]
no_license
#!/bin/sh log() { logger -t "band change" "$@" } BAND=$1 if [ $BAND = "1" ]; then WW=$(uci get travelmate.global.radio24) else WW=$(uci get travelmate.global.radio5) fi uci set wireless.wwan.device=$WW uci set wireless.wwan.ssid="Changing Wifi Radio" uci set wireless.wwan.encryption="none" uci set wireless.wwan...
true
a0f03c2065d1f0c1ad899eaf0de466ddae1cc7f5
Shell
dinos80152/dotfiles
/.oh-my-zsh/custom/powerlevel9k.sh
UTF-8
3,251
2.890625
3
[]
no_license
# powerlevel9k tonylambiris powerlevel9k themes powerlevel9k_random_color(){ local code #for code ({000..255}) echo -n "$%F{$code}" #code=$[${RANDOM}%11+10] # random between 10-20 code=$[${RANDOM}%211+20] # random between 20-230 printf "%03d" $code } zsh_wifi_signal(){ local signal=$(nmcli -t device wi...
true
9991e6d81aa4d9c59825facd3f1ada36fbd00264
Shell
LLNL/serac
/scripts/llnl/build_src.py
UTF-8
6,665
3.28125
3
[ "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/sh "exec" "python3" "-u" "-B" "$0" "$@" # Copyright (c) 2019-2023, Lawrence Livermore National Security, LLC and # other Serac Project Developers. See the top-level LICENSE file for details. # # SPDX-License-Identifier: (BSD-3-Clause) """ file: build_src.py description: Builds Serac with the host-configs...
true
f8e79c35c016421c22a84c8e796073a1bcdf8e57
Shell
MD-Studio/cerise-mdstudio-base
/api/mdstudio/files/energies/call_getenergies.sh
UTF-8
269
2.65625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash CERISE_API_FILES="$1" # remove the CERISE_API_FILES from the input array shift source $CERISE_API_FILES/miniconda/bin/activate root # Run script $CERISE_API_FILES/miniconda/bin/python2.7 $CERISE_API_FILES/energies/getEnergies.py energy -o energy.ene $*
true
a21e89896f65b9588e6f588bdb4693416a3e21f8
Shell
fernandoPalaciosGit/dotfiles
/zsh/envs/brew
UTF-8
281
3
3
[]
no_license
if [[ -a ~/.homebrew/bin/brew ]]; then path=($HOME/.homebrew/bin $path) path=($(brew --prefix)/sbin $path) manpath=($(brew --prefix)/share/man $manpath) # Homebrew Python setup path=($(python -c "from sys import prefix; print prefix")/bin $path) fi # vim: filetype=zsh
true
22d02f0e15b2e4bfc9e25daaad2572dac5475fc5
Shell
Sincere1One/myhktools
/mkInstall.sh
UTF-8
499
2.8125
3
[]
no_license
rm ins.tmp find . -name "*.js" -exec grep -h -R -Eo "require\(['\"]([^\.][^'\"\/]+?)['\"]\)" {} \; >>ins.tmp grep -Eo "['\"]([^'\"\.\/]+?)['\"]" ins.tmp |sed 's/"//g'|sed "s/'//g"|sort|uniq >>ins1.tmp rm ins.tmp ls -1 /usr/local/lib/node_modules/ >ins3.tmp grep -F -f ins3.tmp ins1.tmp| sort | uniq > ins4.tmp chmod 77...
true
c6ca7d4c818bd86d09cca8238d31de496a203b90
Shell
flash-ai-fydp/auto-gfqg
/src/main/script/modified_demo-word.sh
UTF-8
1,078
3.578125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # DEV is the directory where all of your projects are cd $DEV # clone and move into project git clone git@github.com:dav/word2vec.git cd word2vec # pasted modified "script/demo-word.sh" script that # doesn't do the word distance demonstration and # saves the word vectors in text format DATA_DIR=./data B...
true
9e0c3a3a6b797a4b3e9aaee822316e3ee36c2c13
Shell
tanghuan0827/bigdata01
/temp/other2/st4.sh
UTF-8
2,196
3.3125
3
[]
no_license
#!/bin/bash echo " begin st4" source st3.sh #字段类型替换 判断第3列是进行整个值得判断,单独一个值全部判断并进行替换,不是部分替换 awk 'BEGIN{FS=OFS=","}{if($3=="varchar"){$3="text"};print}' $source__txt>401__text awk 'BEGIN{FS=OFS=","}{if($3=="int"){$3="integer"};print}' 401__text>402__integer awk 'BEGIN{FS=OFS=","}{if($3=="long"){$3="bigint"};print}' 40...
true
8cd48c6602a5d544c6190cf01f8b364c28bb2b4e
Shell
robozavri/market
/server/gulp/tasks/server-env/scripts/root/add-user.sh
UTF-8
356
2.84375
3
[ "MIT" ]
permissive
USER=$1 PASSWORD=$2 adduser --disabled-password --gecos "" $USER echo "$USER:$PASSWORD" | chpasswd echo "$USER ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers echo "$USER ALL=NOPASSWD: /usr/sbin/service, /bin/chown" >> /etc/sudoers mkdir /home/gdg/.ssh cat ~/.ssh/authorized_keys >> /home/gdg/.ssh/authorized_keys printf "\n\...
true
89213f66b344d9201dc98f321b79999003e80333
Shell
lnxbm3r1/myenv
/zshrc
UTF-8
1,117
2.515625
3
[]
no_license
#PROMPT="%n@%m:%/ #`date +%a` `date +%m`/`date +%d` %@ %h > " HISTSIZE=20000 HISTFILE=~/.zsh_history SAVEHIST=20000 EDITOR=/usr/bin/vim LANG=C export LESSCHARSET=utf-8 export LESS="-MireX" set extenedhistory autoload -U compinit compinit autoload -U promptinit promptinit prompt clint bindkey -v #alias ls='ls -F ...
true
b8634b4d50f77fd3b09847c28dd5273685593b31
Shell
linux-can/socketcand
/debian_pack.in
UTF-8
1,482
3.140625
3
[]
no_license
#!/bin/sh mkdir debianpack git archive HEAD --format tar.gz -o debianpack/socketcand-@PACKAGE_VERSION@.tar.gz --prefix socketcand-@PACKAGE_VERSION@/ cd debianpack tar xfz socketcand-@PACKAGE_VERSION@.tar.gz rm socketcand-@PACKAGE_VERSION@.tar.gz cd socketcand-@PACKAGE_VERSION@ ./autogen.sh cd .. tar cfz socketcand-@PA...
true
26d5df485c8f5596b42fb50a41ca9b333769990d
Shell
tomekl007/docker-images
/studio/6.0/files/entrypoint.sh
UTF-8
506
2.921875
3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash # -*- mode: sh -*- # # Copyright DataStax, Inc, 2017 # Please review the included LICENSE file for more information. # set -e . /base-checks.sh link_external_config "${STUDIO_HOME}" ############################################ # Set up variables/configure the image ####################################...
true
3883217a9089bb3fdec998bffd02979b6138cf7a
Shell
oraclebase/vagrant
/em/ol7_em134/scripts/oracle_user_environment_setup.sh
UTF-8
3,038
2.78125
3
[]
no_license
echo "******************************************************************************" echo "Create environment script." `date` echo "******************************************************************************" mkdir -p /home/oracle/scripts cat > /home/oracle/scripts/setEnv.sh <<EOF # Regular settings. export TMP=/u...
true
234e59d75fd92506db8975c8ec012a42e29aa3a3
Shell
Cloudxtreme/autoscripts
/Services/upgrade_pip.sh
UTF-8
337
3.34375
3
[]
no_license
#!/bin/bash date '+[ %m/%d/%Y %H:%M:%S ]' envs=/home/blake/Py3Envs # Change directory to venvs cd $envs # For each folder in dir, check for .pyenv for env in */; do echo "* Updating pip for $env:" # Activate env source $envs/$env/bin/activate # Upgrade pip pip install --upgrade pip done echo ...
true
39cc585a6eb6ccf6248a86417abe81c3935f2d4a
Shell
hydronica/task_ffmpeg
/deploy/start.sh
UTF-8
610
2.515625
3
[]
no_license
#!/bin/bash docker-compose -f "docker/docker-compose-nsq.yml" up -d # make sure the topics exist in nsq docker run -it --network nsq_network_default task_ffmpeg/build:stage /bin/sh -c \ "curl -X POST 'nsqd:4151/topic/create?topic=mediainfo'; \ curl -X POST 'nsqd:4151/topic/create?topic=done'; \ curl -X POST ...
true
4e0ac9bae1969eb3faec45b510f97b50904b0d4b
Shell
ksrt12/tools
/tag
UTF-8
1,509
3.15625
3
[]
no_license
#!/usr/bin/env bash currpath=`pwd`; case $1 in 0) ;; *platform*) tag=$1;; *security*) tag=$1;; *) tag=11.0.0_r$1;; esac caf=$2; function TagAosp() { for i in $1; do cd $i; echo $i; $echo pll aosp $tag $2; cd $currpath; done } function fullAosp() { local list=" art bionic build/soong build/blueprint b...
true
f077c5ee9a4ab2d179ddfe56cf80b3ddeb24e204
Shell
crenv/crenv
/libexec/crenv-version-name
UTF-8
938
4.125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # Summary: Show the current Crystal version set -e [ -n "$CRENV_DEBUG" ] && set -x if [ -z "$CRENV_VERSION" ]; then CRENV_VERSION_FILE="$(crenv-version-file)" CRENV_VERSION="$(crenv-version-file-read "$CRENV_VERSION_FILE" || true)" fi OLDIFS="$IFS" IFS=$'\n' scripts=(`crenv-hooks version-name...
true
1d571a4d26f103cb08aeb9f3996b2c8420212598
Shell
meshkat632/elasticsearch-poc
/vagrant-scripts/templates/proxy-provisioner.sh
UTF-8
463
2.625
3
[]
no_license
#!/bin/sh set -e # Exit script immediately on first error. set -x # Print commands and their arguments as they are executed. cp /tmp/vagrant-scripts/build/apt.conf /etc/apt/apt.conf cp /tmp/vagrant-scripts/build/.curlrc /home/vagrant/.curlrc cp /tmp/vagrant-scripts/build/.wgetrc /home/vagrant/.wgetrc cp /tmp/vagrant-s...
true
6637336d878624c725d317440433061c2ca02a42
Shell
cmstas/ZMET2016
/ZMET2015/limitcode/TChiWZ/setupLimits.sh
UTF-8
872
3.390625
3
[]
no_license
#! /bin/bash # Instructions to run limit code taken from: # https://twiki.cern.ch/twiki/bin/viewauth/CMS/SWGuideHiggsAnalysisCombinedLimit#ROOT5_SLC6_release_CMSSW_7_1_X export SCRAM_ARCH=slc6_amd64_gcc481 cmsrel CMSSW_7_1_5 if [ ! -e CMSSW_7_1_5 ]; then cd CMSSW_7_1_5/src/ cmsenv else echo "Directory: CMSSW_7_1_5...
true
3d650f64acde5c2584b8be7ececc617fe12f810f
Shell
harindaka/ubuntu-helpers
/uh-startup-command-create
UTF-8
1,426
4.5
4
[ "MIT" ]
permissive
#!/bin/bash set -e if [ "$1" = "--help" ] then echo "Desc. : creates a systemd service which runs a command or shell script once upons startup" echo "Usage : sudo ./uh-startup-command-create" echo "Eg. : sudo ./uh-startup-command-create" exit 0; fi echo "Enter the name of the service (without the...
true
ca468ebe65e3b0068da0a3295aabc9efd70dbbe5
Shell
jackbarsotti/sfdx-travisci2
/deployment.sh
UTF-8
9,086
3.421875
3
[ "Apache-2.0" ]
permissive
#! /bin/bash # Provide basic information about the current build type echo echo "Travis event type: $TRAVIS_EVENT_TYPE" if [ "$TRAVIS_EVENT_TYPE" == "pull_request" ]; then echo "Travis pull request branch: $TRAVIS_PULL_REQUEST_BRANCH" fi; echo # Install sfdx plugins and configure build with sfdx settings export SFD...
true
ed51e45232146c7c57fa96fe5d454e232f252916
Shell
qrsforever/homebrain
/homebrain/build/platforms/larfe/startup.sh
UTF-8
959
3.375
3
[]
no_license
#!/bin/sh export PATH=/mnt/nandflash:$PATH cur_dir=`pwd` UPTIME=30 MAXCNT=10 DCOUNT=0 PROGRAM="$cur_dir/larfe_ga" DBNAME="$cur_dir/lf.db" SYSCMD="$cur_dir/system.cmd" __reset_program() { if [ -f ${PROGRAM}.bk ] then cp ${PROGRAM}.bk ${PROGRAM} rm ${DBNAME} fi } __check_systemcmd() { ...
true
6ed467f108b24572d07113d2edfa24588b8d697e
Shell
RITResearchComputing/Google-Code
/AdminScripts/walker/AGWalker.sh.old
UTF-8
826
3.859375
4
[]
no_license
#!/bin/bash # Walking program to execute commands across multiple linux nodes # using SSH connections #read -s -p "Enter Password: " passwd #echo "" function printhelp { echo "Usage: AGWalker commands.list nodes.list" } #read in list of nodes to walk echo "Reading walk.list" n=0 while read line do nodes[$n]=$line ...
true
b2f4d58d798c1740d1cda5815a40ce60fd3dca1d
Shell
dave-burke/dotfiles
/bootstrap.sh
UTF-8
1,588
4.4375
4
[]
no_license
#!/bin/bash DOT_FILES="$(dirname ${0})" # Just some boilerplate for consistent behavior and verbose output function create_directory() { local dir_name="${1}" echo -n "Creating ${dir_name}..." if [[ -d "${dir_name}" ]]; then echo "Already exists" else mkdir --parents --verbose "${dir_name}" fi } function li...
true
09b8eaafd41f08b0a376d5878188727d56e7d261
Shell
uavpal/disco-storage
/disco/uavpal/bin/uavpal_storage.sh
UTF-8
1,836
3.734375
4
[]
no_license
#!/bin/sh # variables partition="$(echo $2 | cut -d "/" -f 3)" disk="$(echo $partition | rev | cut -c 2- | rev)" media_path="/data/ftp/internal_000/Disco/media" # functions led_indicate_external () { ldc set_pattern color_wheel true sleep 5 ldc set_pattern idle true } led_indicate_internal () { ldc set_pattern d...
true
d7b42299d2c55830f6c585cf81c36e409bd9c5ca
Shell
superheroCEO/practice-shell-scripts
/Shell_Scripting_Bible/Ch13/1.10b_Until-command.sh
UTF-8
399
3.5625
4
[]
no_license
#!/bin/bash var1=100 until [ $var1 -eq 0 ] do echo $var1 var1=$[ $var1 - 25 ] done echo $? echo "Think, 'As long as 1, execute the command'" echo echo "This example tests the var1 variable TO DETERMINE WHEN the until loop should stop. As soon as the variable valueof the variable is equal to 0, the UNTIL command ...
true
144808fd9d167733d640841419be16d1fd574eee
Shell
mruse/rsyncd
/rsync.sh
UTF-8
2,466
3.15625
3
[]
no_license
#!/bin/bash # @author: me@mruse.cn # @create: 2015-05-23 # @update: 2015-05-23 PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin export PATH=$PATH ############ Define ############ rsyncd_mod="mruse" rsyncd_path="/path/to/webroot" rsyncd_comment="Comments for MrUse Project" rsyncd_allows="192.168.0.1...
true
a5eb0bb60bd829b82b610199103fa86dd15af386
Shell
IvoNet/jakarta-ee-microprofile-companion
/usb-stick/VM/import-appliance.sh
UTF-8
963
3.234375
3
[]
no_license
#!/usr/bin/env bash #set -x OVA=$(ls -1 *.ova|tail -r|head -1) if [ -z ${OVA} ]; then echo "No *.ova file fond to import as an appliance..." exit 1 fi echo "Importing: ${OVA}" echo "Configuring host-only network with specific ip addresses..." network_interface=$(VBoxManage hostonlyif create|grep Interface|awk '...
true
363aa22e1251953a640049b01a2ab8fa03c74c81
Shell
jcelliott/dotfiles
/.zshrc
UTF-8
5,348
3.203125
3
[]
no_license
# ___ __ # /_ / ___ / / ________ # _ / /_(_-</ _ \/ __/ __/ # (_)___/___/_//_/_/ \__/ # # Joshua Elliott # # TODO: # - Move from oh-my-zsh to just antigen # -------------------------- # colorized output function cinfo() { echo -e "\x1b[32m$1\x1b[0m" # green } function cwarn() { echo -e "\x1b[33m$1...
true
b11ed3c8b3cc24f7c186173918b85445093b3057
Shell
Ambrose-Chen/DepTools
/init.sh
UTF-8
791
3.265625
3
[]
no_license
#!/bin/bash export baseurl=`cd $(dirname $0) ; pwd` source $baseurl/common source $baseurl/config sed -i "s/{filePath}/`echo $mount_addr | sed 's/\//\\\\\//g'`/g" $baseurl/base.repo cp $baseurl/base.repo /etc/yum.repos.d/ [ -d $mount_addr ] step_check "config: mount directory ------ exist" "config: mount directory...
true
de2b1418caf92bde421017d522ec2d9054af0b23
Shell
tapiau/btrfs-snap
/bin/incremental
UTF-8
400
3.34375
3
[]
no_license
#!/bin/bash NOW=`date +%Y%m%d-%H%M%S` if [ "$1" != "" ]; then if [ "$1" == "--help" ]; then echo "--help" echo "--all - shows all snaps in all filesystems" echo "--list mountpoint - shows snaps" echo "mountpoint - do snapshot!" else DATE="$1" btrfs subvolume sn...
true
df3c94d0efd25d09dc0cf367e1df6a2cac8d108e
Shell
beatrohrer/dotfiles
/scripts/install-dotfiles.sh
UTF-8
601
2.734375
3
[]
no_license
#!/bin/bash sudo apt-get update && \ sudo apt-get upgrade -y && \ sudo apt-get install -y vim zsh tree tmux cdargs git curl httpie htop # set symlinks ln -s ~/dotfiles/.vim ~/.vim ln -s ~/dotfiles/.vimrc ~/.vimrc ln -s ~/dotfiles/.zshrc ~/.zshrc ln -s ~/dotfiles/.tmux.conf ~/.tmux.conf mkdir -p ~/.config/nvim ln ...
true
8e067154bd4e50e555efc6f216932b997737e2c9
Shell
danbikle/stk_mkt_madlib_logregr
/wget_ydata.bash
UTF-8
1,796
2.625
3
[]
no_license
#!/bin/bash # ~/tv/wget_ydata.bash # I use this script to wget some yahoo stock prices. mkdir -p /tmp/ydata/ cd /tmp/ydata/ wget --output-document=SPY.csv http://ichart.finance.yahoo.com/table.csv?s=SPY wget --output-document=BA.csv http://ichart.finance.yahoo.com/table.csv?s=BA wget --output-document=CA...
true
d2863ec64a88f4f9365402d7fb60f8778f6b9f6b
Shell
pvcastro/1-billion-word-language-modeling-benchmark
/scripts/get-data-datalawyer.sh
UTF-8
4,068
3.640625
4
[ "Apache-2.0", "GPL-3.0-or-later" ]
permissive
#!/bin/bash # Copyright 2013 Google Inc. All rights reserved. # # 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 app...
true
93da87bf451eee1788e1b8ab9d2df6e8cfdd2ff8
Shell
bilts/thin-egress-app
/setup_jwt_cookie.sh
UTF-8
806
3.265625
3
[]
no_license
#! /usr/bash function GENERATE_JWTKEYS_FILE { cat > /tmp/jwtkeys.json <<EOL { "rsa_priv_key": "${rsa_priv_key}", "rsa_pub_key": "${rsa_pub_key}" } EOL } function GENERATE_TEA_CREDS { cd /tmp || exit 1 ssh-keygen -t rsa -b 4096 -m PEM -f ./jwtcookie.key -N '' openssl base64 -in jwtcookie.key -ou...
true
79a89b4610b28414fe7105568245081ef07fc5f4
Shell
akshaybarve06/BASIC_SHELL_PROGRAMS
/operatorPrecedence.sh
UTF-8
791
3.625
4
[]
no_license
#!/bin/bash -x # @ Purpose : Check Operator Precedence and Print The Result # @ Author : Akshay Dhananjay Barve # @ Version : 18.04.3 lts # @ Since : 29-02-2020 / Saturday # We Have To Check Operator Precedence # For Given Expressions and Print its output read -p "Enter Three Numbers To Do Operations " num1 num2 num...
true
d321b919118ee5c711c18a619e4622cad8272392
Shell
wanglianlian/360
/4.sh
UTF-8
442
3.875
4
[]
no_license
#!/bin/sh #日志切割 :如果文件大于阈值M,则复制备份access.log并清空源文件重新开始写入 #切割生成文件以时间.log命名 M=1024Byte filename=access.log watch () { if [ $1 -ge $M ] then echo true else echo false fi } while $(watch $(du -k $filename|awk '{print $1}')) do newfilename=`date +"%F-%H:%M:%S"` cp $filen...
true
f83760fac7e58bfaed36f15c636dad72cfa27803
Shell
intellivoid/Intellivoid-Docker
/SpamProtectionBot/check_git.shx
UTF-8
639
3.203125
3
[]
no_license
#!/bin/sh echo "[SpamProtectionBot-Updater] Starting..." while true; do echo "[SpamProtectionBot-Updater] Checking for updates..." changed=0 #cd /data/SpamProtectionBot #git remote update && git status -uno | grep -q 'Your branch is behind' && changed=1 if [ $changed = 1 ]; then echo "[SpamProtectionBot-Updater...
true
97bacf2fc14f615d8bee47701929ee51dc697778
Shell
shikibu9419/git-fzf-extender
/functions/pull-request.zsh
UTF-8
2,078
3.6875
4
[]
no_license
git-extended-pull-request() { __git_extended::init || return 1 [[ $1 = create ]] \ && __git_extended::create_pr \ || __git_extended::list_pr } __git_extended::list_pr() { open_prs="$(unbuffer hub pr list -s open | sed 's/ *#/#/')" closed_prs="$(unbuffer hub pr list -s closed | sed 's/ *#/#/')" opts=...
true
7d1207eca5b2aa2919332a6062573c080ec243ba
Shell
jfuerlinger/leocloud
/www/docker/fix-base-url.sh
UTF-8
544
3.734375
4
[ "Unlicense" ]
permissive
#!/usr/bin/env bash # this script changes the <base href="..."> header tag to the environment variable BASE_HREF. # then the same docker image can be deployed to multiple sub-paths of the same hostname HTML=/usr/share/nginx/html if [[ "$BASE_HREF." == "." ]] then echo "no BASE_HREF environment variable set, keep ...
true
130b8646b3690c1e050eda9dd384e6e60bc386c2
Shell
goolzerg/nexus-registry-docker
/init.sh
UTF-8
1,390
3.28125
3
[]
no_license
#!/bin/bash if ! [ -x "$(command -v docker-compose)" ]; then echo 'Error: docker-compose is not installed.' >&2 echo 'Installing...' sudo curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/dock...
true
b021fe99b475c87d10540da0f3e74fc6fed877eb
Shell
delkyd/alfheim_linux-PKGBUILDS
/bbswitch-e531/PKGBUILD
UTF-8
1,062
2.875
3
[]
no_license
pkgname=bbswitch-e531 _basename=bbswitch groups=('ThinkPad-E531') pkgver=0.8 _extramodules=extramodules-4.2-e531 # Don't forget to update bbswitch-lts.install pkgrel=6 pkgdesc="Kernel module allowing to switch dedicated graphics card on Optimus laptops" arch=('i686' 'x86_64') url=("http://github.com/Bumblebee-Project/b...
true
efd9f212fd9f12678133cc9af6ea9a3ef000372e
Shell
sutizi/dotfiles
/run.sh
UTF-8
620
3.140625
3
[]
no_license
#!/bin/bash #Upddate and upgrade the system sudo apt-get update && sudo apt-get upgrade -y #Install all aplications sudo apt install tmux -y sudo apt install neovim -y sudo snap install --classic code sudo apt-get install chromium-browser #Clone this repository git clone https://github.com/sutizi/dotfiles ...
true
3c95d864b29b305fee48cb784c731bbfea17d58a
Shell
bifferos/bb
/openwrt/package/feeds/packages/djbdns/files/walldns.init
UTF-8
1,266
3.53125
4
[]
no_license
#!/bin/sh /etc/rc.common # Copyright (C) 2007 OpenWrt.org # # version 20090401 jhalfmoon START=46 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/walldns NAME=walldns DESC="Reverse DNS wall" ROOT=/tmp/walldns start() { echo "Starting $DESC: $NAME" config_load djbdns conf...
true
360862e176b79d9b2ae03b32563d36dbeac334e1
Shell
ServerSide-CLS/homework
/2017212212167/adduser_exp3.sh
UTF-8
1,359
3.703125
4
[]
no_license
#!/bin/bash cnt=0 sp_num=0 flag=0 PARAMS=(${@}) NUM=${#} user_name=${PARAMS[$NUM-1]} while getopts l:s:o OPTION do case "${OPTION}" in l) cnt="${OPTARG}" flag=1 ;; s) sp_num="${OPTARG}" flag=2 ;; o) flag=3...
true
ebb89af4020379c44c360463f8e7b9d0655f33f5
Shell
kumaraish/mingw-distro
/libpng.sh
UTF-8
510
2.609375
3
[]
no_license
#!/bin/sh source ./0_append_distro_path.sh untar_file libpng-1.6.37.tar cd /c/temp/gcc mv libpng-1.6.37 src mkdir build dest cd build cmake \ "-DCMAKE_BUILD_TYPE=Release" \ "-DCMAKE_C_FLAGS=-s -O3" \ "-DCMAKE_INSTALL_PREFIX=/c/temp/gcc/dest" \ "-DM_LIBRARY=" \ "-DPNG_SHARED=OFF" \ -G Ninja /c/temp/gcc/src ninja ni...
true
afedeeea7818a86cbabfc1a8f6e89105d8e8848e
Shell
flowable/flowable-engine
/docs/public-api/tools/flowable-slate/generate.sh
UTF-8
1,061
3.140625
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # CLEAN rm -rf target mkdir -p target/specfile # COPY SPEC FILES Automatically Generated # cp -r ../flowable-oas-generator/target/oas/v2/ target/specfile # COPY SPEC FILES based on References cp -r ../../references/swagger/ target/specfile for apiName in {"content","decision","form","process"};...
true
58c6c573c775ae1bf06886bec638d226a8eae867
Shell
yoshi01/dotfiles
/dotfilesLink.sh
UTF-8
255
3.171875
3
[]
no_license
#!/bin/sh DOTFILES=(.bash_profile .bashrc .zprofile .zshrc .tmux.conf .vimrc .vim .ideavimrc .gprompt .config/peco/config.json) for file in ${DOTFILES[@]} do if [ ! -L $HOME/$file ]; then ln -fnsv $HOME/dotfiles/$file $HOME/$file fi done
true
04fd286af3862afed7dd6b08cc4676b0adb9fe55
Shell
kabalin/homedir
/.bashrc
UTF-8
7,468
3.65625
4
[ "MIT" ]
permissive
# If not running interactively, don't do anything [ -z "$PS1" ] && return # Hopefully fix java issues with awesome # http://extramem.blogspot.com/2009/04/java-misbehaving-in-awesome-window.html export AWT_TOOLKIT=MToolkit ############################################################################ # History managemen...
true
c748c4e667f3bf35051cc3bf8984a681e161ee3b
Shell
alessandroargentieri/rabbit-go
/init.sh
UTF-8
1,450
3.59375
4
[]
no_license
#! /bin/bash # pull docker image of rabbitmq and launch it if [[ $( docker images | grep rabbitmq) ]]; then echo "rabbitmq image already pulled." else echo "pulling rabbitmq docker image" docker pull rabbitmq:3.8-management fi if [[ $( docker ps -a | grep my-rabbit | head -c12 ) ]]; then echo "my-rabbit...
true
7e3613dc21ebf876735348318555cbb412c4d49b
Shell
tomcat123a/dnase_pipeline
/dnanexus/old/dnase-idr/resources/usr/bin/dnase_idr.sh
UTF-8
2,155
3.828125
4
[ "MIT" ]
permissive
#!/bin/bash -e if [ $# -ne 6 ]; then echo "usage v1: dnase_idr.sh <peaks_a_bed> <peaks_b_bed> <format> <rank_col> <chrom_sizes> <idr_root>" echo "Compares two sets of peaks and generates an Irreproducible Discovery Rate report. Is independent of DX and encodeD." echo "If format is 'broadPeak' or 'broadPeak...
true
075a768d0ce3ca4a6904577aee30bfe5eb74f29a
Shell
jooaodanieel/tmux-tooling
/scripts/solus-set-env
UTF-8
466
2.671875
3
[]
no_license
#!/usr/bin/zsh SESSION_NAME=solus if ! tmux has-session -t $SESSION_NAME; then tmux new -s $SESSION_NAME -d tmux split-window -t $SESSION_NAME:1 -h tmux send-keys -t $SESSION_NAME:1.0 \ cd\ ~/workspace/solus/frontend Enter tmux send-keys -t $SESSION_NAME:1.0 \ nvim Enter tmux send-keys -t $SESSIO...
true
11d55930e3313f789085668e3084152b283e6ee8
Shell
bricewge/dotfiles
/rofi/post-stow
UTF-8
1,005
2.90625
3
[ "CC0-1.0" ]
permissive
#!/bin/sh # shellcheck disable=SC1090 . "${DOTFILES:-.}/shell/.shell/lib/utils.sh" # * rofi theme=$(readlink "$XDG_CONFIG_HOME/rofi/config") if [ ! "$(dirname "$theme")" = "$XDG_CONFIG_HOME/rofi" ]; then symlink "$XDG_CONFIG_HOME/rofi/solarized-dark" \ "$XDG_CONFIG_HOME/rofi/config" fi # * rofi calc rep...
true
716b09ccedf775654c7dd5c4b599581c7ef87ec0
Shell
Tao4free/Bash_like
/img_related/create_img_from_text.sh
UTF-8
266
3.109375
3
[]
no_license
#!/bin/bash input="time.list" while IFS= read -r line do echo "$line" png="$line.png" png=`echo ${png// /_}` png=`echo ${png//\//_}` png=`echo ${png//\:/}` convert -background lightblue -fill blue -pointsize 48 \ label:"$line" $png done < "$input"
true
a47192ff4b048996510fa1892cde4108c68a17ec
Shell
benizi/dotfiles
/bin/yarn
UTF-8
305
3.28125
3
[ "MIT" ]
permissive
#!/bin/sh set -e base=/opt yarn=$base/yarn/versions/nightly/bin/yarn maybe_tput() { tput "$@" 2>/dev/null || : } test -e "$yarn" || { maybe_tput setaf 1 echo Need to install maybe_tput sgr0 exit 1 } >&2 env \ XDG_CONFIG_HOME=$base/yarn/config \ XDG_DATA_HOME=$base \ "$yarn" \ "$@"
true
aa0bd40216f36403881bdf95880dedacf0f47a05
Shell
bioboxes/gatb-minia
/image/bin/install/gatb_minia.sh
UTF-8
328
2.75
3
[]
no_license
#!/bin/bash URL="https://github.com/GATB/gatb-minia-pipeline/archive/${GATB_VERSION}.tar.gz" fetch_archive.sh ${URL} gatb ln -s /usr/local/gatb/{gatb,minia} /usr/local/bin # Remove BESST because /usr/local/gatb/BESST/scripts/ is referenced by gatb, but # does not exist in the installed directory rm -rf /usr/local/gat...
true
31d79e978e3f77d5cdc7138ba057de8b4d1b2809
Shell
backwardn/conbox
/build.sh
UTF-8
971
3
3
[ "MIT" ]
permissive
#!/bin/bash export GO111MODULE=on export CGO_ENABLED=0 msg() { echo 2>&1 "$0": $@ } if [ -n "$1" ]; then lint=1 else lint= fi if [ -n "$lint" ]; then msg linting else msg NOT linting fi if [ -n "$lint" ]; then hash gosimple 2>/dev/null && gosimple ./applets hash golint 2>/dev/null && golint ./applets hash ...
true
df6567c320efef0101a20d3b01f448a9195108e0
Shell
mattboston/mysql_qa_slave
/dropsnapshots.sh
UTF-8
1,195
3.8125
4
[]
no_license
#!/bin/sh # Copyright 2006 Matthew Shields matt@mattshields.org # this script drops LVM snapshots on the qadbm:3306 and qadbs:3306 mysql instances ###### # stop 3306:slave echo "stopping mysql-slave" service mysql-slave stop # stop 3306 echo "stopping mysql" service mysql stop # unmount snapshot1 echo "unmounting sn...
true
024a113e2d5dacc89933731a12b6ed392717683b
Shell
sirrax/otus-linux
/m1_l10_PAM/dz1_login/pam_script
UTF-8
132
2.8125
3
[]
no_license
#!/bin/bash DAT=$(date +"%m%d") for i in 0101 0223 0308 0501 0509 1107 1231 do if [ $DAT == $i ] then exit 1 fi done exit 0
true
89c8ea52e55ea3af6b2c24a4fa5c7ea57af7c116
Shell
spiralgenetics/biograph
/tools/aws/ec2mgr/install
UTF-8
478
3.375
3
[ "BSD-2-Clause" ]
permissive
#!/bin/bash set -e export DEST='/usr/local/sbin' if [ "$EUID" != "0" ]; then echo "This script must be run as root" exit 1 fi pushd /tmp apt-get install python3-pip pip3 install -U boto3 popd cp ec2mgr ${DEST}/ec2mgr chmod a+x ${DEST}/ec2mgr cp ec2mgr-warn.sh /etc/profile.d/ echo "@reboot root ${DEST}/ec2mg...
true
2573110a950dfb6a9beee45efd6c1821ce17fe4e
Shell
kunegis/phd
/mkresults-sign
UTF-8
654
2.546875
3
[]
no_license
#! /bin/sh # # Generate the link sign prediction evaluation results. # # PARAMETERS # $1 bar chart name # set -e TMP_FILE=${TMP:-/tmp}/`basename $0`.$$ CORPORA="slashdot-zoo epinions libimseti elec" export CORPORA export OUTPUT=$TMP_FILE.out export OUTPUT_BAR="`pwd`/$1" export METHODS_PATHA="adad" export METHODS...
true
ce6ac2f588a634590aaa92da776ab7f0b460a220
Shell
louisallain/TWITTOPP
/dodwan/bin/util/dodwan_functions.sh
UTF-8
7,259
4.125
4
[]
no_license
#!/bin/bash if [ -z $DODWAN_HOME ]; then echo "Error: \$DODWAN_HOME is not defined." exit fi #--------------------------------------------------------------------- # Download the necessary external jars for all the plugins #--------------------------------------------------------------------- load_libs() { ...
true
081ac4ecff3a350dc94c2c3e0db97f42ffd19722
Shell
milesrichardson/bbb-ap
/remote_scripts/genesis.sh
UTF-8
597
2.9375
3
[]
no_license
#!/bin/sh -e # Update kernel sh /opt/scripts/tools/update_kernel.sh # Update and upgrade packages apt-get -y update apt-get -y upgrade # Necessary for building kernel packages apt-get install -y linux-headers-$(uname-r) apt-get install -y udhcpd # Create (and delete if exists) buildroot at ~/bbb-ap cd ~ rm -rf bbb...
true
40050e646220785ddd2627a9c819a5a589e5ad84
Shell
reddragon/new-machine-setup
/osx.sh
UTF-8
826
2.671875
3
[]
no_license
echo "Installing Brew" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" echo "Setting up utilities" brew install zsh brew install golang brew install mosh # Add brew to the PATH. echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile eval "$(/opt/homebrew/bin/br...
true
888966e58186c04c89ef0d53563e132f5e2c1cbe
Shell
TwitchyLinux/ccr
/testdata/syslibs/make_test_libs.sh
UTF-8
623
2.90625
3
[]
no_license
#!/bin/bash set -ex rm -rf *.o *.so *.c *.so.* lib2 cat <<'EOF' >> lib.c void assign_i(int *i) { *i=5; } EOF cat <<'EOF' >> bin.c #include <stdio.h> void assign_i(int *); void _start() { int x; assign_i(&x); asm("mov $60,%rax; mov $10,%rdi; syscall"); } EOF gcc -Wall -fPIC -c lib.c gcc -shared -Wl,-so...
true
213a9bc497ca2cebefa3f14ddfe295107578547f
Shell
IntelLabs/SkimCaffe
/models/resnet/train_script.sh
UTF-8
3,098
3.5
4
[ "BSD-3-Clause", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "LicenseRef-scancode-generic-cla" ]
permissive
#!/bin/bash set -e set -x folder="models/resnet" file_prefix="caffenet_train" model_path="models/resnet" if [ "$#" -lt 7 ]; then echo "Illegal number of parameters" echo "Usage: train_script base_lr weight_decay prune_threshold max_threshold_factor winograd_sparsity_factor ic_decay oc_decay kernel_decay device_id t...
true
f83696b339416e0d84c66df0b1e6fffc4828bce9
Shell
eemc2oops/zkhx
/source/srio/RapidIO_RRMAP-master/install_list.sh
UTF-8
6,200
4.03125
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # Files required for installation # Note the names of these file name (different root) are also used by make_install.sh # REMOTE_ROOT="/opt/rapidio/.install" LOCAL_SOURCE_ROOT="$(pwd)" SCRIPTS_PATH=$LOCAL_SOURCE_ROOT/install NODEDATA_FILE="nodeData.txt" TMP_NODEDATA_FILE=/tmp/$$_$NODEDATA_FILE SRC_TAR="ra...
true
3d11ad992331fb7f422bf17b57a2179982121cd3
Shell
wangpanqiao/COME
/bin/Index.sh
UTF-8
1,187
3.296875
3
[]
no_license
#!/bin/bash # Print help message if no parameter given if [ "$#" == 0 ];then echo "Usage: ./Index.sh in_gtf out_index in_gtf is the transcript.gtf.foo file out_index is the transcript index " exit; fi ######################## predefined parameters RI=50;#the resolution of index is half bin size. which is 50 nt; RA=0.5;...
true
b0f8f97adde9214177acc4503af69433a5f89b46
Shell
PrismaPhonic/dotfiles-xmonad-arch
/install-readyset-reqs.sh
UTF-8
1,763
3.234375
3
[]
no_license
#!/bin/bash set -e echo Welcome to ReadySet! Let\s get you setup! read -p 'Clone readyset git repo to: ' gitrepo ##################################### ## General Work Dependencies ## ##################################### ## Start with repo update & pkg upgrade sudo pacman -Syu # Install tailscale for work vp...
true
752f0c0ee4bf56bd0a723c808698efd2fe4dd97b
Shell
jtaleric/osk-networking
/OSP-MutliNetwork-UPerf.sh
UTF-8
20,920
3.203125
3
[]
no_license
#!/bin/bash #------------------------------------------------------------------------------- # OSP-Network-Perf.sh # # # -- To do -- # ---- # ---- Currently now VLAN testing... This assumes there is a br-tun bridge # # -- Updates -- # 10/26/15 - Cleaned things up a bit # 01/22/14 - moved to uperf, removed netperf # 01...
true
5f51604a68bf6f047b1d8d1f59b41380873a2156
Shell
josegl/linuxDistrosSetups
/arch-mountain/prechroot-setup.sh
UTF-8
3,139
3.21875
3
[]
no_license
#!/bin/bash # Este script se ejecuta al inicicio de la ejecucion de un livecd de archlinux # Esto funciona solo para mi portatil. Es decir. El mountain # Esta particionado de la siguiente manera: # ssd = 120GB = sdb # hd = 750GB = sda # El ssd tiene 3 particiones: # sdb1 = particion 10mb bios # sdb2 = particion 200 ...
true
81c3a208f9b64ff59129ee3d0586f28c59e8a1c4
Shell
rubencarneiro/ubports-pdk
/scripts/setup.sh
UTF-8
3,191
4.03125
4
[]
no_license
function warnMissingData { IS_VALID=0 echo "Please enter the directory path you want to set up" while [ "$IS_VALID" == "0" ]; do printf "Path: " read NEW_DATA_ROOT if [ -d "$NEW_DATA_ROOT" ]; then IS_VALID=1 continue; fi echo "Please make sure...
true
4831e088175a535fb9ea44185d65e9c9f459fc4d
Shell
SvirgunA/docker
/proxy/proxy.sh
UTF-8
625
3
3
[ "Apache-2.0" ]
permissive
#!/bin/sh if [ ! -z "$PROXY" ] then export HTTP_PROXY=$PROXY export HTTPS_PROXY=$PROXY export http_proxy=$PROXY export https_proxy=$PROXY cat /etc/*-release | eval if [ "$ID_LIKE" == "debian" ] then cat > /etc/apt/apt.conf.d/01proxy < EOF Acquir...
true
43989ec4f00d718274bd3e4a5e1390aef3927800
Shell
maiminh1996/maiminh1996.github.io
/scripts/opencv.sh
UTF-8
2,991
2.90625
3
[ "MIT", "Apache-2.0" ]
permissive
#!/bin/bash echo "***** Install OpenCV (02/02/2022) *****" echo "***** 1. Updating & Upgrading in Ubuntu *****" sudo apt-get update sudo apt-get upgrade echo "***** 2. Installing Dependencies *****" sudo apt install build-essential sudo apt install gcc cmake git wget unzip sudo apt install libgtk2.0-dev pkg-config li...
true
21cbc894831b9f39b41b9bead5932243b47a1379
Shell
zEduardofaria/my-scripts
/bash/portscan-network.sh
UTF-8
278
3.015625
3
[]
no_license
#!/bin/bash if [ "$1" == "" ] then echo "PORTSCAN NETWORK" echo "Use mode: $0 NETWORK PORT" echo "Example: $0 172.16.1 80" else for ip in {1..254}; do hping3 -S -p $2 -c 1 $1.$ip 2> /dev/null | grep "flags=SA" | cut -d " " -f 2 | cut -d "=" -f 2; done fi
true
44dbc5a1c993005e7bd80388739af3a6b32aa66d
Shell
roycollings/saltstack
/states/handy_scripts/bright_max
UTF-8
250
2.546875
3
[]
no_license
#!/usr/bin/env bash max_brightness=$(cat /sys/class/backlight/intel_backlight/max_brightness) brightness=$(cat /sys/class/backlight/intel_backlight/brightness) echo "echo $max_brightness > /sys/class/backlight/intel_backlight/brightness" | sudo sh
true
4b4c147afe7b6d0ddc77fc984f1ac59c1607df4f
Shell
guimiu/SwiftGit2
/script/build_openssl.sh
UTF-8
953
3.4375
3
[ "MIT" ]
permissive
#!/bin/bash set -e # source the common build functions SCRIPT_DIR=$(dirname "$0") source "${SCRIPT_DIR}/common.sh" function build_ssl () { echo "Building $1 binary..." MACHINE=$1 ./config --prefix="$OUTPUT_DIR" make make install cd "${OUTPUT_DIR}/lib" rm -rf libcrypto.dylib cp libcryp...
true
ac6a54014852c7920879905d4efaba5bb7f70238
Shell
Ruitulyu/KAS-Analyzer
/scripts/fastqc_fastqc.sh
UTF-8
3,065
4.21875
4
[ "MIT" ]
permissive
#!/bin/bash # 'KAS-Analyzer fastqc' was developped by Ruitu Lyu on 12-10-2021. # Stop on error set -e ## Read arguments usageHelp="Usage: KAS-Analyzer fastqc [ -h/--help ] [ -t threads ] [ -c contaminants ] [ -o output dir ] [ -k KAS-seq ] " exampleHelp="Example: n...
true