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 #Check that the upload has moved all of the files it set out to. log="$1" errlog="$2" if [[ "$log" == "" ]]; then echo "No log file given"; exit 1; fi if [[ "$errlog" == "" ]]; then echo "No errlog file given"; exit 1; fi #Tell the user how many files were indexed and how many were uploaded. added=`grep ...
scsd/Drive-Upload
t/check.sh
Shell
mit
1,856
#!/bin/bash -l set -eu # TEST CORI SH # Simple Swift/T+Python+Horovod tests on Cori # Use this with Swift scripts in sanity/ if (( ${#} != 1 )) then echo "Provide a Swift script!" exit 1 fi SWIFT_SCRIPT=$1 module load java gcc # module load tensorflow/intel-head module load python/2.7-anaconda-4.4 PATH=$HOME/Pu...
ECP-CANDLE/Supervisor
workflows/test-horovod/test-cori.sh
Shell
mit
602
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2013:1319 # # Security announcement date: 2013-09-30 23:37:23 UTC # Script generation date: 2017-01-01 21:14:52 UTC # # Operating System: Red Hat 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - libipa_hbac.i386:1.5.1-70.el5 # - lib...
Cyberwatch/cbw-security-fixes
Red_Hat_5/x86_64/2013/RHSA-2013:1319.sh
Shell
mit
1,859
#!/bin/bash Install_Nginx_Openssl() { if [ "${Enable_Nginx_Openssl}" = 'y' ]; then Download_Files ${Download_Mirror}/lib/openssl/${Openssl_Ver}.tar.gz ${Openssl_Ver}.tar.gz [[ -d "${Openssl_Ver}" ]] && rm -rf ${Openssl_Ver} tar zxf ${Openssl_Ver}.tar.gz Nginx_With_Openssl="--with-op...
boxcore/shell
install-3rd/lnmp1.4/include/nginx.sh
Shell
mit
4,268
#!/bin/bash source /unit_tests/test-utils.sh # # Exit status is 0 for PASS, nonzero for FAIL # STATUS=0 # devnode test check_devnode "/dev/input/event0" print_status exit $STATUS
DYNA-instruments-open-source/eco-g45-linux-bsp
BSP-3.14/local_src/common/imx-test-11.09.01/test/mxc_keyb_test/autorun-keypad.sh
Shell
mit
183
#!/usr/bin/env sh ProjectDir="../../../../../" cd $ProjectDir caffe_dire="caffe/" # build/tools_dire/ tools_dire="build/tools/" tools_dire=$caffe_dire$tools_dire # models/Pose2/flic/d302/tmask_2b/ pt_dire="models/Pose2/" sub_pt_dire="flic/d302/" exper_name="tmask_2b/" exper_path=$pt_dire$sub_pt_dire$exper_name mkdir...
zimenglan-sysu-512/pose_action_caffe
models/Pose2/flic/d302/tmask_2b/run.sh
Shell
mit
1,709
[[ $c = [[:alpha:].~-] ]]
grncdr/js-shell-parse
tests/fixtures/shellcheck-tests/condition3/source.sh
Shell
mit
25
#!/usr/bin/env bash PATH=$PATH:./node_modules/.bin BROWSERIFY=watchify [ ! -d www/lib ] && mkdir www/lib $BROWSERIFY www/src/index.js --debug \ --transform [ babelify --presets [ react ] ] \ --outfile www/lib/index-bundle.js -v
pvdheijden/tiles-demo
scripts/watch-app.sh
Shell
mit
241
#!/bin/sh rsync -avrc /vagrant/module/ /mnt/storage/rsss/33.33.33.9/module/ rsync -avrc /vagrant/public/ /mnt/storage/rsss/33.33.33.9/public/ chown apache:apache -R /mnt/storage/rsss
rgeyer/rs_selfservice
sync.sh
Shell
mit
184
#!/bin/bash function usage() { echo "$0 name Updates a pathogen bundle using git subtree name : name of the plugin" } test -z "$1" && usage && exit 1 plugin="$1" remotes_file=remotes if [ ! -f "$remotes_file" ]; then echo "Cannot find $remotes_file; cannot update bundle." exit 1 fi repo_location=$(aw...
ibizaman/conffiles
update_bundle.sh
Shell
mit
834
#!/bin/bash set -ex BASE_DIR=$(cd $(dirname $0); pwd) ${BASE_DIR}/clean-containers.sh ${BASE_DIR}/smoke-test.sh ${BASE_DIR}/../.git 1 ${BASE_DIR}/clean-containers.sh ${BASE_DIR}/smoke-test.sh ${BASE_DIR}/../.git 2
ototadana/pocci
test/test-private.sh
Shell
mit
217
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-2823-1 # # Security announcement date: 2013-12-18 00:00:00 UTC # Script generation date: 2017-01-01 21:06:47 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: i386 # # Vulnerable packages fix on version: # - pixman:0.16.4-1+deb6u1 # # Last vers...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/i386/2013/DSA-2823-1.sh
Shell
mit
613
#!/bin/bash # open psql session to production db source bin/env.sh dcprod -f docker-compose.db.yml run --rm dbclient bash -c 'psql -h db -U $POSTGRES_USER $POSTGRES_DB'
Producters/docker-node-react-starter
bin/psql.sh
Shell
mit
171
#!/bin/sh set +h # disable hashall shopt -s -o pipefail PKG_NAME="groff" PKG_VERSION="1.22.3" TARBALL="${PKG_NAME}-${PKG_VERSION}.tar.gz" SRC_DIR="${PKG_NAME}-${PKG_VERSION}" function prepare() { ln -sv "/source/$TARBALL" "$TARBALL" } function unpack() { tar xf ${TARBALL} } function build() { PAG...
PandaLinux/pandaOS
phase2/groff/build.sh
Shell
mit
599
#!/usr/bin/env bash # # Convenience script to enable debug mode, disable caching, and # enablenginx/gunicorn. The MTURK debug status is not changed. # # If you edit this script, also edit enable_production.sh # DIR="$( builtin cd "$( dirname "$( readlink -f "${BASH_SOURCE[0]}" )" )" && pwd )" source "$DIR/load_config...
seanbell/django-scripts
enable_debug.sh
Shell
mit
615
export EDITOR='vim' export TERM="xterm-256color" export LANG="sv_SE.UTF-8" export LC_CTYPE="sv_SE.UTF-8" export LC_NUMERIC="en_US.UTF-8" export LC_TIME="sv_SE.UTF-8" export LC_COLLATE="sv_SE.UTF-8" export LC_MONETARY="sv_SE.UTF-8" export LC_MESSAGES="en_US.UTF-8" export LC_PAPER="sv_SE.UTF-8" export LC_NAME="sv_SE.UTF...
mhelmer/dotfiles
system/env.zsh
Shell
mit
465
#! ./testshell echo "This script should be breakable by SIGINT if you run a shell with" echo "asynchrnous traps enabled. Examples: FreeBSD's sh with switch -T" echo "from April, 1999 or FreeBSD's sh between September 1998 and March" echo "1999. SIGQUIT should do nothing" trap : 3 trap 'echo SIGINT ; exit 1' 2 ./hardgu...
redox-os/ion
sh-interrupt/test28.sh
Shell
mit
322
#!/bin/bash -eu _pwd=`pwd` _root=$(cd $(dirname $0)/.. && pwd) _path=${PATH} # Generate constants by json. python ${_root}/script/gen_constant.py --java-dst \ ${_root}/src/android/app/src/main/java/org/processwarp/android/constant/Module.java \ ${_root}/src/const/module.json python ${_root}/script/gen_c...
processwarp/processwarp
script/build_android_part.sh
Shell
mit
1,027
#!/bin/bash sudo apt-get -y remove nginx sudo apt-get -y install nginx-extras realpath sudo nginx || true
cdpoffline/http-server
bin/install.sh
Shell
mit
109
#!/bin/bash # The MIT License (MIT) # Copyright (c) 2015 de-wiring.net # # EXAMPLE script, NOT READY FOR PRODUCTION USE # # -- # given a ca, create key and cert as intermediate source '00_functions.sh' if [[ ! -d $CA_PATH ]]; then echo ERROR did not find ca path exit 2 fi create_key_req_cert wallet...
de-wiring/containerwallet
tls/02_create_server_keycert.sh
Shell
mit
473
#!/bin/bash alias docker-clear='docker rm -f `docker ps -aq`' alias docker-clear-images='docker rmi $(docker images -f "dangling=true" -q)' # alias docker-cache='docker-compose -f $HOME/workspace/docker/stacks/cache/docker-compose.yml -p common up -d memcached_app memcached_session' # alias docker-gmus='docker-compose...
jacksonveroneze/docker
bashrc.sh
Shell
mit
646
CQChartsTest -tcl -exec pareto.tcl #CQChartsTest -ceil -exec pareto.cl
colinw7/CQCharts
data/ceil/pareto.sh
Shell
mit
72
#!/bin/bash # this function is the wrapper to run the `CBIG_pMFM_test_high_resolution.py` # Written by Kong Xiaolu and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md cd ../../../../part2_pMFM_control_analysis/High_resolution/scripts source activate pMFM python CBIG_pMFM_test_high_r...
ThomasYeoLab/CBIG
stable_projects/fMRI_dynamics/Kong2021_pMFM/replication/part2_pMFM_control_analysis/High_resolution/scripts/CBIG_pMFM_test_high_resolution_wrapper.sh
Shell
mit
421
#!/bin/bash for file in *.rs; do rustc --edition=2018 "$file" done
esjeon/graveyard
rust/compile.sh
Shell
mit
70
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2013:0128 # # Security announcement date: 2013-01-08 06:52:00 UTC # Script generation date: 2017-01-01 21:14:21 UTC # # Operating System: Red Hat 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - conga-debuginfo.x86_64:0.12.2-64.el5 # ...
Cyberwatch/cbw-security-fixes
Red_Hat_5/x86_64/2013/RHSA-2013:0128.sh
Shell
mit
838
# Replace this script to your update configuration. # # In this case the system will update repositories, upgrades packages, # and remove unused packages. sudo apt-get update && \ sudo apt-get upgrade -y && \ sudo apt-get dist-upgrade -y && \ sudo apt-get autoremove -y
gusknul/dotfiles
system/update.sh
Shell
mit
271
#!/bin/bash docker build --tag vapor-oauth . docker run --rm vapor-oauth
brokenhandsio/vapor-oauth
docker-test.sh
Shell
mit
73
#!/bin/bash currentDir=$( pwd ) websiteUrl='http://getbootstrap.com' galen test homePage.test -DwebsiteUrl=${websiteUrl} --htmlreport ../../reports/bootstrap/home galen test cssPage.test -DwebsiteUrl=${websiteUrl}'/css' --htmlreport ../../reports/bootstrap/css galen test jsPage.test -DwebsiteUrl=${websiteUrl}'/javasc...
holisticon/holisticon.github.io
presentations/jsunconf_galen/tests/bootstrap/runGalenTests.sh
Shell
mit
373
#!/bin/bash #bdereims@vmware.com # $1 : cPod Name # $2 : PortGroup Name # $3 : @IP # $4 : # of ESX # $5 : Root Domain . ./env [ "$1" == "" -o "$2" == "" -o "$3" == "" ] && echo "usage: $0 <name_of_vapp> <name_of_port_group> <ip_on_transit> <num_esx>" && exit 1 PS_SCRIPT=create_vapp.ps1 SCRIPT_DIR=/tmp/scripts SCR...
bdereims/cPod
shwrfr/compute/create_vapp.sh
Shell
mit
1,456
#!/bin/bash # install newer openssl version for protect 0day bug # @link: http://www.cnblogs.com/nayu/p/5521486.html cd ~ # mv /usr/local/bin/openssl /usr/local/bin/openssl.bak # mv /usr/bin/openssl /usr/bin/openssl.bak wget https://www.openssl.org/source/openssl-1.1.0e.tar.gz tar zxf openssl-1.1.0e.tar.gz cd openssl-...
boxcore/shell
tools/openssl.sh
Shell
mit
674
#!/bin/bash # # requires the following variables: # $CALGRAPH # $TEST_DATA_PATH # $TEST_OUTPUT_PATH fails=0 total=0 testcases=( "Basic Test" "diff \ <(TARGET_PATH=$TEST_DATA_PATH/general $CALGRAPH) \ $TEST_OUTPUT_PATH/general" ) echo "Running tests . . ." for ((i = 0; i < ${#testcases[@]}; i+=2)) do bash -c "...
alex-hutton/calgraph
run_tests.sh
Shell
mit
553
# installs build tools # gets ffmepg version and builds it apt-get install build-essential git-core checkinstall yasm texi2html libvorbis-dev libx11-dev libxfixes-dev zlib1g-dev pkg-config LIBVPX_VERSION=1.2.0 FFMPEG_VERSION=2.0.1 if [ ! -d "/usr/local/src/libvpx-${LIBVPX_VERSION}" ]; then cd /usr/local/src git ...
NeovaHealth/bigbluebutton
puppet/files/build-ffmpeg.sh
Shell
mit
1,010
#!/bin/bash # icons at https://www.dropbox.com/s/9iysh2i0gadi4ic/icons.pdf base03="#002b36" base02="#073642" base01="#586e75" base00="#657b83" base0="#839496" base1="#93a1a1" base2="#eee8d5" base3="#fdf6e3" yellow="#b58900" orange="#cb4b16" red="#dc322f" magenta="#d33682" violet="#6c71c4" blue="#268bd2" cyan="#2aa1...
tiberiuc/dot-files
scripts/set-dwm-status.sh
Shell
mit
1,916
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DLA-263-1 # # Security announcement date: 2015-06-30 00:00:00 UTC # Script generation date: 2017-01-01 21:08:58 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: i386 # # Vulnerable packages fix on version: # - ruby1.9.1:1.9.2.0-2+deb6u5 # # Last v...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/i386/2015/DLA-263-1.sh
Shell
mit
644
#!/bin/bash curl -o /usr/local/bin/docker-compose -L "https://github.com/docker/compose/releases/download/1.9.0/docker-compose-$(uname -s)-$(uname -m)" chmod +x /usr/local/bin/docker-compose docker-compose -v
Praisebetoscience/Ubuntu_init_tools
install_docker_compose.sh
Shell
mit
211
#!/bin/bash # This script should be run after installing the libaio RPM or libraries # A valid large file should be passed to the test. # These tests will only run correctly if the kernel and libaio has been compiled # with at least a 3.3.X GCC. Older versions of the compiler will seg fault. # # 02/08/04 mridge@us.ibm....
qilongyun/ltp
testscripts/ltp-aiodio.sh
Shell
gpl-2.0
10,287
#!/sbin/sh # _ _ _ _ __ _ # / \ _ __ ___| |__ (_) |/ /___ _ __ _ __ ___| | # / _ \ | '__/ __| '_ \| | ' // _ \ '__| '_ \ / _ \ | # / ___ \| | | (__| | | | | . \ __/ | | | | | __/ | # /_/ \_\_| \___|_| |_|_|_|\_\___|_| |_| |_|\___|_| # # Copyright 2014-2015 Łukas...
ea4862/ArchiKernel_cm12.1
archikernel/flasher/core/init.sh
Shell
gpl-2.0
6,823
#!/bin/sh -l cd tests php writing.php php reading.php
maplechori/php_stata
entrypoint.sh
Shell
gpl-2.0
55
#!/bin/bash . /usr/local/etc/firewall/configurations.txt . /usr/local/etc/firewall/firewall.conf add_poor_ip(){ cmd=`$IPSET -t --list $POOR_IP_SET &> /dev/null` cmd_ret=`echo $?` if [ $cmd_ret -eq 1 ] && [ ! -e $POOR_REMOVED ] || [ ! -e $POOR_ADDED ] then #$IPSET create $POOR_IP_SET hash:net while read line d...
lradaelli85/iptables-firewall
add_ipset.sh
Shell
gpl-2.0
1,387
#!/bin/bash # -*- mode: Bash; tab-width: 4; indent-tabs-mode: t; -*- # vim:shiftwidth=4:softtabstop=4:tabstop=4: # # Tests for multiple mount protection (MMP) feature. # # Run select tests by setting ONLY, or as arguments to the script. # Skip specific tests by setting EXCEPT. # # e.g. ONLY="5 6" or ONLY="`seq 8 11`" o...
HPCStack/lustre-release
lustre/tests/mmp.sh
Shell
gpl-2.0
18,809
#!/usr/bin/env bash cd "$(dirname "${BASH_SOURCE}")" git pull origin master function doIt() { rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" \ --exclude "README.md" --exclude "LICENSE" \ -av --no-perms . ~ source ~/.profile } if [ "$1" == "--force" -o "$1" == "-f" ]; then...
sergiogoro/dotFiles
bootstrap.sh
Shell
gpl-2.0
534
#/bin/bash # install nfs tool sudo apt-get install nfs-kernel-server uml-utilities bridge-utils # sudo echo "/srv/nfsroot/ *(rw,sync,no_root_squash,no_subtree_check)" >> /etc/exports sudo exportfs -r sudo /etc/init.d/nfs-kernel-server restart # set tap0 sudo tunctl -u $USER -t tap0 sudo ifconfig tap0 192.168.123.1...
cailiwei/buildroot
images/mini2440/nfs_ready.sh
Shell
gpl-2.0
321
#! /bin/sh # Copyright (C) 2011-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 ...
Starlink/automake
t/py-compile-basic.sh
Shell
gpl-2.0
1,900
# 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 DISALLOW action and export the IDs to a text file sudo aws ec2 describe-security-groups --filters Name=tag:close-http-time,Values=19-00 ...
STARTSPACE/aws-access-to-ec2-by-timetable
http-80/disallow-ad/http-disallow-ad-19.sh
Shell
gpl-2.0
813
#!/bin/sh function progress { echo $* $* } progress o2-cnf.sh progress o2-lst.sh progress o2-cat.sh if [ -r 00etc/linkbase.xml ]; then cp -a 00etc/linkbase.xml 01bld fi if [ -r 01bld/linkbase.xml ]; then scoregen.plx -link fi progress o2-xml.sh progress o2-web.sh progress o2-prm.sh progress o2-finish.s...
oracc/oracc
misc/o2/o2-catalog.sh
Shell
gpl-2.0
322
#!/bin/bash # # ## ## ###Iptable ### ## ## # # #On supprime les règles existantes iptables -t filter -F iptables -t filter -X #On bloque tout le traffic iptables -t filter -P INPUT DROP iptables -t filter -P FORWARD DROP iptables -t filter -P OUTPUT DROP #On garde les connexions déjà ouvert...
athena-project/Install
prod/firewall-mysql.sh
Shell
gpl-2.0
2,230
convert images/OCS-421.png -crop 1645x4942+0+0 +repage images/OCS-421-A.png convert images/OCS-421.png -crop 1661x4942+1645+0 +repage images/OCS-421-B.png #/OCS-421.png # # #
jonnymwalker/Staroslavjanskij-Slovar
scripts/middlesplit.OCS-421.sh
Shell
gpl-2.0
175
#### #### file: #filename#.zsh #### description: #pluginname# plugin script #### portutils - one-word commands for various macports operations: #### port-udpate, port-upgrade, port-outdated, port-trim #### references: #### #### author: Michael Stilson <m...
sunoterra/cliniceness
src/portutils.zsh
Shell
gpl-2.0
7,109
#!/bin/bash # # cd to build.sh dir cd $(dirname $0) # # no limit level no_limit_levels () { local name="$1" ; shift local levels_file="$1" ; shift local buyin_min=$1 ; shift local buyin_max=$(((buyin_min*2)-1)); local blind_frequency=$1 ; shift local blind_frequency_unit="$1" ; shift local...
pokermania/pokerengine
conf/build.sh
Shell
gpl-3.0
9,535
#!/bin/csh # This file is part of BOINC. # http://boinc.berkeley.edu # Copyright (C) 2008 University of California # # BOINC is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License # as published by the Free Software Foundation, # either version 3 of the Li...
freehal/boinc-freehal
mac_installer/make_GridRepublic.sh
Shell
gpl-3.0
21,459
#!/bin/bash create() { #users and groups psql -U $dbuser -d $dbname -f ./sql/create/groups_users.sql # app configuration psql -U $dbuser -d $dbname -f ./sql/create/configurations.sql # formats for responses psql -U $dbuser -d $dbname -f ./sql/create/formats.sql psql -U $dbuser -d $dbname -f ./sql/insert/formats.sql...
WildTurtles/illumination
scripts/sql/db.sh
Shell
gpl-3.0
2,167
# # https://github.com/munishgaurav5/ks/raw/master/U/kick_install.sh #cd /tmp && wget https://github.com/munishgaurav5/ks/raw/master/U/kick_install.sh && chmod 777 kick_install.sh && ./kick_install.sh # Update apt-get update -y apt-get upgrade -y # install apps apt-get install -y nano wget curl net-tools lsof bzip2...
munishgaurav5/ks
U/kick_install.sh
Shell
gpl-3.0
2,891
#!/bin/bash #$ -N Latvia #$ -cwd -V #$ -M lsh1604217@student.lshtm.ac.uk #$ -m e #$ -l mem_free=2G,h_vmem=2G #$ -q parallel.q #$ -pe openmpi 128 #$ -R y # mpirun -np 128 R CMD BATCH latvia.R # mpirun -np 128 R CMD BATCH latviapt1.R mpirun -np 128 R CMD BATCH latvia_wc.R mpirun -np 128 R CMD BATCH latviapt1_wc.R
beansrowning/Modelling
Current/Cluster/latvia.sh
Shell
gpl-3.0
313
for i in $(awk -F: '{print $2}' /etc/trueuserdomains); do top -bn 1 -u "$i"|awk '/^[0-9]/ {sumCpu +=$9; sumRam += $10;} END {if ((sumCpu > 0) || (sumRam > 0)) print "User '$i':\t\tTotal %RAM: ", sumRam, "\t\tTotal %CPU: ", sumCpu; else print "User '$i' is not showing resource usage";}'; done |sort -nk 5
patbeagan1/Scripts
v2/newscripts/awk_resource_script.sh
Shell
gpl-3.0
304
#!/bin/bash # SSAFEM verification test I regression test PISM_PATH=$1 MPIEXEC=$2 MPIEXEC_COMMAND="$MPIEXEC -n 2" PISM_SOURCE_DIR=$3 EXT="" if [ $# -ge 4 ] && [ "$4" == "-python" ] then PYTHONEXEC=$5 MPIEXEC_COMMAND="$MPIEXEC_COMMAND $PYTHONEXEC" PYTHONPATH=${PISM_PATH}/site-packages:${PYTHONPATH} PISM_PATH=${...
pism/pism
test/regression/ssa/ssa_testi_fem.sh
Shell
gpl-3.0
1,235
#!/bin/bash function blueEcho() { echo -ne '\e[0;34m' echo $1 echo -ne '\e[0m' } function findCanonicalBranch() { dir=$1 rosinstalldir=$2 if [ -e "$rosinstalldir/.rosinstall" ] then name=$(basename $dir) desiredBranch=$(perl -0 -ne 'print qq($1\n) if /\b'$name'\b.*\n.*version: ([^}]+)/mg' ${WOR...
team-vigir/vigir_scripts
scripts/status.sh
Shell
gpl-3.0
2,256
#!/bin/bash exec /usr/sbin/init
StephanX/centos-ssh-testbed
centos-systemd-docker/entrypoint.sh
Shell
gpl-3.0
32
#!/bin/bash if [ ! -d ~/trash ]; then mkdir -p ~/trash fi id=`date +%Y%m%d%H%M%S` argc=$# for ((i=1; i<=${argc}; ++i)) do filename=`echo "$1" | awk -F "/" '{if($NF=="")print $(NF-1); else print $NF;}'` mv $1 ~/trash/${filename}.${id} shift done
honglianglv/lib
shell/rmaliasmv.sh
Shell
gpl-3.0
296
#!/bin/sh #Script que gestiona la contrasenya de l'usuari local "ShiroKabuto". #Pre-requisits: # 1. L'usuari local ShiroKabuto _ja ha d'estar creat_ (ho fa linuxcaib.deb). # 2. L'usuari que executa l'script ha de tenir permissos de root (uid=0) o sudo. # 3. Cal tenir instal·lat el paquet "whois" qu...
annonygmouse/linuxcaib
linuxcaib.deb/linuxcaib/opt/caib/linuxcaib/caib-conf-shirokabuto.sh
Shell
gpl-3.0
9,434
#!/usr/bin/env bash set -eou pipefail set -x TMPDIR=$PWD/ TMP=$(mktemp -d ${TMPDIR:-/tmp/}$(basename -- "$0").XXXXXXXXXX) ARCH="x86_64" PLATFORM="ubuntu14" RENCI_RELEASE_URL="ftp://ftp.renci.org" IRODS_VERSION="4.1.10" IRODS_DEV=irods-dev-${IRODS_VERSION}-${PLATFORM}-${ARCH}.deb IRODS_DEV_SHA256="62980d2bb222f314...
keithj/npg_irods
scripts/minion/install_irods.sh
Shell
gpl-3.0
1,114
#!/bin/bash #1i . /opt/ownsec/ITSEC-Install-Scripts-ORIG/001.functions/all-scripts.sh GITREPO=https://github.com/HiroshiManRise/anonym8 BRANCH=master GITREPOROOT=/opt/ITSEC/8.Tunnel/anonym8/HiroshiManRise/anonym8 GITCONFDIR=/opt/ITSEC/8.Tunnel/anonym8/HiroshiManRise/anonym8/.git GITCLONEDIR=/opt/ITSEC/8.Tunnel/anonym...
alphaaurigae/ITSEC-Install-Scripts
ITSEC-Install-Scripts-ORIG/8.Tunnel/anonym8/#anonym8-update.sh
Shell
gpl-3.0
1,117
#!/bin/sh # # Copyright (C) 2003-2021 Sébastien Helleu <flashcode@flashtux.org> # # This file is part of WeeChat, the extensible chat client. # # WeeChat 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 ...
talisein/weechat-1
tools/git-version.sh
Shell
gpl-3.0
2,545
#!/bin/sh # visual path VPATH="~/.zekyll/zekyll" # pre path PPATH="$HOME/.zekyll" # actual name ANAME="zekyll" # actual path APATH="$PPATH/$ANAME" if ! type git 2>/dev/null 1>&2; then echo "Please install GIT first" echo "Exiting" exit 1 fi if ! test -d "$PPATH"; then mkdir "$PPATH" fi if test -d "$...
psprint/zekyll
install.sh
Shell
gpl-3.0
787
#!/bin/bash # Instalación de los paquetes necesarios sudo apt-get install -y python-virtualenv sudo apt-get install -y git sudo apt-get install -y python-dev sudo apt-get install -y libxml2-dev libxslt-dev # Variable de entorno necesaria para twitter export LC_ALL=C # Creación del entorno virtual Python cd ~ mkdir e...
fllodrab/Practica3
script/configurationScript.sh
Shell
gpl-3.0
721
#!/bin/sh chgrp root /etc/shadow
Taywee/dod-stig-scripts
linux/V-38503/fix.sh
Shell
gpl-3.0
34
#!/bin/bash echo "TRANSLATING THE BAD TEST SET" "$HOME"/mosesdecoder/bin/moses \ --config mert-work/moses.ini \ --threads 1 \ < bad-testset.source \ > OUTPUT ## Requires sacrebleu, which you can get by going: ## sudo pip3 install sacrebleu ## https://github.com/awslabs/sockeye/tree/master/contrib/sacrebleu e...
alexrudnick/terere
moses-models/bible-es-gn/translate_testset.sh
Shell
gpl-3.0
397
#!/bin/sh echo "Removing user file" rm *.pro.user echo "Creating profile executable" qmake -config debug make clean make echo "Removing makefile" rm Makefile echo "Removing object files" rm *.o echo "Start the application" ./gtst echo "Analyse the gprof results" gprof gtst > gprof.txt echo "Remove temporary gprof...
richelbilderbeek/GTST
profile.sh
Shell
gpl-3.0
340
#!/bin/bash ### BEGIN INIT INFO # Provides: firelamb # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Control firelamb # Description: Control firelamb ### END INIT INFO ## Adjust these upstream=et...
Re4son/Kali-Pi
Menus/mana/kalipi-nat-simple.sh
Shell
gpl-3.0
3,052
#!/bin/bash # This shell script is for formatting Goodix config. After that, we can copy the formatted # code to *config.h file #################################### # 2017-08-24 first version #################################### #set -x inputfile=$1 outputfile=$1.bak show_usage() { printf "\nUsage: gtp.sh [config...
11hwu2/script_tools
work/gtp.sh
Shell
gpl-3.0
698
#!/bin/bash # instructions based on http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Install.aspx # they clame a reboot will be needed to launch with the new graphics stack sudo apt update sudo apt dist-upgrade wget -O /tmp/ 'https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.10-414273.tar.xz' cd /tmp ta...
mkantzer/HomeLinux
subscripts/gpudriver.sh
Shell
gpl-3.0
895
#!/bin/bash set -e ## Zero Resource Speech Challenge 2017 ## CREATION OF CACHE FILES FOR ZRTOOLS ## build a cache with files that will be used by the plebdisc algorithm. ## It uses sox to preprocess the files the wav files: reduce the volume, ## cut the files and setting the same sampling rate for all the files....
bootphon/zerospeech2017
track2/baseline/baseline_french/data/make_french_cache.sh
Shell
gpl-3.0
2,683
#!/bin/bash declare -a TESTS TESTS[0]="arithmetic" for i in "${TESTS[@]}" do echo "Testing $i..." rm examples/tests/$i.sf.* ./sf examples/tests/$i.sf &> /dev/null diff "examples/tests/$i.tp" "examples/tests/$i.sf.ps2" diff "examples/tests/$i.ti" "examples/tests/$i.sf.icg" done
jeffreysanti/StaticFunc
runtests.sh
Shell
gpl-3.0
292
#!/bin/bash # include the conf source pocketMoneyContract.conf; #call the jar $JAVA -DEthereumFacadeProvider=$INSTANCE -Drpc-url=$RPC_URL -Dchain-id=$NET -DapiKey=$INFRA_API_KEY -jar $JAR "$@" -sk $KEYFILE -sp $PASS
UrsZeidler/smart-contract-examples
pocketMoneyContract/etc/pocketMoneyContract.sh
Shell
gpl-3.0
222
### alsa #csound -m 96 -realtime -+rtaudio=alsa -l -o dac:hw:${2},0 -Mhw:${1},0,0 xtouch_poscil.orc xtouch_poscil.sco ### jack # csound -realtime -+rtmidi=alsa -M hw:${1},0,0 -+rtaudio=jack -+jack_client=xtouch -b 1000 -o dac -i adc xtouch_poscil.orc xtouch_poscil.sco ### soundfile csound -d -realtime -+rtmidi=...
khirai/xtouch
xtouch_poscil.sh
Shell
gpl-3.0
428
#! /bin/sh MP_PID=$(ps -wx -o pid,command | grep MarcoPolo | grep MacOS | awk '{ print $1 }') echo "Monitoring pid $MP_PID" SLEEP_INTERVAL=10 last_vsize=-1 while true ; do rsize=$(ps -p $MP_PID -o rsz | tail -1 | tr -d ' ') vsize=$(ps -p $MP_PID -o vsize | tail -1 | tr -d ' ') printf "RSIZE/VSIZE: $rsize/$vsize K...
nriley/MarcoPolo
scripts/vsize-monitor.sh
Shell
gpl-3.0
650
#!/bin/sh # Use environment variable to change the prefix, # by default it's going to be stored into the: # /opt/imgurDownloader PREFIX=${PREFIX:-/opt/imgurDownloader} FILE=imgurDownloader.sh BATCHFILE=imgurListDownloader.sh EXAMPLEFILE=imgurSpace.sh VIEWFILE=imgurView.sh BUFFERFILE=imgurBufferView.sh echo echo --...
truhlikfredy/imgurDownloader2015
install.sh
Shell
gpl-3.0
2,075
#!/bin/bash export LIBVIRT_DEFAULT_URI="qemu:///system" export VM_TYPES="controller,compute1,compute2,network1" . $(dirname $0)/include/tmppath.rc . $(dirname $0)/include/virtpwn.rc . $(dirname $0)/include/pckstck.sh function usage() { cat << EOF Usage: -h|--help -k|--keep Keep the cre...
xbezdick/pckstck
run_test.sh
Shell
gpl-3.0
6,766
#!/bin/bash # bash-gorillas is a demake of QBasic GORILLAS completely rewritten # in Bash. # Copyright (C) 2013 Istvan Szantai <szantaii at sidenote dot hu> # # 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 Softwar...
szantaii/bash-gorillas
print-player-names.sh
Shell
gpl-3.0
1,424
#!/usr/bin/env bash sqlite3 downloads.sqlite 'UPDATE files SET FileStatus=2 WHERE FileStatus = 904'
Piskvor/webFetchFace
restartAll.sh
Shell
gpl-3.0
100
#!/bin/sh # Drive the dup-clobber program. # Copyright (C) 2009-2013 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 yo...
philenotfound/parted
tests/t0500-dup-clobber.sh
Shell
gpl-3.0
848
#!/bin/bash #removebadbarcodes in=<infile> out=<outfile> usage(){ echo " Written by Brian Bushnell. Last modified March 16, 2015 Description: Removes reads with improper barcodes. Usage: removebadbarcodes.sh in=<file> out=<file> Parameters: in=<file> Input reads; required parameter. out=<file> ...
richrr/scripts
bash/bbtools/bbmap/removebadbarcodes.sh
Shell
gpl-3.0
1,684
#! /bin/bash ./../basics.sh
chGoodchild/setup_scripts
setup.sh
Shell
agpl-3.0
29
#!/bin/sh set -e openssl genrsa -out /certs/${KEY_NAME}.key 4096 if [ -z "${EMAIL_ADDRESS}" ]; then openssl req -new -nodes -sha256 \ -subj "/C=${COUNTRY}/ST=${STATE}/L=${LOCATION}/O=${ORGANISATION}/OU=${ORGANISATION_UNIT}/CN=${COMMON_NAME}" \ -key /certs/${KEY_NAME}.key \ -out /certs/${KEY_NAME...
JensPiegsa/openssl
entry.sh
Shell
agpl-3.0
966
#!/bin/sh MAJOR_HOME="lib/major" ant clean compile $MAJOR_HOME/bin/ant coverage
jaredkaczynski/520FinalPython
coverage.sh
Shell
agpl-3.0
82
#!/bin/sh -e lookup() { awk "/^$1=/ { split(\$0,s,\"=\"); print s[2]; exit }" $VF } VF=../../VERSION PKGNAME="`lookup PKGNAME`" VERSION="`lookup VERSION`" MAINTAINER="`lookup MAINTAINER`" ARCH="`lookup ARCH`" LONGNAME="`lookup FULLNAME`" SHORTNAME="`lookup PROJNAME`" WORKDIR=workdir DEB="${PKGNAME}_${VERSION}...
sgoldthorpe/karmalb
src/karmalb-pkg/make_package.sh
Shell
lgpl-2.1
1,561
#!/bin/bash java -Xmx3000M -cp .:BiNoM_all.jar fr.curie.BiNoM.pathways.utils.acsn.ACSNProcedures --scalepng --png1 rcd_master-1.png --pngout rcd_master-0.png
sysbio-curie/NaviCell
map_construction_procedures/procedure_scripts/scale_1_to_0.sh
Shell
lgpl-3.0
158
pt_testcase_begin using_measure pt_add_fifo "$main_fifo_file" pt_add_fifo "$wakeup_fifo_file" pt_write_widget_file <<__EOF__ f = assert(io.open('$main_fifo_file', 'w')) f:setvbuf('line') f:write('init\n') $preface widget = { plugin = '$PT_BUILD_DIR/plugins/fs/plugin-fs.so', opts = { paths = {'/'}, ...
shdown/luastatus
tests/pt_tests/plugin-fs/06-wakeup-fifo.lib.bash
Shell
lgpl-3.0
904
#!/bin/sh # # This file is protected by Copyright. Please refer to the COPYRIGHT file # distributed with this source distribution. # # This file is part of REDHAWK rest-python. # # REDHAWK rest-python is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License a...
RedhawkSDR/rest-python
start.sh
Shell
lgpl-3.0
1,205
#!/bin/sh #M3TIOR 2016 i3DIR="~/.i3"; SETTINGSDIR="$i3DIR/settings.d"; # So starting today, I'm trying to unify the heap of small things into a larger # file that will keep our ram and disk usage to a minimum. Starting a bunch of # sepperate shell sessions is going to get extremely redundant evenutally. So # this is ...
M3TIOR/MY_i3-wm_CONFIG
files/control.sh
Shell
unlicense
2,595
# function _tmux_completions() { # local -a sessions # sessions=($(tmux-ls)) # compadd -a sessions # } # # compdef _tmux_completions tss
huynle/dotfiles
.zsh/completion/tmux.zsh
Shell
unlicense
143
#!/bin/bash HDIMGPATH=`realpath hd.img` if ! losetup -nl | grep -q "$HDIMGPATH"; then echo "mounting" losetup -Pf --show "$HDIMGPATH" fi LOOPDEV=$(losetup -nl | grep "$HDIMGPATH" | cut -d ' ' -f 1) sudo mount -t vfat -o uid=7777 "$LOOPDEV""p1" ./hd
Sembiance/xutil
legacy/dos/mountHD.sh
Shell
unlicense
255
#!/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 ASF licenses this file # to you under the Apache License, Version 2.0 (the # "L...
davebarnes97/geode
ci/scripts/execute_build.sh
Shell
apache-2.0
4,050
#!/usr/bin/env bash # Generate md5sum compatible output for a complete delivery in DOMS. # fail if any command fails - this is to avoid checking the return code of any curl call set -e VERBOSE= if [ "$1" == "-v" ] then VERBOSE=$1 shift fi if [ -z $1 ] then echo "usage: [P=\"-u user:pass\"] $0 [-v] uuid:.....
statsbiblioteket/digital-pligtaflevering-aviser-tools
bin/checksums-for-delivery-in-doms.sh
Shell
apache-2.0
8,279
#!/usr/bin/env bash set -e -x source bosh-cpi-release/ci/tasks/utils.sh check_param base_os manifest_dir=bosh-concourse-ci/pipelines/bosh-aws-cpi echo "checking in BOSH deployment state" cd deploy/${manifest_dir} git add ${base_os}-director-manifest-state.json git config --global user.email "cf-bosh-eng+bosh-ci@pi...
ilackarms/bosh-aws-cpi-release
ci/tasks/save-deployment.sh
Shell
apache-2.0
471
#!/bin/bash # # This function checks for one or more devices connected via ADB. # It will return the device's serial number. # If no devices are connected, it will return '0'. # If more than one device is connected, it will prompt the user to select one. # In that case, it will return the selected device, or '0' if th...
mitsnosrap/shell-scripts
adbwrapper-func.sh
Shell
apache-2.0
2,324
#!/bin/bash path_abs() { [[ $1 = /* ]] && eval "$2='$1'" || eval "$2='$PWD/${1#./}'" } if [ -z $BASE_DIR ]; then path_abs $0 PATH_ABS BASE_DIR=$(dirname $PATH_ABS) fi if [[ $(uname) = CYGWIN* ]]; then NODE=node.exe if [ -d "C:\\cygwin" ]; then BASE_DIR=C:\\cygwin/$BASE_DIR else BASE_DIR=C:\\cygwi...
daliworks/openhardware
arduino/grove-starter-kit/thingplus_device.sh
Shell
apache-2.0
1,695
#!/bin/bash set -eu # Copyright 2017-Present Pivotal Software, 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 # # ...
BrianMMcClain/pcf-pipelines
tasks/stage-product/task.sh
Shell
apache-2.0
2,092
#!/bin/bash mkdir -p /data/mysql/ cd services/mysql PASSWORD=$(date | md5sum | awk '{print $1}') sed -i "s/INSERT_PASSWORD/$PASSWORD/g" docker-compose.yml docker-compose up -d
Romke-vd-Meulen/Beethoven
services/mysql/install.sh
Shell
apache-2.0
178
#!/bin/bash UPLOAD_RUNTIME=false doUpload() { if [ ${UPLOAD_RUNTIME} = "true" ]; then uploadRuntime else uploadExceptRuntime fi } upload() { rm settings.gradle cp settings.gradle.before settings.gradle ./gradlew clean assemble ./gradlew :core:uploadArchives ./gradlew :views:uploadArc...
kiruto/debug-bottle
upload_to_mvn.sh
Shell
apache-2.0
1,340
#!/bin/bash # Set the output directory outdir=${1:-gh-pages} ################################################################################ # Define list of services ################################################################################ services=( AssistantV1 AssistantV2 CompareComplyV1 Discovery...
watson-developer-cloud/ios-sdk
Scripts/generate-documentation.sh
Shell
apache-2.0
2,790