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
9deb7644a6541940fc2eba00972dc674aa12a82d
Shell
4a256b6b3e7t3e8b7t9q7t/samba4-ads
/home/$USER/.bash_aliases
UTF-8
1,305
3.40625
3
[]
no_license
acl(){ /usr/bin/getfacl "${1-.}" "${@:2}";}; readonly -f acl inscreen(){ screen -q -ls if [ $? -gt 10 ] && screen -S "main" -X select . 2> /dev/null 1>&2 ; then printf 'screen -S "main" -X screen' printf ' "%s"' "$@" printf ' --' fi }; readonly -f ...
true
bec34aba3f02de49e1e4374ff5d85274d28e53de
Shell
andreyvpng/dot
/i3wm/.config/i3/scripts/i3-get-color
UTF-8
100
2.796875
3
[]
no_license
#!/bin/bash get_color() { echo "$(xrdb -query -all | grep $1 | awk '{print $2}')" } get_color $1
true
5e4012f4b7e0b18dd34eb10a5fa46b06e76c7e1f
Shell
dkorunic/ibm-ds-rrdgraph
/update-rrd.sh
UTF-8
2,028
3.6875
4
[]
no_license
#!/bin/sh # constants and other SAN_NAME="my-DS3300-SAN" DS_CMD="SMcli -n $SAN_NAME -c \"show allLogicalDrives performanceStats;\"" RRD_FILE_PATH="rrd" AWK_CMD='BEGIN { FS="," } /CONTROLLER|Logical Drive/ { gsub(/\"/, ""); gsub(/[ \t]+/, "_"); gsub(/CONTROLLER_IN_SLOT/, "CTRL"); gsub(/Logical_Drive/, "LUN"); print $1,...
true
b50d7bb437ca245044c701be9954cbcc9c5e406d
Shell
Bergem93/linux_scripts
/sysinfo_page
UTF-8
852
3.8125
4
[]
no_license
#!/bin/bash # sysinfo_page - Et script som oppretter en html layout. #### Constants TITLE="My System Information for $HOSTNAME" RIGHT_NOW=$(date +"%x %r %z") TIME_STAMP="Updated on $RIGHT_NOW by $USER" #### FUNCTIONS system_info() { echo "<h2>System release info</h2>" echo "<p>Function not yet implemented</p>" ...
true
62a5a4d7e6ba8e5694b12532fd0a5cc9e071efdf
Shell
nravid/netscaler
/ciphers.sh
UTF-8
564
3.75
4
[]
no_license
#Usage ./ciphers.sh <server>:<port> SERVER=$1 DELAY=1 ciphers=$(openssl ciphers 'ALL:eNULL' | sed -e 's/:/ /g') echo Obtaining cipher list from $(openssl version). for cipher in ${ciphers[@]} do echo -n Testing $cipher... result=$(echo | openssl s_client -cipher "$cipher" -connect $SERVER 2>&1) if [[ "$result" =~ ":err...
true
1e334decf1621988e9e6be94fea51f41ccf2815f
Shell
bejayoharen/heroku-buildpack-go-revel
/bin/compile
UTF-8
7,717
3.5625
4
[]
no_license
#!/bin/bash # usage: bin/compile <build-dir> <cache-dir> <env-dir> set -eo pipefail echo '---- > Downloading and installing ffmpeg' indent() { sed -u 's/^/ /' } BUILD_DIR=$1 CACHE_DIR=$2 ENV_DIR=$3 VENDOR_BIN_DIR="$BUILD_DIR/vendor/bin" PROFILE_PATH="$BUILD_DIR/.profile.d/ffmpeg.sh" PROFILE_PATH1="$BUILD_D...
true
18493658f5a21a2e79e2c5fe4e6ce3102f33e1b2
Shell
froskos/vagrant-mean
/env/bootstrap/list.sh
UTF-8
247
2.765625
3
[]
no_license
#!/bin/bash # echo "" echo "BUILD STARTS" echo "" #Set path to scripts installing each package BUILD_PATH="/vagrant/env/build" #Call the scripts that install the required packages $BUILD_PATH/git.sh $BUILD_PATH/node.sh $BUILD_PATH/mongodb.sh
true
b6d9bc27acca65346259156683f5da053bea4293
Shell
Ghardo/shutdown-fsck
/fsck_shutdown
UTF-8
867
4
4
[]
no_license
#!/bin/bash DEVICES="/dev/sda4 /dev/sdb4" LOGFILE="testlog" function log2file { echo "$(date +\[%a,%F\ %T\]) $1" >> $LOGFILE } for DEVICE in $DEVICES; do log2file "### Checking ${DEVICE} ###" MOUNTCOUNT=$(tune2fs -l $DEVICE | grep "Mount count" | awk '{print $3}') MAXMOUNTCOUNT=$(tune2fs -l $DEVICE | grep "Maxi...
true
028e707eec6b4ddb8a19244012aa3cdc430c9b42
Shell
guziakas/docker-coverity-scan-maven
/run-coverity.sh
UTF-8
1,647
3.734375
4
[]
no_license
#!/usr/bin/env sh set -e printHelp() { echo "Runs Coverity Scan for Maven project." echo "Usage: docker run onenashev/coverity-scan-maven <organization> <project> <scm_tag> <email> <token>" echo "" } #TODO: Good parameter processing if [ $# -eq 0 ]; then printHelp exit 0 fi if [ $# -ne 5 ]; then echo "ERR...
true
87160c94a4d7aca4dcbf0a882744b3b7671bab8f
Shell
Epivalent/ampify
/environ/ampdev.sh
UTF-8
3,731
3.828125
4
[ "LicenseRef-scancode-public-domain", "MS-PL", "CC0-1.0", "BSD-3-Clause" ]
permissive
#! /bin/sh # No Copyright (-) 2010 The Ampify Authors. This file is under the # Public Domain license that can be found in the root LICENSE file. # NOTE: This script has only been tested in the context of a modern Bash Shell # on Ubuntu Linux and OS X. Any patches to make it work under alternative Unix # shells, vers...
true
b8c0553fb1cd67552854ec9a49be213ad3665d1c
Shell
dream1986/you-get-ui
/you-get-ui
UTF-8
758
3.515625
4
[]
no_license
#!/bin/bash ### * dream1986 * 20151216 ### 使用zenity给you-get在线视频下载软件创建交互式图形窗口 ### 需要安装 zenity 、you-get 、lxterminal (可用其他终端替换) ### 将这个脚本绑定键盘快捷键,使用时复制视频地址,按快捷键调出(窗口1), 粘贴视频地址点确定 ### 定义下载目录 dir=/home/dream/视频/ ### 创建在线视频地址提交窗口,获取视频url地址,按确定键开始下载,按取消键退出 (窗口1) url=$(zenity --entry --title="you-get 视频下载" --text="输入在线视频地址...
true
228a0c6e9a442b99a7919459003eb899da293762
Shell
morimekta/generate_workspace
/generate_workspace.sh
UTF-8
3,956
3.625
4
[ "MIT" ]
permissive
#!/bin/bash # # Copyright (c) 2016, Stein Eldar Johnsen # # 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, ...
true
a417a604ba98586e7e2c6f034b73cb49a1b27337
Shell
zergioz/crypto
/overclock.sh
UTF-8
819
3.203125
3
[]
no_license
#!/bin/bash MY_WATT="120" MY_CLOCK="150" MY_MEM="800" MY_FAN="85" export DISPLAY=:0 # Graphics card 1 to 5 for MY_DEVICE in {0..4} do # Check if card exists if nvidia-smi -i $MY_DEVICE >> /dev/null 2>&1; then nvidia-settings -c :0 -a "[gpu:$MY_DEVICE]/GPUPowerMizerMode=1" # Fan speed nvidia-settings -c :0...
true
2f9ef248ebca9219f3bfe589d7b51221d3bef37e
Shell
Ste74/aur-alucryd
/unsupported/gens-gs-ii-git/PKGBUILD
UTF-8
1,110
2.734375
3
[]
no_license
# Maintainer: Maxime Gauduin <alucryd@archlinux.org> pkgname=gens-gs-ii-git pkgver=r2642.8454ae5 pkgrel=1 pkgdesc='A Sega Genesis/CD/32X emulator' arch=('i686' 'x86_64') url='http://segaretro.org/Gens/GS_II' license=('GPL') depends_i686=('glew' 'minizip' 'portaudio' 'qt4') depends_x86_64=('lib32-glew' 'lib32-portaudio...
true
ab7f64ea3fa57e7742df9926e8fdeca12d169ba5
Shell
reorx/dotfiles
/bin/frgi
UTF-8
743
3.453125
3
[]
no_license
#!/usr/bin/env bash if [[ "$1" == "-h" ]]; then echo "Interactive rg search" echo "Usage: frgi [PATTERN [PATH]]" exit fi declare preview="$FZF_PREVIEW_CONTEXT_CMD" while getopts ':l' x; do case "$x" in l) list_files=1 preview="$FZF_PREVIEW_CMD" ;; esac done shift $(( OPTIND - 1 )) uns...
true
6e2ea434144be427be8178a3089f1881bcc1eea6
Shell
xuerenlv/hihoCoder
/c++_interview/MyImplement/make_run.sh
UTF-8
91
2.734375
3
[]
no_license
cur_path=$PWD if [ -f $cur_path/"xhj" ] then rm ./xhj fi g++ $1 -o xhj ./xhj rm ./xhj
true
26834cf040b6519eb2e3fd3c3720ffb9967db7d7
Shell
lenik/stack
/deployment/node/sdu/sdu-security-util/hw
UTF-8
343
3.46875
3
[]
no_license
#!/bin/bash echo Bash history size of users: sudo bash -c ' while IFS=: read username password uid gid fullname home shell; do if [ -r "$home/.bash_history" ]; then histsize=`grep -v '^#' "$home/.bash_history" | wc -l` histsize="${histsize%% *}" printf "%10d %s\n" $histsize $username f...
true
07c46734ed23898e046a34c098dd8f51b1e8a229
Shell
yukishinonome/dotfiles
/.zshrc
UTF-8
1,757
2.875
3
[]
no_license
alias zshrc='vim ~/.zshrc' alias szshrc='source ~/.zshrc' alias vimrc='vim ~/.vimrc' alias gs='git status' alias gsd='git switch -d' alias gc='git checkout' alias gcp='git cherry-pick' alias gb='git branch' alias hg='history | grep' alias b='bundle' alias be='bundle exec' alias k='kubectl' alias ke='kubectl exec' alias...
true
eac7ad70ab65f57ddb5bdcd68a077aa6332747ac
Shell
codebam/dotfiles-old
/bin/spectro
UTF-8
6,579
3.90625
4
[ "MIT" ]
permissive
#!/bin/bash trap 'exit' ERR shopt -s nullglob # spectro: creates forum code with spectrograms of FLAC/MP3 files # Dependencies: sox, optipng and curl (lame optional) # Usage: spectro location/of/album/ or spectro file1 file2... # Check for dependencies command -v sox >/dev/null 2>&1 || { echo >&2 "This script require...
true
b0146c3cae727713c43e8cb9f5df097d269b0de4
Shell
FauxFaux/debian-control
/r/rainloop/rainloop_1.11.1-1_all/postinst
UTF-8
488
2.859375
3
[]
no_license
#!/bin/sh -e #Copy sample config file for Nginx if [ -d /etc/nginx/sites-available/ ]; then if [ ! -f /etc/nginx/sites-available/rainloop ]; then cp /usr/share/doc/rainloop/rainloop.nginx.conf /etc/nginx/sites-available/rainloop fi fi #Copy sample config file for Apache2 if [ -d /etc/apache2/sites-available/ ]; t...
true
53232c61306318447b3d261cacc3c4c821fe2051
Shell
NavidHeydari/OpenWhisk_actions
/taskExecutor.sh
UTF-8
414
2.640625
3
[]
no_license
#! /bin/sh module load parallel echo "starting" for ((count=1;count < 200 ;count++)) { #curl https://openwhisk.ng.bluemix.net/api/v1/web/navidh2%40uw.edu_dev/default/openWhiskTester.json?number=20 | grep result > cpuStress_res${count}.csv curl https://openwhisk.ng.bluemix.net/api/v1/web/navidh2%40uw.edu_dev/defaul...
true
1e982885ab524c5e5e0bf76d885340b81444e108
Shell
ilscipio/scipio-erp
/themes/base/webapp/base/bower_components/codemirror/component-tools/build.sh
UTF-8
599
3.84375
4
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0", "LicenseRef-scancode-unknown", "LicenseRef-scancode-jdom", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "MPL-1.1", "CPL-1.0", "GFDL-1.1-or-later", "MPL-2.0", "CC-BY-2.5", "SPL-1.0", "LicenseRef-scancode-proprietary-license", "C...
permissive
#!/usr/bin/env bash set -e if [[ -z "$1" ]]; then echo "please specify a tag to build" exit -1 fi TAG="$1" if [[ ! -z "$(git tag | grep "^$TAG\$")" ]]; then echo "tag $1 already exists" exit -1 fi repo="$(dirname $(dirname $0))" test -f "$repo/component-tools/$(basename $0)" td="$(mktemp -d)" cd "$...
true
b936fa62d3e88d0af0084d84f87fdb04e1c091b7
Shell
gissehel/centraconf
/__tools__/mkbootstrap.sh
UTF-8
1,156
3.75
4
[]
no_license
#!/usr/bin/env bash bootstrap_header_size=800 targetdir="$1" [ -z "$targetdir" ] && targetdir="$(dirname "$0")/.." wd="$(pwd)" cd "$targetdir" targetdir="$(pwd)" which git >/dev/null && git submodule init which git >/dev/null && git submodule update -f cd "$wd" echo "Create a bootstrap from [$targetdir] (enter=>yes)?"...
true
da47ab953541c3e12a9913f2ae8134ece87ce99b
Shell
Code-Slave/kiwix-serv-improved
/server/entrypoint.sh
UTF-8
967
4
4
[ "Unlicense" ]
permissive
#!/bin/sh # # Handles various arguments passed in to docker container which should be one of # the following: # # - if nothing is specified then show help for kiwix-serve # - if the single argument generate-library then run generate-library command # - if '--library somefile' is specified run kiwix-serve with that # - ...
true
376ffa1ba3e22a79e1e533a2e3f1dfc0d73aad51
Shell
pabl0rg/kobalt-mixed-example
/check-dep.sh
UTF-8
355
3.140625
3
[]
no_license
#!/bin/sh if [ "$#" -ne 3 ]; then echo "Usage: $0 <groupId> <artifactId> <version>" exit fi POM_DIR="`echo "$1" | tr . /`/$2/$3" POM_PATH="$POM_DIR/$2-$3.pom" mkdir -p "$HOME/.m2/repository/$POM_DIR" wget -q -O "$HOME/.m2/repository/$POM_PATH" "http://repo.maven.apache.org/maven2/$POM_PATH" mvn -f "$HOME/.m2/repo...
true
8352c8715e517a0d3b4ef4e59dd1bfe7543eaa05
Shell
Guolei1130/script_tools
/test.sh
UTF-8
102
2.625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash fillter="adb" result=`ps -l | grep ${fillter}` var_arr=($result) echo ${var_arr[1]}
true
992b9704611a37929949d292a86ad41bd773b23b
Shell
LostEchoDX/Hyrule-Castle
/HyruleCastle/base_game/hyrule_castle.sh
UTF-8
933
3.078125
3
[]
no_license
#!/bin/bash HP1=60 ; HP1mx=60 ; HP2=30 ; STR1=10 ; STR2=5 ; N=1 ; ENM=Boko echo " Floor $N " while (($HP1>0)) do echo 1-Attack 2-Heal? read OPT if [ $OPT == Attack ] || [ $OPT == 1 ] then HP2=$(($HP2-$STR1)) HP1=$(($HP1-$STR2)) echo "Link : $HP1" echo "$ENM : $HP2 " fi if [ $OPT == Heal ] || [...
true
6fc3d7e05c4379a22b6ced69600e703ed748fc6c
Shell
sullof/secrez
/bin/check-unused.sh
UTF-8
136
2.953125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash PACKAGES=`ls -d packages/*` for package in $PACKAGES do (cd $package && echo $package && npm-check-unused) done
true
680c5072ee1e5d3bf68c1692ba39f7493d778365
Shell
mojofunk/mingw-pkg
/packages/boost/MINGWPKG
UTF-8
357
3.53125
4
[]
no_license
#!/bin/bash function define_package_env { PKG_NAME='boost' PKG_VERSION="1.55.0" PKG_DEPS="gcc" } function install { # not packaging them all for now DLLS=' libboost_system-mt.dll libboost_filesystem-mt.dll libboost_unit_test_framework-mt.dll ' mkdir -p $PKG_BIN_DIR || exit 1 for i in $DLLS; do copydll...
true
8943d5732be5fda8c366be438d63031f0605bc84
Shell
eush77/dotfiles
/SCRIPTS/bin/taggen
UTF-8
2,555
4.15625
4
[]
no_license
#!/bin/bash if [[ $# -eq 0 || "$1" == "--help" ]];then for((i=0;i<80;i++));do echo -ne '—' done echo echo -e "\e[1m\e[33mDescription\e[0m" echo -e "\e[4C'\e[4mtaggen\e[0m' generates \"ID3v1\" and \"ID3v2\" tags using" echo -e "\e[8C\"\$1\" as an artist name,\n\e[8C\"\$2\" as a genre spec...
true
37c2efd22cde178df760d260b67ae7af400fc013
Shell
Jayad/Program_practise
/scripts/practise.sh
UTF-8
601
3.546875
4
[]
no_license
#!bin/bash #$bc 7 + 5 #date_formatted=$(date +%m_%d_%y-%H.%M.%S) #cp -iv $1 $2.$date_formatted env #enviornment echo $PATH #executable paths echo $PWD #current working directory echo "Simple Script" ls > myfiles echo $date $date >> myfiles echo $LOGNAME no=10; echo $no; if [ "foo" == "foo" ]; then echo "Expressions...
true
5ebdf184d28b0612fdda1393629db4e08f6c0af5
Shell
uu-z/block-bash
/Characters/exclamationMark.sh
UTF-8
78
2.890625
3
[]
no_license
#!/bin/bash val=10 if [ "$val" != 0] then echo "NOT" else echo "YES" fi
true
64821247a35268597e909aef0ff67014b76fb71a
Shell
irina-luca/algorithm_design_project
/Code/Scripts/metrics-train-models.sh
UTF-8
344
2.59375
3
[]
no_license
dimension_sizes=(60,257) sphere_sizes=(32,64,128) for ds in "${dimension_sizes[@]}" do for ss in "${sphere_sizes[@]}" do for i in $(seq 1 5) do echo "${ds} ${ss} ${i}" python train-cli.py -i Data/Metrics/random_10000_d$ds_cl32_$i.train -m Data/Models/metric-10000_d$ds_cl32_c$ss_$i.model -c $...
true
30e7f1521361af8e187f443cbb4429da8ff53e09
Shell
freebsd/freebsd-ports
/science/InsightToolkit/files/fake-git
UTF-8
804
3.71875
4
[ "BSD-2-Clause" ]
permissive
#!/bin/sh ## ## fake git to assist in downloads of remote modules ## #echo "fake-git called with args: $@" >> /tmp/fake-git.log case "$1" in --version) echo "git version 2.40.0" exit 0 ;; clone) # we don't run git clone #/usr/local/bin/git clone $2 $3 >> /tmp/fake-git.log 2>&1 # args url=$2 dir=$3 # extra...
true
262355ee4fc2e2b4eaa491b183927d728fa210a5
Shell
Ramjivan/copier
/rename.sh
UTF-8
572
3.453125
3
[]
no_license
#!/usr/bin/bash IFS=' ' echo "Enter starting point" read start function rp() { local array=(`ls -1`) for i in ${array[@]} do temp="" templen="${#start}" if [ $templen -eq "1" ] then temp+="000" fi if [ $templen -eq "2" ] then temp+...
true
bcdd2eea622f2d71cd5e35c6e9de26c38aeec1e8
Shell
maluramichael/osx-configs
/_tools/hashcat.sh
UTF-8
218
2.96875
3
[]
no_license
#!/usr/bin/env bash set -o errexit set -o pipefail set -o nounset if [ ! -d "$TOOLS_HOME/hashcat" ]; then git clone git@github.com:hashcat/hashcat.git "$TOOLS_HOME/hashcat" fi cd "$TOOLS_HOME/hashcat" || return git pull
true
d04413c9b4c067a9ac23f92173c15902030ed927
Shell
xlcoder/codesnippet
/autodeploy/laravel_local_auto
UTF-8
625
3.015625
3
[]
no_license
#!/bin/bash #Variable rootdir= nginxfile= databasename= pwd= #Step 1: Nginx file sudo cp /var/www/$nginxfile /etc/nginx/sites-available sudo ln -s /etc/nginx/sites-available/$nginxfile /etc/nginx/sites-enabled sudo service nginx restart #Step 2: Composer Laravel Framework cd /var/www/ sudo composer create-project ...
true
41f3345a943ad7107c248abe83951fe84c9ba309
Shell
GOSkyYLQ/Blog-and-Exercises
/SHELL/debug.sh
UTF-8
83
2.59375
3
[]
no_license
#!/bin/bash for i in {1..6}; do set -x echo $i set +x done echo "done"
true
54d93fa9a5e19116b90899788fd10f072c50d569
Shell
adityasuwandi/gocsv
/gocsv.sh
UTF-8
850
3.125
3
[]
no_license
#!/bin/bash # (curl --write-out %{http_code} --silent --output /dev/null localhost:3000/index) # (curl --write-out %{http_response} --silent --output /dev/null localhost:3000/index) # response=$(curl -sb -H "Accept: application/json" "http://host:8080/some/resource") # response=$(curl -sb -H "Accept: application/json"...
true
1598e856aacd38653f1f4dc9fde304a041363f30
Shell
mjsweet01/didactic-umbrella
/build.sh
UTF-8
647
2.78125
3
[]
no_license
#!/bin/bash echo "src-git passwall https://github.com/xiaorouji/openwrt-passwall" >> feeds.conf.default sudo apt-get update sudo apt-get install upx -y cp /usr/bin/upx staging_dir/host/bin cp /usr/bin/upx-ucl staging_dir/host/bin ./scripts/feeds update -a OPENWRT_VERSION=$(sed -n 's/.*releases\/\(.*\)\/targets.*/\1...
true
2eba68c5687ae2841741dbbdda4eb9847891c64f
Shell
dolfly/fullproof
/tools/build-all.sh
UTF-8
930
3.65625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash test -f common.sh || { echo "The `basename $0` script must be invoked from the tools directory." >&2 exit 1 } . common.sh rm -fr "$BUILD" mkdir -p "$BUILD" ./build-src.sh ./build-site.sh if [[ "$JSDOC" == "" ]] ; then set +e JSDOC=`which jsdoc` set -e fi if [[ "$JSDOC" != "" ]] ; t...
true
ad92a4f979b6388a69b2bbb00bc95ed2b04dd2f9
Shell
BPMspaceUG/linux_config_script_files
/test.sh
UTF-8
644
3.59375
4
[]
no_license
#!/bin/bash NETWORK=$1 case $NETWORK in dhcp) echo "iface $IFACE inet dhcp" ;; static) read -p "Please enter IP address:" IP read -p "Please enter Netmask:" NETMASK read -p "Please enter Gateway:" GATEWAY read -p "Please enter Primary DNS resolver:" DNS echo "...
true
9c79576972c0b31385828015f0367de21cc24596
Shell
monotonemonk/arch_svntogit_community-
/ocrad/repos/community-x86_64/PKGBUILD
UTF-8
716
2.578125
3
[]
no_license
# $Id$ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> pkgname=ocrad pkgver=0.25 pkgrel=3 pkgdesc="An Optical Character Recognition program" arch=('i686' 'x86_64') url="http://www.gnu.org/software/ocrad/ocrad.html" license=('GPL3') depends=('gcc-libs' 'texinfo') options=('staticlibs') source=("http://ftp.gnu.o...
true
914f12b15ccfe1f045996c2fe5acf2cf7dca1df6
Shell
rrusnak1/nimbus
/home/bin/nimbus-version
UTF-8
224
2.546875
3
[]
no_license
#!/bin/bash PYTHON_EXE="/usr/bin/env python -Wignore::DeprecationWarning" NIMBUS_HOME_REL="`dirname $0`/.." NIMBUS_HOME=`cd $NIMBUS_HOME_REL; pwd` export NIMBUS_HOME $PYTHON_EXE $NIMBUS_HOME/libexec/nimbus_version.py $@
true
010068bcfe85b81f4ebec96d898fcb7bb477bff9
Shell
jeffer-mendoza/env-install-snippet
/instalacion-entorno-linux.sh
UTF-8
5,169
3.6875
4
[ "MIT" ]
permissive
#!/bin/bash # Script's inicialization of the tools need to webapp development "Auditoría de # Proyectos Gore". This script will download all packages need and it will # install and configure. # This Script will install the following tools: # 1. Spring Tool Suite v3.9.5 # 2. Apache Maven v3.5.4 # 3. Mysql v5.9 # 4....
true
393c901af489ad16d64feaf38787ffdd92e8c826
Shell
jeromefroe/dotfiles
/alfred/Alfred.alfredpreferences/workflows/user.workflow.0CB12A0B-D344-49CE-BD39-AE7C72EA585A/passwd.sh
UTF-8
1,693
3.4375
3
[]
no_license
#!/bin/bash export LPASS_DISABLE_PINENTRY=1 export CURRENT= export NEW="x" export CONFIRM= # Get current password CURRENT=$(osascript -e 'text returned of (display dialog "Current Master Password for '"${lpuser}"'" default answer "" with title "Enter Current Password" with hidden answer)') [ "${CURRENT}" == "" ] && ...
true
c864e5f6bdc1b59c60dcf3e3c2ca5048a0c29ad1
Shell
tdrl/init
/nukeitall.sh
UTF-8
410
3.296875
3
[]
no_license
#!/bin/bash TARGETS=( ${HOME}/Pictures/pix ${HOME}/Pictures ${HOME}/tmp # /tmp/${USER} # ${HOME}/work ) LOGFILE=/tmp/nuke.log if [ -x /usr/bin/srm ]; then zorch() { nohup /usr/bin/srm "$*" >> "${LOGFILE}" 2>&1 ; } elif [ -x /bin/rm ]; then zorch() { nohup /bin/rm -rfP --...
true
7af7d47db5bf977bf95aa2a6c949df3161ad5093
Shell
sjpribyl/Sys_Tools
/getinv
UTF-8
16,265
3.25
3
[]
no_license
#!/bin/bash # #TODO #mysql #apache conf #samba #netstat -p #iptables #selinux audit #sshd_config? # INV_DIR="/var/lib/inventory" KEY_FILE="/root/.ssh/id_getinv" KEY_USER="getinv" INV_HOST="lxinv" status=0 export PATH="/sbin:/usr/sbin:/bin:/usr/bin" LOCAL=0 while (( "$#" )); do if [ -z "${script}" -a "${1}" = "-l" ...
true
703437d8ce9d89ccbd80ceecaa4f5535958a220b
Shell
pbt001/dippindots
/bin/task
UTF-8
958
4.03125
4
[]
no_license
#!/bin/bash # Time tracking # Usage: # - Start task: task <TASK NAME> # - Stop task: task stop # - Task status: task status TASK_FILE=~/work/_admin/tracking.txt TASK=$1 if [ -z "$TASK" ]; then exit 1 fi # Check if a task is active if [ -f $TASK_FILE ]; then LAST=$(tail -n 1 $TASK_FILE) LAST_START=$(echo ...
true
6f6fa6cad5fa7e33c3004d416b81b43bb78d1198
Shell
cntrump/ffmpeg-static
/build_libsdl2.sh
UTF-8
308
2.875
3
[]
no_license
#!/usr/bin/env zsh set -e source ./env.sh if [ ! -d ./libsdl2 ];then git clone --depth=1 https://github.com/libsdl-org/SDL.git libsdl2 fi cd ./libsdl2 ./autogen.sh ./configure --prefix=/usr/local --without-x --enable-hidapi --enable-static --disable-shared make -j ${CPU_NUM} && sudo make install cd ..
true
989d0f5d8030d5028d88d2da678f713a20a5b226
Shell
106aRoboCupSim/simatch
/src/robot_code/nubot_hwcontroller/magenta_hwctr.sh
UTF-8
642
2.890625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash ### source the workspace source ../devel/setup.bash source devel/setup.bash ### Get parameters and init declare -i j declare -i kill_num magenta_prefix=$(rosparam get /magenta/prefix) magenta_num=$(rosparam get /magenta/num) kill_num=0 ### spawn magenta robots for ((i...
true
272445ae918e3fb1df99324cc0162ac319f0ce8a
Shell
BurntSushi/dotfiles
/bin/terminal-tmux-remote
UTF-8
279
2.984375
3
[]
no_license
#!/bin/sh if [ -z "$1" ]; then echo "Usage: $(basename $0) <host>" >&2 fi host="$1" if is-work; then exec gnome-terminal -- ssh -AY "$host" -t '. ~/.pathrc ; tmux' -u new -A -s remote else exec terminal -e ssh -AY "$host" -t '. ~/.pathrc ; tmux' -u new -A -s remote fi
true
27938fc2b1e70cb8f050fbed68da71872c4aaf58
Shell
terx/mtrn
/mtrn-cmd-proof
UTF-8
579
3.875
4
[]
no_license
#!/bin/sh CMD=$1 case $1 in ssh_key) HOST=$2 PORT=$3 TEMP=$(mktemp) FILE=../../proofs/ssh_key_${HOST}_${PORT} DIFF=ssh_key_${HOST}_${PORT} if ssh-keyscan -t rsa1,rsa,dsa -p 9824 localhost > $TEMP; then if [ -e $FILE ]; then diff $FILE $TEMP > $DIFF else cat $TEMP > $FILE echo -n > $DIFF ...
true
69c8987f24e30b20eba6855700daa3e1092a6e33
Shell
varelajuanma/FacultadDeInformatica---UNLP
/2do año/ISO/2016/Practicas/ISO Practicas Resueltas/scripts/ej20.sh
UTF-8
626
3.375
3
[]
no_license
#!/bin/bash #el comportamiento de una pila #21) Dentro del mismo script y utilizando las funciones implementadas agregue 10 #elementos a la pila, saque 3 de ellos, imprima la longitud de la cola y luego la totalidad #de los elementos que en ella se encuentran. vector=() index=0 print() { for elem in ${vector[*]} do...
true
f2dc7b66378885d6b2afcd1eaec3a13d38e33808
Shell
MIRTK/BAtCh
/bin/gen-parameter-search-refinement-stage
UTF-8
17,212
3.78125
4
[]
no_license
#! /bin/bash appid="$(basename "$0")" appdir="$(cd "$(dirname "$BASH_SOURCE")" && pwd)" appdir="$(cd "$appdir/.." && pwd)" source "$appdir/lib/daggen/mirtk.sh" || { echo "Failed to import daggen/mirtk module!" 1>&2 exit 1 } source "$appdir/etc/config/default.sh" || { error "Failed to load default configuration"...
true
f09ac86126ca7a4bd65ee02a503a8ca5a7765503
Shell
BluJay-Dev/learning
/jays_scripts/exitcodes.sh
UTF-8
403
3.28125
3
[]
no_license
#!/bin/bash # ls exit code #ls /not/here #echo "$?" ' # ping exit code #HOST="googlerty.com" #ping -c 1 $HOST #if [ "$?" -eq "0" ] #then # echo "$HOST reachable" #else # echo "$HOST unreachable." #fi # Variable exit code #HOST="google.com" #ping -c 1 $HOST #RETURN_CODE="$?" #if [ "$RETURN_CODE" -ne "...
true
b3226c2ab6645b629175d7b3ed6057e1d929736c
Shell
JGRennison/dotfiles
/home/bin/netnsnat
UTF-8
2,474
3.890625
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # Copyright © Jonathan G. Rennison 2014 <j.g.rennison@gmail.com> # License: New BSD License, see BSD-LICENSE.txt # This is loosely based on https://github.com/amonakov/vpn-netns/blob/master/vpn.sh # and http://gigawhitlocks.com/2014/08/18/network-namespaces.html if [ "`id -u`" -ne 0 ]; then echo "You ar...
true
9d5f2034cb113b45689eba404bdc9463ffc0af08
Shell
kwpav/dotfiles
/x/.xinitrc
UTF-8
1,123
2.75
3
[]
no_license
#!/bin/sh userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/etc/X11/xinit/.Xresources sysmodmap=/etc/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f "$userresources" ]...
true
133e8bb33581dfc0919be6ad5378531cb48f36fb
Shell
ennovatenow/precision-git
/create_pipeline_script.sh
UTF-8
339
3.140625
3
[]
no_license
#!/bin/bash PIPELINE=$1 PIPELINE_SCRIPT="$PIPELINE".sh filelines=`cat $PIPELINE_FOLDER/$PIPELINE.txt` for container in $filelines ; do $PRECISION100_FOLDER/create_container_script.sh $container echo "$CONTAINER_FOLDER/$container/container.sh" >> $PIPELINE_FOLDER/$PIPELINE_SCRIPT done; chmod u+x $PIPELINE_FOLDE...
true
e6719e256fbe341b84b03eb1059ccfb5b3107b75
Shell
luis--ramirez/docker-bitbucket
/bitbucket/bin/start-bitbucket.sh
UTF-8
869
3.71875
4
[]
no_license
#!/usr/bin/env bash # resolve links - $0 may be a softlink - stolen from catalina.sh PRG="$0" while [ -h "$PRG" ]; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG=`dirname "$PRG"`/"$link" fi done PRGDIR=`dirname...
true
a58353ad3df668575ca759502956ebddfe138fe5
Shell
omacchi/OfficeProject
/Raspi_codes/kanai/video/record.sh
UTF-8
468
2.90625
3
[]
no_license
result=$(/home/pi/python-venv/kanai/bin/python /home/pi/load_setting.py) ARR=(${result//,/ }) FPS=${ARR[0]} # FPS TIME=${ARR[1]} TIME=$((TIME * 60)) # 録画時間 (秒) SIZE=${2:-"640x480"} # 解像度 (固定) ffmpeg -i http://localhost:8080/?action=stream -r $FPS -s $SIZE\ -an -vcodec h264_omx \ -f segment -segment_time $TIME \ ...
true
01a7137ba28227f08d20fea8e86d8ce0410d2f9a
Shell
mohankumargn/linuxscripts
/listusers
UTF-8
212
2.59375
3
[]
no_license
#! /bin/bash # Author: Mohan # Date: 08/08/2020 # Description: This scriptn will list users logged in by date # Modified: 08/08/2020 today=`date | awk '{print $1,$2,$3}'` last | grep "$today" | awk '{print $1}'
true
b25063f7ba3e664152d7b05c28babe41a1209a7a
Shell
samfishman/dotfiles
/box/clever-vagrant/sh/zshrc
UTF-8
643
3
3
[]
no_license
plugins=(autopep8 pep8 coffee fabric jira npm) # support git-repo unset gr _goto_project_compl() { local repos repos=() for d in $CODE_DIRS; do for f in $d/*; do if [ -d $f ]; then repos+="${f##*/}" fi done done _describe "repos" repos } compdef _goto_project_compl goto_projec...
true
2a4028bffad4ef240a8adebc8ffbebca25cee992
Shell
kgspace/pretrain
/gen_doc.sh
UTF-8
379
3.21875
3
[]
no_license
#!/usr/bin/env bash docsrepo="../docs" # whether docs repository exist if [ ! -d "$docsrepo" ]; then echo 'docs not exist. please make sure you clone the repository' exit 0 fi echo 'start to generate document' pdoc3 --html beta_rec echo 'generate finish, copy to docs ...' cp -r html/beta_rec/* ../doc...
true
c09b1681a5626f205447ba441f5c357525d4ffd8
Shell
dunguyenn/backup-openstack
/security-backup-v2/security_passfile.sh
UTF-8
254
2.765625
3
[]
no_license
set timeout 20 proc check_link {link} { spawn ccrypt $link expect "key"; send "123456a@\r" expect "key"; send "123456a@\r" expect eof } set fp [open link.txt r] while {[gets $fp line] != -1} { check_link $line } close $fp
true
62dd1219bd2024df486a503fee23be6485dccea4
Shell
anatol/archpackages
/warp-git/PKGBUILD
UTF-8
744
2.65625
3
[]
no_license
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> pkgname=warp-git pkgver=r46.0f8ddc4 pkgrel=1 pkgdesc='A fast preprocessor for C and C++' arch=(i686 x86_64) url='https://github.com/facebook/warp' license=(custom) depends=(gcc-libs) makedepends=(git gdc libphobos-devel) source=(git+https://github.com/facebook/wa...
true
360d2c85482da752a0749b33e1f5fac7ae8f9f31
Shell
dromao/dmvpn-spoke
/spoke-start.sh
UTF-8
1,209
3.046875
3
[]
no_license
#!/bin/bash # Deployment script # Tested with Tails 1.4 export DEBIAN_FRONTEND=noninteractive # Configure serial interface stty -F /dev/ttyUSB0 19200 clocal cs8 -cstopb -parenb #Install rng-tools and configure RNG apt-get update apt-get install rng-tools -y cp files/configuration/rng-tools /etc/default/rng-tools se...
true
311ced984b5d1f6e0b83b8ec10ceb1000bb06c0f
Shell
sean-smith-sites/portfolio
/generateContent.sh
UTF-8
617
2.90625
3
[]
no_license
#!/bin/bash cat content.csv | while read a ; do url=$(echo "$a" | awk '{print $1}'); description=$(echo "$a" | awk -F ',' '{print $2}' | sed -e 's/"//g'); echo -e " <!--$description--> <div class=\"w3-third\"> <div class=\"seanCell w3-mobile w3-card w3-display-container\"> <div class=\"card\"> <i...
true
9d3cfaace71a86d2281e3ec0a4988c4bd1cc5c44
Shell
liuq901/500-lines
/ci/test_runner_script.sh
UTF-8
304
3.09375
3
[]
no_license
REPO=$1 COMMIT=$2 source $PWD/run_or_fail.sh run_or_fail "Repository folder not found !" pushd "$REPO" 1> /dev/null run_or_fail "Could not clean repository" git clean -d -f -x run_or_fail "Could not call git pull" git pull run_or_fail "Could not update to given commit hash" git reset --hard "$COMMIT"
true
03234c9f4ba702f46c9980daab682a338a303801
Shell
Deepomatic/dmake
/dmake/utils/dmake_deploy_ssh
UTF-8
880
4.0625
4
[ "MIT" ]
permissive
#!/bin/bash # # Usage: # dmake_deploy_ssh TMP_DIR APP_NAME USER HOST SSH_PORT # # Result: # Will deploy on a server via SSH test "${DMAKE_DEBUG}" = "1" && set -x if [ $# -ne 5 ]; then dmake_fail "$0: Wrong arguments" echo "exit 1" exit 1 fi set -e TMP_DIR=$1 APP_NAME=$2 USER=$3 HOST=$4 SSH_PORT=$5 # St...
true
7e16251b1538a6cd1fad177fee438e265af9710a
Shell
kevin85421/UIUC_ECE438_TestCases
/mp1/test/test_server.sh
UTF-8
581
3.015625
3
[]
no_license
#!/usr/bin/env bash ECE438_HOME=`git rev-parse --show-toplevel` HTTPSERVER_PORT=80 SERVER_IP='http://172.17.0.2' cd "$ECE438_HOME/mp1" make cd test/input echo "[Testcase] URI with port" for FILE in *; do wget -O ../output $SERVER_IP:$HTTPSERVER_PORT/test/input/$FILE -q if diff ../output $FILE > /dev/null then ...
true
374d6344fe99f2263787e0e5bc5f9a044fc28234
Shell
bxlcity/firebox
/firebox
UTF-8
11,862
3.234375
3
[]
no_license
#!/bin/bash # # ============================================================= # CONFIGURATION # ============================================================= version="v1.3" snet="wlan0" dnsip="127.0.0.1" sdir="/opt/.FireBox/" sdir2="/opt/.Sandbox/" mac="00:30:7b:c1:19:37" ocatdir="/var/lib/tor/onioncat" PyPort="80" #...
true
c3f7ebe15addb313ac0e88ba7c82fa692469316c
Shell
ODEX-TOS/tools
/tos-helper/help.sh
UTF-8
2,517
3.390625
3
[ "MIT", "GPL-1.0-or-later" ]
permissive
#!/usr/bin/env bash # MIT License # # Copyright (c) 2020 Tom Meyers # # 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,...
true
ccad7bf8453b0541842c3043e4520a6db6a90e68
Shell
zooland/boxen
/modules/people/files/zoobert/shellvars
UTF-8
689
2.640625
3
[ "MIT" ]
permissive
#!/bin/sh ################### # Set JDK 1.7 as the default # export JAVA_HOME=`/usr/libexec/java_home -v 1.7` ################### # Set textmate as our default command line editor #export EDITOR='mate -w' # Set Sublime as our default command line editor export EDITOR='subl' # Setup Maven environment (M2_HOME & M2 ar...
true
4575cd55485994f1389881d49eb823bf6dcd8943
Shell
SJTMusicTeam/SVS_system
/SVS/model/archive/preprocessing/ch_asr/local/aishell_train_lms.sh
UTF-8
3,399
3.59375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # To be run from one directory above this script. . ./path.sh text=data/local/train/text lexicon=data/local/dict/lexicon.txt for f in "$text" "$lexicon"; do [ ! -f $x ] && echo "$0: No such file $f" && exit 1; done # This script takes no arguments. It assumes you have already run # aishell_data_prep...
true
0ed01bf66bae84600a2b916b047707ba561f53fb
Shell
l33tLumberjack/Poisonports
/shields.sh
UTF-8
850
4.1875
4
[]
no_license
#!/bin/bash if [ $# -eq 0 ] then echo "No arguments supplied" echo "2 arguments required a port to listen on and a sleep in seconds to add rules to iptables" echo "Usage: $0 PORT SECONDS" exit 1 fi GOOD=$(tput setaf 2)[+]$(tput sgr0) BAD=$(tput setaf 1)[-]$(tput sgr0) clear; echo "$(tput setaf 2)Poisonports$(tpu...
true
c5b8bbf2102b8e414729a4919045e5b7525cb79e
Shell
rlknowles/moses_reloading_experiments
/gdb2.sh
UTF-8
1,407
3.765625
4
[]
no_license
#!/bin/bash # A script to run experimental conditions if (( $# == 2 )); then if [[ ${1} =~ /$ ]] ; then staticDir="${1%/}" 2>&1 echo -e "Warning:\tAssuming you meant ${staticDir} instead of ${1}" else staticDir=${1} fi for file in moses.ini ; do if [ ! -e ${staticDir}/${file} ] ; then 2>&1 ...
true
722ed31187ca4c451a397006566a9f62d197a83d
Shell
natesol-code21/codehub-api
/ops/start_app.sh
UTF-8
539
2.859375
3
[ "MIT" ]
permissive
#!/bin/bash cd /opt/heimdall /sbin/initctl status strong-pm | grep -q 'strong-pm stop/waiting' if [ $? = 0 ] then /sbin/initctl start strong-pm fi sl-pmctl status heimdall-api-service 2>&1 >/dev/null | grep -q 'Error: Unknown "ServerService" id "undefined"' if [ $? = 0 ] then sl-pmctl create heimdall-api-service...
true
80972047bb6721f63b577517b7b5f9037d6979f6
Shell
mdumitru/dotfiles
/.profile
UTF-8
1,460
3
3
[]
no_license
# Source 'before' file (if any). if test -f "$HOME/.profile.before" -a -r "$HOME/.profile.before"; then . "$HOME/.profile.before" fi # Add ~/bin/ and ~/.local/bin to path. PATH="$HOME/bin/:$HOME/.local/bin:$PATH" # Add cabal stuff to path PATH="$HOME/.cabal/bin/:$PATH" # Add cargo stuff to path PATH="$HOME/.carg...
true
8ff94d05722d9f0cdac5a7f935ad98d874215224
Shell
dweldon/ubuntu-setup
/includes/disk.sh
UTF-8
682
3.140625
3
[]
no_license
#!/bin/bash disk.execute() { util.message 'adding ssd tweaks' util.progress 'updating fstab' local fstab='/etc/fstab' sudo cp $fstab "$fstab.old" sudo sed -i 's/errors=remount/noatime,errors=remount/' $fstab printf 'tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0' | sudo tee -a $fstab >& /dev/null util...
true
c38c8194795cac28395f612d732b16e4071d4b93
Shell
5330/proxy-5330
/deploy.sh
UTF-8
732
3.1875
3
[]
no_license
#!/usr/bin/env bash hosts="localhost" for host in $( echo $hosts | tr ',' ' ' ) do #target host for docker rpc dockercmd="docker" BRANCH=$(git branch |awk '{print $2}') apiport=80 ########################## #teardown old ########################## echo "Check and Tear Down OLD containers on host" ${docke...
true
b97f9cd96c65aeb591cad892ec3261cbbbeb9e0a
Shell
paulgclark/grc-install
/install_scripts/oot/sat_from_source.sh
UTF-8
2,034
3.84375
4
[ "MIT" ]
permissive
#!/bin/bash # This script installs gr-satellites from source. It is intended for # execution AFTER the grc_from_source.sh script has been run and will # install to the same target directory used for that process. # # This script depends on environment variables that were created during # the gnuradio installation proce...
true
e3bc38564df418e7049be629b11fa48505d5b704
Shell
s-urbaniak/dotfiles
/plan9/bin/indexjar
UTF-8
457
3.3125
3
[]
no_license
#!/bin/sh JAR="$1" JARFILE="$PWD"/$(find "$1") FILES=$(unzip -l "$JAR" | tr -s ' ' | tail -n +4 | tail -r | tail -n +3 | cut -d ' ' -f 5 | egrep '.*\.java$') echo $TMP for f in $FILES do SRC=$(unzip -c "$JAR" $f | tail -n +3 | base64) CLASS=$(echo "$f" | sed 's/\//\./g' | sed 's/\(.*\)\.java$/\1/g') curl -XPOST 'l...
true
2c0a12b8fde426485527dec043b8ce2605e2aaec
Shell
yijial/programming-tools
/hw3/parse.sh
UTF-8
297
3.15625
3
[]
no_license
#!/bin/bash #CSE 374 HW3 #Yijia Liu 1238339 if [ $# -lt 2 ] then >&2 echo "Error: need at least two arguments" exit 1 fi if [ ! -a "$f1" ] then >&2 echo "Error: html file doesn't exist" exit 1 fi grep -Eo '<strong><a href.*' "$1" > temp sed -e 's/.*\(http:.*\)".*/\1/' temp > "$2" rm temp exit
true
c116ac0b205679405581ee3d0bc0e0723dd57d69
Shell
eshapo/Mongoose-MachineLink-3D-Plus
/cgi-bin/check_file.cgi
UTF-8
190
2.71875
3
[]
no_license
#!/bin/sh echo -e 'Content-type: text/html\n' if [ -z "${SESSION_ID}" -o "${SESSION_ID}" != "${sessionid}" ]; then exit 0 fi v=`ls $QUERY_STRING 2>/dev/null` echo "var result=\""$v"\";"
true
39c9189402432bc48272c3c24560c42b91f0e563
Shell
Ttayu/google_colab_environment
/connect_google_colaboratory.sh
UTF-8
294
2.953125
3
[]
no_license
if type sshpass > /dev/null 2>&1; then passwd=password port= sshpass -p $passwd ssh -o "StrictHostKeyChecking no" root@2.tcp.ngrok.io -p $port else echo "please install sshpass." echo "In Ubuntu. sudo apt install sshpass" echo "In MacOS. brew install http://git.io/sshpass.rb" fi
true
726d094b70ab26836fed755e64dabd0985d3cc23
Shell
drakkar-lig/ipv6-care
/scripts/man2wiki.sh
UTF-8
623
2.765625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash SCRIPTS_DIR=$(cd $(dirname $0); pwd) MAN_DIR=$SCRIPTS_DIR/../man MAN_PAGE=$MAN_DIR/ipv6_care.8 EXTERNAL_MAN_HOST=linux.die.net man2html -H $EXTERNAL_MAN_HOST -M "/man" -p $MAN_PAGE | \ sed -e 's/\(man\/.\)+/\1\//g' \ -e 's/man"/man\/1\/man2html"/g' \ -e 's/<A HREF="#index".*A>//g' \ -e 's/<A...
true
d327816020cf5cea672aa4e61e41b196e1e69fc4
Shell
liuyang1/test
/lang/shell/forpath.sh
UTF-8
97
2.734375
3
[ "MIT" ]
permissive
#! /usr/bin/env bash dirs=("1" "b" "c") for d in ${dirs[@]} do echo $d cd $d scp ./* done
true
96a7e790cde8dfcfdffa45431e6c62beb7c7e6b4
Shell
MikaelSmith/nebula-steps
/kubectl/step.sh
UTF-8
547
3.21875
3
[ "Apache-2.0" ]
permissive
#!/bin/sh NS=$(ni get -p {.namespace}) CLUSTER=$(ni get -p {.cluster.name}) KUBECONFIG=/workspace/${CLUSTER}/kubeconfig ni cluster config COMMAND=$(ni get -p {.command}) FILE= if [ "${COMMAND}" == "apply" ]; then ARGS="-f" FILE=$(ni get -p {.file}) else ARGS=$(ni get -p {.args}) fi FILE_PATH=${FILE} GI...
true
023a5da438329d9594929d6171e47fdd6e08dfe7
Shell
AlexAkulov/candy-elk
/pkg/elkriver.postinst
UTF-8
600
3.625
4
[]
no_license
#!/bin/sh set -e # Initial installation: $1 == 1 # Upgrade: $1 == 2 #if [ $1 -eq 1 ] ; then if ! getent group "elk" > /dev/null 2>&1 ; then groupadd -r "elk" fi if ! getent passwd "elk" > /dev/null 2>&1 ; then useradd -r -g elk -d /usr/share/elk -s /sbin/nologin \ -c "elk user" elk fi mkdir ...
true
e5a09d6387a7801444d021b4376052e2eb825e34
Shell
ulno/ulnoiot
/bin/mqtt_log
UTF-8
1,303
4.1875
4
[ "MIT" ]
permissive
#!/usr/bin/env bash if [[ $# -gt 2 || $# = 0 || "$*" = "help" || "$*" = "-h" || "$*" = "--help" ]]; then cat << EOF Syntax: mqtt_log [topic_or_subtopic] outfile mqtt_log subscribes to a topic and all its subtopics via mqtt and logs the received messages to a given file. It also add a timestamp to the received message...
true
5a7307d411c8b65cb500cd93796421bbfabfce94
Shell
Luke1453/OS_homework
/january/pw5/passchange.sh
UTF-8
318
3.34375
3
[]
no_license
#!/bin/bash #script that resets user pasword to "linuxPower" echo "" read -p "Please enter username to reset pasword: " username pass=linuxPower cat /etc/passwd | grep $username >/dev/null 2>&1 if [ $? = 0 ] then echo "$username:$pass" | chpasswd else echo User dosent exist, nothing to change. fi echo ""
true
67606756f71ddc520c2c3d51592bfcff54926aed
Shell
oncoapop/data_reporting
/beast_scripts/v4.4_pipeline/v4.4_inSilicoPcr_bed.sh
UTF-8
1,366
3.4375
3
[]
no_license
#!/bin/bash # This Script was written by Damian Yap (Aug 2013) # WSOP2013-001 version 4.0 # This script can inly be run AFTER the pipeline is run # This just creates a bed file for viewing on UCSC name="DG1136g" dir="/home/dyap/Projects/PrimerDesign/TITAN-SS" p3dir=$dir"/primer3" cat $p3dir"/"$name"_primerlist.txt...
true
1d05477f40e2bddd8c6a150e6537870e0d613327
Shell
Tiago-devop/web-api-js-no-frameworks
/script.sh
UTF-8
656
2.6875
3
[]
no_license
#!/bin/bash printf '\n\n requesting all heroes' curl localhost:3000/heroes printf '\n\n requesting flash' curl localhost:3000/heroes/1 printf '\n\n requesting with wrong body' curl --silent -X POST \ --data-binary '{"invalid": "data"}' \ localhost:3000/heroes printf '\n\n creating Leoric' CREATE=$(curl --sil...
true
bdf5ef76fed73da29c7ea6ca2c32df22cd619d7d
Shell
kareemadel/bash_database_engin
/helper_scripts/database/use_database.sh
UTF-8
1,446
3.71875
4
[]
no_license
#!/bin/bash # this will show the users the operartion he can do on a database. source ./helper_scripts/generic/helper_functions.sh; while true; do clear; echo "You are now in \"$DATABASE\" database."; printf "What do you want to do?\n"; printf "1) Create a new table.\n"; printf "2) Use an existin...
true
e4fc56315492a1ef6892be25fe090d3b68c44541
Shell
RodrigoCapuzzi/FATEC
/semestre_1/sistemas_operacionais/case_palavra.sh
UTF-8
473
3.109375
3
[]
no_license
!/bin/sh case $1 in A*) echo "Palavra começa com A";; a*) echo "Palavra começa com a";; B*) echo "Palavra começa com B";; b*) echo "Palavra começa com b";; C*) echo "Palavra começa com C";; c*...
true
32efe0a60af8601865fb2aac6cd80f8531cb2152
Shell
david618/websats
/scripts/update_tle.sh
UTF-8
689
2.984375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash NAMES=(stations gps-ops glo-ops resource iridium intelsat iridium-NEXT globalstar orbcomm ses musson science) FOLDER=~ #TLEFILE=~/github/websats/src/main/resources/sats.tle TLEFILE=../src/main/resources/sats.tle #FOLDER=/home/tomcat #TLEFILE=/opt/tomcat/webapps/websats/WEB-INF/classes/sats.tle # Delete t...
true
1d35a3f3ba0982d5de39e5c306e329b6bb859895
Shell
christineoo/circleci-ai-platform-example
/job_status.sh
UTF-8
748
3.265625
3
[]
no_license
SECONDS=0 TIMEOUT=3600 expected_state='"SUCCEEDED"' auth_token="$(gcloud auth print-access-token)" state=$(curl -X GET \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $auth_token" \ "https://content-ml.googleapis.com/v1/projects/$1/jobs/$2" | jq .state) while [[ $SECONDS -lt $TIMEOUT ]] do if [ ...
true
2e7363de8665f826ccdedb87a79497384a67209e
Shell
yuju-huang/OmniVisor
/host/benchmark/fio/parse_log.sh
UTF-8
382
3
3
[]
no_license
#!/bin/bash cat $1 | egrep -e "path|name|bw=" > tmp vim -c '%s/MiB/ MiB/ | %s/KiB/ KiB/ | %s/ \+/ / | write | quit' tmp awk -F '[= _]' ' BEGIN { testcase="" testsize="" } { if ($1 == "path") { print $2 } else if ($1 == "name") { testcase=$2 testsize=$3 } else { ...
true
54dd1213b3ba05881eda607db14e76eaec734167
Shell
HowookJeong/elastic-stack-installer
/stack/kibana/bin/installer
UTF-8
8,055
3.703125
4
[]
no_license
#!/bin/zsh DOWNLOADS=( "https://artifacts.elastic.co/downloads/kibana/kibana-_VERSION_-darwin-x86_64.tar.gz" "https://artifacts.elastic.co/downloads/kibana/kibana-_VERSION_-linux-x86_64.tar.gz" "https://artifacts.elastic.co/downloads/kibana/kibana-_VERSION_-linux-aarch64.tar.gz") echo "설치 할 운영체제를 선택 하세요." echo "0. MA...
true