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 |
|---|---|---|---|---|---|
GLOG_logtosterr=1 ../../build/tools/extract_image_features.bin prototxt/c3d_suturing_feature_extractor_frm.prototxt conv3d_deepnetA_sport1m_iter_1900000 -1 100 1 prototxt/output_list_prefix_suturing.txt conv5b | BerkeleyAutomation/vtsc | scripts/bash/c3d_suturing_feature_extraction.sh | Shell | mit | 209 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2014:0434
#
# Security announcement date: 2014-04-24 17:49:23 UTC
# Script generation date: 2017-01-01 21:15:15 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - qemu-img-rhev.x86_64:0.12.1.2-2.415.el6... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2014/RHSA-2014:0434.sh | Shell | mit | 1,282 |
#!/bin/sh
while true
do
git pull origin master
git submodule init
git submodule update
make -B
./cloogleirc "$@"
sleep 5s
done
| clean-cloogle/clean-irc | run.sh | Shell | mit | 133 |
#!/bin/bash
php bin/console doctrine:database:drop --force && php bin/console doctrine:database:create && php bin/console doctrine:schema:create && echo "Y"|php bin/console doctrine:fixtures:load
| InsaLan/insalan.fr | load_fixtures.sh | Shell | mit | 196 |
#!/bin/bash
#
# Josh Forester
# 2009/09/09
#
# This script upgrades the production database to be up to speed with development schema
# changes. This should only be used during a site roll.
#
SCHEMA_UPGRADE_PATH=`pwd`
source ../leaderboardAdmCreds.profile
printUsage() {
echo "Usage: $0"
echo " [--de... | joshforester/rdboard | src/sql/upgrade/upgradeDB.sh | Shell | mit | 859 |
## *
## String length.
##
## Params:
## *: {String} Text.
##
## Out: {Integer} String length.
local str="$(@remove-format "$@")"
echo ${#str}
| reduardo7/hsabx | src/utils/str-len.sh | Shell | gpl-2.0 | 145 |
#!/bin/sh
. `dirname ${0}`/lcp.sh
java -classpath $LOCALCLASSPATH -Djava.util.logging.config.file=logging.properties org.semanticdesktop.aperture.examples.ExampleImapCrawler $*
| yorkulibraries/vufind | import/aperture/bin/imapcrawler.sh | Shell | gpl-2.0 | 177 |
#!/bin/bash
aptitude -y install expect
// Not required in actual script
MYSQL_ROOT_PASSWORD=abcd1234
SECURE_MYSQL=$(expect -c "
set timeout 10
spawn mysql_secure_installation
expect \"Enter current password for root (enter for none):\"
send \"$MYSQL\r\"
expect \"Change the root password?\"
send \"n\r\"
expect \"... | jomijournal/jomi_wp | mysql_secure.sh | Shell | gpl-2.0 | 595 |
#!/bin/bash
# Determine python binary on CLI.
pythonBin=`which python`
# Run python script.
${pythonBin} $1 $2 $3 | woutsanders/stendenInnovate | server/ajaxWrap.sh | Shell | gpl-2.0 | 115 |
#!/bin/sh
port=53201
DOMAIN_NAME="project1.app"
FILE_NAME="project1_app"
if [ -z "$1" ]
then
echo "Info: No Environment is given will take prod as <env>"
else
ENV=$1
fi
case $ENV in
dev)
echo "-- DEV"
if [ ! -z "$2" ]
then
DOMAIN_NAME=$2
FILE_NAME=... | jguido/time-tracking | run.sh | Shell | gpl-2.0 | 2,029 |
#! /bin/sh
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | pylam/automake | t/dejagnu.sh | Shell | gpl-2.0 | 1,059 |
#!/bin/bash
###############################################################################
#
# DEFAULT CONFIGURATION FILE
#
# Do not edit this, edit config.sh instead.
#
###############################################################################
# Disk geometry
DISK_CYLINDERS=980
DISK_HEADS=5
DISK_SECTORS_PER_... | Quetuo/osdev | test/config-defaults.sh | Shell | gpl-2.0 | 565 |
#/bin/sh
string=filenametags
echo -e "!_TAG_FILE_SORTED\t2\t/2=foldcase/" > $string
find . -regex '.*\.\(c\|C\|h\|H\|cpp\|hpp\|cxx\|hxx\|sh\|xml\|inl\)' ! \( -path "*svn*" -o -path "*repo*" -o -path "*git*" \) -type f -printf "%f\t%p\t1\n" | sort -f >> $string
pwd=`pwd`
sed -i "s+\.\/+$pwd\/+g" $string | chengshiding/vim | tools/lookfile.sh | Shell | gpl-2.0 | 306 |
#################
# File with commands that make it easier to work with system mails
#################
#MODULE_PREFIX=m
# TODO: mail command is an utter load of crap. We'll have to process mail file directly using:
# grep -E '^Subject: ' /var/mail/kshitiz -n
# Returns list of mails that are unread
m_unread() {
:
}
... | Kshitiz-Sharma/BashFramework | scripts/system/mail.sh | Shell | gpl-2.0 | 767 |
#!/bin/bash -ex
source config.cfg
apt-get install -y mongodb-server mongodb-clients python-pymongo
sed -i "s/bind_ip = 127.0.0.1/bind_ip = $CON_MGNT_IP/g" /etc/mongodb.conf
service mongodb restart
sleep 40
cat << EOF > mongo.js
db = db.getSiblingDB("ceilometer");
db.addUser({user: "ceilometer",
pwd: "$CEILOMETE... | vietstacker/openstack-liberty-multinode | LIBERTY-U14.04-OVS/ctl-10-ceilometer.sh | Shell | gpl-2.0 | 2,624 |
#!/bin/sh
# the spi-config set the config to the PICAN module
# 10MHz SPI clock GPIO 25 for MCP2515 /INT and 16Mhz clock (crystal) - 0x2002 -> IRQF_ONESHOT
modprobe spi-config devices=bus=0:cs=0:modalias=mcp2515:speed=10000000:gpioirq=25:pd=20:pds32-0=16000000:pdu32-4=0x2002:force_release
modprobe mcp251x
ip link set ... | rdnetto/teapot-buildroot | board/rasplayer/rootfs_overlay/root/start-canbus.sh | Shell | gpl-2.0 | 372 |
cp ./tactile_object_recognition_main.lua $ICUBcontrib_DIR/bin/
cp ./tactile_object_recognition_funcs.lua $ICUBcontrib_DIR/share/ICUBcontrib/contexts/tactile-object-recognition/lua/
cp ./tactile_object_recognition_interact_fsm.lua $ICUBcontrib_DIR/share/ICUBcontrib/contexts/tactile-object-recognition/lua/
cp ./tactile_o... | tacman-fp7/tactile-control | data/objectRecognition/lua/install_lua.sh | Shell | gpl-2.0 | 428 |
convert images/OCS-205-A.png -crop 1513x233+0+0 +repage images/OCS-205-A-0.png
convert -append images/OCS-204-B-4.png images/OCS-205-A-0.png images/OCS-204-B-4.png
rm images/OCS-205-A-0.png
convert images/OCS-205-A.png -crop 1513x874+0+234 +repage images/OCS-205-A-1.png
convert images/OCS-205-A.png -crop 1513x805+0+110... | jonnymwalker/Staroslavjanskij-Slovar | scripts/findindents.OCS-205.sh | Shell | gpl-2.0 | 1,557 |
#!/bin/sh
TEMPLATE=messages.pot
./utils/update-schema-translations.sh
xgettext -kT_js_decl -kT_sprintf -kT_ngettext:1,2 -k__ -L PHP -o $TEMPLATE *.php help/*.php mobile/*.php classes/*.php include/*.php
xgettext --from-code utf-8 -k__ -L Java -j -o $TEMPLATE js/*.js
update_lang() {
if [ -f $1.po ]; then
TMPFILE=... | johnkeeping/tt-rss | utils/update-translations.sh | Shell | gpl-2.0 | 704 |
#!/usr/bin/env bash
# Run Drupal tests (@group Thunder)
cd ${TEST_DIR}/docroot
# execute Drupal tests
php ${TEST_DIR}/docroot/core/scripts/run-tests.sh --php `which php` --verbose --color --url http://localhost:8080 Thunder
| pixelmord/thunder-distribution | scripts/travis/run-tests.sh | Shell | gpl-2.0 | 226 |
#!/bin/bash
#
# Copyright (c) 2017 - Present Jeong Han Lee
# Copyright (c) 2017 - Present European Spallation Source ERIC
#
# The 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 o... | jeonghanlee/epicsarchiverap-sites | systemd_service/archappl_systemd_setup.bash | Shell | gpl-2.0 | 1,571 |
#!/usr/bin/env bash
PORT=${1:-8888}
INDEX_NAME=${2:-index_getjenny_english_0}
curl -v -H "Authorization: Basic $(echo -n 'test_user:p4ssw0rd' | base64)" \
-H "Content-Type: application/json" \
-X GET http://localhost:${PORT}/${INDEX_NAME}/stream/term
| GetJenny/starchat | scripts/api_test/getTermStream.sh | Shell | gpl-2.0 | 256 |
#!/bin/bash
SNAPSHOT_MOUNT_POINT='/mnt/snapshots'
SNAPSHOT_MOUNT_OPTIONS='nouuid,ro' # xfs needs nouuid
SNAPSHOT_SIZE='50%ORIGIN'
SNAPSHOT_PREFIX='snap_'
DEFAULT_VOLUME_GROUP='vg00'
REQUIREMENTS="/sbin/lvremove /sbin/lvcreate /sbin/lvs"
# check for waitmax binary
WAITMAX_BINARY="$(which waitmax)"
get_volumes(){
... | stevie-/helper-scripts | lvm_mount_snapshots.sh | Shell | gpl-2.0 | 4,829 |
#!/bin/bash
set -e
#set -x
. 00-configs
KEYSTONEPASS="`openssl rand -base64 16`"
setupsql() {
slapt-get -u
slapt-get -i mariadb
sed -i 's,SKIP="--skip-networking",# SKIP="--skip-networking",' /etc/rc.d/rc.mysqld
echo "[mysqld]
default-storage-engine = innodb
collation-server = utf8_general_ci
init-c... | bogdanr/openstack-build | 01-keystone.sh | Shell | gpl-2.0 | 4,154 |
#!/bin/bash
# Make sure warpspeed environment vars are available before proceeding.
if [ -z "$WARPSPEED_ROOT" ] || [ -z "$WARPSPEED_USER" ]; then
echo "Error: It appears that this server was not provisioned with Warpspeed."
echo "WARPSPEED_ROOT and WARPSPEED_USER env vars were not found."
exit 1
fi
# Impo... | warpspeed/warpspeed | installers/nginx.sh | Shell | gpl-2.0 | 1,914 |
#!/bin/bash
. `dirname $0`/functions.sh
rm -f shuffle5 shuffle5lib*.so shuffle5.log shuffle5.lds
rm -f prelink.cache
$CC -shared -O2 -fpic -o shuffle5lib1.so $srcdir/reloc1lib1.c
$CC -shared -O2 -fpic -o shuffle5lib2.so $srcdir/reloc1lib2.c shuffle5lib1.so
BINS="shuffle5"
LIBS="shuffle5lib1.so shuffle5lib2.so"
$CCLINK ... | ystk/debian-prelink | testsuite/shuffle5.sh | Shell | gpl-2.0 | 1,036 |
#!/bin/bash
#
# Start the simulation
#
# Be sure to create a Makefile first and compile all Verilog and VHDL files.
#
vsim -t ps -voptargs=+acc wrapreconfmodule_cfg -do "do wave-<app>.do ; do config.do ; run -all"
| hansiglaser/chll | tools/flowcmd/templates/app/sim-reconfmodule/sim.sh | Shell | gpl-2.0 | 215 |
# Skript zum Neustart aller OpenStack Nova Dienste
for i in nova-novncproxy nova-api nova-cert nova-conductor nova-consoleauth nova-scheduler nova-network nova-api-metadata nova-compute
do
sudo service "$i" restart
done
| rm--/CustomizeSetup | additional/nrestart.sh | Shell | gpl-2.0 | 221 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2010-2020 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | ppannuto/tup | test/t2186-lua-foreach-ext.sh | Shell | gpl-2.0 | 1,154 |
#!/usr/bin/env bash
set -eo pipefail
# Check for release branch - not using grep as set -e means it fails script
RELEASE_BRANCH=$(echo "$TRAVIS_BRANCH" | sed -n 's/^release\-/&/p')
#Get the release type (dev/master) from the branch name
TYPE="$TRAVIS_BRANCH"
if ([ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "${TRAVIS... | mbssantos/StockFlux | deploy.sh | Shell | gpl-3.0 | 2,701 |
#!/bin/bash
svgexport ACI.svg ACI.png 100% 5000:
svgexport ASCI.svg ASCI.png 100% 5000:
svgexport CISD.svg CISD.png 100% 5000:
svgexport FCI.svg FCI.png 100% 5000:
svgexport HBCI.svg HBCI.png 100% 5000:
| shivupa/pyci | plots/convert.sh | Shell | gpl-3.0 | 204 |
#!/bin/bash
# uncomment next line for interactive checking of generated output
PYTHON="ipython2 --pylab -i"
# non-interactive shell. Check results afterwards
PYTHON="python2.7"
# Follow a gradient. Attraction depends on the distance from the attractor.
# The randome xcursions of the neurite become smaller as the neur... | russellijarvis/neuromac | examples/run_gradient.sh | Shell | gpl-3.0 | 785 |
#!/bin/bash
version="$1"
mkdir -p "binaries/""$version"
name="binaries/""$version""/linx-client-v""$version""_"
GOOS=darwin GOARCH=amd64 go build -o "$name"osx-amd64
GOOS=darwin GOARCH=386 go build -o "$name"osx-386
GOOS=freebsd GOARCH=amd64 go build -o "$name"freebsd-amd64
GOOS=freebsd GOARCH=386 go build -o "$na... | andreimarcu/linx-client | build.sh | Shell | gpl-3.0 | 797 |
# ubuntu-restricted-*
sudo apt install -y ubuntu-restricted-extras ubuntu-restricted-addons
exit $?
| Yixf-Education/configure_Linux | 01_essential/01_ubuntu-restricted.sh | Shell | gpl-3.0 | 101 |
#!/bin/bash
rm *.txt
echo "removing files *.txt"
for i in $(seq 3 1 12)
do
echo "start of simulation with ROV period $i"
ns $1 $i>> my_log.txt
grep -Po 'x = ([-0-9.\n]*[,]*)' $2 | grep -o '[-0-9.]*' >> x$i.txt
grep -Po 'y = ([-0-9.\n]*[,]*)' $2 | grep -o '[-0-9.]*' >> y$i.txt
grep -Po 'z = ([-0-9.\n]*[,]*)' $2 ... | AlbertoSig/Project_Simulation | dataExtraction_rtt.sh | Shell | gpl-3.0 | 2,303 |
#!/bin/bash
#
# Creates the jsdoc documentation
#
# Usage:
# jsdoc.sh [outputdir]
#
OUTDIR=$1
: ${OUTDIR:="out"}
# the path where jsdoc is installed
# If not installed, clone it from github:
# $ git clone https://github.com/jsdoc3/jsdoc
JSDOC_HOME=../jsdoc
# the path to the jsdoc templates and project specif... | Gubaer/josm-scripting-plugin | jsdoc.sh | Shell | gpl-3.0 | 953 |
#!/bin/bash
# Description: It reads email messages that contain the names
#
# Author: Bernardo Gomez.
# Creation date: March 2000
#
#modified to run with Alma to notify library staff that a file is available for pickup 04-01-2016-agc
#check to see if the record is marc8
is_marc8 () {
unset tmarc8;
tmarc8=$(egrep '[... | Emory-LCS/Alma-Public | PromptCatFirm/ybp_firm_receive.sh | Shell | gpl-3.0 | 7,942 |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
args=$@
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
if [ ! -f $srcdir/configure.in ]; then
echo -n "**Error**: Directory '"$srcdir"' does not look like the top-level package directory"
exit 1
fi
autoconf --version > /dev/null 2>&1
if [ $? -ne ... | brestows/kdeNeur | autogen.sh | Shell | gpl-3.0 | 2,376 |
#!/bin/bash
for DRAFT in draft-kundrat-imap-submit draft-kundrat-incthread; do
~/.local/bin/xml2rfc "${DRAFT}.xml" --html --text \
&& ./convert-txt-rfc-to-pdf.sh "${DRAFT}"
done
| bobo1993324/qmlTrojita | src/trojita/docs/proposed-extensions/build.sh | Shell | gpl-3.0 | 191 |
#!/bin/sh
go test -v ./...
#go test -v./... -cover
#go test ./...
| daviddavis/speedtest | test.sh | Shell | gpl-3.0 | 66 |
current_branch=`git rev-parse --abbrev-ref HEAD`
if [ "$current_branch" == "chaudhary" ]; then
#echo -e 'Checkout to master'
echo #Newline
git checkout master
echo "Merge chaudhary in ^"
git merge chaudhary
echo #Newline
git checkout tanjot
echo "Merge master in ^"
git merge... | carts-uiet/cartsbusboarding | merge-all.sh | Shell | gpl-3.0 | 520 |
#!/bin/bash
set -e
dockerImage="bcosorg/bcos:latest"
genConfig()
{
idx=0
miner_path=$PWD/node-0
genesis="false"
minerInfo=""
systemproxyaddress=0x0
if [ $# = 0 ];then
genesis="true"
elif [ $# = 2 ];then
idx=$1
miner_path=$2
if [ ! -f "${miner_path}/config.js... | bcosorg/bcos | docker/scripts/genConfig.sh | Shell | gpl-3.0 | 4,551 |
#!/usr/bin/env bash
set -e
set -x
# This script assumes the ASTE binaries and python scripts are in $PATH
# Furthermore, execute in ./contrib or copy precice.xml from there to $PWD
# Download the red blood cell
test -f rbc.vtk || wget "https://people.sc.fsu.edu/~jburkardt/data/vtk/rbc_001.vtk" -O rbc.vtk
# Downloa... | precice/aste | contrib/demo.sh | Shell | gpl-3.0 | 1,295 |
#!/usr/bin/env bash
clear
echo ""
echo "Loading $1 project file..."
echo ""
while IFS='' read -r LINE || [[ -n $LINE ]];
do
echo $LINE
arrLINE=(${LINE//" "/ })
key=${arrLINE[0]}
value=${arrLINE[1]}
case $key in
-pr)
PRWD=$value
;;
-i)
INDEX=$value
;;
-d)
READS=$value
;;
-g)
GENOMES=$value
... | exseivier/scripts | ban-4.0/load.sh | Shell | gpl-3.0 | 2,914 |
#!/bin/bash
# This script is meant to be called by the "install" step defined in
# .travis.yml. See http://docs.travis-ci.com/ for more details.
# The behavior of the script is controlled by environment variabled defined
# in the .travis.yml in the top level folder of the project.
set -e
# Check if we are running Pyt... | mverzett/rootpy | ci/install.sh | Shell | gpl-3.0 | 1,549 |
#!/bin/bash
echo "$1" | grep -q "^[1-9]$" || { echo "Usage: `basename $0` <1|2|3|..|9>"; exit 0; }
[ "$2" != "" ] && DURATION_S=$2 || DURATION_S=200
OPT="-i 10 -N64 -B"
OPT="$OPT -u -R1.1M"
BS=32
BS=736
BS=1400
BS=1472
BS=1473
BS=2944
BS=2945
BS=31072 # ?!
BS=64768
BS=64769
BS=65507
BS=200
BS_DD=512k
DIRECT="ofl... | joymarquis/mscc | projects/sp/utils/perf/nuttcp/tsa_s.sh | Shell | gpl-3.0 | 589 |
# DEL key
bindkey "${terminfo[kdch1]}" delete-char
# Fish autosuggestions
bindkey '^N' up-line-or-beginning-search
bindkey '^P' down-line-or-beginning-search
# Vi Mode
export KEYTIMEOUT=1
bindkey -v
# Fix backspace after leaving vi mode
bindkey '^?' backward-delete-char
# Fix delete last word after leaving vi mode
... | UndeadLeech/dotfiles | files/zsh/keys.zsh | Shell | gpl-3.0 | 974 |
#!/bin/bash
echo "### test global config - must run alone so the global config does not confuse others"
echo /etc/parallel/config | sudo parallel "mkdir -p /etc/parallel; echo --tollef > "
parallel -k echo -- 1 2 3 ::: a b c
parallel -k --gnu echo ::: 1 2 3 -- a b c
echo --gnu > ~/.parallel/config
parallel -... | thinrope/GNU_parallel | testsuite/tests-to-run/parallel-local152.sh | Shell | gpl-3.0 | 541 |
#/bin/sh
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR
cd ../
echo "- Utility Function tests"
./esstoolkit/tests/runtest_macos.sh esstoolkit.tests.test_utility_functions
echo "- Gate Transformer tests"
./esstoolkit/tests/runtest_macos.sh esstoolkit.tests.test_gate_transformer
echo "- ... | SpaceGroupUCL/qgisSpaceSyntaxToolkit | scripts/runTestsMacOS.sh | Shell | gpl-3.0 | 521 |
#!/usr/bin/env bash
dpkg-buildpackage -F -I*.userprefs -Iobj -I.git* -Ibin -Idebian -I*.sh -I*.png
| ce3a/indicator-stocks | package-deb.sh | Shell | gpl-3.0 | 100 |
:
# ----------------------------------
# $APPASERVER_HOME/utility/du_gig.sh
# ----------------------------------
if [ "$#" -eq 1 ]
then
cd $1
fi
find . -xdev -type d -print 2>/dev/null |
xargs.e 'du -hxs "{}" 2>/dev/null' |
grep '^[1-9][0-9]*\.*[0-9]*G' |
sort -nr |
head -20
exit 0
| timhriley/appaserver | utility/du_gig.sh | Shell | gpl-3.0 | 298 |
#!/bin/bash
#cmp_or_quit expected returned
function cmp_or_quit {
cmp $1 $2
if [[ "$?" == 0 ]]; then
rm $2
else
exit
fi
}
echo "test paired:"
python2.6 ../demultadapt.py -l 1.0 -f indi_A_1.fastq -F indi_A_2.fastq -p returned -v adaptateur.txt
echo "check:"
cmp_or_quit expected-indiv... | SouthGreenPlatform/arcad-hts | tests/demultadapt/test.sh | Shell | gpl-3.0 | 992 |
#!/bin/bash
# List of langs supported by Paperwork. Langs are separated by spaces.
# For each language, the most common system locale and its short writing
# must be specified (separated by ':')
LANGS="de_DE.UTF-8:de
es_ES.UTF-8:es
fr_FR.UTF-8:fr
uk_UA.UTF-8:uk"
usage()
{
echo "usage:" >&2
echo " $0 (upd-po|gen-mo... | openpaperwork/paperwork | paperwork-gtk/localize.sh | Shell | gpl-3.0 | 3,847 |
#!/bin/sh
# manuell:
# for D in $(ls -l /var/www/$SUB | grep ^d | while read LINE; do set -- $LINE; echo $9; done); do du -sh "/var/www/$D" ; done
# SUB='networks'; for D in $(ls -l /var/www/$SUB | grep ^d | while read LINE; do set -- $LINE; echo $9; done); do du -sh "/var/www/$SUB/$D"; done
BASE... | bittorf/kalua | openwrt-monitoring/show_bigfiles.sh | Shell | gpl-3.0 | 1,923 |
#!/bin/sh
# Use in mingw shell
# KEIL 5 ARM MDK must be installed at: PATH_KEILARM
# flash_write_loader D:/Projects/EdiabasLib/EdiabasLib/CanAdapterElm/Other/Bk3231Flash/write_flash.bin
arm_path=$(echo "/$PATH_KEILARM/ARMCC/bin/" | sed 's/\\/\//g' | sed 's/://')
export PATH=$arm_path:$PATH
make -k -B
| uholeschak/ediabaslib | EdiabasLib/CanAdapterElm/Other/Bk3231Flash/bk3231_make.sh | Shell | gpl-3.0 | 303 |
# Common utility EC2 functions. Meant to be sourced by other scripts
# Depends on:
# - ec2-api-tools
# - awk
# execute OUPUT_VAR "some command and its opts"
# the output will be flatenned to one line
INSTANCE_POSSIBLE_STATUS="pending running shutting-down terminated stopping stopped"
DATE_REGEXP='^20[0-9][0-9]-[0-1][... | ali-shaikh1190/workarounds | aws-bash-tools/aws-common.sh | Shell | gpl-3.0 | 2,769 |
#!/bin/bash
#------------------------------------------------------------------------------------------------------
# SolarPi - Installation script
#------------------------------------------------------------------------------------------------------
# (C) 2017 Dominik Schäfer - domme@solarcoin.mehrunfug.org
# This ... | Dommsko/SolarPi | Automation_Custom_Script.sh | Shell | gpl-3.0 | 4,199 |
#!/bin/bash
DIR=`dirname $0`/
TRANSLATED=${DIR}temp/
mkdir -p ${TRANSLATED}
# $1 contains the input filename (the name of the TLSF-file).
# we need to call syfco to create the ltl and part files for acacia
INPUT_FILE=$1
BASE_FILE=$(basename $INPUT_FILE)
BASE_FILE_NOEXT="${BASE_FILE%.*}"
COMMAND="${DIR}binary/syfco -f a... | gaperez64/acacia4aiger | par_real_conf1.sh | Shell | gpl-3.0 | 905 |
#!/bin/bash
# Script to generate field with an low amplitude traveling pulse
# to test the nonreflecting boundary condition
set -eu
Nx=1
Ny=96
k=6
htdelta=1
Nz=1
bulk_rho=NaN
# Generate a restart file and then modify it with an initial pulse
filename="pulse_perfect_physical.h5"
../perfect_initial --clobber ${filename... | RhysU/suzerain | apps/perfect/manual.nrbc/pulse_perfect_init.sh | Shell | gpl-3.0 | 512 |
#!/bin/sh
# Author: Eray Ozkural <eray@pardus.org.tr>
pwd
PATH=$PATH:.
set -x -e
pisi-cli -Dtmp -E --ignore-build-no build tests/zip/pspec.xml tests/unzip/pspec.xml
pisi-cli -Dtmp --yes-all --ignore-comar install unzip-5.50-1.pisi zip-2.3-1.pisi
mkdir -p myrepo
cd myrepo
mkdir -p tmp
../pisi-cli -Dtmp -E --ignore-b... | examachine/pisi | tests/upgrade.sh | Shell | gpl-3.0 | 761 |
#!/bin/bash
set -euo pipefail
script_dir="$(readlink -f "$(dirname "$0")")"
reformat() {
expand -t 4 "$1" | clang-format > "$1.__reformat-tmp"
mv "$1.__reformat-tmp" "$1"
}
git diff --name-only -z '*.cpp' '*.h' |
while read -r -d '' file; do
"$script_dir/fix-includes.pl" "$file"
reformat "$file"
don... | MHeasell/rwe | format-changed.sh | Shell | gpl-3.0 | 486 |
#!/bin/bash
######################################################################
#By Tummy a.k.a Vincent C. Passaro #
#Vincent[.]Passaro[@]gmail[.]com #
#www.vincentpassaro.com #
######################################################################
#_________________________________... | jason-callaway/stig-fix | cat2/gen001362.sh | Shell | gpl-3.0 | 2,322 |
#!/bin/bash
#Here is a sample custom api script.
#This file name is "dns-myapi.sh"
#So, here must be a method dns-myapi-add()
#Which will be called by le.sh to add the txt record to your api system.
#returns 0 meanst success, otherwise error.
######## Public functions #####################
#Usage: add _acme-c... | colegatron/le | dnsapi/dns-myapi.sh | Shell | gpl-3.0 | 874 |
#!/bin/bash
#
# This script create a flat list of all content items, then use that list to
# construct a JSON object string for publishing. To use this script:
#
# 1) Copy the work-area folder of a site via WebDAV to the local machine.
#
# 2) While in that local work-area folder, run this script like this:
#
# ... | hlim/studio | alfresco-svcs/get-pub-list.sh | Shell | gpl-3.0 | 1,381 |
#! /bin/bash
function ngc-compile() {
ghc -Wall -O2 -o ngc Main.hs -prof -v
}
| R-Morgan/NGramCrackers | src/compile.sh | Shell | agpl-3.0 | 80 |
#!/bin/bash
CONTAINER="golang:1.8-alpine"
SOURCES="$GOPATH/src"
TARGET="$GOPATH/bin/alpine"
ATTRS="`bash version.sh`"
rm -rf $TARGET exchange
mkdir -p $TARGET/bin $TARGET/pkg
/usr/bin/docker run --rm --user `id -u $USER`:`id -g $USER` \
--volume ${SOURCES}:/usr/p/src:ro \
--volume $TARGET/pkg:/usr/p/pkg \
--volum... | z0rr0/exchange | container.sh | Shell | agpl-3.0 | 593 |
#!/bin/bash
DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
. $DIR/set_partition_vars.sh
# data & docker - important names, used in write_fstab.sh
btrfs subvolume create ${STORAGE_MOUNTPOINT}/data
btrfs subvolume create ${STORAGE_MOUNTPOINT}/docker
# potentially stop all running containers
docker_pids=$(docke... | cloudfleet/blimp-engineroom | bin/cryptpart/create_btrfs_partitions.sh | Shell | agpl-3.0 | 1,411 |
#!/usr/bin/env bash
#===============================================================================
# FILE: transmission.sh
#
# USAGE: ./transmission.sh
#
# DESCRIPTION: Entrypoint for transmission docker container
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---... | romlinch/transmission | transmission.sh | Shell | agpl-3.0 | 3,715 |
#!/bin/bash
usage() {
echo "Usage: ${0##*/} <version>
Downloads and packs the phar file of composer.
"
exit 1
}
[ -z "$1" ] && usage
set -e
version="$1"
self_bin=$(readlink -e "$0")
if [ $? -ne 0 ]; then
echo "Error: unable to determine self path" 1>&2
exit 1
fi
self_dir=${self_bin%/*}
sys_dir=${self_di... | devpanel/serverlink | src/packages/composer/pack.sh | Shell | agpl-3.0 | 1,061 |
#!/bin/sh
#
# Run the DDX Crawler program
#profiler="-javaagent:/Users/jimg/src/jip-src-1.2/profile/profile.jar \
#-Dprofile.properties=/Users/jimg/src/olfs/resources/metacat/profile.properties"
java $profiler -Xms256m -Xmx1024m -jar ../libexec/DDXCrawler.jar $*
| OPENDAP/olfs | retired/resources/metacat/ddx_crawler.sh | Shell | lgpl-2.1 | 266 |
#!/bin/sh
# Run ipython notebook tests
testfail=0
curl -OLk http://www.dropbox.com/s/1x4ny0c93gvu54n/toy_mstis_1k_OPS1.nc
curl -OLk http://www.dropbox.com/s/qaeczkugwxkrdfy/toy_mistis_1k_OPS1.nc
ls *nc
#python ipynbtest.py "sliced_sequential_ensembles.ipynb" || testfail=1
cd toy_model_mstis/
date
ipynbtest.py "toy_mst... | jhprinz/openpathsampling | examples/ipynbtests.sh | Shell | lgpl-2.1 | 1,361 |
#!/bin/bash
# Bash version of homework client
# Author: Michael Verkhovykh
echo "/home/michael/Projects/ifmo/os/hw1/c/tester.c" > input
nc 127.0.0.1 10800 < input # send request
nc 127.0.0.1 10800 # receive answer | mihver1/os4-hw1-bash | client.sh | Shell | lgpl-3.0 | 223 |
rake db:drop
rake db:create
rake db:migrate
rake db:seed --trace
| tuliglowicz/resource-substitution | rake.sh | Shell | lgpl-3.0 | 65 |
#!/bin/bash
script_dir="$(dirname "$0")"
source "${script_dir}/ubuntu-package-env.sh"
cd ${script_dir}/../..
variant=${variant:-test}
echo "Build variant: $variant"
#ICL_OPTIONS+=" -DBUILD_WITH_IPP=ON -DBUILD_WITH_MKL=ON "
configure_icl
echo $HOSTNAME > docker_container_id.log
if [ "$variant" = "binary" ]
then
mk... | iclcv/icl | packaging/scripts/build-ubuntu-packages.sh | Shell | lgpl-3.0 | 987 |
add_package --build generic \
--version 5.3 \
http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/ar/lxml-101.tar.gz
pack_set --module-requirement lua
pack_set --install-query $(pack_get --LD lua)/lua/$lua_V/xml.so
pack_cmd "make LUA_TOPDIR=$(pack_get --prefix lua) CFLAGS='$CFLAGS' LIBDIR=$(pack_get --LD lua)/... | zerothi/bash-build | lua/xml.bash | Shell | lgpl-3.0 | 345 |
add_package https://launchpad.net/xmlf90/trunk/1.5/+download/xmlf90-1.5.4.tar.gz
pack_set -s $IS_MODULE -s $BUILD_DIR
pack_set --install-query $(pack_get --LD)/libxmlf90.a
pack_set --lib -lxmlf90
# Install commands that it should run
pack_cmd "../configure" \
"--prefix $(pack_get --prefix)"
# Make commands
pack_c... | zerothi/bash-build | libs/xmlf90.bash | Shell | lgpl-3.0 | 375 |
#!/bin/bash
./bootstrap.sh
source setup.env
cd bundles
for b in $(ls); do
if [ -d $b ];then
cd $b
./build.sh
cd ..
fi
done
| Colibri-Embedded/colibri-linux | build.sh | Shell | lgpl-3.0 | 134 |
#!/bin/bash
doySTART=2000000
doyEND=2016000
#Merge datasets
#mkdir -p ~/DATA
#DEM PROCESSING
#dump all srtm tiles you downloaded into the srtm directory
#then set your geographical box of interest (tiles have to cover it)
xmin=79.4
ymin=5.9
xmax=82.0
ymax=9.9
WGS84='EPSG:4326'
#Go to Data Directory and fetch the first ... | YannChemin/distRS | country/SriLanka/02_preprocessing.sh | Shell | unlicense | 7,309 |
#!/usr/bin/env bash
# MIT licensed template copied from https://github.com/fhd
dir="."
cmd="caffeinate -disu"
# not used in this script
# user="$(whoami)"
name=`basename $0`
pid_file="${HOME}/var/run/$name.pid"
stdout_log="${HOME}/var/log/$name.log"
stderr_log="${HOME}/var/log/$name.err"
get_pid() {
cat "$pid_fi... | SkyLeach/poweruser_tools | scripts/macaff.sh | Shell | unlicense | 1,773 |
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-docs \
--docdir=/usr/share/doc/fontconfig-2.12.1 &&
make
make install
| pampa/cyberdeck | try4/usr/src/gui/fontconfig.sh | Shell | unlicense | 215 |
#!/bin/bash
USER='brahman'
PASSWORD=`/usr/bin/awk -F "'" ' /^password=/{print $2}' </root/.my.cnf`
OUTPUT="/d1/backup/mysql/"
databases=`mysql --user=$USER --password=$PASSWORD -e "SHOW DATABASES;" | tr -d "| " | grep -v Database`
for db in $databases; do
if [[ "$db" != "information_schema" ]] && [[ "$db" != "pe... | carthagecollege/archer | bin/mysqlbackup.all.sh | Shell | unlicense | 704 |
# -----------------------------------------------------------------------------
#
# Package : arr-union
# Version : 3.1.0
# Source repo : https://github.com/jonschlinkert/arr-union
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com>
... | ppc64le/build-scripts | a/arr-union/arr-union_rhel_8.3.sh | Shell | apache-2.0 | 3,066 |
#!/bin/bash
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | GoogleCloudPlatform/ai-platform-samples | training/pytorch/structured/python_package/scripts/train-hptuning.sh | Shell | apache-2.0 | 2,613 |
#!/bin/sh
# $Id: cleanbuilds.sh 95621 2012-03-17 12:12:23Z johnnyw $
if test -z $1; then CURRENTDATE=YYYY_MM_DD; else CURRENTDATE=$1; fi
wget http://teststat.theaceorb.nl/teststat/cleanbuild_testfails-$CURRENTDATE.txt -O cleanbuild.txt
#
grep -h \!FIXED_BUGS_ONLY ${ACE_ROOT}/tests/*.lst ${ACE_ROOT}/bin/*.lst ${TAO_RO... | batmancn/TinySDNController | ACE_wrappers/bin/cleanbuilds.sh | Shell | apache-2.0 | 538 |
#!/usr/bin/env sh
cp -R /usr/src/demo/authenticatedws /usr/src/
npm install --global /usr/src/demo/authenticatedws
npm install --global /usr/src/demo/broker
npm install --global /usr/src/demo/collector
npm install --global /usr/src/demo/dispatcher
| patriziobruno/wsqdemo | install.sh | Shell | apache-2.0 | 248 |
#!/bin/sh
# Copyright 2013 Google Inc.
#
# 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 agreed to in... | ifengtech/dashclock | api/javadoc-scripts/generate_javadoc.sh | Shell | apache-2.0 | 1,283 |
#!/usr/bin/env bash
# this code will be executed when build finished
# or on interupt signal.
# skip cleanup argv
[[ "$SKIP_CLEANUP" == "true" ]] && return
echo -n "CLEANUP..."
$SUDO rm -fr "${BUILD_WORSPACE}/*"
echo " [DONE]"
| weldpua2008/compage | ExampleProject/cleanup.sh | Shell | apache-2.0 | 230 |
#!/bin/bash
#
# Example usage:
# flowchart.sh azure-operator-master --tenant-cluster xyz99 --open-browser
#
# where 'azure-operator-master' is App CR name and 'xyz99' is tenant cluster ID
# and '--open-browser' flag indicates that a default browser will open the
# generated flowchart.
#
# check if required CLI tool... | giantswarm/azure-operator | scripts/flowchart.sh | Shell | apache-2.0 | 3,075 |
SOLR_DIR=/home/mlp/apps/solr
SOLR_HOME=`pwd`/solr-conf
DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044"
cd $SOLR_DIR/bin
# . solr start -s $SOLR_HOME
. solr start -s $SOLR_HOME -a "${DEBUG_OPTS}"
| flaxsearch/BioSolr | spot/spot-ontology/ontology_solr.sh | Shell | apache-2.0 | 232 |
#!/bin/sh
export PYTHONPATH=$PYTHONPATH:./libs
ls problem_*py | xargs -n1 python
| mytram/learning-python | projecteuler.net/run-all.sh | Shell | apache-2.0 | 83 |
#!/bin/bash
source ~/.profile
if [ ! -d /usr/local/secor ]; then
cd /usr/local
sudo git clone https://github.com/pinterest/secor.git
sudo mkdir /usr/local/secor/bin
fi
if ! grep "export SECOR_HOME" ~/.profile; then
echo -e "\nexport SECOR_HOME=/usr/local/secor\nexport PATH=\$PATH:\$SECOR_HOME/bin" | cat >> ~... | InsightDataScience/pegasus | install/kibana/install_kibana.sh | Shell | apache-2.0 | 488 |
#!/bin/bash
DIR=$(cd "$(dirname "$0")"; pwd)
sh $DIR/maven.sh clean install -q -DskipTests -s $DIR/central-settings.xml
| jooby-project/jooby | etc/travis-install.sh | Shell | apache-2.0 | 122 |
#!/bin/bash
# Make the build fail on errors.
set -e
# Strip the first part to avoid credentials leaks.
echo "repository=$(echo $repository | sed s/^.*@//g)"
echo "package_type=$package_type"
echo "packages=$packages"
echo "upgrade=$upgrade"
# Strip leading/trailing quotes if present.
repository=`echo $repository | s... | cfieber/rosco | rosco-web/config/packer/install_packages.sh | Shell | apache-2.0 | 2,425 |
#!/bin/bash
# The call to setenv.sh can be commented out if necessary.
export XAP_HOME=`dirname $0`/../../
. `dirname $0`/../../bin/setenv.sh
JAVACMD="${JAVA_HOME}/bin/java"
CPS=":"
export CPS
VELOCITY_JARS="${XAP_HOME}"/lib/platform/velocity/*
export VELOCITY_JARS
COMMONS_JARS="${XAP_HOME}"/lib/platform/commons/*... | Gigaspaces/xap-openspaces | tools/apache/apache-lb-agent.sh | Shell | apache-2.0 | 800 |
#!/bin/bash
# This is a basic online neural net training.
# After this you can do discriminative training with run_nnet2_discriminative.sh.
set -e
#set -x
train_stage=-10
use_gpu=true
test_sets=
nj=8
num_jobs_nnet=3
gauss=19200
pdf=9000
srcdir=$EXP/tri2b
tgtdir=$EXP/nnet2
. utils/parse_options.sh
if [ $# -ne 2 ] ; ... | UFAL-DSG/kams | kams/local/run_nnet_online.sh | Shell | apache-2.0 | 2,401 |
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | Acehaidrey/incubator-airflow | scripts/docker/install_mysql.sh | Shell | apache-2.0 | 2,458 |
#!/bin/bash
ip=$1
host=$2
port=$3
user=$4
password=$5
dbname=$6
community=$7
filter_os_disk=$8
tags=$9
#echo $tags
if [ x"$filter_os_disk" = x ];then
filter_os_disk="none"
fi
mysql_client="mysql -h${host} -P${port} -u${user} -p${password}"
hostname=`/usr/bin/snmpwalk -v1 -c ${community} ${ip} SNMPv2-MIB::... | JK-Warriors/Heimdallr | python/check_os.sh | Shell | apache-2.0 | 8,271 |
#!/bin/bash
ORACLE_JAVA_URL="http://download.oracle.com/otn-pub/java/jdk"
ORACLE_JAVA7_URL="${ORACLE_JAVA7_URL:-$ORACLE_JAVA_URL/7u80-b15/jdk-7u80}"
ORACLE_JAVA7_NAME="jdk1.7.0_80"
ORACLE_JAVA8_URL="${ORACLE_JAVA8_URL:-$ORACLE_JAVA_URL/8u74-b02/jdk-8u74}"
ORACLE_JAVA8_NAME="jdk1.8.0_74"
function setup_java {
# Ja... | FedericoRessi/networking-odl | devstack/setup_java.sh | Shell | apache-2.0 | 6,410 |
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); y... | mafulafunk/wicket | revert-release.sh | Shell | apache-2.0 | 1,825 |
#!/usr/bin/env bash
#sudo apt-get update
#sudo apt-get install -y git xvfb nodejs npm nodejs-legacy chromium-browser libexif12 iptraf ntp
#cd
#git clone https://github.com/CodeYellowBV/run-headless-chromium.git
#cd run-headless-chromium
#npm install
#cd
#mkdir legion
#cd
sudo find /etc/ntp.conf -type f -print0 |... | albertlinde/Legion | applications/gdrive_tests/scripts/setup.sh | Shell | apache-2.0 | 443 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.