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/sh cd .. . ./setEnv.sh RUN_CMD="$JAVA_HOME/bin/java $MEM_ARGS -cp $CLASSPATH twitter4j.examples.stream.PrintRetweetStream" echo $RUN_CMD ${1+"$@"} exec $RUN_CMD ${1+"$@"}
jonathanmcelroy/DataCommunicationsProgram456
twitter4j/bin/stream/printRetweetStream.sh
Shell
gpl-2.0
177
#!/bin/sh # This script renames IB_wifi_ interface names into real interface names used on this system. # E.g. wireless.IB_wifi0 would become wireless.wifi0 on madwifi and wireless.radio0 on mac80211 . $dir/functions.sh posIB=-1 IBwifis="$(uci show meshwizard.netconfig | grep 'IB_' | sed 's/meshwizard.netconfig\.\(I...
zhaoxin54430/zhaoxin_test
src_luci/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/rename-wifi.sh
Shell
gpl-2.0
1,250
#!/bin/bash set -x echo "initializing Shadow installation" date ps axjf AZUREUSER=$2 HOMEDIR="/home/$AZUREUSER" SHADOWPATH="$HOMEDIR/.shadowcoin" VMNAME=`hostname` echo "User: $AZUREUSER" echo "User home dir: $HOMEDIR" echo "User Shadow path: $SHADOWPATH" echo "vmname: $VMNAME" if [ $1 = 'From_Source' ]; then ## C...
adhurwit/azure-quickstart-templates
shadow-on-ubuntu/build_shadow.sh
Shell
mit
1,852
#!/bin/bash # # do the Salt minion pub/private key stuff # # rschmied@cisco.com # #set -x if [ "$1" = "-f" ]; then CHECK=false shift else CHECK=true fi KEY=$1 if $CHECK && [[ ! "$KEY" =~ [0-9A-E]{8}\.[[:alpha:]]+\.[[:alpha:]]+\.pem ]]; then echo "you need to provide the key as a parameter to this script...
VIRL-Open/virl-utils
minion-key-reset.sh
Shell
isc
1,130
#!/bin/bash set -e # Using console with extra arguments because "foreground" does not handle SIGTERM/SIGQUIT exec ./bin/aeternity console -noshell -noinput $@
aeternity/epoch
docker/entrypoint.sh
Shell
isc
160
#!/usr/bin/env bash # Copyright (c) 2016, Kevin van Zonneveld # Authors: # - Kevin van Zonneveld <kevin@vanzonneveld.net> set -o pipefail set -o errexit set -o nounset # set -o xtrace # Set magic variables for current FILE & DIR __dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # __file="${__dir}/$(basename "${0...
kvz/phpjs
scripts/travis-deploy.sh
Shell
mit
1,027
# Check for Composer if test ! $(which composer) then echo " You need to install composer!" else echo "› composer update" composer self-update fi exit 0
mariagwyn/dotfiles
composer/install.sh
Shell
mit
161
#!/bin/bash # adapted from: https://medium.com/@andr3wjack/versioning-react-native-apps-407469707661 PROJECT_DIR="ios/ESXApp" INFOPLIST_FILE="Info.plist" INFOPLIST_DIR="${PROJECT_DIR}/${INFOPLIST_FILE}" # get package version from package.json PACKAGE_VERSION=$(cat package.json | grep -m1 \"version\": | cut -d'"' -f4...
mandlamag/ESXApp
support/version-ios.sh
Shell
mit
867
#!/usr/bin/env bash for pkg in "async" "babel-cli" "babel-preset-es2015" "babel-preset-stage-2" "browser-sync" "cli-color" "cssnano" "fs-extra" "node-sass" "postcss-cli" "postcss-uncss" "postcss" "imagemin" do npm i $pkg --save-dev done
neutrico/neutrico.github.io
init.sh
Shell
mit
241
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3272-1 # # Security announcement date: 2015-05-23 00:00:00 UTC # Script generation date: 2017-01-01 21:07:25 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: x86_64 # # Vulnerable packages fix on version: # - ipsec-tools:1:0.8.0-14+deb7u1 # -...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/x86_64/2015/DSA-3272-1.sh
Shell
mit
761
#!/bin/sh # Run clean when the argument 'clean' is provided. Usefull for eclipse. if [[ $1 = clean ]] then echo "Running clean" ./clean.sh exit fi rootDir=`pwd` if [[ $1 = ffmpeg ]] then COMMAND="qmake -spec macx-g++ ${rootDir}/cppn-x-mpeg.pro" else COMMAND="qmake -spec macx-g++ ${rootDir}/cppn-x-debug.pro" fi...
Evolving-AI-Lab/cppnx
compile-debug.sh
Shell
mit
1,158
#!/usr/bin/env bash #Petit script pour patcher la config ssh afin que l'on accepte les GIT env forwarding #zf170329.1819 echo ---------- patch_sshd_AcceptEnv sudo patch -f /etc/ssh/sshd_config < ~/deploy-proxmox/patch_sshd_AcceptEnv sudo systemctl restart sshd.service
zuzu59/deploy-proxmox
patch_sshd_AcceptEnv.sh
Shell
mit
273
#!/usr/bin/env zsh # # This is a clean-room implementation of the Fish[1] shell's history search # feature, where you can type in any part of any previously entered command # and press the UP and DOWN arrow keys to cycle through the matching commands. # #-----------------------------------------------------------------...
nicolasclaudon/dotfiles
.oh-my-zsh/plugins/history-substring-search/history-substring-search.zsh
Shell
mit
25,375
#!/bin/bash ##yum install expect -y for i in `awk '{print $1}' passwd.txt` do j=`awk -v I="$i" '{if(I==$1)print $2}' passwd.txt` k=`awk -v I="$i" '{if(I==$1)print $3}' passwd.txt` expect login.exp $i $j $k #~/.ssh/known_hosts存在重复KEY处理 #echo $i #check1=`cat ~/.ssh/known_hosts|grep "$i ssh"` #echo $check1 #...
woerwin/learning
kjyw/expect/expect.sh
Shell
mit
469
npm publish ./
igordeoliveirasa/codemets-cli
publish.sh
Shell
mit
15
#!/usr/bin/env iptables # shellcheck disable *filter # Defaults -P INPUT DROP -P FORWARD ACCEPT -P OUTPUT ACCEPT # Accepts all established inbound connections -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT -A OUTPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT # Drop bad packets -A INPUT ...
Saevon/Recipes
shell/iptables.rules.sh
Shell
mit
2,404
#!/bin/bash -eux yum -y clean all #rm -rf VBoxGuestAdditions_*.iso VBoxGuestAdditions_*.iso.? # clean up redhat interface persistence rm -f /etc/udev/rules.d/70-persistent-net.rules if [ -r /etc/sysconfig/network-scripts/ifcfg-eth0 ] then sed -i 's/^HWADDR.*$//' /etc/sysconfig/network-scripts/ifcfg-eth0 sed -i ...
ilarimakela/packer-centos6.6
scripts/cleanup.sh
Shell
mit
380
#!/usr/bin/env sh docker run -d --name example-service -p 8080:8080 node-web-app
jefersonm/sandbox
languages/js/node-rest-docker-example/run-docker.sh
Shell
mit
82
# ------------------------------------------------------------------------------ # FILE: gnu-utils.plugin.zsh # DESCRIPTION: oh-my-zsh plugin file. # AUTHOR: Sorin Ionescu (sorin.ionescu@gmail.com) # VERSION: 1.0.0 # ---------------------------------------------------------------------------...
nicolasclaudon/dotfiles
.oh-my-zsh/plugins/gnu-utils/gnu-utils.plugin.zsh
Shell
mit
2,611
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DLA-546-1 # # Security announcement date: 2016-07-07 00:00:00 UTC # Script generation date: 2017-01-01 21:09:14 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: x86_64 # # Vulnerable packages fix on version: # - clamav:0.99.2+dfsg-0+deb7u2 # # Last...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/x86_64/2016/DLA-546-1.sh
Shell
mit
648
#!/bin/bash /usr/bin/mongod --port ${ATHENA_PORT} --dbpath /data/db
code31415926535/olympos
db/mongo.sh
Shell
mit
69
#!/bin/sh DJANGO_VER=$(python -c "import django; print(django.get_version())") if ! [ $DJANGO_VER '<' 1.6 ]; then TEST_BASE=tests. fi python manage.py test --settings=tests.test_lazy_connect.settings ${TEST_BASE}test_lazy_connect
philchristensen/django-salesforce
tests/test_lazy_connect/test.sh
Shell
mit
231
#!/bin/bash # Add Vagrant's NFS setup commands to sudoers, for `vagrant up` without a password # Updated to work with Vagrant 1.3.x # Stage updated sudoers in a temporary file for syntax checking TMP=$(mktemp -t vagrant_sudoers) cat /etc/sudoers > $TMP cat >> $TMP <<EOF # Allow passwordless startup of Vagrant when us...
alsbury/learning-php
vagrant/install_sudoers.sh
Shell
mit
876
#!/bin/bash # Program: dropTimetoliveIndex.sh # Purpose: add time to live index so that MongoDB can auto-purge old data (> 3 months) # Author: Ray Lai # Updated: Jul 20, 2016 # Example: ./dropTimetoliveIndex.sh myusername mypassword # Remark: running this script will auto purge old records after 6 months (15552000 se...
rayymlai/iot-platform
admin/db/dropTimetoliveIndex.sh
Shell
mit
921
#!/bin/sh export DLE_DEFAULT_TOKEN=DEFAULT_LOG_TOKEN export DLE_LOG_LEVEL=debug
JustAdam/dle
env.sh
Shell
mit
79
#! /bin/bash bash ../Helper/BiomarkerBenchmark/download.sh "https://osf.io/r4tgu/download?version=4"
srp33/WishBuilder
BiomarkerBenchmark_GSE2109_Ovary/download.sh
Shell
mit
102
#!/bin/bash # from https://github.com/tutumcloud/tutum-docker-tomcat/blob/master/8.0/run.sh if [ ! -f /.tomcat_admin_created ]; then /create_tomcat_admin_user.sh fi exec ${CATALINA_HOME}/bin/catalina.sh run
jpierre03/docker-tomcat
run.sh
Shell
mit
214
cd $HOME/.homesick/repos/serverip git pull options="-batch -ui text" local="-root $HOME" serverip=$(cat ip.txt) remote="-root ssh://$serverip" unison ignore $options $local $remote -path $1
vladfi1/unison-server
unison.sh
Shell
mit
191
_novac() { COMPREPLY=() local word="${COMP_WORDS[COMP_CWORD]}" if [ "$COMP_CWORD" -eq 1 ]; then COMPREPLY=( $(compgen -W "$(novac commands)" -- "$word") ) else local command="${COMP_WORDS[1]}" local completions="$(novac completions "$command" ${COMP_WORDS[@]:2})" COMPREPLY=( $(compgen -W "$comp...
cybera/novac
completions/novac.bash
Shell
mit
376
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2726-1 # # Security announcement date: 2015-08-31 00:00:00 UTC # Script generation date: 2017-01-01 21:04:45 UTC # # Operating System: Ubuntu 14.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - libexpat1:2.1.0-4ubuntu1.1 # - lib...
Cyberwatch/cbw-security-fixes
Ubuntu_14.04_LTS/x86_64/2015/USN-2726-1.sh
Shell
mit
901
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2014:1915 # # Security announcement date: 2014-11-26 22:43:26 UTC # Script generation date: 2017-01-11 21:25:35 UTC # # Operating System: Red Hat 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - flash-plugin.i686:11.2.202.424-1.el6 # ...
Cyberwatch/cbw-security-fixes
Red_Hat_6/x86_64/2014/RHSA-2014:1915.sh
Shell
mit
626
sudo apt-get install apache2 sudo apt-get install php7.0 php7.0-fpm php7.0-mysql libapache2-mod-php7.0 sudo apt-get install php-mbstring php7.0-mbstring php-gettext sudo apt-get install php-imap php7.0-imap sudo apt-get install mysql-server sudo apt-get install composer
sea-watch/sea-watch-app
install_deps.sh
Shell
mit
271
#!/bin/bash UDIR="/root/" FRDIR="yoursitename$(date '+%b%d%Y')" HOME="/home/yourusername/" sudo -u root mkdir $UDIR$FRDIR cp -R /var/www/yoursitename/ $UDIR$FRDIR cp -R /etc/nginx/ $UDIR$FRDIR mysqldump yoursitesql -u root --opt > $UDIR$FRDIR/yoursitesql.sql mysqldump mysql -u root --opt > $UDIR$FRDIR/mysql.sql cp /etc...
linuxkay/tools
serverbackup.sh
Shell
mit
540
#~/bin/sh if [ "$#" -lt 2 ]; then echo "Usage: ./sendFlowScript.sh [PUT or DELETE] [Controller Address with port]" exit 1 fi curl -X "$1" -H "Content-Type: application/xml" "$2/restconf/config/opendaylight-inventory:nodes/node/openflow:2/table/0/flow/Test03" -v -u admin:admin -d '<?xml version="1.0" encoding=...
YunSukYeo/securator
Scripts/sendFlowRuleForUdp.sh
Shell
mit
3,846
#!/bin/sh regex="[^/]*$" fn=$(mktemp -u | grep -o "$regex") fswebcam -r 1280x720 -S 5 --flip h --png --info "Edison Telescope Webcam" --save \ public/photos/${fn}.png >/dev/null 2>&1 echo photos/${fn}.png
pjcabrera/edison-telescope-webcam
scripts/take_photo.sh
Shell
mit
206
##"slib" script; Find a Scheme implementation and initialize SLIB in it. #Copyright (C) 2003, 2004 Aubrey Jaffer # #Permission to copy this software, to modify it, to redistribute it, #to distribute modified versions, and to use it for any purpose is #granted, subject to the following restrictions and understandings. ...
evilbinary/scheme-lib
packages/slib/slib.sh
Shell
mit
5,424
#!/bin/bash # Enable environment variables to override tool commands. : ${AUTOCONF=autoconf} : ${AUTOHEADER=autoheader} : ${AUTOMAKE=automake} : ${ACLOCAL=aclocal} : ${LIBTOOLIZE=libtoolize} # Apple calls the GNU libtoolize "glibtoolize" if [[ ! -x `which "$LIBTOOLIZE"` ]]; then LIBTOOLIZE=glibtoolize fi if [[ ! ...
mpartel/queuefs
autogen.sh
Shell
mit
1,272
# The "share" dir is what Vagrant exposes as the "services\mongodb" folder cd share # Create a db dir (if it does not already exist), so we can mount that # into the docker image as a volume where we can write our data to mkdir db # Build the docker image under the tag of "sabhiram/mongodb" docker build -t sabhiram/m...
sabhiram/dockerized-mongo-service
services/mongodb/init.sh
Shell
mit
569
#!/bin/bash set -e parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) cd "$parent_path" echo "Running consumer builds in $parent_path" # Prepare 'sample-custom' pushd samples/custom/dist yarn unlink || true yarn link popd # Prepare '@sample/material' pushd samples/material/dist yarn unlink || true yarn li...
DavidParks8/ng-packagr
integration/consumer.sh
Shell
mit
880
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-2834-1 # # Security announcement date: 2014-01-01 00:00:00 UTC # Script generation date: 2017-01-01 21:06:48 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: x86_64 # # Vulnerable packages fix on version: # - typo3-src:4.5.19+dfsg1-5+wheezy2 # ...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/x86_64/2014/DSA-2834-1.sh
Shell
mit
784
set -e function version_lt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$2"; } NPM_VERSION=$(npm --version) if version_lt $NPM_VERSION 5 ; then npm install -g npm@^5 fi
ForNeVeR/kaiwa
scripts/travis.updateNpm.sh
Shell
mit
198
#!/bin/bash if [ -L $0 ] then workpath=$(dirname `readlink $0`) else workpath=$(cd `dirname $0`; pwd) fi printHelp() { cat <<EOF RunnerLee Blog Usage: runnerlee.sh [command] Commands: edit open blog dictionary by vs code commit commit change to remote repostiory new create an new p...
RunnerLee/runnerlee.github.io
runnerlee.sh
Shell
mit
1,061
#!/bin/bash # # Copyright (C) 2020 Ferry Toth # # SPDX-License-Identifier: GPL-2.0-only # dirs="bin boot dev etc home lib media mnt opt proc run sbin sketch sys tmp usr var" deploy_dir=tmp/deploy/images/edison image_name=edison-image-edison image_ext=btrfs initrd=core-image-minimal-initramfs-edison.cpio.gz set ...
htot/meta-intel-edison
utils/flash/btrfsSnapshot.sh
Shell
mit
2,347
#!/bin/sh prog=sparsePOP_test.m depends="sparsePOP_test.m test_common.m" tmp=/tmp/$$ here=`pwd` if [ $? -ne 0 ]; then echo "Failed pwd"; exit 1; fi fail() { echo FAILED ${0#$here"/"} $prog 1>&2 cd $here rm -rf $tmp exit 1 } pass() { echo PASSED ${0#$here"/"} $prog cd ...
robertgj/DesignOfIIRFilters
test/02/t0236a.sh
Shell
mit
4,639
#!/bin/sh ls -R | egrep '(jpg|png)' | \\ #filter the content you want in the index perl -e 'print "<html><body><ul>"; while(<>) { chop $_; print "<li><a href=\"./$_\">$_</a></li>";} print "</ul></body></html>"' > index.html
davidbrowning/davidbrowning.github.io
history/Scripts/_make_index.sh
Shell
mit
224
#!/bin/sh bitcoin-cli -conf="../bitcoin2.conf" -datadir="data2" -regtest generate 101
DrPandemic/pickaxe
bitcoin-config/generate-bitcoins.sh
Shell
mit
86
#!/bin/bash set -xv #adam-example# ./parallel_manager.sh ./spikefinder_para.sh ${SUBARUDIR}/2009-04-29_W-S-Z+ SCIENCE SUPA OCF W-S-Z+ 2>&1 | tee -a OUT-spikefinder_2009-04-29_W-S-Z+.log #adam-example# ./parallel_manager.sh ./spikefinder_para.sh ${SUBARUDIR}/2010-03-12_W-S-I+ SCIENCE SUPA OCF W-S-I+ #adam-example# ./spi...
deapplegate/wtgpipeline
spikefinder_para.sh
Shell
mit
3,443
../../contrib/docker/forwindows/req_zlib.sh
TestCoiner/CHACoin
building/windows/req_zlib.sh
Shell
mit
43
#!/bin/sh bundle install bundle exec opal -c -q opal-browser -p native -p promise -p browser/setup/full -e '#' -E > opal-browser.js bundle exec opal -Oc -s opal -s native -s promise -s browser/setup/full app/application.rb > application.js
opal/opal-browser
examples/integrations/static-bash/build.sh
Shell
mit
240
#!/bin/bash tmpfile=$(mktemp) tmpdir=$(mktemp -d) trap 'rm -rf $tmpfile $tmpdir' 0 /usr/sbin/varnishd -n $tmpdir -C -f $1 2> $tmpfile errcode=$? echo if [ $errcode -ne 0 ]; then echo "VCL file: $1" echo "ERROR: There are errors in the varnish configuration." cat $tmpfile exit $errcode else echo "VC...
Danack/Blog
docker/varnish/files/vcl_check.sh
Shell
mit
361
#!/bin/sh C_COMPILER=gcc CXX_COMPILER=g++ LINKER=ld # Default options are # -DUSE_MPI=ON -DUSE_OPENMP=ON -DUSE_GPU=OFF -DUSE_GTEST=ON -DUSE_AVX=OFF CPU_OPTIONS="-DCMAKE_CXX_FLAGS=-DGTEST_USE_OWN_TR1_TUPLE=1 -DCMAKE_MACOSX_RPATH=1" MIC_OPTIONS= CPU_VENDOR=$(sysctl -n machdep.cpu.vendor) NUM_CORES=$(sysctl -n hw.phys...
pictools/pica
build/build_osx.sh
Shell
mit
2,045
#!/bin/bash nospaces () { rename 'y/ /_/' * } nospaces "$@"
patbeagan1/libbeagan
scripts/util/nospaces.sh
Shell
mit
69
#!/bin/bash # Test if an user is logged or not # if (who | tr -s " " | cut -f1 -d " " | grep "^$1$" > /dev/null) then echo User "$1" is logged else echo User "$1" is not logged fi
jefersonm/sandbox
languages/shell_script/is_usuario_logado.sh
Shell
mit
183
#!/bin/bash repos=($(awk -F= '{print $1}' ../input/rep-folders.txt)) echo ${repos[*]} cd ../output for repo in ${repos[@]}; do cd ${repo} pwd git reset --hard HEAD git clean -f -d cd .. done
astrocatalogs/supernovae
scripts/reset-repos.sh
Shell
mit
197
#!/bin/sh g++ -g -Wall -std=c++11 hexutil.cpp test.cpp -o test
yejingfu/samples
crypto/cpp/build.sh
Shell
mit
63
#!/bin/bash cd `dirname $0` # $1 is an opportunity to give -u for f in __tests__/*.js; do jest $f $1 done
gre/gl-react
packages/tests/test.sh
Shell
mit
109
curl --request POST \ --url http://186.249.34.34/auth \ --header 'cache-control: no-cache' \ --header 'content-type: application/json' \ --data '{\n "email": "consulta@enterplug.com.br",\n "password": "consulta"\n}'
enterplug/consulta-enterplug
auth/auth-shellscript-example/auth-shellscript-curl.sh
Shell
mit
230
#!/bin/bash g++ -w -std=c++11 src/logic/* src/utility/* src/loader/* src/memory/* src/console/* src/machine/* src/main.cpp -o machine
nyanzebra/Computer-Architecture
project1/machine_simulator/compile_machine_sim.sh
Shell
mit
133
#!/bin/bash ####################### # # methode-runonce.sh ####################### function usage () { echo " Usage : $0 " } completed="/var/.methode.ready" # Test already run this. [ -f "$completed" ] && exit 0 # Test opkg cleanup. [ -f "/etc/opkg/am335x_evm-feed.conf" ] && rm /etc/opkg/am335x_evm-feed.conf # mo...
wwright2/dcim3-angstrom1
sources/meta-methode/recipes-core/base-files/files/methode-runonce.sh
Shell
mit
1,178
#!/bin/sh # https://github.com/polybar/polybar-scripts/blob/master/polybar-scripts/updates-arch-combined/updates-arch-combined.sh if ! updates_arch=$(checkupdates 2> /dev/null | wc -l ); then updates_arch=0 fi if ! updates_aur=$(yay -Qum 2> /dev/null | wc -l); then updates_aur=0 fi updates=$(("$updates_arch" + "...
SpenserJ/dotfiles
home/.config/polybar/scripts/package-updates.sh
Shell
mit
401
pxp_v4l2_test.out -sx 480 -sy 272 -res 352:240 -dst 0:0:352:240 -a 100 -w 2 fb-352x240.yuv BLANK pxp_v4l2_test.out -sx 480 -sy 272 -res 352:240 -a 0 -r 90 fb-352x240.yuv BLANK pxp_v4l2_test.out -sx 480 -sy 272 -res 352:240 -a 100 -o rgb24_file.s1 fb-352x240.yuv BLANK pxp_v4l2_test.out -sx 480 -sy 272 -res 352:240 -...
DYNA-instruments-open-source/eco-g45-linux-bsp
BSP-3.14/local_src/common/imx-test-11.09.01/test/pxp_v4l2_test/pxp_v4l2_out_test.sh
Shell
mit
362
#!/bin/bash function help { echo "Utilizza lo script come segue:" echo "" echo "\$ $1 <data_file_name>" echo "" echo "<data_file_name>: il nome del file csv presente nella cartella data" echo "" echo "" } if [ "$#" -ne 1 ]; then help $0; exit 0 fi data=“../data" cut -f 3,5 -d , $...
alexmario74/jcut
scripts/my_short_script_v2.sh
Shell
mit
332
#!/bin/bash DATA=`pione-val '$I[1]'` OUT=`pione-val '$O[1]'` gnuplot <<EOF set title "Histgram of member's mean score" set style fill solid border lc rgb "black" set xrange [0:10] set yrange [0:20] set terminal png set output "$OUT" plot "$DATA" using 0:2:xtic(1) with boxes notitle EOF
pione/pione
example/ScoreAggregation/bin/histgram-graph.sh
Shell
mit
293
#!/usr/bin/env bash # # Copyright © 2013 - 2018 Forerunner Games, LLC # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, ...
forerunnergames/fg-tools
scripts/collect-build-artifacts.sh
Shell
mit
2,335
#!/bin/bash # based on: # https://www.cyberforum.ru/shell/thread2822786.html get_text() { TAG=${1:-version} PROJECT_FILE=${2:-pom.xml} if [[ "$DEBUG" = 'true' ]]; then 1>&2 printf "started get_text() with TAG=%s PROJECT_FILE=%s\n" $TAG $PROJECT_FILE fi RESULT='' PRINTED='false' IN_PROJECT='false' IN_DEPENDENCIE...
sergueik/SWET
run2.sh
Shell
mit
1,654
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2014:0413 # # Security announcement date: 2014-04-17 12:33:04 UTC # Script generation date: 2017-01-19 21:25:30 UTC # # Operating System: Red Hat 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - java-1.7.0-oracle.x86_64:1.7.0.55-1jpp....
Cyberwatch/cbw-security-fixes
Red_Hat_6/x86_64/2014/RHSA-2014:0413.sh
Shell
mit
2,215
# ethereum START install_vim_package tomlion/vim-solidity if ! type ethrun > /dev/null 2>&1 ; then ETHRUN_VER=v0.2.4 cd ~; rm -rf ethereum-tmp; mkdir ethereum-tmp; cd ethereum-tmp wget "https://github.com/dapphub/ethrun/releases/download/$ETHRUN_VER/ethrun-v0.2.4-linux.tar.gz" tar -xvzf "ethrun-$ETHRUN_VER-li...
igncp/vagrant-personal-cookbook
arch-linux/provision/ethereum.sh
Shell
mit
483
#!/bin/bash if [[ $# -eq 1 && $1 = *[!\ ]* ]] ; then email=$1 sed -i -e "s/email_alert=\"0\"/email_alert=\"1\"/g" /usr/local/maldetect/conf.maldet sed -i -e "s/email_addr=\"\"/email_addr=\"${email}\"/g" /usr/local/maldetect/conf.maldet printf "Enbaled email alerts for ${email}\n" fi
rordi/docker-antivirus
assets/install_alerts.sh
Shell
mit
300
#!/bin/bash if [ ! -d env ]; then virtualenv env fi echo "Virtualenv created" source env/bin/activate pip install -r requirements.txt echo "Requirements installed"
projectjamjar/masonjar
setup.sh
Shell
mit
169
#!/usr/bin/env bash set -ue set -o pipefail name=$(basename $0) echo 'into install.sh' yum install pip install -Ur requirements.txt
DreamWFJ/Everyeye
bin/install.sh
Shell
mit
134
#!/bin/bash ssh ubuntu@s1 'bash -s' < bootstrap/video.sh
jirojo2/cdps
bootstrap/hosts/s1.sh
Shell
mit
57
docker-compose -f docker-compose-dev.yml down docker-compose -f docker-compose-dev.yml build
nudoru/React-Starter-3
rebuild.sh
Shell
mit
92
#!/bin/bash function oneTimeSetUp() { source $DOTSPLAT_FN_SRC $DOTSPLAT_FN --batch clone $REPO_FIXTURES/rc-files > /dev/null $DOTSPLAT_FN --batch clone $REPO_FIXTURES/dotfiles > /dev/null $DOTSPLAT_FN --batch clone $REPO_FIXTURES/module-files > /dev/null } function oneTimeTearDown() { rm -rf "$DOTSPLAT/repos/rc-...
dotsplat/dotsplat
test/suites/linkingtable.sh
Shell
mit
9,005
#!/bin/sh PATH="$PATH:/usr/bin/sh" sw=0 current=0 prev=0 i2c_tsl2561.py init while true do current=`i2c_tsl2561.py get` #echo $current if [ $sw -eq 0 ]; then # in-off if [ `echo "$prev >= 0.05 && $current >= 0.05" | bc` = 1 ]; then echo "`date` : turn ON" i2c_SeeedRelay.py 1 1 sw=1 fi else # i...
celceta/pi
tools/relay_ctrl/relay_ctrl.sh
Shell
mit
493
#!/usr/bin/env bash # set these to your local environment PROJECTREPOSITORY="/home/gorgo/Documents/Model/SpeakerRecognition" RunAlg () { FORESTSIZE="-I "${1} echo ${FORESTSIZE} weka -m3G -c "weka.classifiers.trees.RandomForest -t ${PROJECTREPOSITORY}/results/all.arff -x 2 ${FORESTSIZE}" > "${PROJECTREPOSI...
1kastner/SpeakerRecognition
WekaScripts/RandomForest.sh
Shell
cc0-1.0
469
#!/bin/sh BIN=bin ${BIN}/survey server & ${BIN}/survey client c0 & ${BIN}/survey client c1 & ${BIN}/survey client c2 & sleep 1 killall survey
begeekmyfriend/nanomsg-tutorial
survey.sh
Shell
cc0-1.0
147
#!/bin/bash [ $# -eq 0 ] && { echo "Usage $0 git_repository_name"; exit 999; } base=$1 cd ~/$base git pull git archive --format=tar HEAD | gzip > ~/graphviz-web_git.tgz
ellson/graphviz-build
hg/bin/git_archive_dynamic.sh
Shell
epl-1.0
173
## # Network configuration hook. # Please note that you have to use either # env_execChroot or env_execChrootH (both # defined in env.conf) to modify the configuration # in the already bootstrapped environment! ## net_hook(){ # There cannot be a systemclt config statement because # the appropriate daemon isn't run...
forflo/archfai
src/hooks/net_hook.sh
Shell
gpl-2.0
336
./waf 2>&1 > /dev/null | python build.py
AliZafar120/NetworkStimulatorSPl3
build.sh
Shell
gpl-2.0
41
#!/bin/bash # vi: set ts=4: # Copyright 2015-2016 Digital Aggregates Corporation, Colorado, USA. # "Digital Aggregates Corporation" is a registered trademark. # Licensed under the terms of the GNU GPL v2. # mailto:coverclock@diag.com # https://github.com/coverclock/com-diag-scattergun # # USAGE # # entropy.sh [ SOURCE ...
coverclock/com-diag-scattergun
Scattergun/bin/entropy.sh
Shell
gpl-2.0
767
outputdir=$1 qid=`cat qid` newline=' ' service=$3 SF=$2 i=0 while read line do ########first position s3##### if [ $i -eq 0 ]; then s3=$line ####second line position two dataset elif [ $i -eq 1 ]; then db=(${line//' '/ }) rm qfile for dataset in $outputdir/dump/* do datasetname=${dataset##*/} if [[ ${db...
nurainir/QFed
hybrid.sh
Shell
gpl-2.0
2,473
#!/bin/bash # Path to build your kernel k=~/roughneck-m8 # Directory for the any kernel updater t=$k/packages # Date to add to zip today=$(date +"%m_%d_%Y") # Clean old builds echo "Clean" rm -rf $k/out # make clean # Setup the build cd $k/arch/arm/configs/BBKconfigs for c in * do ...
wyldstallyns/roughneck-m8
build_m8_kernel.sh
Shell
gpl-2.0
1,975
#! /bin/sh # Copyright (C) 2001-2022 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 ...
autotools-mirror/automake
t/instdat2.sh
Shell
gpl-2.0
2,301
#!/bin/bash set -e TEST_DESCRIPTION="https://github.com/systemd/systemd/issues/3171" TEST_NO_QEMU=1 . $TEST_BASE_DIR/test-functions test_setup() { create_empty_image mkdir -p $TESTDIR/root mount ${LOOPDEV}p1 $TESTDIR/root # Create what will eventually be our root filesystem onto an overlay ( ...
pwithnall/systemd
test/TEST-12-ISSUE-3171/test.sh
Shell
gpl-2.0
2,533
#!/bin/sh # # Copyright (c) 2006 Eric Wong # test_description='git svn fetching' . ./lib-git-svn.sh test_expect_success 'initialize repo' ' mkdir import && cd import && mkdir -p trunk && echo hello > trunk/readme && svn_cmd import -m "initial" . "$svnrepo" && cd .. && svn_cmd co "$svnrepo" wc && cd wc && ech...
AndyA/git-andya
t/t9104-git-svn-follow-parent.sh
Shell
gpl-2.0
7,875
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2012-2018 Mike Shal <marfey@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distribu...
jonatanolofsson/tup
test/t3051-group-ordering2.sh
Shell
gpl-2.0
1,398
#!/bin/bash export KBUILD_BUILD_USER=omkar export KBUILD_BUILD_HOST=megatron007 ###### defines ###### export CROSS_COMPILE=~/toolchain/bin/aarch64-linux-android- export ARCH=arm64 export SUBARCH=arm64 local_dir=$PWD defconfig=bullhead_defconfig jobs=32 ###### defines ###### echo '#############' echo 'making clean' ...
Megatron007/megabyte_bullhead
build.sh
Shell
gpl-2.0
1,648
#!/bin/sh /etc/rc.common # Copyright (C) 2007 OpenWrt.org START=16 ENABLE_DEBUG_OUTPUT=0 bindir=/opt/lantiq/bin start() { [ -e ${bindir}/debug_level.cfg ] && . ${bindir}/debug_level.cfg insmod drv_ifxos debug_level=$ENABLE_DEBUG_OUTPUT }
kbridgers/VOLTE4GFAX
package/feeds/ltq_feeds_netcomp_cpe/ifx_IFXAPIs/files/ifx_load_ifxos_drv.sh
Shell
gpl-2.0
243
#!/bin/bash DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) ; parentDIR="$(dirname "$DIR")" ; grandparentDIR="$(dirname "$parentDIR")" ; greatgrandparentDIR="$(dirname "$grandparentDIR")" ; realgreatgrandparentDIR="${greatgrandparentDIR#*/cygdrive}" ; #--mirror http://mirrors.kernel.org/sourceware/cygwin/x86/ pa...
bmuchmore/CymeR
CymeR-Windows/BaseFiles/Install/install.sh
Shell
gpl-2.0
1,433
#!/bin/bash # show the manual for this script usage=$(cat << END usage: $0 <options> -- <run_benchmark_suite.py arguments> with <options>: -h|--help Show usage message -n|--name <string> Name for benchmark suite log file -g|--gpu <K40|RTX2080> Which GPU to run on -c|--cores <...
brian-team/brian2cuda
brian2cuda/tools/remote_run_scripts/run_benchmark_suite_on_cluster.sh
Shell
gpl-2.0
8,293
#!/bin/bash # Copyright 2012-2014 Johns Hopkins University (Author: Daniel Povey). Apache 2.0. # # This script, which will generally be called from other neural-net training # scripts, extracts the training examples used to train the neural net (and also # the validation examples used for diagnostics), and puts them ...
michellemorales/OpenMM
kaldi/egs/wsj/s5/steps/nnet2/get_egs2.sh
Shell
gpl-2.0
17,592
#!/bin/bash #Instalador de Mint Menu, para escritorio Mate, que ya debe estar instalado. El escritorio actual se puede revisar con: #~echo $XDG_SESSION_DESKTOP #Hacer: añadir el menú vía código al panel for i in $(curl http://packages.linuxmint.com/list.php?release=Betsy |grep -e mintmenu_ -e mint-translations_ -e m...
DellDor/InstaladoresDebian
mintmenu.sh
Shell
gpl-2.0
508
# create schema cd .. mvn dependency:unpack -Dartifact=org.wildfly:wildfly-dist:8.1.0.Final:zip -DoutputDirectory=. nohup bash -c "wildfly-8.1.0.Final/bin/standalone.sh 2>&1 &" && sleep 4 mvn dependency:copy -Dartifact=mysql:mysql-connector-java:5.1.34 -DoutputDirectory=wildfly-8.1.0.Final/standalone/deployments/ && sl...
mariuszfoltak/my-budget
.codeship.build.sh
Shell
gpl-2.0
923
convert images/OCS-707-A.png -crop 1541x279+0+0 +repage images/OCS-707-A-0.png convert -append images/OCS-706-B-9.png images/OCS-707-A-0.png images/OCS-706-B-9.png rm images/OCS-707-A-0.png convert images/OCS-707-A.png -crop 1541x399+0+296 +repage images/OCS-707-A-1.png convert images/OCS-707-A.png -crop 1541x74+0+702 ...
jonnymwalker/Staroslavjanskij-Slovar
scripts/findindents.OCS-707.sh
Shell
gpl-2.0
1,365
#! /bin/sh # Copyright (C) 2012-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/objc-minidemo.sh
Shell
gpl-2.0
1,768
# Test script that publishes data. Can be used together with pubsubevents.rb. dd if=/dev/urandom of=a.file bs=1 count=1023 dd if=/dev/urandom of=b.file bs=1 count=2047 dd if=/dev/urandom of=c.file bs=1 count=4095 dd if=/dev/urandom of=d.file bs=1 count=8191 psirptest -p -c aa:: -r ::1001 -f a.file sleep 0.5 psirptest...
srcman/blackhawk
examples/ruby/testevents.sh
Shell
gpl-2.0
700
#!/bin/bash # called by dracut check() { return 0 } # called by dracut depends() { echo udev-rules return 0 } # called by dracut install() { local _d inst_multiple mount mknod mkdir sleep chroot \ sed ls flock cp mv dmesg rm ln rmmod mkfifo umount readlink setsid inst $(command -v mo...
aidecoe/dracut
modules.d/99base/module-setup.sh
Shell
gpl-2.0
3,381
#!/bin/bash # # Unattended/SemiAutomatted OpenStack Installer # Reynaldo R. Martinez P. # E-Mail: TigerLinux@Gmail.com # OpenStack MITAKA 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-mitaka-installer-ubuntu1404lts
modules/postinstall.sh
Shell
gpl-3.0
2,598
#!/bin/bash # repeated runs of event-sort with 1 iteration and custom srand() seed (to fix input dataset) and vary number of threads for copying MEP fragments => any variation in throughputs? prog_name="event-sort" libiomp_dir=/home/xeonphi libs=../../lib/libiomp5.so flags="" niter=1 sblocksize=28 mblocksize=30 nruns=...
mathemage/xphi-lhcb
src/event-sort/runs-with-1-iteration-specific-seed-vary-copy-threads-exponential-range.sh
Shell
gpl-3.0
2,034
# Bash script to list&sort files to installation file # takes two arguments: foldier and wanted name of the installation file # Arrays for sorted depencies and temporary depency_array sort_array=() depency_array=() parallel_array=() #Array function: arraySort() { # save given modules to array array=( "$@" ) ...
ilarischeinin/chipster
src/main/admin/vm/installation_files/generate_installation_file.bash
Shell
gpl-3.0
1,942