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 # First arg: folder name of unpacked tar # Second arg: name of tar archive # Third arg: url where to get tar archive function getTar { if [ ! -d $1 ]; then [ ! -f $2 ] && wget $3 echo "Unpacking $2" tar -xf $2 cd .. else echo 'Already up-to-date' fi } function getLatestGit { if [ -d $1 ]; th...
tass-belgium/EmbeddedMT
3rdparty/get3rdparty.sh
Shell
gpl-2.0
1,557
#!/usr/bin/env bash PACKAGES="cmake pkgconfig fftw libogg libvorbis lame libsndfile libsamplerate jack sdl libgig libsoundio stk fluid-synth portaudio node fltk carla" if [ $QT5 ]; then PACKAGES="$PACKAGES qt5" fi brew install $PACKAGES ccache if [ -z "$QT5" ]; then brew tap cartr/qt4 brew tap-pin cartr/qt4 bre...
RebeccaDeField/lmms
.travis/osx..install.sh
Shell
gpl-2.0
361
#!/bin/bash export ARCH=arm export CROSS_COMPILE=/opt/toolchains/arm-eabi-4.8/bin/arm-eabi- make -j8 ARCH=arm lineageos_ja3gxx_defconfig make -j8 ARCH=arm
OPNay/android_kernel_samsung_jalte
build_kernel_test.sh
Shell
gpl-2.0
157
#!/bin/bash fn_help() { echo "*** Error: ${1} ***" echo -e "\n Usage:" echo -e "\n For discovery: ${0} <json> discovery or ${0} <json> net_discovery" echo " * Example #1: Discover process pids with exactly names \"trivial-rewrite\" and \"qmgr\" that are owned by postfix and discover process pids with \"zabb...
galindro/zabbix-enhanced-templates
scripts/get_proc_stats.sh
Shell
gpl-2.0
6,680
#!/bin/bash # 7c is as 6z, but reducing the left and right tolerance from 5 to 4. # No clear difference. # I reran the scoring of train_dev for 6z because the scoring script # has had a bug fixed. # local/score.sh data/train_dev exp/chain/tdnn_6z_sp/graph_sw1_tg exp/chain/tdnn_6z_sp/decode_train_dev_sw1_tg # local/...
michellemorales/OpenMM
kaldi/egs/swbd/s5c/local/chain/tuning/run_tdnn_7c.sh
Shell
gpl-2.0
8,332
#!/bin/bash # Copyright 2014 Mirsk Digital ApS (Author: Andreas Kirkedal) # Copyright 2016 KTH Royal Institute of Technology (Author: Emelie Kullmann) # 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 Lic...
michellemorales/OpenMM
kaldi/egs/sprakbanken_swe/s5/local/create_datasets.sh
Shell
gpl-2.0
1,200
#/bin/bash uwsgi --ini ./conf/uwsgi_192.168.1.103.ini
eliot-framework/eliot
deploy/deploy_192.168.1.103.sh
Shell
gpl-2.0
54
# # Copyright (C) 2010 OpenWrt.org # . /lib/ramips.sh PART_NAME=firmware RAMFS_COPY_DATA=/lib/ramips.sh platform_check_image() { local board=$(ramips_board_name) local magic="$(get_magic_long "$1")" [ "$#" -gt 1 ] && return 1 case "$board" in 3g-6200n | \ 3g-6200nl | \ 3g150b | \ 3g300m | \ a5-v11 | \ ai...
Ntemis/openwrtcc
target/linux/ramips/base-files/lib/upgrade/platform.sh
Shell
gpl-2.0
3,005
#! /bin/bash SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" CALL_PATH="$PWD" # NOTE: To link statically: --enable-static # (Or was it --enable-portable? both?) # perform the bootstrap echo "Bootstrapping bcplusparser..." cd "$SCRIPT_PATH" if [ "$1" == "noconf" ] then mkdir -p build-scripts && \ ...
babb517/bcplusparser
bootstrap.sh
Shell
gpl-2.0
635
# # Copyright (C) 2010 OpenWrt.org # . /lib/ramips.sh PART_NAME=firmware RAMFS_COPY_DATA=/lib/ramips.sh platform_check_image() { local board=$(ramips_board_name) local magic="$(get_magic_long "$1")" [ "$#" -gt 1 ] && return 1 case "$board" in 3g-6200n | \ 3g-6200nl | \ 3g150b | \ 3g300m | \ a5-v11 | \ ai...
okcom84301/openwrt
target/linux/ramips/base-files/lib/upgrade/platform.sh
Shell
gpl-2.0
2,690
#!/bin/sh # ¶Ôbmy´úÂë½øÐÐgrep # author: interma@bmy cd ./src grep -n $1 *.c grep -n $1 *.h cd ../nju09 grep -n $1 *.c grep -n $1 *.h cd ../local_utl grep -n $1 *.c grep -n $1 *.h cd ../ythtlib grep -n $1 *.c grep -n $1 *.h cd ../libythtbbs grep -n $1 *.c grep -n $1 *.h cd ../include grep -n $1 *.h
moqi88/bmybbs
bmy_grep.sh
Shell
gpl-2.0
300
#!/bin/bash # # Tempesta FW service script. # # Copyright (C) 2014 NatSys Lab. (info@natsys-lab.com). # Copyright (C) 2015-2018 Tempesta Technologies, 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 ...
ikoveshnikov/tempesta
scripts/tempesta.sh
Shell
gpl-2.0
7,282
#!/bin/bash set -e echo "This deployment script is ugly. You should probably only use it if you've read and understood the whole thing. Sorry." echo "This script will now exit without doing anything." exit 0 current_time=$(date "+%Y%m%d-%H%M") deploy_filename="aws_deploy/$current_time-upload.zip" mkdir -p aws_deploy...
rob-deutsch/actdigstream
deploy.sh
Shell
gpl-2.0
445
#!/bin/bash ###################################################################### # # idFORGE Framework - Manage identity manuals in community # Copyright © 2015 The CentOS Artwork SIG # # idFORGE Framework is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public L...
areguera/idforge
Library/Modules/Render/Modules/Email/Modules/Plain/plain_setAttachment.sh
Shell
gpl-2.0
1,413
#!/bin/zsh STR="Spec" echo "${1+$STR}" echo "Running tests: " runhaskell -itest-suite -ilibrary test-suite/${1+$STR}.hs
emhoracek/explora
runtests.sh
Shell
gpl-2.0
123
#!/bin/bash while true; do { echo "Listening for gcode file" /sbin/busybox nc -l -p 9876 > /SAMPLE03.gcode_temp echo "Received gcode file" NEW_FILE_NAME=/SAMPLE03.gcode_$(/bin/date +"%y-%m-%d-%h-%M-%s") if [ -f /SAMPLE03.gcode ] then echo "Moving SAMPLE03.g...
snakecharmer1024/davinci_wifisd
sd/listen_for_gcode.sh
Shell
gpl-2.0
526
module-starter --module='Testbed::Spatial::VDS::Schema::Result::Public::AccidentRiskResult Testbed::Spatial::VDS::Schema::Result::Public::AnnualStreetVolumeTable Testbed::Spatial::VDS::Schema::Result::Public::Calendar Testbed::Spatial::VDS::Schema::Result::Public::CarbAirbasinsAligned03 Testbed::Spatial::VDS::Schema::R...
jmarca/spatialvds_schema
module.starter.sh
Shell
gpl-2.0
11,395
#!/usr/bin/env bash # jenkins build helper script for openbsc. This is how we build on jenkins.osmocom.org if ! [ -x "$(command -v osmo-build-dep.sh)" ]; then echo "Error: We need to have scripts/osmo-deps.sh from http://git.osmocom.org/osmo-ci/ in PATH !" exit 2 fi set -ex base="$PWD" deps="$base/deps" inst="$d...
TA1DB/librtlsdr
contrib/jenkins.sh
Shell
gpl-2.0
828
#!/bin/sh /sbin/ifconfig eth0 192.168.1.128 netmask 255.255.255.0 ifconfig eth0 up route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1 dev eth0 sleep 2 ifconfig eth0 down ifconfig eth0 up
xuguangmin/network_interface_to_serial
fileForUpload/filesystem/rootfs/etc/init.d/ifconfig-eth22.sh
Shell
gpl-2.0
205
#!/bin/bash #Display what VMs are running on this xen host. #Written by hfuller on 03 Feb 2015 #Known bugs: if your hostname is over three or four characters it might look bad on a 20 char display. #This utilizes http://sourceforge.net/projects/lcdproc-client/ which should be in your path (and may be included with thi...
makerslocal/netadmin-scripts
xen_lcd.sh
Shell
gpl-2.0
479
#!/bin/sh OUTFILE=/tmp/fingers.out ../../../bin/fingers > $OUTFILE 2>&1 cmp canonical.out $OUTFILE if [ $? -ne 0 ]; then echo "!!! Failure. diff canonical.out $OUTFILE prints:" diff canonical.out $OUTFILE else echo " *** Success" fi ...
strnbrg59/stuff
fingers/test/test_all.sh
Shell
gpl-2.0
321
#!/bin/sh # # PM-QA validation test suite for the power management on Linux # # Copyright (C) 2011, Linaro Limited. # # 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 # of the Li...
bigzz/pm-qa
cpuhotplug/cpuhotplug_07.sh
Shell
gpl-2.0
1,944
#!/usr/bin/env bash # # DESCRIPTION: # This scripts tests an example p4 alignment pipeline on an single tile runfolder. # # Copyright (c) 2014 Genome Research Ltd. # Author: Stefan Dang <sd15@sanger.ac.uk> # globals p4_templates=./p4_templates expected_output=./expected_output test_dir=./tmp vtf_dir=$test_dir/vtf ou...
wtsi-npg/npg_docker
p4/test/test.sh
Shell
gpl-2.0
3,296
./SimpleViewer Heraklion_urban_green_sub.tif ./MeanShiftSegmentation Heraklion_urban_green_sub.tif MSFilteredOut.tif MSClusteredOut.tif MSLabeledOut.tif MSBoundOut.tif MSFilteredPretty.jpg MSClusteredPretty.jpg 7 30 10 1.0 gdal_translate -b 3 -b 2 -b 1 MSClusteredPretty.jpg Heraklion_ObjectMeans.png gdal_translate -ot ...
gnorasi/gnorasi
Utilities/urban_green.sh
Shell
gpl-2.0
495
#!/bin/bash ip -6 addr del 2001:100::2/64 dev eth0 ip -6 addr del 2001:1::1/64 dev eth1 ip -6 tunnel del ip6tnl1 ip -6 tunnel del ip6tnl2 rmmod ip6_tunnel rmmod tunnel6 ip -6 addr add 2001:100::2/64 dev eth0 ip -6 addr add 2001:1::1/64 dev eth1 echo "0" > /proc/sys/net/ipv6/conf/all/accept_ra echo "0" > /proc/sys/net...
NetworkingGroupSKKU/Buffering-Scheme-in-PMIPv6
pmipv6-daemon-umip-0.4/extras/UMIP0.4_MAG1_UBUNTU.10.04.sh
Shell
gpl-2.0
955
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2008-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/t5006-move-c-file-memcheck.sh
Shell
gpl-2.0
1,676
#!/bin/sh get_common_syscalls() { cat <<EOF # filter that works ok for true open close mmap mmap2 munmap mprotect fstat fstat64 access read brk execve arch_prctl exit_group geteuid geteuid32 getuid getuid32 setresuid setresuid32 setgid setgid32 setuid setuid32 set_thread_area EOF } L="$(pwd)/snap-confine/s...
femdom/snapd
cmd/snap-confine/tests/common.sh
Shell
gpl-3.0
608
#!/bin/bash python RunBootstrap.py --paralog1 YLR406C --paralog2 YDL075W --bootnum 84 > YLR406C_YDL075W_Boot84_PrintScreen.txt
xjw1001001/IGCexpansion
Bootstrap/ShFiles/MG94_YLR406C_YDL075W_Boot84.sh
Shell
gpl-3.0
128
cd .. rm -r temp mkdir temp mkdir temp/DEBIAN mkdir temp/usr mkdir temp/usr/bin cp DEBIAN/control-core temp/DEBIAN/control cp DEBIAN/copyright temp/DEBIAN cp bin/Debug/*.dll temp/usr/bin/ cp bin/Debug/*.dll.mdb temp/usr/bin/ dpkg -b temp DEBIAN/sentience-core.deb cd DEBIAN alien -r sentience-core.deb cd .. rm -r temp ...
bashrc/sentience
applications/sensormodel/DEBIAN/makepackage.sh
Shell
gpl-3.0
575
#!/bin/bash filename=$(basename "$1") filename=${filename/md/pdf} pandoc -f markdown "$1" --template=$HOME/Docs/mytemplate.tex \ -V geometry:"left=0.75in, right=0.75in" \ -V version=1.0 \ -V mainfont="Nimbus Sans" \ -V monofont="Nimbus Mono" \ -o "$HOME/Docs/Done/$filename" rm "$1"
ryoung29/my-scripts
bash/mkpdf.sh
Shell
gpl-3.0
304
#!/bin/bash # # # # # # . ./downlink.link cd CLIENT_DATA/ wget $LINKFIREFOX -O current_Firefox.exe exit 0
kernt/opsi_tools
firefox/getdownload.sh
Shell
gpl-3.0
109
( tar -cf testfile.tar ../src/*.* && \ ../src/peek testfile.tar && \ rm -f testfile.tar ) >/dev/null 2>&1 || exit 1
znxster/peek
tests/Tar.sh
Shell
gpl-3.0
124
# mod-utilities . $ZYNTHIAN_DIR/zynthian-recipe/recipe/_zynth_lib.sh cd $ZYNTHIAN_SW_DIR/plugins zynth_git https://github.com/moddevices/mod-utilities.git if [ ${?} -ne 0 -o "${build}" = "build" ] then zynth_build_request clear cd mod-utilities quoted_ZYNTHIAN_PLUGINS_DIR=`quote_path ${ZYNTHIAN_PLUGINS_DIR}/lv2` s...
dcoredump/zynthian-recipe
recipe/mod-utilities.sh
Shell
gpl-3.0
515
#!/bin/sh docker stop webapp docker rm webapp
jianyingdeshitou/docker-sample
dockerbook-code/4/webapp/test/rm.sh
Shell
gpl-3.0
46
#!/bin/sh # File: papi.c # CVS: $Id$ # Author: Philip Mucci # mucci@cs.utk.edu # Mods: Kevin London # london@cs.utk.edu # Philip Mucci # mucci@cs.utk.edu # if make sure that the tests are built if [ "x$BUILD" != "x" ]; then cd testlib; make; cd .. cd ctests; make...
JNPA/DPAcalc
dependencies/papi-5.3.0/papi-5.3.0/src/run_tests.sh
Shell
gpl-3.0
3,796
#!/bin/sh # $XTermId: 8colors.sh,v 1.13 2003/05/19 00:52:30 tom Exp $ # ----------------------------------------------------------------------------- # this file is part of xterm # # Copyright 1999-2002,2003 by Thomas E. Dickey # # All Rights Reserved # # Permission is hereby granted, free of ...
chriskmanx/qmole
QMOLEDEV/xterm-270/vttests/8colors.sh
Shell
gpl-3.0
3,113
mvn -q -Dmaven.test.skip=true install
GDCN/GDCN
GDCN_proj/build.sh
Shell
gpl-3.0
38
#!/bin/bash . settings.sh BASEDIR=$2 case $1 in armeabi) NDK_ABI='arm' NDK_TOOLCHAIN_ABI='arm-linux-androideabi' ;; armeabi-v7a) NDK_ABI='arm' NDK_TOOLCHAIN_ABI='arm-linux-androideabi' ARCH_CPU='armv7-a' CFLAGS="$CFLAGS -march=$ARCH_CPU" ;; esac TOOLCHAIN_PREFIX=${BASEDIR}/toolchain-...
hiteshsondhi88/android-curl
abi_settings.sh
Shell
gpl-3.0
1,844
#!/bin/sh set -e autoreconf -if
lexical/betaradio
autogen.sh
Shell
gpl-3.0
34
#!/bin/sh if ! whoami &> /dev/null; then if [ -w /etc/passwd ]; then echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd fi fi exec "$@"
jfx/ci-report
docker/uid-entrypoint.sh
Shell
gpl-3.0
201
#!/bin/bash current=$(dconf read /org/gnome/desktop/input-sources/xkb-options) swapped="['caps:swapescape']" capslock="['caps:capslock']" echo "Current status: $current" if [ "$current" == "$swapped" ] then echo "Making caps and escape WORK NORMALLY" dconf write /org/gnome/desktop/input-sources/xkb-options $c...
QuitHub/dotfiles
swapesc.sh
Shell
gpl-3.0
546
# input-output-functions.sh # # NOTE: This is the first file to be sourced (because of _ in the name) which is why # it contains some special stuff like EXIT_TASKS that I want to be available everywhere # input-output functions for Relax-and-Recover # # Relax-and-Recover is free software; you can redistribute it an...
dagwieers/rear
usr/share/rear/lib/_input-output-functions.sh
Shell
gpl-3.0
7,122
#!/bin/sh # a handy script to get rid of festa dies after font editing # chris niven 2010 #rm -v ~/aruspix/trunk/osx/install_root/Library/Fonts/FestaDiesA.dfont #rm -v ~/aruspix/trunk/osx/install_root/Library/Fonts/FestaDiesB.dfont #rm -v ~/aruspix/trunk/varia/font/FestaDiesA.dfont #rm -v ~/aruspix/trunk/varia/font/F...
DDMAL/aruspix
osx/remove_festa_dies.sh
Shell
gpl-3.0
582
#!/bin/bash # 3.3.2 Ensure IPv6 redirects are not accepted (Scored) BENCHMARKNUM='cis_benchmark_3_3_2' RESULT= PARAMS=( net.ipv6.conf.all.accept_redirects net.ipv6.conf.default.accept_redirects ) for P in ${PARAMS[@]} do RESULT=$( /sbin/sysctl $P | /bin/grep -v "^$P = 0" ) if [[ $RESULT ]] then break...
proletaryo/puppet-ciscentos6
files/scripts/benchmark-3.3.2.sh
Shell
gpl-3.0
429
#!/bin/bash mkdir -p build git submodule init git submodule update cp -r ledscape build rm ledscape/.git cp *.cc Makefile build mv *.gyp build cp -r src build cp -r overwrite build export NPMBIN=$(npm bin) cd build make premake make cd ..
seriousmumbo/ledscape-node
build.sh
Shell
gpl-3.0
240
: ${test_timeout:="5 minutes"} : ${replication_timeout:="90 seconds"} : ${number_of_chunkservers:=12} : ${goals="2 3 4 5 6 7 8 9 xor2 xor3 xor4 xor5 xor6 xor7 xor8 xor9"} : ${verify_file_content=YES} # Returns list of all chunks in the following format: # chunk 0000000000000001_00000001 parity 6 # chunk 00000000000000...
lizardfs/lizardfs
tests/test_suites/ShortSystemTests/test_chunk_replication.sh
Shell
gpl-3.0
2,028
#%% After arg.sh #%% Before package.sh #%% Private _service_set_version() { sed -i "s/Version:.*/Version: ${PKG_VERSION}/g" ${PKG_NAME}.spec } >/dev/null _service_download_url() { # Return if file exists or download url not set [ -v PKG_DOWNLOAD_URL ] || return 1 [ -f ${PKG_NAME}-${PKG_VERSION}.tar.g...
mkrawiec/builddock
include/service.sh
Shell
gpl-3.0
2,746
#!/bin/zsh SALT=`date +%N` if [[ ARGC -gt 0 ]] then BINNAME=`basename $PWD` foreach USER ($@) mkdir -p obj/$USER AA=`echo $USER $SALT $BINNAME | sha512sum | cut -c 1-8` cat program.c.template | sed s/AAAAAA/0x$AA/ >! program.c gcc -m32 -std=gnu99 -Wl,-z,norelro -mno-align-double -o obj/$USER/$BINNAM...
cliffe/SecGen
modules/utilities/unix/ctf/metactf/files/repository/src_malware/Ch01-08/Ch06CAsm_LinkedList/build.zsh
Shell
gpl-3.0
389
#!/bin/sh LOCAL_REPO=${HOME}/flatpak-repos/peek REMOTE_REPO=s3://flatpak.uploadedlobster.com REGION=eu-central-1 flatpak build-update-repo \ --generate-static-deltas \ --gpg-sign=B539AD7A5763EE9C1C2E4DE24C14923F47BF1A02 \ --prune --prune-depth=20 \ ${LOCAL_REPO} # First sync all but the summary aws s3 sync --...
phw/peek
build-aux/flatpak/sync-aws.sh
Shell
gpl-3.0
767
#!/bin/bash # set -x # Fri Oct 2 11:09:52 CEST 2015 # spd@daphne.cps.unizar.es # Make it work with CSRF enabled Alfresco 5.x # spd: fixed bug: supplied short name is ignored # spd: visibility defaults to "private" # spd: add some cookies (alfLogin, alfUsername3, others supplied by server) # spd: read and use Alfresc...
ecm4u/alfresco-shell-tools
bin/alfCreateSite.sh
Shell
gpl-3.0
4,537
#!/bin/bash set -e pegasus_lite_version_major="4" pegasus_lite_version_minor="7" pegasus_lite_version_patch="0" pegasus_lite_enforce_strict_wp_check="true" pegasus_lite_version_allow_wp_auto_download="true" . pegasus-lite-common.sh pegasus_lite_init # cleanup in case of failures trap pegasus_lite_signal_int INT trap...
elainenaomi/sciwonc-dataflow-examples
dissertation2017/Experiment 1A/logs/w-08_2/20161026T075001+0000/00/00/terminate_0_ID0000016.sh
Shell
gpl-3.0
1,237
#!/bin/bash # 1.7.1.1 Ensure message of the day is configured properly (Scored) RESULT=$(/bin/grep -P '(\\v|\\r|\\m|\\s)' /etc/motd) if [[ -z $RESULT ]] then echo 'cis_benchmark_1_7_1_1=passed' else echo 'cis_benchmark_1_7_1_1=failed' fi
proletaryo/puppet-ciscentos6
files/scripts/benchmark-1.7.1.1.sh
Shell
gpl-3.0
248
#!/bin/bash set -e # exit with nonzero exit code if anything fails SOURCE_BRANCH="master" TARGET_BRANCH="gh-pages" # Pull requests and commits to other branches shouldn't try to deploy, just build to verify if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then echo "Skipping deplo...
AKSW/LIMES-dev
gh-deploy.sh
Shell
gpl-3.0
2,056
#!/bin/bash # disable ipv6 echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 sed -i '$ i\echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6' /etc/rc.local # install wget and curl apt-get update;apt-get -y install wget curl; # set time GMT +7 ln -fs /usr/share/zoneinfo/Asia/Jakarta /etc/localtime # set locale sed -i 's/A...
wawan740/Seven4zerO
autoinstall.sh
Shell
gpl-3.0
2,059
#!/bin/bash # setup eclipse . utils.sh eclipsever="eclipse-oxygen" eclipsename="Eclipse Oxygen" if [[ -e /opt/$eclipsever ]]; then log "Eclipse already installed" else tarname="eclipse-java-oxygen-2-linux-gtk-x86_64.tar.gz" getproxy eclipse "http://mirror.switch.ch/eclipse/technology/epp/downloads/release/oxygen/2...
alexfeigin/devel
get-eclipse.sh
Shell
gpl-3.0
1,649
#!/bin/sh # Probe Ext2, Ext3 and Ext4 file systems # Copyright (C) 2008-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 ...
philenotfound/parted
tests/t1700-probe-fs.sh
Shell
gpl-3.0
1,888
#!/bin/sh set -e set -u DIR="$(dirname $0)" dc() { docker-compose -p bgt_import -f ${DIR}/docker-compose.yml $* } trap 'dc kill ; dc rm -f' EXIT dc build #dc run --rm tests dc run --rm importer
DatapuntAmsterdam/bgt
.jenkins/import_fme.sh
Shell
mpl-2.0
201
#!/bin/bash # ttl=600 # cut=/usr/bin/cut getent=/usr/bin/getent rpc_pipefs=/var/lib/nfs/rpc_pipefs # die() { echo "Usage: $0 cache_name entry_name" exit 1 } [ $# -lt 2 ] && die cachename="$1" cache_path=${rpc_pipefs}/cache/${cachename}/channel case "${cachename}" in dns_resolve) name="$2" result="$(${getent} h...
heliogabalo/The-side-of-the-source
Codigo/Scripts/Bash/nfs_cache_getent.sh
Shell
mpl-2.0
460
#!/bin/bash cd .. git pull origin master HASH=`ipfs add -r . | awk -F" " '{print $(NF-1)}'` HASH=`echo $HASH | awk -F" " '{print $(NF)}'` cd host echo $HASH > latest_hash.txt echo "Done! Run hostRehua.py to make sure it stays online."
NickGeek/rehua
host/updateRehua.sh
Shell
mpl-2.0
235
#! /bin/bash # Simple directory snapshot tool using git. git="$(which git)" [ -z "$git" ] && echo "Please install git first!" gitdir="$(git rev-parse --git-dir 2> /dev/null)" [ -z "$gitdir" -a "$1" != "--init" ] && echo "Not in a snapshot repository! Create a new one with '$0 --init'." snapshotdir="$(dirname "$gitd...
blackwinter/scratch
snapshot.sh
Shell
agpl-3.0
2,443
#!/bin/sh function fixperms { chown -R $UID:$GID /var/log /data /opt/maubot } cd /opt/maubot mkdir -p /var/log/maubot /data/plugins /data/trash /data/dbs /data/crypto if [ ! -f /data/config.yaml ]; then cp docker/example-config.yaml /data/config.yaml echo "Config file not found. Example config copied to /data...
tulir/maubot
docker/run.sh
Shell
agpl-3.0
584
#!/bin/sh if [ `uname` = "CYGWIN_NT-5.1" ]; then EXT=.bat elif [ `uname` = "Linux" ]; then EXT= fi #Target script f=test_sint_sch1000_call.script i=0 while [ $i -lt 3 ]; do echo "executing..."$f time janus$EXT < $f i=`expr $i + 1` done
tyoko-dev/Janus-A-sml
tests/test_sint_sch1000_call_3times.sh
Shell
agpl-3.0
255
#!/bin/sh ########################################## ## restart openerp servers ########################################## DIR_SERVICE='/etc/init.d/' NAME_PATTERN='${NAME_PATTERN}' SERVICE_PATTERN='openerp' PROCESS=`ps ax | grep $NAME_PATTERN | awk '{ print $1}' | sed '$d'` echo $PROCESS for P in $PROCESS do k...
jmesteve/saas3
openerp/addons_extra/server_manager/templates/stop_process.sh
Shell
agpl-3.0
372
#!/bin/bash # Copyright 2013 Telefonica Investigación y Desarrollo, S.A.U # # This file is part of FI-WARE LiveDemo App # # FI-WARE LiveDemo App is free software: you can redistribute it and/or modify it under the terms # of the GNU Affero General Public License as published by the Free Software Foundation, either vers...
telefonicaid/fiware-livedemoapp
scripts/bootstrapping/03_subscribeCep.sh
Shell
agpl-3.0
1,960
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=GNU-Linux-x86 CND_CONF=Debug CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=so NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/litec-to-c O...
luciotato/LiteScript
devel/litec/litec-to-c/nbproject/Package-Debug.bash
Shell
agpl-3.0
1,461
#!/bin/bash # Print each line, exit on error set -ev # Install doc requirements conda config --set safety_checks disabled conda config --add channels omnia conda config --add channels conda-forge conda install -yq --file docs/requirements.txt pip install -U awscli msmb_theme==1.2.0 which gcc which g++ python setup.p...
mattwthompson/mdtraj
devtools/travis-ci/build_docs.sh
Shell
lgpl-2.1
539
#!/bin/bash . /usr/local/bin/unit_test_lib.sh clean_all sleep 1s stdbuf -oL -eL cmdmod /opt/pyrame/cmd_la_gen8_90.xml > la_gen8_90.trace 2>&1 & stdbuf -oL -eL cmdmod /opt/pyrame/cmd_gpib.xml > gpib.trace 2>&1 & stdbuf -oL -eL cmdmod /opt/pyrame/cmd_tcp.xml > tcp.trace 2>&1 & sleep 1s exec_n_test ./init.sh "la_gen8_90(...
sbinet-staging/pyrame
ps/cmd_la_gen8_90/unit_test_eth.sh
Shell
lgpl-3.0
800
#!/bin/bash cd "$(dirname "$0")" ../map-creator.sh europe/great-britain/england ram en,de,fr,es ../map-creator.sh europe/great-britain/scotland ram en,de,fr,es ../map-creator.sh europe/great-britain/wales ram en,de,fr,es
mapsforge/mapsforge-creator
v4/europe-great-britain.sh
Shell
lgpl-3.0
223
#!/bin/bash cd "`dirname "$0"`" exec ./sbt.sh run
melezov/postgresql-overview-listen-notify
run.sh
Shell
unlicense
50
#!/bin/bash # if backup same as new delete it if cmp -s dbase/pigpio.sqlite dbase/pigpio.sqlite.bak then rm dbase/pigpio.sqlite.bak else d=$(date "+%F-%H-%M-%S") mv -f dbase/pigpio.sqlite.bak dbase/pigpio.sqlite.$d fi # delete backups older than a week find dbase/pigpio.sqlite.2* -mtime +7 -delete &>/dev/nul...
joan2937/pigpio
DOC/bin/purge.sh
Shell
unlicense
323
#!/bin/sh set -e -x PFKARCH=$( sh ../scripts/architecture ) export PFKARCH if [ ! -d fluxbox ] ; then echo 'no fluxbox dir, skipping fluxbox build' # i'm not going to consider this an error, maybe # i just didn't extract it. exit 0 fi cd fluxbox if [ ! -f 00-PFK-CONFIGURE ] ; then echo 'no fluxb...
flipk/pfkutils
contrib/build-fluxbox.sh
Shell
unlicense
2,139
#!/bin/sh # Install all the python libraries via pip rm -rf lib/!(README.md) sudo pip install -r requirements.txt -t lib/
PiJoules/Text-from-Memes
app.sh
Shell
unlicense
123
#!/usr/bin/env bash # Terminate already running bar instances pkill polybar # Wait until the processes have been shut down while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done # Launch bar1 and bar2 polybar top & > /dev/null #polybar bottom & > /dev/null #polybar bar2 & echo "Bars launched..."
Multipixelone/dotfiles
polybar/.config/polybar/launch.sh
Shell
unlicense
306
#!/usr/bin/env bash ############################# # Include scripts ############################# source /bootstrap/configuration.sh source /bootstrap/environment.sh ############################# # variables and environment ############################# get_environment SQL_SCRIPT=/bootstrap/cinder.sql ##############...
BBVA/openstack-k8s
cinder/data/bootstrap/bootstrap.sh
Shell
apache-2.0
2,966
#!/bin/sh ######################### # Package BitcoinWallet # ######################### if [ -z "$1" ] ; then echo "You must specify the version to package" exit 1 fi VERSION="$1" if [ ! -f target/BitcoinWallet-$VERSION.jar ] ; then echo "You must build the BitcoinWallet-$VERSION.jar file" exit 1 fi if [ ! ...
ScripterRon/BitcoinWallet
package.sh
Shell
apache-2.0
957
#!/bin/bash source /bin/dockbit_bootstrap.sh # Load Erlang if [ -f .erlang-version ]; then ERLANG_VERSION=`cat .erlang-version` else ERLANG_VERSION=`kerl list installations | head -n 1 | cut -d" " -f1` fi . $HOME/.kerl/$ERLANG_VERSION/activate if [ -f .elixir-version ]; then ELIXIR_VERSION=`cat .elixir-version`...
Dockbit/library
elixir/1.3.4/docker-entrypoint.sh
Shell
apache-2.0
514
#!/bin/sh NAME=awa.cov lcov --quiet --base-directory . --directory . -c -o $NAME lcov --quiet --remove $NAME "/usr*" -o $NAME lcov --quiet --remove $NAME "/build*" -o $NAME lcov --quiet --remove $NAME "/opt*" -o $NAME lcov --quiet --remove $NAME "*/adainclude*" -o $NAME lcov --quiet --remove $NAME "*/regtests*" -o $NAM...
stcarrez/ada-awa
awa/coverage.sh
Shell
apache-2.0
1,019
docker run -d -e MONGODB_USER=$username -e MONGODB_PASSWORD=$password -e MONGODB_DATABASE=$database_name -e MONGODB_ADMIN_PASSWORD=$admin_password -p 27017:27017 openshift/mongodb-24-centos7
markllama/atomicapp-examples
mongodb/centos/mongodb_start.sh
Shell
apache-2.0
191
#!/bin/sh if [ $# != 3 ]; then echo "usage $0: archive s3-bucket destdir" exit 1 fi if [ -z "${AWS_ACCESS_KEY_ID}" ]; then echo "No AWS_ACCESS_KEY_ID defined" exit 1 fi if [ -z "${AWS_SECRET_ACCESS_KEY}" ]; then echo "No AWS_SECRET_ACCESS_KEY defined" exit 1 fi upload2s3() { FULLPATH=$1 ...
loads/loads-broker
loadsbroker/support/upload2s3.sh
Shell
apache-2.0
1,334
tclsh graph_size.tcl metis_15000_RAID1_8GB_i37_t1.log metis_15000_RAID1_8GB_i37_t2.log metis_15000_RAID1_8GB_i37_t4.log harddisk_threading tclsh graph_size.tcl metis_flash_RAID0_8GB_i37_t1.log metis_flash_RAID0_8GB_i37_t2.log metis_flash_RAID0_8GB_i37_t4.log ssd_threading
statsbiblioteket/summa
Core/scripts/performance/threading.sh
Shell
apache-2.0
276
#!/usr/bin/env bash ############################################################################### # Copyright 2018 The Apollo Authors. 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...
ApolloAuto/apollo
docker/build/installers/install_yarn.sh
Shell
apache-2.0
1,343
#!/bin/bash # This script will set up the java classpath with the required libraries # then call diffxml with the given arguments. java -cp @INSTALL_DIR@/lib/diffxml.jar org.diffxml.diffxml.DiffXML "$@"
amouat/diffxml
diffxml_install.sh
Shell
apache-2.0
204
#set ip_address = "" #set ikeys = $interfaces.keys() #for $iname in $ikeys #set $idata = $interfaces[$iname] #set $static = $idata["static"] #set $management = $idata["management"] #set $ip = $idata["ip_address"] #if $management and $ip #set $ip_address = $ip #end if...
weidongshao/compass-adapters
cobbler/snippets/kickstart_chef_run.sh
Shell
apache-2.0
3,743
#!/usr/bin/env bash set -euo pipefail os_name="$(go env GOOS)" # gofmt must be on PATH command -v gofmt if [[ "${os_name}" == "windows" ]]; then echo "Skipping go-fmt on Windows because line-endings cause every file to need formatting." echo "Linux is treated as authoritative." echo "Exiting 0..." exit 0 fi ...
aelsabbahy/goss
ci/go-fmt.sh
Shell
apache-2.0
474
#!/bin/bash #setup infra-cli and default srcs.list echo "deb http://wzy-mirror.nm.flipkart.com/ftp.debian.org/debian wheezy-backports main" > /etc/apt/sources.list.d/wzy-backports.list echo "deb http://10.47.2.22/repos/infra-cli/3 /" > /etc/apt/sources.list.d/infra-cli-svc.list apt-get update apt-get install --yes --al...
Flipkart/zipkin
iaas/fk-zipkin.setup.sh
Shell
apache-2.0
753
#!/bin/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 "License"); yo...
wmz7year/ignite
bin/control.sh
Shell
apache-2.0
5,317
#!/bin/bash -eux # Usage: agent.sh VERSION ROOT . <(curl -s https://raw.githubusercontent.com/bigfix/boxes/master/bigfix/common/util.source.sh) function _get { local version="$1" local package="" if [[ -f /etc/redhat-release ]]; then package="BESAgent-$version-rhe5.x86_64.rpm" elif [[ -f /etc/lsb-release ]]; ...
bigfix/boxes
bigfix/common/agent.sh
Shell
apache-2.0
928
### # #%L # servo-influxdb # $Id:$ # $HeadURL:$ # %% # Copyright (C) 2016 PolymathicCoder LLC # %% # Copyright 2,016 PolymathicCoder 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 # # ...
PolymathicCoder/servo-influxdb
src/main/sh/genesis.sh
Shell
apache-2.0
777
#!/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. T...
kl0u/flink
tools/ci/stage.sh
Shell
apache-2.0
7,661
#! /bin/sh # 发布程序函数库 # 合并分支代码 merge(){ cd $WORKDIR if [ "`git branch | grep $WORKBRANCH | awk '{print $1}'`" != '*' ] ; then git checkout $WORKBRANCH >> /dev/null if [ "$?" = "1" ]; then echo "[error] `tail -n 1 $ERRORLOG`" exit 0 fi fi git pull ...
zhangsheng1992/push
push/function.sh
Shell
apache-2.0
4,365
# ---------------------------------------------------------------------------- # # Package : loopback-explorer # Version : 4.2.0 # Source repo : https://github.com/strongloop/loopback-explorer.git # Tested on : ubuntu_16.04 # Script License: Apache License, Version 2 or later # Maintainer : Atul Sowani <sowania@us.ibm....
ppc64le/build-scripts
l/loopback-explorer/loopback-explorer_ubuntu_16.04.sh
Shell
apache-2.0
1,156
#!/bin/bash ## Try and make the bash work safely # Terminate on unitialised variables set -u # Terminate on error set -e # Terminate if any part of a pipeline fails set -o pipefail # Uncomment for debugging # set -x PORT=10018 # PORT=8098 BUCKET=$1 INDEXNAME=$2 INDEXVAL=$3 echo "getting from ${BUCKET} on port ${POR...
gordonguthrie/bits
priv/get_value_with_index.sh
Shell
apache-2.0
509
#!/bin/bash # # Copyright 2017 StreamSets 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 agre...
z123/datacollector
miniIT/src/test/resources/download.sh
Shell
apache-2.0
1,150
#!/usr/bin/env bash # Copyright The containerd Authors. # 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 app...
vdemeester/containerd
test/init-buildx.sh
Shell
apache-2.0
3,598
#!/bin/sh -xe # Download and run Boulder instance for integration testing export GOPATH="${GOPATH:-/tmp/go}" # $ go get github.com/letsencrypt/boulder # package github.com/letsencrypt/boulder # imports github.com/letsencrypt/boulder # imports github.com/letsencrypt/boulder: no buildable Go source file...
tdfischer/lets-encrypt-preview
tests/boulder-start.sh
Shell
apache-2.0
551
#!/usr/bin/env bash # # Copyright 2017 Toyota Research Institute # # 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 ...
dreal/dreal4
scripts/update_bazel_version.sh
Shell
apache-2.0
1,213
#!/bin/sh # Continuous integration script for Travis # Build the library and install it. echo "## Building and installing libs2..." rm -rf build mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=./install ../geometry make -j3 make install if [ "${TRAVIS_OS_NAME}" = "linux" ]; then sudo ldconfig -v | grep libs2 fi ...
simonzhangsm/s2-geometry-library
travis.sh
Shell
apache-2.0
1,012
#!/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 "Licens...
apache/hadoop-mapreduce
src/contrib/mumak/bin/mumak.sh
Shell
apache-2.0
5,427
#!/bin/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 "License"); you ...
stealthly/kafka
bin/kafka-simple-consumer-perf-test.sh
Shell
apache-2.0
962
#!/bin/bash #ident: correct-crushmap.sh, ver 0.1, 2017/11/23. (C)2017,Red Hat Inc.,mmuench@redhat.com # NEEDS: create-crushmap.sh CMDPATH=`pwd` COMPILED_OUT=/tmp/compiled_out.$$ DECOMPILED_OUT=/tmp/decompiled_out.$$ DECOMPILED_IN=/tmp/decompiled_in.$$ COMPILED_IN=/tmp/compiled_in.$$ if [ -d $COMPILED_OUT -o...
Joint-SddC-PoC-Team/hailstorm
ceph/sddc/correct-crushmap.sh
Shell
apache-2.0
2,707