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
dc841d4c81aeaa4d5dda599f03635919d8d6b1b2
Shell
openshift/file-integrity-operator
/utils/git-remote.sh
UTF-8
559
3.625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # git-remote.sh prints the remote associated with the upstream # openshift/file-integrity-operator repository. If it can't determine the # appropriate remote based on a known URL, it defaults to using "origin", which # is backwards compatible with the release process. REMOTE_URL=origin for REMOTE in `git ...
true
add8d0a3c375722b8cbbeabe8beb759a9d3ac991
Shell
shvetsm/i3blocks
/weather
UTF-8
2,295
3.09375
3
[]
no_license
#!/bin/bash # Based on http://openweathermap.org/current API_KEY="4df99cda6022071432d72bf1fe8409e5" # Check on http://openweathermap.org/find CITY_ID="4560349" #CITY_ID="${BLOCK_INSTANCE}" URGENT_LOWER=40 URGENT_HIGHER=90 ICON_SUNNY="" ICON_CLOUDY="" ICON_RAINY="" ICON_STORM="" ICON_SNOW="" ICON_FOG="" SYMBO...
true
7011b52fbc4add45f65e21bfc1ab7f75a08b3d87
Shell
vmogilev/ales3front
/s3upload_diversified.sh
UTF-8
585
3.546875
4
[]
no_license
#!/bin/bash FILE=$1 SDIR=$2 ROOT=$3 BUCK=$4 usage() { name=`basename $0` echo "${name} localfile dir_under_release rootname bucket " exit 1 } if [ -z "$FILE" ] || [ -z "$SDIR" ] || [ -z "$ROOT" ] || [ -z "$BUCK" ]; then usage; fi if [ ! -f $FILE ]; then usage; fi key=`basename $FILE` echo " ...
true
44e55b64c19cd0805fb2df5ae7cafeace880fe7c
Shell
larsks/openldap
/tests/scripts/test085-homedir
UTF-8
3,307
3.265625
3
[ "OLDAP-2.8", "LicenseRef-scancode-proprietary-license", "BSD-4.3RENO", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
#! /bin/sh # $OpenLDAP$ ## This work is part of OpenLDAP Software <http://www.openldap.org/>. ## ## Copyright 2021-2022 The OpenLDAP Foundation. ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without ## modification, are permitted only as authorized by the OpenLDAP ## Public Li...
true
793c97b310059bfb0d9785a139abcba84844f7f8
Shell
mauriciopuente/fwtemp
/safari_homepage.sh
UTF-8
787
3.171875
3
[]
no_license
#!/bin/bash #log all to filewave client log exec 1>>/var/log/fwcld.log exec 2>>/var/log/fwcld.log #temp=$(dscl . list /Users | grep -v '^_') temp=$(ls /Users | grep -v ".localized" | grep -v "Shared") echo " ----------------------------------------------- " echo " " echo "These are the users on this Computer: "$temp...
true
4eca90fb3f6d19be8906e7b0910dc7a9aa47d9c0
Shell
currant77/aribtraj
/scripts/exportbackup
UTF-8
559
4.125
4
[]
no_license
#!/bin/bash # Creates a backup of the given heroku app's database # Arguments: # - [app-name] heroku app # - [filename] file name (optional; default is 'backup.dump) if [[ $1 == "" ]]; then echo "Failed: requires app name as first argument" exit 1 fi name=backup if [[ $2 != "" ]]; then name=$2 fi name=data/$...
true
d7000e7349bb35e094fb25216b746defc9e51a1d
Shell
fyyy4030/my-tricks
/ri.sh
UTF-8
280
2.515625
3
[]
no_license
echo "用法:把文件夹或文件下载到96的home下 本地运行bash ti.sh xxx(文件夹名)" ssh -p 5102 zihao_wang@183.174.228.96 "tar cf $1.tar $1" scp -P 5102 zihao_wang@183.174.228.96:$1.tar ./ ssh -p 5102 zihao_wang@183.174.228.96 "rm -f $1.tar" tar xf $1.tar rm -f $1.tar
true
d006a6bb6ff8b3406659336e07c0516b25c04b6d
Shell
Zelzahn/config-files
/i3/i3scripts/swap.sh
UTF-8
152
2.953125
3
[]
no_license
#!/bin/bash swap=$( free -h | grep 'Swap:' | awk '{print $3}' ) if [ $(free -m | grep 'Swap:' | awk '{print $3}') -gt "100" ] then echo "${swap}" fi
true
c770c1ff82743d3a0cb7a234a421711a3801a4aa
Shell
afiqmuzaffar/gruut
/scripts/format-code.sh
UTF-8
1,578
3.46875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e # Directory of *this* script this_dir="$( cd "$( dirname "$0" )" && pwd )" src_dir="$(realpath "${this_dir}/..")" if [[ "$1" == '--no-venv' ]]; then no_venv='1' fi if [[ -z "${no_venv}" ]]; then venv="${src_dir}/.venv" if [[ -d "${venv}" ]]; then source "${venv}/bin/act...
true
a0fc85ba1f18e9243dbff9a836d85dc2179676a2
Shell
bdorney/GEM_AMC
/scripts/ctp7_bash_scripts/gth_config_opto.sh
UTF-8
1,077
3.296875
3
[]
no_license
#!/bin/sh gth_rst_ch0_base_addr=0x69000004 gth_ctrl_ch0_base_addr=0x69000008 gth_ctrl_addr=$gth_ctrl_ch0_base_addr gth_rst_addr=$gth_rst_ch0_base_addr # Regular GTH config/ctrl value: # Bit 0: = 1, TX_PD: Transmitter powered down # Bit 1: = 0, RX_PD: Receiver active # Bit 2: = 0, TX_POLARITY: not inverted # Bit 3: =...
true
d42db12c48db0e95212c7c3bc5e79f502f47ccee
Shell
ialves19/WGS
/computing_alleleSharing_Dist.bash
UTF-8
1,131
3.125
3
[]
no_license
#!/bin/bash #$ -S /bin/bash #$ -cwd #$ -N alS_$JOB_ID #$ -o alS_o_$JOB_ID #$ -e alS_e_$JOB_ID #$ -m a #$ -M Isabel.Alves@univ-nantes.fr ##################### RE-WRITE ## ## ## This script needs to be launched with the following command: ## for i in `seq 1 22`; do qsub computing_alleleSharing_Dist.bash chrID mac distI...
true
8b7df7bf188d80644357564bd7b339705ead3565
Shell
omu/debian
/etc/zsh/zshrc
UTF-8
330
2.828125
3
[ "MIT" ]
permissive
# /etc/zsh/zshrc: system-wide .zshrc file for zsh(1). # # This file is sourced only for interactive shells. It # should contain commands to set up aliases, functions, # options, key bindings, etc. # # Global Order: zshenv, zprofile, zshrc, zlogin for f in {/etc,/usr/local/etc}/zsh/zshrc.d/*.sh(.N); do source "$f" don...
true
7120478650afa23f05e6a19d1392c4ef6e759481
Shell
McDutchie/sbodeps
/sbodeps
UTF-8
12,637
3.765625
4
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#! /bin/bash # sbodeps - sbopkg build queue maker with dependency resolution # # --- begin license --- # Copyright 2015 Martijn Dekker <martijn@inlv.org>, Groningen, Netherlands. # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # # 1...
true
9e06517445944ce9ae2e9eed742045a351ea8d53
Shell
jeroentbt/spark
/roles/_unused/mapping/files/showme.sh
UTF-8
351
2.640625
3
[]
no_license
#!/bin/sh IMG_VIEWER="feh -x --auto-zoom --title showme" location="$(mapbox geocoding "$1" | jq -c .features[0])" lon=$(echo $location | jq .center[0]) lat=$(echo $location | jq .center[1]) tmp=$(mktemp $TMPDIR/$(uuidgen).png.XXX) mapbox staticmap --lat $lat --lon $lon --zoom ${2:-13} --size 1279 1279 \ mapbox.satell...
true
471ae08008c49082304808ef797dd5ce41465721
Shell
olivermontes/git-recent
/git-recent
UTF-8
1,792
3.921875
4
[ "MIT" ]
permissive
#!/bin/bash ## ## git-recent ## ## list all local branches, sorted by last commit, formatted reall purdy ## while [[ $# -gt 0 ]] do key="$1" case $key in -r|--remotes) REMOTES="$1" shift # past argument ;; -h|--heads) HEADS="$1" shift # past argument ;; --default) DEFAULT=YES ...
true
7bd28218a2be36fd2730ab2f247bd86e980f5993
Shell
aidarbuy/metromed-rtc
/bash/clean_serve.sh
UTF-8
205
2.734375
3
[]
no_license
#!/bin/bash # declare STRING variable STRING="done." #print variable on a screen echo "Cleaning dist directory:" gulp clean echo $STRING echo "..." clear echo "Starting localhost" gulp serve echo $STRING
true
4864c0bd6c793c1c8b2560567ed42a96a91ec2da
Shell
elago/ela
/script.sh
UTF-8
325
2.671875
3
[ "MIT" ]
permissive
#!/bin/bash go get golang.org/x/tools/cmd/cover go get github.com/mattn/goveralls goversion=`go version | grep 1.6` if [ ${#goversion} !== "0" ];then go test else go test -v -covermode=count -coverprofile=coverage.out $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOK...
true
5ca01575543dc600e6f904ac672b19f030b7af5b
Shell
FrankXL/crypto-types
/refs/validate-all.sh
UTF-8
3,308
2.65625
3
[]
no_license
#!/bin/bash echo "Testing ietf-crypto-types.yang (pyang)..." pyang --ietf --max-line-length=69 -p ../ ../ietf-crypto-types\@*.yang pyang --canonical -p ../ ../ietf-crypto-types\@*.yang echo "Testing ietf-crypto-types.yang (yanglint)..." yanglint ../ietf-crypto-types\@*.yang echo "Testing ex-crypto-types-usage.yang ...
true
8bfd70c81a80782c7520b1f85db0f11bc77fbd5b
Shell
LohmuellerLab/OtterGenomeProject
/DiversityAnalyses/southernSeaOtterAnalyses/VEP/VEP.GeneticLoad.Scripts/VEP.Step5_FilterVEPForLoadCalcs.elut.50_250.CDSOnly.sh
UTF-8
3,255
3.015625
3
[]
no_license
#!/bin/bash #$ -N filterPbraVEP #$ -l h_data=5G,h_rt=10:00:00,highp #$ -m bea #$ -M ab08028 #$ -cwd ########## Want to filter Elut VEP Results to get the following: # synonymous_variant # missense_variant (levels) # homozygous/heterozygous date=20171006 # date of vcfs indir=/u/flashscratch/a/ab08028/otters/vcfs/vcf_...
true
531e57963bbdd05a9e8a998a96fd9527543559ca
Shell
anarchistMegaByte/gif-data-set
/tgifDataBase/code/gifs-filter/split-batches.sh
UTF-8
219
2.828125
3
[]
no_license
#!/bin/bash # vim ft=sh lines=$1 data_dir=$2 cd $data_dir prefix=sub sort -R gif.urls | split -l $lines - $prefix ls $prefix* | xargs -L 1 -I {} sh -c "mkdir -p batches/{}; mv {} batches/{}/gif.urls" echo $data_dir
true
35438492e0a1dbb0e373e33a959a84d72f7ad797
Shell
blingshark/netsharkscan
/netsharkscan.sh
UTF-8
3,138
3.75
4
[]
no_license
#!/bin/bash echo "Welcome to netsharkscan (beta_1.0)" echo " " echo "------List Interfaces------" echo " " ip link show | awk '{print "\033[m" $2 "\033[32m" $9 "\033[m"}' echo " " echo "--------------------------" read -p "Choose interface (ex: wlan0) : " interface clear YourMacAddress=$(ip link show dev $interface |...
true
c7262868846880ad5f2e357c49561e642f2e14af
Shell
vnopenroads/openroads-vn-tiler
/scripts/generate-provincial-dumps.sh
UTF-8
575
3.5
4
[ "MIT" ]
permissive
#!/bin/sh set -e echo "Ensure the necessary environment variables are set" : "${DATABASE_URL:?}" # Change to script's directory cd "${0%/*}" OUTPUT_DIR='.tmp/provinces/' mkdir -p $OUTPUT_DIR echo "Map all roads to provinces and join properties" psql "${DATABASE_URL}" -f generate-provincial-dumps.sql # Read .tmp/p...
true
d70cb25d7271a22695d1bcddf7000bf8eb61fff5
Shell
mohammadrizqialfian/Openstack-Stein-Opensuse-15.1-Leap
/09-newcompute.sh
UTF-8
8,059
2.703125
3
[]
no_license
#!/bin/bash source config.conf echo -e "$red \n\n############## Starting running script Add New Compute Openstack ############## $color_off\n\n" ssh-copy-id -i ~/.ssh/id_rsa.pub root@$IPCOMPUTE echo -e "$red \n###Configre Hostname### $color_off" ssh root@$IPMANAGEMENT "echo -e '$IPCOMPUTE\t $HOSTCOMPUTE' >> /etc/hos...
true
751cc58a0b86214330ecf6a9a20128486f701f33
Shell
fengzi-code/shell-code
/nginx/nginx_install.sh
UTF-8
6,069
3.53125
4
[ "MIT" ]
permissive
#!/bin/bash set -e nginxversion="1.13.9" nginx_dir=/usr/local nginx_conf_path=$nginx_dir/nginx/nginx.conf nginx_url=http://nginx.org/download/nginx-$nginxversion.tar.gz if [ ! -d $nginx_dir ];then mkdir -p $nginx_dir fi cd $nginx_dir yum -y install pcre pcre-devel zlib zlib-devel gcc gcc-c++ autoconf automake make ...
true
25f6e912fc39da087080b9c7781ba3cc09ef2704
Shell
bioinformagical/scripts-cluster
/cotescripts/unmapped-blastn-NT.pbs
UTF-8
1,257
3.078125
3
[]
no_license
#!/bin/bash # Request a run time of 5 hours and 30 minutes #PBS -l walltime=168:30:00 # Request 1 processor in 1 node #PBS -l nodes=1:ppn=12 # Request 7600 megabytes memory per processor. ( 48 usable CPUs) #PBS -l vmem=88gb #PBS -N bbblastN2NT-cote #PBS -t 1-18 umask 007 set -eu file=$(sed -n -e "${PBS_ARRAYID}p...
true
3b3ec75fbeb4b7032764db0a75cd71ea891ff6a7
Shell
thienkimlove/standard
/setup.sh
UTF-8
2,304
2.90625
3
[]
no_license
#!/usr/bin/env bash setup_laravel() { cd /var/www/html/$1 mysql -uroot -ptieungao -e "create database $1;" sed -i -e "s/DB_DATABASE=homestead/DB_DATABASE=$1/g" .env composer install php artisan key:generate php artisan migrate php artisan ide-helper:generate chmod -R 777 storage chmod -R 777 bootstrap php artisan ven...
true
ea6f82c87b809fb762d4357c66b44ab21435d9f1
Shell
firoj786/shell-scripting
/firoj/bigNum.sh
UTF-8
252
3.40625
3
[]
no_license
#WRP biggest two number or equal num. #!/bin/bash printf "enter A:" read A printf "enter B:" read B if [ $A -gt $B ] then echo "$A is bigger than $B" fi if [ $B -gt $A ] then echo "$B is bigger than $A" fi if [ $A -eq $B ] then echo "A and B same" fi
true
831d66f7de2434d2488bf45834095dd8fe7e486a
Shell
cicoub13/libellule
/test/initialize.sh
UTF-8
650
3.34375
3
[]
no_license
#!/bin/bash echo "Initalization of SQLite" if [ "$#" -ne 1 ]; then echo "Usage : ./initialize.sh dir_install" else echo "Start of initialization" sqlite3 $1/test/libellule.db "drop table if exists ping;" sqlite3 $1/test/libellule.db "drop table if exists download;" sqlite3 $1/test/libellule.db "drop table if e...
true
7bef6eca3c5f7611f19018be9be24241abb3e24a
Shell
yu-iskw/spark-streaming-with-google-cloud-example
/bin/send-pubsub-messages.sh
UTF-8
333
2.796875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )" SCRIPT_NAME=`basename "$0"` SBT="$SCRIPT_DIR/../build/sbt" __PROJECT_ID=$1 ; shift __PUBSUB_TOPIC=$1 ; shift __MAIN_CLASS="com.github.yuiskw.google.datastore.PubsubMessagePublisher" $SBT "run-main $__MAIN_CLASS --projectId $__PROJECT_ID --pubsubTopic $__P...
true
7c3a8c7ec176330302848d6e50bdef7b4e870b2a
Shell
veltzer/utils-bash
/src/utils_rename_single.sh
UTF-8
428
3.765625
4
[]
no_license
#!/bin/bash -e : <<'COMMENT' This is a script that allows you to move files with long names without repeating the name of the file. References: - https://www.ostechnix.com/bash-tips-rename-files-without-typing-full-name-twice-in-linux/ COMMENT if [ "$#" -eq 0 ] then echo "$0: use with at least one argument" exit...
true
8cd77ebed312e870038c1ebb9ade2c5702c1a249
Shell
gabrielmip/search-engine
/run2.sh
UTF-8
362
2.8125
3
[]
no_license
#!/bin/bash HD="/media/gabriel/Dados\\ Massivos" DOCS=${HD}/small_collection RUNS=${HD}/runs MERGE=${HD}/merge INDEX=${HD}/index LOG=${HD}/logs/removendo_log.txt MEMORY=200 for i in 10 9 8 7 6 5; do echo $i command="time indexer/indexer ${DOCS} ${RUNS} ${MERGE} ${INDEX} ${MEMORY} ${LOG}" eval $command command="rm...
true
dd35929ea00be8d6fcb3e6bc8f8a380b898786f2
Shell
yonchu/dotfiles
/bin/check-sw
UTF-8
2,066
3.59375
4
[]
no_license
#!/usr/bin/env bash path() { if which "$1" > /dev/null 2>&1; then echo " ($(which "$1"))" else echo "not installed" fi } check() { ## bash echo "bash: $(bash --version | head -n 1)$(path bash)" ## zsh echo "zsh: $(zsh --version)$(path zsh)" ## ssh e...
true
953aaa307ba55e195d0d7b0d6abfa0b11b748fc2
Shell
martinep/foam-extend-svn
/Breeder_1.5/OSIG/TurboMachinery/ercoftacCentrifugalPump/cases/MRFSimpleFoam/ECPStitchMesh2D/Allrun
UTF-8
2,439
3.109375
3
[]
no_license
#!/bin/bash . $WM_PROJECT_DIR/bin/tools/RunFunctions ### load macros if [ -d ECPGgi2D_orig ] ; then case=ECPGgi2D; ### this part sets elif [ -d ECPStitchMesh2D_orig ]; then ...
true
6f1c75832777116d022120bf70390137321a8aad
Shell
f-kratzenstein/CHARMeMaps
/apache-tomcat/bin/setenv.sh
UTF-8
2,624
3.96875
4
[]
no_license
#!/usr/bin/env bash # ----------------------------------------------------------------------------- # Control Script for the CATALINA Server # # Environment Variable Prerequisites # # Set the enviroment variables in this script, as recommended in catalina.sh # in to keep our customizations separate. # # As we w...
true
f4e93fda77a8b490af34864b258dba7b7bdd4963
Shell
delkyd/alfheim_linux-PKGBUILDS
/angular-cli/PKGBUILD
UTF-8
464
2.75
3
[]
no_license
_npmscope=@angular _npmname=cli _npmver=1.4.1 pkgname=angular-cli # All lowercase pkgver=1.4.1 pkgrel=1 pkgdesc="CLI tool for Angular" arch=(any) url="https://github.com/angular/angular-cli" license=() depends=('nodejs' 'npm' ) optdepends=() options=(!strip) package() { cd $srcdir local _npmdir="$pkgdir/usr/lib/no...
true
1ca585a2a211a26d2d72f2444cb2e4a24f31d9f9
Shell
galaxyeye/warps-scripts
/start-workspace.sh
UTF-8
1,593
2.890625
3
[]
no_license
#bin HBASE_HOME=~/programs/hbase-0.98.8 # SOLR_HOME=~/programs/solr-4.10.3 # SATELLITE_HOME=~/workspace/satellite # SCENT_HOME=~/workspace/qiwur-scent-1.0.0-src # NUTCH_HOME=~/workspace/apache-nutch-2.3.0-src # enter the home directory cd echo "start eclipse..." /opt/eclipse/mars/eclipse > /dev/null 2>&1 & sleep 3 ...
true
6542f082c9888274cd7afce917154d52e5d843b2
Shell
aviadco11/ob
/kafka-connect-to-elk.sh
UTF-8
918
2.515625
3
[]
no_license
echo "install vim" echo "------------" docker exec --user="root" kafka bash -c "apt-get update & apt-get install vim" echo "" echo "copying some config files :" echo "----------------------------" docker exec kafka bash -c "/opt/bitnami/kafka/bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-...
true
e0d9218a7ab4bae525de70db7ba906d8c49150e6
Shell
massenz/HOW-TOs
/HOW-TO Install Docker
UTF-8
726
3.359375
3
[]
no_license
#!/bin/bash # Installs the latest version of Docker. # # Source: https://blog.docker.com/2015/07/new-apt-and-yum-repos/ source ${HOME}/Dropbox/development/scripts/utils.sh msg "Removing existing Docker, if any" sudo apt-get purge -y lxc-docker* >/dev/null 2>&1 msg "Adding the new APT Docker repositories" wrap "sudo...
true
567441418fe1e377fe5f625409726ff090fb41d2
Shell
fabripautasso/pi4-captive-portal
/start_as_access_point.sh
UTF-8
3,244
2.6875
3
[ "MIT" ]
permissive
#!/bin/bash echo "-----STEP 1 - System Update-----" sudo apt-get update -y sudo apt-get upgrade -y echo "-----STEP 2 - hostapd and dnsmasq installation-----" sudo apt-get install hostapd dnsmasq -y echo "-----STEP 3 - Stop hostapd and dnsmasq-----" sudo systemctl stop hostapd sudo systemctl stop dnsmasq echo "-----S...
true
bf560ead2858458d2b11f8af04a5b07968082f91
Shell
8gears/do
/examples/do.docker.sh
UTF-8
652
3.921875
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env sh # Do - The Simplest Build Tool on Earth. # Documentation and examples see https://github.com/8gears/do set -e -u # -e "Automatic exit from bash shell script on error" -u "Treat unset variables and parameters as errors" IMAGE_NAME="registry.8gears.com/hello-world" TAG="${CI_COMMIT_TAG:-latest}" bui...
true
f3cfebf2ffdd44477a218428eccf338c2ec8051f
Shell
dosaboy/ovs-stat
/dataset_factory.d/07load_vlan_conntrack_zone_info
UTF-8
819
3.140625
3
[]
no_license
#!/bin/bash -u TRAP_ERROR_MSG="vlan conntrack zone info" # lib for l in `find $CWD/common -type f`; do source $l; done __load_vlan_conntrack_zone_info () { local conntrack_root=$RESULTS_PATH_HOST/ovs/conntrack # start with a test to see if we have permissions to get conntrack info get_ovs_appctl_dump_con...
true
32e65bc042712a7f2517b10f87bce558feb66778
Shell
hratcliffe/WIPPS
/files/scripts/generate_runtime_flags.sh
UTF-8
522
2.9375
3
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
#!/bin/bash #Extract any strings in classes called test_ containing "Set runtime_flag" grep -r "Set runtime_flag" ./html/classtest__* | awk -F':' '{if(match($1, "classtest_")){ name = substr($1, match($1, "classtest")+5, length($1)-match($1, "class")-9); print "In class " name ":" $2}}'> ./files/tests_runtime_flags.txt...
true
ddfba68d7340978989479c9af88e54bb7236ce27
Shell
ssharpjr/dotfiles-original
/install_configs.sh
UTF-8
254
3.46875
3
[]
no_license
#!/usr/bin/env bash # Installs configuration files destdir="tmp" configs_file="configs.csv" while IFS=, read -r dest file; do case "$dest" in "") echo "$file" goes in root ;; ".config") echo "$file" goes in "$dest" ;; esac done < $configs_file
true
60b362762b2f5698c56eedbaf3ff44b79a2c3c2a
Shell
myw/my.vimfiles
/scripts/clean-swap-files.sh
UTF-8
1,750
3.71875
4
[]
no_license
#!/bin/bash # clean-swap-files.sh - clean up vim swap files after crash # # Author: @chouser <http://stackoverflow.com/users/7624/chouser> # From: http://stackoverflow.com/questions/63104/smarter-vim-recovery TMPDIR=$(mktemp -d) || exit 1 # Temporary files for persistant storage of the recovery text and original fil...
true
4e322df5f11764bb038054db72764f34cd969ce8
Shell
paranoidsp/bash-config
/bash_aliases
UTF-8
1,960
2.859375
3
[]
no_license
alias rmlck='sudo rm /var/lib/apt/lists/lock' alias cardstat="cat /proc/acpi/bbswitch" alias cardon="sudo tee /proc/acpi/bbswitch <<<ON" alias cardoff="sudo tee /proc/acpi/bbswitch <<<OFF" alias lns="ln -s" alias rmlockarch="rm /var/lib/pacman/db.lck" alias ..="cd .." #if [$UID -ne 0 ]; then alias reboot='sudo reboot'...
true
f767c9bc50290b072f47b2f177cf83d8577b218a
Shell
sekoudosso82/InterviewPrep
/bash_learning/smoothstackTest.sh
UTF-8
16,975
3.75
4
[]
no_license
input="2 40 -15" echo $input first=$(echo $input | awk '{print $2}') if [ $first -lt 0 ]; then first=$((-1*$first)) fi echo $first second=$(echo $input | awk '{print $3}') if [ $second -lt 0 ]; then second=$((-1*$second)) fi echo $second summ=$(($first+$second)) echo $summ # 2. # Given N lines of input,...
true
d4e0ba44029fd1f59c2b0f6cb2a1561fbbad1f66
Shell
tdowg1/dotfiles
/work-machines/walrus/.bashrc
UTF-8
316
2.578125
3
[ "MIT" ]
permissive
export OS=$(uname -s) export TZ=UTC # Source 'system' bashrc if [[ -f /etc/bashrc ]]; then source /etc/bashrc fi ###################################################################### # For NetView ###################################################################### export LANG=en_US export LC_MESSAGES=en_US
true
eb40580bf981c28198c6a1b141a3d99bf333b1e5
Shell
pb30/dotfiles
/bin/cheat
UTF-8
565
4
4
[]
no_license
#!/bin/sh CHEATDIR="$HOME/.cheats" COMMAND=$1 while getopts ":e:" opt; do case $opt in e) COMMAND=$2 if [ ! -f $CHEATDIR/$COMMAND ]; then wget http://cheat.sh/$COMMAND -qO $CHEATDIR/$COMMAND fi "${EDITOR:-vi}" $CHEATDIR/$COMMAND exit 1 ;; \?) echo "Invalid...
true
f7c97eaabdff26c9c52072f7f92376e032672861
Shell
VladVons/sh-conf
/pkg/console/debootstrap/conf/lxde_a/sources.list.sh
UTF-8
416
2.75
3
[]
no_license
#!/bin/bash #--- VladVons@gmail.com AddDeb() { aPkg="$1"; aStr="$2"; echo $aStr >> /etc/apt/sources.list.d/$aPkg.list } AddDeb "google-chrome-stable" "deb http://dl.google.com/linux/chrome/deb/ stable main" wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - AddDeb "dropbox" ...
true
1ac1ff7b61ae1cca3eb528d1e13e3ea81f91faf0
Shell
mayan404/extensions
/PHP-FPDF/FPDF-master/ttf2pt1-chinese-3.4.0/mkrel
UTF-8
2,534
3.6875
4
[]
no_license
#!/bin/sh # # Copyright (c) 2000 # Sergey A. Babkin. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this...
true
2f98fda0e482b7744aedbfaabf8d5eecd8e16dae
Shell
pradeeppasupuleti/Python-Practice
/Shell_scripts/Unix/ServerHealthCheck_2.0.sh
UTF-8
13,082
3.328125
3
[]
no_license
#!/usr/bin/ksh # # Health check script - Solaris # # Author: Pradeep K Pasupuleti # # Created on: # ECHO="/bin/echo" if [ -f "/usr/ucb/whoami" ]; then WHOAMI="/usr/ucb/whoami" else $ECHO "Error: whoami command not found" exit fi if [ $($WHOAMI) != "root" ]; then $ECHO "Please execute the script with the root ...
true
86059638eb86020e9a806aad4ca031a09567a0ff
Shell
TomLous/medium-spark-k8s
/scripts/7-create-spark-runner.sh
UTF-8
526
2.828125
3
[]
no_license
#!/usr/bin/env bash name="spark-runner" cd ${BASH_SOURCE%/*}/../docker/${name} eval $(minikube docker-env) name="spark-runner" registry="localhost:5000" version="0.1" docker build \ --build-arg VCS_REF=$(git rev-parse --short HEAD) \ --build-arg BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \ --build-arg ...
true
c25097053bb041ef7db6e4beecaddaccfd3ffdcf
Shell
leloulight/PKGBUILD
/porntime-bin/PKGBUILD
UTF-8
2,009
2.53125
3
[]
no_license
# Maintainer: M0Rf30 # Contributor: Ricardo Funke <ricardo [at] gmail [dot] com> # Contributor: Attila Bukor <r1pp3rj4ck [at] w4it [dot] eu> # Contributor: Iwan Timmer <irtimmer [at] gmail [dot] com> # Contributor: Eric Engestrom <aur [at] engestrom [dot] ch> # Contributor: Ricardo Band <me [at] xengi [dot] de> # Contr...
true
cd4787b1504a7541879f5f273a1f3cd954d2fdf4
Shell
GaomingPan/smartAC
/scripts/WifiSmartAcCmd/accmd_setdhcp
UTF-8
1,334
3.375
3
[]
no_license
#!/bin/sh # # # ########################## # # $(1): cmd id # $(2): gw_ac_id # $(3): dhcp IP start # $(4): dhcp IP limit numbers # $(5): dhcp leasetime min:2m, normal:12h # $(6): dhcp switch, 0 OPEN dhcp, 1 CLOSE dhcp # # start=$3 limit=$4 leasetime=$5 ignore=$6 . /usr/bin/accmd_common if [ $# != 6 ];then E...
true
baed9a6168ad59b8ab467b592d85802b5dafea6a
Shell
mjkelly/experiments
/auto_timezone.sh
UTF-8
827
3.984375
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # Uses free online services to automatically set your timezone. This is # intended for a laptop that moves from place to place with you. set -e set -u # An API key is free for 1000 requests per day. See: # https://ipgeolocation.io/pricing.html # Write .ipgeolocation.io in your home directory with the follo...
true
6f702429247c9791ab844129beb4d46f2036706d
Shell
rgulewich/dotfiles
/zshrc
UTF-8
1,571
2.84375
3
[]
no_license
if [[ ! -o interactive ]]; then return fi source $HOME/.profile.d/common/functions.sh ## Shell options, completion bindkey -v zstyle ':completion:*:*:git:*' script ~/.zsh/git-completion.bash fpath=(~/.zsh $fpath) # Command history HISTFILE=${ZDOTDIR:-$HOME}/.zsh_history SAVEHIST=10000 HISTSIZE=10000 # don't sh...
true
72ae584fcb55a899e31c263d0916a7af7a8b9e3a
Shell
supernifty/prostate-cancer-pipeline
/src/util/filter_vcf.sh
UTF-8
859
2.734375
3
[]
no_license
#!/usr/bin/env bash S="CMHS51 CMHS52 CMHS53 CMHS54 CMHS55 CMHS64 CMHS65 CMHS66 CMHS67 CMHS68 CMHS69 CMHS70 CMHS71" for s in $S; do python src/util/filter_germline.py tumorfirst < ./out/CMHS52.muse.vcf > ./out/CMHS52.muse.pass.vcf python src/util/filter_germline.py tumorfirst < ./out/CMHS52.platypus.vcf > ./out/CM...
true
540f0d4964b3beedf5fb2b50819ecd2f0bda5f5b
Shell
scylladb/scylla-monitoring
/start-grafana.sh
UTF-8
9,321
3.5625
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash CURRENT_VERSION="master" if [ -f CURRENT_VERSION.sh ]; then CURRENT_VERSION=`cat CURRENT_VERSION.sh` fi LOCAL="" if [ -z "$GRAFANA_ADMIN_PASSWORD" ]; then GRAFANA_ADMIN_PASSWORD="admin" fi if [ -z "$GRAFANA_AUTH" ]; then GRAFANA_AUTH=false fi if [ -z "$GRAFANA_AUTH_ANONYMOUS" ]; then ...
true
6e2d89754c6ad171fff2c0f53a3c43b0006d879e
Shell
ray2501/monetdb_fdw
/test_monetdb_fdw.sh
UTF-8
2,404
2.859375
3
[]
no_license
#!/bin/sh PSQL_OPTS="" if [ -z "$PGHOME" ]; then PGHOME=/tmp/pgsql fi USE_PGXS=1 PATH=${PGHOME}/bin:$PATH export PGHOME USE_PGXS PATH make clean USE_PGXS=1 make all USE_PGXS=1 make install USE_PGXS=1 DBNAME=__fdwtest__ echo dropdb ${PSQL_OPTS} ${DBNAME} dropdb ${PSQL_OPTS} ${DBNAME} createdb ${PSQL_OPTS} ${DBNA...
true
26b7c8d10419a9fa8daedfc8ca9d7ce6ba6b8b5b
Shell
BonJovi1/Bash-Scripting-2
/q4.sh
UTF-8
175
3.21875
3
[]
no_license
#!/bin/bash cron=$1 crontab $cron > /dev/null 2>&1 if [ $? -ne 0 ] then echo "Crontab is Not properly formatted :(" else echo "It's properly formatted, should work! :)" fi
true
45a16de8d53d5cb7b0ad9f7afcb759ff6b9760f9
Shell
devaradhanm/accessibility-insights-service
/packages/resource-deployment/scripts/setup-cosmos-db.sh
UTF-8
4,267
3.84375
4
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
#!/bin/bash # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. # shellcheck disable=SC1090 set -eo pipefail export cosmosAccountName export resourceGroupName createCosmosAccount() { echo "[setup-cosmos-db] Creating Cosmos DB account..." resources=$(az group deploy...
true
803434b9a0d0fe47f69904c0b730b231e22ebc40
Shell
webdetails/cbf2
/startClients.sh
UTF-8
3,322
3.578125
4
[]
no_license
#!/bin/bash # Lists the clients and starts / delets BASEDIR=$(dirname $0) source "$BASEDIR/utils.sh" cd $BASEDIR #VERSIONS=() VERSIONS=(6.0-NIGHTLY 6.1.0.0) BOX_URL=${BOX_URL:-ftp.box.com/CI} DIR=clients CLIENTS=() BRANCHES=() BUILDNOS=() # Get list of files DIRS=$(find $DIR -type d -maxdepth 3 -d 3) echo echo C...
true
af2a381c9ccdf36195be68f9f577321a8b072a93
Shell
sa3036/powerstation
/powerstation/IDE_plugin/src/main/resources/static-analyzer/single_action.sh
UTF-8
1,295
3.140625
3
[ "BSD-2-Clause" ]
permissive
app=$1 c_a=$2 input=$3 output='./applications/' pre_pro='./preprocess_views' controller='./controller_model_analysis' call=$input/'calls.txt' schema=$input/db/'schema.rb' rm -rf $output/$app echo "remove existing" mkdir $output/$app echo "move app dir to applications " cp -r $input/app/* $output/$app/ cp $call $output/...
true
ed64c38a17bfc4307c464c36c03cf0f750bd230e
Shell
inetss/docker-django-app
/setup/python_version.sh
UTF-8
403
3.734375
4
[]
no_license
#!/bin/bash die() { >&2 echo -e "$@\nAdd python executable to requirements.txt like this:\n# python: python3.5"; exit 1; } python=$(cat requirements.txt | grep '^# python: ' | sed -re 's/.*://' | xargs) [ -n "$python" ] || die "Could not discover python version" python_exe=$(which "$python"; true) [ -x "$python_exe"...
true
5aa0ea2e12ccb3440fb6c066c7c74bafd75c9018
Shell
mrnechay/mikescripts
/turbo2
UTF-8
1,956
3.296875
3
[]
no_license
#!/bin/bash # # A script to run TURBOMOLE # by Sean Nedd # improved by Nathan Gallup echo "TURBOMOLE program" echo "This TURBOMOLE script is an interactive guide for the setup and running of TURBOMOLE calculations on a cluster or a single node." echo "Running on a cluster?[Y/n]" read cluster if [ "$cluster" = 'Y' -o ...
true
81ac0d4249d6ec3ac0b326a799098b3a000d377a
Shell
kayamash/CalcEffTool
/compile.sh
UTF-8
444
3.78125
4
[]
no_license
#!/bin/sh if [ "$TestArea" = "" ] ; then echo "TestArea is missing. Please source setup_grid.sh" exit 1 fi if [ "$1" = "clean" ] ; then rm -r build fi if [ -d $TestArea/build ] ; then echo "Compiled in $TestArea/build" else echo "Creating $TestArea/build ..." mkdir -p $TestArea/build fi if [ "$1" = "noC...
true
1ae4e55fbfdca8c501e5a66cb46cacc55742b569
Shell
vishwaraja/spring-nom-demo
/src/main/resources/docker/16-2/setup_sso.sh
UTF-8
456
2.625
3
[]
no_license
#!/bin/bash PREFIX_SSO='##SSO##' PREFIX_LDAP='##LDAP##' echo Preparing... docker-compose.yml sed -i "" "s/$PREFIX_LDAP//g" ./docker-compose.yml sed -i "" "s/$PREFIX_SSO//g" ./docker-compose.yml echo Preparing... Dockerfile sed -i "" "s/$PREFIX_SSO//g" ./eportal/Dockerfile echo Preparing... set_ip.sh sed -i "" "s/$PRE...
true
46f0c43a0bbfcda2200af1990684bf19dfa65422
Shell
delkyd/alfheim_linux-PKGBUILDS
/teamspeak3-server/PKGBUILD
UTF-8
2,971
2.65625
3
[]
no_license
# Maintainer: Malte Rabenseifner <mail@malte-rabenseifner.de> # Contributor: EnteEnteEnte <ducksource@duckpond.ch> pkgname='teamspeak3-server' pkgver='3.0.13.8' pkgrel=1 pkgdesc='A proprietary VoIP conference software' license=('custom') arch=('i686' 'x86_64') url="http://www.teamspeak.com" depends=('glibc') optdepend...
true
bd9620da52e3f1bfdf5b8f8f9834b3f253f97a06
Shell
DigitalPostma/power
/power-monitor
UTF-8
288
3.25
3
[ "MIT" ]
permissive
#!/bin/sh # /etc/init.d/power-monitor case "$1" in start) echo "Starting power monitor..." python /root/power/monitor.py & ;; stop) echo "Stopping power monitor..." killall monitor.py ;; *) echo "Usage: /etc/init.d/power-monitor (start|stop)" exit 1 ;; esac exit 0
true
7ca4653dbaf1a5691ceaa421985ca1bbb9ab09af
Shell
ablin42/push_swap
/script.sh
UTF-8
615
3.4375
3
[]
no_license
#!/bin/bash #DEBUG MODE: bash -x script.sh #USAGE: ./script.sh "lowest nb" "highest nb" "maximum nb of moves" arg=`ruby -e "puts ($1..$2).to_a.shuffle.join(' ')"` nbmove=`./push_swap $arg | wc -l | tr -d " "` nbtest='0' moyenne='0' limit=$(($2 * 100)) while [[ $nbmove -le $3 && $nbtest -le $limit ]] do arg=`ruby -e...
true
ac83e3c843e60d895bde5e2d57da8f7844e6f01b
Shell
seattle-biomed/zfstools
/zfs-send.sh
UTF-8
2,126
4.03125
4
[ "Apache-2.0" ]
permissive
#!/usr/local/bin/bash function banner { echo "Usage:" echo " $0 -h" echo " $0 -s SECONDARY -p POOL1 -d POOL2 -n SNAP [ -x EXCLUDE ]" echo " SECONDARY - secondary hostname" echo " POOL1 - source zpool" echo " POOL2 - destination zpool" echo " SNAP - snapshot base name" echo...
true
bb9513fec9ab86426e98ddd6833757aacd4ff687
Shell
mamemomonga/apnic-cidr-range
/bin/restrict-ssh-jponly.sh
UTF-8
645
2.84375
3
[]
no_license
#!/bin/bash set -eu BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" IPTABLES="iptables" $IPTABLES -t filter -P INPUT DROP $IPTABLES -t filter -P OUTPUT ACCEPT $IPTABLES -t filter -P FORWARD DROP $IPTABLES -t nat -P PREROUTING ACCEPT $IPTABLES -t nat -P POSTROUTING ACCEPT $IPTABLES -t nat -P...
true
46f25e7fddf18351bc1d9f6ec7aa9f88191dfed8
Shell
lixiang2017/leetcode
/count_all.sh
UTF-8
871
3.015625
3
[]
no_license
#! /bin/bash # count leetcode.com and leetcode-cn.com, stored files at localhost. # include accpeted and attempted, the attempted will be a very small number. # not include `explore` topic in leetcode.com, so the result will less than real sum of accepted number in both websites. # not include `shell`/`lcp`/`sword2offe...
true
3cd8f0f972e50145679068c6726cabafb76b4f79
Shell
kapliy/hepcode
/ana/trunk/CommonAnalysis/RootCore/scripts/svn_retry.sh
UTF-8
248
3.484375
3
[]
no_license
#!/bin/bash if test "$TMPDIR" == "" then TMPDIR=/tmp/ fi FILE=$TMPDIR/svn-out.$$ if svn "$@" >$FILE || svn "$@" >$FILE || svn "$@" >$FILE then cat $FILE rm -f $FILE else result=$? cat $FILE rm -f $FILE exit $result fi
true
8ddf397f4aca2f7359082c3f368d9ccf071f05b0
Shell
Hexaware-DevOps-Batch2/demo1
/hhernan85/script.sh
UTF-8
4,145
3.484375
3
[]
no_license
#!/bin/bash DIRECTORY="~/my-projects/demo2" PROPERTIESFILE="properties.txt" SERVER="ubuntu@ec2-18-219-236-181.us-east-2.compute.amazonaws.com" KEY="trainingubuntukeypair.pem" APPFILE="application.yml" CREATED=true TRANSFERED=true UPDATED=false WRITTEN=true function createDirectory(){ ssh -i $KEY $SERVER "mkdir -p ...
true
f19c55db34633b48fcc9e7f2fbf6f57b187b0a85
Shell
Yixf-Self/gatk
/scripts/cnv_cromwell_tests/germline/run_cnv_germline_workflows.sh
UTF-8
3,500
3.15625
3
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash -l set -e #cd in the directory of the script in order to use relative paths script_path=$( cd "$(dirname "${BASH_SOURCE}")" ; pwd -P ) cd "$script_path" ln -fs /home/travis/build/broadinstitute/gatk/scripts/cnv_wdl/cnv_common_tasks.wdl ln -fs /home/travis/build/broadinstitute/gatk/scripts/cnv_wdl/germline/...
true
670c0312dd09fb9edd30bc3079e62f2488c98dbf
Shell
ProgrammingLab/koneko-online-judge
/server/judge.sh
UTF-8
875
3.0625
3
[ "MIT" ]
permissive
#!/bin/sh cd /tmp >/dev/null 2>/dev/null mv ./koj-workspace/$4 . >/dev/null 2>/dev/null chmod 755 $4 >/dev/null 2>/dev/null rm -rf ./koj-workspace >/dev/null 2>/dev/null chmod 700 $0 >/dev/null 2>/dev/null chmod 700 -R ./input >/dev/null 2>/dev/null for var in `ls -1 ./input/*.txt` do sudo -u nobody chmod 777 -R ...
true
6e964802d9885b7db2ac71cb0e2eb7512d092c0f
Shell
OGSnoop/Security
/lockout.sh
UTF-8
4,500
2.703125
3
[]
no_license
##### BUMPER ##### !#/bin/bash ifconfig down enp3s0 DATA="/home /root /etc /var" tar cfzp "/scratcher.tgz" $DATA --same-owner useradd picklerick #echo shindigity | passwd --stdin root #echo nigguhs | passwd --stdin picklerick passwd --stdin picklerick grep -e /bash /etc/passwd | cut -d: -f1 > pickle.txt sed s/^/'usermo...
true
4506b5bc05923f5346e9020ca2a8b66b96c71514
Shell
crlorentzen/dotfiles
/bashrc
UTF-8
212
2.609375
3
[]
no_license
# bashrc PATH=${PATH}:${HOME}/scripts if [ -f ${HOME}/.bash_aliases ]; then source ${HOME}/.bash_aliases fi if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then source /usr/local/bin/virtualenvwrapper.sh fi
true
b37586c62cb8189e272dcf4d5bf3e18d6aecf29d
Shell
kdubovikov/catalyst
/teamcity/py_deploy.sh
UTF-8
1,350
2.875
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # Cause the script to exit if a single command fails set -eo pipefail -v echo "pip install -r requirements/requirements.txt" pip install -r requirements/requirements.txt echo "pip install -r requirements/requirements-cv.txt" pip install -r requirements/requirements-cv.txt echo "pip install -r r...
true
b2302db9fd8f03c68f96dd132c38269a717279e0
Shell
mongopa/shell
/auto-mv.sh
UTF-8
279
3.140625
3
[]
no_license
#!/bin/bash WATCH_DIR="/home/riki/Downloads"; while true; do filename=`inotifywait -e CLOSE ${WATCH_DIR} --format "%f" 2> /dev/null`; /home/riki/shell/filemove.sh ls -l ${WATCH_DIR}; for d in `find ${WATCH_DIR} -type d`; do echo $d,`ls "$d" | wc -l`; done done
true
629f5bd01fc6e96046352cc845d6e06a69725234
Shell
sparkleholic/meta-pelux
/meta-intel-extras/recipes-support/grub/grub-efi/grubenv-copy.sh
UTF-8
168
2.609375
3
[ "MIT" ]
permissive
#!/bin/sh if [ ! -d /boot/EFI/BOOT/ ]; then mount /dev/sda1 /boot fi if [ ! -f /boot/EFI/BOOT/grubenv ]; then cp /usr/share/grubenv /boot/EFI/BOOT/grubenv fi
true
8a440e8da1e9489c57e03b7cc1743dcf8eb987ee
Shell
C622/TVShow
/strip_color.sh
UTF-8
108
2.8125
3
[]
no_license
#!/bin/bash VALUE=$(cat $1 | perl -pe 's/\e([^\[\]]|\[.*?[a-zA-Z]|\].*?\a)//g') echo "$VALUE" > $1 cat $1
true
e593804f49f883faa6dd23587e898c63ce03ec3e
Shell
lonkamikaze/bsda2
/tests/lst.sh
UTF-8
15,063
3.0625
3
[ "ISC" ]
permissive
. ../src/lst.sh # # Verify record separator ${RS} is set by log/rec/csv but not lst. # lst.check_log() { test "${RS}" = $'\n'; } lst.check_rec() { test "${RS}" = $'\036'; } lst.check_csv() { test "${RS}" = ,; } lst.check_col() { test "${RS}" = :; } ! RS= lst x.check_log RS=$'\n' lst x.check_log ! RS=$'\03...
true
ab7fbf677ede9eaff86efbf13eb9372a6c43b9c0
Shell
rafmagns-skepa-dreag/stately-plump-buck
/bash/zshrc
UTF-8
3,478
3.109375
3
[]
no_license
# Path to your oh-my-zsh installation. export ZSH=/home/$USER/.oh-my-zsh export TERM=xterm-256color export TMPDIR=/home/rhanson/tmp # source pg10 before adding pg13 to the path source /opt/rh/rh-postgresql10/enable source /opt/rh/rh-git218/enable CARGO_BIN=$HOME/.cargo/bin POETRY=$HOME/.poetry/bin CUSTOM_BIN=$HOME/.bi...
true
ec8671279d42cc55dea0963a6e96718f053c1b56
Shell
mclaybaugh/linux-setup
/config/zsh-git-prompt-agnoster.zsh
UTF-8
2,686
3.328125
3
[ "MIT" ]
permissive
# https://gist.github.com/fabienduhamel/df178911bddea12098b2aa06752bbf2a # Better zsh git prompt with zsh-git-prompt # Add it to your .zshrc after the plugins(... zsh-git-prompt ...) line # First, it rewrites git prompt style # Then overrides git_super_status() # And overrides build_prompt() from agnoster (depends of ...
true
5212f11897bb74e829d0e55cfbbebed7b4ae39dd
Shell
wincent/wincent-on-rails
/script/start
UTF-8
299
3.65625
4
[]
no_license
#!/bin/sh usage() { echo "usage: $0 [nginx|all]" exit 1 } test $# = 0 && usage while test $# != 0; do case "$1" in nginx) START_NGINX=1 ;; all) START_NGINX=1 ;; *) usage ;; esac shift done if [ -n "$START_NGINX" ]; then script/nginx fi
true
c995e51959715a0e5b336351c6eea40a840dba08
Shell
m0rphtail/Linux-scripts
/brute-update.sh
UTF-8
161
2.703125
3
[]
no_license
#script to update/ download if your internet is slow #!/bin/sh INPUT_STRING=yes while [ "$INPUT_STRING" != "no" ] do sudo eopkg up -y && INPUT_STRING=no done
true
d792b47a402eb431acfd4feba72a564dce9e6a5f
Shell
andrusha10t500/InfoPhoneWithQml
/CopyDataBases.sh
UTF-8
339
2.515625
3
[]
no_license
#!/bin/bash #cd ~/InfoPhone if [ ! -d "SMS" ] then mkdir SMS fi DBContacts=$(adb shell su -c find /data/ -name contacts2.db) DBSMS=$(adb shell su -c find /data/ -name mmssms.db) adb shell su -c cp $DBContacts /storage/sdcard1/Download/SMS/ adb shell su -c cp $DBSMS /storage/sdcard1/Download/SMS/ adb pull /storage/sdca...
true
568b30865ae54f3c9b6cd6a3b7901db718b16ca5
Shell
shahrzad/phylanx_dist
/scripts/old/cpp_one_node.sh
UTF-8
1,471
2.578125
3
[]
no_license
#!/bin/bash #SBATCH -N 1 #SBATCH -p medusa #SBATCH --time=72:00:00 node_name=$1 num_nodes=$2 script_dir="/work/sshirzad/phylanx_dist/scripts" result_dir="/work/sshirzad/phylanx_dist/results" phylanx_bin_dir="/home/sshirzad/src/phylanx/build_release_clang_no_hpxmp_medusa/bin" #input1=(10 100 1000 10000 100000 50 500...
true
24a00ad0a4636861172d4b7f76772e9a92c360d3
Shell
webfrogs/ToolKit
/configs/vscode/vscode-configer.sh
UTF-8
1,470
3.65625
4
[]
no_license
#!/bin/bash set -e ShellFolderPath=$(cd $(dirname $0) && pwd) cd "${ShellFolderPath}" case "$(uname -s)" in Darwin) VSCodeConfigPath="$HOME/Library/Application Support/Code" ;; Linux) VSCodeConfigPath="$HOME/.config/Code" ;; *) echo "Error: unsupported OS." ...
true
490be067c2717dc2affffd7be4289538f27ca8d6
Shell
p4p1/assistance
/src/install
UTF-8
7,179
3.640625
4
[]
no_license
#!/bin/bash # install.sh # Created on: Fri, 27 March 2020 # https://p4p1.github.io/#config # ____ __ ____ __ # ( _ \ /. |( _ \/ ) # )___/(_ _))___/ )( # (__) (_)(__) (__) # # Description: # Installation script to install and configure the softwares I used the # most. I also propose a list of packages fo...
true
bdf1dec59097e7a3b881fe79a93fb8585ef9d7e1
Shell
mjp2ff/aid
/config.sh
UTF-8
369
3.0625
3
[]
no_license
#!/bin/bash # Get WordNet dictionary WORDNET_DIR=./wordnet/dict if [ ! -d $WORDNET_DIR ]; then mkdir -p wordnet/ cd wordnet && curl -o dict.tar.gz http://wordnetcode.princeton.edu/wn3.1.dict.tar.gz tar -xzvf dict.tar.gz rm dict.tar.gz fi # Set up benchmark script sed "s#^\([^#]\)#$PWD\/\1#g" benchmark/b...
true
b7503d455503b18dd21198d04be1d9cd7936b9c8
Shell
ionic3-toolbox/ionic3-app-theming
/upgrade/page-upgrade.sh
UTF-8
1,646
3.8125
4
[]
no_license
#!/bin/bash cd ../src/pages # Add IonicPage import and decorator for page in **/*.ts; do echo "Handle page $page" echo "import { IonicPage } from 'ionic-angular';" | cat - $page > temp && mv temp $page sed -i '' 's/@Component/@IonicPage()@Component/g' $page done for d in *; do echo "Handle dir $d" ...
true
2c74908d2190b689da7466c7097658ad8b4f416f
Shell
paususe/spacewalk-centos-errata
/errata-sync.sh
UTF-8
975
3.640625
4
[ "MIT" ]
permissive
#!/bin/bash # Download latest errata files and import to Spacewalk ## Configure these variables ## # Spacewalk Username/Password with administrator access export SPACEWALK_USER='user' export SPACEWALK_PASS='pass' # INCLUDE_CHANNELS: Comma separated list of Channel Labels INCLUDE_CHANNELS='centos7-updates,centos-extr...
true
b89b280c83bf57c994239c371e9f261d568bc208
Shell
riwave/operationalForecastDownload
/get_gens_c00.sh
UTF-8
20,782
2.96875
3
[]
no_license
#!/bin/bash ################################################################ # # Script to fetch Global Ensemble forecasts via CURL and WGET- cycle 00Z # NCEP (GEFS), Canadian Meteorological Center (CMCE) and # US Navy Fleet Numerical Meteorology and Ocenography Center (FENS) # using WGRIB2, NCO, a...
true
605bb33dcb978f1ccf6a5f6de812e56604cd2faf
Shell
BackupTheBerlios/atomicl
/portage/sys-kernel/linux-headers/files/generate-asm-sparc
UTF-8
1,707
3.828125
4
[]
no_license
#!/bin/sh -e # # $Header: /home/xubuntu/berlios_backup/github/tmp-cvs/atomicl/Repository/portage/sys-kernel/linux-headers/files/generate-asm-sparc,v 1.1 2005/07/23 02:20:27 sjlongland Exp $ # # This script generates the files in /usr/include/asm for sparc systems # during installation of sys-kernel/linux-headers. # Wil...
true
c0c0e4076b0b6f368e8b9ddbb231504a03f32e68
Shell
sheynandr/Starter
/starter.sh
UTF-8
2,694
4.125
4
[]
no_license
#!/bin/bash ############# Variables ############# serverpath=/root/servers runServers=() ############# Functions ############# info() { printf "\033[0;32m[INFO]\033[0m $* \n" } warning() { printf "\033[0;31m[WARNING]\033[0m $1 \n" } can_exists() { [ -e "$1" ] } parse_screens() { if ! can_run screen; then war...
true
f5acbb355ede5a596b4e4fec06dae716b7834edf
Shell
Elias-Will/Test
/iOS/osx_get_ios_data_with_libimobiledevice.sh
UTF-8
853
3.578125
4
[]
no_license
#!/usr/bin/env bash if [[ "$1" == "-ni" ]] then INTERACTIVE=0 else INTERACTIVE=1 fi if [ $INTERACTIVE -eq 0 ] then echo "Let only one iOS device plugged on the USB port" echo "Unlock the phone" echo "" echo "Press a key to continue." read fi PAIRED=1 idevicepair validate PAIRED=$? while [ ...
true
c892f2b0c13b4d99bf850f999153bdc14dde54bd
Shell
nolfla/ift383
/v1/hw2/q3/price.sh
UTF-8
194
3.015625
3
[ "MIT" ]
permissive
#!/bin/bash declare -l lab="lab ?" declare -l labs="lab*" declare -l price="84.5" declare -l sentence="The price of the book is $" echo "${lab}" echo "${labs}" echo "${sentence}${price}"
true