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
1b5d8d4a8e8938fc866a376077186617002e6266
Shell
cnewcome/scripts
/nexcheck
UTF-8
4,552
3.90625
4
[]
no_license
#!/bin/bash # Benjamin Hodgens 2016-09-01 # `nexcheck` is a framework for independent NEX check scripts, to be run against a Collector or group of Collectors # TODO make it so we can check various attributes globally not just NEX checks, for finding patterns in collector data # ----------------------- README ---------...
true
0bd52364bbc6e1c023c59b0b7daa57a90474e612
Shell
Tools-jusuE404/ribomap
/scripts/include_prerequisites.sh
UTF-8
1,863
3.546875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash cur_dir=`dirname $0` pkg_dir=${cur_dir}/../pkg/ bin_dir=${cur_dir}/../bin/ lib_dir=${cur_dir}/../lib/ mkdir -p ${pkg_dir} mkdir -p ${bin_dir} mkdir -p ${lib_dir} os=$1 if [ "$os" = linux ]; then salmon_url=https://github.com/COMBINE-lab/salmon/releases/download/v0.6.0/SalmonBeta-0.6.0_DebianSqueeze.tar....
true
9c262af5f80316637fb5bcb46b8231a5b554251e
Shell
P-EO/Screensavers
/none/run.sh
UTF-8
363
2.78125
3
[]
no_license
#!/bin/bash if [ -f /etc/systemd/system/screensaver.service ]; then echo "Stopping systemd service..." sudo systemctl stop screensaver echo "Disabling service..." sudo systemctl disable screensaver echo "Removing service..." sudo rm -f /etc/systemd/system/screensaver.service fi echo "Removing daemon ...
true
712daca96025ce96817f4f7e95fbfd9caeb12594
Shell
mediamicroservices/mm
/verifypackage
UTF-8
7,072
3.890625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # verifypackage checks the validity of files created with makebroadcast, # makeyoutube, and makedvd _usage(){ echo echo "$(basename "verifypackage") ${VERSION}" echo "This application will test particular files of a package for compliance with mediaconch policies or ffmpeg-...
true
330f84be04f4be4fa01cc5bf532f487259e9503d
Shell
komutanlinux/kernel
/build-kernel.sh
UTF-8
1,547
3.046875
3
[]
no_license
KERNEL="4.9.14" MAINTAINER_NAME="Aydin Yakar" MAINTAINER_MAIL="aydin@komutan.org" REVISION="1.0~komutan" CPU="16" # CPU to be used for kernel building if [ "$(id -u)" != "0" ]; then echo "Must be root"; exit 1; fi apt-get install fakeroot build-essential ncurses-dev xz-utils libssl-dev bc kernel-package # gpg2 key [...
true
f3db28e6fb2d071d75e42df565ab4eff235bfc8a
Shell
aquast/gndws
/src/main/resources/generatorscripts/gndWSAxis2Generator.sh
UTF-8
798
2.65625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash echo "wsdl Generator for gndWS, using Axis2 Version 1.4.1" export CODEGEN_CACHE=~/axisCodeGenerator/gndWS rm -R $CODEGEN_CACHE/resources/ rm -R $CODEGEN_CACHE/src/ #rm -R $CODEGEN_CACHE/*.* export CODE_BASE=~/git//gndWS/gndws cp $CODE_BASE/src/main/resources/META-INF/gndRequester.wsdl $CODEGEN_CACHE/gndR...
true
61546180ea16156353a27cdb6bd22d40d1d32ea0
Shell
falcon2212/CompetitiveProgramming
/StressTest/test.sh
UTF-8
295
2.921875
3
[]
no_license
#!/bin/bash g++ Solution.cpp -o Solution g++ Brute.cpp -o Brute for ((i = 1;i < 10 ;i++)) do python2 gen.py > inp.in ./Solution < inp.in > outSol.in ./Brute < inp.in > outBrute.in if ! cmp -s outSol.in outBrute.in then echo 'Found failing test!!' break fi done echo 'Correct Answer'
true
954e68881180bb752c141dea268baf0e18ab51b3
Shell
webNeat/gmail-checker
/filter
UTF-8
153
3.03125
3
[]
no_license
#!/bin/bash while IFS='' read -r line || [[ -n "$line" ]]; do ./check $line if [ $? -eq 0 ]; then echo $line >> "$2" fi done < "$1"
true
19dbbe44df4b9a21e610bedabd9b94aad3141848
Shell
diogotito/dotfiles
/bin/openrazer_dbus.bash
UTF-8
354
3.125
3
[]
no_license
#!/usr/bin/bash DPI=${1:-3000} MOUSENAME=${2:-'Razer DeathAdder Chroma'} for device in $(qdbus org.razer /org/razer getDevices); do device_name=$(qdbus org.razer /org/razer/device/"$device" getDeviceName) if [[ $device_name == "$MOUSENAME" ]]; then set -x qdbus org.razer /org/razer/device/"$de...
true
adf8ce8a3bd1f2984b3c5c0002894ebcff9ae751
Shell
caguerra/Burkardt-Fortran-90
/f_src/fem1d/fem1d.sh
UTF-8
256
2.859375
3
[]
no_license
#! /bin/bash # gfortran -c -Wall fem1d.f90 if [ $? -ne 0 ]; then echo "Compile error." exit fi # gfortran fem1d.o if [ $? -ne 0 ]; then echo "Errors while loading fem1d.o" exit fi rm fem1d.o # mv a.out ~/bin/fem1d # echo "Normal end of execution."
true
f55bb5cc22e75b0ee23933698595c15e2c3b8eb0
Shell
matthew-brett/manylinux-builds
/build_sklearns.sh
UTF-8
1,543
3.421875
3
[]
no_license
#!/bin/bash set -e # Manylinux, openblas version, lex_ver source /io/common_vars.sh if [ -z "$SCIKIT_LEARN_VERSIONS" ]; then SCIKIT_LEARN_VERSIONS="0.16.0 0.16.1 0.17 0.17.1" fi CYTHON_VERSION=0.23.4 # Install blas get_blas # Directory to store wheels rm_mkdir unfixed_wheels # Compile wheels for PYTHON in ${P...
true
8c456249bd9569ed2a321faf8f45be67bd1feb20
Shell
WGR7/spinfs
/scripts/string_to_hex.sh
UTF-8
146
2.734375
3
[]
no_license
#!/bin/bash #set -x SCRIPT_DIR=$( dirname $( realpath $0 ) ) OUTPUT_DIR="$SCRIPT_DIR/../output" echo -n "$@" | hexdump -v -e '/1 "%02X "' ; echo
true
f178aceff1602bca11802d0437e4bb7d679b2441
Shell
saadbruno/raspi-dashboard
/scripts/ip_log.sh
UTF-8
853
4.125
4
[]
no_license
#!/bin/bash # script that gets the current ip, and when it was last updated, and saves to a CSV # IMPORTANT: depends on the dynv6 update script. dynv6_file=~/.dynv6.addr6 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" logfile=$DIR/output/ip_log.csv cur_ip6=$(ip -6 addr list scope global | gr...
true
59f0a0ebe0acaed6b25999bb3196d824b41f4174
Shell
madindy/aoide-dac-drivers
/dac_install.sh
UTF-8
3,462
3.484375
3
[]
no_license
#!/bin/bash driver_version="4.9.65" firmware_hash="e4b56bb7efe47319e9478cfc577647e51c48e909" driver_path="/lib/modules/"$driver_version+"/kernel/sound/soc/codecs/sabre9018k2m.ko" kernel_installed=1 driver_installed=1 driver_selected="none" dtoverlay="" dac_current="none" function welcome(){ echo "Welcome..." } functi...
true
dee87e9032dc2c0514ec04a2f594b0800221ec82
Shell
lukeyuan/python
/bin/control
UTF-8
1,591
3.390625
3
[]
no_license
#!/bin/bash -eu set +u function fetchAll { echo "do nothing" } function GetDBInfo { if [[ -e "$OPENSHIFT_REPO_DIR/wsgi/dbinfo" ]]; then rm $OPENSHIFT_REPO_DIR/wsgi/dbinfo fi if [[ -n "$OPENSHIFT_MYSQL_DB_USERNAME" ]]; then echo "DB mysql" >> $OPENSHIFT_REPO_DIR/wsgi/dbinfo echo "OPENSHIFT_M...
true
b72cdb5022da8361fd52079db444fed4c2368534
Shell
sailnfool/func
/scripts/func.cwave.sh
UTF-8
5,920
3.5
4
[]
no_license
#!/bin/bash ######################################################################## # Copyright (C) 2022 Robert E. Novak All Rights Reserved # Modesto, CA 95356 ######################################################################## # # cwave - Define function entry/exit tracking routines that print # indent...
true
2621c14a54cc5454d25bc84b736bc20e63a7a011
Shell
claziss/dotfiles
/bashrc
UTF-8
3,639
2.96875
3
[]
no_license
# .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # Uncomment the following line if you don't like systemctl's auto-paging feature: # export SYSTEMD_PAGER= # User specific aliases and functions module use ~/modulefiles ####################################### # user specific envi...
true
5d1cdb7ba896ca5b1df431c2db6644f45291a0db
Shell
lkipke/configs
/.zshrc
UTF-8
1,385
2.84375
3
[]
no_license
# Path to your oh-my-zsh installation. export ZSH="/Users/levi.kipke/.oh-my-zsh" # Set name of the theme to load --- if set to "random", it will # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/robbyrussell/oh-...
true
5da8fe6653e0239f8534738558ec1f8982baa8d8
Shell
james-grant1/isambard_builds
/namd/default-plumed/install_namd_plumed.sh
UTF-8
649
2.71875
3
[]
no_license
#!/bin/bash #Navigate to namd directory # Assumes you have previously, successfully install namd with # ./install_namd_tcl.sh module swap PrgEnv-{cray,gnu} module load cray-fftw tar -zxvf plumed-2.5.1.tgz cd plumed-2.5.1 ../install_plumed_gnu.sh cd .. export PLUMED_HOME=$PWD/plumed-2.5.1/plumed-gnu export PATH=$P...
true
9c667ea746f4931b19b74949c88f29b3b7d27065
Shell
CodeOpsTech/DesignPatternsCpp
/cpp/opensourcesrcs/ace/docs/tutorials/014/combine.shar
UTF-8
13,732
3.1875
3
[]
no_license
#!/bin/sh # This is a shell archive (produced by GNU sharutils 4.2). # To extract the files from this archive, save it to some FILE, remove # everything before the `!/bin/sh' line above, then type `sh FILE'. # # Made on 2000-03-19 15:00 EST by <jcej@chiroptera.tragus.org>. # Source directory was `/home/jcej/proje...
true
4db6df9667165df28f7543dde87c710916b3335b
Shell
jessicachung/rna_seq_pipeline
/scripts/merge_tophat.sh
UTF-8
514
2.953125
3
[ "MIT" ]
permissive
#!/bin/bash # Merge Tophat outputs accepted_hits.bam and unmapped.bam together for RNA-SeQC fixTophatReads=$1 sampleDir=$2 mergedBam=$3 acceptedHits=${sampleDir}/accepted_hits.bam unmapped=${sampleDir}/unmapped.bam unmappedFixup=${sampleDir}/unmapped_fixup.bam # Index accepted_hits.bam samtools index $acceptedHits ...
true
a9f45e0af42dd1ec7fa621bfcab08d6e5965e0d0
Shell
jyang/google-feedserver
/run.sh
UTF-8
423
2.734375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # build up a classpath containing all the jars in lib/ and dist/ for jar in lib/*.jar dist/*.jar; do CLASSPATH=${CLASSPATH}:$jar done #add "conf" dir to CLASSPATH. thats where adapter and feedserver config files are stored CLASSPATH=$CLASSPATH:conf # This is for the log4j property file CLASSPATH=$CLASSPA...
true
d66808ea4f2196b5775e7076fcb5689c0ca5a9b7
Shell
eyalkoren/apm-integration-testing
/scripts/ci/versions_ruby.sh
UTF-8
628
3.125
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # for details about how it works see https://github.com/elastic/apm-integration-testing#continuous-integration set -ex if [ $# -lt 2 ]; then echo "Argument missing, ruby agent version spec and stack version must be provided" exit 2 fi version_state=${1%;*} version=${1#*;} stack_args=${2//;/ }...
true
f91574f917e1cc4cad12ffdba0cad469aff73314
Shell
neoskypig/opencl-bsp
/linux64/libexec/setup_permissions.sh
UTF-8
2,530
3.421875
3
[]
no_license
#!/bin/bash # (C) 2018 Intel Corporation. All rights reserved. # Your use of Intel Corporation's design tools, logic functions and other # software and tools, and its AMPP partner logic functions, and any output # files any of the foregoing (including device programming or simulation # files), and any associated docum...
true
b47513547999e7a18dd0366dfec7cde6fc1826a1
Shell
benben0413/Anomaly_detection
/Helper/extract_darknet_freatures_c.sh
UTF-8
8,960
3.359375
3
[]
no_license
# automating the feature extraction using Yolo # saving the required things in the correct directory under each data set #!/bin/bash # store the videos in respective folder in '~/dataset/avenue/videos/training' dataset="inhouse" train_test="training" root_folder='/media/hdd2/sukalyan/yolo/yolo_9000/yolo-9000/darkne...
true
17f7b7f353932050f43c6b5c59d79f95e605092d
Shell
williamtsoi1/knative-demos
/setup/config
UTF-8
1,147
2.5625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # cluster name export CLUSTER_NAME="cr" # cluster region export CLUSTER_REGION="us-central1" # cluster zone export CLUSTER_ZONE="${CLUSTER_REGION}-a" # initial cluster size export CLUSTER_START_NODE_SIZE=3 # max cluster size export CLUSTER_MAX_NODE_SIZE=10 # the type of VM used for worker nodes export...
true
722522631629c37d1aaf083ed5c4ef2f5b50d809
Shell
belion-freee/babaloa
/qs
UTF-8
8,224
4
4
[ "MIT" ]
permissive
#!/bin/bash dc=$(which docker-compose) # docker-compose command with full path if [[ -x "$dc" ]]; then : else echo "Please install Docker before run this command." exit 2 fi rm="--rm" # To destroy a container app="app" # describe $application service name from docker-compose.yml db="db" # describe data...
true
18ea02b1f67e026a1a932b51a1aa1ad6ce59f0d9
Shell
delkyd/alfheim_linux-PKGBUILDS
/fragmentarium-git/PKGBUILD
UTF-8
1,387
2.84375
3
[]
no_license
# Contributor: <nixtrian@gmail.com> # Contributor: <philipp.mildenberger <- AT -> student.uibk.ac.at> pkgname="fragmentarium-git" _pkgname="fragmentarium" _gitname="Fragmentarium" pgksourcename="Fragmentarium-Source" pkgver=1.0.0.r19.144.g132c6b5 pkgrel=2 pkgdesc="Fragmentarium is an open source, cross-platform IDE fo...
true
3163c590569fee181f577048b13f81437652ae09
Shell
jayschab/dotfiles
/runrun.sh
UTF-8
745
2.703125
3
[]
no_license
#!/bin/sh tmux has-session -t runrun if [ $? != 0 ] then cd ~/Coding/Rails/runrunit/ tmux new-session -s runrun -n "vim" -d tmux new-window -t runrun:1 -a -n "rails" tmux split-window -t runrun:2.0 -v tmux new-window -t runrun:2 -a -n "workers" tmux split-window -t runrun:3.0 -v tmux se...
true
4a01fb66159d2ecdff64e7ee7c62fc68048bb0cc
Shell
lowzj/Thunder
/install-tomcat.sh
UTF-8
994
2.75
3
[ "Apache-2.0" ]
permissive
echo 'on' echo '=============================================================' echo '$ $' echo '$ Nepxion Thunder $' echo '$ $' echo '$ ...
true
103e08ea9882dfd9528f4bab4c757fcc440e1b51
Shell
holmanb/cgol
/src/c/test/test.bats
UTF-8
843
3.6875
4
[]
no_license
#!/usr/bin/env bats #!/usr/bin/bash # # verifies that inputs produce expected outputs # # ./cgol -i10 -s0 -n > test/expected/test_out/i10 # EXPECTED="$BATS_TEST_DIRNAME/expected/test_out" RECEIVED="$BATS_TEST_DIRNAME/received/test_out" if [ "$BIN" == "" ];then BIN="$BATS_TEST_DIRNAME/../build/cgol" fi ARGS=" -ns0 -d $...
true
1dcde07f4c0953d38bceb649f05eb1e892ac1905
Shell
tiagoantao/skates
/containers/skates-base/copy/sbin/server_run.sh
UTF-8
408
2.78125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash /sbin/link_mutable_files.py if [ -e /sbin/prepare_magic.sh ]; then bash /sbin/prepare_magic.sh fi #in the (probable) case /var/log is a VOLUME if [ ! -e /var/log/supervisor ]; then mkdir /var/log/supervisor #a few extras, should not be here mkdir /var/log/nginx mkdir /var/log/zabbix ...
true
860a4d2ea24c4b345d8f9b16193c386a4d8352fa
Shell
ministryofjustice/fb-acceptance-tests
/integration/bin/load-test-datastore
UTF-8
1,321
3.484375
3
[]
no_license
#!/usr/bin/env bash user_identifier=$1 number_of_requests=100 concurrency=100 BASEDIR=$(dirname $0) access_token=$($BASEDIR/find_access_token $user_identifier) domain=$2 if [[ -z $domain ]]; then domain="http://localhost:10001" fi if [[ $access_token =~ "You need to create" ]]; then echo "access token must be s...
true
b5cf94d032399e11277fe7b7ab90fc9fad21cbde
Shell
clongbupt/software_install
/lnmp
UTF-8
2,660
3.6875
4
[]
no_license
#!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH # Check if user is root if [ $(id -u) != "0" ]; then printf "Error: You must be root to run this script!\n" exit 1 fi printf "=========================================================================\n" printf "Man...
true
0e0f26e39d90aedbb9c30be3776f358b1ed3da87
Shell
eldiaboloz/i3wmonarch
/scripts/i3blocks/tapo-p110/run.sh
UTF-8
789
2.9375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -euf -o pipefail [ ! -d "$HOME/dev/i3wmonarch/scripts/i3blocks/tapo-p110/venv" ] && { python -m venv ~/dev/i3wmonarch/scripts/i3blocks/tapo-p110/venv && ~/dev/i3wmonarch/scripts/i3blocks/tapo-p110/venv/bin/python -m pip install -e 'git+https://github.com/eldiaboloz/TapoP100.git@dev#egg=P...
true
a59d62c971d06b705046d7618fa4a15d5583e400
Shell
Frankline-Sable/Bash-File-Sort
/sort.sh
UTF-8
817
3.375
3
[]
no_license
#!/bin/bash # # # ################################################ # # Functions # ################################################ DIR=$(pwd) music() { if [ -e "$DIR/music" ];then echo -n "" else mkdir music fi mv *.mp3 "$DIR/music" 2>/dev/null mv *.flac "$DIR/music" 2>/dev/null } images() { if [ -...
true
0aa274bc28718772070520aa16ddc16f17f6130e
Shell
theoapp/theo-node
/scripts/buildDockerImages.sh
UTF-8
2,895
4
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e set -x if [ -z "$DOCKER_IMAGE" ]; then DOCKER_IMAGE=theoapp/theo fi if [ -z "$DOCKER_TAG" ]; then DOCKER_TAG=$(cat package.json \ | grep version \ | head -1 \ | awk -F: '{ print $2 }' \ | sed 's/[",]//g' \ | tr -d '[[:space:]]') fi is_valid_tag () { if [[ "$DOCKER_TAG" =~...
true
cdb16694941284ec86e8cf80de4f7554b695790b
Shell
ChristopherSaid/3-Parcial
/4.sh
UTF-8
7,089
3.28125
3
[]
no_license
#!/bin/bash base='\033[0m' RED='\033[0;31m' BLUE='\033[0;34m' GREEN='\033[0;32m' c1=0 c2=0 c3=0 c4=0 c5=0 c6=0 v1=(" " " ") v2=(" " " " " ") v3=(" " " " " " " " " ") h1=(" " " " " " " ") h2=(" " " " " " " ") h3=(" " " ") vis(){ clear echo " 5 ╔═══╗ ║ ${v3[0]} ║ ...
true
10258bc6f191a142c15f70fb03d8e95d35134e32
Shell
ClaireLoison/lipid_ionINTERACTION
/scratch/boundIons/compileDataFileToPlot_slipid.sh
UTF-8
1,536
3.03125
3
[]
no_license
# Script to compile the Bound Cation Charge vs Order Parameter data for plotting with gnuplot # # Expects ONE input, namely the name of the atom until which the charge distribution is to be integrated. # # Usage: ./compileDataFileToPlot_slipid.sh M_G3P2_M untilHere=$1 ./getDataRows_pureSystem.sh \ lipidwiseOPsVSti...
true
cbc2c480c90804bf0f143c2f1204150f1b0deab1
Shell
number23/iLibrary
/clojure/clojure.update
UTF-8
1,374
3.25
3
[ "Apache-2.0" ]
permissive
#!/bin/sh export CUR="$PWD" export DST=$HOME/opt/clojure export TARGET=$HOME/.clojure checkout () { cd $DST true > $DST/repositories.list for i in $(ls -l | grep '^d' | awk '{print $NF}') do cd $i git pull url=$(git remote -v | head -1 | awk '{print $2}' | sed 's/git:/https:/g'...
true
83388e920b1078f881969dc95fb2e3d702df4e12
Shell
brliron/another-libPE
/init.sh
UTF-8
436
3.171875
3
[]
no_license
PYTHON= if [ ! -d udis86 ] || [ ! -f udis86/autogen.sh ]; then echo -e "Error: the udis86 directory doesn't exist.\nDid you clone this project with --recursive?" 1>&2 exit 1 fi cd udis86 ./autogen.sh || exit 1 mkdir out -p CONFIGURE_OPTS=--prefix=`pwd`/out if [ " $PYTHON" != " " ]; then CONFIGURE_OPTS+=" --with-p...
true
ad933aab281d24ec1ecd464d49d551d537b5352b
Shell
jmclaughlin-tssg/docker-graceful-exit
/run4.sh
UTF-8
209
2.796875
3
[]
no_license
#!/bin/bash stopServer() { echo "Stopping process - Killing PID $pid" kill -TERM $pid wait $pid } trap "stopServer" TERM node /var/app/test.js& pid=$! echo App PID = $pid ps -ax wait $pid
true
de1c5344f269b527f8502bc93c2d8f9e3cf8ff05
Shell
carbonsphere/dock-privoxy
/run.sh
UTF-8
880
3.71875
4
[]
no_license
#!/bin/sh PRIVOXYDIR=/etc/privoxy EASYLISTA=easylist.script.filter EASYLISTB=easylist.script.action #FORWARD_DNS=tor #FORWARD_PORT=5566 PRIVOXY_CONF=/etc/privoxy/config FORWARD_RULE="forward / " RET=$(grep "^${FORWARD_RULE}" ${PRIVOXY_CONF}) if [[ ("$FORWARD_DNS" != "") && ("FORWARD_PORT" != "") ]]; then e...
true
5752a807283d4cbd61261cfbd73e3848c34c1a05
Shell
AlexisCangelosi/INTECH
/VPN/x509/add_x509_server.sh
UTF-8
2,856
3.34375
3
[]
no_license
#!/bin/bash ############################################################################### # Auteur : Alexis Cangelosi # Promotion : ITI14M SR # Theme : Evaluation de fin de semestre # Titre : Création x509 serveur [AUTOMATISATION] ############################################################################### ######...
true
391894b3c795fb2c55567f8666c45e2f04b05561
Shell
DanielSchuette/bin
/connect_cheops.sh
UTF-8
299
3.203125
3
[]
no_license
#!/bin/sh # The SSH password is the one that you use with the University's webmailer. DEFAULT_USER=dschuet7 CLUSTER_ADDR=cheops.rrz.uni-koeln.de USER="$DEFAULT_USER" if [ -n "$1" ]; then USER="$1" fi printf "Connecting user %s to %s\n" "$USER" "$CLUSTER_ADDR" ssh -Y "${USER}@${CLUSTER_ADDR}"
true
1b46dfec161e1aab9eb0f471247e38fabe280435
Shell
RealOrangeOne/advent-of-code-2020
/scripts/run.sh
UTF-8
495
3.40625
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e TIMEFORMAT="time %3R" for rust_dir in [0-9]*/rust; do echo "> Pre-compiling $rust_dir" cd $rust_dir && cargo build --release -q && cd - > /dev/null done for task_dir in [0-9]*; do for py_file in $task_dir/*.py; do echo -e "\n> $py_file" time python3 "$py_file...
true
1b1fa95c22880de18a3e8fc4b82014bfa6539eaa
Shell
tomitribe/tsm
/tsm/src/main/script/tsm
UTF-8
1,472
3.859375
4
[]
no_license
#! /bin/bash cygwin=false case "`uname`" in CYGWIN*) cygwin=true;; esac # # capture environment setup or default from this script location # TSM_HOME="${TSM_HOME:-`cd $(dirname $0) && cd .. && pwd`}" # # capture java path # if $cygwin; then [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --absolute --windows "$JAVA_HO...
true
cd181bb7b3a96829cad36d0c8d749ea97a3d6799
Shell
dadaurs/dots
/bar/scripts/lemonbar/ws_blocks
UTF-8
601
3.28125
3
[]
no_license
#!/bin/sh pkill -f 'lemonbar .* current_desktop_name' box_size="20" edge_offset=5 offset="$edge_offset" bg_color="#072B3F" fg_color="#EAC6DD" color1="" color2="" for name in $(bspc query -D -d '.occupied' --names | tr '\n' ' ') do if [ "$name" = "$(bspc query -D -d --names)" ] then color1="$fg_color" color2="$bg_...
true
0753b8c8bd95f07870960012e01e929cee03491f
Shell
sushantthakur/bash-scripts
/scripts/pyramid.sh
UTF-8
792
3.5625
4
[]
no_license
#!/bin/bash ################################ Header Begin ###################################################### #Descriptioan : This program is to build pyramid #Created Date : Thu May 28 08:44:59 PDT 2020 #Version: #Modified by #Modified Date ################################ Header End and Code Begins #########...
true
49052fc0bbd6035ca8f409fd0b6a40aee20d4586
Shell
mball002/cs595-s21
/assignments/Bartels/3/countCookies.sh
UTF-8
1,186
3.5625
4
[ "MIT" ]
permissive
#!/bin/bash input="filteredFiles.txt" output="headerStats.txt" while IFS= read -r line do response=$(grep "HTTP" "$line" | tac) declare -a httpStatus httpStatus=() read -a httpStatus <<< "$response" echo "$line" >> "$output" echo "Terminating status code:" >> $output echo "${httpStatus[1]}" >> "$output" ec...
true
8f1933d906dfadb2dc49f0d9158f873d3bf21140
Shell
nemrod/dotfiles
/.bin/i3blocks/sound
UTF-8
284
2.875
3
[]
no_license
#!/bin/sh [ "$(pactl list short sinks | cut -f2 | cut -d. -f4)" = "analog-stereo" ] && echo -n "Analogue " || echo -n "HDMI " pactl list sinks | grep -P '\tVolume:' | sed -e 's/.*\/ \+\([0-9]\+%\).*/\1/g' echo [ -n "$(pactl list sinks | grep 'Mute: yes')" ] && echo \#F7CA88 || echo
true
4545be730aab7e23aa38b2310a0fb4477708eace
Shell
Dan-Ju/pca_projection
/runPCA_JZ.sh
UTF-8
812
3.078125
3
[]
no_license
#!/bin/sh ## Pipeline for PCA ## Run on PMACS cluster source $1 # arguments in template of runPCA_arg.txt cd $dir wd=${dir}/${out} # Get sample IDs from annotation file and append population tag 'PRO' awk 'FNR>1 {print $1,"PRO"}' $anno > $wd/pro_panel.tsv ## Concatenate sample ID and population text files from 1KGP a...
true
4c481d6f01e56f24d66a72618625d41783b56878
Shell
passcoder/dotfiles
/bash/.bash_map
UTF-8
2,307
3.53125
4
[]
no_license
#!/bin/bash # ----------------------------------------------------------------------------- # change keyboard settings # ----------------------------------------------------------------------------- # if not an ssh connection if [ -z "$SSH_TTY" ] && \ [ -z "$SSH_CONNECTION" ] && \ [ -z "$SSH_CLI...
true
04b96b6359a2038c3571c117a4a24f2154423ac0
Shell
harish111992/Linux_scripts1
/Unintsall_Tomcat.sh
UTF-8
759
3.234375
3
[]
no_license
#!/bin/bash # - # PAXEXEL Tomcat uninstallation scriptlet # mario.chamorro@parexel.com # - PROGRAM=`basename $0` echo -n "$PROGRAM: uninstalling tomcat from server "; sleep 2; for NUM in `seq 1 10` do RV_PS=`ps --no-heading -u tomcat${NUM}`; RC_PS=$?; [ $RC_PS -eq 0 ] && /etc/rc.d/init.d/tomcat.${NUM} stop done for ...
true
4b837ea555a34240ae1607603b27c63ca969988e
Shell
BarbUk/bin
/player.sh
UTF-8
1,810
3.9375
4
[]
no_license
ARGUMENT="$1" get_mpd_status(){ if [ $(mpc status | grep -oP "\[(.*)\]") == "[paused]" ]; then mpd_status=0 else mpd_status=1 fi } get_spotify_status(){ ID=$(pgrep spotify) if [ ${#ID} -gt 2 ];then if [ $(playerctl status) == "Paused" ]; then spotify_status=0...
true
bb977f28a3022b2223276098f5983894f9c24a2d
Shell
crayflames/programing
/shell/pktgen_mod.sh
UTF-8
5,727
3.171875
3
[]
no_license
#! /bin/bash ## pktgen.conf -- configuration for send on devices tx_aborted_err=0 tx_carrier_err=0 tx_err=0 rx_crc_err=0 rx_err=0 rx_frame_err=0 rx_length_err=0 rx_missed_err=0 rx_over_err=0 usage(){ #echo "Function: port to port || mac to mac. " #echo " Counter by User setting. " echo "Please follow forma...
true
2aadf77e5bbe3c1ed5427dd4210e08c1470e7bdd
Shell
xwzliang/unix_power_tools
/05_processes_and_the_kernel/01_job_control/02_jobs_list_background_jobs.bats
UTF-8
1,221
3.5
4
[]
no_license
#!/usr/bin/env bats @test "test" { sleep 1 & run echo $! # $output is PID, exp: 2058 [[ "$output" =~ [0-9]+ ]] sleep 2 & run jobs # Every background process is assigned a job number by your shell. This number is unique only for your current session expect=$(cat <<- _EOF_ [1]- Running sleep 1...
true
cfa89c9fbdce2ed4b0949f4bd1342a5e9c42256c
Shell
satra/simple_workflow
/Simple_Prep.sh
UTF-8
929
3.09375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Setup standalone python environment echo "Setting up standalone conda Python environment" if [ `uname` == 'Darwin' ]; then curl -sSL -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh else curl -sSL -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda2-...
true
79f68b0f8215a7521b5f140c01e9065260e8106c
Shell
ubun222/Aicns
/icns.sh
UTF-8
1,067
2.78125
3
[]
no_license
index=$(dirname "${0}") #因bash -c后的参数以$0开始而并非$1,所以clone下来的要手动把$0改成$1来使用,本文件仅适用于readme内的运行方式 cd $index target=$(echo "${0}"| sed 's/$index//') mkdir icons.iconset sips -z 16 16 $target --out icons.iconset/icon_16x16.png sips -z 32 32 $target --out icons.iconset/icon_16x16@2x.png sips -z 32 32 $target ...
true
4cadecdf6697559a0fe6c7eee113afc635b4c017
Shell
shagbag913/scripts-1
/bootleg-sargo.sh
UTF-8
2,813
2.859375
3
[]
no_license
#!/usr/bin/env bash bash <(curl https://raw.githubusercontent.com/stebomurkn420/scripts/master/install-build-tools.sh) mkdir bootleg cd $HOME/bootleg repo init -u https://github.com/BootleggersROM/manifest.git -b pasta repo sync --force-sync -j32 rm -rf device/google/bonito rm -rf hardware/qcom/audio rm -rf devic...
true
4181a7d657a0bfdcfbae3d07f1a81dca154e3030
Shell
ray-project/ray
/ci/env/install-dependencies.sh
UTF-8
20,611
3.75
4
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
#!/usr/bin/env bash # Push caller's shell options (quietly) { SHELLOPTS_STACK="${SHELLOPTS_STACK-}|$(set +o); set -$-"; } 2> /dev/null set -euxo pipefail SCRIPT_DIR=$(builtin cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd) WORKSPACE_DIR="${SCRIPT_DIR}/../.." pkg_install_helper() { case "${OSTYPE}" in darwin*) ...
true
23f6a9ad9acc0482246768fbb23bf196fd0042a8
Shell
fabiojmendes/shell-goodies
/dynv6/dynv6.sh
UTF-8
850
3.9375
4
[ "BSD-2-Clause" ]
permissive
#!/bin/bash -e hostname=$1 if [[ -z "$hostname" || -z "$DYNAV6_TOKEN" ]]; then echo "Usage: DYNAV6_TOKEN=<auth-token> $0 your-name.dynv6.net" exit 1 fi file=/var/cache/dynv6/addr4 if [[ ! -f "$file" ]]; then mkdir -p $(dirname $file) touch $file fi old=$(<$file) # address=$(dig +short myip.opendns.com @res...
true
602e6b7b06cd403f95a09a3631912ecc7b61d974
Shell
ryanwoodsmall/shell-ish
/arm/arm-dev-setup.sh
UTF-8
1,974
2.859375
3
[]
no_license
#!/bin/bash whoami | grep -qi '^root$' || { echo 'please run as root' exit 1 } cd /root # dpkg-query -f '${binary:Package}\n' -W | cut -f1 -d: dpkg > /root/pkglist.initial apt-get purge -y \ bash-completion \ unattended-upgrades \ apparmor \ apparmor-easyprof \ apparmor-easyprof-ubuntu \ click-apparmo...
true
84759b962a88fb10f7cacc4502b82e62477a8eb8
Shell
N3WWN/testing
/repo_compare/mkrepofile.sh
UTF-8
11,641
3.265625
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # Simple script to produce valid Rocky + RHEL repos with nice names # (so the repo compare html script can be run against them) # # We assume we're running on a RHEL 8 box with a valid entitlement # (and that /etc/yum.repos.d/redhat.repo exists) RHREPOFILE='/etc/yum.repos.d/redhat.repo' # what each RedH...
true
02339ffa6acf3b4cbd097d9de57995519ab78edd
Shell
gerchardon/config
/.alias.d/setproxy_fn
UTF-8
3,539
3.609375
4
[]
no_license
#!/bin/bash # Clean all previous function (enable reload lib) unset -f proxy-set proxy-clear proxy-flip proxy-use _proxy-env _proxy-unenv function proxy-set(){ proxy-clear _proxy_no=${DEFAULT_NO_PROXY-localhost,.local,127.0.0.0/8,192.168.0.0/16,172.16.0.0/12,10.0.0.0/8} DEF="proxy:80" # If localhost 3128 is o...
true
0a99800d184306496d092c5e3d67c4e25c8464e5
Shell
ailispaw/photon-box
/scripts/install_vboxguest.sh
UTF-8
1,245
3.03125
3
[]
no_license
#!/bin/sh set -e KERNEL_VERSION=3.19.2 VBOX_VERSION=4.3.28 cd /usr/src curl -OL https://www.kernel.org/pub/linux/kernel/v3.x/linux-${KERNEL_VERSION}.tar.xz tar xPJf linux-${KERNEL_VERSION}.tar.xz cd linux-${KERNEL_VERSION} curl -L https://raw.githubusercontent.com/vmware/photon/master/support/package-builder/config ...
true
b519262b413473775b6516135d134d7af8d4b14d
Shell
jackgopack4/pico-blast
/source/src/objtools/test/objmgr/test_feat_tree.sh
UTF-8
750
3.46875
3
[]
no_license
#! /bin/sh # $Id: test_feat_tree.sh 337949 2011-09-15 15:41:32Z vasilche $ # base="${1:-/am/ncbiapdata/test_data/feat_tree}" if test ! -d $base; then echo "Error -- test data dir not found: $base" exit 1 fi if test -d "$1"; then shift fi d="$base/data" r="$base/res" t="." tool="test_feat_tree $@" ret=0 ...
true
dc3b770f3556d42194a944ff24ca08773a85de56
Shell
thorrak/fermentrack-tools
/install.sh
UTF-8
18,236
4.21875
4
[]
no_license
#!/usr/bin/env bash # fermentrack-tools is intended for use in setting up installations of Fermentrack on individual "deployed" Raspberry Pis, # as opposed to being the source for building new Fermentrack Docker images. The main differences between the build in # fermentrack-tools as opposed to Fermentrack are: # * f...
true
6ade63e5f0f7c12cb0e94e6a89f4726f2512559d
Shell
pardise666/Auto-Reconiz3r
/Auto-Reconiz3r.sh
UTF-8
1,259
3.46875
3
[]
no_license
#!/bin/bash function menu { #colors red=`tput setaf 1` reset=`tput sgr0` clear echo echo -e "\t\t\t${red} =========================================================================== | _ _ ____ _ _____ | | / \ _ _| |_ ___ | _ \ __...
true
021b80cc7459bc92f5acac89764831db1708eb79
Shell
WeatherStationPaulina/WeatherStation_Sensor_Node
/uploadReadings.sh
UTF-8
751
3.734375
4
[ "MIT" ]
permissive
#!/bin/bash # script which reads all files line by line, # builds up curl using data from one file and send it to server cd /home/pi/dht11/readings url="http://weather.cs.nuim.ie/input.php" # sorting added in order to start uploading data from the oldest reading for file in `ls *.txt | sort` do while IFS='\n' ...
true
3c2a0d79f21b85e18bdb9b9a7375a544bd90661d
Shell
lfuente/LearnGLASS
/capture/mgauge/mGauge_load.sh
UTF-8
280
3.3125
3
[]
no_license
#!/bin/bash if [ $# -ne 2 ] then echo "2 arguments are needed:" echo "1) json log" echo "2) Mongo database where the data will be loaded" echo "bash mGauge_load.sh <json_file> <db_name>" exit 0 fi echo $1 $2 mongoimport --jsonArray --db $2 --collection events --file "$1"
true
b0e97f6aef06cc4953753dc4e00936a2ca5a4fe9
Shell
mnomura/s3up
/insecure-install.sh
UTF-8
496
2.953125
3
[]
no_license
#!/bin/sh which openssl > /dev/null if test $? -ne 0; then echo "Not install openssl." 1>&2 exit 1 fi which base64 > /dev/null if test $? -ne 0; then echo "Not install base64." 1>&2 exit 1 fi cd /tmp curl -s --insecure -L -O https://raw.githubusercontent.com/mnomura/s3up/master/s3up cp /tmp/s3up /usr/local/b...
true
e4fc129da9b0bf8fce1f3dacd81169c815f3df57
Shell
keith/dotfiles
/bin/git-pullprnum
UTF-8
532
3.46875
3
[ "MIT" ]
permissive
#!/bin/bash set -euo pipefail set -x # TODO: bail if there are unstaged files? readonly pr_num=$1 readonly local_branch=pr/$pr_num git fetch origin "pull/$pr_num/head:$local_branch" commit_msg=$(git log -1 --format=format:%B "$local_branch") if git merge --squash "$local_branch"; then git commit -m "$commit_msg" e...
true
1c452dac9f3d55696c76240a0853c02b4ba37230
Shell
chrisromito/jetcopter
/scripts/make.sh
UTF-8
718
2.84375
3
[]
no_license
#!/usr/bin/env bash # Set up environment vars #################################### DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)" cd $DIR source "${DIR}/env.sh" cp $ENV_FILE "${COPTER_DIR}/.env" cp $ENV_FILE "${SERVER_DIR}/.env" # Set up dependencies ######################### #cd $APP_DIR #cd ../...
true
7e9d91e6a726b83af775e969b2e972342bef57a5
Shell
franklines/graylogDocker
/docker-entrypoint.sh
UTF-8
1,778
3.515625
4
[]
no_license
#!/bin/bash set -e function confCred() { if [[ -z $1 ]]; then TEMP_PASS=$(pwgen -s1 32 | tee -a /var/log/graylog-server/tmp-pass.log); GRAYLOG_PASS=$(echo ${TEMP_PASS} | shasum -a 256); GRAYLOG_SECRETPEPPER=$(pwgen -N 1 -s 96); sed -i "/root_password_sha2/c\root_password_sha2 ...
true
1d65dca70aa64c6d8d30afb910d4db15e2a225b1
Shell
devopscenter/dcUtils
/stop-dc-containers.sh
UTF-8
15,418
3.40625
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash #=============================================================================== # # FILE: stop-dc-containers.sh # # USAGE: stop-dc-containers.sh # # DESCRIPTION: Stops the containers that were started with docker-compose # # OPTIONS: --- # REQUIREMENTS: --- # BUG...
true
b25fb4d32bba22c352f722ef2fca7c776a0983d4
Shell
delkyd/alfheim_linux-PKGBUILDS
/chugins-git/PKGBUILD
UTF-8
1,147
3.109375
3
[]
no_license
# Maintainer: schaap137 <dojo86@gmail.com> pkgname=chugins-git pkgver=1.3.5.2.r86.g9ed524f pkgrel=7 pkgdesc="Repository for ChuGins (to use with chuck)" arch=('i686' 'x86_64') url="https://github.com/ccrma/chugins" license=('GPL') depends=('chuck') makedepends=('git') source=("$pkgname"::"git://github.com/ccrma/chugins...
true
9a7778351bce867613f9aeab502bbb219b3c5106
Shell
thegriglat/GHC
/utils/export_from_db.sh
UTF-8
595
3.171875
3
[]
no_license
#!/bin/sh usage(){ echo "Usage: " echo " $0 <connection string to Oracle DB> <output file name> <table name> <run number>" } if test -z "$1" -o -z "$2" -o -z "$3" -o -z "$4" ;then usage; exit; fi connstr="$1" outfile="$2" table="$3" run="$4" cat <<EOF | sqlplus -S "$connstr" set colsep '|' set echo off set fee...
true
bdbaff995a65dd721cab162d4cba2a4442fddd37
Shell
smontanaro/polly
/tests/runtests.sh
UTF-8
1,722
3.46875
3
[ "BSD-2-Clause" ]
permissive
#!/bin/bash # Run tests. Output is compared with expected.out export TMPDIR=$(mktemp -d) trap "rm -rf ${TMPDIR}" EXIT OUT=${TMPDIR}/actual.out DOCOV=0 while getopts 'c' OPTION; do case "$OPTION" in c) DOCOV=1 ;; esac done shift "$(($OPTIND -1))" if [ "x$DOCOV" = "x1" ] ; the...
true
3e34f845c032e3884baf342bb2067f4b7d9eebc8
Shell
costa/ffmprb
/bin/dev
UTF-8
402
2.59375
3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#!/bin/bash -e test "$#" -ne 0 && echo "Unsupported args: $@" >&2 && exit 145 cd "$( dirname "${BASH_SOURCE[0]}" )"/.. export COMPOSE_FILE=spec/docker-compose.yml export COMPOSE_PROJECT_NAME=ffmprb_dev docker-compose rm -svf docker-compose build --force-rm DEBUG=y docker-compose run --entrypoint bundle tester exec ...
true
0652f76337d68986310d4bc9b9a1bafaac1bd4c1
Shell
ddymko/gunnery
/puppet/install.sh
UTF-8
414
3.453125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -e if hash puppet 2>/dev/null ; then version=`puppet -V` [ "${version:0:1}" == "3" ] && exit 0 fi if [ ! -e "/etc/apt/sources.list.d/puppetlabs.list" ]; then echo "add apt source list" DEB="puppetlabs-release-stable.deb" wget -q "http://apt.puppetlabs.com/${DEB}" dpkg -i "${DEB}" >/dev/null fi echo...
true
6d7b0c2149562068be89709c142deb4ccbdf64e9
Shell
freebsd/freebsd-ports
/www/spawn-fcgi/files/spawn-fcgi.in
UTF-8
2,648
3.359375
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh # PROVIDE: spawn_fcgi # REQUIRE: %%REQUIRE%% # BEFORE: LOGIN # KEYWORD: shutdown # # Optional settings: # # spawn_fcgi_app_args # spawn_fcgi_chroot_dir # spawn_fcgi_bindsocket # spawn_fcgi_web_server_addrs # spawn_fcgi_allowed_env # spawn_fcgi_command_interpreter . /etc/rc.subr name="spawn_fcgi" rcvar=spa...
true
1f73c279614d258a22db15dee69a25a5d25e839f
Shell
alexschleifer/challenges-cloudformation-jenkins
/utility/upload_yml_s3.sh
UTF-8
859
3.265625
3
[ "MIT" ]
permissive
#!/usr/bin/env bash ##------------------------------------------------------------------- ## @copyright 2017 DennyZhang.com ## Licensed under MIT ## https://www.dennyzhang.com/wp-content/mit_license.txt ## ## File: upload_yml_s3.sh ## Author : Denny <https://www.dennyzhang.com/contact> ## Description : ## -- ## Crea...
true
d877490a0bd31372e9928f89903b59e1d7dbcdbb
Shell
ZeusLimited/ksa_copy
/db/scripts/update.sh
UTF-8
296
2.78125
3
[]
no_license
#!/bin/sh # Updating developers database FOLDER='tmp' DATE=$(date +%Y-%m-%d_%H-%M) echo "Backup begin: $DATE" >> $FOLDER/backup.log pg_dump -v -Z9 -Fc -h 95.213.247.4 -U ksazd raoesv -f $FOLDER/raoesv-$DATE.sql pg_restore -v -c --dbname=raoesv_development -U postgres $FOLDER/raoesv-$DATE.sql
true
d307f946d0572496dd57631b41f06e43686acb65
Shell
DakshEada/shellscripts
/logdemo/logdemo/logdemo/logdemo/logdemo/logdemo/logdemo/logdemo/validpaswd.sh
UTF-8
187
3.125
3
[]
no_license
#!/bin/bash valid_passwd="something" echo "Please enter password" read password if [ "$password" == "$valid_passwd" ]; then echo "You have access!" else echo "Access Denied" fi
true
29184caa0b7e820cc9c61e8566f855d09594f37e
Shell
att/DMAAP_DATAROUTER
/datarouter-prov/src/main/resources/misc/havecert.tmpl
UTF-8
264
2.578125
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash cat <<!EOF TZ=GMT0 cd /opt/app/datartr; if [ -f ${DRTR_PROV_KSTOREFILE:-etc/keystore} ] then exit 0 fi echo `date '+%F %T,000'` WARN Certificate file "${DRTR_PROV_KSTOREFILE:-etc/keystore}" is missing >>${DRTR_PROV_LOGS:-logs}/provint.log exit 1 !EOF
true
b33b35ca2a151bae0cba077431985ef6476f9f5d
Shell
jonambas/matchbox-okr
/scripts/token.sh
UTF-8
549
2.96875
3
[ "MIT" ]
permissive
#!/bin/bash rm ./src/raw-data/token-count-raw.json echo $'{}' > ./src/raw-data/token-count-raw.json cd ../2web2ui sy=2017 sm=07 ey=`date +"%Y"` em=`date +"%m"` for y in {2017..2020}; do for m in $(seq -f "%02g" 01 12); do if [ $y = $sy ] && [ $m -lt $sm ]; then continue fi if [...
true
2859af75e042f95cb295f9d0e3e449cdf961b2fd
Shell
aur-archive/feem
/launch_feem_custom.sh
UTF-8
368
2.953125
3
[]
no_license
#!/bin/sh #gsettings set com.canonical.Unity.Panel systray-whitelist "['all']" DIR=/opt/feem cd $DIR pkill Feem if [ -n "." ] ; then if [ "${LD_LIBRARY_PATH+set}" = "set" ] ; then export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${DIR}/lib/" else export LD_LIBRARY_PATH="${DIR}/lib/" fi fi echo $LD_...
true
b1d4c683171e9dacbc34e06577b95ecae5c2ab44
Shell
warriv93/Scripts
/LinuxInstallScripts/firstInstallArch.sh
UTF-8
2,077
2.53125
3
[]
no_license
#!/bin/sh # kör inte som root eller sudo # skapar temp mapp echo "Create temporary folder" mkdir ~/temp sudo pacman -S --noconfirm --needed wget base-devel yajl #setup yaourt git clone https://aur.archlinux.org/package-query.git cd package-query makepkg -si cd .. git clone https://aur.archlinux.org/yaourt.git cd y...
true
68c1d071fce180435195ccd93f6822a111162f18
Shell
zeigerpuppy/xmchord
/bin/actions/0004444-22.sh
UTF-8
583
2.984375
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash #: TL + U - Chromium: focus URL, Evolution: activate "unread" filter focusApplication=`cat /proc/$(xdotool getwindowpid $(xdotool getwindowfocus))/comm` if [[ "$focusApplication" =~ "chromium-browse" ]] || [[ "$focusApplication" =~ "firefox" ]]; then xdotool sleep 0.1 xdotool key Ctrl+l exit 0...
true
5d8870183c05422ef4953820fd6908945949452b
Shell
xinligg/trainmonitor
/rootfs/usr/share/wwwconfig-common/php-extensions.sh
UTF-8
959
3.90625
4
[]
no_license
#!/bin/sh # File: php-extensions.sh # Changes: # 20010219 Ola Lundqvist <opal@debian.org> # 20010222 Ola Lundqvist <opal@debian.org> # Needs: /usr/share/wwwconfig-common/php.get # $extensions - what php extensions to check for! # $checkextensions - what php extensions to check for if the # corresponding php?-$ext ...
true
37218e3be54d542bc0822347b9d5116c5aa57a57
Shell
ashincoder/surf-ashin
/PKGBUILD
UTF-8
1,051
2.71875
3
[ "MIT" ]
permissive
# Maintainer: Ashin Antony <ashinant15@gmail.com> pkgname=surf-ashin-git pkgver=2.1 pkgrel=1 pkgdesc='A suckless browser customized in my own way with bookmarkings and stylesheets.' arch=(x86_64) url='https://github.com/ashincoder/surf-ashin.git' license=('MIT') depends=(webkit2gtk xorg-xprop) optdepends=('ca-certifi...
true
0667440bd93b232c99ec35651ade8416ad743fbb
Shell
nec-baas/ansible-playbook-necbaas-server
/vm/virtualbox/export-vbox-vm.sh
UTF-8
2,073
3.5625
4
[ "Apache-2.0" ]
permissive
#!/bin/sh if [ ! -f config.sh ]; then echo "Error: no config.sh" exit 1 fi . ./config.sh TOPDIR=work/$VER DESTDIR=out/$VER OVA_FILE=${VBOX_VM_NAME}.ova echo "### Setup working dir : $TOPDIR ###" /bin/rm -rf $TOPDIR mkdir -p $TOPDIR echo "### Setup out dir : $DESTDIR ###" /bin/rm -rf $DESTDIR mkdir -p $DES...
true
85a7357503203feb90f598a7d0ac300a46020c1b
Shell
escalab/NDS
/apps/baseline_kmeans/run.sh
UTF-8
246
2.828125
3
[]
no_license
#!/bin/bash if [ "$#" -lt 2 ]; then echo "Usage: ./run.sh <m> <attributes>" echo "m = # of points of the input" echo "attributes = # of attributes of the input" exit 1 fi echo "./kmeans 1 $1 $2 4 19871" ./kmeans 1 $1 $2 4 19871
true
acc745c5a3330faab71cfe6b07ee35ecfb581769
Shell
zelak/portfolio
/shell-script/json/get-value.sh
UTF-8
1,354
3.96875
4
[]
no_license
#!/bin/bash # check jq command is availble if ! command -v jq > /dev/null then echo "command not found: jq" echo "Please install using:" if [[ "$OSTYPE" == "linux-gnu"* ]] then if command -v yum > /dev/null; then echo "yum install jq" elif command -v apt > /dev/null; then ...
true
c110a6d1717d5d03947b22049d0292ca2d4c8c90
Shell
bernardolins/instalar-kubernetes
/generate-certificates.sh
UTF-8
3,422
2.75
3
[]
no_license
#!/bin/bash set -e #### Config cat << EOF > $output/$token/openssl.cnf [req] req_extensions = v3_req distinguished_name = req_distinguished_name [req_distinguished_name] [ v3_req ] basicConstraints = CA:FALSE keyUsage = nonRepudiation, digitalSignature, keyEncipherment subjectAltName = @alt_names [alt_names] DNS.1 = k...
true
740278256704688b5a4e6d5c32fa5d13f8813b23
Shell
cicidi/bigdota
/dota/script/hadoop_config/setupHosts.sh
UTF-8
748
2.921875
3
[]
no_license
#reset Hosts when ip changed bk_cmd="cp /etc/hosts /etc/hosts_bk" IN="dse01;dse02" ips=$(echo ${IN} | tr ";" "\n") for ip in ${ips} do for target in ${ips} do scp_cmd="scp /etc/hosts root@"${target}:/etc/hosts echo ${scp_cmd} ssh root@{target} \"${bk_cmd}\" # ssh root@i...
true
e9f9f391309cea48d6f7c2413e0a417f218c691c
Shell
nima/wmiii
/statusbar.d/80-mem
UTF-8
963
3.1875
3
[ "MIT" ]
permissive
#!/bin/bash . "${WMII_CONFPATH%%:*}/statusbar.conf" THEME=HW SYMBOL=2609 requires awk lck || exit 97 if sb_ready 15; then lck ${LOCK_SB_MODULE} on shm_used_size=$(df -P ${WMII_SHM}/|awk 'END{print$5}') shm_used_inode=$(df -iP ${WMII_SHM}|awk 'END{print$5}') mem_used="$(awk '$1~/MemTotal/{mt=$2};$1~/Me...
true
c639532b933f4f25146a7f79669d800dc598ef31
Shell
orientechnologies/orientdb
/_base/script/upd-version.sh
UTF-8
665
3.96875
4
[ "BSD-3-Clause", "CDDL-1.0", "Apache-2.0" ]
permissive
#!/bin/bash if [ -z "$1" -o -z "$2" -o -z "$3" ] then echo "SYNTAX ERROR, USE: upd-version.sh <root-path> <version-from> <version-to>" exit fi echo "Updating version from $2 to $3 in directory $1 and subfolders" TFILE="/tmp/out.tmp.$$" for filename in $(grep -r "$2" --include "*.java" --include "*.htm*" --inc...
true
5a6ef8dc7fb266fde9a834ef756426cc9ddbf5cb
Shell
yefengbar/learnShell
/multi thread.sh
UTF-8
209
2.921875
3
[]
no_license
job_num=10 function do_work() { echo "Do work.." } for ((i=0; i < job_num ;i++)); do echo "Fork job $i" (do_work) & done wait # wait for all job done echo "All job have been done!"#!/bin/bash
true