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
#!/bin/bash sources="$(cat sources.txt)" g++ inertia_test.cpp $sources -lgsl -lgslcblas -o inertia_test.o
homeslike/OpticalTweezer
test/compile_inertia_test.sh
Shell
mit
108
#!/bin/sh #PBS -l walltime=01:00:0 # Useful only when this script is qsub'ed # Written by Xiuming Zhang and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md # Example BET procedure/parameters (to be optimized based on your data) bet ${img} ${outDir}${name}_brain.nii.gz -f 0.4 -B
ThomasYeoLab/CBIG
stable_projects/disorder_subtypes/Zhang2016_ADFactors/step1_VBM/extractBrains/lib/CBIG_BETParam2.sh
Shell
mit
318
RBENV_TEST_DIR="${BATS_TMPDIR}/rbenv" export RBENV_ROOT="${RBENV_TEST_DIR}/root" export HOME="${RBENV_TEST_DIR}/home" unset RBENV_VERSION unset RBENV_DIR export PATH="${RBENV_TEST_DIR}/bin:$PATH" export PATH="${BATS_TEST_DIRNAME}/../libexec:$PATH" export PATH="${BATS_TEST_DIRNAME}/libexec:$PATH" export PATH="${RBENV_...
hashbrowncipher/rbenv
test/test_helper.bash
Shell
mit
1,227
#!/bin/bash # Script Name: AtoMiC .bash_aliases Installer # Author: htpcBeginner # Publisher: http://www.htpcBeginner.com # License: MIT License (refer to README.md for more details) # # DO NOT EDIT ANYTHING UNLESS YOU KNOW WHAT YOU ARE DOING. YELLOW='\e[93m' RED='\e[91m' ENDCOLOR='\033[0m' CYAN='\e[96m' GREEN='\e[92m...
carrigan98/AtoMiC-ToolKit
bash_aliases-installer.sh
Shell
mit
3,926
#!/bin/bash naopassa=$(curl -A RNID -I http://www.aterratreme.pt/inscreva-se/|grep 200|wc -l); if [ "$naopassa" -eq "1" ]; then echo "terratreme: Incumprimento mantém-se, a actualizar o README (faça um git diff, valide, e commit!)"; while IFS='' read -r line || [[ -n "$line" ]]; do test "$(echo "$line"|grep -v -c ...
marado/RNID
scripts/28-terratreme.sh
Shell
cc0-1.0
572
#!/bin/sh # # $1, $2, $3 etc... contain script parameters/arguments echo First Arg: $1 echo Second Arg: $2 echo Third Arg: $3 echo Number of Args: $# echo All Args: $@ # james@ubuntu:~/src/scripts/Bash/examples$ ./2_params.sh one two three # First Arg: one # Second Arg: two # Third Arg: three # Number...
jameswilliamknight/scripts.pub
Bash/tutorial/02_params.sh
Shell
cc0-1.0
360
#!/bin/bash #OPP_NOM Setting for DRA7xx #PER DPLL settings PER_PLL_M=96 PER_PLL_N=4 PER_PLL_M2=4 PER_PLL_H11=2 PER_PLL_H12=3 PER_PLL_H13=9 PER_PLL_H14=1 #Core DPLL Settings CORE_PLL_M=266 CORE_PLL_N=4 CORE_PLL_M2=2 CORE_PLL_H12=3 CORE_PLL_H13=61 CORE_PLL_H14=4 CORE_PLL_H22=4 CORE_PLL_H23=3 CORE_PLL_H24=5 #ABE DPLL...
rogerq/ltp-ddt
testcases/ddt/scripts/clk_fw/dra7xx_clk_framework_ref.sh
Shell
gpl-2.0
6,114
#/bin/bash # Simple example that prints command line arguments echo $@
rralcala/random-scripts
bash/cmd-arguments.sh
Shell
gpl-2.0
73
#!/bin/bash if [ -d "/" ]; then echo "PASS: / is a directory" else echo "FAIL: / is not a directory" fi
matusmarhefka/whale
examples/tests/plugin-default/Dummy/dummy_test2/test.sh
Shell
gpl-2.0
107
export HOST_NAME="apache" export IMAGE='ljhiyh/centos65-handon-ews21' #Connector Version export EAP_VERSION=6.3
Jooho/sample-docker
Hands-on/EWS/docker-env.sh
Shell
gpl-2.0
113
#!/bin/bash # Copyright 2012 Johns Hopkins University (Author: Daniel Povey) # Apache 2.0 [ -f ./path.sh ] && . ./path.sh # begin configuration section. cmd=run.pl stage=0 decode_mbr=true word_ins_penalty=0.0 min_lmwt=7 max_lmwt=17 iter= #some of the scripts from steps/ seem to use it #end configuration section. e...
michellemorales/OpenMM
kaldi/egs/gale_arabic/s5b/local/score.sh
Shell
gpl-2.0
1,972
php batch-bigindex.php orphan 2>&1 | tee batch-bigindex-orphan.log
doxbox/doxbox-dms
admin/tools/owl_batch.d/jobs/bigindex/batch-bigindex-orphan.sh
Shell
gpl-2.0
67
convert images/OCS-419-A.png -crop 1473x4526+67+275 +repage images/OCS-419-A.png # # #/OCS-419.png convert images/OCS-419-B.png -crop 1569x4532+0+271 +repage images/OCS-419-B.png # # #/OCS-419.png
jonnymwalker/Staroslavjanskij-Slovar
scripts/cropedges.OCS-419.sh
Shell
gpl-2.0
197
#!/bin/bash source ./test_DATA.sh source ./test_ltw.sh source ./test_ffmepg.sh source ./test_wget.sh source ./test_MCTF.sh set -x data_dir=data-${0##*/} VIDEO=coastguard_352x288x30x420x300 #PICTURES=289 GOPs=1 TRLs=5 # GOP_size = 16 SRLs=3 if [[ ! -e $DATA/$VIDEO.yuv ]]; then current_dir=$PWD cd $DATA ...
vicente-gonzalez-ruiz/QSVC
trunk/tests/MCLTW-compress-expand.sh
Shell
gpl-2.0
809
#! /bin/bash ## to run ngs.plot in one plots with all bam ## $1: path to bams ## $2: genome of ngs.plot ## $3: project name ## $4: cores to be used for ngs.plot ## $5: fagment length (option, default=150nt) CWD=`pwd` cd ${1} if [ -f config.cov.txt ]; then rm config.cov.txt; fi for i in `ls *.bam`; do echo -e "${i...
eddielohyh/chip-seq_preprocess
bin/ngsplot_all.sh
Shell
gpl-2.0
1,173
grep -rl '_static' build/html | xargs sed -i 's/_static/static/g' grep -rl '_autosummary' build/html | xargs sed -i 's/_autosummary/autosummary/g' mv build/html/_static build/html/static mv build/html/_autosummary build/html/autosummary
tbereau/auto_martini
docs/sphinx/fix.sh
Shell
gpl-2.0
239
#!/bin/sh # Optional startups # Vars TMPSCR=/tmp/ancstartups BIN=/usr/sbin/anc # Debug purpose #BIN=/etc/ancdbg/anc # Copy optional startups commands from nvram to a temporary file then run it if [ -n "`${BIN} nvram rget anc_startup_opt`" ]; then echo "#!/bin/sh" > ${TMPSCR} ${BIN} nvtotxt anc_startup_opt >> ${TMPSC...
negan07/ancistrus
work/ancistrus-core-1.7.3/scripts/Sopt.sh
Shell
gpl-2.0
370
#!/bin/sh rm -fr xml ln -sf odt xml
oracc/oracc
misc/legacy/no-simplify.sh
Shell
gpl-2.0
36
#!/bin/bash -e . $DATADIR/query/acl/functions.sh # insert entry to acl table mysql -h$RIPADMIN_DBHOST -P$RIPADMIN_DBPORT -u$RIPADMIN_DBUSER -p$RIPADMIN_DBPASS $RIPADMIN_DBNAME <<EOM INSERT INTO acl6 VALUES (0,0,0,0,32,2000,-1,10,1,0,4,6,'Stupid test'); EOM # have server re-read acl table issue_command set acl_tree ...
agoston/whoisserver-legacy
tests/dbupdate/test-data/query/acl/004/acl_setup.sh
Shell
gpl-2.0
538
# 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-ssh-time,Values=10-00 Name=...
STARTSPACE/aws-access-to-ec2-by-timetable
ssh-22/allow-ad/ssh-allow-ad-10.sh
Shell
gpl-2.0
797
## text file ## Check if file contains text. ## ## Params: ## text: {String} Text to search. ## file: {String} Check file path. ## ## Return: 0 if file contains the text, 1 if not contains the text. local text="$1" local file="$2" if [ ! -z "${file}" ] && [ -f "${file}" ] && [ ! -z "${text}" ]; then if grep -qr...
reduardo7/hsabx
src/utils/file-contains.sh
Shell
gpl-2.0
446
#!/bin/sh PrintUsage() { echo "Usage: $0 -i ip -p port -l user -P password -c commonds" echo "-i: ip, required" echo "-p: port, default 22" echo "-l: user, default root" echo "-P: password, required" echo "-c: commonds, default none" } ip="" port=22 user="root" password="" commonds="" while g...
gwq5210/shell_learn
remote_login.sh
Shell
gpl-2.0
927
if test -z $PREFIX; then export PREFIX=/usr/local || exit $? fi # download and install RDP UCHIME reference database if ! test -e .rdp; then mkdir -p $PREFIX/share/claident/uchimedb 2> /dev/null || sudo mkdir -p $PREFIX/share/claident/uchimedb || exit $? wget -nv -c http://drive5.com/uchime/rdp_gold.fa -O rdpgoldv9.fas...
astanabe/ClaidentInstaller
installUCHIMEDB_macOSMacPorts.sh
Shell
gpl-2.0
9,994
#!/bin/bash rm *.img make mrproper rm -rf board/samsung/mixtile4x12/config.mk echo "CONFIG_SYS_TEXT_BASE = 0x7fd00000" > board/samsung/mixtile4x12/config.mk echo "CONFIG_EXYNOS4412 = 1" >> board/samsung/mixtile4x12/config.mk make mixtile4x12_config make mixtile4x12_config make -j4 cat bl1/E4412_nbl1.img bl2.bin nop.ad...
mixtile/garage-uboot
build_uboot.sh
Shell
gpl-2.0
881
#!/bin/bash VIP=SECONDARY.INTERNAL.IP.ADDRESS EIP=YOUR.ELASTIC.IP.ADDRESS REGION=us-east-1 PATH=/usr/local/bin:/usr/bin:/bin:/sbin:$PATH TYPE=$1 NAME=$2 STATE=$3 case $STATE in "MASTER") ## Grab stuff from the ec2 metadata INSTANCE_ID=`curl -s http://169.254.169.254/latest/dynamic/instance-identity/document | ...
OULibraries/ltp-utils
aws/notify.sh
Shell
gpl-2.0
1,810
#!/bin/bash export ARCH=arm export CROSS_COMPILE=~/AndroidKernels/toolchains/SaberModarm-eabi-4.9/bin/arm-eabi- mkdir output make VARIANT_DEFCONFIG=msm8974pro_sec_klte_vzw_defconfig msm8974_sec_defconfig SELINUX_DEFCONFIG=selinux_defconfig make -j4
klabit87/kltevzw_pb1
build_kernel.sh
Shell
gpl-2.0
252
#!/bin/sh echo exporting files. echo 48 > /sys/class/gpio/export echo 255 > /sys/class/gpio/export echo 223 > /sys/class/gpio/export echo 214 > /sys/class/gpio/export echo writing directions echo low > /sys/class/gpio/gpio214/direction echo high > /sys/class/gpio/gpio255/direction echo low > /sys/class/gpio/gpio223/dir...
qtpierce/sMegabyte
Intel Edison pushing bluetooth audio/simpleIO/pin7off.sh
Shell
gpl-2.0
457
#!/bin/bash rm -f $DRUPAL_DB_FILE
legovaer/drupal-vsts
deploy/clean.sh
Shell
gpl-2.0
34
#!/usr/bin/env bash vm_command 'libreoffice --version'
l0b0/root
test/modules/office_suite/test.sh
Shell
gpl-3.0
56
#!/bin/bash #SBATCH --time=00:30:00 #SBATCH -A kurs2014-1-124 increment=500 n=500 maximum=10000 while [[ $n -le $maximum ]] do ./a.out $n $n 0.0000022878 -0.7435669 .1314023 255 1 >>mandel.csv n=$(( $n+$increment )) done
Moliholy/Mandelbrot-CUDA
job.sh
Shell
gpl-3.0
227
#!/bin/sh # Automatic build script for libssl and libcrypto # for iPhoneOS and iPhoneSimulator # # Created by Felix Schulze on 16.12.10. # Copyright 2010 Felix Schulze. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with ...
RobertoEstrada/libKeygen
libs/OpenSSL-iOS/build-libssl.sh
Shell
gpl-3.0
4,921
#!/bin/bash source /usr/share/InnoRoute/tn_env.sh source /usr/share/InnoRoute/tn_func_ll.sh if [[ $# -ne 1 ]]; then echo "$0 <ex> is used to output information on the Traffic Manager" echo "The parameter <ex> can have any value. Without it, this help is displayed" else if [ -z "$(lspci -mm -d 10ee:0000)" ]; the...
InnoRoute/packages
TN_tools/files/TN_tm.sh
Shell
gpl-3.0
4,883
#!/bin/bash python RunBootstrap.py --paralog1 YBL087C --paralog2 YER117W --bootnum 71 > YBL087C_YER117W_Boot71_PrintScreen.txt
xjw1001001/IGCexpansion
Bootstrap/ShFiles/MG94_YBL087C_YER117W_Boot71.sh
Shell
gpl-3.0
128
#!/bin/bash - . /app/lib/common.sh CHECK_BIN sed CHECK_BIN prosodyctl CHECK_VAR PROSODY_XMPP_DOMAIN CHECK_VAR PROSODY_ADMINS CHECK_VAR PROSODY_DB_USER CHECK_VAR PROSODY_DB_PASS CHECK_VAR PROSODY_DB_NAME CHECK_VAR PROSODY_DB_HOST CHECK_VAR PROSODY_DB_PORT CHECK_VAR PROSODY_LDAP_DN CHECK_VAR PROSODY_LDAP_PASS CHECK_VAR...
chambana-net/docker-prosody
bin/run.sh
Shell
gpl-3.0
2,450
#generate a pseudorandom passphrase of $1 words generate_passphrase() { shuf -n ${1:-5} /usr/share/dict/words | tr '\n' ' ' | head -c -1 echo }
airencracken/shell_utils
generate_passphrase.sh
Shell
gpl-3.0
148
* Copy screenshooter.sh and shootscreens.sh to /usr/local/bin/ on your media box. * Run "chmod a+x" on them to make them executable. * If using MythTV, run the Video Manager, then back out of it. * Run a command like this to process an individual video: screenshooter.sh -v /myth/video/HDTV/monkey.mpg or like ...
Human/mythic.tv-contributed-code
README-screenshooter.sh
Shell
gpl-3.0
531
#!/bin/bash # $Revision: 11451 $ $Date:: 2019-05-16 #$ $Author: serge $ USER=$1 HOST=$2 CONFIG=./rollout.cfg show_help() { echo "Usage: rollout.sh USER HOST" } if [ -z "$USER" ] then show_help exit fi if [ -z "$HOST" ] then show_help exit fi USERHOST=$USER@$HOST echo "host = $HOST" ...
trodevel/deploy_tools
rollout.sh
Shell
gpl-3.0
1,926
#!/bin/sh # eventually run autoreconf when it will work better # autoreconf --force --install -I config aclocal autoheader autoconf automake -a -c -f
gizela/gizela
util/gama-1.9.07/scripts/autogen.sh
Shell
gpl-3.0
152
#!/bin/bash # # Simple script to run marlin tests with valgrind on top # calls the command (given as first argument) # with all following arguments # #----- initialize environment for this package - including DD4hep #----- parse command line - first argument is the # test to run ## Drop existing ClicPerforma...
iLCSoft/CLICPerformance
Tests/bin/ValgrindTests.sh
Shell
gpl-3.0
723
#!/usr/bin/env bash # Install tree tagger mkdir -p tree-tagger cd tree-tagger/ wget http://www.cis.uni-muenchen.de/%7Eschmid/tools/TreeTagger/data/tagger-scripts.tar.gz wget http://www.cis.uni-muenchen.de/%7Eschmid/tools/TreeTagger/data/install-tagger.sh wget http://www.cis.uni-muenchen.de/%7Eschmid/tools/TreeTagger/...
jjerphan/semiotweet
treeTagger.sh
Shell
gpl-3.0
534
#!/bin/sh # # This file is protected by Copyright. Please refer to the COPYRIGHT file # distributed with this source distribution. # # This file is part of GNUHAWK. # # GNUHAWK is free software: you can redistribute it and/or modify is under the # terms of the GNU General Public License as published by the Free Sof...
RedhawkSDR/integration-gnuhawk
components/vector_to_streams_ff_3o/build.sh
Shell
gpl-3.0
1,606
IFS_BAK=$IFS IFS=" " for line in $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS; do full_path="/home/"$USER"/Desktop/"subtitle_downloader.py python $full_path $line notify-send $line done IFS=$IFS_BAK ##to do::#give a check here to see if the files coming are .mp4........videoformat files only othe...
manojmj92/subtitle-downloader
bin/Subtitles_In_English.sh
Shell
gpl-3.0
435
#!/bin/bash FILES=$1 FINAL=$2 RAIZ=$(pwd) echo "ls $FILES" cd $FILES date mkdir -p /tmp/$FILES/temporal #mogrify -format png *.tiff #mogrify -format tiff *.png rm *png echo "mkdir -p $FILES/temporal" for i in `ls *color` do convert -compress jpeg $i $i.tiff rm $i done TOTAL=$(ls *tif *tiff *TIF *color|wc -l) for i ...
javeeto/FuidxelServer
bash/conversionhocr.sh
Shell
gpl-3.0
556
#!/bin/bash # # Unattended/SemiAutomatted OpenStack Installer # Reynaldo R. Martinez P. # E-Mail: TigerLinux@Gmail.com # OpenStack LIBERTY for Ubuntu 14.04lts # # PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin # # First, we source our config file and verify that some important proccess are #...
tigerlinux/openstack-liberty-installer-ubuntu1404lts
modules/requeriments-extras.sh
Shell
gpl-3.0
3,057
#!/usr/bin/env bash # # pocky/travis/install.sh _dir=$(readlink -f $(dirname ${BASH_SOURCE})/..) function _install_lein() { url_lein="https://raw.github.com/technomancy/leiningen/stable/bin/lein" echo -n && \ mkdir -p ${1} && \ curl -s -o ${1}/lein ${url_lein} && \ chmod u+x ${1}/lein...
burner-432e4b5d76/pocky
travis/install.sh
Shell
gpl-3.0
1,105
#!/bin/bash #1i . /opt/ownsec/ITSEC-Install-Scripts-ORIG/001.functions/all-scripts.sh GITREPO=https://github.com/reyammer/shellnoob BRANCH=master GITREPOROOT=/opt/ITSEC/3.Exploitation-Tools/3.Shellcode-gen/shellnoob/reyammer/shellnoob GITCONFDIR=/opt/ITSEC/3.Exploitation-Tools/3.Shellcode-gen/shellnoob/reyammer/shell...
alphaaurigae/ITSEC-Install-Scripts
ITSEC-Install-Scripts-ORIG/3.Exploitation-Tools/3.Shellcode-gen/shellnoob/shellnoob-update.sh
Shell
gpl-3.0
1,362
#!/bin/sh DT_SRC_DIR=$(dirname "$0") DT_SRC_DIR=$(cd "$DT_SRC_DIR/../" && pwd -P) cd "$DT_SRC_DIR" || exit git shortlog -sne release-2.2.0..HEAD echo "are you sure these guys received proper credit in the about dialog?" echo "HINT: $ tools/generate_authors.rb release-2.2.0..HEAD > AUTHORS" read -r answer # prefix ...
michleb/darktable
tools/create_release.sh
Shell
gpl-3.0
2,660
#!/bin/bash # LMU Munich - AG Enard / Karolinska Institute - Sandberg Lab # Pipeline to run UMI-seq analysis from fastq to read count tables. # Authors: Swati Parekh, Christoph Ziegenhain, Beate Vieth & Ines Hellmann # Contact: sparekh@age.mpg.de or christoph.ziegenhain@ki.se vers=2.9.7 currentv=$(curl -s https://raw.g...
sdparekh/zUMIs
zUMIs.sh
Shell
gpl-3.0
10,483
DIGEST="openssl dgst -md5" MASTER_LOG=$HT_HOME/log/Hypertable.Master.log MASTER_PIDFILE=$HT_HOME/run/Hypertable.Master.pid ROW_SEED=1 save_failure_state() { ARCHIVE_DIR="archive-"`date | sed 's/ /-/g'` mkdir $ARCHIVE_DIR \rm -f $HT_HOME/run/op.output touch $HT_HOME/run/debug-op ps auxww | fgrep -i hyper | fg...
toidi/hypertable
tests/integration/rangeserver-failover-basic/utilities.sh
Shell
gpl-3.0
3,857
#!/bin/bash cd `dirname "$0"` python CybathlonAdapter.py $@
jadref/buffer_bci
python/Cybathalon/runCybathlonAdapter.sh
Shell
gpl-3.0
60
#!/bin/bash #************************************************************************ # Codelet Tuning Infrastructure # Copyright (C) 2010-2015 Intel Corporation, CEA, GENCI, and UVSQ # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as publi...
franck-talbart/codelet_tuning_infrastructure
common-tools/XLSX/ratio_metrics.sh
Shell
gpl-3.0
2,704
# 25_kill_cmenqord.sh # on HP-UX 11.31 with SGeSAP ERS daemon cmenqord running we must be sure # we kill the daemon before patching otherwise unpredictable things happen UNIX95= ps -ef | grep cmenqord | grep -v -q grep > "$TMP_DIR/cmenqord" if [[ -s "$TMP_DIR/cmenqord" ]]; then if (( PREVIEW )) ; then Lo...
gdha/upgrade-ux
opt/upgrade-ux/scripts/preinstall/hp/25_kill_cmenqord.sh
Shell
gpl-3.0
456
#!/bin/bash # script to set up a cycling WPS/WRF run: reads first entry in stepfile and # starts/submits first WPS and WRF runs, the latter dependent on the former # created 28/06/2012 by Andre R. Erler, GPL v3 # revised 02/03/2013 by Andre R. Erler, GPL v3 set -e # abort if anything goes wrong # settings export STEPF...
aerler/WRF-Tools
Machines/TCS/start_cycle_TCS.sh
Shell
gpl-3.0
1,507
pre_start_action() { mkdir -p $LIB_DIR mkdir -p $CACHE_DIR mkdir -p "$LOG_DIR/jenkins" /usr/bin/ssh-keygen -A } post_start_action() { rm /first_run }
internavenue/docker-centos-jenkins
scripts/first_run.sh
Shell
gpl-3.0
161
#!/bin/bash # Run airodump-ng with no flags #set the prompt to the name of the script PS1=${PS1//@\\h/@airodump} clear . /opt/pwnix/pwnpad-scripts/px_functions.sh f_run(){ # Check for OUI f_oui # Check to log f_log # Check for GPS f_gps #we have a monitor interface now, so set traps to cleanup trap f...
pwnieexpress/pwn_pad_sources
scripts/airodump.sh
Shell
gpl-3.0
2,056
#!/bin/bash for folder in $(ls -Fd ../delay-one-run/* | grep '/$' | awk -F '/' '{print $(NF-1)}'); do echo $folder ./parse_ping.py ../delay-one-run/$folder/ > ../parsed_data/$folder-IPv6-ping.txt done
battlemesh/battlemeshv10-testbed
tests/failure_recovery/parser_scripts/parse_all_pings.sh
Shell
gpl-3.0
211
#!/bin/bash # # By Duzy Chan <code@duzy.info>, 2012, 2013 # applet=$(basename $0) script=./scripts/apps/app_$applet.sh if [[ -f $script ]]; then . ./scripts/common.sh . $script && main "$@" else echo "Applet $applet not found!" fi
timvideos/gst-switch
scripts/main.sh
Shell
gpl-3.0
247
#!/bin/bash set -eu rm -rf git rm -rf svn rm -rf build readonly CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) if [ "$CURRENT_BRANCH" != master ]; then echo "You must be on 'master' branch to release, aborting..." exit 1 fi if ! git diff-index --quiet HEAD --; then echo "Working tree is not clean, aborting...
rayrutjes/wc-order-search-admin
bin/release-branch.sh
Shell
gpl-3.0
1,671
#! /usr/bin/bash echo "open -t http://www.wordreference.com/fren/$QUTE_SELECTED_TEXT" >> "$QUTE_FIFO"
swalladge/dotfiles
local/share/qutebrowser/userscripts/wordreference_fr.sh
Shell
gpl-3.0
103
#!/bin/bash i=0 cat names | while read name; do svgplease open card.svg then select '#name' then change text to "$name" then save to "card-${i}.svg" i="$((i + 1))" done svgplease open card-*.svg then tile on a5 page then save to cards.svg
sapal/svgplease
doc/example/generate.sh
Shell
gpl-3.0
246
#!/bin/bash -e # The Kbd package contains key-table files and keyboard utilities. . ../lfs.comm build_src() { version=2.2.0 srcfil=kbd-$version.tar.xz srcdir=kbd-$version tar -xf $LFSSRC/$srcfil && cd $srcdir # The behavior of the Backspace and Delete keys is not consistent # across the ke...
fangxinmiao/projects
Architeture/OS/Linux/Distributions/LFS/build-scripts/lfs-9.0-systemd/2-build-final-system/57-kbd.sh
Shell
gpl-3.0
1,201
#!/bin/bash # qky.sh tty -s; if [ $? -ne 0 ]; then gnome-terminal -e "$0"; exit; fi ############################################################## # QUACKEY: a somewhat simplified version of Perquackey [TM]. # # # # Author: Mendel Cooper <thegrendel.abs@gmai...
kernt/linuxtools
gnome3-shell/nautilus-scripts/applications/Games/Quakey.sh
Shell
gpl-3.0
11,497
docker exec thelink_neo4j_1 /var/lib/neo4j/bin/neo4j-shell -file /var/lib/neo4j/import/movieSample/generateTimeTree.cql
menome/thelink-community-edition
neo4j/movieSample/MovieProjectSampleTimeTree.sh
Shell
agpl-3.0
119
#!/usr/bin/env bash export PYTHONIOENCODING=utf-8 export LANG=en_US.UTF-8 python zarafa-spamhandler.py
zarafagroupware/python-zarafa
scripts/zarafa-spamhandler/zarafa-spamhandler.sh
Shell
agpl-3.0
103
#!/bin/sh tmux new-session -d \; split-window -h \; split-window -d 'top' \; attach
TechnologyClassroom/bash
tmux/tmux.sh
Shell
agpl-3.0
84
#!/bin/sh AS_VAGRANT="sudo -u vagrant" if [ $# -eq 0 ]; then echo "Usage : build-instance 70 or build-instance 80" exit 1 fi if [ $1 -ne 70 ] && [ $1 -ne 80 ]; then echo "Usage : build-instance 70 or build-instance 80" exit 1 fi if [ -f /etc/init/odoo-server-$1.conf ] then echo "Instance $1 is alread...
acsone/odoo-box
build-instance.sh
Shell
agpl-3.0
1,528
#!/usr/bin/env bash # Use this script to pin the commit used by the developments tracked by the CI OVERLAYS="./dev/ci/ci-basic-overlay.sh" process_development() { local DEV=$1 local REPO_VAR="${DEV}_CI_GITURL" local REPO=${!REPO_VAR} local BRANCH_VAR="${DEV}_CI_REF" local BRANCH=${!BRANCH_VAR} if [[ -z "...
gares/coq
dev/tools/pin-ci.sh
Shell
lgpl-2.1
1,307
#!/bin/bash clear LD_LIBRARY_PATH="../lib" ./stack_cmd
mjbalint/stack
bin/stack_cmd.sh
Shell
lgpl-3.0
55
#!/bin/bash set -e mkdir -p src tar -zxvf third_party/github.com.tar.gz -C src
Qihoo360/huststore
hustdb/goha/prebuild.sh
Shell
lgpl-3.0
81
#PBS -l nodes=1:ppn=4 -N tcoffee -j oe F=$PBS_ARRAYID GENOMELIST=FILES if [ ! -f $GENOMELIST ]; then ls *.aa.rename > $GENOMELIST fi if [ ! $F ]; then F=$1 fi if [ ! $F ]; then echo "no PBS_ARRAYID or input" exit fi if [ $PBS_NUM_PPN ]; then CPU=$PBS_NUM_PPN fi FILE=`head -n $F $GENOMELIST | tail -n 1` if [ ! ...
stajichlab/Phyling
scripts/do_aln_array.sh
Shell
lgpl-3.0
430
#!/bin/bash # A shell script to remove all but the specified contigs or chromosomes # from a given bam file. Requires samtools # arguments: # -r <regions file> a file containing the regions of interest, in a # format that samtools understands: # contig:start-stop # contig2:start-stop # With one region per li...
MeeshCompBio/Misc_Utils
Strip_BAM.sh
Shell
unlicense
3,791
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_CONF=default CND_DISTDIR=dist TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/contador_tmr0.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} OUTPUT_BASENAME=contador_tmr0.X.${IMAGE_TYPE}.${OUT...
retux/picworks
contador_tmr0.X/nbproject/Package-default.bash
Shell
unlicense
1,401
#/bin/bash date=`date +%d-%m\ %H:%M:%S` cmus-remote -Q | head -2 | tail -1 | sed -e 's/.*\///' -e 's/\..*//' | xargs -0 -I{} kdialog --title "$date" --passivepopup {} 2
aVolpe/scripts
cmus/show_current.sh
Shell
apache-2.0
171
#!/bin/sh npm version minor && npm publish && npm version patch && git push --tags && git push origin master
deliverymanager/printServer
node_modules/forever-monitor/node_modules/watch/release.sh
Shell
apache-2.0
113
# # Copyright 2019 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
google/cpix_cc
examples/build.sh
Shell
apache-2.0
1,659
#!/bin/bash DGXSYSTEM=${DGXSYSTEM:-"DGX1"} if [[ -f config_${DGXSYSTEM}.sh ]]; then source config_${DGXSYSTEM}.sh else source config_DGX1.sh echo "Unknown system, assuming DGX1" fi SLURM_NTASKS_PER_NODE=${SLURM_NTASKS_PER_NODE:-$DGXNGPU} SLURM_JOB_ID=${SLURM_JOB_ID:-$RANDOM} MULTI_NODE=${MULTI_NODE:-''} echo "Ru...
mlperf/training_results_v0.5
v0.5.0/nvidia/submission/code/object_detection/pytorch/run_and_time.sh
Shell
apache-2.0
1,476
#! /usr/bin/bash read -p 'Please enter your username on the version of cloudscheduler you wish to address: ' username sudo yum -y install epel-release python_path=`which python3` if [ -z "$python_path" ]; then sudo yum -y install python3.x86_64 fi pip_path=`which pip3` if [ -z "$pip_path" ]; then sudo yum -...
hep-gc/cloudscheduler
unit_tests/web_tests/setup_scripts/web_test_setup_full_centos.sh
Shell
apache-2.0
4,690
#!/bin/bash # # Copyright (C) 2016 The CyanogenMod Project # # 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 applicabl...
TeamNexus/android_device_samsung_zero-common
setup-makefiles.sh
Shell
apache-2.0
1,444
#!/bin/bash python predict.py ${@:2} | vowpalwabbit/vw -i movielens.reg -p predictions.txt -t python makePredictionary.py ${@:2} rm predictions.txt python merging.py $@ > predictions.txt python filterRestaurants.py < predictions.txt rm predictions.txt python printReviews.py ${@:2} #python makePredictionary.py $@ #pas...
pranav-gokhale/YelpGroupRecommendations
EugeneApproach.sh
Shell
apache-2.0
459
#!/usr/bin/env 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 A...
zhangminglei/flink
flink-end-to-end-tests/test-scripts/test_stateful_stream_job_upgrade.sh
Shell
apache-2.0
3,063
#!/bin/bash # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh # # Automation script to create specs to build cc-proxy # Default: Build is the one specified in file configure.ac # located at the root of the repository. set -x AUTHOR=${AUTHOR:-$(git config user....
erick0z/packaging
proxy/update_proxy.sh
Shell
apache-2.0
2,576
#!/bin/bash PATH=$PATH:/usr/lib/postgresql/${PGVERSION}/bin SSL_CERTIFICATE="$PGHOME/dummy.crt" SSL_PRIVATE_KEY="$PGHOME/dummy.key" BACKUP_INTERVAL=3600 function write_postgres_yaml { local aws_private_ip=$(curl -s http://169.254.169.254/latest/meta-data/local-ipv4) local pg_port=5432 local api_port=8008 ca...
vosmann/spilo
postgres-appliance/postgres_ha.sh
Shell
apache-2.0
5,572
#!/bin/sh # Setup and run a simulation in Vivado xelab -incr -debug typical ${1} -s top_sim xsim top_sim -gui #-t xsim_run.tcl # Setup and run a simulation in Modelsim #vsim -gui work.axi_gpio_tb
Cognoscan/AxiCores
simulate.sh
Shell
apache-2.0
198
#!/bin/bash # # Copyright 2017 Google Inc. All Rights Reserved. # # 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 appli...
jtk54/spinnaker
dev/build_google_image.sh
Shell
apache-2.0
12,207
#!/bin/bash # Check if homebrew is installed brew --help > /dev/null if [ $? -ne 0 ]; then echo "Homebrew is not installed. Please go to https://docs.brew.sh/Installation to install Homebrew." exit 1 fi echo "Update homebrew..." brew update echo "Checking curl" curl --help > /dev/null if [ $? -ne 0 ]; then ...
frankbu/istio
tests/e2e/local/vagrant/install_prereqs_macos.sh
Shell
apache-2.0
2,520
#!/bin/bash set -o errexit set -o nounset set -o pipefail readonly STI_ROOT=$(dirname "${BASH_SOURCE}")/.. s2i::cleanup() { echo echo "Complete" } readonly img_count="$(docker images | grep -c sti_test/sti-fake || :)" if [ "${img_count}" != "10" ]; then echo "Missing test images, run 'hack/build-test-image...
mdshuai/source-to-image
hack/test-integration.sh
Shell
apache-2.0
543
#!/bin/bash cd {{data_dir}} mkdir -p {{data_dir}}/backups mongodump -d ecodata -u {{ ecodata_username }} -p {{ ecodata_password }} tar zcvf {{data_dir}}/backups/ecodata-$(date +%y%m%d).tgz /data/dump {{data_dir}}/ecodata/models
AtlasOfLivingAustralia/ala-install
ansible/roles/ecodata/templates/backup-ecodata.sh
Shell
apache-2.0
229
#! /bin/sh PID_PATH=/data/es/es.pid usage() { echo "Usage: ${0##*/} {start|stop} " exit 1 } start() { if [ -f "${PID_PATH}" ]; then echo "Application has started!" exit 0 fi bin/elasticsearch -d -p ${PID_PATH} echo "Application start finished!" } stop() { if [ -f "${PID...
dzh/jframe
jframe-demo/demo-plugin/jframe-demo-elasticsearch/src/main/resources/es.sh
Shell
apache-2.0
607
#!/bin/sh OPTIONS="" PATH="$HOME/bin:$PATH" # Configure the default number of log partitions per topic if [ ! -z "$NUM_PARTITIONS" ]; then echo "default number of partition: $NUM_PARTITIONS" OPTIONS="$OPTIONS --override num.partitions=$NUM_PARTITIONS" fi # Set the external host and port echo "advertised host...
aio-libs/aiokafka
docker/scripts/start-kafka.sh
Shell
apache-2.0
3,024
#!/usr/bin/env bash set -euo pipefail image="cockroachdb/builder" # Grab the builder tag from the acceptance tests. We're looking for a # variable named builderTag, splitting the line on double quotes (") # and taking the second component. version=$(awk -F\" '/builderTag *=/ {print $2}' \ "$(dirname "${0...
petermattis/cockroach
build/builder.sh
Shell
apache-2.0
5,610
#!/bin/bash java -jar API/email.jar serve API/email.yml && npm start;
doudidas/Angular-Cloud-App
deploy.sh
Shell
apache-2.0
70
#!/bin/bash # Created by Abel<zxz054321@163.com> on 2016/2/3. echo "Lightning Installer" echo "by Abel <zxz054321@163.com>" sudo chown -R www.www * sudo chmod -R 666 storage if [ ! -f "/usr/local/bin/composer" ]; then echo "Downloading Composer installer..." php -r "readfile('https://getcomposer.org/install...
zxz054321/lightning
install.sh
Shell
apache-2.0
950
#!/bin/bash # # === Authors # Veritas HyperScale CI <DL-VTAS-ENG-SDIO-HyperScale-Opensource@veritas.com> # # === Copyright # Copyright (c) 2017 Veritas Technologies LLC. echo "Started executing script" > /tmp/hs_rabbitmq.log PASS=$1 CMD_RABBITMQA_PLUGIN=/usr/lib/rabbitmq/bin/rabbitmq-plugins CMD_RABBITMQCTL=/usr/sbin...
vtas-hyperscale-ci/puppet-veritas_hyperscale
files/scripts/hs_rabbitmq.sh
Shell
apache-2.0
2,480
#!/bin/sh ## @author: Shivaram.Mysore@gmail.com ## Check if user is root if [ "$EUID" -ne 0 ] then echo "Please run this script $0 as root" exit fi DPDK_DIR=/usr/share/dpdk/tools echo -e "pci\t0000:04:00.0\tvfio-pci\npci\t0000:04:00.1\tuio_pci_generic" >> /etc/dpdk/interfaces echo "vfio-pci" >> /etc/modules ...
shivarammysore/faucetsdn-intel
src/ubuntu/zesty/ovs_270/Step2.sh
Shell
apache-2.0
1,326
#!/usr/bin/env bash # Copyright 2019 Google LLC # # 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 or agr...
googleapis/google-cloud-cpp-common
ci/templates/kokoro/docker-fragments.sh
Shell
apache-2.0
4,885
#!/bin/bash aws ec2 describe-instances | \ jq '.Reservations[].Instances[].PublicDnsName' | \ tr '"' ' ' > instancias sed 's/ //g' instancias > instancias2 rm instancias mv instancias2 instancias parallel --nonall --slf instancias "sudo apt-get install -y parallel" parallel --nonall --basefile installmpi.sh --slf...
csampez/analisis-numerico-computo-cientifico
MNO/proyecto_final/MNO_2017/proyectos/equipos/equipo_10/avance_24_04_2017/Arquitectura_Distribuida_AWS/setup_env.sh
Shell
apache-2.0
570
if [[ -f $HOME/.profile ]]; then . $HOME/.profile fi mkvirtualenv TaarifaAPI if [[ ! -d TaarifaAPI ]]; then git clone https://github.com/taarifa/TaarifaAPI fi (cd TaarifaAPI; python setup.py develop) if [[ ! -d TaarifaWaterpoints ]]; then git clone https://github.com/taarifa/TaarifaWaterpoints fi (cd TaarifaWate...
gwob/Maarifa
twpm/bootstrap.sh
Shell
apache-2.0
395
#!/bin/bash # This is a script to do evaluation for NLP2016. # # ./nlp2016exp.sh <cores> <result_dir> # cores=${1:-3} results_dir=$2 mode=${3-plain} if [ ! -d ${results_dir} ]; then mkdir ${results_dir} fi echo "------------GQ section (evaluation: ${mode})" ./ja/evaluate_jsem_parallel.sh $cores "Generalized Quant...
mynlp/ccg2lambda
ja/emnlp2016exp_set.sh
Shell
apache-2.0
2,191
#!/bin/bash if [ ! $# == 1 ];then echo "Please usage : ./rc_create.sh XXX.cfg" exit 1 fi configfile=$1 echo "Done" echo "${configfile}" so...
linzhaolover/myansible
enterprise/instances/fixip_numrc_create.sh
Shell
apache-2.0
2,614
# ----------------------------------------------------------------------------- # # Package : os-locale # Version : 5.0.0 # Source repo : https://github.com/sindresorhus/os-locale # Tested on : RHEL 8.3 # Script License: Apache License, Version 2 or later # Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com> #...
ppc64le/build-scripts
o/os-locale/os-locale_rhel_8.3.sh
Shell
apache-2.0
3,064