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
935b36ce2b8f31f2009d236aeadbca7e7f7671af
Shell
BigE/dotfiles
/install.sh
UTF-8
781
3.453125
3
[]
no_license
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" if [[ "$PWD" != "$DIR" ]] then echo "ERROR: Script must be run from its parent directory" exit 1; fi # ensure we're up to date git submodule update --init if [ -d $HOME/.vim ]; then rm -Rf $HOME/.vim.bak mv -f $HOME/.vim $HOME/.vim.b...
true
9b042d87284623312a35c54350dfb4422a1e6ca6
Shell
insanity54/wotagei
/util/harvest-video.sh
UTF-8
2,707
3.921875
4
[ "Unlicense" ]
permissive
#!/bin/bash function detectplatform { platform='unknown' unamestr=`uname` if [[ "$unamestr" == 'Linux' ]]; then platform='linux' elif [[ "$unamestr" == 'Darwin' ]]; then platform='darwin' fi } function osxrealpath { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}" } function g...
true
5114c968d191a5a5c8a04ea23c967c61d30a017a
Shell
imasheep/bashscripts
/OpenFalconMonitorPlugin/Mysqld/60_mysqld_collect.sh
UTF-8
4,726
3.140625
3
[]
no_license
#!/bin/bash timestamp=$(date +%s) endpoint=$HOSTNAME step=60 dirname=$(cd $(dirname $0);pwd|awk -F\/ '$0=$NF') bin_path="/home/service/falcon-agent/nagios/libexec" base_path=$(cd $(dirname $0);pwd) config_path=/data/mysql_trade/ user="falcon_mon" pass="f4e0N39HYrr3lqnF" host="127.0.0.1" service="mysqld" metric_arrays...
true
754e8178b85eeb8d606a04818ba32732a3c92ad6
Shell
s0la/orw
/scripts/borderctl.sh
UTF-8
10,117
3.140625
3
[ "MIT" ]
permissive
#!/bin/bash orw_conf=~/.config/orw/config dunst_conf=~/.orw/dotfiles/.config/dunst/dunstrc theme_conf=~/.orw/themes/theme/openbox-3/themerc openbox_conf=~/.orw/dotfiles/.config/openbox/rc.xml lock_conf=~/.orw/dotfiles/.config/i3lockrc rofi_path=~/.orw/dotfiles/.config/rofi rofi_list_conf=list while getopts :c: flag; ...
true
03da72fc61fbeb129596501319f24775f29be407
Shell
Vinodh-thimmisetty/Javascript
/Scripting/counting.sh
UTF-8
915
3.875
4
[]
no_license
#/bin/bash # SET Debugging set -x # Declare Local Variables count=0 # Validate whether the File Name is passed or not echo "Number of Arguments:: $#" [ $# -ne 1 ] && { echo "No input File Name" || echo "Has only ONE input"; exit 1; } # Read the File Name Argument fileName=$1 # Validate the passed Argument is Fil...
true
18f1b4ef13365272c96deb8b04585d209a76a9c0
Shell
Sher-Chowdhury/wordpress-codingbee
/scripts/base/create-new-db-for-wordpress.sh
UTF-8
2,330
3.40625
3
[]
no_license
#!/usr/bin/env bash set -ex DATE=$(date +"%d-%m-%Y-%H_%M_%S") # http://stackoverflow.com/questions/3173131/redirect-copy-of-stdout-to-log-file-from-within-bash-script-itself exec > >(tee -i /tmp/log-wp-${DATE}.txt) date echo "Info: This log was generated by running a script" echo '####################################...
true
f2533b392434822aa41ee0bcc530851e80dcc20e
Shell
blademainer/sync-cloud-docs
/cron.sh
UTF-8
573
2.8125
3
[]
no_license
#!/usr/bin/env bash export curDir="`dirname $0`" #export fullDir="`pwd`/$curDir" echo "curdir= $curDir" #export parentDir=`dirname $fullDir` #echo "parentDir===$parentDir" export GD_Key="9uBdCS9TnNq_QhEmCmtqKaYXvD8nCTZGrS" export GD_Secret="QhEpvW2iJ5xadVQoDiLyp2" docker exec -e GD_Key=$GD_Key -e GD_Secret=$GD_Secr...
true
09d259fe75353fbbf3c90824adc39caf12106c2d
Shell
capsobgit/stoffplan
/rotate.sh
UTF-8
422
3.5
4
[]
no_license
#!/bin/bash # Skript zum drehen der eingescannten pdfs # 19.02.2018 count=0 index=1 dir="$(basename $(pwd))" right=90 left=-90 for file in *.pdf do if [ $((count%2)) -eq 0 ] then convert -rotate $left -density 300x300 -compress lzw \ $file "$index.pdf" else convert -rotate $right -density 300x300 -compress...
true
82a9cf45285f1cc3861a065afbaa5f0fff5cd016
Shell
gougoudata/cygwin-1
/lib/guilt/guilt-diff
UTF-8
438
3.671875
4
[]
no_license
#!/bin/sh # # Copyright (C) Josef 'Jeff' Sipek, 2007-2011 # USAGE="[-z] [<path>...]" if [ -z "$GUILT_VERSION" ]; then echo "Invoking `basename $0` directly is no longer supported." >&2 exit 1 fi _main() { while [ $# -ne 0 ]; do case "$1" in -z) working_tree=t ;; -* | --*) usage ;; *) break ;; esac shi...
true
7502598de1b3afdc53c59c391443ae744ee93688
Shell
maysas/kadai3
/mintest.bash
UTF-8
640
3.21875
3
[]
no_license
#!/bin/bash expr "$1" + 1 >/dev/null 2>&1 if [ $? -ge 2 ]; then echo "NG" exit 0 fi expr "$2" + 1 >/dev/null 2>&1 if [ $? -ge 2 ]; then echo "NG" exit 0 fi # return 0 v=("$@"); max=$1; min=$2; memo=0; #if IsNumeric $@ then ...
true
50bf226878c660590e5d5e7483a12c9ca5a60c65
Shell
KatieMishra/VoiceClassification
/sphinxbase/autoconf-2.69/automake-1.14/t/objcxx-flags.sh
UTF-8
1,735
3.109375
3
[ "GPL-2.0-only", "GPL-3.0-only", "GPL-1.0-or-later", "FSFAP", "GPL-3.0-or-later", "Autoconf-exception-3.0", "LicenseRef-scancode-other-copyleft", "GPL-2.0-or-later", "MIT", "BSD-2-Clause" ]
permissive
#! /bin/sh # Copyright (C) 2012-2013 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program ...
true
fbc7b593540b4f3c72516549e3de9618c9f29c0d
Shell
knightso/sandbox
/google-rush/serve.sh
UTF-8
512
2.890625
3
[]
no_license
#! /bin/sh BASEDIR=$(cd $(dirname $(dirname "$0")) && pwd) GO111MODULE=on gcloud beta emulators datastore start --no-store-on-disk --consistency=1.0 --quiet & EMU_PID=$!; sleep 5; $(gcloud beta emulators datastore env-init) trap 'pgrep -P $EMU_PID | xargs pgrep -P | xargs kill' 0 1 2 3 15 EMU_PORT=`echo $DATASTORE_E...
true
6e624bee96beb2ad059f79fbffe7acf1012cbca5
Shell
cocoaheadsru/server
/Devops/deploy-build.sh
UTF-8
843
3.1875
3
[ "MIT" ]
permissive
#!/bin/bash # CocoaHeadsRu (c) # Description: this is the shell script for the cocoaheadsru server deploy and start # Author: Dmitry, ditansu@gmail.com ##SETINGS #Get from Jenkins pipeline PROJECT=$CH_BUILD WEBROOT=$CH_WEBROOT #Permisions USER="www-data" GROUP="www-data" #Commands SUPERVISOR=/usr/bin/su...
true
ac7744316207ee59265bd7aecc1fdc19679efa4c
Shell
liangguohuan/SHELL
/untagfile
UTF-8
640
3.46875
3
[ "MIT" ]
permissive
#!/bin/bash # vim: fdm=marker ts=4 sw=4 sts=4 expandtab filename="$1" target="$filename" shift for tag in "$@" ; do if grep -q '{.*}' <<< "$filename"; then tags=$(echo "$filename" | grep -o '{.*}') tags=$(echo "$tags" | sed -e "s/#$tag\b\s*//g" -e "s/\s*}/}/") if [[ $tags == "{}" ]]; then ...
true
00c4123f6789ea7c569f201469d4a8bc3380de95
Shell
theel0ja/haproxy-scripts
/le-combiner/le-combiner.sh
UTF-8
673
4.09375
4
[]
no_license
#!/usr/bin/env bash # https://askubuntu.com/a/15856 if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" exit 1 fi FOLDER=/etc/haproxy/certs # Combine function combine() { # move to the correct let's encrypt directory cd /etc/letsencrypt/live/$SITE COMBINED_FILE=$FOLDER/$SITE.pem ...
true
9aa550f2f4a9614130377b2dfe8ca49dbe83b332
Shell
pagutierrez/pagutierrez.github.io
/markdown_generator/eliminateCharacters.sh
UTF-8
579
2.859375
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash function procesa(){ cat $1 | iconv -f UTF-8 -t ISO8859-15 --verbose cat $1 | sed -e 's/δ/delta/g' | sed -e 's/—/-/g' | sed -e 's/–/-/g' | sed -e "s/’//g" | sed -e 's/ϵ/e/g' | sed -e 's/⩽/<=/g' | sed -e "s/á/{\\\\'a}/g"| sed -e "s/é/{\\\\'e}/g" | sed -e "s/ı́/{\\\\'i}/g" | sed -e "s/ó/{\\\\'o}/g" | ...
true
052e09f3a54f7ba1cb5d82c6c307d6d947204110
Shell
wisnuc/appifi-system
/amd64/pc/ubuntu-16-04-1-amd64/install-appifi.sh
UTF-8
7,677
3.65625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # # Platform: Ran through on Ubuntu 16.04.1 Desktop 64bit # # # Caveat: using local packages # set -e DASH="------------------------------------------------------------" banner() { echo "" echo $DASH echo "$1" echo $DASH echo "" } banner "Running install-appifi.sh file" # # update apt sourcelist...
true
d50f13470ae605cdafe0219e0bec98edc919f4dd
Shell
tochen007/NewConfigWhoDis
/bash_aliases
UTF-8
578
2.8125
3
[]
no_license
echo "Loading .bash_aliases" # make shell vim-like set -o vi # set nvim as default editor export EDITOR=nvim export VISUAL=nvim export PAGER=less alias hist="history" alias python="python3" alias vim="nvim" alias vi="nvim" alias night="sudo shutdown now" alias htpc="ssh -Y htpc@192.168.0.4" # export function `m...
true
8fce62f35998cb35ad069508c5185030b3af36e1
Shell
RizkiMufrizal/Axway-API-Gateway-Docker
/dockerfiles/cassandra_redhat/cassandra-launch.sh
UTF-8
1,238
3.328125
3
[]
no_license
#!/bin/bash function prepareConfFiles(){ local L_RPC_ADDRESS=${RPC_ADDRESS:=$HOSTNAME} local L_NATIVE_TRANSPORT_PORT=${NATIVE_TRANSPORT_PORT:=9042} local L_SEEDS=${SEEDS:=$HOSTNAME} local L_LISTEN_ADDRESS=${LISTEN_ADDRESS:=$HOSTNAME} echo "----------------------------------" echo "| Launching Cassandra on `pwd...
true
8394fa6b38d1a22c2618dd5b9556c68d4fd02da0
Shell
jordiprats/scripts-github
/pack.sh
UTF-8
387
3.265625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash PACK="/home/jprats/upload/puppetmoduls.$(date +%Y%m%d%H%M).tgz" if [[ "$1" == "esp" ]]; then FILTRE="cat" else FILTRE="grep -v eyp-bitban" fi tar czf $PACK $(for i in $(find /home/jprats/git/puppet-things -type d -name pkg | $FILTRE); do echo -C $i $(ls -rt $i/*.tar.gz | grep -v latest | tail -n1 | awk...
true
1345ff0d4bfaa979c0431b8f77817f5feaac6bf9
Shell
taptapit/cortexjs.io
/scripts/build.sh
UTF-8
3,189
3.515625
4
[]
no_license
#!/bin/bash set -e # exit immediately on error set -o nounset # abort on unbound variable set -o pipefail # don't hide errors within pipes # set -x # for debuging, trace what is being executed. cd "$(dirname "$0")/.." export BASENAME="\033[40m"Cortexjs.io"\033[0m" # `basename "$0"` export DOT="\033[32m ● \033...
true
2467a40740d6dbe2e3e243771f7d55b8f5905544
Shell
nextzen/osmlr_packaging
/package.sh
UTF-8
3,637
3.84375
4
[]
no_license
#!/bin/bash set -e #get a bunch of stuff we'll need to make the packages sudo apt-get install -y git dh-make dh-autoreconf bzr bzr-builddeb pbuilder debootstrap devscripts distro-info ubuntu-dev-tools #tell bzr who we are export DEBFULLNAME='Matt Amos' export DEBEMAIL='zerebubuth@gmail.com' bzr whoami "${DEBFULLNAME...
true
530c8000d31c1685363b2b35773fd166c3546b06
Shell
Washington-University/HCPpipelinesRunUtils
/DiffusionPreprocessing/DiffusionPreprocessing.SINGULARITY_PROCESS
UTF-8
13,846
3.96875
4
[]
no_license
#!/bin/bash # # ${HCP_RUN_UTILS}/DiffusionPreprocessing/DiffusionPreprocessingWrapper.sh # Run the HCP Diffusion Preprocessing pipeline scripts for a specified subject data # Copyright 2019, The Connectome Coordination Facility # g_pipeline_name="DiffusionPreprocessing" g_script_name=$(basename "${0}") if [ -z "${HC...
true
134c14bc964e5aa4efcdf9e8ab9b2658a13e51ae
Shell
nmm131/terraform-functions
/user_data.tmpl
UTF-8
997
3.125
3
[]
no_license
#!/bin/bash # Install necessary dependencies sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade sudo apt-get -y -qq install curl wget git vim apt-transport-https ca-certificates sudo add-apt-repository ppa:longsleep/golang-backports -y ...
true
2f71b2708c6dd0196bd6809a214a68fdd5373322
Shell
kirasystems/science
/core-tech/scripts/run_crf_base.sh
UTF-8
1,005
3.59375
4
[ "MIT" ]
permissive
#!/bin/bash field=$1 dir=$2 mkdir -p crfb-tmp-${field} pushd crfb-tmp-${field} # Generate the folds from the individual files bash ../generate_folds.sh $dir $field features for i in $(seq 0 4) do echo "Running pass ${i}" # Select the appropriate training and testing folds training=$(ls fold.* | grep -v "$i") t...
true
8e18fcb60b2954694c2c4d0e48ad4508f0507757
Shell
Dig-Doug/unity_dll_bug
/download_grpc.sh
UTF-8
379
2.59375
3
[]
no_license
#!/bin/bash GRPC_URL="https://packages.grpc.io/archive/2019/07/0e7188ccbb139a45e0795ba2d10375e4d6672104-feea1eca-7cab-4f5e-abd5-843e979cc153/csharp/grpc_unity_package.1.23.0-dev.zip" GRPC_ARCHIVE="/tmp/grpc_unity.zip" INSTALL_DIR="./Assets/Plugins/grpc" rm -rf "$INSTALL_DIR" mkdir "Assets/Plugins" wget "$GRPC_URL" -...
true
c47b458756be69ffcee18fe3b8af868a7717a6cd
Shell
juanarturovargas/openstack-installer-mitaka-ubuntu16lts
/modules/cinderinstall.sh
UTF-8
12,333
3.296875
3
[]
no_license
#!/bin/bash # # Unattended/SemiAutomatted OpenStack Installer # # OpenStack MITAKA for Ubuntu 16.04lts # # PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin # # First, we source our config file and verify that some important proccess are # already completed. # if [ -f ./configs/main-config.rc...
true
431848b1687c3867b71277af0ae72b91c079377f
Shell
miragetech/osgjs
/website/push-website.sh
UTF-8
387
2.640625
3
[ "MIT" ]
permissive
path="$(dirname $(realpath $0) )" build_dir="$(realpath ${path}/../builds/web)" cd "${build_dir}" rm -rf osg-clone echo "OSGJS WEBSITE" >README rm -rf .git git init git add README git commit -m"ReadMe" git branch gh-pages git checkout gh-pages git add -Av . git commit -m"Update website" git remote add origin git@gith...
true
da95aa5ef0238a0ad5acf91c6525daf821ea488b
Shell
vicanfon/tecinf2
/bin/libs/vfos-sdk-gen/build-vfos-sdk.sh
UTF-8
1,264
3.03125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash echo "Fetching vfos-sdk code!" echo "Should running inside folder vfos-sdk-gen" # add permissions to current user in libs/ folder avoind sudo cd ../.. echo "$PWD" sudo chmod u+w libs/ # create node_modules with current user to be able to install yeoman-gen-run locally avoid globall cd libs/ mkdir node_...
true
f42fbea9acd02bac42c0e49817c75ac7d2544999
Shell
yafraorg-archive/yafra-mobile
/admin-install-upgrade.sh
UTF-8
3,005
2.59375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # # install / upgrade script for ionic based project # installs/updates the nodejs modules and initializes the project # # # npm installs / upgrades # echo ' ' echo 'doing npm cordova and ionic update now' # setup / update software npm -g install bower npm -g install cordova ionic npm -g install k...
true
51d60bfe7ab59247972f3c991ad6a9a742903ee6
Shell
mtg79/path
/make_csv.sh
UTF-8
249
3.671875
4
[ "MIT" ]
permissive
#!/bin/bash # Usage: ./make_csv.sh time-path.oXXXXX > timing.csv if [ -z $1 ]; then echo "Error: You must specify a file of Path output" exit fi output=$1 echo "n,runtime" awk '/n:/ {printf "%s,", $2} /Time:/ {printf "%s\n", $2}' $output
true
8b574b57d3376e4778cd8a89b9a3a603cf3c7aa1
Shell
stefanrauch/scu_test
/ql1_test.sh
UTF-8
1,086
2.84375
3
[]
no_license
#!/bin/bash function trans_reset { eb-write -p -b dev/wbm0 0x800008/4 0x0 eb-write -p -b dev/wbm0 0x800008/4 0x1 eb-write -p -b dev/wbm0 0x800008/4 0x0 } done_4_=0 done_5_=0 done_6_=0 done_7_=0 err_4_=0 err_5_=0 err_6_=0 err_7_=0 printf "QL1 transceiver test\n" printf "DONE GXB 4\tDONE GXB 5\tDONE GXB 6\tDONE G...
true
f804f59449a242ed2b2f09730480f73bef8f148c
Shell
jwd83/spinup
/spin-nginx.sh
UTF-8
850
3.40625
3
[ "MIT" ]
permissive
#!/bin/bash # ------------------------------------- # Basic Setup # ------------------------------------- # Update apt-get apt-get update # Offer to upgrade packages read -p "Upgrade packages? y/N" yesorno case "$yesorno" in y*) apt-get upgrade -y ;; esac # ------------------------------------- # Install our ap...
true
01e014e68507c54b783a7098e5ee1b58fcbb7f1c
Shell
prg-grp/wonderless
/impl/get_urls.sh
UTF-8
2,292
3.953125
4
[]
no_license
#!/usr/bin/env bash # url="https://api.github.com" # set token to your GitHub access token (public access) token="4140e8459f083a8c580031c53241713b36b81668" today=$(date +"%Y-%m-%d") keyword="serverless" interval=20 dependency_test() { for dep in curl jq ; do command -v $dep &>/dev/null || { echo -e "\n${_er...
true
af3efe8e686525656a5f037ed10ab81d90651a4c
Shell
Azure/azureml-examples
/cli/deploy-managed-online-endpoint-access-resource-sai.sh
UTF-8
3,711
3.390625
3
[ "MIT" ]
permissive
set -e # <set_variables> export WORKSPACE="<WORKSPACE_NAME>" export LOCATION="<WORKSPACE_LOCATION>" export ENDPOINT_NAME="<ENDPOINT_NAME>" # </set_variables> export WORKSPACE=$(az config get --query "defaults[?name == 'workspace'].value" -o tsv) export LOCATION=$(az group show --query location -o tsv) export TEST_ID...
true
f396bc4c796e1cc78b0a45f8962e2744eae20e9d
Shell
vector-guo/learningshell
/shell_20170805
UTF-8
159
3.203125
3
[]
no_license
#!/bin/bash echo "test for while" declare -i a; a=1; while [ $a -le 19 ] do a=a+1 if [ $a -eq 3 ] || [ $a -eq 11 ] then continue; fi echo '$a=' "$a" done
true
8387c4284da4c999fa70dd5f2c696570a4a67303
Shell
sindongboy/entity
/entity-dict-generator/makeDict.sh
UTF-8
1,099
3.859375
4
[]
no_license
#!/bin/bash source ./env.sh function usage() { echo "usage: $0 [options]" echo "-h help" echo "-d depth" echo "-q category query" echo "-o dictionary path" exit 1 } DICT_EXT="dict" while test $# -gt 0; do case "$1" in -h) shift usage ;; -d) shift depth=$1 shift ;; -q) shift quer...
true
59e4286a258bbbc824574479aafaade08db2ecb3
Shell
MohamedAshiqrh/Gluster-in-Docker
/UpdateGlusterAndInstall.sh
UTF-8
576
2.78125
3
[]
no_license
#!/bin/bash cd glusterfs echo "Into glusterfs dir" 2>&1 >/var/log/UpdateGlusterAndInstall.log git pull echo "Git pull done" 2>&1 >/var/log/UpdateGlusterAndInstall.log ./autogen.sh 2>&1 >/var/log/UpdateGlusterAndInstall.log CFLAGS="-g -O0 -Werror -Wall -Wno-error=cpp -Wno-error=maybe-uninitialized" ./configure --prefi...
true
89e5eded4a35327376d05e1f8693ee6d120cb369
Shell
slaclab/smurf-server-scripts
/docker_scripts/templates/pcie/run.sh
UTF-8
455
2.546875
3
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/usr/bin/env bash user="cryo" docker run -it --rm \ --log-opt tag=smurf_pcie \ --security-opt "apparmor=docker-smurf" \ -u $(id -u ${user}):$(id -g ${user}) \ --net host \ -e DISPLAY \ -e location=${PWD} \ -v /home/${user}/.Xauthority:/home/${user}/.Xauthority \ -v /home/${user}/.bash_history:/home...
true
b8d59eaac442251cc81f95359035420fdd49e15b
Shell
HancockLab/CVI
/demographic_inference/ccr/ccr_internalScripts/scripts/preprocessing/merge_16_vcf.sh
UTF-8
868
2.75
3
[]
no_license
#!/bin/bash # script to merge two VCFs that are tabix'd and bgzipped # usage: merge_vcf.sh <#> <#> set -e set -u DIR=/netscratch/irg/grp_hancock/andrea/msmc/ vcf-merge ${DIR}data/andrea_vcfs/${1}.vcf.gz ${DIR}data/andrea_vcfs/${2}.vcf.gz ${DIR}data/andrea_vcfs/${3}.vcf.gz ${DIR}data/andrea_vcfs/${4}.vcf.gz ${DIR}dat...
true
83b768cd7ec209c821adc09458c879dd53d51f9f
Shell
ppc64le/build-scripts
/s/stax-api/stax-api_ubi_8.3.sh
UTF-8
1,564
3.046875
3
[ "Apache-2.0" ]
permissive
#---------------------------------------------------------------------------- # # Package : Stax-api # Version : aalto-xml-1.0.0 # Source repo : https://github.com/FasterXML/aalto-xml.git # Tested on : ubi:8.3 # Script License : Public Domain # Maintainer : srividya chittiboina <Srividy...
true
80ffd330efe67338e5aee905a79789aa8dde5121
Shell
Hermsi1337/docker-ark-server
/bin/steam-entrypoint.sh
UTF-8
3,371
4.15625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e [[ -z "${DEBUG}" ]] || [[ "${DEBUG,,}" = "false" ]] || [[ "${DEBUG,,}" = "0" ]] || set -x if [[ "$(whoami)" != "${STEAM_USER}" ]]; then echo "run this script as steam-user" exit 1 fi function may_update() { if [[ "${UPDATE_ON_START}" != "true" ]]; then return fi echo "\$UPD...
true
75646cf211b7f3252322dc33fa010b5a0aef2066
Shell
katakutu/loan
/micro-loan/api/shell/nginx-logrotate.sh
UTF-8
871
3.4375
3
[]
no_license
#!/usr/bin/env bash # @describe: 切割nginx日志,linux # @author: Jerry Yang(hy0kle@gmail.com) #set -x #nginx_prefix="/home/service/openresty/nginx" nginx_prefix="/usr/local/openresty/nginx" dest_base_path="/home/nginx/logsdata" yesterday=`date -d "yesterday" "+%s"` day=`date -d @"$yesterday" "+%d"` year=`date -d @"$yest...
true
6456998b45fb82acca2716fa3fb994595a10275d
Shell
drmingdrmer/homefolder
/xp/bash-d/git.inst
UTF-8
5,896
3.140625
3
[]
no_license
#!/bin/bash git_version=$(git --version | awk '{print $NF}') git_version_1=${git_version%%.*} git_version_2=${git_version#*.} git_version_2=${git_version_2%%.*} git_base=$(dirname $(dirname $(which git))) log="log --color --graph --decorate -M" logShort="$log --pretty=oneline --abbrev-commit -M" diff="diff --color"...
true
e10963efb298737f1b9f4461fa572d5db757da7b
Shell
ubob74/sunxi-build-scripts
/sunxirc.none-eabi-r1
UTF-8
794
3.0625
3
[]
no_license
#!/bin/sh # sunxi global env if [ ! `id -u` -ne 0 ]; then export HOME=/home/bob fi ARM_TOOLS_DIR=ARM/tools/arm/bin export PATH=$PATH:$HOME/$ARM_TOOLS_DIR export SUNXI_HOME=$HOME/ARM/orange # kernel env export SUNXI_KERNEL=$SUNXI_HOME/kernel/linux-sunxi export SUNXI_DTB=$SUNXI_KERNEL/arch/arm/boot/dts/sun8i-h2-plus...
true
8f0147f4502103f7721adac3376649ac7025c3e4
Shell
tumi8/certificate-transparency-go
/scanner/starter.sh
UTF-8
295
3.359375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash declare -a arr=() while IFS=, read -r col1 col2 do arr+=($col2) done < logs.latest.csv #echo $arr while true do for i in "${arr[@]}" do echo "Found a log with URL ""$i"; scanlog/scanlog -log_uri "$i" -precerts_only --num_workers 10; wait; sleep 2; done done
true
11128ff3256451643e7c4a3c433cfb55874743a6
Shell
palletone/GOC-mainnet
/bp-tools/setclaimer.sh
UTF-8
557
2.53125
3
[]
no_license
#!/bin/bash # to modify!! BPNAME=<yourbpname> # such as BPNAME=goclabgoclab PUBKEY=<yournewkey> # such as PUBKEY=GOC5UisWmrjVjgHp3tD2AvZbaehQiWjAwDgUnQLUGYBHtJ6JRAERP CLEOS_DIR='<your cleos dir>' # such as CLEOS_DIR='/home/goclab/goc/build/programs/cleos/cleos' WALLET_HOST='<your keosd --http-server-address>'...
true
f311c53899ed52eec41ec69b76b333c98fb2e420
Shell
psin36/dlass-k8s
/dlaas-benchmarking-master/scripts/dlaas_Status.sh
UTF-8
3,144
3.921875
4
[]
no_license
#! /bin/bash ####### # Usage: dlaas_Status.sh <searchText> # # Created by: Jonathan Samn (jsamn@us.ibm.com) ####### SCRIPT=`[ "$OSTYPE" = linux-gnu ] && readlink -f "$0" || echo $inputcmd` basedir=$(dirname "$SCRIPT") cd $basedir fullpath=$(pwd) datadir="$basedir/datafiles" mkdir -p "$datadir" pattern=$1 if [ "$...
true
06b33c36afd15fd22749853acb1c3345a89ee321
Shell
Peder2911/VDocker
/build.sh
UTF-8
153
2.578125
3
[ "ISC" ]
permissive
export SECRETLOC=$1 shift echo "Secrets are in $SECRETLOC" echo $@ DOCKER_BUILDKIT=1 docker build --secret id=credentials,src=$SECRETLOC -t views $@ .
true
81ecc3f8bf9f216bbdf1273d5b6c5e2da739a454
Shell
Snake4life/catbot-setup
/update
UTF-8
651
2.640625
3
[]
no_license
#!/usr/bin/env bash git pull pushd cathook git pull git submodule update --init --recursive popd mkdir -p build pushd build cmake -DCMAKE_BUILD_TYPE=Release -DVisuals_DrawType="Textmode" -DVACBypass=1 -DEnableWarnings=0 -DEnableOnlineFeatures=0 ../cathook/ numcpu=$(grep -c ^processor /proc/cpuinfo) make -j$numcpu if ! ...
true
cd5f7f2c9d41f30908b41c9102b032d0fd2dcf35
Shell
wolf991/dotfiles-i3
/.bashrc
UTF-8
640
2.90625
3
[]
no_license
# # ~/.bashrc # # If not running interactively, don't do anything [[ $- != *i* ]] && return alias ls='ls --color=auto' PS1='[\u@\h \W]\$ ' # Autostart x #if [ -z "$DISPLAY" ] && [ -n "XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then # exec startx #fi # Set vim as default editor VISUAL=/usr/bin/vim alias vi='/usr/bin/vim'...
true
050a23d45da2772c7498e49d93b1ba3ad8f17838
Shell
netgroup/SRv6-net-prog
/srext/scripts/testbed1/setup_ingress_testbed1.sh
UTF-8
908
2.90625
3
[]
no_license
#!/bin/bash # This script configures the ingress node for testbed1 # Testbed1 represents the use-case of chaining of SR-unaware SFs # This script deos the following ### Creates a network namespace which is used as a client ### Adds an SFC SRv6 policy for traffic to be sent to the server ### Uses srext to add an End...
true
d8f11021716c5e74e9c56c453d94f906661aca03
Shell
mindkeep/dotfiles
/cp_dotfiles
UTF-8
430
3.75
4
[ "MIT" ]
permissive
#!/bin/sh # small utility to copy dotfiles/src/.* files to ~ root_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) # change to home directory cd # create any missing directories for d in $(find ${root_dir}/src/* -type d); do dir=".${d##*/src/}" if [ -L $dir ]; then rm $dir fi mkdir -p $dir done # set symlin...
true
7877784ae55255ca0acc7b22adce6d21cfce1518
Shell
muschellij2/FSL6.0.0
/src/first/first_roi_slicesdir
UTF-8
5,414
3.046875
3
[]
no_license
#!/bin/sh # first_roi_slicesdir - script to view slicesdir on a region of interest # defined by a set of label images (e.g. output of FIRST). A set of # temporary roi images are created, slicesdir is then run on those. # # Brian Patenaude and Matthew Webster, FMRIB Image Analysis Group # # Copyright (C) 200...
true
b980c606567ef9c0abb601bc2eaf01a6b721c7c9
Shell
Cxom/LLChat
/start.sh
UTF-8
406
2.96875
3
[]
no_license
WORKSPACE="papermc" MC_VERSION="1.16.5" PAPER_BUILD="731" if [ ! -d $WORKSPACE ]; then mkdir $WORKSPACE fi cd $WORKSPACE || exit PAPER_JAR="paper-$MC_VERSION-$PAPER_BUILD.jar" PAPER_LNK="https://papermc.io/api/v2/projects/paper/versions/$MC_VERSION/builds/$PAPER_BUILD/downloads/$PAPER_JAR" if [ ! -f $PAPER_JAR ]...
true
0a5d05ff5341f9264872db0e051593bc55e77bf9
Shell
DingtongHan/KungFu-1
/scripts/utils/measure.sh
UTF-8
1,258
3.75
4
[ "Apache-2.0" ]
permissive
show_duration() { local ss=$1 if test $ss -ge 86400; then local mm=$((ss / 60)) local ss=$((ss % 60)) local hh=$((mm / 60)) local mm=$((mm % 60)) local dd=$((hh / 24)) local hh=$((hh % 24)) echo "${dd}d${hh}h${mm}m${ss}s" elif test $ss -ge 3600; the...
true
60b88bd9a79a289d46d46a0f7807748fa425f1cf
Shell
wrshoemaker/rec-genome-tools
/bin/draft2.sh
UTF-8
855
3.046875
3
[]
no_license
alldir=/work/rec3141/gene_clustering/all_genomes/ cd $alldir lftp -e 'open ftp://ftp.ncbi.nih.gov/genomes/Bacteria_DRAFT/; nlist */*contig.faa*.tgz > contig.faa.list; nlist */*scaffold.faa*.tgz > scaffold.faa.list; nlist */*contig.fna*.tgz > contig.fna.list; nlist */*scaffold.fna*.tgz > scaffold.fna.list; ...
true
82f0fcad254eabd2116156276159a8195ebcd238
Shell
juantascon/env
/bin/btp.sh
UTF-8
1,304
3.640625
4
[]
no_license
#! /usr/bin/bash DEV="98:DD:60:DB:C1:7A" get_bluez_profile() { pactl list cards | awk -v RS='' '/bluez_card/' | awk -F': ' '/Active Profile/ { print $2 }' } get_profile() { case $(get_bluez_profile) in headset-head-unit*) echo "hsp";; a2dp-*) echo "a2dp";; "") echo "offline";; *) echo "invalid";;...
true
06d8a9f6fcf7ed1ef89a5f483882daf34e358289
Shell
Hebert031/wall_kali
/wall_grub_kali.sh
UTF-8
999
3.671875
4
[]
no_license
#!/bin/bash #Autor: Hebert Ribeiro #Sobre: Altera a imagem do grub echo "Qual caminho da IMG (640x480 8-bit)" read path # Verifica o tipo do arquivo echo "verificando arquivos." if ! file "$path" | grep -q "640"; then echo "Formato de arquivo inválido. O arquivo deve ser uma imagem PNG de 640x480 pixels e 8 bits...
true
4b73938d46bc4d14c66c53d675a67805ab685af3
Shell
friends-library-dev/action-do-spaces-upload
/entrypoint.sh
UTF-8
496
3.34375
3
[]
no_license
#!/bin/sh -l SRC_FILE_PATH=$1 OBJECT_KEY=$2 ACCESS_KEY_ID=$3 ACCESS_KEY_SECRET=$4 BUCKET=$5 REGION=$6 ACL=$7 REMOVE_AFTER_UPLOAD=$8 mkdir -p ~/.aws echo "[default] aws_access_key_id = ${ACCESS_KEY_ID} aws_secret_access_key = ${ACCESS_KEY_SECRET}" > ~/.aws/credentials aws s3 cp ${SRC_FILE_PATH} s3://${BUCKET}/${OBJEC...
true
a54adcd30c18414455d06fff9c8eaea49112062f
Shell
shiftrot/droidvim
/term/src/main/jniLibs/armeabi-v7a/libatemod.so
UTF-8
873
3.703125
4
[ "Apache-2.0" ]
permissive
#!/system/bin/sh _esc() { echo -n -e '\e['$1't' } _usage() { echo ime off echo ime on echo ime toggle echo ime default echo ime pass echo ime uri echo ime google \(password\) echo "" echo funcbar off echo funcbar on echo funcbar toggle echo "" echo clipboard \(\$HOME/.clipboard\) echo men...
true
8f062f09c6cc58407803ce4c56e87d47e4e64d7d
Shell
Joshua-Anderson/e2e-runner
/scripts/functions.sh
UTF-8
363
3.765625
4
[]
no_license
#!/bin/bash function check-vars { components_to_check=("$@") for component in "${components_to_check[@]}" do actual_sha="${component}_SHA" actual_tag="${component}_GIT_TAG" if [ -n "${!actual_sha}" ]; then export "${component}"_GIT_TAG=git-"${!actual_sha:0:7}" echo "Setting ${component}_...
true
82e7fe9697d6bd8dae429d7d8ccd44e9e400af3a
Shell
gsdeange/DistributedPasswordCracker
/runRainbowAttacks.sh
UTF-8
705
3.34375
3
[]
no_license
#!/bin/bash echo "Running the Rainbow Table Attacks" #clear the rainbow table results file > rainbowAttackResults.txt #specify the number of cores to run numCores=4 #specify the password length passLength=2 #OUTSIDE loop - Core counts (1-12 cores) for (( cores=1; cores<=$numCores; cores++ )) do #INSIDE loop - Passw...
true
89af943a9dd868c39f8c0427c7694a5c809b2cf5
Shell
leosantagostini-baufest/scripts-pei
/for.sh
UTF-8
103
2.78125
3
[]
no_license
#!/bin/bash for X in piedra papel tijera do echo "El valor de la variable X es: $X" sleep 1 done
true
e2e94cefb40673c5ea52e0f06958d5dd85eae730
Shell
bankhead3/dnaseq-pipelines
/02--process/process.sh
UTF-8
1,610
2.78125
3
[]
no_license
#!/bin/bash myDate=$(date +%Y%m%d) mkdir -p intermediate mkdir -p figs mkdir -p output mkdir -p input if [ 0 == 1 ]; then # create two files one sample metadata and the other with chip expression cmd="./01-pull-data.sh" echo $cmd; eval $cmd exit cmd="./02-build-fastq-catalog.py" echo $cmd; eval $cmd ../utils/qc.sh i...
true
1a5d39b7bc17d1427babc240e3bee2517e97dccf
Shell
Chauncey315/stat-605-groupwork
/Q1/q1.sh
UTF-8
508
2.921875
3
[]
no_license
#!/bin/bash # untar your R installation tar -xzf R361.tar.gz tar -xzf packages.tar.gz gzip -d title.ratings.tsv.gz gzip -d title.basics.tsv.gz awk '/movie/ {print}' title.basics.tsv | head -$(( ($1+1)*860 )) | tail -860 | tr "\\t" ";" > b.csv cat title.ratings.tsv | tr "\\t" ";" > r.csv # make sure the script will ...
true
e9267184c6f02f2ee3cbb640f87d55a9212cc899
Shell
1054/Crab.Toolkit.michi2
/bin/bin_magphys/magphys_highz_go_remote
UTF-8
32,356
3.359375
3
[]
no_license
#!/bin/bash # # Aim: # Easily run Magphys_highz # # Usage: # /home/dzliu/Softwares/magphys/magphys_highz_go # # # Prepare necessary functions # # usage usage() { echo "Usage: " echo " $HOME/Softwares/magphys/magphys_highz_go galaxy_1.dat galaxy_2.dat galaxy_3.dat -w 3 -f 5 -err 6 # columns...
true
339971a6fe87bb5ae16d891404924bdf4dbb2208
Shell
ejones/home
/.bashrc
UTF-8
1,266
2.5625
3
[ "MIT" ]
permissive
if [[ $(uname) = Darwin ]]; then PS1=$'\\u:\\W$ ' else PS1='\u@\h:$(sed "s:\([a-zA-Z]\)[^/]*/:\1/:g" <<< '\''\w'\'')$ ' fi [[ "$-" == *i* ]] && bind '"\t":menu-complete' alias ll='ls -l' alias gs='git status' alias ga='git add' alias gd='git diff' alias gc='git checkout' alias gco='git commit -v' alias gf='g...
true
cdce2428a7345db3834a2bb40fc34cdc71dfd8d8
Shell
tarmiste/lfspkg
/lfs81/blfs/freetype2/PKGBUILD
UTF-8
1,330
2.640625
3
[]
no_license
# Maintainer: tba # THIS PKGBUILD IS AN UNTESTED PROTOTYPE. USE AT OWN RISK # # EDITHOOK1 # BLFSTOOLSEQ=012 #pkgname=freetype2 pkgname=freetype pkgver=2.8 pkgrel=1 # EDITHOOK2 pkgdesc="" arch=('x86_64') # EDITHOOK3 url="" license=('GPL') groups=() # EDITHOOK4 depends=() makedepends=() optdepends=() provides=() confli...
true
594c634dcfafba4eb6ad5ad1a614a0348da94a65
Shell
johnko/ffmpeg-tools
/bin/ytdl
UTF-8
412
2.859375
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh . /usr/local/bin/loadmyvars.sh if [ "x" = "x$PERSONALMNT" ]; then PERSONALMNT=/tank fi YTDLSRC=${PERSONALMNT}/video/srcytdl install -d -m 755 -o urep ${YTDLSRC} chown -R urep ${YTDLSRC} su -l urep -c "youtube-dl \ --no-playlist --restrict-filenames -w --no-continue \ --write-description --write-info...
true
4378867486b6c13698530abcde6a89d4e37e9cde
Shell
millskyle/kmills
/aluminum_composites/NT_characterization/generate_job.sh
UTF-8
2,639
3.140625
3
[]
no_license
length=0.5 n=$1 m=$2 bondlength=$5 atomtype1=$3 atomtype2=$4 shiftx=15 shifty=15 jobdir='jobs/' potcar_dir='/home/kmills/work/kmills/POTCAR' system_name="${n}-${m}_${atomtype1}${atomtype2}NT" echo "Generating $system_name" mkdir $jobdir mkdir ${jobdir}${system_name} cd ${jobdir}${system_name} #Copy over all the fil...
true
68bed0b0a95944a5fae93aff6f683763318ffced
Shell
vladimirstoyanov/ArchLinuxScripts
/Scan/Wireless/set_channel.sh
UTF-8
221
3.140625
3
[]
no_license
#!/bin/sh if [ $# -ne 2 ] then echo "Wrong input! please use the following input: " echo "1 arg - wifi interface" echo "2 arg - wifi channel" exit 1 fi iw dev $1 set channel $2 #$1 - wifi interface, $2 - channel
true
86728bb57e77ed522cc2e95efe27f8194272b57b
Shell
adde88/wifipineapple-modules
/DNSMasqSpoof/scripts/dependencies.sh
UTF-8
553
3.25
3
[]
no_license
#!/bin/sh #2015 - Whistle Master [[ -f /tmp/DNSMasqSpoof.progress ]] && { exit 0 } touch /tmp/DNSMasqSpoof.progress if [ "$1" = "install" ]; then if [ "$2" = "internal" ]; then echo '' > /dev/null elif [ "$2" = "sd" ]; then echo '' > /dev/null fi touch /etc/config/dnsmasqspoof echo "config dnsma...
true
102ce0e4b055a08f6cda5f525fc49b0b7f854844
Shell
RHayabusa87/CYB6004_Scripting_Languages
/Portfolio/Week3/MegaMenu.sh
UTF-8
1,424
4.03125
4
[]
no_license
#!/bin/bash bash ../Week2/PasswordCheck.sh #https://stackoverflow.com/questions/13567947/run-bash-commands-from-txt-file #Loads week 2's Bash script while true; do #Use of a While Loop, if true then do action. if [[ $? -eq 0 ]] ; then echo -e "\e[31m 1. Create a folder 2. Copy a folder 3. Set a pass...
true
64f2e39080269c8483293f2aa32f748819579c77
Shell
vainuio/k8s-gpu-drivers
/install.sh
UTF-8
1,096
2.703125
3
[]
no_license
#!/bin/sh echo "deb http://deb.debian.org/debian stretch-backports main contrib non-free" >> /etc/apt/sources.list sed -i "s/ main/ main contrib non-free/" /etc/apt/sources.list apt-get update && apt-get install apt-transport-https -y curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | apt-key add - echo " deb ...
true
bfd504a5f0faaf38180b94fdfb291fec1c461fca
Shell
cloveras/devstuff
/.bashrc
UTF-8
1,901
3.25
3
[]
no_license
# Sourced by .bash_profile # Load the default .profile [[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load RVM into a shell session *as a function* [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" export PATH="/usr/local/opt/openssl/bin:$PATH" # Git autocompletion # https://github.com/bo...
true
0786edd4678e23c01f8de4a4e3f75b4dc2733061
Shell
forivall/dotfiles
/plugins/iterm2/zplug.zsh
UTF-8
903
3.765625
4
[ "ISC" ]
permissive
#!/usr/bin/env zsh __filename=${0:A} __dirname=${__filename:h} outfile="${__dirname}/iterm2_shell_integration.zsh" if [[ -f ~/.iterm2_shell_integration.zsh ]] ; then mv ~/.iterm2_shell_integration.zsh $outfile else echo -n Downloading iterm2 shell integration... >&2 curl -sL https://raw.githubusercontent.com/gn...
true
076737c5af4ed63a65d4f3176f421a70bf7fa5fc
Shell
agouge/pkgbuilds
/orbisgis/PKGBUILD
UTF-8
1,691
2.9375
3
[]
no_license
# Maintainer: Adam Gouge < adam dot gouge at ec dash nantes dot fr > pkgname=orbisgis-dist pkgver=4.0_SNAPSHOT pkgrel=1 pkgdesc='A Geographic Information System (GIS) for scientific spatial simulation (daily snapshot)' url='http://www.orbisgis.org/' arch=('i686' 'x86_64') license=('GPL3', 'custom') depends=('java-runt...
true
99eef348f1bea2c33d2585e4f892218ea428c92e
Shell
JackBiller/ESP8266
/Bibliotecas/ardulibs-master/ds1302/examples/SerialTiming/AdjustDateTime.sh
UTF-8
410
3.015625
3
[ "MIT" ]
permissive
#!/bin/bash # filename: SerialTiming.sh # Description: To sync the RTC chip on Arduino, which needs correspondent program. # Author: Weihong Guan (@aGuegu) # blog: http://aguegu.net port=${1:-"/dev/ttyACM0"} baud=${2:-"9600"} stty -F $port $baud cs8 -cstopb -parenb cread clocal exec 3> $port sleep 2 date +"[%T %D %w...
true
55bf347accaf8425de177959763a6ae0df45504b
Shell
GilGonong/regular-shiny-app
/upload-and-deploy.sh
UTF-8
3,269
3.765625
4
[]
no_license
#!/usr/bin/env bash # # Create a bundle, upload that bundle to RStudio Connect, deploy that bundle, # then wait for deployment to complete. # # Run this script from the content root directory. # set -e if [ -z "${CONNECT_SERVER}" ] ; then echo "The CONNECT_SERVER environment variable is not defined. It defines" ...
true
cc951ce700e18a7401dd7aa0afd73d27be7fd521
Shell
evilactually/LFS
/packages/pkg-config-0.28/fetch.cmd.sh
UTF-8
186
2.8125
3
[]
no_license
mkdir -pv $CACHE get-file http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz $CACHE/pkg-config-0.28.tar.gz $USE_CACHED || die "Fetching sources for package $NAME failed."
true
72db0a6a0eca53dde942e0b44fc48e9f49f95f33
Shell
midenok/stuff-linux
/scripts/system/kernel/kernel-build.old
UTF-8
1,979
3.484375
3
[]
no_license
#!/bin/sh # Patch revision upgrade procedure: # * replace all 2.6.25.x to 2.6.25.y in debian/control # * replace 2.6.25.x to 2.6.25.y in last entry in debian/changelog # bug: make-kpkg takes .config, not KCONFIG_CONFIG value # second make-kpkg without config changes makes new revision CONF_VARS=conf.vars conf_vars_...
true
427f4fe13d81a2eb62cf4b20b7aa2d02edd7aa7e
Shell
intelfx/bin
/landfill/exif-to-mtime.sh
UTF-8
822
3.640625
4
[]
no_license
#!/bin/bash FILE="$1" [ -n "$FILE" ] || { echo "No file given!" >&2; exit 1; } TIME_EXIF="$(LC_ALL=C exiv2 pr "$FILE" | grep -a timestamp | sed -e 's|Image timestamp : ||g')" DATE=$(echo $TIME_EXIF | cut -d' ' -f1) TIME=$(echo $TIME_EXIF | cut -d' ' -f2) YYYY=$(echo $DATE | cut -d':' -f1) YY=${YYYY:2} MM=$(echo $DAT...
true
e78d46fde02bd15e96b4db6c509a8990cb15a44f
Shell
OrussaFirdous/ShellScripts
/shell21.sh
UTF-8
85
2.65625
3
[]
no_license
echo Enter the decimal number read n c=`echo "obase=2 ; $n"|bc` echo The binary is $c
true
67530a2738ce52e4a708e0ab698e1bb8cd20c945
Shell
GerHobbelt/reveal.js
/tracked_hooks/pre-commit
UTF-8
426
3.21875
3
[ "MIT" ]
permissive
#!/bin/sh echo grunt bdist changes=0 if ! git diff-files --quiet --ignore-submodules -- dist then echo Unstaged changes in dist folder changes=1 fi if ! git ls-files --other --directory --exclude-standard dist/ | sed q1 >/dev/null then echo Untracked files in dist folder changes=1 fi if [ $changes = 1 ]...
true
6f1540e0c78d192db155ae5fbf07b0dea0a57214
Shell
GKoSon/tuyago
/autogit.sh
UTF-8
315
2.515625
3
[]
no_license
::#!/bin/bash 注释 暂时有问题CMD不能到git里面来 echo "-------Begin[writed commit.txt]-------" git log -5 --pretty=oneline git status git add . git status read -p "start:" num git commit -F commit.txt git push -u origin master git log -5 --pretty=oneline echo "--------End--------" read -p "goodbye" num
true
122de3e887edf0b24955248dbd39c88db1e61a08
Shell
ceontgroup/public-project
/25_BT_SHELL_SH/taothumuc.sh
UTF-8
123
3.296875
3
[]
no_license
#! /bin/sh num=0 if [ $# -gt 0 ] then while [ $num -ne 1000 ] do mkdir -p $1 cd $1 num=$(($num+1)) done fi exit 0
true
14b9ed902b602508e13dfa3698fc9822c7982197
Shell
callinthenight/postalzone
/src/test.sh
UTF-8
593
3.90625
4
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
#!/bin/bash # # This file is a simple sanity test for postal_tz.csv. # It is run automatically on make. OUT=$1 if [ "$OUT" = "" ]; then echo "usage: test.sh <postal_tz.csv>" exit 1 fi WANT=$(cat <<EOF US,50322,Urbandale,America/Chicago US,07506,Hawthorne,America/New_York CA,T1L,Banff,America/Edmonton US,00778,Gurab...
true
34a19ed3ec823f80376a9eaf93ec6781462e4534
Shell
Niha8030/USP_1BM18CS060
/lab5/vowels_count_grep.sh
UTF-8
160
3.34375
3
[]
no_license
echo -n "Enter a line of text: " read string vowCount=$(echo $string | grep -o -i "[aeiou]" | wc --lines) echo "The given string has $vowCount vowels in it."
true
4f3dd9658d4521140866bc18fdf8873d8dcec864
Shell
przemyslawcybulski/openwrt
/extroot.sh
UTF-8
1,290
3.28125
3
[]
no_license
# ---------------------------------------------------------------------- # # Skrypt automatyzujacy instalacje extroot w openwrt # (c)2020 cy3ul # author: przemyslaw@cybulski.waw.pl # # version: 1.0 # # changeLog: # 1.0 2020-03-08 Initial release # # ---------------...
true
ad5bb38bd549b23785a8dd17b26d3ff660495959
Shell
mauilion/habitat
/support/ci/build_builder_web.sh
UTF-8
808
3.3125
3
[ "LicenseRef-scancode-dco-1.1", "Apache-2.0" ]
permissive
#!/bin/bash git log HEAD~1..HEAD | grep -q '!!! Temporary Commit !!!' is_tmp_commit=$? # If we are not on a pull request, on the "auto" branch (which homu uses when # auto-merging master), and not on a temporary commit, then run the publish # script. if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}...
true
527f75962cdc9d97b0246a269c49a615150ed285
Shell
RunningCalf/FindMaster
/server_info_update.sh
UTF-8
346
3.15625
3
[]
no_license
#!/bin/bash workdir=$1 infofile="server_info.txt" curl -sSfLk -m 10 -H 'Accept: text/plain' http://10.27.17.46:8080/v2/tasks > /tmp/${infofile} if ! [ -f ${workdir}/${infofile} ] then touch ${workdir}/${infofile} fi if ! diff -q /tmp/${infofile} ${workdir}/${infofile} > /dev/null then cat /tmp/${infofile} > ...
true
bbe1a0fe7528a09fd6c45fbf5678eb55efaa6b37
Shell
orginos/qcd_software
/meltemi/jit-parscalar/env.sh
UTF-8
3,492
2.640625
3
[]
no_license
. ../../setup.sh ##### # SET UP ENVIRONMENT # # Setup script for GCC # # Source whatever it is you need to set up your compiler here. # Change this to use your compiler. export PYTHON_LIBRARIES=$PYTHONPATH export PYTHON_INCLUDE_DIRS=/usr/local/intel64/knl/intel/intelpython3/include # These are used by the configure...
true
83c493e150d8b34c59cd3125b2be2dbd0d3291c0
Shell
lcj1git/research
/gaussian/h8/fci/rows/stable/singlejob/job
UTF-8
1,552
2.8125
3
[]
no_license
#!/bin/bash # run hf stability calculations for the h8singlet declare -i linenum declare -i m=1 declare -x y=2.772 declare -x rrt3=0.5773503 #RECIPROCAL of the square root of 3 declare -a e comfile='h8.com' logfile='h8.log' chkfile='h8.chk' echo '%chk='$chkfile > $comfile #echo '%nosave' >> $comfile echo ' ' >> $comf...
true
193f7b5f5f8c7e60cbc665b0c7e17337789c1a62
Shell
aruntk/kickstart-meteor-polymer
/bower.sh
UTF-8
1,259
4.15625
4
[ "MIT" ]
permissive
#!/bin/bash # Clean bower install. red=`tput setaf 1` green=`tput setaf 2` blue=`tput setaf 4` reset=`tput sgr0` if [ $# -ne 0 ]; then if bower $@; then echo "${green}bower install successful${reset}" else echo "${red}command failed${reset}" exit 1 fi read -p "${blue}Remove demo,test folders & files...
true
579e11224462704c620fd460db1c7fa7294768f5
Shell
swagat9712/CodingClub-Bootcamp
/practiceWhatsApp/reverseStrLs.sh
UTF-8
73
2.59375
3
[]
no_license
#!/bin/bash -x read - for element in $list;do echo "$element" done
true
094cff8b21c49da4b44a7993603e8dc166c953e6
Shell
cvazac/results-collection
/src/scripts/safari-enable-automation.sh
UTF-8
4,871
3.984375
4
[ "BSD-3-Clause", "LicenseRef-scancode-w3c-03-bsd-license" ]
permissive
#!/bin/bash # This script ensures that the "Enable Remote Automation" feature of Apple # Safari is enabled. If it is not enabled, it attempts to do so using Apple's # UI scripting language. If this fails, the script exits with a non-zero exit # code. # # While the `safaridriver` binary offers an `--enable` flag [1], t...
true
d928d5000b25f6b07d842295a294a4d2469617a9
Shell
janmarek/slidebox
/deploy
UTF-8
172
2.53125
3
[]
no_license
#!/bin/bash # pull git pull --rebase # empty cache and generate proxies if [ $? == 0 ]; then rm -rf temp/cache php cli.php orm:generate-proxies fi grunt
true
0c6f758e887793ef147a0858c86afef744c6991a
Shell
sladonia/flask_template
/docker-entrypoint.sh
UTF-8
491
3.25
3
[]
no_license
#!/bin/sh # default worker user and group ids worker_uid=$(id -u worker) worker_gid=$(id -g worker) case $ENV in development ) # get mounted directory owner user and group ids worker_uid=$(stat -c %u .) worker_gid=$(stat -c %g .) if [ -z "$SKIP_PIP" ]; then printf 'Updating requirements...\n'...
true
c460afa8e3af229b4e44ebbbe6a5a2c84a9a0b0a
Shell
bmritz/brbase
/config/bash/bash_commands
UTF-8
4,066
3.6875
4
[]
no_license
#!/bin/bash function wrkon(){ if [ ! $1 ] then echo -e 'wrkon options:' echo -e ' list' echo -e ' exit' echo -e ' new <repo> [alias]' echo -e ' <repo> <alias>' echo -e ' <job>' elif [ "$1" == "list" ] then repos_str=`find $USR_HOME/.wrkon/ -maxdepth 1 -type d | sort | tail...
true