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
35398db0fe2c45a1de530cce15538fdb1f9d07f5
Shell
petronny/aur3-mirror
/ardour-bin/PKGBUILD
UTF-8
1,348
2.921875
3
[]
no_license
# Maintainer: speps <speps at aur dot archlinux dot org> _name=ardour pkgname=$_name-bin pkgver=3.0beta5_13072 pkgrel=1 pkgdesc="A multichannel hard disk recorder and digital audio workstation" arch=(i686 x86_64) url="http://$_name.org/" license=('GPL') depends=('jack' 'desktop-file-utils') options=('!strip') install=...
true
ffe38668c0cad8b22185fd724834475956c27688
Shell
cadornaa/mu2eer
/src/build_select.sh
UTF-8
1,200
4.125
4
[]
no_license
#!/bin/bash ################################################################################ # # build_select.sh # # Mu2eER Deployment Script. Automates the installation of the Mu2eER Buildroot # images produced by Jenkins to the test and production boot areas. # # @author jdiamond # ##################################...
true
0f377d870dd12192983dbae2b6e750343733e272
Shell
PokhodenkoSA/dpctl
/scripts/build_for_develop.sh
UTF-8
1,582
3.28125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set +xe rm -rf build_cmake mkdir build_cmake pushd build_cmake INSTALL_PREFIX=`pwd`/../install rm -rf ${INSTALL_PREFIX} export ONEAPI_ROOT=/opt/intel/oneapi DPCPP_ROOT=${ONEAPI_ROOT}/compiler/latest/linux cmake \ -DCMAKE_BUILD_TYPE=Debug ...
true
5658dcb915dbde9b15383106c1e913debce5c7f4
Shell
PolynomialDivision/usrv6
/prefix-switcher/prefix-switcher.sh
UTF-8
4,755
3.296875
3
[]
no_license
#!/bin/sh . /usr/share/usrv6/babel.sh . /usr/share/libubox/jshn.sh function create_new_prefix_section { local p=$1 local k=$2 local gw=$3 uci import prefix-switcher < /etc/config/prefix-switcher uci set prefix-switcher.$k=prefix uci set prefix-switcher.$k.prefix=$p uci set prefix-switcher.$k.gatew...
true
ea42e39f55eba5b9fe56a3b50d7beeadc5d9c069
Shell
jacg/flakes-learning-curve
/spec/nix_spec.sh
UTF-8
2,918
2.9375
3
[]
no_license
Describe 'nix' # -------------------------------------------------------------------------------- It 'A sanity check: we have a recent enough version of `nix`' When call nix --version The output should include 'nix (Nix) 2.4' End # -------------------------------------------------------------------------...
true
0e13fcbac7ae682d36bfdd6686dea6f6b91cbb30
Shell
novr/xcenv
/test/global.bats
UTF-8
865
3.25
3
[ "MIT" ]
permissive
#!/usr/bin/env bats load stub_helper setup() { make_root_dir } run_command() { run xcenv-global $@ assert_success } @test "global default" { run_command assert_output "system" } @test "unsetting global version" { make_global_file assert [ -f "$XCENV_ROOT/.xcode-version" ] run_command --uns...
true
fa62c5e6501371b46166b056089a9df37595e587
Shell
yenalp/homecentral
/setup/modules/provision/postfix/module.base.sh
UTF-8
1,199
3.171875
3
[]
no_license
#!/usr/bin/env bash import.require 'provision' provision.postfix_base.init() { provision.postfix_base.__init() { import.useModule 'provision' } # Install required packasges provision.postfix_base.require() { debconf-set-selections <<<"postfix postfix/mailname string localhost" ...
true
884e183f5f80f18ef2aa31d72bece8a7abc8f7b4
Shell
thedataincubator/aws-quickstart
/scripts/patch-kube-proxy.sh
UTF-8
2,601
2.625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Copyright 2018 by the contributors # # 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 appl...
true
02408d83e952ebfac4800848584755b992f095b2
Shell
henriqueal/lara-tools
/test-scripts/scriptFirstExperiment.sh
UTF-8
1,680
2.984375
3
[]
no_license
#!/bin/bash #First experiment: One execution for this config for each TI code: #População inicial: 100 ; #Tamanho máximo do cromossomo: 128; #Tamanho máximo do cromossomo na população inicial 10; #Máximo de gerações: 100; #Taxa de crossover: 60%; #Taxa de mutação: 40%; #Critério de parada: número de gerações a...
true
0eb655b84b12961a06e596bafb2ed160185de9b0
Shell
smartface/sf-extension-amcharts
/scripts/get.sh
UTF-8
410
3.078125
3
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
#!/usr/bin/env bash folder=~/workspace/assets/amcharts url="https://s3.amazonaws.com/amcharts-downloads/3.21/amcharts_3.21.7.free.zip" cwd=$(pwd) if [ -d $folder ]; then rm -rf $folder; fi ( cd ~/workspace/assets wget -O amcharts.zip $url unzip -q amcharts.zip 'amcharts/*' -d amcharts rm ./amcharts.zip ...
true
e0c12f9e78c4f759f34fe929a055a2eae3b2d5b9
Shell
lerner/MapRTools
/create_hec_vols.sh
UTF-8
13,410
3.375
3
[]
no_license
#!/bin/bash # Author: Andy Lerner # Update History: # 03Nov2017 Removed need for client numbering. Use clush groups to determine clients # This script can be run from any client node with clush access to all clients and cluster nodes # ssh to cluster node now used - no dependence on maprcli on client nodes HA...
true
52d2d8b9e187c393add130a629a60b4124dcbf2a
Shell
pnarvor/ubuntu-config
/bash_aliases
UTF-8
977
3.359375
3
[]
no_license
# This cleanly add a path to either an empty or an already filled environement # variable. prepend-path() { local variable=$1 if [ -z "${!variable}" ]; then export $1=$2; else export $1=$2:"${!variable}"; fi } append-path() { local variable=$1 if [ -z "${!variable}" ]; then ...
true
54e14cbff1190b1a8fe3163dd39889a245746e64
Shell
yk0817/dotfiles
/fish/sync.sh
UTF-8
467
2.65625
3
[]
no_license
# https://qiita.com/nakagawa1017/items/a11599938a6cb0db0dad echo "デフォルトシェルを fish に変更" chsh -s /usr/local/bin/fish echo "fish系" ln -sf ~/dotfiles/fish ~/.config/fish echo "fishパッケージマネージャーfisherで管理されているもの" ln -sf ~/dotfiles/fisher ~/.config/fisher echo "fisher install" curl https://git.io/fisher --create-dirs -sLo ~/d...
true
9818e2c37bc09dc69b9c62ac83b9b11d06b1def4
Shell
Shashi-Prakash95/codeinClub
/practice/patterns/regexEx2.sh
UTF-8
194
3.21875
3
[]
no_license
#!/bin/bash -x #1:string of 3 consecutive characters with no special characters read any pat="^([0-9]*[a-zA-Z]){3,}[0-9]*$" any="aaa1" if [[ $any =~ $pat ]]; then echo yes; else echo no; fi
true
8b85d34e849398d3b26e04279f59a7e476a9280c
Shell
FauxFaux/debian-control
/l/lprng/lprng_3.8.B-2.1_amd64/config
UTF-8
451
3.03125
3
[]
no_license
#!/bin/sh set -e # source debconf library. . /usr/share/debconf/confmodule # lpq, lprm lpr setuid? db_input low lprng/setuid_tools || true db_go # Check for default file, if it is there then set the debconf value default_start_lpd="true" if [ -f /etc/default/lprng ]; then grep -q 'START_LPD=yes' /etc/default/lp...
true
6faca4063a4e631904d4f60fe51e7d9fb3e9ea9c
Shell
rfajta/.custom
/bin/diffthem.sh
UTF-8
267
3.171875
3
[]
no_license
#!/bin/bash comp() { ceFile="$(echo "common/coreengine/$1" | sed -e "s/\/\.\//\//g ; s/\/\//\//g")" coreFile= } cd common/coreengine allFiles=$(find . -tye f) cd - for ceFile in $allFiles do comp "$ceFile" "common/core" comp "$ceFile" "common/render" done
true
2d56a228e8a0db1e888f5c9bf05d6b124c30aeb9
Shell
vcctr/NoMouseWheelZoom
/build/build.sh
UTF-8
246
2.578125
3
[ "MIT" ]
permissive
!#/bin/bash deliverable="deliverable" output="NoMouseWheelZoom.zip" rm -Rf $deliverable; mkdir $deliverable; cp ../contentscript.js ../manifest.json ../NoMouseWheelZoom.min.js $deliverable zip -r $output $deliverable/* rm -Rf $deliverable;
true
7a02fb2eac6517eddc98992946408c7c48545cdb
Shell
maobuji/go-package-plantuml
/goplantuml/install.sh
UTF-8
326
2.953125
3
[ "MIT" ]
permissive
#!/bin/bash if [ ! -n "$GOPATH" ]; then echo "GOPATH IS NULL" exit 0 else echo "GOPATH="$GOPATH fi rm go-package-plantuml -rf go build github.com/maobuji/go-package-plantuml if [ -f "plantuml.jar" ] then echo "plantuml.jar exist" else wget https://jaist.dl.sourceforge.net/project/plantuml/plantuml.jar fi...
true
c566492d0306e988f26984453c1a959d75eb85ec
Shell
jami/sqlpile
/sqlpile.sh
UTF-8
4,582
4.0625
4
[]
no_license
#!/bin/bash VERSION="1.0.0" dbuse=1 dbuser="sqlpile" dbpass= dbname= verbose=0 testing=0 dbfuncimport="mysqlimport" history=".sqlpile" historylist=( ) opmode=0 opdir=`pwd` opoutput="compose.sql" historyfile="${opdir}/${history}" function mysqlimport { local dumpfile="$1" `mysql -u "${dbuser}" -p${dbpass} <...
true
521ff27020a2e5f8b3a5981f424784d903cb37af
Shell
colona/config
/.tools.statusbar.sh
UTF-8
542
3.09375
3
[]
no_license
#!/bin/sh realcpu="$(~/.tools.realcpu.sh 3)" cpuload="$(read l1 l2 l3 __ < /proc/loadavg; echo $l1 $l2 $l3)" date="$(date +'%a %d %b %H:%M')" if [ -x "$(command -v sensors)" ]; then temp="$(sensors | sed -rn '/temp1|Core/s/.*:\s+\+(\w+)\.\w+(°).*/\1\2/p')" temp="${temp//[$'\n']}" fi if [ -x "$(command -v acp...
true
90bfc75e576435a31919b0ca3dfb8e0575bb7b7b
Shell
Duslerke/File-Composition-test
/bricker.sh
UTF-8
477
2.890625
3
[]
no_license
#!/bin/bash #do the inserting sed -i -E "s~$(grep -oP '\#\>\>.+\<\<\#' ./insertTarget.sh)~$(echo "$(cat .\/codeToInsert.sh)" | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g')~g" ./insertTarget.sh #grep -oP --color=always '\#\>\>.+\<\<\#' ./insertTarget.sh #nice display, debug #echo "$(cat .\/codeToInsert.sh)" | sed -E ':...
true
091483378adefbae9be21fc1b6279e0819ce227c
Shell
gouboft/MyCode
/shell/shell.sh
UTF-8
120
3.203125
3
[]
no_license
#!/bin/bash name=`ls` echo "name = $name" for m in $name do echo $m if [ -d $m ]; then cd $m fi pwd cd - done
true
1e43fae24522eb30c9f890020981c084780a3bde
Shell
zbw/marc2kbart
/edwardElgar_kxp/marc2kbart.sh
UTF-8
999
3.328125
3
[ "MIT" ]
permissive
#!/bin/bash echo "Records are being converted to KBART format." # Convert records using fixes specified in file marc2kbart.fix # Save records as records.csv catmandu convert MARC --type RAW to CSV --fix marc2kbart.fix --fields publication_title,\ print_identifier,online_identifier,date_first_issue_online,\ num_first_...
true
6bd64d902cec81b602850755874056ae8ac3e893
Shell
FangLiangQiang/tools
/dir_build.sh
UTF-8
482
3.53125
4
[]
no_license
#********************************************************** #作用:循环建立多级目录 #用法:dir_build.sh n 。n为要建立目录的级数,如 #dir_build.sh 3,则会在当前目录下建立3级目录文件./F1/F2/F3 #********************************************************** #! /bin/sh dir_num=$1 i=1 while [ $i -le $dir_num ] do dir=`pwd` mkdir "$dir/F$i" cd "./F$i" let i++ do...
true
d347ff36999a8e22d13ee76a16cc5f39f6fe31a6
Shell
sbates130272/fio-stuff
/latency.sh
UTF-8
1,575
2.96875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash ######################################################################## ## ## Copyright 2015 PMC-Sierra, Inc. ## ## 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.ap...
true
0c764e8980b87f3c37972c7a25ad2f46db51bcc9
Shell
pypa/manylinux
/build.sh
UTF-8
4,264
3.5
4
[ "MIT" ]
permissive
#!/bin/bash # Stop at any error, show all commands set -exuo pipefail if [ "${MANYLINUX_BUILD_FRONTEND:-}" == "" ]; then MANYLINUX_BUILD_FRONTEND="docker-buildx" fi # Export variable needed by 'docker build --build-arg' export POLICY export PLATFORM # get docker default multiarch image prefix for PLATFORM if [ "${...
true
b06d4e24852bd77ec2dd094f45433e0fd18a4f85
Shell
alexvanaxe/dotfile20
/bin/toggle_bars.sh
UTF-8
4,798
3.328125
3
[]
no_license
#!/bin/dash if [ -z "${PREFERENCE}" ]; then MONITOR1=$(monitors_info.sh -t 0) MONITOR2=$(monitors_info.sh -t 1) fi TARGET=$1 dim=$(grep ";dim-value" -w $HOME/.config/polybar/config) dim_simple=$(grep ";dim-value" -w $HOME/.config/polybar/config_simple) toggle_light() { pid=$(ps aux | egrep "[l]emonbar" ...
true
dc7c6618bbd1cb84bc0c0262509edd5a4fed04ce
Shell
dickschoeller/gedbrowser
/config/gedbrowser_restart.sh
UTF-8
1,204
3.078125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash export GEDBROWSER_HOME=/var/lib/gedbrowser export DATA_DIR=/home/dick/data docker stop gedbrowserng docker stop gedbrowser docker stop geoservice docker stop mongo docker rm gedbrowserng docker rm gedbrowser docker rm geoservice docker rm mongo docker rmi dickschoeller/gedbrowserng:latest docker rmi dick...
true
1839f0efad0612eeb9f2241c7ca1e2c868877847
Shell
giagiannis/aura
/example/wordpress/web_server/install.sh
UTF-8
315
2.671875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Apache, Mysql client, PHP installation export DEBIAN_FRONTEND=noninteractive apt-get update -qq apt-get install -y -qq apache2 libapache2-mod-php apache2 php-mysql wget service apache2 reload # Wordpress download cd /opt/ wget --quiet http://wordpress.org/latest.tar.gz tar xfz latest.tar.gz exit 0
true
75bf96e1efe62f169eba759073bd414b139edfde
Shell
InfluxOW/docker_test_project
/.env.example
UTF-8
1,348
2.625
3
[]
no_license
########################################################### ###################### General Setup ###################### ########################################################### ### Paths ################################################# # Point to the path of your PHP applications code on your host PHP_CODE_PATH_H...
true
7212c44fd407eb84a2b5b8923dbc82952fa6af01
Shell
ScrippsPipkinLab/JYC_DataAnalysis
/z_codes_hpc_2/6_0_byGroup_motif_finding/6_0_byGroup_motif_finding.sh
UTF-8
721
2.609375
3
[]
no_license
#!/bin/bash #PBS -l mem=6gb #PBS -t 0-5 ### Motif score calculation: matrix score **0.86 ### Combined with Homer Known motifs wk_dir=/gpfs/home/hdiao/jycATAC/6_GeneGroupMotifAnalysis/byGroup_bed preparsed_dir=/gpfs/home/hdiao/resources mm10_genome=/gpfs/group/databases/Mus_musculus/UCSC/mm10/Sequence/Bowtie2Index/gen...
true
fd3bcf8cb6f0500154f216f37bb29fec93fbbf39
Shell
mrts/snippets-cpp
/make-snippet.sh
UTF-8
274
3.078125
3
[ "MIT" ]
permissive
#!/bin/bash set -e set -u SNIPPET_NAME="$1" cp -r template "$SNIPPET_NAME" pushd "$SNIPPET_NAME" sed -i "s/template/$SNIPPET_NAME/" CMakeLists.txt git init touch README.md git add . git commit -m "Add project template, configuration files and scripts."
true
42db8ffb8df43c574db74ef8dd911c36ed648cfa
Shell
sidaf/scripts
/run-masscan
UTF-8
1,038
3.71875
4
[]
no_license
#!/bin/bash TCP1='0-8191' TCP2='8192-16383' TCP3='16384-24575' TCP4='24576-32767' TCP5='32768-40959' TCP6='40960-49151' TCP7='49152-57343' TCP8='57344-65535' if [ -z $2 ]; then printf "\nSyntax: $0 <file of ips> <rate|e.g. 2000>\n\n" else FILE=$1 RATE=$2 TCP_PORTS=($TCP1 $TCP2 $TCP3 $TCP4 $TCP5 $TCP6 $TCP7 $...
true
bd7d679a07129af6e6c78b9b061716a57abee0e7
Shell
JerrikEph/Locationing
/all_file/run_3.sh
UTF-8
270
2.578125
3
[]
no_license
#!/bin/bash cnt=21 src=./compete_data/case res=./compete_case/output_case while (($cnt <=25)) do python locate_3.py --src-path=${src}$(printf '%03d' $cnt)_input.txt --res-path=${res}$(printf '%03d' $cnt).txt --gpu-num=3 cnt=$((cnt + 1)) done printf '%03d' $cnt
true
6cc43a9f81673d029a4c426c0944cfa560f39726
Shell
nithinshiriya/PPNativeScript
/.run-ctags
UTF-8
370
2.953125
3
[]
no_license
#!/bin/sh ctags -R \ --exclude=node_modules \ --exclude=platforms \ --exclude='*.js' add_ctags() { LOCATION=$1 PATTERN=${2:-*.d.ts} find "$LOCATION" -iname "$PATTERN" -exec ctags -a \{\} \; } add_ctags "node_modules/angular2" add_ctags "node_modules/tns-core-modules" sed -r -i '/^(if|for|for...
true
466c34292aa3d3c49db47e8dacdd7ac6d3261f59
Shell
estiloinfo/clip-itk
/cliplibs/clip-mysql/configure
UTF-8
341
2.984375
3
[]
no_license
#!/bin/sh test -f /usr/include/mysql/mysql.h -o -f /usr/local/include/mysql/mysql.h if [ $? != 0 ] then if [ $1 = "install" ]; then echo ' Warning: lib not installed' >> ${LOG} else echo ' Warning: default-libmysqlclient-dev package not installed' >> ${LOG} echo ' Warning: libclip-mysql make skip' >> $...
true
72c0a8a54cda532e937044136f01b145a36b0cb9
Shell
coolgoose85/FreeBSD
/sys/contrib/dev/acpica/acpica_prep.sh
UTF-8
2,683
3.515625
4
[]
no_license
#!/bin/sh # $FreeBSD: src/sys/contrib/dev/acpica/acpica_prep.sh,v 1.9 2005/11/01 22:38:50 jkim Exp $ # # Unpack an ACPI CA drop and restructure it to fit the FreeBSD layout # if [ ! $# -eq 1 ]; then echo "usage: $0 acpica_archive" exit fi src=$1 wrk=./_acpi_ca_unpack dst=./acpi_ca_destination # files that should k...
true
6a255336fde5ce31fa8383580f9aafd9846c3194
Shell
ManuGithubSteam/Single_Gpu_Arch_GTX1060
/revert.sh
UTF-8
1,286
2.609375
3
[]
no_license
#!/bin/bash # Unload VFIO-PCI Kernel Driver modprobe -r vfio-pci modprobe -r vfio_iommu_type1 modprobe -r vfio # remove dev from windows #echo 1 > /sys/bus/pci/devices/0000\:00\:03.0/remove # Ubind GPU VRAM echo 1 > /sys/bus/pci/devices/0000\:00\:03.0/0000\:04\:00.0/remove echo 1 > /sys/bus/pci/devices/0000\:00\:03...
true
0dabe0c2e1bd4c54037453e44866645f04572787
Shell
assafmuller/neutron_troubleshooting_training
/exercise_02/exercise_02.sh
UTF-8
1,421
2.796875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Stop OVS agent, wait 80 seconds (Longer than agent_down_time), create resources. Ports will fail to bind. . ~/overcloudrc ssh heat-admin@overcloud-controller-0 'sudo pcs resource unmanage neutron-l3-agent-clone' ssh heat-admin@overcloud-controller-0 'sudo pcs resource unmanage neutron-dhcp-agent-clone'...
true
78975a058203df7dbbd107f902d097d32e0c03e0
Shell
Serial-DeV/Compilation
/projet_compilation_src/src/Tests/gencode_test_KO_Compilation_et_Execution.sh
UTF-8
167
2.71875
3
[]
no_license
for ((i=1;i<=4;i++)) ; do f=./Gencode/KO/test$i.c echo -e "\n" message='Fichier testé :' echo $message $f ../minicc $f java -jar Mars_4_2.jar out.s done
true
feb448d1ae644b0f0db18e62e9b14503c8636763
Shell
ulysse71/skychart
/tools/data/deltat/make_deltat.sh
UTF-8
1,273
3.234375
3
[]
no_license
#!/bin/bash # Download leap seconds file source="https://www.ietf.org/timezones/data/leap-seconds.list" wget $source ## Create Delta T file for Cartes du Ciel #source=http://maia.usno.navy.mil/ser7 #source="--inet4-only ftp://cddis.gsfc.nasa.gov/pub/products/iers" source="ftps://gdc.cddis.eosdis.nasa.gov/products/...
true
bc90eaabeaf1bb6e45746b11ad7a5f96f1fe4889
Shell
curtscraw/osu_rocketry
/setup.sh
UTF-8
1,301
3.3125
3
[]
no_license
#!/bin/bash #used to setup the beaglebone environment after a fresh clone of this repo #ONLY RUN ON A BEAGLEBON RUNNING DEBIAN WORKING_DIR=$PWD #ensure root permisions if [ "$EUID" -ne 0 ] then echo "Please run as root" exit fi #setup the required Debian packages apt-get update apt-get upgrade -y apt-get insta...
true
c1d14bbcbba9c7aa6f1f8273b2af42de4385129b
Shell
biodatageeks/sequila
/src/test/resources/pileup/pileup_commands.sh
UTF-8
1,504
2.671875
3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/usr/bin/env bash export REF_FILE=/Users/aga/workplace/sequila/src/test/resources/reference/Homo_sapiens_assembly18_chr1_chrM.small.fasta ## SAMTOOLS # -x ignore overlaps # -B Disable base alignment quality (BAQ) computation # -A (--count-orphans) Do not skip anomalous read pairs in variant calling. # -q 0 base qu...
true
35653b38b6437bffd306715a73174a244d15ce04
Shell
wu1233456/qmx
/sh/vpc_lab.sh
UTF-8
1,030
2.6875
3
[]
no_license
#!/usr/bin/env bash ############################ #npm instal ############################ cd /www/site/com.lab/qmx npm install --unsafe-perm npm run prod ############################ #openresty和uwsgi相关 ############################ #环境启动程序 openresty -t; service openresty start; ############################ # pip inst...
true
353224245463976c05c0bc5ab71a956a38253406
Shell
Kokokokoka/s6opts
/s6opts.in
UTF-8
2,451
3.53125
4
[ "Beerware" ]
permissive
#!/usr/bin/bash # Copyright (C) 2015-2017 Eric Vidal <eric@obarun.org> # # This file is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. # # This scripts is under License Beerware. # # "THE BEERWARE LI...
true
da2f92f561479b55d19dbfc0751081eeaf9aed2f
Shell
co2-git/lib
/Process/kill.sh
UTF-8
118
3.25
3
[]
no_license
lib.Process.kill() { [ $# -eq 0 ] && return 1; if lib isANumber "$1"; then kill -9 "$1"; else pkill "$1"; fi }
true
e62633243d83f825fcd59aaed68694179a56ab39
Shell
ycao233/secure-data-service
/tools/jenkinsTools/jenkinsJobScripts/runTestJob.sh
UTF-8
990
2.734375
3
[]
no_license
#!/bin/bash ############### Load Utils ######################### PRG="$0" ROOT=`dirname "$PRG"` source "$ROOT/utils.sh" ############### Static Data ######################## declare -A deployHash deployHash=( [api]="$WORKSPACE/sli/api/target/api.war" [dashboard]="$WORKSPACE/sli/dashboard/target/dashboa...
true
62400051cb209492c97dce1a0728d0c3f762142d
Shell
dvdvideo1234/UbuntuBatches
/GitConfig/setup-ssh-key.sh
UTF-8
973
3.59375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash scriptfile="" scriptmail="" scriptname=$(readlink -f "$0") scriptpath=$(dirname "$scriptname") echo This will create a public and private keys with use of github SSH! read -p "Enter filename or leave blank: " scriptfile if test "$scriptfile" == "" then scriptfile=id_rsa fi read -p "Enter e-mail or lea...
true
1055a16c78768d8e5074051a218a344a66debaef
Shell
keep1earning/script
/install.sh
UTF-8
6,771
3.578125
4
[ "MIT" ]
permissive
#! /usr/bin/env bash get_protocol(){ echo && echo -e " 1. brook 2. brook ws 3. brook wss 4. socks5" && echo echo "Select a protocol[1-4]" echo "选择一个协议[1-4]" read -e -p "-> " protocol case "$protocol" in [1-4]) echo ;; *) clear echo "I...
true
422b276b6ae6e45ff0d084efc95bfb786b6a3e49
Shell
banadiga/Big-Data-Training
/redis-host/provision.sh
UTF-8
982
2.671875
3
[]
no_license
#!/usr/bin/env bash ## Java 8 Installation sudo apt-get install -y python-software-properties sudo add-apt-repository -y ppa:webupd8team/java sudo apt-get update -qq -y echo debconf shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections echo debconf shared/accepted-oracle-license-v1-1 seen t...
true
e8851e40b60eb46208d16b8ea9e10f473175f51f
Shell
toly-k/zero-aws-eks-stack
/templates/scripts/create-dev-env.sh
UTF-8
1,190
3.421875
3
[ "Apache-2.0", "CC0-1.0" ]
permissive
#!/bin/sh PROJECT=<% .Name %> AWS_DEFAULT_REGION=<% index .Params `region` %> RANDOM_SEED="<% index .Params `randomSeed` %>" ENVIRONMENT=stage # only apply to Staging environment DEV_DB_LIST=$(aws iam get-group --group-name ${PROJECT}-developer-${ENVIRONMENT} | jq -r '"dev" + .Users[].UserName' | tr '\n' ' ') if [[ ...
true
ed574d59f66f170a0f9eaeb0ef7a7e37b74eb344
Shell
bblu/pma
/codeStat/statModl.sh
UTF-8
607
3.125
3
[]
no_license
objModl=$1 mdlConf=$objModl.cfg if [ ! -f $mdlConf ];then mdlConf="../bkup/$mdlConf" if [ ! -f $mdlConf ];then echo "Not found config file:$mdlConf" exit 1 else echo "Use bkup cfg:$mdlConf" fi fi #vcp begin while read VCP;do i=0 for raw in $VCP;do if [ $i -eq 0 ];then TYPE=$raw...
true
83d3860e0aa26689cd004d47edec9b3c3d5122f1
Shell
palmkeep/dotfiles
/bashrc
UTF-8
1,483
3.90625
4
[]
no_license
# If not running interactively, don't do anything [[ $- != *i* ]] && return # Prompt # PS1='\[\033[01;32m\]\u\[\033[01;00m\]@\[\033[01;36m\]\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] ' # Bash # # Set bash to append to command history instead of overwriting # Multiple shells will otherwise overwrite eachothers h...
true
f8e5044fff0aa54de9c54474e80b000b0ae6a7cc
Shell
FXTD-ODYSSEY/vscode-mayapy
/py/ptvsd/_vendored/pydevd/.travis_install_python_deps.sh
UTF-8
1,019
2.53125
3
[ "EPL-1.0", "MIT" ]
permissive
#!/bin/bash set -ev source activate build_env conda install --yes numpy ipython pytest cython psutil if [ "$PYDEVD_PYTHON_VERSION" = "2.6" ]; then conda install --yes pyqt=4 pip install pympler==0.5 pip install pathlib2 # Django 1.7 does not support Python 2.6 else # pytest-xdist not available for...
true
00580bb4987dfd03a22dc34727a8c01965211285
Shell
amnawaseem/Final_dts_initrd
/script_size.sh
UTF-8
407
2.5625
3
[]
no_license
#!/bin/bash cd /home/amna/Thesis/initrd/ find . | cpio -H newc -o > ../initramfs.cpio cd /home/amna/Thesis cat initramfs.cpio | gzip > initramfs-debug.gz cp initramfs-debug.gz /home/amna/Thesis/Phidias_access cd /home/amna/Thesis/Phidias_access size=$(du -b /home/amna/Thesis/Phidias_access/initramfs-debug.gz | awk '{p...
true
aae837975c630bb885d1c15e6c80caa40a52475d
Shell
terzo/Euetelscope_v00-09-02_fork
/external/eudaq/tags/v01-00-00/bin/.svn/text-base/svnswitch.svn-base
UTF-8
1,201
3.890625
4
[]
no_license
#!/bin/bash DEF_REPO1="svn+ssh://" DEF_REPO2="login.hepforge.org/hepforge/svn/eudaq" if [ "$2" == "" ]; then echo "Usage: svnswitch <newrepo> <svn-command> [svn-params]..." echo " <newrepo> can be:" echo " - Use $DEF_REPO1$DEF_REPO2" echo " -USER Use ${DEF_REPO1}USER@$DEF_REPO2" echo " otherwise...
true
d828e751c9c066d3e7d143fd409ba448e4a56141
Shell
LeulBM/blog
/newPost.sh
UTF-8
1,211
3.59375
4
[ "MIT" ]
permissive
#!/bin/bash read -p "Title: " title read -p "Date [$(date +%Y-%m-%d)]: " date read -p "Categories (space-separated): " categories read -p "Description: " description read -p "Post Image URL (full size): " img read -p "Post Image URL (smaller): " img_sm read -p "Author Name: " author_name read -p "Author Image URL: " a...
true
1f06df98aaf6c79db801eb8518d85c6d1f22ea75
Shell
Pepek25/gitcid
/.gc/.gc-git-hooks/post-receive.old.sample
UTF-8
3,014
4
4
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
#!/usr/bin/env bash gc_post_receive_get_ref_name() { # --- Arguments oldrev=$(git rev-parse $1) newrev=$(git rev-parse $2) refname="$3" # --- Interpret # 0000->1234 (create) # 1234->2345 (update) # 2345->0000 (delete) if expr "$oldrev" : '0*$' >/dev/null then change_type="create" else if expr "$newr...
true
f66104113c59bd21258b0743cadd575339430d0d
Shell
budenny/dotfiles
/bootstrap.sh
UTF-8
591
3.453125
3
[]
no_license
#! /usr/bin/env zsh function clone_repo() { url=$1 dest=$2 if [ -d "${dest}" ]; then echo "${url} already cloned" else git clone "${url}" "${dest}" --depth 1 fi } # oh-my-zsh clone_repo https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh # syntax highlighting clone_repo https://github.com/zs...
true
65c6a5692ac13f5e633a20c6e95880f1ea989050
Shell
eoli3n/dotfiles
/roles/wofi/templates/powermenu.sh.j2
UTF-8
605
3.234375
3
[]
no_license
#!/usr/bin/env bash action=$(echo -e "suspend\nlock\nlogout\nshutdown\nreboot" | wofi -d -p "power:" -L 7) if [[ "$action" == "lock" ]] then swaylock-fancy --font "JetBrains-Mono-Light" fi if [[ "$action" == "suspend" ]] then {% if ansible_distribution_release == "void" %} swaylock-fancy --font "JetBrains-Mo...
true
70d293cc91e4b173937cd5c86e3936c22e1793a7
Shell
ryan-williams/head-tail-helpers
/tail-f-with-lines
UTF-8
120
3.390625
3
[]
no_license
#!/usr/bin/env bash if [ $# -gt 1 ] && isnum "$1"; then num=$1 shift tail -n $num -f "$@" else tail -f "$@" fi
true
cc64b4a7de20c6f212866ea13637fba3aa4edb45
Shell
YCP-Swarm-Robotics-Capstone-2020-2021/SRCSim
/missions/launch_vehicle_test.sh
UTF-8
4,438
3.34375
3
[]
no_license
#!/bin/bash -e #------------------------------------------------------- # Part 1: Check for and handle command-line arguments #------------------------------------------------------- export ID="Dolphin0" TIME_WARP=1 NUM_BOTS=0 BUILD_MODE=0 KAPPA=1 DT=1 JUST_MAKE="no" LAUNCH_GUI="yes" version=0.0.1 print_help(){ ec...
true
ce7eb967031c865853c54d2221be5cdd5d751406
Shell
bigml/mbase
/doc/script/sc
UTF-8
124
2.625
3
[]
no_license
#!/bin/sh # sc new.jpg -s -d 3 PWD=`pwd` FPATH=${PWD}/../pop/fly/pic/ FNAME=$1 shift OP=$* scrot ${OP} ${FPATH}${FNAME}
true
1ad54cd08b8d973eeb4f12574236d5155739cae2
Shell
ahmedeljami/pytools
/ambari_cancel_all_requests.sh
UTF-8
1,419
3.5
4
[]
no_license
#!/usr/bin/env bash # vim:ts=4:sts=4:sw=4:et # # Author: Hari Sekhon # Date: 2016-09-27 17:25:36 +0100 (Tue, 27 Sep 2016) # # https://github.com/harisekhon/pytools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally send m...
true
d09dfa9621a2258f0e80c69380ad0b5ebe70afbd
Shell
venudhar1/EBR_clientupgrade
/Disk_relayout.sh
UTF-8
10,947
3.6875
4
[]
no_license
#!/bin/bash # Venudhar Chinthakuntla # Script to remove metadevice and recreate new devices as per the NBU latest version minimum space requirement. BASEDIR=/usr/openv TEMP_VARTMP=/var/tmp TEMP_CRASH=/var/crash TEMP_SWAP=/var/run BASEDIR_LOG=${BASEDIR}/netbackup/logs PLATFORM=`uname -s` BASE_TAR="CORE_DIR_BKUP_$(da...
true
f5955c5b3edb9480a14da70fbee934ad64c648ab
Shell
yaofuzhou/JHUGen
/JHUGenMELA/MELA/setup.sh
UTF-8
1,326
3.359375
3
[]
no_license
#!/bin/bash ( set -euo pipefail cd $(dirname $0) MELADIR="." DATA_LIB_DIR="slc6_amd64_gcc530" export SCRAM_ARCH=$DATA_LIB_DIR printenv () { if [ -z "${LD_LIBRARY_PATH+x}" ]; then end='' else end=':$LD_LIBRARY_PATH' fi echo "export LD_LIBRARY_PATH=$(readlink -f $MELADIR)/data/$DATA_LIB_D...
true
3e644a0821afe951c6f19d88aa3d333be812fa25
Shell
h1f1x/cookiecutter-iac-terraform
/tests/integration-tests.sh
UTF-8
1,475
3.296875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e set -u DST_BASE_DIR=../build/tests/integration PROJECT_SLUG='cookiecutter_iac_terraform_inttest' terraform_dir_name='terraform' source common.source function create_project_from_cookiecutter() { cookiecutter --output-dir=${DST_BASE_DIR}/ --no-input $(pwd)/../ \ project_name='C...
true
dfa3683ee0659a5536bcdc725f6310cb98076206
Shell
atrtnkw/sph
/analysis.heos/movie/analysis.sh
UTF-8
338
2.921875
3
[ "MIT" ]
permissive
if test $# -ne 5 then echo "sh $0 <nthread> <m> <n/1k> <ifile> <ofile>" exit fi nthrd=$1 tmass=$2 nreso=$3 ifile=$4 ofile=$5 nproc=1 nptcl=`echo "$tmass * 10 * $nreso * 1024" | bc` export OMP_NUM_THREADS=$1 echo "Nproc: $nproc" echo "Nthrd: $OMP_NUM_THREADS" echo "Nptcl: $nptcl" mpirun -np $nproc ./run $np...
true
fbdb67ca2715f42852e286a6ad04116eef7cdaa9
Shell
minkcv/pinballnx
/collisionshapes/imgtopoints.sh
UTF-8
154
2.578125
3
[ "MIT" ]
permissive
#!/bin/sh FILE=$1 if [ "$FILE" = "" ]; then echo "usage: ./imgtopoints.sh myimage.bmp" exit fi potrace -a 0 $FILE -b svg -o tmp.svg ./totris.py 1
true
659e4adafe864d270a0f02a797496b87da555b38
Shell
Ptijohn/nightclazzZenika
/2-start-mongo/docker-run.sh
UTF-8
1,485
2.59375
3
[]
no_license
#!/usr/bin/env bash mkdir -p data/{db1,db2,db3} # Here we start our main MongoDB instance, in >3.6 docker run -d -p 27017:27017 -v $(pwd)/data/db1:/data/db1 \ -u 1000:1000 -h mongodb-nightclazz1 --network netnightclazz \ --network-alias nightclazz-mongo1 --name mongodb-nightclazz1 \ mongo:3.6.1 --port=27017 --dbpa...
true
fa6569696496174ade75dcf7f22e37f763285bc7
Shell
cppforlife/bosh-ipv6-acceptance-tests
/ci/test-hybrid-director.sh
UTF-8
4,013
2.84375
3
[]
no_license
#!/bin/bash set -e -x echo "This test ensures that Director can be deployed in hybrid IPv4+IPv6 configuration" apt-get -y update apt-get -y install wget echo "-----> `date`: Starting docker" source bosh-ipv6-acceptance-tests/ci/docker-lib.sh export OUTER_CONTAINER_IP=$(ruby -rsocket -e 'puts Socket.ip_address_list...
true
2abad1a70956af0115a551f761f243c288b7c25e
Shell
thirdgen88/ignition-docker
/8.1/perform-commissioning.sh
UTF-8
6,893
3.953125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash port="${GATEWAY_HTTP_PORT:-8088}" # usage: health_check DELAY_SECS TARGET|DETAILS # ie: health_check 60 # ie: health_check 60 RUNNING|COMMISSIONING health_check() { local delay=$1 local target=$2 local details="null" if [[ "${target}" == *"|"* ]]; then details=$(printf ...
true
ee6ba5be06b793a3c83732b3687d45ea42e2e1fb
Shell
amitkumarj441/Airbus_Ship_Detection
/gcp_setup.sh
UTF-8
1,708
2.890625
3
[ "MIT" ]
permissive
#!/bin/bash set -e set -v # NVIDIA repo curl -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_9.1.85-1_amd64.deb sudo dpkg -i ./cuda-repo-ubuntu1604_9.1.85-1_amd64.deb rm ./cuda-repo-ubuntu1604_9.1.85-1_amd64.deb # Install CUDA and system dependencies for Python sudo ...
true
3156ff42346a7db109d4579a615c730d85283797
Shell
spicy202110/spicy_201909
/scripts.Hugo/content/blog/2021/10/14/20200224_iezch2d27vg/20200224_iEZcH2D27Vg.info.json.sh2
UTF-8
4,365
2.765625
3
[ "MIT" ]
permissive
#!/bin/bash rm -f \ 20200224_iEZcH2D27Vg.info.json.vo.* \ 20200224_iEZcH2D27Vg.info.json.ao.* \ 20200224_iEZcH2D27Vg.info.json.bo.* \ 20200224_iEZcH2D27Vg.info.json.wav rm -fr 20200224_iEZcH2D27Vg.info_dir mkdir -p 20200224_iEZcH2D27Vg.info_dir mv 20200224_iEZcH2D27Vg.info.j...
true
bff80de37e6a945417426700b279786ba80f0349
Shell
ralevn/shell_scripts
/specvars.sh
UTF-8
248
3.328125
3
[]
no_license
#! /bin/sh echo "Number of supplied arguments (\$#): $#" echo "List of provided arguments (\$@): $@" echo "List of provided arguments (\$*): $*" for var in pattern, before, after, file; do var=$1 echo "== $var ==" shift done
true
6a8b9e7550f6055666e3a5e7c4e68cbbec5019a4
Shell
devlab-group/pine-ql
/bake.sh
UTF-8
579
2.953125
3
[ "MIT" ]
permissive
task:init() { task:install npm init } task:install() { set -e # install test suit bake dev mocha istanbul should # install lint suit bake dev lint-staged pre-commit } # Install node package task:i() { npm i $@ } # Install dev dependency task:dev() { npm i --save-dev $@ } task:te...
true
5ba82994861d702aa7361d0c04381a156816810d
Shell
stdlib-js/stdlib
/tools/git/hooks/pre-commit
UTF-8
12,940
3.21875
3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT", "SunPro", "BSD-3-Clause", "BSL-1.0", "LicenseRef-scancode-public-domain" ]
permissive
#!/usr/bin/env bash # # @license Apache-2.0 # # Copyright (c) 2017 The Stdlib Authors. # # 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 # # Un...
true
4c56903ac65001559ad14bde6ac7f95a2cc30d51
Shell
zarafagroupware/zarafa-tools
/helpers/backup/restore-bricklevels.sh
UTF-8
641
3.4375
3
[]
no_license
#!/usr/bin/env bash if [ -e /usr/share/zarafa-backup/full-restore.sh ]; then RESTORE=/usr/share/zarafa-backup/full-restore.sh elif [ -e /usr/share/zarafa/full-restore.sh ]; then RESTORE=/usr/share/zarafa/full-restore.sh else echo Error: Cannot find full-restore.sh. exit 1 fi for user in `zarafa-admin -l |...
true
22a57b32f68c8984c9c1d225c80f9c85017332b2
Shell
dowjones/Bigtable-dotnet
/scripts/build-prep.sh
UTF-8
621
2.53125
3
[ "ISC" ]
permissive
#!/bin/bash # Run this tool from root git folder: scripts/build-prep.sh # Ensure submodules are up-to-date git submodule update --init # Move to grpc folder cd submodules cd grpc # Ensure grpc submodules are up-to-date git submodule update --init # Ensure submodule packages are restored cd vsprojects ../../../too...
true
003ba3292627e8c5922100501f00480d8d072116
Shell
fallalex/git-scripts
/git_init_remote.sh
UTF-8
905
3.890625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # $1 is the full path where 'git init' was run # run after 'git init' 'git add' and 'git commit -m "first commit"' # after these commands above the local repo is setup # now to duplicate it to the server and setup the remote if [ ! $# -eq 1 ] then echo "Expects one argument, directory of git r...
true
c7e640ddfcfcc564f3e4ea4b73841140859c3ee0
Shell
petronny/aur3-mirror
/write/PKGBUILD
UTF-8
553
2.515625
3
[]
no_license
# Maintainer: Janosch Dobler <janosch.dobler [at} gmx [dot} de> pkgname=write pkgver=194 pkgrel=1 pkgdesc="Write - A word processor for handwriting" arch=(i686 x86_64) url="http://www.styluslabs.com/" license=('custom') depends=(qt4 libpng12) optdepends=() provides=('writer') if [[ $CARCH == 'x86_64' ]]; then depends...
true
5d075cda2938cc1325ff34dcf9cec49251f3b533
Shell
SigmaG33/code-server
/ci/dev/image/exec.sh
UTF-8
961
4.03125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash set -euo pipefail # Opens an interactive bash session inside of a docker container # for improved isolation during development. # If the container exists it is restarted if necessary, then reused. main() { cd "$(dirname "${0}")/../../.." local container_name=code-server-dev if docker inspe...
true
19bb04fa86819ca727551d9144a333ef46f52a74
Shell
gblanchard4/swc_tulane
/clean.sh
UTF-8
575
2.609375
3
[]
no_license
# This script performs cleaning operations of counrty files with errors cd data/clean/ # Fix Guinea file - just want middle 12 rows echo "fixing Guinea file" head -n 24 Guinea.cc.txt | tail -n12 > Guinea.cc.txt.clean mv -v Guinea.cc.txt.clean Guinea.cc.txt # Fix China file - just want top 12 echo "fixing China file...
true
7c58bc3b668e187d21365a98d0330fa3f4bd94c3
Shell
tstapler/stapler-scripts
/set_git_emails
UTF-8
680
2.671875
3
[]
no_license
#!/usr/bin/env sh # vim: ai ts=2 sw=2 et sts=2 ft=sh ORIGIN_URL=$(git ls-remote --get-url 'origin') export GIT_AUTHOR_NAME="Tyler Stapler" export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME git config --local user.name "$GIT_AUTHOR_NAME" case $ORIGIN_URL in *github.com/Workiva*|*github.com:Workiva*|\ *github.com/workiv...
true
46be74d428b8127c415e413d1292d078cd6c8f36
Shell
AlexeiKharchev/bash_functions_library
/lib/terminal/_terminal_spinner.sh
UTF-8
2,813
3.875
4
[ "MIT" ]
permissive
#! /dev/null/bash [[ "$BASH_SOURCE" =~ /bash_functions_library ]] && _bfl_temporary_var="_GUARD_BFL_$(echo "$BASH_SOURCE" | sed 's|^.*/lib/\([^/]*\)/\([^/]*\)\.sh$|\1\2|')" || return 0 [[ ${!_bfl_temporary_var} -eq 1 ]] && return 0 || readonly $_bfl_temporary_var=1 #----------------------------------------------------...
true
22ade2b9523afb336511c801bcb09d09336ff148
Shell
Rampo0/bibit
/TASK1/setup-db.sh
UTF-8
332
3.203125
3
[]
no_license
#!/bin/bash setup_postgres() { echo "SETUP POSTGRES" docker stop $(docker ps -aq) docker rm $(docker ps -aq) docker run --name postgresdb --mount type=bind,source="$(pwd)"/init-scripts,target=/docker-entrypoint-initdb.d -p 5432:5432 -e POSTGRES_PASSWORD=password -d postgres } main() { setup_postgr...
true
d22df5c4d0addc1d9dd1a47b16bdb9a20686e9b0
Shell
dipin24/FORENSICS-TASKS
/twin.sh
UTF-8
345
2.734375
3
[]
no_license
#!/bin/bash cat > c.py <<eof with open('./Twin1','rb') as f: x = f.read() with open('./Twin2','rb') as f: y = f.read() flag='' for i in range(min(len(x) ,len(y))): if x[i] !=y[i]: flag+=str(y[i]) print(flag) eof python3 c.py # after this the flag that you got is in ascii form then convert this to string. ec...
true
15aa212ea8b6c9491fd1e1ad8ce90b91c02b6e14
Shell
gnperdue/jburkardt-cpp
/calpak/calpak_prb.sh
UTF-8
511
3.125
3
[]
no_license
#!/bin/bash # g++ -c -g -I/$HOME/include calpak_prb.cpp >& compiler.txt if [ $? -ne 0 ]; then echo "Errors compiling calpak_prb.cpp" exit fi rm compiler.txt # g++ calpak_prb.o /$HOME/libcpp/$ARCH/calpak.o -lm if [ $? -ne 0 ]; then echo "Errors linking and loading calpak_prb.o." exit fi # rm calpak_prb.o # mv a....
true
33269353b813177010e6fa56266aba3e5de4f5f7
Shell
omsai/dREG
/dREG_paper_analyses/train_nn/get_test_files/setupTrainingFiles.bsh
UTF-8
1,678
2.578125
3
[]
no_license
#!/usr/bin/bash outpath=/home/cgd24/work/dbn_shapes/training_beds ## TSS. cat /usr/projects/GROseq.parser/tss_detecter/andre_hmm/hg19.k562.new_hmm2b.post2.bed | sort-bed - | bedops --merge - > $outpath/grocaptss.bed ## Gaps. ## ChIP-seq for poly-A cleavage enzymes, etc.!? ## Intersect ## Poly-adenylation sites -...
true
cc82856d9de236dcffde510eef0db8880d7eb92d
Shell
klauck/dispatcher
/start_cluster.sh
UTF-8
432
2.984375
3
[]
no_license
path_to_hyrise=../hyrise number_of_cores=4; number_of_instances=4; hyrise_port=5000; path_to_dispatcher=$(pwd) cd $path_to_hyrise for ((id=0;id<$number_of_instances;id++)) do $path_to_hyrise/build/hyrise-server_debug -l $path_to_hyrise/build/log.properties -p $(($hyrise_port + $id)) --corecount $number_of_cores -...
true
00d877a7be7e628bb5b053a7090528f77381d6c1
Shell
Robert-Christopher/site
/bin/create-config.sh
UTF-8
854
2.765625
3
[ "BSD-3-Clause" ]
permissive
# # Lithium Site # # Copyright (c) 2014 Union of RAD - All rights reserved. # # The code is distributed under the terms of the BSD 3-clause # License. For the full license text see the LICENSE file. # source $DETA/util.sh role THIS cd $THIS_PATH/config/nginx/includes for NAME in app assets access; do msg "Generati...
true
95bd6ab8a40f9bb68c82f386718c512c75a53c0d
Shell
carlostechinnovation/bdml
/mod002parser/scripts/bolsa/MOD001A_yahoo_finance.sh
UTF-8
555
3.359375
3
[]
no_license
#!/bin/bash if [ $# -eq 0 ] then echo "ERROR Parametros de entrada incorrectos. Debes indicar: anio" exit -1 fi export anio=${1} echo "Borramos todos los ficheros brutos que tuvieramos de ese anio=${anio}..." rm -f "/home/carloslinux/Desktop/DATOS_BRUTO/bolsa/YF_${anio}_*" empresas="/home/carloslinux/g...
true
9d020fd1daf4ea3e85fc3ec8750d27cbfbf7a8f1
Shell
salvadord/gcloud
/slurm-gcp_v3/scripts/delete_slurm.sh
UTF-8
1,100
3.59375
4
[]
no_license
#!/bin/bash function delete_instances() { step=50 instances_list=("`gcloud compute instances list --format="value(NAME,ZONE)" 2>/dev/null | grep compute`") zone=`echo "${instances_list[@]}" | awk '{print $2}' | sort -u` echo "${instances_list[@]}" | grep -v -w "compute1" | grep -v -w "compute2" | awk '{print $1}...
true
f4ba8165c7379c574f1039786cf6d61ae6aae297
Shell
SanduDevOps08/Roboshop
/Components/common.sh
UTF-8
3,346
3.71875
4
[]
no_license
#!/bin/bash #source Components/common.sh Status_Check() { if [ $1 -eq 0 ]; then echo -e "\e[32mSUCCESS\e[0m" else echo -e "\e[31mFAILURE\e[0m" exit 2 fi } Print() { echo -e "\n\t\t\e[36m...................$1...................\e[0m\n" echo -n -e "$1 \t-" } if [ $UID -ne 0 ]; then echo -e "\n\e[1;33mYo...
true
864eb0fdce85bfbcb4a0f5bd4c72339eeb097c6d
Shell
CyanogenMod/android_device_sony_blue-common
/releasetools/unify_userdata/prop_tools.sh
UTF-8
827
3.4375
3
[]
no_license
#!/sbin/sh # # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2016 Adrian DC # # Properties functions helper tools # # Function prop_default_date_timestamp() prop_default_date_timestamp() { # Variables local build_date; local build_timestamp=0; # Build date to timestamp if [ -e /default.prop ]; ...
true
f35e29c9c8968124499f2a834e8ab2cde5b57387
Shell
ss9036726/Programs
/assign4.sh
UTF-8
136
3.109375
3
[]
no_license
#!/bin/bash read -s -p "Enter the username : " username if [ "$username" == "$USER" ]; then echo "Hello" else echo "Try Again" fi
true
fffadf4f56f82e3a2e5ceb5aa95bdbb89c1a0bf7
Shell
pjotrp/smb_performance
/scripts/smb_cramindex.sh
UTF-8
247
2.828125
3
[]
no_license
#!/bin/bash # # ./scripts/smb_cramindex.sh &>> results/smb_cramindex.out echo "cramindex with sambamba" date . etc/environment for t in 47 31 15 7 ; do cmd="$sambamba index -t $t -C $cram10s" echo $cmd $(/usr/bin/time -v $cmd) done date
true
e809eaa6cf56618a0aa73fa9a0071fe4e8fd2782
Shell
statgen/monitor-topmed
/bin/topmed_gcepull.sh
UTF-8
4,533
3.671875
4
[]
no_license
#!/bin/bash # # topmed_gcepull.sh -submit bamid -retry # # Copy remapped CRAM for a sample from GCE # . /usr/cluster/$PROJECT/bin/topmed_actions.inc topmed_check_recab=/usr/cluster/$PROJECT/bin/topmed_check_recab.pl me=gcepull markverb=$me if [ "$1" = "-submit" ]; then shift bamid=`GetDB $1 bamid` MyRealHost ...
true
e87ea3ccc704a97842bb27895754b36167573671
Shell
old-bear/Learning-The-Bash-Shell
/convert2jpg
UTF-8
4,379
3.984375
4
[]
no_license
#!/bin/bash ###################################################################### # Author: jrjbear@gmail.com # Date: Wed Feb 5 20:19:47 2014 # File: convert2jpg # # Usage: convert2jpg [-Sq] [-s N] [-w N] [-c S] image # Description: A helper script tool wrapping NetPBM utilities ######################################...
true
47dab84127ebfaf51b7bc6050c1464065b31c563
Shell
algowave/http
/squid.sh
UTF-8
4,798
3.203125
3
[]
no_license
#SQUID CONFIG: DEBIAN SoftRelease="SquidAuto 1.0.0" AuthorIpRange="199.91.71.193/32" #PORT=$(( RANDOM % ( 65534-1024 ) + 1024 )) PORT=2012 function authorIps(){ echo "AuthotIpRange: "$(cat /etc/squid3/squid.conf | sed -n 's/\<acl mymaster src \(.*\)/\1/p') [ -z "$1" ] && read -p "Adding New IpRange:" newiprange ...
true