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
8981658fb70dcdaa8582b6adbeb6aa265c32bb8f
Shell
AlekseiFalshtynskii/ionic_build
/common/publish/publish_market
UTF-8
2,147
3.5
4
[]
no_license
#!/bin/bash . build/common/functions if $(handleArgs --help $*); then build/common/help "build_all_after" exit 0 fi echo $(green "build/common/publish_market $*") outputPath=$(handleArgs --outputPath $*) build_ios=$(handleArgs ios $*) build_android=$(handleArgs android $*) ios_version=$(handleArgs --ios_version ...
true
86fcacb3c2eb8a40a43c31aafc7ecc8f792f371f
Shell
Altersoundwork/Random-Scripts
/realtek_rtl8812bu.sh
UTF-8
1,640
3.6875
4
[]
no_license
#!/bin/bash # # Installs and configures the Realtek RTL8812BU wireless card on Debian based systems. # v0.1 - 29-07-2021 # dev: @Altersoundwork # clear ################################################ echo ${bold} echo "##########################################" echo "Install & Configure Realtek RTL8812BU Wifi" echo "...
true
8051e3601ffee7822d5a15a91ce0c287a4ce9a55
Shell
syntacticsugarglider/tts-collator
/concat
UTF-8
700
3.265625
3
[]
no_license
#!env bash sox -n -r 24000 -c 1 short_silence.wav trim 0.0 0.5 sox -n -r 24000 -c 1 long_silence.wav trim 0.0 3 indices=() for file in $(ls -1 | sort -n | grep "[^(output)].mp3"); do indices+=($(echo $file | cut -d'_' -f2)) done indices=($(echo ${indices[@]} | tr ' ' '\n' | sort -nu)) for index in "${indices[@]}"; ...
true
c7cd1154aee69f1bb26a08404adf2cd99e0f3ec2
Shell
willianxz/shellscript
/criandoArquivoTexto.sh
UTF-8
271
2.78125
3
[]
no_license
echo "Será criado um arquivo texto e escrito alguma coisa dentro dele." echo "Escreva qualquer coisa para ser colocado no arquivo texto." read texto echo $texto > meuTexto.txt echo "Foi criado um arquivo texto com o nome meuTexto, contendo o que foi escrito." read exit
true
e5900babae44b3ed611fe57aedb793f5679c8fce
Shell
mthang/Galaxy-Pipeline
/Wrappers/cdhit_filter.sh
UTF-8
220
2.90625
3
[]
no_license
#!/bin/bash # run the cd hit fileter tool with the provided arguments # note: only works with non zip data CD-HIT-Filter "${@:1:$(($#-1))}" # move the output file to the provided output path mv "${2%.*}"*min*.fasta $7
true
39125a50e4373a00832cb15b5846093fba5ac521
Shell
radtek/data-pipeline
/data-sync/src/main/resources/bin/stop.sh
UTF-8
190
3.203125
3
[]
no_license
#!/bin/bash WORK_PATH=$(cd `dirname $0`;pwd) LOG_PATH=${WORK_PATH}/../log if [ -f ${LOG_PATH}/pid.log ] then echo "cat ${LOG_PATH}/pid.log | kill" cat ${LOG_PATH}/pid.log | kill fi
true
d99a9eb9ce43f0e9af093074c0185200ad801349
Shell
tomphp/dotmanager
/drivers/ubuntu_root.sh
UTF-8
296
3.25
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e function package_manager_install { apt-get install -y "$1" } export -f package_manager_install function package_manager_update { apt-get update } export -f package_manager_update function bash_profile_file { echo "$HOME/.bashrc" } export -f bash_profile_file
true
3f06818a4b6fdb5b8801088f8d92c3c277dbb23e
Shell
allyoushawn/grape_project
/disentangle/make_feats.sh
UTF-8
424
2.984375
3
[]
no_license
#!/bin/bash feat_ark=$1 prons=$2 op_feats_dir=$3 [ -f $feat_ark ] || exit 1 [ -f $prons ] || exit 1 mkdir -p $op_feats_dir/$seq_len rm -f $op_feats_dir/$seq_len/* python3 get_feat.py $prons $feat_ark $op_feats_dir $seq_len #if [ ! -f $feats_dir/extracted ]; then # [ -f $feats_dir ] && rm -rf $feats_dir # python...
true
b6caae99ac6c89045db86dbd4a03dfb599eb9e96
Shell
gilbertfrancois/dotfiles
/nvim/install_nvim.sh
UTF-8
8,603
3.390625
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -xe NVIM_VERSION="0.9.1" NODE_VERSION="18.16.0" # NodeJS LTS # FZF_VERSION="0.35.0" # LUA_LSP_VERSION="3.6.4" # VSCODE_LLDB_VERSION="1.8.1" NVIM_CONFIG_DIR=${HOME}/.config/nvim NVIM_SHARE_DIR=${HOME}/.local/share/nvim NVIM_LIB_DIR=${NVIM_SHARE_DIR}/lib function reset_config_dir { echo...
true
c059f9bb36a4f95757b3a5261de9cef8ab28e43c
Shell
engrab6/mechsysTNN
/scripts/old/change_includes.sh
UTF-8
209
2.953125
3
[]
no_license
#!/bin/bash set -e if [ "$#" -ne 1 ]; then echo echo "Usage:" echo " $0 file.{h,cpp}" echo exit 1 fi sed -i '/\/\/\ MechSys/,/^$/ s/.h"/.h>/' $1 sed -i '/\/\/\ MechSys/,/^$/ s/"/<mechsys\//' $1
true
ae47e9368ee1a3276734ac30ff78116976a80e74
Shell
1301688/front
/bin/create.sh
UTF-8
1,228
3.734375
4
[ "0BSD" ]
permissive
#!/bin/zsh # tarminal > yarn new:post (package.json) printf "記事タイトルを入力してください >> "; read TITLE printf "ファイル名を入力してください(sample.mdx) >> "; read FILENAME printf "タグを入力してください\n" printf "既存のタグは以下です\n\n" ls -r content/article/ printf "\nタグ名 >> "; read TAGS printf "カテゴリフォルダを入力してください\n" printf "既存のカテゴリフォルダは以下です\n\n" ls -r conte...
true
11decc081cdf227ffe1120f4e01cbc6b305e5cd6
Shell
sammaphey/mstk-docker
/env-vars.sh
UTF-8
1,046
4
4
[ "MIT" ]
permissive
#!/bin/bash ##################################################################### # # # Author: Samuel Eklund # # Email: sam@llnl.gov # # ...
true
11c9af01d4124222a41c72ff262e30e2e431d2f5
Shell
yanfeng1612/go-model
/template/java/utils/stop.sh
UTF-8
946
3.75
4
[ "MIT" ]
permissive
#!/bin/bash set -o errexit set -o nounset EXE_JAR="demo.jar" #获取当前应用的进程 id function get_running_pid { pgrep -f "$EXE_JAR" } readonly SELF_DIR=$(cd $(dirname $0) && pwd) function stop { local -i timeout=20 local -i interval=1 local -r service_pid=$(get_running_pid) || true # ignore error [[ -n $ser...
true
ec46794107af0dd9693991a70aad4a55ab291871
Shell
enguyen/csv-to-mailgun
/mailgun.sh
UTF-8
987
3.984375
4
[]
no_license
#!/bin/bash if [ ${#@} == 0 ]; then echo "Usage: $0 APIKey file" echo "* APIKey: Your Mailgun API key" echo "* file: The CSV file to read from. First column are From: email addresses. All other columns are the emails to forward to." fi while IFS='' read -r line || [[ -n "$line" ]]; do emails=($line) n...
true
363091bf0f1e7718f0b1aabb4d70cf9f174e87b9
Shell
hamscher/Arelle
/build27Dist.sh
UTF-8
2,107
2.890625
3
[ "Apache-2.0" ]
permissive
#!/bin/sh # Build Arelle 27 server distribution # create version with date and a shell file to name output with the date python3.2 buildVersion.py BUILT27DIR=../svr-2.7 rm -f -r ${BUILT27DIR} mkdir ${BUILT27DIR} cp arelleCmdLine.py arelle_test.py conftest.py app.yaml backends.yaml ${BUILT27DIR} mkdir ${BUILT27DIR}...
true
9c919ec68e93d27993817da3548ec47b27d9ed4f
Shell
ilventu/aur-mirror
/wakeonlan/PKGBUILD
UTF-8
815
2.78125
3
[]
no_license
# Contributor: Hyperair <hyperair@gmail.com> pkgname=wakeonlan pkgver=0.41 pkgrel=2 pkgdesc="Utility for waking up computers using UDP Wake-on-Lan packets" arch=('i686' 'x86_64') url="http://gsd.di.uminho.pt/jpo/software/wakeonlan/" license=('GPL') depends=(perl) makedepends=(perl) source=(http://gsd.di.uminho.pt/jpo/s...
true
ee9359031a0462e0aee385f4ebfa10b2b4ff1096
Shell
DRpandaMD/gcp-terraform
/terraform-workspace/scripts/bootstrap.sh
UTF-8
291
2.609375
3
[]
no_license
#!/bin/bash # update and upgrade packages sudo apt update sudo apt upgrade -y # install docker sudo apt install -y docker.io # set the group for docker if it has not been done sudo groupadd docker # add the user to the group (you will have to run this anyway) sudo usermod -aG docker $USER
true
6f1c20d4e814894abcfec03789372ab5c78e219e
Shell
tiger-tiger/MoloVol
/res/linux/shell/icons.sh
UTF-8
265
3.015625
3
[ "MIT" ]
permissive
#!bin/sh targeticon=$1 targetdir=$2 for d in /usr/share/icons/hicolor/*/; do d=${d::-1} d=${d##*/} mkdir $targetdir/$d mkdir $targetdir/$d/apps n=${d##*x} if [[ $n =~ ^[0-9]+$ ]] ; then convert -resize $d $targeticon $targetdir/$d/apps/molovol.png fi done
true
4091dacb873e0172a8fd4377580404f339b48a6f
Shell
deyiliu/crosswalk-test-suite
/wrt/wrt-common-webapp-tests/inst.sh.xpk
UTF-8
1,120
3.90625
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash #parse params USAGE="Usage: ./inst.sh [-i] [-u] -i install xpk and config environment -u uninstall xpk and remove source file [-i] option was set as default." PACKAGENAME=wrt-common-webapp-tests XPKNAME=${PACKAGENAME}.xpk RESOURCE_DIR=/opt/usr/media function installpkg(){ for xpkfile in $(ls *.xpk) d...
true
b69aac9c8888b27b25f21f804066482bcd83b5b1
Shell
jeremybusk/share
/postgresl-to-ramdisk.sh
UTF-8
2,260
4.03125
4
[]
no_license
#!/bin/bash # It is probably redundant if you set settings mentioned in https://gist.github.com/zekefast/42273658939724ba7c7a . # But anyway it will not hurt anybody (sure if you are not putting your production database to RAM :)). # # Look for more detailed description in follow articles: # - http://blog.vergiss-blac...
true
eda6b1c66c98fc40de23507d58e7b8720c3bcbe4
Shell
lukaszsoszynski/modular-programming-before-and-after-java-9
/jigsaw/customJreImage.sh
UTF-8
1,464
2.890625
3
[]
no_license
#!/bin/bash #First build and run project with script "runWithModulePath.sh" echo "Required dependencies (this works with jdk 12 or latter due to mixing multi release and not multi relese jars)" echo "Thus jdeps from java 11 is useless in this case." #jdeps --list-deps --ignore-missing-deps --multi-release 11 --module...
true
663ba4f19ffeb7161b11fff469c0d5ca1d01bfee
Shell
mironal/BotHub
/bin/show_webhook.sh
UTF-8
709
2.78125
3
[ "MIT" ]
permissive
#!/bin/bash # 指定した ID の hook の情報を見る # # 以下の環境変数が必要 # BOTHUB_GITHUB_TOKEN: GitHub の Token(要管理者権限). # BOTHUB_HOOK_ID: WebHook の ID. list_webhook.sh で確認できる. # BOTHUB_USER_NAME: https://github.com/UserName/RepoName の UserName の部分 # BOTHUB_REPO_NAME: https://github.com/UserName/RepoName の RepoName の部分 source pre_check.sh ...
true
a9767a4b7202d992b8ad2e413a4d1f08d0a0b763
Shell
cloudbase/nova-ci
/devstack_vm/bin/parallel-test-runner.sh
UTF-8
3,456
3.875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash basedir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) . $basedir/utils.sh # Make sure we kill the entire process tree when exiting trap 'kill 0' SIGINT SIGTERM function run_test_retry(){ local tests_file=$1 local tmp_log_file=$2 local i=0 local exit_code=0 pushd . > /dev/null ...
true
b92bbe9b151bd02ab8c520f3fe6a13f74bfb4cf0
Shell
fatfingererror/wolf
/data.aggregator.batch/hadoop-cluster-docker/start-container.sh
UTF-8
1,006
3.390625
3
[]
no_license
#!/bin/bash # the default node number is 3 N=${1:-3} # start hadoop master container # containers running on different networks (--net) cannot be linked properly # be careful with the links (they must refer to existing containers), docker does error docker rm -f hadoop-master &> /dev/null echo "start hadoop-master c...
true
4a75bde8a8eabb34606c45ece5b70ee9d9bb69b3
Shell
ZhaoYiChina/Flask-Project
/docker/docker_run.sh
UTF-8
739
2.828125
3
[]
no_license
#!/usr/bin/env bash PROJECT_PATH=`(cd ../;pwd)` [ -d ${PROJECT_PATH}/logs ] || mkdir ${PROJECT_PATH}/logs CONFIG_MODE_TEXT=${MODE:-default} # docker rm $(docker ps -a -q) # 后台运行 docker run \ --name flask_project_${CONFIG_MODE_TEXT} \ -h flask_project_${CONFIG_MODE_TEXT} \ --dns=223.5.5.5 \ ...
true
68a55af2cf4c75c24bff20eeb5ab875f2d6751be
Shell
trevorwhitney/bosh-recipes
/lib/deploy-cf.sh
UTF-8
1,438
3.484375
3
[]
no_license
#!/bin/bash set -ex if [ -z "$gcs_access_key" ]; then echo "gcs_access_key not set, aborting" exit 1 fi if [ -z "$gcs_secret_access_key" ]; then echo "gcs_secret_access_key not set, aborting" exit 1 fi display_help() { echo "Usage: $0 [option...]" >&2 echo echo " -i interpolate the cloud c...
true
01c832f417c63da6605d0b5b80874bdb601983e3
Shell
Calderwood2020/openNPL
/loadfixtures.sh
UTF-8
301
2.796875
3
[ "MIT" ]
permissive
#!/bin/bash # List of apps to load fixtures for # News app is not included as it is updated in production # TODO separate out eve update (similar to news) NAME[1]="eba_portfolio" source venv/bin/activate for i in ${NAME[@]} do python3 manage.py loaddata --format=json $i $i/fixtures/$i.json done
true
48aa0cecaeb5f327706231507058f9d98c62bb1c
Shell
freebsd/freebsd-ports
/databases/gnats4/files/extrapatch-gnats__edit-pr.sh
UTF-8
6,818
2.921875
3
[ "BSD-2-Clause" ]
permissive
--- gnats/edit-pr.sh.orig Sun May 26 16:32:02 2002 +++ gnats/edit-pr.sh Sat Dec 6 02:43:44 2003 @@ -5,6 +5,8 @@ # Contributed by Jeffrey Osier (jeffrey@cygnus.com). # Majorly revised by Bob Manson (manson@juniper.net). # Further improvements by Dirk Bergstrom (dirk@juniper.net). +# Patches for the FreeBSD Project b...
true
2978fc8d47057995ec547c7f62b55b70140d2442
Shell
nvm-sh/nvm
/test/fast/Running 'nvm deactivate' should unset the nvm environment variables
UTF-8
1,010
3.328125
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/sh set -ex die () { echo "$@" ; exit 1; } export NVM_DIR="$(cd ../.. && pwd)" \. ../../nvm.sh \. ../common.sh make_fake_node v0.2.3 [ `expr $PATH : ".*v0.2.3/.*/bin.*"` = 0 ] || echo "WARNING: Unexpectedly found v0.2.3 already active" >&2 nvm use --delete-prefix v0.2.3 || die "Failed to activate v0.2.3" [...
true
b43b2c4255046fddb2951b841c10d9d88d18ca29
Shell
tox2ik/local-bin
/generate-pass
UTF-8
311
3.109375
3
[]
no_license
#!/bin/sh words=$( strings /usr/lib64/aspell-?.*/no.rws | sort -u | sort -R | tr -d $'\t' | tail -n 3 | tr \\n ' ' | tr 'A-Z' 'a-z' ; ) special() { tr -dc '[:graph:]' < /dev/urandom | tr -d '[:alpha:]' | dd bs=1 count=3 2>/dev/null } for i in $words; do echo -n "$i "; special; echo -n " " done echo
true
d3b373aacca6aeb8d7605de13b65e10225cf9ef9
Shell
dannyhollman/holberton-system_engineering-devops
/0x04-loops_conditions_and_parsing/5-4_bad_luck_8_is_your_chance
UTF-8
267
3.296875
3
[]
no_license
#!/usr/bin/env bash #prints "Holberton School" #4th loop prints "bad luck" #8th loop prints "good luck" i=1 while [ $i -lt 11 ] do if [ $i -eq 4 ] then echo "bad luck" elif [ $i -eq 8 ] then echo "good luck" else echo "Holberton School" fi ((i++)) done
true
745b7037d78b57130799500abfcb4563dfa5f49d
Shell
gitpan/manish-total-scripts
/carrieruserquota.sh
UTF-8
4,588
3.859375
4
[]
no_license
#!/bin/sh # Qmail - mailquotacheck # # Author: Paul Gregg <pgregg@tibus.net> # Url: http://www.tibus.net/pgregg/projects/qmail/ # Run this program ala: |mailquotacheck before your ./Maildir/ or ./Mailbox # entry in the .qmail file. e.g: # |/usr/local/bin/mailquotacheck # ./Maildir/ # Default quota is set to 3000Kb ...
true
7b7d53c789bd89fba026c109e486d6c45f84e840
Shell
choipoby/nrdp-scripts
/.sh/dev.sh
UTF-8
5,224
3.390625
3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#emacs build emake() { "emacsedit.sh" -m -n "${1}" } #reconfigure wrapper reconfigure() { `which reconfigure` "$@" cd "$PWD" } #make wrapper make() { "ubermake.sh" "$@" } #gdb wrapper gdb() { EDITOR="emacsedit.sh -n" `which gdb` "$@" } #emacs diff ediff() { f="ediff-files" if [ "$1" = "...
true
cba4f6c0002fc38089e1dda609d64a89e5ce9617
Shell
mjedrasz/ttd-organiser-pwa
/build.sh
UTF-8
3,959
3.375
3
[ "MIT" ]
permissive
#!/bin/bash set -e set -o pipefail instruction() { echo "usage: ./build.sh deploy <stage> <region>" echo "" echo "stage: eg. int, staging, test, prod, ..." echo "region: eg. eu-central-1, eu-west-1, ..." echo "" echo "for example: ./build.sh deploy test eu-central-1" } if [ $# -eq 0 ]; then instruction...
true
4dae4ed9359ea16d93076d25231248492c3a91c0
Shell
MissiontoMars/ray
/python/ray/autoscaler/kuberay/init-config.sh
UTF-8
898
3.5625
4
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
#!/bin/bash # Clone pinned Kuberay commit to temporary directory, copy the CRD definitions # into the autoscaler folder. KUBERAY_SHA="ce84f0441c991eb4b0f52ee2cd85c0a5ac048d11" OPERATOR_TAG=${KUBERAY_SHA:0:7} # Requires Kustomize (dependency to be removed after KubeRay 0.3.0 cut) if ! command -v kustomize &> /dev/nul...
true
437526fc35804cc1d2a883236d828fd212e6217b
Shell
alldeady/cloud-1
/deploy.sh
UTF-8
3,538
2.578125
3
[]
no_license
# !/bin/sh WORKING_DIR=$(pwd) export PROJECT_ID=<your-project-id> # Create GKE CLUSTER_NAME=cloud-1-cluster gcloud beta container --project $PROJECT_ID \ clusters create $CLUSTER_NAME --region "europe-central2" \ --no-enable-basic-auth --cluster-version "1.18.17-gke.100" \ --release-channel "regular" --m...
true
8a0eeab57ea24f775b4db3fafbde7ad85d25afdb
Shell
mohsinalimat/stripe-ios
/ci_scripts/export_builds.sh
UTF-8
1,234
3.59375
4
[ "MIT" ]
permissive
#!/bin/bash # Options: --only-static: only build the static framework target if [[ $# -gt 0 ]] then ONLY_STATIC=1 else ONLY_STATIC=0 fi PROJECTDIR="$(cd $(dirname $0)/..; pwd)" BUILDDIR="${PROJECTDIR}/build" CARTHAGEDIR="${PROJECTDIR}/Carthage/Build/iOS" rm -rf $BUILDDIR mkdir $BUILDDIR cd $PROJECTDIR # Dynamic fr...
true
3c553faadeb422921bafb9ce1146bfc0c100761b
Shell
jonkster/YAAXI
/boxes/switchlights/box.sh
UTF-8
1,505
3.546875
4
[ "MIT" ]
permissive
#/usr/bin/bash # this is any box specific test/simulation if [ -z $1 ] then echo "No IP address, exiting" else echo "Assuming arduino with IP " "${1}" echo "Ask for arduino details:" echo -n "Avduino Box Fish" | nc -4u -w0 ${1} 8888 BOXID=`nc -4u -l -w1 8889` echo "Looking for a BOXID response, got: ${BOXID}" i...
true
7477dcc7dee4e16a35029e2ebb771451c3ad8943
Shell
istorkbox/istorkbox-tech
/install/centos7_install_python3.sh
UTF-8
1,762
3.375
3
[]
no_license
#!/bin/bash #Python-3.5.1.tar.xz #安装文件镜像 #https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tar.xz #https://istorkbox-1256921291.cos.ap-guangzhou.myqcloud.com/Python-3.5.1.tar.xz #https://blog.csdn.net/u010510962/article/details/80690084 #https://www.cnblogs.com/blogjun/articles/8063989.html if type wget >/dev/nul...
true
ee3db996151563b4551f406c4062a59e3bd3c68d
Shell
trevorcook/reflex-platform
/run-todomvc-in-ios-sim.sh
UTF-8
580
2.84375
3
[ "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash function cleanup { if [ -n "$uuid" ]; then echo "Cleaning up simulator" >&2 xcrun simctl shutdown $uuid 2>/dev/null xcrun simctl delete $uuid fi } trap cleanup EXIT nix-build -A ghcIosSimulator64.reflex-todomvc uuid=$(xcrun simctl create reflex-todomvc com.apple.CoreSimulator.Sim...
true
b881ac6c8aeeaf5287bf5b789ca90b6dad838a6b
Shell
chrismb3/.sh
/lab3.sh
UTF-8
221
3.265625
3
[]
no_license
while [[ "$#" > 0 ]]; do case $1 in -fornamn) fornamn="$2"; shift;shift;; -efternamn) efternamn="$2";shift;shift;; *) echo "Unknown parameter passed: $1";shift;shift;; esac; done echo "Du heter $efternamn, $fornamn"
true
168409d58d5acbc1bead1d0d8149e5973f5a850e
Shell
tylyan/dotfiles
/install.sh
UTF-8
1,735
4.0625
4
[]
no_license
#!/bin/bash check_dependencies() { echo "checking dependencies..." dependencies=(curl git) for d in $dependencies; do command -v $d > /dev/null 2>&1 if [[ $? != 0 ]]; then echo "$d required to run install script." exit 1 fi done echo "done." } brew_...
true
14f7b0167da8bf70b3b8ff66b60b7d939abe3878
Shell
ObliviousGmn/MacDotfiles
/Scripts/Lockscreen
UTF-8
986
3.71875
4
[]
no_license
#!/bin/sh # ObliviousGmn. April 2015 # https://github.com/ObliviousGmn # i3lock - Lockscreen Active="/tmp/Active.png" Static="/tmp/Static.png" Center="-gravity center -composite -matte" Pixel="-scale 10% -scale 1000% -fill black -colorize 33%" Wallpaper="$(cat $HOME/.xinitrc | awk '/hsetroot/ {print $3}')" CenterIMG...
true
3b5a04a04edb99c9ac8eb6bb6cb863a9fbb0d475
Shell
b-it-bots/mas_industrial_robotics
/images/mas_industrial_robotics/bashrc
UTF-8
874
2.84375
3
[]
no_license
# # ~/.bashrc # borrowed from https://github.com/pierrekilly/docker-ros-box/blob/master/docker/bashrc # If not running interactively, don't do anything [[ $- != *i* ]] && return alias ls='ls --color=auto' export QT_X11_NO_MITSHM=1 function returncode { returncode=$? if [ $returncode != 0 ]; then echo "[$retu...
true
37723a8e7ff3761beac5252bedc1446a121b275b
Shell
spinnaker-cn/deck
/app/scripts/modules/build_order.sh
UTF-8
744
3.65625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash cd `dirname $0` MODULES=$*; TUPLES="" for MODULE in $MODULES ; do # hard coding known deps for now because the package.json files don't yet contain the package's dependencies case "$MODULE" in amazon) DEPS="core" ;; appengine) DEPS="core" ;; cloudfoundry) DEPS="core" ;; core) DE...
true
fef708f2a59d91233794c7083cb80d130d190b88
Shell
tweedproject/tweed
/stencils/dummy/lifecycle/unbind
UTF-8
146
2.8125
3
[ "MIT" ]
permissive
#!/bin/bash set -eu echo >&2 "unbinding..." n=5 while [[ $n != '0' ]]; do sleep 1 n=$(( n - 1 )) echo >&2 "$n seconds left..." done exit 0
true
5daae51cfce2c9e9b2510b3f5f405eb1ba52b4d6
Shell
Playfloor/docker-centos
/centos_base/history/install_centos_base.sh
UTF-8
2,769
2.640625
3
[]
no_license
#!/bin/bash # author ljh #安装wget yum -y install wget #更换yum源,换成aliyun wget -O /etc/yum.repos.d/CentOS-Base-aliyun.repo http://mirrors.aliyun.com/repo/Centos-6.repo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup mv /etc/yum.repos.d/CentOS-Base-aliyun.repo /etc/yum.repos.d/CentOS-Base.repo...
true
c92ee008acf7cde7a359c0739c51da4d6b1bb9c4
Shell
x3rAx/dotfiles
/.local/bin/wifi
UTF-8
743
3.921875
4
[]
no_license
#!/usr/bin/env bash main() { action=$1 case "$action" in 'on') enable_wifi ;; 'off') disable_wifi ;; 'toggle') toggle_wifi ;; 'status'|*) get_status esac } enable_wifi() { rfkill unblo...
true
4599096a3065a95af5f296f8ba4ccd075eee0d7d
Shell
FailMan3D/fm3d-vcs-utils
/bin/git
UTF-8
610
3.390625
3
[]
no_license
#!/bin/sh # vim: ts=4 sts=0 sw=4 noet ai # Because Git doesn't support subcommand aliases # Hard-coded path to git # DANGER: Don't replace this with "command git", # doing so will turn this script into a forkbomb! gitpath=/usr/bin/git case "$1" in "stash") shift # discard $1 case "$1" in "diff") shift ...
true
ee7069f0729591188595e7e7836b30003a02f5f8
Shell
delkyd/alfheim_linux-PKGBUILDS
/firefox-extension-requestpolicy-continued/PKGBUILD
UTF-8
1,129
2.578125
3
[]
no_license
# # Based on PKGBUILD firefox-extension-shumway and firefox-extension-adblock-plus _plugin_name=requestpolicy-continued pkgname=firefox-extension-${_plugin_name} pkgdesc="Be in control of which cross-site requests are allowed. Improve the privacy of your browsing by not letting other sites know your browsing habits. ...
true
e31f14ec9681083081fe25a2dbd4d8a870086b2a
Shell
weaveworks/wksctl
/tools/check-embedmd.sh
UTF-8
89
2.71875
3
[ "Apache-2.0", "LGPL-3.0-only", "LGPL-2.0-or-later" ]
permissive
#!/bin/sh -e for f in "$@"; do echo "embedmd: checking $f" embedmd -d "$f" done
true
a912daffc06e0145bb255eaa0e71e4bc8bc18b4a
Shell
peter1000/arch-pkg
/pkg/all/libsearpc/PKGBUILD
UTF-8
1,328
2.734375
3
[]
no_license
# Maintainer: Moritz Maxeiner <moritz@ucworks.org> # Contributor: Aaron Lindsay <aaron@aclindsay.com> pkgname=libsearpc pkgver=1.2.2 _seafilever=3.0.4 pkgrel=6 pkgdesc="A simple and easy-to-use C language RPC framework (including both server side & client side) based on GObject System." arch=('i686' 'x86_64' 'armv6h' ...
true
4f3a98da6a52d6083624d3902a31f81a44b87d8a
Shell
huawei-noah/bolt
/common/gcl/tools/kernel_lib_compile/sh/buildKernelLibConfig.sh
UTF-8
1,783
3.375
3
[ "MIT" ]
permissive
#get work path# workPath=$(pwd) #set file.cl dir# tensorCLPath=${BOLT_ROOT}/tensor_computing/src/gpu/mali/cl sampleCLPath=${BOLT_ROOT}/gcl/tools/gcl_sample/cl imageCLPath=${BOLT_ROOT}/image/src/gpu/mali/cl CLPath=(${tensorCLPath} ${sampleCLPath} ${imageCLPath}) deviceNameFile=deviceNameFile #get kernel compile option...
true
c86dc16e66f445c3e23656cac3fe63553ecd1188
Shell
ycliang-tw/dotfiles
/install.sh
UTF-8
539
3.78125
4
[]
no_license
#!/bin/bash << description This script is used to customize the working environment. Date: 2020/06/04 Author: ycliang ycliang@andestech.com description dir=`pwd` dotfiles=".bashrc .vimrc" install() { home=$1 for f in $dotfiles; do cp $dir/$dotfiles $home/. done } show_help() { echo '[usage] ./install.sh <opti...
true
df9795cbc861e49c916e5a5c7027e3603afd8cb0
Shell
davidxjohnson/hazelcast-k8s-rpi
/start.sh
UTF-8
602
3.140625
3
[ "Apache-2.0" ]
permissive
#!/bin/sh PRG="$0" PRGDIR=`dirname "$PRG"` HAZELCAST_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`/hazelcast if [ "x$MIN_HEAP_SIZE" != "x" ]; then JAVA_OPTS="$JAVA_OPTS -Xms${MIN_HEAP_SIZE}" fi if [ "x$MAX_HEAP_SIZE" != "x" ]; then JAVA_OPTS="$JAVA_OPTS -Xmx${MAX_HEAP_SIZE}" fi export CLASSPATH=$HAZELCAST_HOME/*:$CLASSP...
true
a2d29834dd448a9004cea214c8cdba7ca91032fa
Shell
sjbylo/osd-workshop
/scripts/deploy-homeroom
UTF-8
1,235
3.125
3
[]
no_license
#!/bin/bash PROJECT=infra cd `dirname $0` BASE=`pwd` cd - >> /dev/null source ${BASE}/../config.sh set -e oc new-project $HR_PROJECT || oc project $HR_PROJECT oc new-build \ -n $HR_PROJECT \ --name=homeroom \ --binary \ --docker-image=ghcr.io/kwkoo/workshop-dashboard:4.7 echo -n "waiting for buildconfig ...
true
636695c1a74eb416aeb534920805b4b6ab1cd822
Shell
hngbyr/gsm
/bin/motoload.sh
UTF-8
1,235
3.25
3
[]
no_license
#/bin/sh # motoload.sh # moded by 0x7678 # Under GNU GPL # get config settings CONFIG="$HOME/.ini/config.ini"; GSMAPPATH=`cat "$CONFIG" | grep '^GSMAPATH=' | cut -d '=' -f 2`; if [ ! -f $CONFIG ];then zenity --info --text="错误代码0x05" --title="程序错误"; echo "error code 0x05,Please contact the system administrator!";...
true
f95ad4d1d470517cae195ca7cbb241cd56cae713
Shell
cms-sw/cms-bot
/kill-build-release
UTF-8
714
3.796875
4
[]
no_license
#!/bin/sh -ex # This is used when the build is aborted from the issue comments. # build-release creates a filed called BUILD_PID, this file # contains the process id for the build. # When this script is excecuted, it reads the file and kills # the process with that process ID. # The file BUILD_PID must be in the work...
true
591c1806269fdcd0c4d5fd0227b4555e9f590e38
Shell
yuuhhe/hub-linux-ubuntu
/install/overlay/etc/init.d/samba-shares.sh
UTF-8
1,166
3.734375
4
[]
no_license
#! /bin/sh -e #### BEGIN INIT INFO # Provides: samba-shares # Default-Start: 2 3 4 5 # Default-Stop: S 0 1 6 # Short-Description: generates /etc/inveneo/samba/shares.conf # Description: generates /etc/inveneo/samba/shares.conf # by reading all *.conf files in /etc/inceneo/sa...
true
1abf1e6f8f4c76e6f59d3844f0debcbb54ebe8bd
Shell
ChillerDragon/crools
/inkscape
UTF-8
2,653
3.75
4
[]
no_license
#!/bin/bash # shellcheck disable=SC1117 cat << EOF _ ___ _ __ ___ ___ | |___ / __| '__/ _ \ / _ \| / __| | (__| | | (_) | (_) | \__ \\ \___|_| \___/ \___/|_|___/ INKSCAPE LAUNCH FROM SOURCE SCRIPT EOF GIT_ROOT=/home/$USER/Desktop/git-extern INKSCAPE="$GIT_ROOT/inkscape" INKSCAPE_BIN="$I...
true
68355246c4b81cc2d75937f94177cc98a6f2a7cf
Shell
Marmzy/Thesis
/RNA-Seq_Pipeline/Run_STAR_Synthetic.sh
UTF-8
3,832
2.75
3
[]
no_license
#$ -S /bin/sh #$ -pe serial 3 #$ -l h_vmem=6G module load STAR/x86_64/2.5.2b #Mapping the GSE54153 dataset reads (due to some samples undergone 'quality trimming' the code is messy, as the correct #files need to be collected). for i in {886..903} do gunzip /group/biocomp/users/cadav/Thesis/Transcriptome/RNA-Seq/GSE...
true
75214a208455af1c8e8a534619c3c89b34a7a00d
Shell
liaoya/docker-compose
/gitea/sqlite/init.sh
UTF-8
936
2.875
3
[ "MIT" ]
permissive
#!/bin/bash #shellcheck disable=SC1091 set -a -e -x [[ $(command -v http) ]] || { echo "http and jq are required" exit 1 } THIS_FILE=$(readlink -f "${BASH_SOURCE[0]}") THIS_DIR=$(dirname "${THIS_FILE}") source "${THIS_DIR}/../env.sh" docker-compose -f "${THIS_DIR}/docker-compose.yml" up -d sleep 10s http -...
true
52f01b824dafa81620832ce44a900a7fc9b5bf72
Shell
bsn069/cpp1
/bsn_cpp/third_part/make_env.sh
UTF-8
1,580
2.796875
3
[]
no_license
#!/bin/sh # run in docker #if [ ! -d "boost" ]; then # cp /usr/include/boost boost -R #fi if [ ! -d "LuaJIT" ]; then if [ ! -f "LuaJIT-2.0.5.tar.gz" ]; then curl http://luajit.org/download/LuaJIT-2.0.5.tar.gz -o LuaJIT-2.0.5.tar.gz fi tar -xzvf LuaJIT-2.0.5.tar.gz mv LuaJIT-2.0.5 LuaJIT fi if [ ! -d "LuaBrid...
true
a0c52a95003ce3d4c7d4445d031128a779c3f2ad
Shell
x72coder/x72
/x72alinux/x72qialivm.sh
UTF-8
9,665
3.078125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # to dawnload this script # curl -L http://bit.ly/2x0Wons >x72alinstall.sh # ------------------------------------------------------------------------------ # safeExit # ----------------------------------- # Non destructive exit for when script exits naturally. # Usage: Add this function at the end...
true
1af5b0c54f817c3e06bea969208ffd9f5544881a
Shell
boundino/HltL1PbPb2018
/L1/mbThreshold/run_adcNoise.sh
UTF-8
988
2.921875
3
[]
no_license
#!/bin/bash RUN=(0 1) FILE_ZeroBias=( "/export/d00/scratch/jwang/L1ppLowPU2018/noise/L1Ntuple_ZeroBias_319460.root" "/export/d00/scratch/jwang/L1XeXe/noise/L1Ntuple_HIZeroBias_304906.root" ) FILE_EmptyBX=( "/export/d00/scratch/jwang/L1ppLowPU2018/noise/L1Ntuple_EmptyBX_319460.root" "/export/d00/scratc...
true
0ebabf7ed6614352be4f641c6eea9b4240bafb11
Shell
KyussCaesar/home
/.bashrc
UTF-8
2,946
3.3125
3
[]
no_license
# # ~/.bashrc # # If not running interactively, don't do anything [[ $- != *i* ]] && return # If bashrc already run for this shell, don't do it again [[ ! -z "$BASHRC_SET" ]] && return # don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options HISTCONTROL=ignoreboth # ap...
true
8bac2ccec812b686ead15f7d6472f18a46019031
Shell
fernandoandrade/ansible-kops
/deploy_dashboard.sh
UTF-8
1,095
3.265625
3
[]
no_license
#!/bin/bash printf '\nInstall Kubernetes dashboard from Github repository. Check at https://github.com/kubernetes/dashboard\n\n' kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.3.1/aio/deploy/recommended.yaml printf '\nCreate a service account in the default namespace.\n\n' kubectl create...
true
bf6b6c2de2051d07c887110020bfd5d3f0fe154c
Shell
jbsouthe/cloudComputing
/cf_create_user
UTF-8
485
2.796875
3
[]
no_license
#!/bin/bash # $1 = username and password # $2 = org # $3 = space # $4 = space role cf create-user $1 $1 cf set-space-role $1 $2 $3 $4 USERNAME=admin HOSTNAME=node8 MYSQLSTART='mysql -u root robocode -e "insert into roles (userid, role, space, password) values(' VALUES="'"$1"','"$4"','"$2$3"', encrypt('"$1"','JBS')"...
true
2d50baeb4988652c351256faedb78267f15ad6b9
Shell
lsaffie/dotfiles
/activate
UTF-8
163
2.84375
3
[]
no_license
#!/bin/bash #APP="${1}" APP=$* function activate_app { /usr/bin/osascript <<END_SCRIPT tell application "${APP}" activate end tell END_SCRIPT } activate_app
true
84ed3a372e7cdf148039bea821eab611bb8d20d1
Shell
podemosaprender/tpl_app_semilla
/build_conf/publish.sh
UTF-8
890
3.515625
4
[]
no_license
#!/bin/bash npm update VERSION=$(node --eval "console.log(require('./package.json').version);") ME=$(node --eval "console.log(require('./package.json').name);") npm test || exit 1 echo "Ready to publish ${ME} version $VERSION." echo "Has the version number been bumped?" read -n1 -r -p "Press Ctrl+C to cancel, or an...
true
cb6263592df49b4fc67b7d62628b55b80c2e4232
Shell
luym11/doc_parser
/counter.sh
UTF-8
246
3.203125
3
[]
no_license
#!/bin/bash l=0 n=0 s=0 touch counterResult FILES=./*.csv for f in $FILES do $f >> counterResult wc -w $f >> counterResult n=$[ $n + 1 ] s=$[ $s + $l ] done echo "$n files in total, with $s lines in total" #!/bin/bash
true
9e2165c7e14378a4e2d472faa304e656477574df
Shell
clinei/incgame-pages-deploy
/scripts/parse_opts.sh
UTF-8
438
3.5
4
[]
no_license
## WIP: do not use ARGS=$(getopt -o "p" -l "push:" -n $0 -- "$@") if [ $? -ne 0 ] ; then exit 1; fi SHOULD_PUSH=false # TODO: better initial value? opt= while [ "$opt" != "-1" ] ; do opt=$1 case opt in -h|--help) # TODO: print usage echo Help exit ;; -p|--push) SHOULD_PUSH=true ;; --) br...
true
5c48fd450a34b445acc8e08ae94e6c67e864d523
Shell
benjaffe/chrome-okc-plugin
/plugin-old/lib/knockout/build/tools/check-trailing-space-linux
UTF-8
498
3.546875
4
[ "MIT", "LicenseRef-scancode-proprietary-license", "GPL-2.0-or-later", "GPL-1.0-or-later", "LGPL-2.1-or-later", "GPL-2.0-only", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-generic-exception", "LicenseRef-scancode-other-copyleft" ]
permissive
#!/bin/sh # Check that all files have trailing spaces stripped OutTrailingSpaceListFile='output/knockout-files-to-clean.txt' cd .. grep -nrI '[ ]$' `find * | grep -E "\.(js|html|css|bat|ps1)$"` | grep -v "^build/output/" > build/$OutTrailingSpaceListFile cd build if [ -s $OutTrailingSpaceListFile ] then echo "The fo...
true
0cd4a068db6b6ab86660af05378a3de4cf1588fb
Shell
andyceo/bash_scripts
/drushsync.sh
UTF-8
1,910
3.46875
3
[]
no_license
#!/usr/bin/env bash # Sync the site's local development copy with production one # Author Name: Andrey Andreev aka andyceo # Author Email: andyceo@yandex.ru # Author Homepage: http://andyceo.ruware.com # ENGLISH NOTE: under development. Note that comments in this file # and output messages in russian language genera...
true
f5668139b57a735588d9ac18a05b5f2d7716c290
Shell
irissun96/nasa-spaceapp-2018
/FirePrediction/FirePrediction_model/data_acquisition/get_nyc_data.sh
UTF-8
2,532
3.1875
3
[]
no_license
#!/bin/bash NYC_RAW_DIR="../data/raw" NYC_INTREIM_DIR="../data/intreim" NYC_PROCESSED_DIR="../data/processed" CONFIG_FILE="../config/data_sources.json" #CONTEXTUAL_DATA_FNAMES=( "MapPluto" "NYC_tracts" "CENSUS_ACS_2015" "DOB_complaints" "DOB_violations" "DOB_ecb_violations" "NYC_311_complaints" ) CONTEXTUAL_DATA_FNAM...
true
44b223516235c0eb769aca3b94828a6933a9ca04
Shell
mtikekar/snapshot
/snapshot
UTF-8
2,423
4.3125
4
[]
no_license
#!/bin/bash # btrfs filesystem with options in fstab: # nofail,user,user_subvol_rm_allowed,compress=lzo # mount cmd: mount /dev/... # unmount : umount /dev/... set -o errexit set -o nounset cmd=$(basename $0) do_help() { cat <<EOF usage: $cmd help: print this message $cmd init <src>: initialize current dir t...
true
3a6d08f5c96c426a2561a07c40ad7de7ebecca9a
Shell
joenery/queue
/tar-list
UTF-8
743
3.5
4
[]
no_license
#!/bin/bash #takes a list of directories and makes a list of #rsync commands LISTFILE="$1" COMMAND="tar -zcvf" SRC="/gale/netapp/seq4/illumina_runs/fastqs" #path to parent of source dir DEST="/gale/raidix/rdx-1/archive" #dir to copy source into LOG="/gale/netapp/home/seq/logs/rdx-1/tar" while getopts ":l:s:d:L" opt; ...
true
c8c7f088bc3245421f2f7b5609e67ae36e21c237
Shell
tyoshida444/dotfiles
/.bashrc
UTF-8
950
2.8125
3
[]
no_license
PS1="\h:\W$\[ \]" #-------- cdと同時にlsもしちゃう ----------- function cdls() { \cd $1; ls -G; } alias cd=cdls #-------- lsに色を付ける -------- alias ls='ls -G' export LSCOLORS=gxfxcxdxbxegedabagacad ### Added by the Heroku Toolbelt export PATH="/usr/local/heroku/bin:$PATH" #-------- java文字化け -------- alias javac='javac ...
true
275866fe9a81c5448af7e65509556eb02bb6821f
Shell
hajimetch/prezto
/runcoms/zshrc
UTF-8
4,577
3.015625
3
[ "MIT" ]
permissive
# # Executes commands at the start of an interactive session. # # Authors: # Sorin Ionescu <sorin.ionescu@gmail.com> # # Source Prezto. if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" fi # Customize to your needs... # ######################################## #...
true
648e6f0a026a9f11de1555fbcd524f51c58af354
Shell
nevesnunes/env
/linux/bin/run-rofi.sh
UTF-8
254
2.84375
3
[ "MIT" ]
permissive
#!/usr/bin/env sh set -eu ROFI_VERSION=$(rofi -version | sed 's/[^0-9]*\([0-9]*\.[0-9]*\).*/\1/g') if [ "$(echo "$ROFI_VERSION >= 1.4" | bc)" = 1 ]; then exec rofi "$@" -matching fuzzy -theme ~/.local/share/themes/Uhita.rasi else exec rofi "$@" fi
true
d512f21496c09132f50c68de2ba1ccfcc9b64c57
Shell
grassfishgmbh/QtPlayer-deps
/build-deps/vlcBlobs.sh
UTF-8
1,325
3.78125
4
[]
no_license
#!/bin/bash if [ -z "$VERSION" ]; then VERSION="2.2.3" fi JOBROOT=`pwd` WD="$JOBROOT/VLC/$VERSION" DUMPBIN_BIN="dumpbin" LIB_BIN="lib" rm -rf $WD rm -f VLC-Blobs.zip mkdir -p $WD function create_vlc_blobs_for_arch () { ARCH=$1 SRCZIP=$2 cd $WD unzip $JOBROOT/$SRCZIP mkdir $ARCH ...
true
29a775e7ff73f303ab432f87824d47a5e41aea8c
Shell
IAC-InfrastructureAsCode/microk8s
/microk8s-resources/wrappers/microk8s-remove-node.wrapper
UTF-8
833
3.140625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -eu export PATH="$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH" ARCH="$($SNAP/bin/uname -m)" export LD_LIBRARY_PATH="$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/$ARCH-linux-gnu:$SNAP/usr/lib/$ARCH-linux-gnu" export SNAP_NAME export PYTHONNOUSERSITE=false source $SNAP/actions/common/utils.sh exit_if_...
true
25d1fb897573dd3595fecbfbd852833c93e8b97e
Shell
MickaelSERENO/Math_Library
/install.sh
UTF-8
1,294
3.125
3
[ "MIT" ]
permissive
mkdir android_arm_build; mkdir android_x86_build; mkdir linux_x64_build; DIR=`pwd` ANDROID_NDK=/opt/android-ndk #Android ARM cd android_arm_build PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/.local/android/armeabi-v7a/lib/pkgconfig/ cmake ../ -G Ninja -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_ARCH_ABI=armeabi-v7a -DANDRO...
true
44f06c0ccb4afea3ec5566a3a454391ed77c75a1
Shell
jgrowl/mail
/entry.sh
UTF-8
203
2.703125
3
[]
no_license
#!/usr/bin/env bash set -e echo "Configuring mail..." ansible-playbook /usr/local/bin/main.yml -i localhost, --connection=local # Create logging FIFO mkfifo /dev/maillog echo "Exec'ing $@" exec "$@"
true
55826f8f6b7d5f2584cd5796d88735a079199c70
Shell
68Kamil68/SO2
/lab1/zad5.sh
UTF-8
253
3.34375
3
[]
no_license
#! /bin/bash var=0 for i in `ls -l $1| awk '{ if ( $1!~/x/ && $2 ~ 1){print $NF}}'` # | wysyla ls -l do awk $1 - pozwolenia jesli x wyswietla ostatnia pozycje w tabeli - nazwe pliku do cd $1 echo $i var=$((var+1)) mv $i $i.${var}. done
true
f191c9214db2a5776bf89d8dcf03fcf6e1a4bc81
Shell
hackstudio/quant
/setup.sh
UTF-8
1,522
3.515625
4
[]
no_license
#!/usr/bin/env bash if [[ $# -eq 0 ]]; then printf "NAME\n\tsetup.sh - Main driver to set up the environment\n" printf "\nSYNOPSIS\n" printf "\n\t%-5s\n" "./setup.sh [OPTION]" printf "\nOPTIONS\n" printf "\n\t%-5s %-40s\n" "1" "Softwares that have to be installed on your computer before using this package" pr...
true
481da8f0cb32690e70e9bd1adc9abd0bc9ea4d3a
Shell
tim-moody/xsce-factory
/scripts/rpi2/cp-sd
UTF-8
1,457
4.3125
4
[]
no_license
#!/bin/bash -x # resize the SD card to minimum size and zip it to image directory # assume /dev/sdg2 is partition to be shrunk # parameter 1 - output file name # parameter 2 - optional root device partition otherwise /dev/sdg2 # parameter 3 - optional image directory otherwise /curation/images # Automatically determine...
true
b6c852c7b1e523c7aafe6bce64ca4e74cf1dfd05
Shell
vicious987/old_uni_assignments
/linux_course/list3/zad4.sh
UTF-8
1,828
3.765625
4
[]
no_license
#--color=[never | auto | always] kolorowanie imion (nigdy, tylko gdy standardowy strumień wyjściowy #jest konsolą, zawsze), por. podobną opcję programu ls(1); #-w, --world wypisanie dodatkowo wiersza Hello, world! color=false cl_flag=never cap=false greeting=false helpme=false whatdo="This program outputs strings 'hell...
true
714559c3b0cf3b462acc717e2e5461101cfa30e0
Shell
lordkev/ssc-imputation
/denovos/get_locus_stats.sh
UTF-8
1,397
3.140625
3
[]
no_license
#!/bin/bash source params.sh OUTDIR=${BASEOUTDIR}/locus_stats # Get HWE for each locus for chrom in $(seq ${startchrom} ${endchrom}) do VCFFILE=/storage/s1saini/hipstr_genomewide/chr${chrom}/hipstr_calls_${chrom}.vcf.gz /home/mgymrek/workspace/mgymrek-utils/vcf_hwe.py \ --vcf ${VCFFILE} \ --samples ${PARENT...
true
d6e2f7a3728f7e4c2b4dfe95c4a40e61705a30ca
Shell
digitalsanity/i915ovmfPkg
/test
UTF-8
1,493
2.65625
3
[]
no_license
#!/bin/bash cd ../edk2 . ../edk2/edksetup.sh #build -b DEBUG -p i915ovmfPkg/i915ovmf.dsc || exit build -b RELEASE -p i915ovmfPkg/i915ovmf.dsc || exit cd ../i915_simple cp ../edk2/Build/i915ovmf/RELEASE_GCC5/X64/i915ovmf.rom ./ || exit #cp ../edk2/Build/i915ovmf/DEBUG_GCC5/X64/i915ovmf.rom ./ || exit if [ -e /sys/bus/p...
true
ab7809289cf1efdf435185cd97dc226ab2837a3b
Shell
perfsonar/i2util
/I2util/I2util/unibuild-packaging/deb/tests/aespasswd
UTF-8
293
2.6875
3
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
#!/bin/sh -e FILE=$AUTOPKGTEST_TMP/aesfile echo test | aespasswd -n -f $FILE autotest 2>&1 grep autotest $FILE echo User added: OK echo test2 | aespasswd -f $FILE autotest 2>&1 grep autotest $FILE echo User modified: OK aespasswd -f $FILE -d autotest test ! -s $FILE echo User deleted: OK
true
7540af9c4f5f1198407aff4c4683c665943ad0f9
Shell
itamblyn/scripts
/follow_qbz.sh
UTF-8
127
2.625
3
[]
no_license
#!/bin/bash etot=`grep Conv output.out | head -1 | awk '{print $2}'` awk -v e=$etot '/Conv/{print ($2 - e)*27.2}' output.out
true
697ad3075559cc03e57b5ae3b23fa5abba80f8af
Shell
james-pirozzolo/twitter-sentiment-analysis
/create_venv.sh
UTF-8
390
2.578125
3
[]
no_license
#!/bin/bash # this installs the virtualenv module python3 -m pip install virtualenv # this creates a virtual environment named "env" python3 -m venv env # this activates the created virtual environment source env/bin/activate # updates pip pip install -U pip # this installs the required python packages to the virtual ...
true
3723b66c67b63e4716f27fade27e1a9f2ac55dd1
Shell
teja624/home
/.zsh/modules/aws/lib/sh/api/ec2/spot_datafeed_subscription_create.sh
UTF-8
168
2.71875
3
[ "Apache-2.0" ]
permissive
aws_ec2_spot_datafeed_subscription_create() { local bucket="$1" shift 1 cond_log_and_run aws ec2 create-spot-datafeed-subscription --bucket $bucket "$@" }
true
9df67afbd00272e7d5c8aafb0507e33a722b11d2
Shell
pr0d1r2/ruby_dev_shell_aliases
/is_new_bundler.sh
UTF-8
428
3.421875
3
[ "MIT" ]
permissive
function is_new_bundler() { local is_new_bundler_VERSION=`bundle --version | cut -f 3 -d ' '` local is_new_bundler_VERSION_MAJOR=`echo $is_new_bundler_VERSION | cut -f 1 -d .` local is_new_bundler_VERSION_MINOR=`echo $is_new_bundler_VERSION | cut -f 2 -d .` if [ $is_new_bundler_VERSION_MAJOR -gt 1 ]; then r...
true
e65851d8295407b2a0017f65667405e93eea4ef8
Shell
nacinobrown/scripts
/mgtscripts/nagios-client-setup.sh
UTF-8
955
2.921875
3
[]
no_license
#/bin/bash ## This script configures any rhel based system to be monitored by Nagios ## Install needed packages yum install -y gcc glibc glibc-common openssl openssl-devel perl wget mkdir /tmp/nagios && cd $_ wget --no-check-certificate -O nrpe.tar.gz https://github.com/NagiosEnterprises/nrpe/archive/nrpe-3.2.1...
true
e5e13637434f66216017625a6e8dfaa2de67be59
Shell
AWS-Devops-Projects/eks-workshop
/amplify/static/assets/bootstrap.sh
UTF-8
8,956
3.375
3
[ "MIT" ]
permissive
#!/bin/bash # Cloud9 Bootstrap Script # # 1. Installs homebrew # 2. Upgrades to latest AWS CLI # 3. Upgrades AWS SAM CLI # # Usually takes about 8 minutes to complete set -euxo pipefail ACCOUNT_ID=$(aws sts get-caller-identity --query 'Account' --output text) CURRENT_REGION=$(curl -s http://169.254.169.254/latest/me...
true
34e951d780bea53166fe2f7ad7cb122a02cefb5f
Shell
pgnzbl/getKolla
/pull.sh
UTF-8
176
2.71875
3
[]
no_license
#!/usr/bin/env bash for LINE in `cat results.txt` do if [[ $LINE =~ "centos-source" ]] && [[ $LINE =~ "stein" ]]; then echo $LINE; docker pull 'kolla/'$LINE; fi done
true
e4e2da11cf381d7af1c99a487e4dedd61af3fa1d
Shell
de-jcup/sechub
/sechub-pds-solutions/owaspzap/10-create-image.sh
UTF-8
2,072
4.125
4
[ "MIT", "ANTLR-PD", "LicenseRef-scancode-generic-exception", "BSD-3-Clause", "LGPL-2.0-or-later", "LGPL-2.1-only", "GPL-1.0-or-later", "LicenseRef-scancode-oracle-openjdk-exception-2.0", "MPL-1.1", "MPL-2.0", "CC-PDDC", "LicenseRef-scancode-warranty-disclaimer", "EPL-2.0", "GPL-2.0-only", ...
permissive
#!/bin/bash # SPDX-License-Identifier: MIT REGISTRY="$1" VERSION="$2" BASE_IMAGE="$3" usage() { cat - <<EOF usage: $0 <docker registry> <version tag> [<base image>] Builds a docker image of SecHub PDS with OWASP ZAP for <docker registry> with tag <version tag>. Required: <base image> ; Example: ghcr.io/mercedes-be...
true
e3f1f592a73e54fd0c8d003b3fcf11395f60d945
Shell
MastersAcademy/devops-course-2019
/Lesson 2/vladyslav.volkov/my_script.sh
UTF-8
1,084
3.671875
4
[]
no_license
#!/bin/bash if nginx -v >/dev/null 2>&1; then nginx_ver=$(nginx -v 2>&1) echo "Removing $nginx_ver" apt-get purge nginx -y else echo "Nginx is not installed" fi apt update apt install curl gnupg2 ca-certificates lsb-release -y echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" \ | sudo tee...
true