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
63636c2065cc3a993eddd69c98a137c5e2fad876
Shell
ak-1/sackman
/rsync.sh
UTF-8
692
3.546875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash source $SACKMAN_PREFIX/lib/sackman/util.sh do_rsync() { ENV_NAME="$1" FILES="$(eval "echo \$$ENV_NAME")" [[ -n "$FILES" ]] && { if [[ -f "$FILES" ]] then info "> rsync -a $RSYNC_OPTS --ignore-missing-args --files-from=$FILES $SRC_DIR $DST_DIR" rsync -a $...
true
76d4158fe809e67e50b9b52e6dfc8f391d4fcb3f
Shell
ryanbr/fanboy-adblock
/scripts/list-grabber-opera-regional.sh
UTF-8
10,158
3.03125
3
[]
no_license
#!/bin/bash # # Fanboy Adblock list grabber Opera (regional) script v1.0 (30/08/2012) # Dual License CCby3.0/GPLv2 # http://creativecommons.org/licenses/by/3.0/ # http://www.gnu.org/licenses/gpl-2.0.html # # Version history # # 1.9 Re-implement the iron list generator # 1.8 Allow list to be stored in ramdisk # Varia...
true
d352b08ef90a623516ac0ca128d017e9bf66f62c
Shell
lewisjnewman/ISS-PKI-Assignment
/Script/build_x509.sh
UTF-8
9,119
2.640625
3
[]
no_license
#!/bin/sh # generate all our keys in a tmp folder first to # avoid complicated paths in our ipsec and openssl commands mkdir -p tmp-keys cd tmp-keys ############################################################################################################### #########################################################...
true
f813fa602a8a1c83b81cb4fb21310f85ebf2a93a
Shell
drequivalent/mbd
/install_syslinux.sh.in
UTF-8
1,008
3.359375
3
[]
no_license
#!/bin/sh part_dev='@target_device@' [ -b "${part_dev}" ] || exit 1 dev=$(readlink -f '@target_device@') dev_pattern='\(/dev/[^0-9]\+\)\([0-9]\+\)' mbr_dev=$(echo "${dev}" | sed -e "s_^${dev_pattern}\$_\1_") partition_num=$(echo "${dev}" | sed -e "s_^${dev_pattern}\$_\2_") [ -b "${mbr_dev}" ] && [ "x_${partition_num}...
true
5a1718883c867a7983778e1c346fb080ec5c5b58
Shell
ornicar/idbase
/bin/idbaserc
UTF-8
329
2.796875
3
[ "MIT" ]
permissive
#!/bin/sh PROD_URL="http://idbase.esmeree.fr" JVM_OPTIONS="-Dhttp.port=9060 -Dscalac.patmat.analysisBudget=off" log () { echo -e "\x1b[7m[idbase]\x1b[0m $1" } curl_prod () { log "Test $PROD_URL" curl -sL -w "%{http_code}" -o /dev/null "$PROD_URL" } # load local config [ -f bin/idbaserc.local ] && . bin/idbase...
true
1d938de80748a19d6104c5df438e47772211fa14
Shell
kweav/VISION
/pol2_eRP_correlation/run_pc.sh
UTF-8
346
2.515625
3
[]
no_license
#!/bin/bash for CHR in chr1 chr2 chr3 chr4 chr5 chr6 chr7 chr8 chr9 chr10 chr11 chr12 chr13 chr14 chr15 chr16 chr17 chr18 chr19 chrX do date; time ./find_protein_coding.py ${CHR}_mouse_allChr_wTAD_weRP_wAllComp_071819.txt ${CHR}_gencode.vM4.genes.gtf ${CHR}_pc_eRP_allInfo.txt cat ${CHR}_pc_eRP_allInfo.txt >> allCH...
true
64df36f83ea8c3ea8c03431c8a5e9d11c77da47e
Shell
emersonmx/scripts
/system/volumekeys.sh
UTF-8
707
3.640625
4
[]
no_license
#!/bin/bash set -euo pipefail IFS=$'\n\t' # Arbitrary but unique message id msgId="991049" amixer set Master "$@" > /dev/null # Query amixer for the current volume and whether or not the speaker is muted volume="$(amixer get Master | tail -1 | awk '{print $5}' | sed 's/[^0-9]*//g')" mute="$(amixer get Master | tail ...
true
8758c6ce04c31a13af0b1e1da9c33c17aef39a12
Shell
wgnet/wds_qt
/qtbase/config.tests/unix/precomp.test
UTF-8
1,152
3.65625
4
[ "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-commercial-license", "LGPL-2.0-or-later", "LGPL-2.1-only", "GFDL-1.3-only", "LicenseRef-scancode-qt-commercial-1.1", "LGPL-3.0-only", "LicenseRef-scancode-qt-company-exception-lgpl-2.1", ...
permissive
#!/bin/sh PRECOMP_SUPPORT=no COMPILER=$1 VERBOSE=$2 case "$COMPILER" in *icpc) cat >header.h <<EOF #define HEADER_H EOF >header.cpp cat >source.cpp <<EOF #ifndef HEADER_H #error no go #endif EOF rm -f header.pchi $COMPILER -pch-create header.pchi -include header.h -c header.cpp -o header.o >/de...
true
ca24713dbb47d38c605a611a75e6105a0f9f87eb
Shell
kilianbreathnach/dotfiles
/bash/bashrc
UTF-8
5,379
3.171875
3
[]
no_license
# set prompt source ~/.bash/git-prompt.sh PS1='\[\e[0;34m\]\t <\h> $(__git_ps1 " (%s)") \[\e[m\] \[\e[0;35m\] \W \$ \[\e[m\] \[\e[0;37m\]' # get the vim shortcuts in bash set -o vi ################### ### ENVIRONMENT ### ################### # first see which server I'm on # if [ "$HOSTNAME" = "harmattan.cos...
true
719028b6fce683778ad05eeadcaf99d2978fcae3
Shell
yadavshubhanshu/bashSpotifyForMac
/spotify.sh
UTF-8
4,184
3.65625
4
[ "MIT" ]
permissive
#!/bin/bash DIR="${BASH_SOURCE%/*}" source "${DIR}/sp_lib.sh" source "${DIR}/helper.sh" if [ "${#}" -eq 0 ];then showHelp fi PLAY=false ARTIST=false song="" artist="" while [ $# -ge 1 ]; do #statements case $1 in -h|--help) noargs "$#" "$1" showHelp shift ...
true
f20ccd033508bd3bf66e6efdcbbda89d2ccdf6c8
Shell
sdothum/dotfiles
/build/build/arch/archlinux-functions
UTF-8
1,870
3.65625
4
[ "MIT" ]
permissive
# sdothum - 2016 (c) wtfpl # fresh arch pre-installer partition() { if fdisk -l -o Name $device | grep -q $1 ;then fdisk -l $device | tail -$(fdisk -l -o Name $device | tac | grep -n $1 | cut -d: -f1) | head -1 | cut -d' ' -f1 else case $1 in boot) fdisk -l $device | grep '[*].*Linux$' | cut -d' ' ...
true
85940bfb9da61181934e7bd1eb6a68504a6b730b
Shell
leksmax/URMA-TLR
/scripts/usr/bin/get_fw_file_list.sh
UTF-8
749
3.90625
4
[]
no_license
#!/bin/sh # set -x FTP_SITE="ftp1.digi.com" # DIRECTORY="support/firmware/branded/sieH7/latest" DIRECTORY="support/firmware/transport/LR54/latest" LOGGER_USER="-p user.debug -t fwupdate_script" WGET="/usr/bin/wget" # Parse arguments while [[ $# -gt 1 ]] do key="$1" case $key in -f|--ftp_site) FTP_SITE="$2" ...
true
bf2bc8c3a3edd5e8cd5cbbdb5a914cc582503198
Shell
intel/media-delivery
/samples/cdn/setup.sh
UTF-8
2,591
3.28125
3
[ "MIT" ]
permissive
#!/bin/bash # # Copyright (c) 2020 Intel Corporation # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, mer...
true
9ff550deb26b18492b0adbddfe73c2131d7c3b82
Shell
AnonymerNiklasistanonym/LudumDare41-DoeffingerCity
/td-racing/buildDesktopHtml.sh
UTF-8
1,489
2.90625
3
[ "MIT" ]
permissive
#!/bin/bash echo "Build Desktop and HTML version of the program" echo "--------------------------------------------------------------------------" echo ">> Remove eventually already created builds..." echo "--------------------------------------------------------------------------" rm -f ../desktop-1.0.jar rm -rf ../h...
true
77828717ccf28792b0bf356175278b60b23292a5
Shell
akshshar/ztp_sun
/createlxc.sh
UTF-8
4,038
3.5625
4
[]
no_license
#!/bin/bash #set -x function setup_env { #default rootfs PATH exprected if [ -z "$LXCROOTFS_PATH" ]; then LXCROOTFS_PATH=/opt/ws echo "rootfs path is not set.. setting it to $LXCROOTFS_PATH" fi read LXCNETWORK <<< $( virsh net-list | sed -n 3p | awk '{print $1}') read LIBVIRT_PATH <<< ...
true
3418f87e76ef37cd688921e3e2b4cc11e73d724d
Shell
deekayen/usbkill
/usbkill.sh
UTF-8
6,831
3.515625
4
[]
no_license
#!/bin/bash # 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 3 of the License, or # (at your option) any later version. # This program is distributed in the hope t...
true
9154f48a64340c9344c4116820d290cbfc73dace
Shell
ivanderk/oasp-atom-ide
/runatom.sh
UTF-8
145
2.65625
3
[]
no_license
#!/usr/bin/env bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" pushd $DIR source env.sh echo $ATOM_HOME $ATOM_BIN/atom &! popd
true
595f1b072b7ae8e0e6f431c7ef0b4a1fdad2c770
Shell
BDLDev/docker-image
/build.sh
UTF-8
437
2.65625
3
[]
no_license
#!/bin/bash set -euxo pipefail git clone ${repo} /root/repo --recursive --depth 1 wget -O /root/bds.zip https://minecraft.azureedge.net/bin-linux/bedrock-server-${bds_version}.zip mkdir /data pushd /data unzip /root/bds.zip popd pushd /root/repo make RELEASE=1 LANG=${bdl_lang} make install RELEASE=1 LANG=${bdl_lang} ...
true
3b2c09da45149b7e2601ac643b264d1a70f355de
Shell
e-money/em-ledger
/networks/ibc/e-money.sh
UTF-8
1,358
3.609375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e EMONEY_HOME="../.." EMONEY_DC_YML="$EMONEY_HOME/docker-compose.yml" # Check platform platform='unknown' unamestr=$(uname) if [ "$unamestr" = 'Linux' ]; then platform='linux' fi # Set proper defaults and change ports (use a different sed for Mac or Linux) echo "Stopping the e-money testnet to m...
true
5f9eac0494940bb86c2a4a93e344c87cbd3311df
Shell
estabroo/singularity
/libexec/mods/build.smod
UTF-8
16,811
3.34375
3
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause-LBNL" ]
permissive
#!/bin/bash # # Copyright (c) 2015-2016, Gregory M. Kurtzer. All rights reserved. # # “Singularity” Copyright (c) 2016, The Regents of the University of California, # through Lawrence Berkeley National Laboratory (subject to receipt of any # required approvals from the U.S. Dept. of Energy). All rights reserved. # ...
true
6b4d9ddadef9e8b25c0cc15126d6e75a8ebdd12d
Shell
Danack/TierJigSkeleton
/scripts/deployAsUser.sh
UTF-8
1,674
3.828125
4
[]
no_license
set -eux -o pipefail # Read environment from passed parameters environment="centos_guest,dev" if [ "$#" -ge 1 ]; then environment=$1 fi echo "environment is ${environment}"; # Figure out if composer install should be run if [[ "${environment}" == *"centos_guest"* ]] then # We are on a guest environment. Don't ...
true
cd0db6553ff608aeb06ff497b43f1974b14f4020
Shell
shankerbalan/cloudstack-scripts
/cloudstack-set-guest-credentials
UTF-8
6,083
3.703125
4
[]
no_license
#!/bin/bash # Script to set guest password, ssh key credentials # CentOS/RHEL: /sbin/ifup-local # Ubuntu/Debian: /etc/network/if-up.d/cloudstack-set-guest-credentials # Set all possible dhcp leases files here: DHCP_FILES="/var/lib/dhclient/*.lease /var/lib/dhclient/*.leases /var/lib/dhcp3/*.leases /var/lib/dhcp/*.leas...
true
93a243ec7ef145a4376dd2d29cdb49261b629b9c
Shell
GatorShan/papers
/Boatwright_et_al.,2018/assembly_and_qc_scripts/fastqc/run_fastqc_stats_dip.qsub
UTF-8
556
2.875
3
[ "MIT" ]
permissive
#!/bin/bash #PBS -M polvadore@ufl.edu #PBS -m n #PBS -q bio #PBS -r n #PBS -j oe #PBS -o /bio/mcintyre/trago/scripts/fastqc/PBS_LOGS/ #PBS -l walltime=1:00:00 #PBS -l nodes=1:ppn=1 #PBS -l pmem=1gb PROJ=/bio/mcintyre/trago DATAIN=$PROJ/outfiles/fastqc/diploids OUTDIR=$PROJ/outfiles/fastqc_summary/diploids/files if [ ...
true
36826da1919c7ec2213518ca302dd6fa6c19b2ad
Shell
openbsd/src
/regress/usr.sbin/bgpd/integrationtests/l3vpn.sh
UTF-8
3,531
3.375
3
[]
no_license
#!/bin/ksh # $OpenBSD: l3vpn.sh,v 1.4 2023/02/15 14:19:08 claudio Exp $ set -e BGPD=$1 BGPDCONFIGDIR=$2 RDOMAIN1=$3 RDOMAIN2=$4 PAIR1=$5 PAIR2=$6 RDOMAIN3=$7 RDOMAIN4=$8 RDOMAINS="${RDOMAIN1} ${RDOMAIN2} ${RDOMAIN3} ${RDOMAIN4}" IFACES="${PAIR1} ${PAIR2} ${MPE1} ${MPE2}" PAIR1IP=10.12.57.1 PAIR2IP=10.12.57.2 PAIR1IP...
true
0e99de8e15419a70023dcd3f26eeed918fbda7f5
Shell
Munyola/berry
/scripts/release.sh
UTF-8
1,767
3.5
4
[ "BSD-2-Clause" ]
permissive
#!/usr/bin/env bash set -e THIS_DIR=$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd) REPO_DIR="$THIS_DIR/.." ARTIFACT_DIR="$REPO_DIR"/artifacts rm -rf "$ARTIFACT_DIR" mkdir -p "$ARTIFACT_DIR" contains_element() { local e match="$1" shift for e; do [[ "$e" == "$match" ]] && return 0; done return 1 } build_...
true
f00b4e8e1e6e0286d0ba0a25209223837447fd63
Shell
steshaw/turtle-shell-with-nix
/scripts/turtle
UTF-8
286
3.515625
4
[]
no_license
#!/usr/bin/env bash set -euo pipefail command="runhaskell -XOverloadedStrings $*" dir=$(dirname "$0") if [[ -n ${IN_NIX_SHELL:-} ]]; then # Already in nix-shell. $command else # Run the command inside a nix-shell. exec nix-shell --command "${command}" "${dir}/shell.nix" fi
true
c9396bba32c168a3ec17a68687d12a30fd87804e
Shell
Mgonand/dockerimages
/meteor4-8k/scripts/run_app.sh
UTF-8
2,573
3.84375
4
[ "MIT" ]
permissive
set -e # utilities gyp_rebuild_inside_node_modules () { for npmModule in ./*; do cd $npmModule isBinaryModule="no" # recursively rebuild npm modules inside node_modules check_for_binary_modules () { if [ -f binding.gyp ]; then isBinaryModule="yes" fi if [ $isBinaryModule !...
true
ca3f99a9e780ffef06112110bdd18d403a33d3ea
Shell
rehan7594/ShellScript
/FuctionProgram.sh/PrimePalindromNumber.sh
UTF-8
620
3.859375
4
[]
no_license
#!/bin/bash function isPrime(){ n=$1 check=0 if [ $n -gt 1 ];then prime=yes for((i=2;i<$n;i++)) do if [ $(($n%$i)) -eq 0 ];then prime=no break fi done if [ $prime = yes ];then echo "$n is a prime number" check=1 else echo "$n is not a prime number" fi else echo "!invalid input enter number greater than 1" fi } ...
true
f762dc26755b4634c2fc4d39177f926c2be15246
Shell
oxypwn/arks
/archlinux/post/user.sh
UTF-8
1,289
3.125
3
[]
no_license
#!/usr/bin/env bash [[ $ARKS_TRACE ]] && $DEBUGVARS # Add users array=($USERNAMES); for ((i=0; i<${#array[@]}; ++i)); do URL="${REMOTE}/archlinux/users/"${array[$i]}".sh" curl -fsL $URL if [[ "$?" == 0 ]]; then . <(curl -fsL $URL) if [[ $LOGIN_SHELL != /bin/bash ]]; then ...
true
575afafda50f7df7c9629770e7536242da5ec8b1
Shell
edburns/arm-oraclelinux-wls-cluster
/test/scripts/gen-parameters-deploy-elk.sh
UTF-8
1,449
2.859375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash #Generate parameters with value for deploying elk template independently parametersPath=$1 adminVMName=$2 elasticsearchPassword=$3 elasticsearchURI=$4 elasticsearchUserName=$5 location=$6 numberOfInstances=$7 wlsDomainName=$8 wlsusername=$9 wlspassword=${10} gitUserName=${11} testbranchName=${12} managedSe...
true
48b85f1db69a51b6060be38957bb534e2f327837
Shell
mpt-bootcamp/monitor
/playbooks/roles/assets_manager/templates/startup.sh.j2
UTF-8
1,135
3.609375
4
[ "MIT", "BSD-3-Clause" ]
permissive
#!/bin/bash # set -x # Set the defaullt JAVA_HOME for the OS family OS_FAMILY="$(uname -s)" case "${OS_FAMILY}" in Linux*) DEFAULT_JAVA_HOME="$(dirname $(dirname $(readlink -f $(which java))))" ;; Darwin*) DEFAULT_JAVA_HOME=$(/usr/libexec/java_home) ;; CYGWIN*) DEFAU...
true
d56cdcf9c23e06fb15f656bcee9be7f6297258c1
Shell
hieutnbk2011/devops-twentyci
/magento/entry.sh
UTF-8
664
2.8125
3
[]
no_license
#!/bin/bash set -e if [ ! -d "/var/www/html/magento2" ]; then cd /var/www/html/ git clone -b "${MAGENTO_VERSION}" https://github.com/magento/magento2.git cd magento2 composer install php bin/magento setup:install --base-url=http://${BASE_URL}/magento2/ --db-host=${DB_HOST} --db-name=${DB_NAME} --db-...
true
c8d07fd4de05b86880ddea3ebf0dbdaf3d8ecac3
Shell
dfried-vasona/trex
/scripts/t-rex-64
UTF-8
700
3.15625
3
[ "Apache-2.0" ]
permissive
#! /bin/bash if [ $USER != 'root' ]; then echo 'Error: Please run as root (sudo etc.)' exit -1 fi ./trex-cfg $@ RESULT=$? if [ $RESULT -ne 0 ]; then exit $RESULT fi cd $(dirname $0) export LD_LIBRARY_PATH=$PWD saveterm="$(stty -g)" # if we have a new core run optimized trex if cat /proc/cpuinfo | grep -q avx...
true
f0c7b5352eb31e3fa15fa1cc5ec0ef6a68419a47
Shell
iehonyakin/lesson3
/raidscript.sh
UTF-8
502
2.546875
3
[]
no_license
#!/bin/bash ##my script#### ################ # КОНФИГУРАЦИЯ # ################ #Занулим на всāкий слуùай суперблоки mdadm --zero-superblock --force /dev/sd{b,c,d,e,f} #Создаем рейд 5 mdadm --create --verbose /dev/md0 -l 5 -n 5 /dev/sd{b,c,d,e,f} #создаем файл конфигурации mkdir /etc/mdadm/ echo "DEVICE partitions" ...
true
345163685934e644bc02f505fac1043cd0f690d8
Shell
cheznewa/MyGist
/pipingserverwithipfsonlyhash.bash
UTF-8
345
3.203125
3
[]
no_license
# Require ::::::: https://github.com/alanshaw/ipfs-only-hash count=$1 server=$2 if [[ -z $server ]] then server="https://ppng.io" fi tmp=$(mktemp) cat - > $tmp n=0 addr=$(ipfs-only-hash --cid-version 0 $tmp) printf "${server}/$addr\n" while [[ $count -gt 0 ]] do curl -s -T - ${server}/$addr < $tmp > /dev/null count=$((...
true
6e2a6a0092cfb9e3048795c0bfb22619d073f1bc
Shell
e3oroush/i3-wm-configs
/scripts/statusbar_volume
UTF-8
548
3.515625
4
[]
no_license
#!/bin/bash num_regex='^[0-9]+$' if [[ -z "$1" ]] ; then full=100 elif [[ $1 =~ ${num_regex} ]] ; then full=$1 #echo "value is ${value}" else full=100 fi mute_txt="<< MUTE >>" volume=`/usr/libexec/i3blocks/volume` vol_regex='^[0-9]+%$' if [[ ! ${volume} =~ ${vol_regex} ]] ; then echo "${mute_txt}" exit 0 fi volu...
true
c5fdba0a123392206e0f4049cd0c7aa10329d1ce
Shell
binlijin/gondola
/examples/kv-server/bin/put_content.sh
UTF-8
313
3.40625
3
[ "BSD-3-Clause" ]
permissive
#!/bin/sh echo $# if [ $# -lt 2 ]; then echo "Set value to key via web service"; echo ""; echo "Usage: $0 key value [host1|host2|host3]"; exit; fi if [ "$3" = "host2" ]; then port=8081 elif [ "$3" = "host3" ]; then port=8082 else port=8080 fi curl -X PUT -d "$2" -v localhost:$port/api/entries/$1
true
d19bb2796f098165f9f4fc494bd8f540c3b58a75
Shell
georgebonanno/rep2
/question2/extractPropertiesToCsv.sh
UTF-8
857
3.046875
3
[]
no_license
# extracts the required features from the times of malta adverts # found in the *html* pages found under the data directory. # invoke the R script propertiesForSaleExtraction.R. This scripts outputs # the features seperated by comma. The output is passed to a small perl # program to retain only the csv data and remo...
true
1dbd1a13ce9a6d30135c9275cb0ae959f724f14b
Shell
OnwerkGmbH/dorie-tools
/DockerPullRun.sh
UTF-8
5,225
3.96875
4
[ "MIT" ]
permissive
#!/bin/bash h="\n" h+="`basename "$0"`: Copies deployment items to server and starts all services of a docker-compose Composition\n" h+="\n" h+="Command line parameters:\n" h+="--login: The ssh login to use\n" h+=" Default can be set via dorie.default file\n" h+="--profile: The profile to use, spe...
true
8290c74be7ecf3a613e3f2ff926e860c22451003
Shell
iiiiiii1/doubi
/gogo.sh
UTF-8
7,828
3.296875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/java/jre/bin:~/bin export PATH #================================================= # System Required: CentOS/Debian/Ubuntu # Description: GoGo Server # Version: 1.0.0 # Author: Toyo # Blog: https://doub.io/wlzy-24/ #=============...
true
32ec1675a2ef2c6ed784860d80f8ec82729ead43
Shell
termux/termux-packages
/x11-packages/xsel/build.sh
UTF-8
557
2.53125
3
[ "Apache-2.0" ]
permissive
TERMUX_PKG_HOMEPAGE=http://www.kfish.org/software/xsel/ TERMUX_PKG_DESCRIPTION="Command-line program for getting and setting the contents of the X selection" # License: HPND TERMUX_PKG_LICENSE="custom" TERMUX_PKG_LICENSE_FILE="COPYING" TERMUX_PKG_MAINTAINER="Doron Behar <me@doronbehar.com>" TERMUX_PKG_VERSION=1.2.1 TER...
true
8b00ebdf5f05537728a93b03579e75156e7b8b9b
Shell
sdharmacse/shell
/scripts/day1/solution/dosum.sh
UTF-8
305
3.078125
3
[ "CC0-1.0" ]
permissive
#!/bin/bash echo "Enter two integers" read num1 num2 echo "$num1 + $num2 = " $num1 + $num2 echo "$num1 + $num2 = " $(($num1 + $num2)) let SUM=$num1+$num2 echo "sum of $num1 & $num2 is " $SUM echo "$num1/$num2 = " $(echo "scale=5;$num1/$num2" | bc) echo "$num2/$num1 = " $(bc -l <<< $num2/$num1) exit
true
1845765503696ebe03a6e24c8465cbec13a87373
Shell
gvgbalaji/TextSys
/cloud/compute/compute-node.sh
UTF-8
1,877
2.671875
3
[]
no_license
controller_ip=192.168.1.230 compute_ip=192.168.1.231 gateway=192.168.1.1 netmask=255.255.255.0 mgmt_port=eth0 data_port=eth1 ### PACKAGE INSTALLATION ### apt-get install -y ubuntu-cloud-keyring echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu" \ "trusty-updates/kilo main" > /etc/apt/sources.list.d/cloudarc...
true
330865df38300ebaae0c33304e1e9c0cd61c4647
Shell
sbtinstruments/RedPitaya
/OS/buildroot/overlay/etc/init.d/Amester
UTF-8
496
4.03125
4
[ "BSD-3-Clause" ]
permissive
#!/bin/sh if [ -r /etc/default/rcS ] then . /etc/default/rcS else echo "/etc/default/rcS not found." fi case "$1" in start) echo -n "Starting mester... " /bin/mester echo "done." ;; stop) echo -n "Stopping mester... " pid=$(ps | awk '/[p]ython.*mester/ {print $1}') if [ ! -z "$p...
true
631b5df9b0446cb2aaa9c2f75a108c956d7c377f
Shell
michaelmusty/.dotfiles
/bin/mkvi.sh
UTF-8
135
2.921875
3
[ "Unlicense", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/sh # Create paths to all files before invoking editor for file do mkdir -p -- "${file%/*}" || exit done exec "$VISUAL" "$@"
true
9a0fd4160b98b2ddb6d101ad00f6ee664be40ac0
Shell
nitsood/os-machine-problems
/MP4/deploy.sh
UTF-8
258
2.515625
3
[]
no_license
make if [ $? -gt 0 ] then exit 1 fi sudo mount -o loop dev_kernel_grub.img /mnt/os_mp2 sudo cp kernel.bin /mnt/os_mp2 echo "\nkernel deployed" echo "disk unmounting.." sleep 2 sudo umount /mnt/os_mp2 echo "done" echo "bochs started" bochs -qf bochsrc.bxrc
true
feba24cc0753f053e62407440eb31df62a0d641b
Shell
KingSolomon1954/bashDir
/bash_scripting.bash
UTF-8
542
3.609375
4
[]
no_license
# ----------------------------------------------------------- # # Define environment variable holding path to my shell library # export BASH_LIB=$HOME/lib/shellLib # ----------------------------------------------------------- # # Function to source shell library functions # import () { if ! source "${BASH_LIB}/$1"...
true
d8428a73ea128f2c6a688fbd4977b710e34e2c8b
Shell
ITARUANDO-01/CentOS_Shell_Scripts
/lib/Decision-lib
UTF-8
2,867
4.0625
4
[]
no_license
#!/bin/bash #set -evx #==このファイルについて============================================================================= # このファイルは、各種判定を行う処理をシェル関数にまとめたファイルとなります # 各シェル関数の処理内容は、コメントにて説明します #=================================================================================================== #### 実行されている環境のディストリビューション判定シェル #####...
true
6c6950de58e563286a879c7bf2cce6beac40be66
Shell
INFIA-FOUNDATION/Java-IVM
/bin/visualgc
UTF-8
2,746
4
4
[]
no_license
#!/bin/sh enverror() { echo "Could not automatically set the JVMSTAT_JAVA_HOME environment" echo "variable. Please set and export JVMSTAT_JAVA_HOME to the path" echo "to the J2SE 5.0 JDK installation directory and try again." exit 1 } jreerror() { echo "The java.exe found at:" echo ${JVMSTAT_JAVA_HOME} ...
true
2aae27db77455f17a47893c8de8ec7ad29f212a2
Shell
trepi/aon-update
/SOURCES/src/aon-update.init
UTF-8
1,191
3.921875
4
[]
no_license
#!/bin/bash # Startup script for aon-update # # chkconfig: - 80 20 # description: aon-update, a web application server # # config: $instance/etc/aon-update.conf # Source function library. . /etc/init.d/functions RETVAL=0 prog="@NAME" exec="@EXEC" service="@SERVICE" start() { echo -n $"Starting $prog: " ...
true
1815c755dea9a98bc679b9205e4e80de5a741b2f
Shell
vtwireless/dead_horse
/SaveWork
UTF-8
273
3.34375
3
[]
no_license
#!/bin/bash message="saving work" [ -n "$*" ] && message="$*" set -xe cd "$(dirname ${BASH_SOURCE[0]})" if [ "$(hostname)" = cornweb ] ; then set +x echo "do not run $0 on this machine: $(hostname)" exit 1 fi set +e git commit -a -m "$message" git push
true
b8698437e128b689260d6d6f07e68f5c525fa709
Shell
sgtpepperpt/apdcDB
/server/docker-get-files.sh
UTF-8
216
2.59375
3
[]
no_license
#!/bin/bash export PROXY_PATH=../proxy #get container id CID=`cat docker-tmp/cid` docker cp $CID:/server/attestation_tpm/data docker-tmp/ cp docker-tmp/data/{hash,pubkey,pcrvals} $PROXY_PATH/attestation_tpm/data/
true
ab01cc2f3a552e8bdc66b068f0b2be2270347827
Shell
hamburger1984/dotfiles
/vim/init_vim.sh
UTF-8
1,032
3.515625
4
[]
no_license
#!/bin/bash if [ "`uname -o`" == "Msys" -o "`uname -o`" == "Cygwin" ]; then echo "running on WIN" pre="_" else echo "running on LINUX" pre="." fi destdir="$HOME/.vim" srcdir="$(dirname $(readlink -f $0))" files=("$HOME/${pre}vimrc" "$HOME/${pre}gvimrc") for f in "${files[@]}"; do if [ -f "$f" -o...
true
1025fceb2dd6679443443236b603f205d4ea8d20
Shell
tkjode/TheHacks
/consul/push_to_consul.sh
UTF-8
137
2.640625
3
[]
no_license
#!/bin/sh YAML=$1 if [ -f ${YAML} ]; then yq -c '.' ${YAML} | curl -XPUT --data @- http://10.0.0.5:8500/v1/agent/service/register fi
true
8975ca6766a501c271a70ce2d2300c1bb5e7acd4
Shell
oregalia/config
/.bashrc
UTF-8
252
2.609375
3
[]
no_license
# Check for an interactive session [ -z "$PS1" ] && return alias ls='ls --color=auto' export MPD_HOST="arch-xmonad" if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi PS1='[\[\e[1;36m\]\u\[\e[0;37m\]@\[\e[1;30m\]\h \[\e[0;37m\W\]]\$ '
true
37ead96bdb78f4df3bc41032aad8f3f00df2b7b5
Shell
shantamcbain/ham-pi
/installs/APRX
UTF-8
1,539
3.296875
3
[]
no_license
#!/bin/bash ############################################################################################################################ # APRX # # Script to setup and install APRX iGate and Digipeater # # Author: Mike Myers (K3DO) # # This is a project of the Mid Atlantic Wireless Communication Group # http://mawcg.o...
true
08b0e397070054ae093f462ac1afbf1a4cf13cac
Shell
jhellerstein/fluent
/scripts/install_dependencies_osx.sh
UTF-8
293
3.046875
3
[]
no_license
#! /usr/bin/env bash set -euo pipefail install_misc() { brew install libtool } install_cmake() { brew install cmake } install_redis() { brew install libhiredis libev } main() { set -x brew update install_misc install_cmake install_redis set +x } main
true
f9270670792b4dd15f7d8eb17693999eca6892e0
Shell
eisensheng/django-emarsys
/update-requirements.sh
UTF-8
404
2.890625
3
[ "MIT" ]
permissive
#!/usr/bin/env sh # install pip-tools' future branch that has pip-compile if ! command -v pip-compile >/dev/null 2>&1; then pip install --upgrade pip pip install git+https://github.com/nvie/pip-tools.git@future fi for name in runtime testing; do pip-compile --annotate \ --output-file "requirements...
true
3bd1b6cbd58957913d30837843eb02f1249eb858
Shell
Starbirth/Linux
/30_print_user_ids.sh
UTF-8
1,381
4.0625
4
[]
no_license
<<Documentation NAME : V.Karthikeyan DATE : 18.05.2021 DESCRIPTION : Count the number of users with user IDs between the given range on the system INPUT : ./30_print_user_ids.sh 100 10000 OUTPUT : Total count of user ID between 100 and 10000 is : 28 Documentation #!/bin/bash arr=...
true
76a6e1b29deea9a82feb594b8f54d03c96a5f634
Shell
jrussell9000/NeuroScripts
/Shared/sah_fs_scripts/freersurferScripts/_081_LONG.sh
UTF-8
3,215
3.140625
3
[]
no_license
#!/bin/bash ############################################################################################################################################## # Longitudinal Freesurfer recon-all # Running on THOR server # Called by other script - freesurferLong_submitScript.sh # Created by Sara Heyn (sheyn@wisc.edu) # Las...
true
f24b79a1962933af38dccbe817b973fde123c10a
Shell
mkolesnik/lighthouse
/package/lighthouse-agent.sh
UTF-8
259
2.734375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e -x trap "exit 1" SIGTERM SIGINT LIGHTHOUSE_VERBOSITY=${LIGHTHOUSE_VERBOSITY:-1} if [ "${LIGHTHOUSE_DEBUG}" == "true" ]; then DEBUG="-v=3" else DEBUG="-v=${LIGHTHOUSE_VERBOSITY}" fi exec lighthouse-agent ${DEBUG} -alsologtostderr
true
8efb704c8f25771a4869861b3cd0258f37d5964f
Shell
alice-mm/shellcheckw
/bin/shellcheckw-apply-to
UTF-8
4,283
4.1875
4
[]
no_license
#! /usr/bin/env bash ##### # Alice M. # www.alicem.net # github.com/alice-mm/shellcheckw ##### unset -v GIT declare -r GIT=(git) # Names of constants that hold necessary programs. unset -v DEPS declare -r DEPS=( GIT ) unset -v must_exit for constname in "${DEPS[@]}" do if ! type "${!constname}" &> /dev/nu...
true
e63f9d549e8f9175de6b7d412f34cd83db1ada7a
Shell
protonesso/conary
/scripts/gendocs
UTF-8
359
2.546875
3
[ "Apache-2.0" ]
permissive
#!/bin/sh thisdir=$(dirname $0) topdir=$(cd $thisdir/.. 2> /dev/null && pwd -P;) export PYTHONPATH=$topdir echo "Creating public documetation in doc/public_api" $thisdir/epydoc --public --html conary -o ../doc/public_api/ echo echo echo "Creating developer documetation in doc/developer_api" $thisdir/epydoc --developer ...
true
46b754c11fac2fb39203824cecb55852e3a279f0
Shell
MedicineYeh/axiom-beta-env
/runQEMU.sh
UTF-8
6,266
3.90625
4
[ "MIT" ]
permissive
#!/bin/bash # Copyright (c) 2017, MIT Licensed, Medicine Yeh SCRIPT_PATH="$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")" source "${SCRIPT_DIR}/settings.sh" COLOR_RED='\033[1;31m' COLOR_GREEN='\033[1;32m' COLOR_YELLOW='\033[1;33m' NC='\033[0;00m' # Use PATH to automatically solve the binary path problem. Export vars...
true
347b35d77784191e072730228c57d6361e8e73cf
Shell
wheatgenetics/adminScripts
/checkin_ksu_gbs_data.sh
UTF-8
1,339
3.125
3
[]
no_license
#/bin/bash cd /bulk/mlucas/incoming mkdir $1 echo $1 date echo "Downloading GBS data from Basespace" /homes/mlucas/bs-cp -q --write-md5 //./Project/$1/samples/$1 $1 echo "Verifying checksums" md5sum -c $1/md5sum.txt echo "Backing up raw data to NAS" rsync -av $1 mlucas@129.130.89.146:/volume3/gbs_permanent/KSU_Genomics...
true
eb8f8029b091585b8d10f516fa5cef9039489541
Shell
rminnich/chroagh
/installer/ubuntu/prepare
UTF-8
3,282
4
4
[ "BSD-3-Clause" ]
permissive
#!/bin/sh -e # Copyright (c) 2013 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # This is a distro-specific continuation of the prepare.sh script. PKGEXT='deb' DISTROAKA='debian' # install_dist: see install() in pr...
true
bc75d6325ab6292b688ae90d83aa23fb52327e3a
Shell
thatvirtualboy/HorizonCollector
/HorizonCollector.sh
UTF-8
10,526
3.78125
4
[]
no_license
#! /bin/bash # # Horizon Collector for Mac by Ryan Klumph # Please report any issues to Ryan on Twitter (@thatvirtualboy) # Changelog and source available at https://github.com/thatvirtualboy/horizoncollector # www.thatvirtualboy.com # clear echo "+--------------------------------------------------------------------+"...
true
1558b5eca17f280d251e050ec0b019197de1a029
Shell
mmcardle/statsdpy
/etc/statsdpy/statsdpy.init
UTF-8
826
3.59375
4
[ "Apache-2.0" ]
permissive
#! /bin/sh # /etc/init.d/statsdpy ### BEGIN INIT INFO # Provides: statsd # Required-Start: $local_fs $remote_fs $network $syslog # Required-Stop: $local_fs $remote_fs $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: starts the statsdpy server # Description: ...
true
d2449b1f8592dd93a1fe4b357e1799797d3f4cd2
Shell
yuyongpeng/install_shell
/openstack/openstack_install.sh
UTF-8
13,758
3.078125
3
[]
no_license
#!/bin/bash # # CentOS 7 # OpenStack = mitaka # node = controller # # # 包含 配置信息 cd $(dirname $0) . openstack_config.sh #----------------------------[ 安装yum源 ]---------------------------------------- #当使用RDO包时,我们推荐禁用EPEL,原因是EPEL中的更新破坏向后兼容性。或者使用``yum-versionlock``插件指定包版本号。 yum install -y wget vim expect cd /etc/yum.r...
true
33498c0363656ae1116a7bf1be3815973519938f
Shell
tbd-ci/tbd
/tbd-history
UTF-8
141
2.65625
3
[]
no_license
#!/bin/bash IFS=$'\n' git log --pretty=tformat:'%h %s' | \ while read -r line do sed "s/\(^[^ ]*\)/\1 $(tbd-status \\1)/g" done | less
true
59498ebbdee8965c5524ae72e0538a238a88c4b2
Shell
CL-9a/wikiaArchiver
/archiveXmlCurrent.sh
UTF-8
686
3.796875
4
[]
no_license
#!/bin/bash ## download all the pages of a wikia / fandom.com's wiki in xml format. ## TODO: script to update archive from the Special:RecentChanges page ## https://community.fandom.com/api/v1/ archiveType="xmlCurrent" source ./init.sh source ./functions_api.sh echo "fetching pages" pages="$(getAllPages "$basepath")"...
true
f420dc1ca99fd2bb655376120d0624547098faa7
Shell
h2non/heroku-buildpack-binary-download
/bin/detect
UTF-8
197
3.171875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # bin/detect <build-dir> file='.release' [ ! -z $RELEASE_FILENAME ] && file=$RELEASE_FILENAME if [ -f $1/$file ]; then echo "BinaryDownload" exit 0 else exit 1 fi
true
4a2b850649ca4e121cfe7684d9ca0f730d61f4b0
Shell
taniguti/Services_on_macOS
/mail/setup-scripts/install-mail-service
UTF-8
3,259
4.21875
4
[ "MIT" ]
permissive
#!/bin/bash #- #- install-mail-service #- -C path to CA-CERT #- -K path to Server Certificate private key #- -S path to Server Certificate file #- -H name of mail server #- -h : show this message. #- #- But if your server has certificates of let's encrypt, #- This script will use it automatically. #- So you just t...
true
a0234db4870e8bab71e555d3e03be1a36573aa97
Shell
Macelot/CriauserLinux
/1_cria_curso.sh
UTF-8
849
3.40625
3
[]
no_license
#!/bin/bash #-----usuarios no SO #verificar qual o ultimo numero no sistema com o comando: cat /etc/passwd #geralmente o último é 1001 em uma instalação padrão com um usuário, #para garantir vamos iniciar em 1090 #serão criados os usuários conforme o conteúdo do arquivo alunos.txt #a senha será 123 para todos. num=109...
true
cee6507ec2e3ae8ca541382a2c909421c2cd6e7f
Shell
YYMo/sdn_project
/tools/install_memorylimit.sh
UTF-8
390
2.578125
3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
//install cgroup sudo apt-get install cgroup-bin //Make a cgroup for user mininet: sudo cgcreate -a mininet:mininet -t mininet:mininet -g memory:mininet #This should have created a group (a directory) at /sys/fs/cgroup/memory/mininet //set the MAX memory to use echo 100 > /sys/fs/cgroup/memory/mininet/memory.limit_by_b...
true
56c51be2a46ead24b51b353d7983e4f31781a47b
Shell
ambianic/ambianic-rpi-image
/pi-gen-stage-ambianic/01-docker/02-run.sh
UTF-8
428
2.953125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -e # # Enable picam access for docker and ambianic user # # set bash flags: e - fail on unset vars, x - verbose, u - fail quick set -exu # grant all users accesss to video group # See more here: https://www.losant.com/blog/how-to-access-the-raspberry-pi-camera-in-docker # copy system rules file to tar...
true
a3655f3f70adddd36127d63850f3d0180e4b1a6f
Shell
a114tw123/embedded
/1_create_sdcardImg.sh
UTF-8
1,810
3.078125
3
[]
no_license
#!/bin/bash file="./sdcard.img" OldFile="./sdcard.img.OLD" sdSize=150M p1Size=10M p2Size=120M Debug=0 p1_sector=0 p2_sector=0 p3_sector=0 p1_offect=0 p2_offect=0 p3_offect=0 p_Sector_Size=0 [ -f $OldFile ] && rm -rf $OldFile [ -f $file ] && mv $file $OldFile fallocate $file -l $sdSize chmod 777 $file cat > /tmp/f...
true
16ccb56059b7dffd748b8a450248e4bc7ac34e07
Shell
NikkiSatmaka/dotfiles
/private_dot_local/private_bin/private_executable_wifitoggle
UTF-8
303
2.75
3
[]
no_license
#!/usr/bin/env sh if [ $(nmcli radio wifi) = 'enabled' ]; then nmcli radio wifi off notify-send -i network-wireless-none "Wireless" "Wireless disabled" echo "wifi off" else nmcli radio wifi on notify-send -i network-wireless-none "Wireless" "Wireless enabled" echo "wifi on" fi
true
dd9a8cb6610c85c3d880b13c3804f1eb43d215a3
Shell
linux-on-ibm-z/scripts
/PHP/8.1.6/build_php.sh
UTF-8
16,093
4.1875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # © Copyright IBM Corporation 2022. # LICENSE: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) # # Instructions: # Download build script: wget https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/PHP/8.1.6/build_php.sh # Execute build script: bash build_php.sh (provid...
true
afea345bc40d372f243c01cf6d0b577c1b9bdf8b
Shell
josephholsten/nixpp
/bin/b
UTF-8
2,164
4.03125
4
[ "ISC" ]
permissive
#!/bin/sh # b - load named files in an editor if [ x != x"$DEBUG" ]; then set -x fi # nvimfs fuse mount point nvimfs="$HOME/.config/nvim/neovimfs" ## Helper functions usage() { echo 'usage: b [+lineno] file...' 2>&1 exit 1 } nvim_clients() { find "$nvimfs/clients" \ -depth 1 \ -type...
true
4f1dafa5eaceeb51bdfbc8a2484cce65bfef33e9
Shell
m-shayanshafi/Biscotti
/nsdi-eval-reruns/FedSys_vs_Biscotti/azure-deploy/runEval.sh
UTF-8
557
2.875
3
[]
no_license
#!/bin/sh # Quick number of dimensions key: # Creditcard => 25 # MNIST => 7850 # For others look into dataset.py in ML/Pytorch let nodesInEachVM=$1 let totalNodes=$2 let dimensions=$3 let numberOfRuns=$4 for (( run = 2; run < $numberOfRuns; run++ )); do destFolder=LogFiles_$run rm -rf $destFolder # rm -rf /hom...
true
76836dd0048d30825b4e4f44acbf82a374cbdcb8
Shell
DrCapt/kmer-ngs-results
/bin/collect_taxids.sh
UTF-8
342
3.109375
3
[]
no_license
#!/bin/sh for srr in `cat $1` do wget -O $2/$srr.xml https://trace.ncbi.nlm.nih.gov/Traces/sra/?run=$srr\&retmode=xml echo -n $srr, xmllint --format $2/$srr.xml | grep species | tr -d '[' | tr -d ']' | sed -r 's/.*tax_id="([0-9]+)".*name="([A-Za-z0-9. -]+)".*total_count="([0-9]+)".*/\1,"\2",\3/g' | sort -rn -k 3 -t...
true
8f4cbd446e2c4a4b025e90ae8bddf37a13274a3c
Shell
mindspore-ai/mindspore
/tests/ut/python/cachetests/cachetest_lib.sh
UTF-8
12,762
3.6875
4
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license", "MPL-1.0", "OpenSSL", "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause-Open-MPI", "MIT", "MPL-2.0-no-copyleft-exception", "NTP", "BSD-3-Clause", "GPL-1.0-or-later", "0BSD", "MPL-2.0", "LicenseRef-scancode-f...
permissive
#!/bin/bash # Copyright 2019-2021 Huawei Technologies Co., Ltd # # 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 applicable...
true
83c2fb6a5bcf85833d5742e4fdd0e45140892e16
Shell
tdzard94/project-generator
/project-generator/project-generator.bash
UTF-8
4,707
2.859375
3
[]
no_license
#!bin/bash yarn init -y mkdir routes controllers models middleware constants helpers config for folder in $(ls -d */) do touch $folder/index.js done yarn add express dotenv mongoose helmet esm cors yarn add -D morgan eslint touch server.js index.js #index.js echo " // eslint-disable-next-line no-...
true
9fd62cd5dedb131045e9525d0961a95df3a86f37
Shell
fabio-mon/bbbbAnalysis
/mlskim/mvatraining/runTraining.sh
UTF-8
641
3.046875
3
[]
no_license
YEAR=$1 TRAININGID=$2 mkdir mylogs if [ "$TRAININGID" == "0" ] ; then ##GGFKiller python TrainGGFKiller.py --config ../config/outputskim_${YEAR}.cfg --case NtuplesV7 | tee "mylogs/training_GGFKiller_${YEAR}.txt" elif [ "$TRAININGID" == "1" ]; then ##MVA Cat1 python TrainGGFMVANLO.py --config ../config/output...
true
8620772f3f217743e6a1e3bf4f6758fc6b3ae146
Shell
tla/stemmaweb
/bin/www-docker.sh
UTF-8
627
2.9375
3
[]
no_license
#!/bin/bash # Generate `env.js` echo -e "\e[1;32mGenerating env.js...\e[0m" ./generate-frontend-env.sh > www/src/js/env.js # Start serving the static HTML files on port 5000 echo -e "\e[1;32mStarting to serve static HTML files on port 5000\e[0m" python -m http.server --directory=www 5000 & # Start the middleware cd ...
true
6ea8d05373fd60a50907791f6d4d236e324ad50d
Shell
divi255/cctvproxy
/cctv-proxy.sh
UTF-8
987
4.03125
4
[ "MIT" ]
permissive
#!/bin/sh [ "x$PYTHON3" = "x" ] && PYTHON3=python3 CONFIG=/usr/local/etc/cctv_proxy.yml while [ $1 ]; do key="$1" case $key in -f) shift CONFIG=$1 shift ;; start|stop|restart|launch) CMD=$1 shift ;; *) CMD= shift ;; esac done if [ ! -f ${...
true
1834b3879ef37b2cabc26ce36045fb6b0a80a292
Shell
mlyszczek/builder-tc
/create-package.sh
UTF-8
1,177
3.484375
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh umask 022 create_native() { cp -r ${tc_path} tmp/usr/native-toolchain chmod a+rX -R tmp/usr/native-toolchain cp native-control.template tmp/CONTROL/control sed -i "s/\${ARCH}/${arch}/g" tmp/CONTROL/control } create_cross() { path=`echo "${tc_path}" | sed "s/\\${CT_TARGET}/${ct_target}/...
true
4e9a3b37a61e632e092eb725da0c1da9808db793
Shell
deefour/dotfiles
/mac.sh
UTF-8
3,676
2.90625
3
[]
no_license
#!/usr/bin/env bash source "brew.sh" # ~/.macos — https://mths.be/macos # Close any open System Preferences panes, to prevent them from overriding # settings we’re about to change osascript -e 'tell application "System Preferences" to quit' # Ask for the administrator password upfront sudo -v # Keep-alive: update ...
true
4c55e702686c3be8d8858f734f37b342a8a65af6
Shell
floriandejonckheere/hdaps-rotate
/hdaps-rotate-execute.sh
UTF-8
332
3.453125
3
[]
no_license
#!/usr/bin/sh # # hdaps-rotate-execute - Execute command on rotate # # Florian Dejonckheere <florian@floriandejonckheere.be> # ROTATE=$1 case "$1" in "left") ROTATE="right" ;; "right") ROTATE="left" ;; esac for DISPLAY in $(xrandr | sed -n '/connected/{s/^\([A-Z]*[0-9]*\) connected.*$/\1/p}'); do xrandr -...
true
fe4a8ffcf2f062f99ef11d7ae1d16432d42de251
Shell
meegoo-tsui/meegoo-buildsys
/tool/shell/clean.sh
UTF-8
1,233
3.71875
4
[]
no_license
#!/bin/bash #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #+ clean.sh #+ clean temp files and termenal #+ author #+ meegoo.tsui@gmail.com, 2012-06-28 #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ current_path=$PWD # 保存原始路径 exe_path=$current_...
true
64ec7f7aa206f433b9f15f3c2579c621dcff996f
Shell
snowflakedb/libsnowflakeclient
/deps/util-linux-2.39.0/tests/ts/cal/column
UTF-8
1,196
3.328125
3
[ "BSD-4-Clause-UC", "GPL-2.0-only", "LicenseRef-scancode-public-domain", "GPL-3.0-or-later", "BSD-2-Clause", "GPL-2.0-or-later", "LGPL-2.1-or-later", "BSD-3-Clause", "Apache-2.0" ]
permissive
#!/bin/bash # # Copyright (C) 2007-2018 Karel Zak <kzak@redhat.com> # Copyright (C) 2023 Thomas Weißschuh <thomas@t-8ch.de> # # This file is part of util-linux. # # This file 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 S...
true
4c6c94c75312e7a89119b81bf9ea932718e43938
Shell
joshcummingsdesign/mac-dev-env
/dotfiles/.zshrc
UTF-8
3,250
2.859375
3
[]
no_license
# ------------ Init ------------ # stop these errors https://github.com/asdf-vm/asdf/issues/266 # & make it fast https://carlosbecker.com/posts/speeding-up-zsh/ autoload -Uz compinit if [ $(date +'%j') != $(stat -f '%Sm' -t '%j' ~/.zcompdump) ]; then compinit; else compinit -C; fi; # ------------ Plugins ----------...
true
dcf2c4c0f6df9369652c71728c0a06df30b27563
Shell
jthelin/Build_cmd
/azure-devops/check_code_style.sh
UTF-8
778
3.859375
4
[ "MIT" ]
permissive
#!/bin/bash # Get the directory path of this script. CMD_HOME=$( dirname "$(realpath -s "$0")" ) REPO_ROOT=${CMD_HOME}/.. cd "${REPO_ROOT}" || exit echo "Check Linux scripts using shellcheck" # https://github.com/koalaman/shellcheck find . -iname '*.sh' -print0 | xargs -0 shellcheck # If files have changed, exit w...
true
abc598b7c894998d3310ba999e4aacf6b04af039
Shell
omakoto/misc
/git-show-local-changed-files
UTF-8
259
3.09375
3
[]
no_license
#!/bin/bash set -e . mutil.sh root=$(git root) cd "$root" branch="$1" base=$(git upstream) merge_base=$(git merge-base $base ${branch:-HEAD}) echo "Upstream: $base" git branch -vv --list --color=always "$branch" git diff --name-status $merge_base $branch
true
60c0ec64ae9d094cf1e4b4b0540f876d8f9725f9
Shell
g104robo/dotfiles
/.bash_aliases
UTF-8
1,120
3.21875
3
[]
no_license
alias cw='cd ~/catkin_ws' alias cs='cd ~/catkin_ws/src' alias cm='CURRENT_DIR=$(pwd) && cd ~/catkin_ws && catkin_make && cd $CURRENT_DIR' #alias cm='pushd ./ && cd ~/catkin_ws && catkin_make && popd' alias ocw='cd ~/omni_ros' alias ocs='cd ~/omni_ros/src' alias ocm='CURRENT_DIR=$(pwd) && cd ~/omni_ros && catkin_make &...
true
f58b122aaa2b27c87755358541b46cc34df7c4f8
Shell
netsaj/setup-ubuntu
/scripts/ubuntu/dependencies/docker.sh
UTF-8
298
2.640625
3
[]
no_license
#!/bin/bash echo "Installing docker..." echo $1 | sudo --stdin apt install --yes docker.io echo "Start docker services" echo $1 | sudo --stdin systemctl start docker echo $1 | sudo --stdin systemctl enable docker echo "adding user to docker group" echo $1 | sudo --stdin usermod -aG docker ${USER}
true
541d39b0f272cf2cb2099904f453b2923bb1f9a0
Shell
rajenchatterjee/FBK_online_APE
/scripts/online_ape_pipeline.sh
UTF-8
3,938
3.296875
3
[]
no_license
#!/bin/bash script_dir=$(dirname $0) source $script_dir/conf_env SRC_EXT="mtsrc" TGT_EXT="pe" TRAIN="1" TUNE="1" TEST="1" LM="1" DATA_DIR="" WORK_DIR="" while [[ $# > 1 ]] do case "$1" in --data_dir) DATA_DIR="$2" shift 2 ;; --work_dir) WORK_DIR="...
true
78c85d3988e8bebc8f2af6f185a3e844fb40fe70
Shell
acoyiu/aigui
/archive/init.command
UTF-8
685
3.046875
3
[]
no_license
# !/bin/bash GREEN='\033[0;32m' NC='\033[0m' echo "" printf "${GREEN}Please drag the target folder containing 'index.svg'.${NC}" read varname echo "Opening $varname ..." TPath=${BASH_SOURCE[0]/'init.command'/''} echo $TPath echo '' unlink "${TPath}target" echo "previous link unlinked (if applicable)." echo '' ln -...
true
89dfbddd0ac0428067feb9bd4cee5f07bf782ae2
Shell
japalvia/mysetup
/bin/i3-load-layout
UTF-8
222
2.640625
3
[]
no_license
#!/bin/bash # Load previously save layout current current workspace# in # /home/jarkko/.layouts/layout-#.json current=$(i3-msg -t get_workspaces | jq -r '.[] | select(.focused==true).name') i3-layout-manager "$current"
true