code
stringlengths
2
1.05M
repo_name
stringlengths
5
110
path
stringlengths
3
922
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
2
1.05M
#!/usr/bin/env bash set -ex # NOTE: in the holy name of simplicity and laziness I don't bother handling $PROJECT_ROOT which needs quoting; # if you try using this script with a $PROJECT_ROOT that has a space in it or so, you're a friggin' moron if [ ! -e /etc/lsb-release ] || ! egrep 'Ubuntu' /etc/lsb-release ...
yaniv-aknin/revdev
bootstrap.sh
Shell
mit
4,702
#!/bin/bash if [ $# -ne 1 ]; then echo "Provide version" exit 42 fi version=":$1" docker push seges/nginx-consul$version
seges/docker-nginx-consul
docker-push.sh
Shell
mit
128
#!/bin/bash apt-get install -qy postgresql postgresql-contrib libpq-dev postgresql-9.3-postgis-scripts # allow connections on the local network cat << 'EOF' >> /etc/postgresql/9.3/main/pg_hba.conf # Allow connections on the 192.168.*.* local/VM network host all all 192.168.0.0/16 m...
nickcharlton/boxes-contrib
scripts/postgres.sh
Shell
mit
890
#!/bin/bash # variables SVNDIR="/var/local/svn/" find $SVNDIR* -maxdepth 0 -type d | while IFS= read -r DIR do NAME=`expr match "$DIR" '.*\(/.*\)'` if [ -f "$DIR/README.txt" ] && [ `cat "$DIR/README.txt" | grep "This is a Subversion repository" | wc -l` -eq 1 ] then echo "$DIR is already a SVN Filesystem" els...
MarvAmBass/docker-subversion
files/svn-project-creator.sh
Shell
mit
488
# Dump files to my filedump, because dump function dump { rsync -avh --progress "$@" -e ssh mercy:/mnt/data/dump.jemu.name FILE=$(basename $1) if [[ $ME == "Lukas" ]]; then echo "https://dump.jemu.name/$FILE" | pbcopy else echo "https://dump.jemu.name/$FILE" fi echo "$(date '+%Y-%m-%d %H:%M:%S'):...
jemus42/syncbin
zsh/functions.sh
Shell
mit
4,460
md5Check() { # DESC: Compares an md5 hash to the md5 hash of a file # ARGS: None # OUTS: None # USAGE: md5Check <md5> <filename> local opt local OPTIND=1 local md5="$1" local file="$2" if ! command -v md5sum &>/dev/null; then echo "Can not find 'md5sum' utility" ...
natelandau/dotfiles
shell/files.sh
Shell
mit
4,413
./_rel/calcjs_release/bin/calcjs_release attach
calcjs/calc.js
attach.sh
Shell
mit
47
#!/bin/bash # Copyright 2012 by Laszlo Nagy [see file MIT-LICENSE] # # This code is based on this blog entry and tailored to fedora use case # http://www.lucas-nussbaum.net/blog/?p=385 set -o nounset set -o errexit set -o xtrace bootstrap_fedora() { local target=$1 local release=$2 mkdir -p "$target/v...
rizsotto/Jebur
bootstrap/os/bootstrap-fedora.sh
Shell
mit
652
#!/bin/sh # script for CurrencyModule # # This script needs the following arguments : # @var $1 the full path of the data directory # @var $2 the id of the endpoint to backup # # change directory to __DIR__ cd `dirname $0` # update current code at current date if [ -d ".git" ]; then git pull --all git add --all gi...
Anastaszor/yii1-currency
backupdaily.sh
Shell
mit
1,841
rm ./main-void-args -f
foreachsam/book-lang-vala
book/example/entry-point/main-void-args/clean.sh
Shell
cc0-1.0
23
#!/bin/sh ###################################################################### # # @file pivy.sh # # @brief Version and build information for pivy. # # @version $Rev$ $Date$ # # Copyright &copy; 2012-2017, Tech-X Corporation, Boulder, CO. # See LICENSE file (EclipseLicense.txt) for conditions of use. # #########...
Tech-XCorp/bilder
packages/pivy.sh
Shell
epl-1.0
4,266
#!/bin/bash # Script to deploy Mean.JS DevStack at Terminal.com # Cloudlabs, INC. Copyright (C) 2015 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at y...
terminalcloud/apps
mean_installer.sh
Shell
gpl-2.0
2,023
#!/bin/bash printf "\n\tWhich File you wanna play?: " read file_name echo -e "\tYou entered file : $file_name \n\nMy search shows following possibilities:\n\nNo.| \t Name" echo -e "------------------------------------------------" find /media/tanmay \( -iname "*$file_name*.mp4" -o -iname "*$file_name*.avi" -o -iname...
tanmay-kulkarni/search-movie-utility
search-video.sh
Shell
gpl-2.0
1,226
#!/bin/bash SKIP_EXISTING=FALSE DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" if [[ -z $1 ]]; then FILES="${DIR}/../images/themes/qfield/nodpi/$1*.svg" else FILES=$1 fi if [[ -z $2 ]]; then DESTINATION_PATH=${DIR}/../images/themes/qfield else DESTINATION_PATH=${DIR}/../android/res PREFI...
opengisch/QField
scripts/create-images.sh
Shell
gpl-2.0
954
#!/bin/sh echo $@ echo $*
nonemaw/MATRIX_01
COMP9041/ass1/autoTest/examples/5/echo6.sh
Shell
gpl-2.0
27
#!/bin/sh # Copyright (C) 2011 OpenWrt.org UCIDEF_LEDS_CHANGED=0 ucidef_set_led_netdev() { local cfg="led_$1" local name=$2 local sysfs=$3 local dev=$4 uci -q get system.$cfg && return 0 uci batch <<EOF set system.$cfg='led' set system.$cfg.name='$name' set system.$cfg.sysfs='$sysfs' set system.$cfg.trigger='...
blackzw/openwrt_sdk_dev1
staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/lib/functions/uci-defaults.sh
Shell
gpl-2.0
4,249
# export AWS_ACCESS_KEY="Your-Access-Key" # export AWS_SECRET_KEY="Your-Secret-Key" today=`date +"%d-%m-%Y","%T"` logfile="/awslog/ec2-access.log" # Grab all Security Groups IDs for ALLOW action and export the IDs to a text file sudo aws ec2 describe-security-groups --filters Name=tag:open-https-time,Values=13-00 Nam...
STARTSPACE/aws-access-to-ec2-by-timetable
https-443/allow-wd/https-allow-wd-13.sh
Shell
gpl-2.0
804
#!/bin/bash # Backup all containers # Author: Amro Diab # Date: 04/02/2011 ownership=$1 for i in `cat /var/amrox/scripts/info/${ownership}.lst`; do /var/amrox/scripts/backup/vz.sh $i; sleep 360 done
adiabuk/random_scripts
hosting/scripts/backup/vz_all.sh
Shell
gpl-2.0
206
#!/system/bin/sh #Set governor items echo 378000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq; echo 1512000 > /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq; echo 1512000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq; echo $(date) END of post-init.sh
Perseus71/KT747
00post-init.sh
Shell
gpl-2.0
281
#!/bin/bash # Function tries to mount the local cache function mount_network_cache { local mountpoint=$1 local smb_server=$2 if [[ "$mountpoint" == "" ]]; then mountpoint=/media/adam-minipc/other fi if [[ "$smb_server" == "" ]]; then smb_server=adam-minipc fi mount_smb_share $mountpoin...
adamryczkowski/puppet-bootstrap
libmount.sh
Shell
gpl-2.0
5,207
#!/bin/bash # #BSUB -a poe # set parallel operating environment #BSUB -J u2g2pos # job name ###BSUB -J u2g2pos[24-120:24] # job name #BSUB -W 06:00 # wall-clock time (hrs:mins) #BSUB -n 16 # number of tasks in job (max task in one node) #BSUB -x ...
arulalant/UMRider
bsubScripts/ncum_global_post/ncum_global_post_fcst_12Z.bash
Shell
gpl-2.0
2,022
#!/bin/bash # Author : dark-Amateur # Date : 2013-12-11 # Version : 0.1 # log= log_time= IP= date= now= inotifywait=/usr/bin/inotifywait # while $inotifywait -q -e modify $log > /dev/null; do log_time=$(grep 'Failed password' $log | awk '{print $2"-"$3}' | tail -n1 | cut -d':' -f1,2) now=$(date '+%d-%H:%M') ...
berget/show_IP
binIP.sh
Shell
gpl-2.0
476
#!/bin/sh xrandr --output HDMI-0 --off --output DP-0 --mode 2560x1600 --pos 0x0 --rotate normal --output DP-1 --off --output eDP-1-1 --mode 1600x900 --pos 2560x0 --rotate normal --output DP-1-1 --off --output HDMI-1-1 --off
erikdejonge/devenv
screenlayout/30inchDual.sh
Shell
gpl-2.0
224
#!/bin/sh test_description='Test applying a prefix to refs in the instruction sheet' . ./setup.sh test_expect_success 'setup branches' ' commit_file base base && git branch -M sub/master && git checkout -b sub/branch1 && commit_file base sub/branch1 && git checkout -b sub/branch2 sub/master && commit_file base ...
johnkeeping/git-integration
t/t1003-prefix.sh
Shell
gpl-2.0
1,917
apt-get install bind9 dnsutils cd /etc/bind ln -s -f /home/weby/servers/bind/* . touch /var/log/bind.log chown bind /var/log/bind.log # to allow bind to rotate logs, probably a better way of doing this, like a different directory cd /var/log sudo chgrp bind . sudo chmod g+w . /etc/init.d/bind9 restart #cd ../blackli...
aknutas/servers
bind/initialise.sh
Shell
gpl-2.0
562
#!/bin/sh if [ "$1" == "" OR "$2" == "" OR "$3" ]; then echo usage: echo " s2 LEMMA BASE FORM" sma2.plx -no-ext -lemma $1 -base $2 -form $3
oracc/oracc
misc/sma2/s2.sh
Shell
gpl-2.0
149
#!/usr/bin/env bash # INSTALLING TRUST ##### # TRUST: Tracking repeats using significance and transitivity. # A method for ab-initio determination of internal repeats in proteins. # The high sensitivity and accuracy of the method is achieved by exploiting the concept of transitivity of alignments. # ISMB/ECCB 2004 con...
elkeschaper/tral
easy_setup/install_ext_software/trust.sh
Shell
gpl-2.0
2,120
#!/sbin/sh #ramdisk_gov_sed.sh by show-p1984 #Features: #extracts ramdisk #finds busbox in /system or sets default location if it cannot be found #add init.d support if not already supported #removes governor overrides #removes min freq overrides #repacks the ramdisk mkdir /tmp/ramdisk cp /tmp/boot.img-ramdisk.gz /tmp...
AndroidSymmetry/Old_Sparky
out/kernel/edit_ramdisk.sh
Shell
gpl-2.0
3,474
#!/bin/bash # -- UTF 8 -- ################################################################################### # Script que obtiene información sobre las conexiones SSH recibidas, su duración y usuario. # Autor: Emanuel Malfatti # E-mail: ejmalfatti@outlook.com # Licencia: GPLv2 ########################################...
ejmalfatti/scriptsTP2
scripts/ejercicio_2.sh
Shell
gpl-2.0
3,110
#!/bin/sh set -ex # apt-get install libmariadbd-dev libmariadb-client-lgpl-dev libmariadb-client-lgpl-dev-compat libpam0g-dev ln -fs ../mysql_com.h /usr/include/mariadb/mysql/mysql_com.h wget -O /usr/include/mariadb/mysql/plugin.h https://raw.githubusercontent.com/MariaDB/server/10.0/include/mysql/plugin.h wget -O /...
folays/mysql_auth_flex
prepare_mariadb.sh
Shell
gpl-2.0
959
#!/bin/bash set -e python manage.py collectstatic --noinput coverage run --branch --source='.' manage.py test coverage report -m --omit=*migrations*,*__init__.py,*tests*
aaronkurtz/gourmand
gourmand/coverage.sh
Shell
gpl-2.0
170
#!/bin/bash # exp/resnet1b: num-iters=130 nj=2..4 num-params=1.3M dim=96->10 combine=-0.04->-0.04 loglike:train/valid[85,129,final]=(-0.049,-0.044,-0.036/-0.098,-0.085,-0.076) accuracy:train/valid[85,129,final]=(0.9904,0.9908,0.9940/0.9764,0.9804,0.9831) # This setup is based on the one in cifar/v1/local/nnet3/run_re...
michellemorales/OpenMM
kaldi/egs/svhn/v1/local/nnet3/run_resnet_1b.sh
Shell
gpl-2.0
4,283
#!/bin/sh # $Id: VirtualBoxStartup.sh 54676 2015-03-07 00:16:35Z vboxsync $ ## @file # Startup service for loading the kernel extensions and select the set of VBox # binaries that matches the kernel architecture. # # # Copyright (C) 2007-2015 Oracle Corporation # # This file is part of VirtualBox Open Source Edition (...
carmark/vbox
src/VBox/Installer/darwin/VBoxKEXTs/VirtualBoxStartup.sh
Shell
gpl-2.0
7,104
#! /bin/sh # Copyright (C) 2003-2017 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program ...
pylam/automake
t/ltlibsrc.sh
Shell
gpl-2.0
1,619
#!/bin/bash if [ -z "$DB_DIR" ]; then echo "Need to set DB_DIR" exit 1 fi if [ ! -d "$DB_DIR" ]; then echo "Need to create directory DB_DIR" exit 1 fi export MYSQL_NAME=mysql export MYSQL_VERSION=5.5.28 export MYSQL_STORAGE_ENGINE=tokudb export TARBALL=blank-toku664.52174-mysql-5.5.28 export TOKUDB_CO...
Percona-QA/toku-qa
tokudb/software/sysbench/loader.bash
Shell
gpl-2.0
1,370
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2013-2020 Mike Shal <marfey@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distribu...
ppannuto/tup
test/t4147-skip-same-outputs.sh
Shell
gpl-2.0
1,509
# # various ascii art ============================================================ #shellcheck shell=bash disable=SC2015,SC2154,SC2207 pukeskull() { ##!/bin/sh # # ┳━┓┳━┓0┏┓┓┳━┓┏━┓┓ ┳ # ┃┳┛┃━┫┃┃┃┃┃━┃┃ ┃┃┃┃ # ┃┗┛┛ ┃┃┃┗┛┻━┛┛━┛┗┻┛ # ┳━┓┳ ┓┳┏ ┳━┓ # ┃━┛┃ ┃┣┻┓┣━ # ┇ ┗━┛┃ ┛┻━┛ ...
MichaelTd/libBash
dot.files/.bashrc.d/ascii.bash
Shell
gpl-3.0
13,061
FAULTY_CHUNKSERVERS=YES source test_suites/TestTemplates/test_xor_writing.inc
lizardfs/lizardfs
tests/test_suites/LongSystemTests/test_xor_writing_faulty_chunkservers.sh
Shell
gpl-3.0
78
#!/bin/sh BUILD=1 PREFIX="/data/data/org.radare.installer/radare2" if [ -z "${NDK}" ]; then echo "use ./android-{arm|mips|x86}.sh" exit 1 fi cd `dirname $PWD/$0` ; cd .. case "$1" in "mips") NDK_ARCH=mips STATIC_BUILD=0 STRIP=mips-linux-android-strip ;; "arm") NDK_ARCH=arm STATIC_BUILD=0 STRIP=arm-eabi-stri...
jpenalbae/radare2
sys/android-build.sh
Shell
gpl-3.0
3,072
#!/bin/sh printfix() { cat <<"FIX" The "openldap-servers" package should be removed if not in use. Is this machine the OpenLDAP server? If not, remove the package. # yum erase openldap-serversThe openldap-servers RPM is not installed by default on RHEL6 machines. It is needed only by the OpenLDAP server, not by the...
Taywee/dod-stig-scripts
linux/V-38627/vars.sh
Shell
gpl-3.0
806
# DESCRIPTION # Resizes an image by nearest neighbor method via ffmpeg. # USAGE # Run this script with three parameters: # - $1 input file # - $2 output format # - $3 px wide to resize to by nearest neighbor method, maintaining aspect # For example: # ffmpeg2imgNN.sh input.jpg png 1920 # CODE # example ffmpeg com...
r-alex-hall/fontDevTools
scripts/imgAndVideo/ffmpeg2imgNN.sh
Shell
gpl-3.0
648
#!/bin/sh cmake -G "CodeBlocks - Unix Makefiles" "$*" -DCMAKE_TOOLCHAIN_FILE=../toolchain-arm-none-eabi-rpi.cmake ../
hoglet67/PiTubeDirect
src/scripts/configure_rpi.sh
Shell
gpl-3.0
119
#!/bin/bash -x # exit on error set -e # start admin app cd ../admin && npm start > server.admin.log 2>&1 & # start pupil-auth service cd ../pupil-auth && npm start > server.auth.log 2>&1 & # start pupil app npm start & PID=$! MSG='pupil-spa app is running under process ' MSG+=${PID} echo ${MSG} sleep 30 cd test ...
DFEAGILEDEVOPS/MTC
pupil-spa/test.sh
Shell
gpl-3.0
493
# Copy current unfinished logfile to initramfs for debug purpose. # Usually REAR_LOGFILE=/var/log/rear/rear-$HOSTNAME.log # The REAR_LOGFILE name set by main script from LOGFILE in default.conf # but later user config files are sourced in main script where LOGFILE can be set different # so that the user config LOGFILE ...
terreActive/rear
usr/share/rear/rescue/default/910_copy_logfile.sh
Shell
gpl-3.0
676
#!/bin/sh omniidl -bpython -I"%RTM_ROOT%rtm\idl" -I"C:\UserDefType" idl/DataBase.idl
Nobu19800/MovieDataBaseInputRTC
idlcompile.sh
Shell
gpl-3.0
86
#!/bin/bash run_test() { echo "checking that adding a file to a package works" # make some files/dirs echo "set compatible" > "${TEMP_LOCAL}/.vimrc2" echo "# hi" > "${TEMP_LOCAL}/.zshrc" # copy the repo cp -r "${BASE_DIR}/test/repo" "${TEMP_LOCAL}" ls -a "${TEMP_LOCAL}" echo...
swalladge/dotfiles-manager
test/integration_tests/test_add_file_no.sh
Shell
gpl-3.0
762
#!/usr/bin/env bash # # Safe way of propagating the exit code of all commands through the script. # Without this line, commands could fail/exit 1 and the script itself would # complete and exit with code 0. # set -e yarn install node_modules/.bin/lerna run build --concurrency 1 echo "Please remember to set frontendD...
mstruebing/PackageFactory.Guevara
Build/Docker/run.sh
Shell
gpl-3.0
552
#!/bin/bash # This script will install DotStar echo Installing DotStar... echo Exiting all DotStar processes... pkill dotstar echo Copying files... cp ./dist/dotstar usr/bin/
joachimschmidt557/DotStar
DotStar/Package.Linux.Install.sh
Shell
gpl-3.0
175
#!/bin/sh rm -f wdbc-test.ds # creates training dataset for nntool ./dstool -create wdbc-test.ds ./dstool -create:30:input wdbc-test.ds ./dstool -create:1:output wdbc-test.ds ./dstool -list wdbc-test.ds ./dstool -import:0 wdbc-test.ds wdbc.in ./dstool -import:1 wdbc-test.ds wdbc.out ./dstool -padd:0:meanvar wdbc-tes...
cslr/dinrhiw2
tools/test_data2_bayes.sh
Shell
gpl-3.0
986
#!/bin/bash # scrub.sh uses the autopep8 tool to clean up whitespace and other small bits # E261 = double space before inline comment # E501 = don't squeeze lines to fix max length # E302 = don't go crazy with the double whitespace between funcs # E401 = don't put imports on separate lines # E309 = don't put a blank l...
gnott/bot-lax-adaptor
.scrub.sh
Shell
gpl-3.0
474
#!/usr/bin/env bash set -e if [ -z "$1" ]; then echo "*** Please specify branch name to release Medcryptor Staging build from it." exit 1 fi read -p "Confirm releasing MedCryptor STAGING build from $1 branch? (y/n)" choice case "$choice" in y|Y ) echo "yes";; n|N ) exit;; * ) exit;; esac export NODE_E...
PeerioTechnologies/peerio-desktop
scripts/deploy-medcryptor-staging.sh
Shell
gpl-3.0
790
# Create ovs bridge, add eth0: ovs-vsctl add-br br-eth0 # Set IP configuration to ovs bridge interface (br-eth0) instead of eth0 and restart network after settings are changed # Consider setting MTU to 1546 to interface or reduce it to 1454 in the domains ovs-vsctl add-port br-eth0 eth0 && service network restart # C...
racedo/vLab-Files
GRE Tunnels/create-gre-tunnel.sh
Shell
gpl-3.0
976
#!/bin/sh appname=`basename $0 | sed s,\.sh$,,` dirname=`dirname $0` tmp="${dirname#?}" if [ "${dirname%$tmp}" != "/" ]; then dirname=$PWD/$dirname fi LD_LIBRARY_PATH=$dirname/lib export LD_LIBRARY_PATH # Uncomment to debug plugin loading for Qt # QT_DEBUG_PLUGINS=1 # export QT_DEBUG_PLUGINS appname='BatlabToo...
Lexcelon/batlab-toolkit-gui
dist/linux/packages/com.lexcelon.batlabtoolkitgui/data/debug-BatlabToolkitGUI.sh
Shell
gpl-3.0
358
#!/bin/bash ############################################################################### # Build the sample Qt Widgets Application that comes with Qt Creator ############################################################################### cd tests/QtWidgetsApplication/ if [ -e build/ ] ; then rm -rf build/ fi mkd...
hipersayanX/linuxdeployqt
tests/tests.sh
Shell
gpl-3.0
4,736
#!/bin/bash nodejs server.js > ../log_server & disown nodejs http.js > ../log_http & disown nodejs notif.js > ../log_notif & disown
vladvelici/trainspotter
startall.sh
Shell
gpl-3.0
133
#!/bin/bash set -- "example/graphviz-binary-search-tree-graph" DOT=dot CONVERT=convert # XXX: Downside of -GNE is that is overrides any in-graph attribute $DOT -Tpng -Nstyle=filled -Nfillcolor=white -Gbgcolor=transparent $1.dot.gv > all.png $DOT -Tpng -Nstyle=filled -Nfillcolor=white -Estyle=invis -Gbgcolor=transpar...
dotmpe/node-sitefile
tools/diagram-shadows.sh
Shell
gpl-3.0
548
cmd_config_help() { cat <<_EOF config Run configuration scripts inside the container. _EOF } cmd_config() { ds inject set_prompt.sh }
docker-scripts/ds
test/app/cmd/config.sh
Shell
gpl-3.0
156
#!/bin/bash # -------------------------------------------------------------------- # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any late...
myLiveNotes/myLiveNotes
buildDebianPackage.sh
Shell
gpl-3.0
13,092
#!/bin/sh # collect Android device info over ADB connection # This is for use on Linux or other Unix-like systems. You must have ADB, and may (or may not) need root access # on your desktop/laptop system to run ADB. It requires developer access on the tablet, but not root. # # Copyright 2021 by Ian Kluft # released as ...
ikluft/ikluft-tools
scripts/android-deviceinfo.sh
Shell
gpl-3.0
2,742
#!/bin/bash if [ $# -eq 0 ] ; then echo "usage: clean_slave.sh <hadoop_dir_disk1> [<hadoop_dir_disk2> ...]" exit 0 fi YARN_DIRS= DATANODE_DIRS= while [ $# -gt 0 ] ; do YARN_DIRS="${YARN_DIRS} $1/mapred/local $1/yarn/local" DATANODE_DIRS="${DATANODE_DIRS} $1/dfs/dn $1/hdfs/data" shift done # Yarn ...
hypertable/hadoop-install
cdh3/bin/clean_slave.sh
Shell
gpl-3.0
400
trainFeat=$1 blend_dir=$2 $blend_dir/tools/libsvm-3.22/svm-scale -l -1 -u 1 -s $trainFeat.range $trainFeat >$trainFeat.scale $blend_dir/tools/libsvm-3.22/svm-train -s 3 $trainFeat.scale
qingsongma/blend
scripts/train.sh
Shell
gpl-3.0
189
#!/bin/bash shopt -s expand_aliases; #creo i 2 file diff echo "pippo pippo pippo" > testFile1.txt echo "pippo2 pippo2 pippo2" > testFile2.txt #creo l'elenco dei file echo "M testFile1.txt A testFile2.txt D testFile3.txt M ." >listFileDiff.txt #creo l'elenco dei file del tar echo "testFile1.txt testFile2.t...
ideatosrl/ezdeploy
bin/shell/exportDiffFileTest.sh
Shell
gpl-3.0
1,152
# -- Improved X11 forwarding through GNU Screen (or tmux). # If not in screen or tmux, update the DISPLAY cache. # If we are, update the value of DISPLAY to be that in the cache. # http://alexteichman.com/octo/blog/2014/01/01/x11-forwarding-and-terminal-multiplexers/ function update-x11-forwarding { if [ -z "$STY" ...
digivation/dotfiles
bin/update-x11-forwarding.sh
Shell
gpl-3.0
868
dnf remove -y nodejs cd /usr/local/src wget https://nodejs.org/dist/v12.4.0/node-v12.4.0-linux-x64.tar.xz tar xf node-v12.4.0-linux-x64.tar.xz mv node-v12.4.0-linux-x64 /srv/node-v12.4.0 rm -f /srv/node ln -s /srv/node-v12.4.0 /srv/node alternatives --install /usr/local/bin/node node /srv/node-v12.4.0/bin/node 100 \ ...
oscm/shell
lang/node.js/binrary/node-v12.4.0.sh
Shell
gpl-3.0
502
#!/bin/sh # Ensure that pwd options work. # Copyright (C) 2009-2019 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at you...
komh/coreutils-os2
tests/misc/pwd-option.sh
Shell
gpl-3.0
1,950
#!/bin/sh sudo /usr/sbin/tcpdump -i eth0 udp and dst port 30009
ncareol/isfs
scripts/nidas_eol_relay/tcpdump.sh
Shell
gpl-3.0
65
export PYTHONPATH=/var/lib/domogik && /usr/bin/python bin/nabaztag.py -f
tikismoke/domogik-plugin-nabaztag
start.sh
Shell
gpl-3.0
73
#!/bin/bash clear; printf 'Type client abbreviation, followed by [ENTER]: '; read CLIENT printf 'Type target domain, followed by [ENTER]: '; read DOMAIN mkdir ~/$CLIENT/; echo '# Enter the target IPs or Subnets, one line at a time. Use CTRL+X to exit and save.' > ~/$CLIENT/targets nano ~/$CLIENT/targets sed -ie 's/^#.*...
jnqpblc/Randomness
3.mapping/automated-va/run-the-gambit.sh
Shell
gpl-3.0
5,564
# baidu.sh --- # # Filename: baidu.sh # Description: a parser fo weathercatch # Author: Xu FaSheng # Created: 2012.11.06 # Keywords: weathercatch parser baidu # This file is a part of weathercatch # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public Lic...
fasheng/weathercatch
parser/baidu.sh
Shell
gpl-3.0
4,750
#!/bin/bash # $Id: refillchroot.sh,v 1.3 2010/06/04 02:51:03 zyt Exp $ # 重新制作 chroot 目录到 TO 指定的那一步 # 用执行的时间换空间 # OPS 的次序是按过程而定,不能随便改变,只能随过程而变 TO=0 OPS="0 1 2 3" if [ "$1" != "" ]; then TO=$1; fi rm chroot/* -rf for i in $OPS; do case "$i" in "0" ) bash crt_0.sh ;; "1" ) bash install.sh ;; "2" ) ...
LucencyLiu/tool
shell/hongqi2000/workshop/refillchroot.sh
Shell
gpl-3.0
579
#!/bin/sh #if [ `id -u` != 0 ] ; then # printf "\n\nPlease run with root permission!\n\n" # return 127 #fi #./update_fstab.sh BASEPKG="automake zlib1g-dev bison texinfo libtool autoconf pkgconf zip mime-support shared-mime-info desktop-file-utils" BASEPKG_ALL="" YESNOCMD="" SCOWPWRCMD="" BUILDARCH=`uname -m`...
UrusTeam/urus_buildroot
install_deps.sh
Shell
gpl-3.0
2,921
#!../bin/rshell #Test cases used: (manually inputted) echo hello #0to100realquick ls -l #swag ls #-l echo food && echo bard #test #idkbro test main.cpp #this test -e main.cpp #is test -f main.cpp #just test -d main.cpp #a test main.cpp #test echo hello && #ayylmao echo hello && #echo hi
liujustinh/rshell
test cases/commented_command.sh
Shell
gpl-3.0
294
python -u test.py waves
peterlzhang/gerris
test/waves.sh
Shell
gpl-3.0
24
#!/bin/bash set -e # exit with nonzero exit code if anything fails # go to the module directory and create a *new* Git repo mkdir deploy_doc cd deploy_doc git init git remote add -t gh-pages -f origin "https://$GH_TOKEN@github.com/$TRAVIS_REPO_SLUG.git" git checkout gh-pages git rm -rf * # inside this git repo we'll ...
gundisalwa/pentaho-angular-toolkit
_scripts/deploy-doc.sh
Shell
mpl-2.0
904
#!/usr/bin/env bash /run.sh & sleep 5 cd /builds/salsah-suite/rapier-scala ./webapi/scripts/graphdb-free-ci-prepare.sh kill $! /run.sh & sleep 5 cd /builds/salsah-suite/rapier-scala sbt "project webapi" "graphdb-free:test"
nie-ine/Knora
webapi/scripts/docker/build_graphdb_free_script.sh
Shell
agpl-3.0
227
#!/bin/bash exec `dirname $0`/jruby.sh -S irb $@
stuartsierra/altlaw-backend
script/jirb.sh
Shell
agpl-3.0
50
#!/usr/bin/env bash THIS_DIR=$(cd $(dirname $0); pwd) cd $THIS_DIR update() { git pull git submodule update --init --recursive install_rocks } # Will install luarocks on THIS_DIR/.luarocks install_luarocks() { git clone https://github.com/keplerproject/luarocks.git cd luarocks git checkout tags/v2.2.1 # ...
ahmedjabbar1/TeamTop
launch.sh
Shell
agpl-3.0
2,776
#!/bin/bash arvados-cwl-runner --submit --no-wait cwl/scatter_hupgp-gff-to-fastj.cwl yml/scatter_hupgp-gff-to-fastj_Arvados-test.yml #arvados-cwl-runner --disable-reuse --submit --no-wait scatter_hupgp-gff-to-fastj.cwl cwl-run/scatter_hupgp-gff-to-fastj_Arvados-test.yml #arvados-cwl-runner --disable-reuse --local sca...
curoverse/l7g
cwl-version/experimental/l7g-convert-fastj/hupgp-gff/cwl-run/submit-scatter-test-job.sh
Shell
agpl-3.0
511
#!/bin/sh if [ `uname` = "CYGWIN_NT-5.1" ]; then EXT=.bat elif [ `uname` = "Linux" ]; then EXT= fi #Target script f=test_sch1_uncall.script i=0 while [ $i -lt 3 ]; do echo "executing..."$f time janus$EXT < $f i=`expr $i + 1` done
tyoko-dev/Janus-A-sml
tests/test_sch1_uncall_3times.sh
Shell
agpl-3.0
249
# Managed via ansible. export NICKNAME={{ nickname }}
joyxu/kernelci-backend
ansible/roles/common/templates/host-nickname.sh
Shell
agpl-3.0
54
#!/bin/bash # # for platform in windows linux macosx; do pushd $platform; ls -l esptool-*; shasum -a 256 esptool-*; popd; done; # # ver=`git describe --tags` outdir=esp8266-$ver srcdir=../hardware/esp8266com/esp8266/ mkdir -p $outdir cp -R $srcdir/* $outdir/ cp -R ../libraries/SD $outdir/libraries/ cp -R ../libraries...
Protoneer/Arduino
build/build_board_manager_package.sh
Shell
lgpl-2.1
5,638
#!/bin/bash set -e set +h function postinstall() { if ! grep dovecot /etc/group &> /dev/null; then groupadd -g 42 dovecot && useradd -c "Dovecot unprivileged user" -d /dev/null -u 42 \ -g dovecot -s /bin/false dovecot && groupadd -g 43 dovenull && useradd -c "Dovecot login user" -d /dev/null -u 43 \ ...
FluidIdeas/parsers
blfs-resources/extrascripts/dovecot-appconfig.sh
Shell
lgpl-2.1
395
#!/bin/bash . lib-it.sh for file in ./*.mp4 do for keep_audio in "" "--keep_audio" do run_cmd "video-reverse -i $file -o tmp/$file.reverse.mp4 $keep_audio" done done echo "----------------------------------------" echo "SUCCESS $(basename $0)" echo "----------------------------------------" rm tmp...
okorach/audio-video-tools
it/it-03-video-reverse.sh
Shell
lgpl-3.0
351
#!/bin/sh cd bin jar cvfe ../../../build/jar/plc.jar ru.dz.plc.PlcMain . jar xvf ../lib/soot-2.5.0.jar jar cvfe ../../../build/jar/jpc.jar ru.dz.soot.SootMain . # cd ../lib # jar uvfe ../../../build/jar/jpc.jar ru.dz.soot.SootMain ../lib/soot-2.5.0.jar
dzavalishin/phantomuserland
tools/plc/mkjar.sh
Shell
lgpl-3.0
258
set -o nounset if (( ${BASH_VERSINFO[0]} != 4 )) then errexit 'bash version 4 is required.' fi declare -i debug=0 # declare -ar nodes=(8098 8099 8100) # NB: devrel declare -ar nodes=(10018 10028 10038) declare -i num_procs=4 # 24 declare -i sleep_seconds=120 # NB: not less than 5 seconds to ensure delete_mode seco...
lukebakken/riak-tests
bash/common.bash
Shell
unlicense
2,239
CLIENT_KEYSTORE_DIR=../client/src/main/resources SERVER_KEYSTORE_DIR=../server/src/main/resources CLIENT_KEYSTORE=$CLIENT_KEYSTORE_DIR/client-nonprod.jks SERVER_KEYSTORE=$SERVER_KEYSTORE_DIR/server-nonprod.jks JAVA_CA_CERTS=$JAVA_HOME/jre/lib/security/cacerts # Generate a client and server RSA 2048 key pair keytool -g...
joutwate/mtls-springboot
bin/gen-non-prod-key.sh
Shell
unlicense
1,292
#/** # * 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...
venkatsatish/incubator-singa
thirdparty/install.sh
Shell
apache-2.0
13,556
#!/bin/bash # Author: yeho <lj2007331 AT gmail.com> # BLOG: https://blog.linuxeye.com # # Notes: OneinStack for CentOS/RadHat 5+ Debian 6+ and Ubuntu 12+ # # Project home page: # https://oneinstack.com # https://github.com/lj2007331/oneinstack Upgrade_Redis() { pushd ${asn_dir}/src > /dev/null [ ! -d...
asntechsolution/lamp-lemp
include/upgrade_redis.sh
Shell
apache-2.0
2,307
#!/bin/sh set -e mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" XCASSET_FILES=() case "${TARGETED_DEVICE_FAMILY}" in 1,2) TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" ;; 1) ...
Faceunity/FUQiniuDemo
Example/Pods/Target Support Files/Pods-PLMediaStreamingKitDemo/Pods-PLMediaStreamingKitDemo-resources.sh
Shell
apache-2.0
5,221
#!/usr/bin/env bash # Copyright 2018 The Knative 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 ...
googleinterns/knative-source-mongodb
vendor/knative.dev/test-infra/scripts/library.sh
Shell
apache-2.0
29,502
#!/bin/bash # Copyright 2016 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...
krzyzacy/test-infra
testgrid/config-upload.sh
Shell
apache-2.0
1,165
#!/usr/bin/env bash while read SCRIPT do echo "Checking for script $SCRIPT.sh" if [ -e $SCRIPT.sh ] then echo "Running $SCRIPT.sh" source ./$SCRIPT.sh $@ && echo "$SCRIPT.sh succeeded" || (echo "$SCRIPT.sh failed" && exit 1) fi done < ../../node_tags
dhague/maas-k8s
scripts/run_node_tag_scripts.sh
Shell
apache-2.0
284
export DISTRO_NAME=centos export DIB_RELEASE=${DIB_RELEASE:-7} export EFI_BOOT_DIR="EFI/centos" # by default, enable DHCP configuration of eth0 & eth1 in network # scripts for centos 7. See yum-minimal for full details. CentOS 8 # does not come with network-scripts by default so avoid this there. if [[ "${DIB_RELEAS...
openstack/diskimage-builder
diskimage_builder/elements/centos-minimal/environment.d/10-centos-distro-name.bash
Shell
apache-2.0
517
#!/bin/sh set -e set -o pipefail DIRNAME=`dirname "$0"` TEST_DIR=`cd "$DIRNAME"; pwd` TEST_BEFORE_DIR=$TEST_DIR/before/dist TEST_AFTER_DIR=$TEST_DIR/after TOOL_DIR="$TEST_DIR/jboss-server-migration" SOURCE_DIST_DIR="$1" TARGET_DIST_DIR="$2" if [ "x$SOURCE_DIST_DIR" != "x" ]; then if [[ $SOURCE_DIST_DIR != /* ]]; ...
emmartins/wildfly-server-migration
testsuite/server-migration-simple-test.sh
Shell
apache-2.0
5,188
#!/bin/bash echo 'Sharing PDF books...' mkdir -p /cygdrive/d/Todd/pdf mkdir -p /tmp/Todd/pdf rm -rf /tmp/ronbo/pdf mkdir -p /tmp/ronbo/pdf rsync --verbose --recursive --times --checksum --delete --prune-empty-dirs --human-readable --progress --include='*/' --include='*.pdf' --exclude='*' '/cygdrive/g/Users/TLougee/Bo...
kurron/scripts
share-todd-books.sh
Shell
apache-2.0
2,601
#!/bin/sh cd $(dirname $0) ../tools/minify.sh package.js -no-alias -output ../../build/enyo
rwadkins/EnyoJS-NYC-Subway-Status
framework/js/enyo/minify/minify.sh
Shell
apache-2.0
95
#!/bin/bash ############################################################################### #Variables export PROJECT_LIST=$(find project | grep "GCC/Makefile") export BOARD_LIST="project/*" export OUT="$PWD/out" export FLASHGENERATOR="tools/flashgen/flashgen.pl" feature_mk="" platform=$(uname) if [[ "$platform" =~ "...
iamblue/ml-mt7687-config
templates/build_sdk.sh
Shell
apache-2.0
11,280
#!/bin/bash -e hst capture-schedule set "0 2 * * *"
sequenceiq/cloudbreak
core/src/main/resources/scripts/smartsense-capture-schedule.sh
Shell
apache-2.0
52
#!/usr/bin/env bash ./gradlew clean assemble bintray -DcommitTag=true git push --follow-tags
alibaba/atlas
atlas-core/publish.sh
Shell
apache-2.0
93
#!/bin/sh -- mkdir -p build/debug cd build/debug cmake -DCMAKE_BUILD_TYPE=Debug ../.. make clean && make
amzn/ion-c
build-debug.sh
Shell
apache-2.0
106