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 sh cp ./dist/hazy /usr/local/bin/hazy
anon-ai/toolbelt
_link.sh
Shell
mit
54
#!/usr/bin/env bash # Requires the printing.sh helper to be sourced. # Requires the platform.sh helper to be sourced. #--------------------------------------------------------------------------------------------------- # API #--------------------------------------------------------------------------------------------...
sir-pinecone/dotfiles
script_helpers/file_ops.sh
Shell
mit
13,216
#!/usr/bin/env bash # set vars SCRIPTPATH=`dirname "${BASH_SOURCE[0]}"`; # import config vars source ${SCRIPTPATH}/../config.sh; # install prerequisites source ${SCRIPTPATH}/homebrew.sh; # install python2 if ! brew ls | grep "^python@2$" > /dev/null 2>&1; then echo "==> Installing Python2"; brew install python@...
audio4ears/osx-setup
apps/python.sh
Shell
mit
572
[ -x /sbin/setcap ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/creox4
panosmdma/SlackOnly-SlackBuilds
audio/creox4/setcap.sh
Shell
mit
80
#!/bin/bash export HUBOT_TWITTER_ACCOUNT_NAME="bii_befool" export twitter_port="7272" function twitter_start { # git pull origin slack process_num=$(ps -ef | grep "bin/hubot -a twitter -n bii_befool" | grep -v "grep" | wc -l) if [ $process_num = "1" ]; then printf "[%-3s] %s\n" "INF" "Bii is a...
chainzhang/biichanBot
bin/twitter.sh
Shell
mit
1,665
#!/bin/bash # create multiresolution windows icon ICON_SRC=../../src/qt/res/icons/androidtoken.png ICON_DST=../../src/qt/res/icons/androidtoken.ico convert ${ICON_SRC} -resize 16x16 androidtoken-16.png convert ${ICON_SRC} -resize 32x32 androidtoken-32.png convert ${ICON_SRC} -resize 48x48 androidtoken-48.png convert an...
frozeman/AndroidToken-reloaded
share/qt/make_windows_icon.sh
Shell
mit
391
#!/usr/bin/env bash function echoOrange { echo "$(tput setaf 214)$1$(tput sgr0)" } function echoVert { echo "$(tput setaf 10)$1$(tput sgr0)" } function echoRouge { echo "$(tput setaf 9)$1$(tput sgr0)" } function echoJaune { echo "$(tput setaf 11)$1$(tput sgr0)" } function checkTor { echoOrange "Verifying...
tibOin/countrify
macos-setup.sh
Shell
mit
1,473
#!/bin/bash ID="8A:04:21:B1:13:E8" echo "Battery level of " `bluetoothctl info ${ID} | grep Name` /opt/Bluetooth_Headset_Battery_Level/bluetooth_battery.py ${ID}
davelip/home
bin/blue_bat_easyacc.sh
Shell
mit
164
#!/bin/bash # Test data # mkdir -p "/home/david/test subtitles" # cd "/home/david/test subtitles" # touch test1.eng.srt test2.eng.srt test3.eng.srt test1.spa.srt test2.spa.srt test3.spa.srt # cd .. SUBS_LANG=en-eng,es-spa IFS="," INPUT_PATH="/home/david/test subtitles" TMPDIR="/tmp/$RANDOM" mkdir -p $TMPDIR for LAN...
dfernandezm/download-utils
app/scripts/test/test-subtitles-2.sh
Shell
mit
908
#!/bin/sh #--------------------------------------------------------------- # Given an xxxhdpi image or an App Icon (launcher), this script # creates different dpis resources # # Place this script, as well as the source image, inside res # folder and execute it passing the image filename as argument # # Example: # ./dra...
pizza/MaterialTabs
sample/res/resize_xxxhdpi_pictures_to_other_dpis.sh
Shell
mit
1,363
#!/bin/sh # Use cygwin. PROXY_PORT=8888 PROXY_HOST=$(hostname) # ? Required on host for VBGuestAdditions download ? export http_proxy="http://$PROXY_HOST:$PROXY_PORT" export https_proxy="$http_proxy" export HTTP_PROXY="$http_proxy" export HTTPS_PROXY="$http_proxy" # Required on guest for yum packages management expo...
arnauldvm/jpt-exercises
vagrant/install.sh
Shell
mit
451
#!/bin/sh # Script.sh # # # Created by Harri Merisaari on 3/10/14. # set +e binaryname="python motioncorrection_2nd.py" binaryname2="python motioncorrection_transformix.py" param_rigid="Par0001translation_mod_ver4.txt" param_BSpline="Par0001bspline08_mod_ver4.txt" no_folders=$(ls -l -d ../PET_MR_dwis/* | grep '^d'...
haanme/DWIProstateMotionCorrection
runall_OS_X_motioncorrection_with_QC.sh
Shell
mit
1,378
#!/bin/bash -ex if [ -e '/Applications/iTerm.app' ]; then echo 'iTerm2 already installed!' else INSTALL_DIR=tmp.iterm2-install-dir if [ -e "$INSTALL_DIR" ]; then rm -rf "$INSTALL_DIR" fi mkdir "$INSTALL_DIR" pushd "$INSTALL_DIR" curl -L https://iterm2.com/downloads/stable/latest ...
morgen-peschke/setup-dev-environment
osx-setup/install-iterm2.bash
Shell
mit
427
dir=`pwd` thisdir=`basename $dir` if [ "$thisdir" != "recordings" ] then echo "Hey, $0 needs to be called from a directory named 'recordings'" exit 1 fi tag=`ls -lt *.rawvideo 2>/dev/null | head -1 | sed -e 's/.* //' -e 's/.rawvideo//'` if [ "$tag" == "" ] then echo "There's no *.rawvideo file!?" exit 1 fi echo "...
nosuchtim/VizBench
bin/mergelatest.sh
Shell
mit
999
#!/bin/sh ./main.js echo $?
foreachsam/book-lang-javascript-gjs
book/example/system/exit/test.sh
Shell
cc0-1.0
28
#!/bin/sh ###################################################################### # # @file netcdf_fortran.sh # # @brief Build information for netcdf_fortran. # # @version $Rev$ $Date$ # # Copyright © 2012-2017, Tech-X Corporation, Boulder, CO. # See LICENSE file (EclipseLicense.txt) for conditions of use. # #...
Tech-XCorp/bilder
packages/netcdf_fortran.sh
Shell
epl-1.0
4,285
#!/bin/bash mkdir -p .aux file_queries=".aux/name_query" cat >$file_queries << END schema schema() total q(crimes) loc1 q(crimes.b('location',dive(p(2,1,2),8))) loc1t format('text');q(crimes.b('location',dive(p(2,1,2),8))) loc1i format('text');q...
laurolins/nanocube
api/run.sh
Shell
epl-1.0
1,581
#!/bin/bash # create folders cd resources/public mkdir static cd static mkdir bootstrap-3.2.0 mkdir bootstrap-material # bootstrap wget https://github.com/twbs/bootstrap/releases/download/v3.2.0/bootstrap-3.2.0-dist.zip -O bootstrap.zip unzip bootstrap.zip -d bootstrap-3.2.0 mv bootstrap-3.2.0/bootstrap-3.2.0-dist/* ...
kordano/lesezeichen
get-statics.sh
Shell
epl-1.0
680
#!/bin/sh set -e DEFCONFIG=leopardboard_dm368_defconfig VERSION=`git describe --dirty` FW_FILENAME=leopardboard_$VERSION.fw echo Config: $DEFCONFIG echo Output: $FW_FILENAME... echo ------------------------------ # Qt things won't compile right if QMAKESPEC is set. unset QMAKESPEC make $DEFCONFIG make HOST_DIR=`p...
virt2real/dm36x-buildroot
board/leopardboard/build.sh
Shell
gpl-2.0
718
#! /bin/sh # Copyright (C) 2011-2018 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 ...
komh/automake-os2
t/parallel-tests-extra-programs.sh
Shell
gpl-2.0
4,375
#!/bin/sh ############################################################################## ## Script : (easyfpm) pre-install.sh ## Author : Erwan SEITE ## Aim : pre-install for package ## Licence : GPL v2 ## Source : https://github.com/wanix/easyfpm.git #############################################################...
wanix/easyfpm
_easyfpm/pre-install.sh
Shell
gpl-2.0
1,131
#!/bin/bash ################################################ # Tool to program a Console - demo on Karo TX48# # Please send feedback to: # # dominik.peuker@glyn.de # # Dominik Peuker December 2014 # # Glyn GmbH & Co. KG # # ...
jitter77/practice
terminal_tx48.sh
Shell
gpl-2.0
8,747
# Install/unInstall package files in LAMMPS # edit 2 Makefile.package files to include/exclude package info if (test $1 = 1) then if (test -e ../Makefile.package) then sed -i -e 's/[^ \t]*colvars[^ \t]* //g' ../Makefile.package sed -i -e 's|^PKG_INC =[ \t]*|&-I..\/..\/lib\/colvars |' ../Makefile.package ...
jcarlson23/lammps
src/USER-COLVARS/Install.sh
Shell
gpl-2.0
1,470
#! /bin/sh . ../../testenv.sh analyze repro.vhdl elab_simulate repro analyze repro2.vhdl elab_simulate repro2 clean GHDL_FLAGS=--work=ieee_proposed analyze x_ieee_proposed/src/std_logic_1164_additions.vhdl analyze x_ieee_proposed/src/standard_additions_c.vhdl analyze x_ieee_proposed/src/standard_textio_additions_c...
peteut/ghdl
testsuite/gna/ticket89/testsuite.sh
Shell
gpl-2.0
798
. ./test-lib.sh remotes_git_svn=remotes/git""-svn git_svn_id=git""-svn-id if test -n "$NO_SVN_TESTS" then skip_all='skipping git svn tests, NO_SVN_TESTS defined' test_done fi if ! test_have_prereq PERL; then skip_all='skipping git svn tests, perl not available' test_done fi GIT_DIR=$PWD/.git GIT_SVN_DIR=$GIT_DIR...
gdb/git
t/lib-git-svn.sh
Shell
gpl-2.0
3,685
# Test the identity matrix cleanup () { rm -rf $TEMPDIR rm -f a.out true } fail () { cleanup exit 1 } pass () { cleanup exit 0 } include_path='-I '`echo $search_path | sed -e 's/:/ -I /g'` if [ $? -ne 0 ] ; then fail ; fi here=`pwd` if [ $? -ne 0 ] ; then fail ; fi TEMPDIR=/tmp/$$ mkd...
chrisoei/Libann
test/00/t0012a.sh
Shell
gpl-2.0
1,161
#!/bin/bash header "System" # testing systems SYSTEM_NAME_ADMIN="admin_system_$PLAIN_RAND" SYSTEM_NAME_ADMIN_2=$SYSTEM_NAME_ADMIN"_2" SYSTEM_NAME_USER="user_system_$RAND" ACTIVATION_KEY_NAME_1="activation_key_1_$RAND" ACTIVATION_KEY_NAME_2="activation_key_2_$RAND" ACTIVATION_KEY_NAME_3="activation_key_3_$RAND" SYS_GR...
iNecas/katello
scripts/system-test/cli_tests/system.sh
Shell
gpl-2.0
5,430
#!/bin/bash ####################################################################################### # FLATWOKEN ICON THEME CONFIGURATION SCRIPT # Copyright: (C) 2014 FlatWoken icons # Author: Alessandro Roncone # email: alecive87@gmail.com # Permission is granted to copy, distribute, and/or modify this program # und...
cognitiveinteraction/sequentialInteraction
app/schoolclassInteraction/scripts/greetings.sh
Shell
gpl-2.0
48,454
#!/bin/bash if [ -z $NP ] ; then NP=2 ; fi # number of processors if [ -z $ext ] ; then ext=pdf ; fi # number of processors thz=1e12 staticpar=(model=Fishnet resolution=2u simtime=150p cellsize=100u cellsizexy=100u slabcdist=0u xholesize=20u) if [ -z "$skipsimulation" ]; then for xhs in...
FilipDominec/python-meep-utils
example_metamaterial_s_parameters/yslit_dscan_x20/batch.sh
Shell
gpl-2.0
2,427
#!/bin/bash # get paths and jvm settings: source ./env.sh # get marlin settings and boot class path: source ./env_marlin.sh # Enable stats STATS=false JAVA_OPTS="-Dsun.java2d.renderer.doStats=$STATS $JAVA_OPTS" #FILTER="-Dfilter.type=BELL -Dfilter.blur=1.0" #MARLIN_G2D="-DMarlinGraphics.blendComposite=true -DMapBen...
bourgesl/mapbench
bin/display_marlin_jam.sh
Shell
gpl-2.0
2,365
#!/bin/bash ## exit if an error occurs or on unset variables set -eu -o pipefail declare -r SDK_MANAGER=${SDK_MANAGER:-"${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager"} declare -r GSED=$(which gsed) declare -r SED=${GSED:-"$(which sed)"} declare -r GREADLINK=$(which greadlink) declare -r READLINK=${GREADLINK:-...
simlar/simlar-android
scripts/update-dockerfile.sh
Shell
gpl-2.0
1,365
#/bin/bash git update-index --refresh git diff-index --quiet HEAD -- if [[ $? -eq 1 ]]; then echo "There are untracked changes... Please commit them before doing a new release." exit 1 fi echo "# Before you deploy, have you:" echo "# 1. Checked that the version number has been bumped, and commited?" echo "# 2....
MDU-PHL/ngmaster
deploy.sh
Shell
gpl-2.0
708
#!/bin/sh if [ "${TESTSRC}" = "" ] then TESTSRC=. fi if [ "${TESTJAVA}" = "" ] then PARENT=`dirname \`which java\`` TESTJAVA=`dirname ${PARENT}` echo "TESTJAVA not set, selecting " ${TESTJAVA} echo "If this is incorrect, try setting the variable manually." fi if [ "${TESTCLASSES}" = "" ] then echo "TESTCLA...
shchiu/openjdk
jdk/test/com/sun/org/apache/xml/internal/ws/server/Test6592792.sh
Shell
gpl-2.0
1,267
#!/bin/sh rm -f main.o symbols.txt build.log *~
jbruchon/vic20_hackaday_retro
clean.sh
Shell
gpl-2.0
48
convert images/OCS-618-A.png -crop 1553x4510+79+331 +repage images/OCS-618-A.png # # #/OCS-618.png convert images/OCS-618-B.png -crop 1561x4518+71+331 +repage images/OCS-618-B.png # # #/OCS-618.png
jonnymwalker/Staroslavjanskij-Slovar
scripts/cropedges.OCS-618.sh
Shell
gpl-2.0
198
#!/bin/bash configfile='/root/.backup_config/backup' configfile_secured='/tmp/backup' if egrep -q -v '^#|^[^ ]*=[^;]*' "$configfile"; then echo "Config file is unclean, cleaning it..." >&2 egrep '^#|^[^ ]*=[^;&]*' "$configfile" > "$configfile_secured" configfile="$configfile_secured" fi source "$configfile" _m...
muhilvannan/linux-backup-scripts
monthly-backup.sh
Shell
gpl-2.0
567
#1/bin/sh mkdir -p mp4 for f in *.aac; do MP4Box -add "$f" "$f.mp4" mv "$f.mp4" mp4 rm "$f" done echo echo " ONLY picard CAN SEPARATE THE WHEAT FROM THE TARE. " echo
deters/scripts
itapema/encapsulate.sh
Shell
gpl-2.0
186
# release.sh # # Takes a tag to release, and syncs it to WordPress.org TAG=$1 PLUGIN="rest-api-oauth2" TMPDIR=/tmp/rest-api-oauth2-release-svn PLUGINDIR="$PWD" PLUGINSVN="https://plugins.svn.wordpress.org/$PLUGIN" # Fail on any error set -e # Is the tag valid? if [ -z "$TAG" ] || ! git rev-parse "$TAG" > /dev/null;...
WP-API/OAuth2
bin/release.sh
Shell
gpl-2.0
1,453
#!/bin/sh # # Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Sof...
karianna/jdk8_tl
jdk/test/java/lang/System/MacJNUEncoding/MacJNUEncoding.sh
Shell
gpl-2.0
2,594
#!/bin/bash set -e usage() { cat << EOU usage: $0 -b balancer_ip -p balancer_port -a action [enable|disable] -B balancer_name -w worker -A DESCRIPTION -b The load balancer ip eg. 10.10.1.1 -p The load balancer port default is 8080 -a The action could be enable or disable -B the balancer name eg. http_m...
spawnazzo/MaintenanceScripts
balancer-script.sh
Shell
gpl-2.0
2,594
#!/bin/sh # name of directory after extracting the archive in working directory PKG_DIR="bftpd" # name of the archive in dl directory PKG_ARCHIVE_FILE="${PKG_DIR}-5.0.tar.gz" # download link for the sources to be stored in dl directory # PKG_DOWNLOAD="https://sourceforge.net/projects/bftpd/files/bftpd/bftpd-5.0/bftp...
insys-icom/M3_Container
oss_packages/scripts/bftpd-5.0.sh
Shell
gpl-2.0
1,589
python demo-capture.py && sed 's/ CALL/ SKIP CALL/' < capture.log >capture.tmp && mv capture.tmp capture.log && python demo-gen.py && python test_ent.py
takdavid/python-unittest-generator
demo-skip.sh
Shell
gpl-2.0
168
#/bin/sh #Name=New SMS qdbus com.nokia.Messaging / com.nokia.MessagingIf.showMessageEditor "" "" "" "" ""
sandst1/mymoveserver
scripts/new-sms.sh
Shell
gpl-3.0
106
#!/bin/sh tar -xf rarosx-6.0.2.tar.gz echo "#!/bin/sh ./rar/rar a r to-compress.rar to-compress/*" > compress-rar chmod +x compress-rar
phoronix-test-suite/phoronix-test-suite
ob-cache/test-profiles/pts/compress-rar-1.2.0/install_macosx.sh
Shell
gpl-3.0
140
#!/bin/bash ./experiment1.sh python LogParser.py ping.log queue.log gnuplot -c plotAll.plt queue1.dat queue2.dat ping.dat experiment1.png mkdir experiment1 mv *.log experiment1/ mv *.dat experiment1/ mv *.png experiment1/ ./experiment2.sh python LogParser.py ping.log queue.log gnuplot -c plotAll.plt queue1.dat queue2....
joerango/single-machine-emulation-mascots-2015
Network Experiments/reproduceResults.sh
Shell
gpl-3.0
1,103
set -x F90=gfortran FFLAGS= cd ./src # # Build grabbufr # $F90 $FFLAGS -O3 -o ../grabbufr grabbufr.f spbufr.f # # Build decoder # $F90 $FFLAGS -O3 -fconvert='big-endian' dec_prepbufr_scale_1hr.f90 -L../bufrlib -lbufr -o ../decoder_scale_1hr $F90 $FFLAGS -O3 -fconvert='big-endian' dec_prepbufr_scale_3hr.f90 -L../bu...
gustfrontar/LETKF_WRF
wrf/obs/prepbufr/decoder/H_make_decoder_scale.sh
Shell
gpl-3.0
473
# 30_save_pam_conf.sh # save a copy of the /etc/pam.conf file (if found) [[ ! -f /etc/pam.conf ]] && return if [[ ! -f "$VAR_DIR/$DS/pam.conf" ]]; then Log "Saving a copy of /etc/pam.conf file" cp /etc/pam.conf "$VAR_DIR/$DS/pam.conf" fi
gdha/upgrade-ux
opt/upgrade-ux/scripts/prep/default/30_save_pam_conf.sh
Shell
gpl-3.0
247
#!/bin/bash function do_strip { tp=$(file -b --mime-type "$1") if [ "$tp" != "application/octet-stream" ]; then return fi name=$(mktemp -t bundle) st=$(stat -f %p "$1") strip -o "$name" -S "$1" mv -f "$name" "$1" chmod "$st" "$1" chmod u+w "$1" } function strip_bina...
mjfrancis/GnoteOSX
osx/makebundle.sh
Shell
gpl-3.0
2,835
#!/bin/bash # ensure we are fully up-to-date before finding files otherwise # we will lose translations for those repos that are linked in (git submodules) git submodule init git submodule update function do_gettext() { xgettext --package-name=budgie-extras --package-version=10.4 $* --default-domain=budgie-extras...
UbuntuBudgie/budgie-extras
updatePot.sh
Shell
gpl-3.0
1,203
#!/usr/bin/env bash # Install command line tools xcode-select --install sleep 1 osascript <<EOD tell application "System Events" tell process "Install Command Line Developer Tools" keystroke return delay 2 click button "Agree" of window "License Agreement" end tell end tell EOD
fantast1k/dotfiles
CLI Install/xcode_command_line_tools.sh
Shell
gpl-3.0
311
#!/bin/bash ##################################################################### ######################### Machine Learning ####################### ##################################################################### # https://www.safaribooksonline.com/library/view/hands-on-machine-learning/9781491962282/preface01.h...
disooqi/code-and-commands-snippets
resources.sh
Shell
gpl-3.0
866
##tubeup --use-download-archive --metadata=collection:speedpaintingvids http://youtube.com/user/alanscampos/videos ## Needs curation before ripping ##tubeup --use-download-archive --metadata=collection:speedpaintingvids http://youtube.com/user/drawingwiffwaffle/videos ## Needs curation before ripping tubeup --use-downl...
vxbinaca/archive-env-NG
targets/speedpainting.sh
Shell
gpl-3.0
16,498
#!/bin/bash GENOME_SIZE=3000000000 #### usage #### usage() { echo Program: "binomTest.sh (perform binomial test)" echo Author: BRIC, University of Copenhagen, Denmark echo Version: 1.0 echo Contact: pundhir@binf.ku.dk echo "Usage: binomTest.sh -i <file> -j <file> -k <string>" echo "Options:" echo " -i <file...
spundhir/findNFR
bin/binomTest.sh
Shell
gpl-3.0
7,660
#!/bin/sh echo "Generating configure files... may take a while." if [ ! -d 'm4' ]; then mkdir m4; fi autoreconf --install --force --make
znxster/peek
autogen.sh
Shell
gpl-3.0
137
#! /bin/sh g++ simplest_ffmpeg_decoder.cpp -g -o simplest_ffmpeg_decoder.exe \ -I /usr/local/include -L /usr/local/lib -lavformat -lavcodec -lavutil -lswscale
YuxuanLing/trunk
trunk/code/study/ffmpeg/simplest_ffmpeg_player/simplest_ffmpeg_decoder/compile_mingw.sh
Shell
gpl-3.0
159
#!/bin/bash cd "$2" get_branches() { git for-each-ref --format='%(refname:short)' } get_current_branch() { git branch | cut -d' ' -f2 } set_current_branch() { git checkout $2 } # this is the part that help me call functions from outside the script $@
baronleonardo/SideGit
scripts/git_branches.sh
Shell
gpl-3.0
268
#!/bin/bash sudo apt-get -qq install libxi-dev libxrandr-dev libxrender1 libopenal-dev libxcursor-dev libxinerama-dev # Install GLFW3 wget https://github.com/glfw/glfw/releases/download/3.1.2/glfw-3.1.2.zip unzip glfw-3.1.2.zip cd glfw-3.1.2 cmake . make sudo make install
ajclarke/neo-fighting-dojo
scripts/travis/install-linux.sh
Shell
gpl-3.0
274
#!/bin/bash printf "RSTL map wordt verwijderd...\n" rm -rf RSTL/ printf "Klaar!\n\n" printf "Clonen van RSTL starten...\n" git clone https://github.com/TimvLijssel/RSTL.git printf "Klaar!\n\n" printf "Maken van RSTL starten...\n" cd RSTL/ make printf "Klaar!\n\n\n" printf "Starten van example.txt in RSTL...\n" cat ex...
TimvLijssel/RSTL
run.sh
Shell
gpl-3.0
380
#!/bin/bash JOBS=$1 echo Using job count [$JOBS] TYPE=$2 echo Using predation type [$TYPE] NOISEMULT=$3 echo Using predation noise multiplier [$NOISEMULT] OTHERTYPE=$4 echo Using others predation type [$OTHERTYPE] OTHERNOISEMULT=$5 echo Using others predation noise multiplier [$OTHERNOISEMULT] OTHERNETDIR=$6 echo Usin...
snucsne/bio-inspired-leadership
scripts/evolve/oscer/oscer-simple-development-with-other.sh
Shell
gpl-3.0
1,594
#!/bin/bash #Copy default config if [ ! -d "./config" ]; then # Control will enter here if $DIRECTORY doesn't exist mkdir ./config cp ./settings.ini ./config/settings.ini fi if [ ! -d "./strings" ]; then # Control will enter here if $DIRECTORY doesn't exist mkdir ./strings cp ./en_GB.lng ./strings/en_GB.lng fi #Set P...
pokeparadox/piratebaby
resources_pandora/PirateBaby.sh
Shell
gpl-3.0
401
#!/bin/bash wwwroot="/home/wwwroot/default" rm -rf $wwwroot/201* rm -rf $wwwroot/page rm -rf $wwwroot/category rm -rf $wwwroot/index.html cp -r $wwwroot/tmphtml/201* $wwwroot/ cp -r $wwwroot/tmphtml/page $wwwroot/ cp -r $wwwroot/tmphtml/category $wwwroot/ cp -r $wwwroot/tmphtml/index.html $wwwroot/ cp -r $wwwroot/in...
yourshell/non-repeat
wp/state/copy.sh
Shell
gpl-3.0
1,561
#!/bin/bash -e # # Quick functionality test for git # . ../test-lib.sh 2>/dev/null || { echo "Must run in script directory!" ; exit 1 ; } dir=$(mktemp -d) echo "Using scratch dir: $dir" trap 'rm -rf "$dir"; cleanup' EXIT cleanup # Bob recipes bob=$dir/bob mkdir -p "$bob/recipes" cp recipe1.yaml "$bob/recipes/t.yaml"...
BobBuildTool/bob
test/git-scm/run.sh
Shell
gpl-3.0
1,411
#!/bin/sh cd /mnt/us/extensions/kindlemenu/bin/html/ echo 'var myJSONObject = {"items": [' > parsed.txt find /mnt/us/extensions/ -maxdepth 2 -name '*.json' -exec sh -c 'cat {} >> parsed.txt; echo -n "," >>parsed.txt; echo $(dirname $(realpath {})) >> path.txt;' \; awk '{printf "var path%d=\"%s\"\n", NR, $0}' path.tx...
AerisDev/KindleMenu
kindlemenu/bin/sh/extensions.sh
Shell
gpl-3.0
820
#!/bin/sh SITE=$1 TYPE=$2 cp -r /opt/glite/yaim/etc/conf/$SITE/$TYPE.tgz /etc/grid-security cd /etc/grid-security/ tar xzf $TYPE.tgz mv $TYPE/* ./ rm -rf $TYPE rm -f $TYPE.tgz
sbadia/gdeploy
conf/simple-ca/copycert.sh
Shell
gpl-3.0
176
#!/bin/bash -e export CLASSPATH=.:mysql-connector-java.jar:pircbot.jar java KattilaBot & echo $! >kattilabot.pid
zouppen/kattilabotti
start.sh
Shell
gpl-3.0
114
#!/bin/bash #----------------MetaCentrum---------------- #PBS -l walltime=1:0:0 #PBS -l select=1:ncpus=1:mem=1gb:scratch_local=1gb #PBS -j oe #PBS -N HybPhyloMaker2a_readmappingParallel #PBS -m abe #-------------------HYDRA------------------- #$ -S /bin/bash #$ -q sThC.q #$ -l mres=1G #$ -cwd #$ -j y #$ -N HybPhyloMak...
tomas-fer/HybPhyloMaker
HybPhyloMaker2a_readmappingParallel.sh
Shell
gpl-3.0
23,152
#!/bin/sh export GR_DONT_LOAD_PREFS=1 export srcdir=/home/katsikas/gnuradio/gnuradio-core/src/python/gnuradio/gr export PATH=/home/katsikas/gnuradio/build/gnuradio-core/src/python/gnuradio/gr:$PATH export LD_LIBRARY_PATH=/home/katsikas/gnuradio/build/volk/lib:/home/katsikas/gnuradio/build/gruel/src/lib:/home/katsikas/g...
katsikas/gnuradio
build/gnuradio-core/src/python/gnuradio/gr/qa_pll_refout_test.sh
Shell
gpl-3.0
613
#!/bin/sh export GR_DONT_LOAD_PREFS=1 export srcdir=/home/aviral/GNU-Niyantran/gr36/gnuradio-core/src/python/gnuradio/gr export PATH=/home/aviral/GNU-Niyantran/build/gr36/gnuradio-core/src/python/gnuradio/gr:$PATH export LD_LIBRARY_PATH=/home/aviral/GNU-Niyantran/build/lib:/home/aviral/GNU-Niyantran/build/PMC/lib:/home...
aviralchandra/Sandhi
build/gr36/gnuradio-core/src/python/gnuradio/gr/qa_noise_test.sh
Shell
gpl-3.0
1,138
#!/usr/bin/env bash pkg=github.com/TF2Stadium/Helen/internal/version git_commit=$(git rev-parse HEAD) git_branch=$(git rev-parse --abbrev-ref HEAD) build_date=$(date) build_hostname=$(hostname) function make_binary { if [ "$1" = "production" ]; then export CGO_ENABLED=0 echo "Creating production build" go bui...
TF2Stadium/Helen
build.bash
Shell
gpl-3.0
933
# vim: ft=sh fileencoding=utf-8 sts=4 sw=4 et: # Copyright 2016 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. # # qutebrowser 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 Fo...
EliteTK/qutebrowser
scripts/dev/ci/travis_install.sh
Shell
gpl-3.0
3,696
#!/bin/bash # Fri May 12 15:03:43 CEST 2017 # spd@daphne.cps.unizar.es # Script to set permissions for a workspace/SpacesStore node # Status: working against alfresco-5.1.e with CSRF protection enabled (default) # Note: By now this script won't duplicate an existing permission, but # also won't replace or delete exi...
ecm4u/alfresco-shell-tools
bin/alfSetPermissions.sh
Shell
gpl-3.0
3,764
echo -e "==== Testing the outputs now" directories=() find ./serial -name "out.log" -printf '%h\n' | sort -u > tmpfile while IFS= read -r -d $'\n'; do directories+=("$REPLY") done < tmpfile rm -rf tmpfile k=1 for i in "${directories[@]}" do openmp="${i/serial/openmp}" gpu="${i/serial/gpu}" diffwithope...
YounesN/TestingSuite
Github/compare.sh
Shell
gpl-3.0
746
#!/bin/bash RUNDIR=$2 SCRATCH=/tmp/$USER cd $SCRATCH cp out* $RUNDIR
goshng/Mauve-Analysis
cac/BatchLinuxMultipleCopies/from_node.sh
Shell
gpl-3.0
71
#!/bin/sh #desc:Delete rule #type:local #package:odauto # Copyright(c) 2015 OpenDomo Services SL. Licensed under GPL v3 or later RULESDIR="/etc/opendomo/rules" if test -z "$1"; then echo "#INFO: No rule specified" exit 1 fi for file in "$@" do if test -f "$RULESDIR/$file.rule"; then if rm -f "$RULESDIR/$file.r...
opalenzuela/opendomo-automation
usr/local/opendomo/services/syscript/delRule.sh
Shell
gpl-3.0
465
#!/bin/bash # Copyright (C) 2012 Me and My Shadow # # This file is part of Me and My Shadow. # # Me and My Shadow 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 your...
acmepjz/meandmyshadow
tools/messages.pot.sh
Shell
gpl-3.0
1,765
#!/bin/bash adb shell "su -c 'ls -la /data/user/0/de.hsrm.derns002.dsmoa.service/files'"
serianon/dsmoa
Scripts/ls_internal_files.sh
Shell
gpl-3.0
88
#!/bin/bash set -euo pipefail IFS=$'\n\t' mkdir -p ~/.local/bin export PATH=$HOME/.local/bin:$PATH curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' stack setup stack install hscolour docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DO...
jpotecki/AmexMobileBackend
before-install.sh
Shell
gpl-3.0
334
#!/bin/bash # This script does the following: # 1. Splits the PDB list file so STAAR can run in parallel # 2. Sets up results directory # Check the command line args if [ $# -ne 5 ] then echo "Usage: runAllPDB.sh jobname storage_space_dir code_dir threshold resolution " exit 3; fi #######################...
daviddjenkins/STAAR
scripts/runAllPDB.d/runAllPDB.sh
Shell
gpl-3.0
3,504
#$1(genome in fa) = ME49.fa #$2(annotation in gff) = TgondiiME49_ToxoDB-7.0.gff # $3(NAME) = me49 # $4(source) = db8.0 # $5(cds keyword) = CDS|exon BASE_DIR=$HOME/Applications/Contrib/rum/index_maker; formatFastaFile.pl < $1 > $3.chr.fa; ln -s $3.chr.fa $3_genome.txt; cat $2 | grep -P "\t$5\t" | gff32bed.pl > $3_$4.txt...
axelb03/CraiG
perl/bin/rum_preprocess.sh
Shell
gpl-3.0
1,801
# #PBS -N Vtune_test #PBS -q default #PBS -l walltime=02:00:00 #PBS -l nodes=1:ppn=24 #PBS -e Vtune_cleaned/reports/report.err #PBS -o Vtune_cleaned/reports/report.out #PBS -m ae # set -x ulimit -s unlimited ml VTune ml HDF5 ORIGDIR=$PBS_O_WORKDIR VSCDIR=$VSC_SCRATCH WORKDIR=$VSC_SCRATCH_NODE/$PBS_JOBID DESTFOLDER=$...
manfredo89/ED2io
scripts/vtune_cluster_test.sh
Shell
gpl-3.0
1,135
# https://github.com/sickill/stderred if [[ -n "${LIBSTDERR}" ]]; then LIBSTDERR_SO="${HOME}/.local/lib/libstderred.so" if [[ -f "${LIBSTDERR_SO}" ]]; then export LD_PRELOAD="${LIBSTDERR_SO}${LD_PRELOAD:+:$LD_PRELOAD}" else error "Cannot find ${LIBSTDERR}" fi fi
libcrack/bashrc.d
40-libstderr.sh
Shell
gpl-3.0
295
#!/bin/bash # ################################################# # Elaborado por: # # Mauro Augusto Soares Rodrigues # # v3.0 # ################################################# # # Script para instalacao do java jre ou jdk # Para executar utilize o seguinte comando: ./install_java.sh num_vresao num_descomp...
mausrdr/install_java
install_java.sh
Shell
gpl-3.0
1,711
#!/bin/bash # For the boulder container, we want to run entrypoint.sh and start.py by # default (when no command is passed on a "docker-compose run" command line). # However, we want the netaccess container to run nothing by default. # Otherwise it would race with boulder container's entrypoint.sh to run # migrations, ...
bmw/boulder
test/entrypoint-netaccess.sh
Shell
mpl-2.0
662
#!/usr/bin/env bash set -eu if [[ $# -lt 1 ]]; then echo "usage: $(basename $0) MOZ-CENTRAL" >&2 exit 1 fi baseDir="$(dirname "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )")" mozCentral="$1" dest="${mozCentral}/browser/extensions/shield-recipe-client" if [[ ! -d "$dest" ]]; then echo "Sync destination ...
Osmose/normandy
recipe-client-addon/bin/update-mozilla-central.sh
Shell
mpl-2.0
930
#!/bin/sh cd "`dirname $0`" prefix=${1:-/usr/local} set -ex rm -rf "$prefix/lib/rootbox/cmdarg" ln -sf "$PWD/bin/rootbox" "$prefix/bin/rootbox" ln -sf "$PWD/lib/rootbox" "$prefix/lib/rootbox"
project-rootbox/rootbox
link.sh
Shell
mpl-2.0
196
# configures zookeeper echo "configuring zookeeper..." mkdir -p $ZOOKEEPER_DATA_DIR mkdir -p $ZOOKEEPER_LOG_DIR echo "tickTime=2000" >> $ZOOKEEPER_DIR/conf/zoo.cfg echo "dataDir=$ZOOKEEPER_DATA_DIR" >> $ZOOKEEPER_DIR/conf/zoo.cfg echo "clientPort=2181" >> $ZOOKEEPER_DIR/conf/zoo.cfg echo "initLimit=5" >> $ZOOKEEPER_...
heartysoft/cassy-up
apache-zookeeper/zookeeper-configure.sh
Shell
mpl-2.0
714
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # Copyright 2008-2015 MonetDB B.V. sed '/^$/q' $0 # copy copyright from this file cat <<EOF # This file was genera...
zyzyis/monetdb
monetdb5/modules/mal/batmtime.mal.sh
Shell
mpl-2.0
1,470
#!/bin/sh # Generate jsduck documentation # See [https://github.com/senchalabs/jsduck] jsduck lib \ --output="doc" \ --title="Authorify Websocket documentation" \ --footer="Copyright (c) 2012-2014 Yoovant by Marcello Gesmundo" \ --warnings=-link,-dup_member,-no_doc
mgesmundo/authorify-websocket
gen_doc.sh
Shell
agpl-3.0
294
#!/bin/bash # # packager.sh Copyright (c) 2014, GEM Foundation. # # OpenQuake is free software: you can redistribute it and/or modify it # under the terms of the GNU Affero General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. #...
vup1120/oq-risklib
packager.sh
Shell
agpl-3.0
35,126
#!/bin/bash FILE= if [ "$1" = "" ]; then FILE="hello" else FILE=$1 fi nasm -gdwarf -f macho64 -o $FILE.o $FILE && ld -o $FILE.elf -e _main $FILE.o -lc -lSystem -macosx_version_min 10.14 && ./$FILE.elf
cxsjabc/basic
asm/mac/r.sh
Shell
agpl-3.0
205
#!/bin/bash set -e sed -i 's/ _esc_html(/ echo esc_html(/g' $@ sed -i 's/ _esc_attr(/ echo esc_attr(/g' $@ sed -i 's/ _value(/ echo value(/g' $@ sed -i 's/ _selected(/ echo selected(/g' $@ sed -i 's/ _checked(/ echo checked(/g' $@ sed -i 's/ _e(/ echo __(/g' $@ sed -i 's/ and echo/ and print/...
valerio-bozzolan/boz-php-another-php-framework
examples/extras/undeprecate.sh
Shell
agpl-3.0
694
#!/usr/bin/env bash ssh-keygen -t rsa -b 4096 -f jwtRS256.key # Don't add passphrase openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub cat jwtRS256.key cat jwtRS256.key.pub
vistadataproject/nodeVISTA
clinicalService/config/jwtRS256.sh
Shell
agpl-3.0
196
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="python-mate" (test -f $srcdir/configure.ac) || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" echo " top-level $PKG_NAME directory" exit 1 } which mate-auto...
mate-desktop/python-mate
autogen.sh
Shell
lgpl-2.1
495
#!/bin/bash # Tests dynamic sentence-level filtering. set -u cat input.bn | $JOSHUA/bin/joshua-decoder -m 1g -threads 2 -c joshua.config -filter-grammar > output.filter 2> log.filter # Extract the translations and model scores cat output.filter | awk -F\| '{print $4 " ||| " $10}' > output.scores # Compare diff -u ...
lukeorland/joshua
test/bn-en/hiero/test-filter.sh
Shell
lgpl-2.1
462
#!/bin/bash set -e HERE=$(dirname $0) rm -f OUT $HERE/fanotify-test -a -m $* $HERE > $HERE/fanotify.out 2>&1
armadito/armadito-av
libcore/arch/linux/builtin-modules/on-access/tests/2/run.sh
Shell
lgpl-3.0
112
#!/bin/bash files=( "AnalogOutIn.py" "AnalogOut_Sine.py" "AnalogOut_Sweep.py" "AnalogOut_Sync.py" "Device_Enumeration.py" "DigitalIn_Acquisition.py" "DigitalIO.py" "DigitalOut_BinrayCounter.py" ) srcFolder='/usr/local/share/digilent/waveforms/samples/py/' for f in ${files[*]} do echo "def ${f%.py}():" > $f ./t...
tobbad/pydwf
tools/translate.sh
Shell
lgpl-3.0
435
#! /bin/sh # # Copyright (c) 1999, 2006 Tanuki Software Inc. # # Java Service Wrapper sh script. Suitable for starting and stopping # wrapped Java applications on UNIX platforms. # #----------------------------------------------------------------------------- # These settings can be modified to fit the needs of you...
mnadeem/application-launcher
bin/solaris-x86-32/launch.sh
Shell
lgpl-3.0
16,164
#!/bin/sh echo "*** Waypoint path: ***" ./main echo echo "*** Detailed path: ***" ./main 1 echo echo "*** Every-2nd-step path: ***" ./main 2
fgenesis/jps
test/test.sh
Shell
unlicense
141
# Copyright 2015 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 applicable law or a...
googlearchive/graphd
test/unit/count2.sh
Shell
apache-2.0
1,076
#!/usr/bin/env bash # This file is part of SableCC (http://sablecc.org/). # # See the NOTICE file distributed with this work for copyright information. # # 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 L...
SableCC/sablecc
utils/run-cycle-tests.sh
Shell
apache-2.0
2,552