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
9043b7b7e9ac06fa915f7f319f45f3220b07d778
Shell
nforgeio/archive-Neon
/Stack/Tools/neon/Linux/Ubuntu-16.04/setup/setup-environment.sh
UTF-8
2,795
4.375
4
[]
no_license
#!/bin/bash #------------------------------------------------------------------------------ # FILE: setup-environment.sh # CONTRIBUTOR: Jeff Lill # COPYRIGHT: Copyright (c) 2016-2017 by Neon Research, LLC. All rights reserved. # # NOTE: This script must be run under [sudo]. # # NOTE: Variables formatted li...
true
53bc87a7b80b2139a30ae7e4a4d5e0e795b53106
Shell
atlury/aryalinux
/applications/perl-modules#font-ttf.sh
UTF-8
487
3.046875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e set +h . /etc/alps/alps.conf SOURCE_ONLY=y URL=http://search.cpan.org/CPAN/authors/id/B/BH/BHALLISSY/Font-TTF-1.06.tar.gz NAME="perl-modules#font-ttf" VERSION=1.06 cd $SOURCE_DIR wget -nc $URL TARBALL=`echo $URL | rev | cut -d/ -f1 | rev` DIRECTORY=`tar tf $TARBALL | cut -d/ -f1 | uniq` tar -xf...
true
5efc34115ea876322c9f985740deb32a1c491443
Shell
RafaelOstertag/k8s-kafka
/docker/kafka/kafka-run-class.sh
UTF-8
1,070
2.875
3
[]
no_license
#!/bin/bash # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you ...
true
2509911faf7a43ba8f2ed7c8047fb16a11caec52
Shell
qidizi/blog
/mac/make-nginx.sh
UTF-8
1,759
3.34375
3
[]
no_license
nginxDir="/-/soft/nginx"; # exit2fail 上个命令退出值 退出提示[操作失败] 退出码[1] function exit2fail () { if [[ "$1" -ne "0" ]];then if [[ -z "$2" ]];then echo "操作失败"; else echo "$2"; fi if [[ -z "$3" ]];then exit 1; else exit $3; ...
true
e5dc513994faa39d439edeecc69816c4c502fea3
Shell
apire001/UNIXSystemAdministration
/runaway.sh
UTF-8
897
3.328125
3
[]
no_license
#!/bin/sh top -b -n 1 > top.txt filename=top.txt counter1=0 counter2=0 pid="" user="" time="" while read line; do if [ "$counter1" -gt 6 ] then counter2=0 for word in $line do if [ "$counter2" -eq 0 ] then pid="$word" #echo "$word" fi if [ "$counter2" -eq 1 ] ...
true
2937510926cb192b06e4c536dfbed5a68fdbb827
Shell
cbare/connect-four
/example_client_session.sh
UTF-8
1,362
2.78125
3
[]
no_license
#!/bin/bash # Some fun shell hackery to demo the connect-four API. # NOTE: requires httpie and jq host=127.0.0.1 port=5000 set -x http GET http://${host}:${port}/drop_token # new game gameId=`http --body POST http://${host}:${port}/drop_token \ players:='["player1", "player2"]' \ ...
true
5824696c715401f3fb5fc9b4659220fc9b868b85
Shell
gabibbo97/docker-compose-zammad
/scripts/grab-backup.sh
UTF-8
669
3.828125
4
[]
no_license
#!/bin/sh set -e docker volume list -q | while read -r volume; do # Find volume name if ! docker volume inspect "${volume}" | grep 'com' | grep 'docker' | grep 'compose' | grep 'volume' | grep -q 'zammad_backup'; then continue fi # Find mountpoint MOUNTPOINT=$(docker volume inspect -f '{{.Mountpoint}}' "...
true
93a1dbda6f266aafc685d688166f736aa8ccd362
Shell
conda-forge/pyside2-feedstock
/recipe/build.sh
UTF-8
3,149
3.09375
3
[ "BSD-3-Clause", "BSD-2-Clause", "LGPL-3.0-only" ]
permissive
#!/bin/sh XVFB_RUN="" if test `uname` = "Linux" then cp -r /usr/include/xcb ${PREFIX}/include/qt XVFB_RUN="xvfb-run -s '-screen 0 640x480x24'" fi set -ex # Remove running without PYTHONPATH sed -i.bak "s/, '-E'//g" sources/shiboken2/libshiboken/embed/embedding_generator.py sed -i.bak 's/${PYTHON_EXECUTABLE} -E/$...
true
0fcc6d477428f8d5b317f7ba273bc5f4cf0ca5d6
Shell
kswapd/docker-devops
/icbc-devops/cmd_parent.sh
UTF-8
228
2.5625
3
[]
no_license
#!/bin/bash export_func(){ sub="sub" export _TEST_8_${sub}=1991 env } #export _TEST_8_=99 i=1 while((i<=3)) do echo "cmd1",$1,$i let ++i sleep 1s done export_func echo $_TEST_8_sub #source ./cmd_child.sh ./cmd_child.sh
true
a3210a781ef3777e0f04a1fd8ec954db60d260ea
Shell
leonardothibes/trac
/conf.d/18-trac/install.sh
UTF-8
1,015
3.640625
4
[ "MIT" ]
permissive
#!/bin/bash echo "Instalando o Trac..." ETC=`dirname $0`/etc #Instalando o trac. apt-get -y install trac #Criando diretório dos projetos e atribuindo permissão. mkdir /var/lib/trac chown www-data: /var/lib/trac #Copiando arquivo do serviço init. cp $ETC/init.d/trac /etc/init.d chmod 755 /etc/init.d/trac #Incluíndo...
true
0538870efb1dd30218e214e53d34a3d66312f0ab
Shell
cdfeasy/samples
/facebookbot/src/deb/control/preinst
UTF-8
396
3.3125
3
[]
no_license
#!/bin/sh set -e DUSER="citibank-facebook-bot" PKGNAME="citibank-facebook-bot" case "$1" in install|upgrade) if ! id ${DUSER} > /dev/null 2>&1; then useradd --system -d /usr/share/${PKGNAME} \ --no-user-group --no-log-init -g nogroup \ --shell /bin/bash ${DUSER} fi ;; abort-upgrade) ;; *) echo...
true
017372cdef43c60071f069664bba4a388c82ef37
Shell
barentsen/dotfiles
/.bash_profile
UTF-8
173
2.84375
3
[]
no_license
# We execute .bashrc to avoid maintaining two files # # Note that .bash_profile is executed at login; .bashrc at non-login. if [ -f ~/.bashrc ]; then source ~/.bashrc fi
true
4316aac0d24010792f2c767017ef791653f3df41
Shell
RenatoGeh/snippets
/has_duplicate.sh
UTF-8
276
3.421875
3
[]
no_license
#!/bin/bash for f in "$@"; do for g in "$@"; do if [ "$f" != "$g" ]; then diff "$f" "$g" > /dev/null retval=$? if [ $retval -eq 0 ]; then echo "Has duplicate: $f and $g" exit 1 fi fi done done echo "No duplicates." exit 0
true
33b2e4f3279228de93c15face5eb7d7898754a1c
Shell
italloalves9/learning-space
/Docker/post-docker-machine-learning.sh
UTF-8
979
2.640625
3
[]
no_license
Build image in Docker $ docker build -t oficina-ml . Check the image name $ docker images Run the container with the machine learning space $ docker run --name oficina-ml -p 8888:8888 -v "$PWD/notebooks:/opt/notebooks" -d oficina-ml Tagging the image $ docker tag 7e94b5c03aea nova6/oficina-ml:latest Login no Docker...
true
a4f1de03f7524c0c84c96e5364b628e75bdf8002
Shell
lucaswannen/source_code_classification_with_CNN
/dataset_v2/bash/4645156.txt
UTF-8
288
2.8125
3
[]
no_license
#!/bin/bash echo "enter the full path of script"; read path; while true ps aux | grep -v grep | grep -q $path || ( nohup php -f $path & ) done bash test.sh enter the full path of script php_test.php test.sh: line 7: syntax error near unexpected token `done' test.sh: line 7: `done'
true
4821da208f99f48ef853767925e0dc0e462fdf82
Shell
dpriest57/mac-cookbooks
/cookbooks/redis/recipes/install.bash
UTF-8
1,071
3.65625
4
[ "MIT" ]
permissive
#!/bin/bash -e function install() { # Clean Up rm -rf "${installBinFolder}" "${installConfigFolder}" "${installDataFolder}" mkdir -p "${installBinFolder}" "${installConfigFolder}" "${installDataFolder}" # Install local currentPath="$(pwd)" local tempFolder="$(getTemporaryFolder)" unzipR...
true
dbe5bd7911891a05255b16288f90777cc74939d7
Shell
ShalokShalom/plan.sh
/libisofs/plan.sh
UTF-8
560
2.625
3
[ "Apache-2.0" ]
permissive
pkg_origin=cosmos pkg_name=libisofs pkg_version=1.4.6 pkg_description="Library to create an ISO-9660 filesystem with extensions like RockRidge or Joliet. " pkg_upstream_url="http://libburnia-project.org" pkg_license=('GPL') pkg_deps=('acl' 'zlib') pkg_source=("http://files.libburnia-project.org/releases/${pkg_name}-${...
true
9e28db6c473a7356dcbafe736f53fd83c7b79ac3
Shell
openvax/mhcflurry
/downloads-generation/models_class1_selected_no_mass_spec/GENERATE.sh
UTF-8
2,079
3.671875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # # Model select standard MHCflurry Class I models. # set -e set -x DOWNLOAD_NAME=models_class1_selected_no_mass_spec SCRATCH_DIR=${TMPDIR-/tmp}/mhcflurry-downloads-generation SCRIPT_ABSOLUTE_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}")" SCRIPT_DIR=$(dirname "$SCRIPT_...
true
4a96e82c86634f8a83be2afefc97fb9f51f70260
Shell
BGCastro89/gRPC-pubsub-srv-demo
/pubsub/run-dev.sh
UTF-8
290
2.671875
3
[]
no_license
#!/bin/bash # Kill the existing process if it's already running if [ "$(lsof -i:8085)" ]; then kill $(lsof -t -i:8085) fi # Kick off the new process gcloud beta emulators pubsub start --project=grpc-demo-proj # Connect to environment variables $(gcloud beta emulators pubsub env-init)
true
e78743e821e0278e71cc7739d277d063ab06c785
Shell
skilbjo/aeon
/dev-resources/ssl/create-java-key-store
UTF-8
667
3.3125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -eou pipefail # https://stackoverflow.com/questions/11952274/how-can-i-create-keystore-from-an-existing-certificate-abc-crt-and-abc-key-fil # these are file paths keyfile="$1" certfile="$2" password="$quandl_api_key" # something random # first we need to merge the keys into a pkcs12 keysto...
true
13546143d0a101d9b64b4048af2ebee899fad4a7
Shell
pbowden-msft/InstallerCache
/InstallerCache
UTF-8
12,025
2.90625
3
[]
no_license
#!/bin/bash #set -x TOOL_NAME="Microsoft Office Installer Cache" TOOL_VERSION="1.1" ## Copyright (c) 2018 Microsoft Corp. All rights reserved. ## Scripts are not supported under any Microsoft standard support program or service. The scripts are provided AS IS without warranty of any kind. ## Microsoft disclaims all i...
true
7c8bb5625b88e821514cce02da75b9bb0841c2e5
Shell
lassik/home
/.shrc.d/10-editor.sh
UTF-8
132
2.8125
3
[]
no_license
for x in mg nano; do if which "$x" >/dev/null 2>&1; then export EDITOR="$x" export ALTERNATE_EDITOR="$EDITOR" break fi done
true
30e4e3bcb33daae6739690ac2f31d29b7d0881a0
Shell
pedrovcc/RideUFSC
/setup.sh
UTF-8
1,084
3.140625
3
[]
no_license
echo "\n----- Starting a new Flutter application -----\n\n" echo "Enter project repo name: " read newname testNewName=${newname//-/_} #replace "-" characters with "_" echo "\n----- Change bundleId -----\n\n" echo "Enter bundleId: " read newbundleID oldBundleID="com.boilerplate" # App name echo "\n----- Change App ...
true
56dcda634a3db25732f86a117158cb2c575e6fc8
Shell
CyanogenModXT720/openrecovery_xt720
/OpenRecovery/app/sdutil/diagnostics.sh
UTF-8
838
3.203125
3
[]
no_license
#!/sbin/sh dirs=" /cache/dalvik-cache /cache/dc /data/app /data/app-private /data/dalvik-cache /data/sdext2 /sddata/app /sddata/app-private /sddata/dalvik-cache /sddata/link2sd " if ! grep -q " /sdcard " /proc/mounts ; then echo ERROR: /sdcard is not mounted exit fi exec >/sdcard/sdcard-info.txt 2>&1 date ca...
true
1109880724f3673c97fe668050929a2b176d023f
Shell
jjm3x3/git-shell-setup
/bin/relpath
UTF-8
123
2.6875
3
[ "MIT" ]
permissive
#!/bin/sh #usage: # ... | relpath # # To relative path. pwd="$(pwd)" exec sed -E \ ' \,^/, { s,^'"$pwd"'/,, } '
true
4226c5a89a90604c662db14d3a617c17b5bde96f
Shell
bdronneau/dotfiles
/sources/node
UTF-8
254
2.71875
3
[]
no_license
#!/usr/bin/env bash if ! command -v n > /dev/null 2>&1; then return fi export N_PREFIX="${HOME}/opt/n/node" if ! command -v n > /dev/null 2>&1; then return fi export PATH="${HOME}/opt/n/node/bin:${PATH}" alias npmi="npm install --ignore-scripts"
true
da5591fbd48d846183a868312b65aa5ce81b4e7d
Shell
zzuzayu/uai
/ufileup.sh
UTF-8
782
3.28125
3
[]
no_license
#!/bin/bash filepath=$(cd "$(dirname "$0")"; pwd) USER=`whoami` folder="/tmp/${USER}_ufile/" here=`pwd` mkdir $folder echo "mkdir $folder" path=$1 path_0=${path:0:1} if [ $path_0 == "/" ]; then echo "$path" else path="${here}/${path}" echo "$path" fi ln -s ${path} ${folder}/${USER}_data_$2 echo "ln -s ${path} ${f...
true
f6f2fbdb6c603290c4d0c2f36b516d3836799991
Shell
luwangli/Agg-Evict
/prepare-dpdk.sh
UTF-8
1,117
2.84375
3
[ "MIT" ]
permissive
#!/usr/bin/expect -f # Drop all the system caches so that we can reserve huge pages exec echo 3 | sudo tee /proc/sys/vm/drop_caches # Setup the dpdk spawn "tools/dpdk-setup.sh" # Compile the kernel module expect "Option:" send "15\r" expect "Press enter to continue ..." send "\r" # Reset everything expect "Option:"...
true
5c13540b612d7fd2a6250d3bc90e4c23ca8d0945
Shell
karolgorecki/troll
/troll.sh
UTF-8
813
4.0625
4
[]
no_license
#!/bin/bash # troll script # @author Karol Górecki COUNT=0 # init troll script rm troll.sh touch troll.sh # init repo rm README.md echo "TROLL repo" >> README.md git add README.md # create commits while IFS='' read -r line do # inc COUNT COUNT=`expr $COUNT + 1` name=$line # get back to th...
true
7640a0a5f816bdeb5dda4c8d9ff6d43b174d272d
Shell
gzchenhj/config
/LVS 负载均衡器脚本/ipvs_server.sh
UTF-8
1,011
3.15625
3
[]
no_license
#!/bin/bash #name chenhaijun #filename LVS server start stop file #version 1.0 . /etc/init.d/functions VIP=192.168.36.158 PORT=80 RIP=( 192.168.36.139 192.168.36.143 ) function start(){ /sbin/ipvsadm -C #(清空所有) /usr/sbin/ifconfig ens33:0 $VIP/24 up #(添加一个虚拟网络) /usr/sbin/rou...
true
15ece291d1aa6b48c74b1c51c3a6051df22764a9
Shell
sk3l/movein
/movein.sh
UTF-8
3,235
4.3125
4
[]
no_license
#!/bin/bash # Utility functions function usage { echo -e "\nmovein - Make Yourself @ \$HOME\n" echo -e "\tA provisioning script for development environments" echo -e "\nUsage:\n" echo -e " movein.sh [-h] [-l logfile] [-u user] <crate1> <crate2> ..." echo -e "\nWhere:" echo -e " -h = show this ...
true
a673259b598b1a66d98194c32241d2b5263d9bd3
Shell
urjaman/i586con
/brext/board/rootfs-overlay/etc/init.d/S89gpm
UTF-8
401
3.59375
4
[]
no_license
#!/bin/sh start() { echo "Starting gpm (eventually, maybe)" modprobe mousedev (sleep 10; gpm -m /dev/input/mice -t imps2) & return 0 } stop() { gpm -k return 0 } restart() { stop sleep 1 start return 0 } case "$1" in start|stop|restart) "$1";; reload) # Restart, since there is no true "reload" featu...
true
49490d493127e547b91ef02630a9c12a67022e2b
Shell
miur/tenjo
/etc/alias.sh
UTF-8
1,129
3.171875
3
[ "Apache-2.0" ]
permissive
# vim: ft=sh # # SPDX-FileCopyrightText: 2020 Dmytro Kolomoiets <amerlyq+tenjo@gmail.com> # # SPDX-License-Identifier: Apache-2.0 # #%SUMMARY: define optional aliases (if not present) and cleanup after yourself #%BUG: loaded only on "login" and never inherited by newly opened X terminals # https://bbs.archlinux.org/v...
true
b60fc947d63e686e803b1b518b7c82aa68208db3
Shell
474420502/focus
/tree/rsync.sh
UTF-8
498
3.21875
3
[ "MIT" ]
permissive
rsync() { FILE_NAME=$3 #iterator_test.go SRC_DIR_NAME=$1 #vbtkey dir DEST_DIR_NAME=$2 # vbtdupkey dir cp ./$SRC_DIR_NAME/$FILE_NAME ./$DEST_DIR_NAME/$FILE_NAME sed -i "s/package $SRC_DIR_NAME/package ${DEST_DIR_NAME}/" ./$DEST_DIR_NAME/$FILE_NAME } # 同步iterator_test for dst in "vbtkeydup" "avlke...
true
3771b9f2ba948b3bd11dbc218640cb6b89bca5cc
Shell
happyshi0402/yikai
/start.sh
UTF-8
1,015
3.0625
3
[]
no_license
#!/usr/bin/env bash #!/bin/sh # name:start_web # start web base_path=/home/zkhc_wsf/zkhc_webhook/ soft_path=${base_path} web_path=${base_path} log_path=${base_path}/logs web_soft_name=manage log_name=zkhc_webhook_log web_port=1571 for port in ${web_port} do lsof -i:$port | awk '{print $2}' | tail -n +2| while re...
true
b836b4ac012ea3295f50aa5579ddf60ad3276ccb
Shell
ibrarahmad/pg-tpch
/conf/pgtpch_defaults
UTF-8
3,270
3.859375
4
[]
no_license
#!/bin/bash # Configuration variables # Scale factor. 1 = 1GB, 10 = 10GB. TPC-H has rules about which scale factors # are considered valid for comparative purposes. SCALE=25 #GB # Other configuration variables BASEDIR=$(dirname "$0") BASEDIR=$(cd "$BASEDIR"; pwd) TPCHTMP=$HOME/tpch/tpch_tmp PGDATADIR=$HOME/tpch/pgdat...
true
67bffa614d183b2b5da48fcf37cb1b0af1c512a6
Shell
fwestling/PruneTreeLS
/phenotyping-lidar/respace
UTF-8
2,000
3.96875
4
[]
no_license
#!/bin/bash # Utility to artificially adjust the spacing of trees export readonly name=$( basename $0 ) source $( type -p comma-application-util ) || (error "comma not installed") function errcho { (>&2 echo "$name: $1") } function error { errcho "error: $1" exit 1 } function go() { # Input...
true
91c5b0db9bc3d54f14b6532ba9ecb52f6f8fb295
Shell
qixin5/debloating_study
/expt/debaug/benchmark/grep-2.19/testscript/I0/4
UTF-8
151
2.78125
3
[ "MIT" ]
permissive
#!/bin/bash BIN=$1 OUTDIR=$2 TIMEOUT=$3 INDIR=$4 #No result timeout -k 9 ${TIMEOUT}s $BIN 127.0.0.13 /etc/hosts &>$OUTDIR/o4 echo "$?" >>$OUTDIR/o4
true
e16793629eab9574a37a58e4183a69455e58a383
Shell
Ankk4/bash-setup
/install.sh
UTF-8
1,849
3.359375
3
[]
no_license
#!/bin/bash # Install nodejs installNode(){ hash node &> /dev/null if [ $? -eq 0 ]; then read -p "Nodejs is already installed. Press any key to continue." rk else # Add personal package, more up to date than standard ubuntu. curl -sL https://deb.nodesource.com/setup | sudo bash - # Install node and accept...
true
a6e90f48d25a76c89e1fec60ccc0c795008f7179
Shell
petronny/aur3-mirror
/kpass-tools/PKGBUILD
UTF-8
673
2.515625
3
[]
no_license
# $Id$ # Maintainer: Brian De Wolf <arch@bldewolf.com> pkgname=kpass-tools pkgver=6 pkgrel=1 pkgdesc="kpass-tools is a set of experimental tools for using KeePass 1.x databases." url="https://github.com/bldewolf/kpass-tools" arch=('i686' 'x86_64') license=('GPL') depends=('libkpass' 'util-linux') makedepends=('pkgconfi...
true
06ea862e6c2524f17c5c55cbf3b876911c4a9710
Shell
dadrc/scripts
/list-processes
UTF-8
288
3.34375
3
[]
no_license
#!/usr/bin/zsh set -o shwordsplit procs=$(ls /proc | grep -oP "[0-9]*") for pid in $procs; do if [[ -d "/proc/$pid/" ]]; then cmdline=$(cat /proc/$pid/cmdline) if [[ -n "$cmdline" ]]; then cmdline=$(echo $cmdline | cut -d' ' -f1) echo ${cmdline##*/}| tr -d ' :' fi fi done
true
d869b6d34416b4f7cd30859e6d121b56671baea1
Shell
georgegoh/k8s-enablement
/scenarios/5_workload-tenancy/check.sh
UTF-8
812
3.671875
4
[]
no_license
#!/usr/bin/env bash NS=accounts SERVICE_EP=`kubectl -n $NS get -o jsonpath='{.status.loadBalancer.ingress[0].hostname}' svc accounts` # scale down to 1 pod. kubectl -n $NS scale --replicas=1 deploy/accounts # Increase CPU. # Increase Mem. curl -X POST $SERVICE_EP/mem_workers\?value\=6 # Validate CPU. CPU_USAGE=`kub...
true
5ca9ee9388943a0fcad771a9177513ca12bc16ea
Shell
dgoltzsche/faasm
/bin/entrypoint_upload.sh
UTF-8
116
2.609375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e # Run codegen THIS_DIR=$(dirname $(readlink -f $0)) $THIS_DIR/entrypoint_codegen.sh exec "$@"
true
6a19b952895f585314730164e503c6ebbc49194a
Shell
jsdelivrbot/trunk
/projects/home/roles/Bash/files/backup.bash
UTF-8
901
2.9375
3
[ "MIT" ]
permissive
#!/bin/bash set -e -x if [ -e ~/backup.tmp ] then rm ~/backup.tmp fi ls -aR ~/Downloads > ~/Downloads.ls || true ls -aR ~/Videos > ~/Videos.ls || true ls -aR ~/VirtualBox\ VMs > ~/VirtualBox\ VMs.ls || true find ~ -maxdepth 1 \ -not -path ~ \ -not -path ~/backup.key -not -path ~/backup.tmp -not -path ~/ba...
true
a3a96bf532dbe0c49ca2d6c83fdc7de03c0351b7
Shell
Senserk/NetNs
/list.sh
UTF-8
130
2.890625
3
[]
no_license
#!/bin/bash if [ $1 ] then echo "Interfaces are: " sudo ip netns exec $1 ip link list else echo "No argument!" fi
true
3e41dfdbafc11789356e1dc0f4b00becb8a41dff
Shell
korkin25/iptables-wrappers
/test/test.sh
UTF-8
2,427
3.734375
4
[ "Apache-2.0" ]
permissive
#!/bin/sh # # Copyright 2020 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
true
c5f2dab40eb7803faf87beb79d4d4e0a88e6dc71
Shell
qikushu/gbs
/Tassel5_mypipeline.sh
UTF-8
5,245
3
3
[]
no_license
#!/bin/bash ## USER SETTINGS RUN_PIPELINE='/home/gbsuser/tassel-5-standalone/run_pipeline.pl' ENZYME='KpnI-MspI' KEYFILE='key.txt' #TAXA='IBMGBSTaxaList.txt' #TNAME="IBM" INPUT_DIR='fastq/' REFSEQ='/home/gbsuser/nipponbare_ref/IRGSP-1.0_genome.fasta' VCFTOOLS='/home/gbsuser/tool/vcftools_0.1.13/cpp/vcftools' ## ANAL...
true
41157b96dc3dbd0074062682ce3960d761b115d5
Shell
curso-4linux/750-vagrant
/files/lab-gamification/lab11
UTF-8
6,571
3.015625
3
[]
no_license
#!/bin/bash clear export START=$(date +%Y-%m-%d\ %H:%M:%S) echo "########## QUESTÃO 01 ##########" echo "Empacotar e compactar o diretório /etc no arquivo /tmp/bkp_etc.tar.gz" inspec exec https://raw.githubusercontent.com/instrutordocker/labs/master/lab12.1.tar.gz | tail -1 | awk -F" " '{ print $3,$4,$5,$6}' export...
true
3c4fd7978121f581246bfdd159a5dc12528340a6
Shell
sree86/Scripts
/slash-swap.sh
UTF-8
226
3.5625
4
[]
no_license
##This script is used to swap "/" to "\" and "\" to "/" #!/bin/bash A="\\//" B=$((${#A}-1)) echo $B for i in `seq 0 $B` do C=${A:i:1} if [ "$C" = "\\" ] then echo -n "/" elif [ "$C" = "/" ] then echo -n "\\" fi done
true
cb1d0de0615b78982f679b5e2111bc78af509990
Shell
KabyleAI/mbert-unseen-languages
/transfer/downstream/finetune/eval.sh
UTF-8
1,300
2.71875
3
[]
no_license
#!/usr/bin/env bash data_src="/data/almanach/user/bemuller/projects/data/fr_pred_tokens_conll_2018/pred_filtered/" gold_src="/data/almanach/user/bemuller/projects/data/fr_pred_tokens_conll_2018/gold_filtered/" src_model="/data/almanach/user/bemuller/projects/mt_norm_parse/checkpoints/bert/" task="pos" dir_pred="/dat...
true
9160e9cdbd965beaac6191e79833fafb5d2f7d75
Shell
Gentux/nanocloud-old
/src/nanocloud/scripts/exec.sh
UTF-8
317
3.46875
3
[]
no_license
#!/bin/bash # Load configuration file source ../src/nanocloud/scripts/configuration.sh if [ ${#} -lt 1 ]; then echo "Not enough arguments" exit 1 fi COMMAND=${1} SSH=$(which ssh) sshpass -p "${PASSWORD}" "${SSH}" -o StrictHostKeyChecking=no -p "${PORT}" "${USER}@${SERVER}" "${COMMAND}"
true
51275baea680db1834e5b6facf2ff2a6cda18238
Shell
loveparade/my-dot
/rofi/power.sh
UTF-8
198
2.640625
3
[]
no_license
#!/bin/bash if [ -z "$@" ] then echo 'lock' echo 'logout' echo 'switch_user' echo 'suspend' echo 'hibernate' echo 'reboot' echo 'shutdown' else i3exit $@ exit 0 fi
true
596beb4d15ce4d51df0da437e2639f2fe0fa99fa
Shell
wangxiaomo/config-all
/zshrc
UTF-8
1,832
2.59375
3
[]
no_license
# Path to your oh-my-zsh configuration. ZSH=$HOME/.oh-my-zsh # Set name of the theme to load. # Look in ~/.oh-my-zsh/themes/ # Optionally, if you set this to "random", it'll load a random theme each # time that oh-my-zsh is loaded. ZSH_THEME="bira" # Example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="...
true
4c12b76341b505e6f9a86f3d1016d204325a297f
Shell
cncf/devstats
/devel/restore_db_all.sh
UTF-8
135
2.5625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash . ./devel/all_dbs.sh || exit 2 for db in $all do echo "DB: $db" ./devel/restore_db.sh $db || exit 2 done echo 'OK'
true
1644e422c2fad2e93354b6940b8edc10795e0b56
Shell
ymstrike/regExUp
/login_users_bash_shell.sh
UTF-8
668
3.671875
4
[]
no_license
#!/bin/bash #Name :Yuval Matityahu #Purpose:Show the users that login with bash shell as a default # by scanning /etc/passwd the last fiels #Version 1.0 #Date : 18/12/2017 #This funcitscan and list all users that have bash shell as a default #in /etc/passwd scan_users_bash_shell() { printf "\n" printf "L...
true
0ab82b18624e97acd6d473bba0c8023159a51fbe
Shell
belgacemghiloufi/nuxeo-helm-chart
/nev/deploy-preview.sh
UTF-8
508
3.140625
3
[]
no_license
#/bin/bash if [ -n "$1" ];then tenant=$1 echo "Add previewer to tenant $tenant" ../repositories/deploy-arender-repository-secret.sh $tenant helm3 upgrade -i arender arender \ --repo https://packages.nuxeo.com/repository/helm-releases/ \ --version 0.2.3 \ -n $tenant --create-namespace \ -f nev-co...
true
2352fe20ef5fcdd4d0d8b3c2d14aeac2c40d9ef7
Shell
rinderknecht/Scripts
/update_site.sh
UTF-8
24,832
4.3125
4
[ "MIT" ]
permissive
#!/bin/sh # This script updates locally our web site before it is remotely # synchronised using the script rsync_site.sh # # Author: Christian Rinderknecht #set -x #===================================================================== # General Settings # In a future release, $quiet could be passed as an option # qu...
true
9f1e089a42e05efd178b5ca4dc4641c41007f3e3
Shell
nmarghetti/common_env
/tools/xampp/setup.sh
UTF-8
786
3.578125
4
[]
no_license
#! /usr/bin/env bash function setup_xampp() { local ERROR=$SETUP_ERROR_CONTINUE local xampp_path="$APPS_ROOT/PortableApps/XAMPP" # Install XAMPP if [[ ! -f "$xampp_path/xampp/setup_xampp.bat" ]]; then mkdir -vp "$xampp_path" local tarball=xampp-portable-windows-x64-7.4.2-0-VC15.zip download_tarbal...
true
cc680d0b57c8e76fc2073e6ca95c4314f7858389
Shell
ofarukcaki/CSE333-Project-1
/solutions/4.sh
UTF-8
965
3.640625
4
[]
no_license
#!/bin/bash # regex: (bü[a-zA-Z]*ük) # grep -oh "\w*th\w*" * # perl -lane 'print m/(\s\w*very\s)/g' himalayas.txt txt_files=`find *.txt` originalWildcard=$1 regex=`echo $1 | sed 's/*/\\\w*/g'` # loop through .txt files in directory while read -r line; do # perl -nle '@a = /\W*(\w*very)\w*/g; $,=","; print @a' t...
true
15767e7bd5b5be2b507ba6cd944fadb685b8cb72
Shell
AlesKas/SchoolUP
/UNIX/5th/generate.sh
UTF-8
140
2.796875
3
[]
no_license
for i in {0001..1000}; do day=$(($RANDOM%30 + 1)) month=$(($RANDOM%11 + 1)) year=$(($RANDOM%3000 + 1)) echo $month/$day/$year > $i done
true
04e8a56b1e9925a1c873b98f74d3416037e634d9
Shell
edwinbalani/dotfiles
/shell/function.sh
UTF-8
2,447
3.875
4
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
########## functions sdas () { # Credit to mas90 user="$1" shift sudo -u "$user" XDG_RUNTIME_DIR=/run/user/`id -u "$user"` "$@" } # Update dotfiles on remote systems (how ~meta~ is that?) update-dotfiles () { for host in "${@}"; do ssh "$host" '. ~/.dotfiles-location && cd $DOTFILES_DIR &&...
true
8bf309a4335c0e8914fa6a1a10297730fefa7ca3
Shell
zer0beat/nifi-for-aws
/nifi-configuration.sh
UTF-8
2,609
3.3125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash HOSTNAME=$(curl -sL http://instance-data/latest/meta-data/hostname) AMI_LAUNCH_INDEX=$(curl -sL http://instance-data/latest/meta-data/ami-launch-index) COORDINATION_PORT=9999 SITE2SITE_PORT=9998 DISK_PATH="\/mnt\/data01\/" echo "##### Environment variables #####" echo " JAVA_HOME=${JAVA_HOME}" echo " VE...
true
0669a637e0aaf7208dbdc92e68f462e942675eeb
Shell
DimuthuKasunWP/dokku
/plugins/plugin/subcommands/trigger
UTF-8
252
2.96875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -eo pipefail [[ $DOKKU_TRACE ]] && set -x plugin_trigger_cmd() { declare desc="trigger an arbitrary plugin hook" local cmd="plugin:trigger" [[ "$1" == "$cmd" ]] && shift 1 plugn trigger "$@" } plugin_trigger_cmd "$@"
true
daf03ec529918e193b80143c72126a2257487b2c
Shell
GDR/Arch-Install-Automation
/global_functions.sh
UTF-8
376
3.5
4
[]
no_license
#!/usr/bin/env bash MOUNTPOINT="/mnt" run_quiet() { $@ > /dev/null 2>&1 } check_internet_connection() { if run_quiet "ping -q -c 1 -W 1 8.8.8.8" ; then return 0 else return 1 fi } install_with_pacman() { pacman -Sy --noconfirm $1 } install_with_yaourt() { yaourt -Sy --noconfirm ...
true
8a6ef42a9dd1885f8bcd0531d965f091ac669524
Shell
Nina-Om/wrfHydroScripts
/hgrep.sh
UTF-8
516
2.765625
3
[]
no_license
#!/bin/bash searchStr=("$@") echo "${searchStr[@]}" whmPath=`grep "wrf_hydro_model" ~/.wrfHydroScripts | cut -d '=' -f2 | tr -d ' '` cd $whmPath/trunk/NDHMS/ egrep -s "${searchStr[@]}" */*.inc egrep -s "${searchStr[@]}" */*.F egrep -s "${searchStr[@]}" */*/*.F egrep -s "${searchStr[@]}" */*/*/*.F egrep -s "${sear...
true
aa7a883119c89db31d45525d20eca67226a3f809
Shell
tommycarstensen/tc9
/projects/uganda_gwas/bt.sh
UTF-8
847
2.734375
3
[]
no_license
bcftools=/software/hgi/pkglocal/bcftools-1.2/bin/bcftools tabix=/software/hgi/pkglocal/htslib-1.2.1/bin/tabix chrom=$1 o=out_bt_concat/$chrom.vcf.gz o=out_bt/$chrom if [ $(ls ../pipeline_UG3.3/out_UnifiedGenotyper/$chrom/*.vcf.gz | wc -l) -ne $(ls ../pipeline_UG3.3/out_UnifiedGenotyper/$chrom/*.vcf.gz.tbi | wc -l) ]...
true
62d5544693b3d9a02d75a6f42d8b5c398dbbf89b
Shell
JasonMorgan/istio-getting-started
/01_install.sh
UTF-8
480
2.875
3
[]
no_license
#!/bin/bash curl -L https://istio.io/downloadIstio | sh - REL=$(curl -L -s https://api.github.com/repos/istio/istio/releases | \ grep tag_name | sed "s/ *\"tag_name\": *\"\\(.*\\)\",*/\\1/" | \ grep -v -E "(alpha|beta|rc)\.[0-9]$" | sort -t"." -k 1,1 -k 2,2 -k 3,3 -k 4,4 | tail -n 1...
true
25bd85931fc17651db8c263b9aaff7de5ef173ce
Shell
tomzhang/HorsePower
/docs/mkdocs/program/type/deploy.sh
UTF-8
315
2.84375
3
[]
no_license
#!/bin/bash from=genpdf/*.png dest=../../docs/horseir/types/ list=(lt eq plus minus mul mod logic append like compress indexof order member vector) #list=(eq) for func in ${list[@]} do echo generating $func.png ./run.sh $func echo copying genpdf/$func.png to $dest cp genpdf/$func.png $dest done
true
b767315709aabdb55adf1f30824806506a6c0e72
Shell
osrf/cloudsim-sim
/aws/sasc_deploy.bash
UTF-8
3,923
3.484375
3
[]
no_license
#!/bin/bash # To be executed after the machine is created. It can read from cloudsim-options.json. set -x DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" codedir="$DIR/../.." # Helper to parse options from cloudsim-options.json get_option(){ echo `node -pe "var f = \"$1\"; var query = \"$2\"; var j=requir...
true
5b65fcca32a18327412957029fddda4cc2e3b393
Shell
bluec0re/archlinux-repos
/vim-pct/PKGBUILD
UTF-8
1,100
2.84375
3
[]
no_license
# Maintainer: Timo Schmid <arch@timoschmid.de> pkgname=vim-pct-git # '-bzr', '-git', '-hg' or '-svn' pkgver=r9.1ea3892 pkgrel=1 pkgdesc="" arch=('any') url="https://github.com/d0c-s4vage/pct-vim" license=('MIT') groups=() depends=('gvim' 'python2-peewee' ) makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'...
true
9b49ccb0f9be871b1955a6a40870a35c35bcbd5a
Shell
tt-16/practice-code
/neo-shell/WRF/test/setNameList_input.sh
UTF-8
3,629
2.875
3
[]
no_license
#!/bin/bash #******************************************************** # [modify the namelist f parameter] #******************************************************** #Wname="name" logfile="/wrf/LOG/$Wname/setConfig.log" date=`date +%Y-%m-%d_%H:%M:%S` echo " " > $logfile echo "< setConfig shell start at " $date ">" >> ...
true
34737f623f0c44df0cf834d2dcc9fb103cc8068a
Shell
andy489/Linux_Shell
/1 – FMI Tasks/Shell/05-b-3300.sh
UTF-8
347
3.484375
3
[]
no_license
#!/bin/bash # 05-b-3300 if [ ! $# -eq 3 ]; then echo "Invalid number of argumrnts!" exit 1 fi FILE_1="${1}" FILE_2="${2}" if [ ! -r "${FILE_1}" ] || [ ! -r ${FILE_2} ]; then echo "First two files are not both readable." exit 2 fi paste "${FILE_1}" "${FILE_2}" | sort > "${3}" # paste -d "\n" "${FILE_1}" "...
true
9ffd3acb6a5f19372f27fcfd5db32c3d78ee4dd2
Shell
Filipposk9/Linux
/mfproc
UTF-8
4,898
3.625
4
[]
no_license
#!/bin/bash #mfproc [-u username] [-s S|R|Z] echo -e "Name\t\t\tPID\tPPID\tUID\tGID\tState" if [ "$#" -eq "0" ] then ls /proc | egrep "[0-9]" | while read process do name=`(cat "/proc/$process/status" | egrep "^Name" | cut -f2 -d$'\t') 2>/dev/null` processID=`...
true
ad03758975738168b2dfccb40de8ad7245f71eae
Shell
jhunkeler/spm_packages
/sqlite/build.sh
UTF-8
607
3.09375
3
[]
no_license
#!/bin/bash name=sqlite version=3.29.0 _v=3290000 revision=0 sources=( "https://sqlite.org/2019/${name}-autoconf-${_v}.tar.gz" ) build_depends=( "automake" "autoconf" "readline" "zlib" ) depends=( "readline" "zlib" ) function prepare() { tar xf ${name}-autoconf-${_v}.tar.gz cd ${na...
true
0a59c52d2a7d5de4a48924987aa9a71f6542f993
Shell
cwonrails/shell-scripts
/scripts/start-work
UTF-8
164
2.5625
3
[ "MIT" ]
permissive
#!/bin/bash set -euo pipefail native_apps=( "Todoist" "Slack" "Trello" "Spotify" ) for native_app in "${native_apps[@]}"; do open -a "$native_app" done
true
ddbed2ab75af1b542a9bdd006ce62182728c2cd5
Shell
pengchen98/bitcoin-controller
/travis/deploy.sh
UTF-8
2,015
3.890625
4
[]
no_license
#!/bin/bash # # Push images to Docker hub and update Helm chart repository # # This script assumes that there is a file tag # which contains the name of the tag to use for the push # # We assume that the following environment variables are set # DOCKER_USER User for docker hub # DOCKER_PASSWORD ...
true
c16d1cb752647e8d69e79bb4c682c7ae017ddafa
Shell
zhiru-liu/microbiome_evolution
/bash_scripts/cut_kegg_pathway.sh
UTF-8
582
2.65625
3
[ "BSD-2-Clause" ]
permissive
while read PATRIC; do file=`ls /pollard/shattuck0/snayfach/databases/PATRIC/genomes/${PATRIC}/${PATRIC}.PATRIC.features.tab*` if file --mime-type "$file" | grep -q gzip$; then zcat /pollard/shattuck0/snayfach/databases/PATRIC/genomes/${PATRIC}/${PATRIC}.PATRIC.features.tab | cut -f6,21 > ~/ben_nandita_hmp_d...
true
aad2abe3198335ed60146e294a87be880050b5a3
Shell
gobolinux/BuildLiveCD
/bin/MakeInitRDTree
UTF-8
5,975
3.65625
4
[]
no_license
#!/bin/bash source $(dirname $0)/CompatFunctions helpOnNoArguments=no scriptDescription="Builds the GoboLinux LiveCD InitRD tree." scriptCredits="(C)2003-2009 by Hisham Muhammad et al. Released under the GNU GPL." scriptUsage="[options]" Add_Option_Boolean "i" "use-system-index" "Generate a tree using the /System/In...
true
35d5b43364f2e9282edecab56256d58520c759cc
Shell
Jenji/dynamodb-emr-exporter
/invokeEMR.sh
UTF-8
12,211
3.796875
4
[ "MIT" ]
permissive
#!/bin/bash # Inputs APPNAME=$1 CLUSTER_NAME=$2 PROFILE=$3 TABLE_FILTER=$4 READ_TPUT=$5 JSON_OUTPUT_DIR=$6 S3LOCATION=$7 # Hard-codes (but can be changed here) WRITE_TPUT=0.8 # Used when we generate the Import steps REGION=us-east-1 RETRY_DELAY=10 # Just vars INSTALL_DIR=/usr/local/dynamodb-emr COMMON_JSON=${INSTAL...
true
1ab41995cb373d002af5036db7db7b890082edbf
Shell
xushuhui/offline-installer
/app.sh
UTF-8
1,134
3.546875
4
[]
no_license
#!/bin/bash if [ -z ${webroot} ]; then Echo_Red 'webroot path is empty!' exit 0 fi if [ -z ${redisPort} ]; then Echo_Red 'redis Port path is empty!' exit 0 fi if [ -z ${mysqlPassword} ]; then Echo_Red 'mysql Password path is empty!' exit 0 fi if [ -z ${source_dir} ]; then Echo_Red 'sour...
true
de5e58ecde8e633e8ad7e926ac29b7351524049c
Shell
virtualtam/dotfiles
/bin/git-blob-trotter
UTF-8
650
3.515625
4
[ "CC0-1.0" ]
permissive
#!/bin/bash # # git-blob-trotter # # Displays the N largest blobs in the current repository tree # # See: # - https://stackoverflow.com/questions/10622179/how-to-find-identify-large-commits-in-git-history # - https://stackoverflow.com/questions/223678/which-commit-has-this-blob # # Find which commits add a given blob w...
true
a0d52ebd8d9310ec8419517a94fdcd513befbac0
Shell
bpingris/qtile-desktop-wallpaper
/desktop_theme
UTF-8
478
3.8125
4
[]
no_license
#!/bin/sh function help { cat <<EOF USAGE $0 /path/to/image DESCRIPTION set a wallpaper and add colors on the bar (qlite only) FLAGS -h --help show this help EOF exit 0 } function main { if [ -f $1 ] then colorz $1 --no-preview | cut -d' ' -f1 > ~/.config/qtile/colors_schemes qtile-cmd -o cmd ...
true
7d36a87d90badcaade46552b1d0b401db0f2aee5
Shell
jasonswords/College-Project-Scripts
/server_info.sh
UTF-8
1,332
3.609375
4
[]
no_license
#!/bin/bash IP_HONEYPOTS=(server ip addresses here with space between each ip) HONEYPOT_LOC=(server location names here in same order as ip addresses) PORT=2222 # this script will print all the relevant server information # with the mhn honeypot framework project for i in "${!IP_HONEYPOTS[@]}"; do echo "-----------...
true
471d9ae2e78ea6c99eab648a36d5103356dce6a3
Shell
petar-jovanovic/sdk
/samples/github/ios/compile.sh
UTF-8
2,920
3.5625
4
[]
no_license
#!/bin/bash # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE.md file. # Setup # - Install and build dartino. # - Install Cocoapods. # - Run immic (output i...
true
c4aa3191b94b2a670a2ba592b67832f8dda021d0
Shell
snvakula/svtools
/emcdpo-genbulk.sh
UTF-8
1,072
3.46875
3
[]
no_license
#!/bin/bash # Deps: php, pwgen, emc URL="https://emcdpo.local" SALT="fah6aZfewfwewej" ADDRESS="ERGPQNKpmJNaXeaq6ZDYwgghQDMBQGVema" VENDOR="Your Company" ITEM="Name of your product" PHOTO="http://www.blockchainengine.org/wp-content/uploads/2016/04/Smart4.png" OTHERS="Description=The description of your product" PREFIX...
true
a7f267a092d44da2e067d5052f007e0b36dd405b
Shell
multirom-nexus6p/android_device_huawei_angler
/pull_decrypt_libs.sh
UTF-8
1,333
2.890625
3
[]
no_license
#!/bin/bash # Run in TWRP after mounting vendor partition. vendor_filelist="/vendor/lib64/libQSEEComAPI.so \ /vendor/lib64/hw/keystore.msm8994.so \ /vendor/lib64/libdrmfs.so \ /vendor/lib64/libdrmtime.so \ /vendor/lib64/librpmb.so \ /vendor/lib64/libssd.so \ /vendor/lib64/libdiag.so \ /vendor/bin/qseecomd \ /vendor/lib...
true
54d916eedd0c5cff690b06d110270f44d80878c8
Shell
joelmgjt/v2rayAdm
/install-v2r.sh
UTF-8
9,869
2.921875
3
[]
no_license
#!/bin/bash BARRA="\033[1;36m-----------------------------------------------------\033[0m" IVAR="/etc/http-instas" SCPT_DIR="/etc/SCRIPT" SCPinstal="$HOME/install" rm $(pwd)/$0 add-apt-repository universe apt update -y; apt upgrade -y install_ini () { clear echo -e "$BARRA" echo -e "\033[92m -- INSTALANDO PAQ...
true
77870d4f5e8000ba3b629afd5d92299ba5bd504b
Shell
joehahn/epi_int_lite
/old/piggyback.sh
UTF-8
2,255
3.171875
3
[]
no_license
#!/bin/bash # #piggyback.sh #by Joe Hahn, jmh.datasciences@gmail.com, 3 August 2017. #this is then executed on master after hadoop is launched. # #To execute: ./piggyback.sh echo 'running piggyback.sh...' echo $(whoami) echo $(pwd) #unpack the spark-one-off repo, with permissions set so that user=jupyter #can rea...
true
304475055a5aa01e6fdc0a7a8082198284801663
Shell
tsmith512/dotfiles
/sublime/install.sh
UTF-8
823
2.921875
3
[]
no_license
#!/usr/bin/env bash # _ _ _ _ _ # ___ _ _ | |__ | |(_) _ __ ___ ___ | |_ ___ __ __| |_ # / __|| | | || '_ \ | || || '_ ` _ \ / _ \ | __|/ _ \\ \/ /| __| # \__ \| |_| || |_) || || || | | | | || __/ | |_| __/ > < | |_ # |___/ \__,_||_.__/ |_||_||_| |_| |...
true
d4f341ef64b8c9a8ba2f165bae359cae91f8f040
Shell
redx177/krb5-sidecar-container
/scripts/entrypoint.sh
UTF-8
1,680
3.5
4
[ "Apache-2.0" ]
permissive
#!/bin/sh printf "\n### MIT KRB5 sidecar ###\n\n" printf "This container includes everything necessary to authenticate with an Active Directory KDC or Kerberos KDC using a keytab. At a\ngiven interval kinit is executed to get a fresh ticket from the TGS. \n\n" # Secure keytab chmod 400 /krb5/common/krb5.keytab # Co...
true
25d960f02dc3b8bb995dc9f641c028947593c5c2
Shell
amandasaurus/openstreetmap-americana
/style/scripts/import_rebusurance.sh
UTF-8
1,675
3.421875
3
[ "CC0-1.0" ]
permissive
#!/bin/bash if ! command -v xmlstarlet &> /dev/null then echo "xmlstarlet is not available." exit -1 fi find "build/rebusurance-v1.0.0/image2d" -name "*.svg" -type f -print0 | while read -d $'\0' f; do newfile=`echo "$f" | sed -e 's/ /_/g; s/U.S./us/g'` mv -n "$f" "$newfile"; done for i in $( ls build/re...
true
d8c3974fd7e1fe13902a02ab9324f87bd6ac9352
Shell
dhvssigrun/filezilla
/compiler.FileZilla_3.54.1.with.jstor.sh
UTF-8
4,026
2.609375
3
[]
no_license
#Compiler FileZilla_3.54.1 with jstor by KAPITALSIN 2021 #sudo apt-get git subversion #https://tecadmin.net/install-go-on-ubuntu/ sudo apt install libjson-c-dev libuv1-dev libmicrohttpd-dev read -n1 -p "PULSA [ENTER] PARA CONTINUAR O [CTRL+C] PARA PARAR EL SCRIPT" time_start=`date +%s` #Create staging directory STAG...
true
bee363ea4837aaa718f337e06bf9c1c9e4203569
Shell
rileyhales/nldas
/data_workflow/onion_creek_events/workflow.sh
UTF-8
971
3.515625
4
[ "BSD-3-Clause" ]
permissive
#!/bin/sh # Assuming this file is always run on a system that contains curl # Adapted from script written by Rohit Khattar DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" if [ "$1" == "" ]; then echo "Specify A Data Directory" exit fi echo "Downloading Data..." cd #touch .netrc #echo...
true
15aeacffbd492511aa590a6c870c2e4f4a1eca14
Shell
outtersg/guili
/apr-util
UTF-8
2,495
3.234375
3
[ "MIT" ]
permissive
#!/bin/sh # Copyright (c) 2005 Guillaume Outters # # 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, merge,...
true
8db6239255ac58968a44e1db0ab0bb2f861d9a57
Shell
STEllAR-GROUP/hpx
/tools/change_includes.sh
UTF-8
4,543
4.25
4
[ "BSL-1.0", "LicenseRef-scancode-free-unknown" ]
permissive
#!/bin/bash # Copyright (c) 2019 The STE||AR-Group # # SPDX-License-Identifier: BSL-1.0 # Distributed under the Boost Software License, Version 1.0. (See accompanying # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) # This script aims at replacing the old headers by the new one # /!\ This file...
true
ab8364572371f0202fb3c5094bf29d22e451f5a0
Shell
tim-patterson/sql-dep-analyzer
/deploy.sh
UTF-8
362
3.03125
3
[]
no_license
#!/bin/sh set -e ./gradlew build REMOTE=$(git remote get-url origin) rm -rf build/tmp/ghpages mkdir -p build/tmp/ghpages cp src/main/web/* build/tmp/ghpages cp build/bundle/* build/tmp/ghpages ( cd build/tmp/ghpages git init git remote add origin $REMOTE git add . git commit -m "GH PAGES" git push --force o...
true
7863aec67fca0aac8437716f42d850cf3519fc81
Shell
Zefiro/tgigor
/start_igor.sh
UTF-8
555
3.3125
3
[ "MIT" ]
permissive
#!/bin/bash # This starts the Telegram bot Igor in a screen for the current user # this script is intended to be called at bootup, e.g. from /etc/rc.local with: # su -c /home/zefiro/tgigor/start_igor.sh zefiro cd "$(dirname "$0")" # -A: auto-resize screen # -dm: starts a new screen session in detached mode # -S: set ...
true
05a75706170f2dab145f803bd4303eea11146616
Shell
iSkans/OpsWorks
/proxy/templates/default/proxy2ensite.erb
UTF-8
1,228
3.65625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash #-- Configuration --# NGINX='<%= node[:nginx][:dir] %>' APP_NAME=$1 APP_DIR=$2/current APP_DOMAINS=`echo $3 | sed 's/,/ /g'` #-- Retrieve Proxy ip and port from package.json --# if [ -f $APP_DIR/package.json ] then APP_IP=`sed -n 's/[[:space:]]*"proxy"[[:space:]]*:[[:space:]]*"\([^"]*\).*/\1/p' $APP_DIR/p...
true
152864a83a60260cf74a932fc0ef784e3608689b
Shell
NoorahSmith/BlackBird-SubdomainEnum
/modules/bruteforcer.sh
UTF-8
815
3.03125
3
[]
no_license
#!/usr/bin/env bash ######## # # BlackBird's Bruteforcing Module # ####### PG_DIRSEARCH=$1 In_File=$2 Domain=$3 In_Path=$4 VAR_SLACK_TOKEN=$5 mkdir $In_Path$Domain/bruteforcer slack-cli -t $VAR_SLACK_TOKEN -d blackbird-output "Dirsearch Bruteforcing Started Against $Domain" while read DOMAIN do $PG_DIRSEARCH -u...
true
8fc553d7f77dbe740c8db53a8933d18ece27bf97
Shell
Fersca/natyla
/scripts/reqTest.sh
UTF-8
384
2.828125
3
[ "MIT" ]
permissive
#!/bin/bash c=1 while [ $c -le 19000 ] do echo "Welcone $c times" curl -H "Content-Type: application/json" -X POST -d '{"name":"fer","surname":"scasserra","age":31, "location":"buenos aires de america", "scuadra":"river plata varias veces campeon del mundo","pais":"argentina, un gran pais para vivir"}' http://localho...
true