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
#http://chrisadams.me.uk/2010/05/10/setting-up-a-centos-base-box-for-development-and-testing-with-vagrant/ date > /etc/vagrant_box_build_time fail() { echo "FATAL: $*" exit 1 } #kernel source is needed for vbox additions yum -y install gcc bzip2 make kernel-devel-`uname -r` #yum -y update #yum -y upgrade yum -y...
ryuzee/sandbox-devops
veewee-definitions/definitions/CentOS-5.5-x86_64-ja/postinstall.sh
Shell
mit
1,537
#!/bin/bash ################################################### # File: dotfiles/.scripts/arch/install/i3.sh # Script Group: Installer # Platform: Arch # Purpose: To setup external the i3 Window Manager ################################################### ## this is meant to be called as a bootstrapper, so may not be ...
hon1nbo/dotfiles
.scripts/arch/install/i3.sh
Shell
mit
767
if gls --color=auto &>/dev/null; then alias ls='gls --color=auto -F' elif ls --color=auto &>/dev/null; then alias ls='ls --color=auto -F' else # macos's ls alias ls='ls -GF' fi alias ll='ls -lh' alias la='ls -a' alias lla='ls -lha' alias du='du -h' alias df='df -h' alias grep='grep --color=auto' alias fgrep='fgrep...
pinelibg/dotfiles
conf/.zsh/20_aliases.zsh
Shell
mit
521
HOME=$REACT_HOME CLASSPATH=$HOME/src/main/resources CLASSPATH=$CLASSPATH:$HOME/bin CLASSPATH=$CLASSPATH:$HOME/lib/commons-io-1.2.jar CLASSPATH=$CLASSPATH:$HOME/lib/rabbitmq-client.jar java -cp $CLASSPATH monitor.AMQPMonitor
wmr513/reactive
common/java/monitor.sh
Shell
cc0-1.0
226
#! /bin/ksh # # Create an HTML table using the argument images as items. # # usage: mkarrowtbl.sh arrow* # # where arrow starts with *_ and has a suffix indicating the # desired output format. typeset -i I CNT=0 typeset -i LCNT=0 CURRA="xxxx" function closeLine { echo " </TR>\n <TR ALIGN=CENTER>" for (( I=0;I<...
tomgr/graphviz-cmake
doc/infosrc/mkarrowtbl.sh
Shell
epl-1.0
995
#!/bin/bash ################################################################################ # # Adiciona uma ou mais exceções à lista # # Autor: Luciano Gonçalez # ################################################################################ # Definições desse arquivo scriptiname="addexception" scriptgroup="bac...
LucGoncalez/lkscripts
lks-addexception.sh
Shell
gpl-2.0
10,718
#! /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/t8019-variant-rm-dir2.sh
Shell
gpl-2.0
1,714
#!/bin/bash # # usage: # # # sbatch options #SBATCH --job-name=RUN_CAT_RTP_DAILY # partition = dev/batch #SBATCH --partition=prod # qos = short/normal/medium/long/long_contrib #SBATCH --qos=normal #SBATCH --account=pi_strow #SBATCH -N1 #SBATCH --mem=12000 #SBATCH --cpus-per-task 1 #SBATCH --time=02:00:00 #SBATCH --...
strow/rtp_prod2
cris/scripts/run_cat_rtp_daily.sh
Shell
gpl-2.0
968
#!/bin/bash ####################################################################################################### # # Script: XL-migration.sh # # Description: The purpose of this script is to migrate data from regular Postgres # to postgresXL environment where data will be distributed evenly across # a...
javelinorg/Postgres_XL_Migrator
XL-migration.sh
Shell
gpl-2.0
9,885
#!/bin/sh ############################################################################### # Empty script to get everyone at config version 1
rawcreative/fpp
upgrade/1/upgrade.sh
Shell
gpl-2.0
142
#!/bin/bash echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 apt-get update apt-get instal...
humbhenri/Linux_Recipes
debian-java.sh
Shell
gpl-2.0
350
#! /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/vala-grepping.sh
Shell
gpl-2.0
2,391
#!/bin/sh BIN="$1" if test "x$BIN" = "x" ; then echo "Usege unit_test.sh /path/to/build/directory [fast-only]" exit 1; fi FAST="$2" WIN32=0 case "`uname`" in *CYGWIN*) WIN32=1 ;; *MINGW*) WIN32=1 ;; *Windows*) WIN32=1 esac run() { EXE=$1 CONF=$2 PARAM=$3 echo $BIN/$EXE $CONF -c $EXE.js echo ./$...
invicnaper/MWF
Utils/t/unit_test.sh
Shell
gpl-2.0
1,154
#!/bin/sh . ./test-common.sh cleanup 85 # ------------------------------- Test 85 ------------------------------------ preptest test.log 85 0 $RLR test-config.85 -f || exit 23 checkoutput <<EOF test.log 0 test.log.1 0 zero EOF # Set log modification time to some date in the past touch -t 200001010000 test.log.1 ...
logrotate/logrotate
test/test-0085.sh
Shell
gpl-2.0
543
#!/bin/bash a=4 b=5 echo if [ "$a" -ne "$b" ] then echo "$a is not equal to $b" echo "(arithmetic comparison)" fi if [ "$a" != "$b" ] then echo "$a is not equal to $b." echo "(string comparison)" fi echo exit 0
fangtanchen/Learning
3_Language/Advanced_Bash_Scripting_Guide/part2/7ch_Tests/11.sh
Shell
gpl-2.0
220
#! /bin/sh # Copyright (C) 2010-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/libobj20a.sh
Shell
gpl-2.0
1,207
#! /bin/bash set -e COMMAND=$@ CLI_DATA="$TG_HOME/.telegram-cli" echo "[RUN] Will run command '$COMMAND' after authentification." # Droits sur volume # Whatever that means. chown -R "$TG_USER":"$TG_USER" "$TG_HOME" cd "$TG_HOME/tg" function checkauth() { echo "[RUN] Looking for existing authentification at '$CLI_DAT...
luckydonald/docker-telegram-cli
scripts/entrypoint.sh
Shell
gpl-2.0
889
convert images/OCS-140-A.png -crop 1565x4520+131+321 +repage images/OCS-140-A.png # # #/OCS-140.png convert images/OCS-140-B.png -crop 1509x4528+71+315 +repage images/OCS-140-B.png # # #/OCS-140.png
jonnymwalker/Staroslavjanskij-Slovar
scripts/cropedges.OCS-140.sh
Shell
gpl-2.0
199
#!/bin/bash # # Simply test that the FLAC library is really lossless. # FLAC=`which flac 2> /dev/null` if [ -z "$FLAC" ] ; then echo "Could not find 'flac' standalone encoder/decoder. Skipping test." exit 0 fi for LEVEL in {0..8} ; do rm -f rand.raw rand.flac rand.raw.md5 dd if=/dev/urandom of=rand.ra...
marcoep/ripright
test/test0.sh
Shell
gpl-2.0
730
../cmod sh load t061-1
yuhangwang/CMod
src/source/cmod-1.1/testsuite/t061.sh
Shell
gpl-2.0
23
#!/bin/sh insmod ~/pinmux_module.ko a=0x481408A0 v=0x01 rmmod pinmux_module.ko insmod ~/pinmux_module.ko a=0x4814089C v=0x01 rmmod pinmux_module.ko insmod ~/pinmux_module.ko a=0x4814083C v=0x04 rmmod pinmux_module.ko insmod ~/pinmux_module.ko a=0x48140898 v=0x01 rmmod pinmux_module.ko insmod ~/pinmux_module.ko a=0x481...
durd07/audio_test
audio.sh
Shell
gpl-2.0
828
#!/bin/sh set -e retry=0 until cat <<EOF | docker exec -i jsql-neo4j bin/cypher-shell -u neo4j -p test -d neo4j return 'Neo4j query done'; EOF do retry=$((retry+1)) if [ $retry -gt 30 ] ; then exit 1 fi >&2 echo "Neo4j is unavailable - sleeping #${retry}" sleep 1 done >&2 echo "Neo4j is up ...
ron190/jsql-injection
model/src/test/resources/docker/healthcheck/neo4j.sh
Shell
gpl-2.0
341
#!/bin/sh # don't let udev and this script step on eachother's toes for x in 64-lvm.rules 70-mdadm.rules 99-mount-rules; do > "/etc/udev/rules.d/$x" done rm /etc/lvm/lvm.conf udevadm control --reload-rules # save a partition at the beginning for future flagging purposes sfdisk -C 1280 -H 2 -S 32 -L /dev/sda <<EOF ,...
congwang/dracut
test/TEST-10-RAID/create-root.sh
Shell
gpl-2.0
1,176
#!/bin/bash if [ "$UID" -ne 0 ]; then exec gnomesu -t "Enable FTP" \ -m "Please enter the system password (root user)^\ in order to setup the FTP server." -c $0 fi # PATH and co . /etc/profile # get the new password: tmp1=`mktemp` tmp2=`mktemp` Xdialog --nocancel --passwordbox "Enter the new ftp password" 8 40 \ ...
arete/t2
target/archivista/rootfs/home/archivista/ftp-enable.sh
Shell
gpl-2.0
780
TCHAIN=~/android/gcc-linaro-arm-linux-gnueabihf-4.7/bin/arm-linux-gnueabihf- WiFiPATCH=drivers/net/wireless/compat-wireless_R5.SP2.03 MTARGET=~/android/kernel/BUILD/modules cp -f ./arch/arm/configs/ap33_android_mpdec ./arch/arm/configs/ap33_android_defconfig make ARCH=arm CROSS_COMPILE=$TCHAIN ap33_android_defconfig ...
lyapota/enru-3.1.10-g7f360be
compile_lm.sh
Shell
gpl-2.0
713
#!/bin/sh VersionMaj=0 VersionMin=99 VersionRev=6 current_date_sec=`date +%s` VersionBuild=$(( (current_date_sec-1214866800)/7200 )) clear echo "*** Compilation $VersionMaj.$VersionMin.$VersionRev.$VersionBuild ***" echo $VersionMaj $VersionMin $VersionRev $VersionBuild > version.txt rm -rf bin mkdir bin rm -f set...
Lucterios/SDK
build_all.sh
Shell
gpl-2.0
1,647
#!/bin/sh echo "o2-super-prep.sh: entering at " `date` # Create 01bld/from-prx-glo.sig o2-super-prx-sig.sh # Finally, construct a virtual corpus based on the instances echo "o2-super-prep.sh: constructing virtual corpus" grep -v ^@fields 01bld/from-prx-glo.sig | cut -f2 | tr ' ' '\n' \ | cut -d. -f1 | sort -u | ...
oracc/oracc
misc/o2/o2-super-prep.sh
Shell
gpl-2.0
1,278
exp_name=gc_big nosch=(010 025 050 075 100) for p in {0..4} do file_name=${exp_name}_${nosch[p]} epstopdf ${file_name}.eps cp ${file_name}.pdf ../informe/texplots cp ${file_name}.tex ../informe/texplots rm ${file_name}.eps rm ${file_name}.pdf rm ${file_name}.tex done
guidotag/Mark-Sweep-GC
plots/texplots.sh
Shell
gpl-2.0
278
java -Xincgc -Xms128M -Xmx256M -jar /users/Userone/mmj2jar/mmj2.jar "MacRunParmsPATutorial.txt" Y "/users/Userone/mmj2jar/" "/users/Userone/mmj2jar/" ""
digama0/mmj2
mmj2jar/MacMMJ2PATutorial.command
Shell
gpl-2.0
153
reset pylint examples/simple/
barseghyanartur/eximagination
scripts/pylint_example.sh
Shell
gpl-2.0
30
#!/bin/sh # # A GPS has been plugged in, so set up things to make it work. # # We spawn gps_detected.sh which will sleep for a couple of seconds # before doing the real work, so that all device-related symlinks # have been established. /home/pi/proj/sensorgnome/scripts/gps_detected.sh &
jbrzusto/sensorgnome
scripts/gps_detected_wrapper.sh
Shell
gpl-2.0
289
#!/bin/bash ############################################################### ### Arch Linux Anywhere Install Script ### configure_system.sh ### ### Copyright (C) 2017 Dylan Schacht ### ### By: Dylan Schacht (deadhead) ### Email: deadhead3492@gmail.com ### Webpage: http://arch-anywhere.org ### ### Any questions, comments...
Bricabraque/arch-linux-anywhere
lib/configure_system.sh
Shell
gpl-2.0
10,018
#!/bin/bash # Copyright (C) 2004 Dan Carpenter # This software is released under the terms of the GPL progname=$0 dir=`dirname $progname` [ $dir == "." ] && dir=`pwd` if [[ "$1" == "-h" || "$1" == "-help" ]] ; then echo "$progname [user][max_tests][test_percent]" echo " user => username to the scripts...
anthony-kolesov/arc_ltp
tools/strace_test/go_go.sh
Shell
gpl-2.0
1,059
#!/usr/bin/env bash source ./export.sh echo "index" hadoop jar ../target/tree-index-0.0.1.jar index
at15/cs433
tree-index/script/index.sh
Shell
gpl-2.0
101
#! /bin/bash # Source: https://raw.github.com/thenbrent/multisite-user-management/master/deploy.sh # http://thereforei.am/2011/04/21/git-to-svn-automated-wordpress-plugin-deployment/ # A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn # The difference is ...
restrictcontentpro/rcp-csv-user-import
deploy.sh
Shell
gpl-2.0
2,707
# # create TRD geometry from patch file # # cp Create_TRD_Geometry_v13p4.C Create_TRD_Geometry_v13p1.C # patch Create_TRD_Geometry_v13p1.C p4top1.patch # root -l Create_TRD_Geometry_v13p1.C # SOURCE=Create_TRD_Geometry_v14a_3e.C TARGET=Create_TRD_Geometry_v14a_3m.C PATCH=a3etoa3m.patch # echo echo cp $SOURCE $TARGET e...
desdemonda/cbmroot
macro/trd/geometry/trd.v14/create_TRD_Geometry_v14a_3m.sh
Shell
gpl-2.0
432
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=Arduino-Linux-x86 CND_CONF=Release 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}/aes256...
efDidymos/LightweightCryptography
BlockCiphers/Aes256-md5/nbproject/Package-Release.bash
Shell
gpl-3.0
1,467
#!/bin/bash NP=`grep processor /proc/cpuinfo | wc -l` MODEL=gridfire FIRENAME=`echo $(pwd) | rev | cut -d'/' -f2 | rev | cut -d_ -f1` START_DATE=`echo $(pwd) | rev | cut -d'/' -f2 | rev | cut -d_ -f2` START_TIME=`echo $(pwd) | rev | cut -d'/' -f2 | rev | cut -d_ -f3` START_HOUR=${START_TIME:0:2} START_MIN=${START_TIME...
sig-gis/gridfire
resources/build_geoserver_directory.sh
Shell
gpl-3.0
2,503
#!/bin/bash CWD=$PWD find . -name '*png' > /tmp/.rename_file while read filename do newfilename="$(echo $filename | sed 's/_server././')" echo $filename $newfilename mv $filename $newfilename done < /tmp/.rename_file
owl3808/myScripts
batch_renamefile.sh
Shell
gpl-3.0
224
#!/bin/sh DEBUG=false CHTEL=true CHPRC=true CHKKE=true CHSOL=true CHNET=true modified="18.05.2015 16:30" version=23 starttime="`date +%y%m%d_%H%M`" sleep 10 reconnectDelay=5 reconnectDelayMultiply=1 second="60" count="1440" dir="`readlink -f $0 | xargs dirname`" hostname="`hostname`" nmonfile="" handleNmonfile="" user=...
axibase/nmon
nmon_sender_ssh.sh
Shell
gpl-3.0
12,028
#!/bin/bash python plot_mc.py -save_plot -no_display results_$1/$1_output.txt 1d threshold $2 python plot_mc.py -save_plot -no_display results_$1/$1_output.txt 1d persistence $2 python plot_mc.py -save_plot -no_display results_$1/$1_output.txt 1d scale $2 python plot_mc.py -save_plot -no_display results_$1/$1_output.tx...
leuat/Nougat
scripts/viewdirect3params.sh
Shell
gpl-3.0
747
# Setting Shopt Builtin # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize # If set, Bash includes filenames beginning with a ‘.’ in the results of filename expansion. #shopt -s dotglob # If set, the pattern ‘**’ used in a filename expansio...
Open-Box/dotfiles
00_bash/shopt_builtin.bash
Shell
gpl-3.0
819
#!/bin/sh #game of life gennitria tyxaiwn arithmwn gia pinaka # by Thanos Psaridis #AM: 1820 #e-mail: psaridis@gmail.com awk -v lines=${1:-20} -v cols=${2:-20} ' BEGIN { srand(); } END { for (y=0; y<cols; y++) { for (x=0; x<lines; x++) printf("%d", rand() * 2 ); ...
ThanosFisherman/gameoflifeawk
generator.sh
Shell
gpl-3.0
360
#!/usr/bin/env bash # This file is part of The RetroPie Project # # The RetroPie Project is the legal property of its developers, whose names are # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. # # See the LICENSE.md file at the top-level directory of this distribution...
MarcLandis/RetroPie-Setup
scriptmodules/ports/openttd.sh
Shell
gpl-3.0
697
#!/bin/sh autoreconf -f -i ./configure
inizan-yannick/player-vala
autogen.sh
Shell
gpl-3.0
40
#!/bin/bash sudo echo 99 > /proc/sys/vm/dirty_ratio sudo echo 90 > /proc/sys/vm/dirty_background_ratio sudo echo 360000 > /proc/sys/vm/dirty_expire_centisecs sudo echo 360000 > /proc/sys/vm/dirty_writeback_centisecs sudo echo 100 > /proc/sys/vm/vfs_cache_pressure
dewtx29/linux_script
s/os/sysctl3.sh
Shell
gpl-3.0
264
#!/bin/sh if [ -e "$HOME/dotfiles/src/ide-master-scripts-start-sources.zsh" ] then zsh $HOME/dotfiles/src/ide-master-scripts-start-sources.zsh fi
paNeises/dotfiles
bin/ide-master-scripts-start.sh
Shell
gpl-3.0
148
#!/bin/sh # ZRAM swap - 160MB echo 167772160 > /sys/block/zram0/disksize /system/bin/tiny_mkswap /dev/block/zram0 /system/bin/tiny_swapon /dev/block/zram0 ### Manipulation of 2nd swap ### # Remove IMMUTABLE attribute chattr -i /data/2ndswap # Second swap - 128MB tiny_fallocate 134217728 /data/2ndswap mkswap /data/2ndsw...
MTK6580/walkie-talkie
ALPS.L1.MP6.V2_HEXING6580_WE_L/alps/device/hexing/hexing6580_weg_l/enableswap.sh
Shell
gpl-3.0
500
node_modules/.bin/babel itertools.js/lib -d lib node_modules/.bin/babel itertools.js/tests -d tests
thefourtheye/itertools.js-es5
do-babel-magic.sh
Shell
gpl-3.0
100
#/bin/bash curl -L https://github.com/docker/compose/releases/download/1.11.1/run.sh > /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose
jianyingdeshitou/config
docker/install/debian8/get-docker-compose.sh
Shell
gpl-3.0
156
## Dependencies apt_install_permanent procps ## MySQL debconf-set-selections <<< 'mariadb-server mariadb-server/root_password password dummy' debconf-set-selections <<< 'mariadb-server mariadbql-server/root_password_again password dummy' apt_install_permanent mariadb-server ## Environment export_env MYSQL_CONFIG /etc...
Boukefalos/docker-deployment
build/scripts/mysql.sh
Shell
gpl-3.0
695
#!/bin/bash # bashbot, the Telegram bot written in bash. # Written by @topkecleon, Juan Potato (@awkward_potato), Lorenzo Santina (BigNerd95) and Daniil Gentili (@danog) # https://github.com/topkecleon/telegram-bot-bash # Depends on ./JSON.sh (http://github.com/dominictarr/./JSON.sh), # which is MIT/Apache-licensed # ...
danog/captionbot-clients
bash/bashbot.sh
Shell
gpl-3.0
12,805
#!/bin/bash #----------------------------------------- # this script will build the eID MW SDK project on linux # it is assumed that the eID MW project on linux has been # build already #----------------------------------------- DISTRO=none PROCESSOR=`uname -p` if [ -e "/etc/fedora-release" ] then DISTRO=fedora e...
12019/svn.gov.pt
linux/make-sdk-linux.sh
Shell
gpl-3.0
1,976
#!/bin/bash ./s3-stat.sh > s3-list.stat sort -nr -k4 s3-list.stat | grep -v None | awk '{print $4,$1,$8}' exit 0
iceflow/aws-demo
s3/cli/s3-sort.sh
Shell
gpl-3.0
116
#! /bin/bash # # Copyright (C) 2014 by M. Edward (Ed) Borasky # # This program is licensed to you under the terms of version 3 of the # GNU Affero General Public License. This program is distributed WITHOUT # ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, # MERCHANTABILITY OR FITNESS FOR A PARTIC...
hackoregon/ballotpath
PostGIS/1yum-install-dependencies.bash
Shell
gpl-3.0
726
#!/bin/bash . ${lxc_PATH_LIBEXEC}/functions.sh # init.sh # This script set init system #Load functions . ${lxc_PATH_LIBEXEC}/functions.sh #var checkings needed_var_check "lxc_TMP_ROOTFS" #Shortcuts rootfs=${lxc_TMP_ROOTFS} #rootfs checking [[ -f "${rootfs}/etc/lxc-provider.tag" ]] || die "${rootfs} is not a tagged ...
phbaer/lxc-tools
lxc-provider/libexec/scripts/templating/debian/debian/lenny/init.sh
Shell
gpl-3.0
1,169
#!/bin/sh printf "\n * Initial hostname: %s\n" $(hostname) hostnamectl set-hostname "" hostname localhost ip link add veth0 type veth peer name veth1 ip netns add ns1 ip link set veth1 netns ns1 ip link set veth0 up ip -n ns1 link set veth1 up ip -n ns1 address add dev veth1 fd01::1/64 ip netns exec ns1 dnsmasq \ ...
NetworkManager/NetworkManager-ci
tmp/repro_1858344.sh
Shell
gpl-3.0
1,439
# # If lapacke is not found on your system, # you can (but don't have to) use this file # to set paths to the one which can be built with get_lapacke.sh. # Source this in bash; use analog commands in other shells. # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/lib export LIBRARY_PATH=`pwd`/lib export PKG_CONFIG_PATH=`...
cgo/jalla
set_env.bash
Shell
gpl-3.0
335
#!/bin/bash getArch() { # STR=getconf LONG_BIT # STR=64 # STR=uname -r | cut -f2 -d_ # if [ $STR -eq 64 ]; then if [ $(getconf LONG_BIT) -eq 64 ]; then ARCH=x86_64 else # default is 32bit ARCH=i386 fi echo "----------------------------------------" echo "in function getArch" # echo STR = $STR e...
ImpruvIT/BatteryMonitor
Libraries/libMPSSE/samples/SPI/d.bash
Shell
gpl-3.0
2,014
# #PBS -N $mykey #PBS -q default #PBS -l walltime=5:00:00 #PBS -l nodes=1:ppn=1 #PBS -m a # set -x ulimit -s unlimited #module swap cluster/raichu module load rhdf5/2.18.0-intel-2016b-R-3.3.1 ORIGDIR=$VSC_SCRATCH_VO/manfredo WORKDIR=$VSC_SCRATCH_NODE/$PBS_JOBID echo Hostname: $(hostname) echo ORIGDIR: $ORIGDIR echo...
manfredo89/ED2io
scripts/cluster_plot.sh
Shell
gpl-3.0
2,594
#!/bin/bash ################################################## # Redis 4.0.6 setup script # Author: netkiller<netkiller@msn.com> # Website: http://www.netkiller.cn ################################################## cd /usr/local/src adduser -s /bin/false -d /var/lib/redis redis wget http://download.redis.io/releases/...
oscm/shell
database/redis/source/redis-4.0.6.sh
Shell
gpl-3.0
1,838
#!/bin/bash . /lib/lsb/init-functions remoteurlgit="$(git config --get remote.origin.url)" log_daemon_msg "Setting up basic sources and preferences..." if ! type "sudo" > /dev/null; then if [[ $EUID -ne 0 ]]; then log_failure_msg "You have to run this script as root for installing necessary depencies!" exit...
unixfox/APT-preferences-for-Debian-8
apply.bash
Shell
gpl-3.0
1,436
#!/usr/bin/env bash # Echo each command set -x # Exit on error. set -e # Core deps. sudo apt-get install build-essential cmake wget clang ninja-build # Create the build dir and cd into it. mkdir build cd build MPPP_BUILD_DIR=`pwd` # libc++ setup. See: # https://github.com/google/sanitizers/wiki/MemorySanitizerLibc...
bluescarni/mppp
tools/circleci_focal_clang9_msan.sh
Shell
mpl-2.0
1,788
#!/bin/bash # This file is part of UDPipe <http://github.com/ufal/udpipe/>. # # Copyright 2016 Institute of Formal and Applied Linguistics, Faculty of # Mathematics and Physics, Charles University in Prague, Czech Republic. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a...
ufal/udpipe
scripts/update_microrestd.sh
Shell
mpl-2.0
814
SHELL_FOLDER=$(cd "$(dirname "$0")";pwd) node ${SHELL_FOLDER}/minifyIMG.js "$1" "$2"
admpub/nging
tool/minify/minifyIMG.sh
Shell
agpl-3.0
85
#!/bin/bash ################################################################### ### Copyright (C) 2016 ClassCat(R) Co.,Ltd. All righs Reserved. ### ################################################################### # --- HISTORY ----------------------------------------------------- # 22-mar-16 : rc 0xff. # 01-mar-16...
classcat/cctf071
scripts_for_kernel_build/init_instance.sh
Shell
agpl-3.0
2,477
#!/bin/bash -x # test lap_style.lua with the combination of multiple laplacian layers, on a single image pair contentimg=$1 styleimg=$2 contentweight=$3 contentFilename=$(basename "$contentimg") contentname="${contentFilename%.*}" styleFilename=$(basename "$styleimg") stylename="${styleFilename%.*}" laplayersAll=( 1 ...
askerlee/lapstyle
multi-lap-test.sh
Shell
agpl-3.0
878
#!/bin/bash ## ## ## @file test_mkfldhdr_env_multidir.sh ## ## ----------------------------------------------------------------------------- ## Enduro/X Middleware Platform for Distributed Transaction Processing ## Copyright (C) 2009-2016, ATR Baltic, Ltd. All Rights Reserved. ## Copyright (C) 2017-2019, Mavimax, Ltd. ...
endurox-dev/endurox
ubftest/test_mkfldhdr_env_multidir.sh
Shell
agpl-3.0
2,140
#!/bin/bash source cloud-config.sh PIVOT=10.0.1.101 CONFIG=config.properties cluster=${!1} test -z "$cluster" && { echo "unknown cluster name '$1'" >&2 exit 1 } cat >copy-script <<EOF for ip in $(echo $cluster | sed 's/,/ /g') do scp /tmp/$CONFIG root@\$ip:/srv/vismo done EOF scp "$2" copy-script "root@$PIVOT:...
spyrosg/VISION-Cloud-Monitoring
vismo-core/src/main/scripts/copy-config.sh
Shell
agpl-3.0
387
#!/bin/bash packages=" head-asr head-basic-head-api head-blender-api head-blender-api-msgs head-cereproc head-chatbot head-chatscript head-chatscript-han head-chatscript-sophia head-data head-deps-all head-dynamixel-motor head-festival-api head-hr head-hr-ext head-hr-msgs head-libmong...
opencog/ros-behavior-scripting
scripts/purge-head-packages.sh
Shell
agpl-3.0
1,081
#!/bin/bash export PATH=/bin:/usr/bin:/usr/local/sbin PSLIMIT=14 PS=`ps ax|grep php-fpm|grep www|wc -l` hostname=`hostname` if [ "$PS" -gt $PSLIMIT ]; then echo "warning: php-fpm www pool has reached $PS procs on ${hostname}" exit 1 else echo "info: php-fpm www pool has reached $PS procs on ${hostname}" exit 0 fi
equalitie/eqpress
files/usr/local/sbin/monit_php-fpm_procs.sh
Shell
agpl-3.0
319
#!/bin/bash mkdir ~/.local/share/Colossal\ Order/Cities_Skylines/Addons/Mods/CSLMusicMod/ cp -fv CSLMusicMod.dll ~/.local/share/Colossal\ Order/Cities_Skylines/Addons/Mods/CSLMusicMod/CSLMusicMod.dll
rumangerst/CSLMusicMod
CSLMusicMod/bin/Debug/copytomoddir.sh
Shell
lgpl-2.1
201
#! /bin/sh # # Generates a Qwt Polar package from sourceforge svn # # Usage: svn2package.sh [-b|--branch <svn-branch>] [packagename] # ########################## # usage ########################## function usage() { echo "Usage: $0 [-b|--branch <svn-branch>] [-s|--suffix <suffix>] [-html] [-pdf] [-qch] [packag...
XelaRellum/qwtpolar
qwtpolar/admin/svn2package.sh
Shell
lgpl-2.1
6,336
sort -u cat.txt > cat2.txt mv cat2.txt cat.txt sort -u spa.txt > spa2.txt mv spa2.txt spa.txt #sort -u spa-cat.txt > spa-cat2.txt #mv spa-cat2.txt spa-cat.txt
jaumeortola/apertium-dicts
script-spa-cat/sort-files.sh
Shell
lgpl-3.0
159
#!/bin/bash set -e # global variables # EXAMPLES_REL_PATH=../../examples DOWNLOAD_SCRIPT=download_db_dumps.sh # parse the input args # for i in "$@"; do case $i in --examples-path=*) EXAMPLES_PATH="${i#*=}" ;; --download-dumps) DOWNLOAD_DUMPS=1 ;; *) ...
CogStack/cogstack
test/examples/run.sh
Shell
apache-2.0
1,592
#!/usr/bin/env bash mvn clean install -Pmssql,instrument -DargLine="-Dactivejdbc.log"
javalite/activejdbc
scripts/build_mssql.sh
Shell
apache-2.0
86
if [ "$RDVAFBIN" = "" ] then export RDVAFBIN=${HOME}/git/rdadapter/src/main/bin fi if [ "$HADOOP_LIB" == "" ] then export HADOOP_LIB=/home/hadoop/hadoop/share/hadoop/common/lib fi if [ "$LOG4J" == "" ] then export LOG4J=${HADOOP_LIB}/log4j-1.2.17.jar fi if [ "$SLF4J" == "" ] then export SLF4J=${HADOOP_LIB}/slf4j...
renodino/rdadapter
scripts/vaflibs.sh
Shell
apache-2.0
457
#!/bin/bash # Performs cloud function deployment # # Copyright 2020 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
google/prediction_framework
cfs/predict_transactions_batch/deploy.sh
Shell
apache-2.0
1,856
#!/bin/bash # # Template for an externally maintained script to be executed from the # wrapper UserData script (also used as template 'do nothing' default) # BEGIN: insert custom code below this line, return non zero exit code on failure return 0 # END: insert custom code above this line
sopel/stackformation
templates/provision.sh
Shell
apache-2.0
293
#!/bin/bash #Exit immediately if a command exits with a non-zero status set -e echo "Pulling dylanmei/zeppelin docker image..." sudo docker pull dylanmei/zeppelin:0.7.1
mcapuccini/SparkNow
packer/provisioners/install-zeppelin.sh
Shell
apache-2.0
171
#!/bin/sh mkdir -p /datacube/ui_results chmod 777 /datacube/ui_results
ceos-seo/data_cube_ui
build/native/mk_ui_tmp_dir.sh
Shell
apache-2.0
70
#!/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 "Lice...
ChinmaySKulkarni/hbase
dev-support/create-release/release-build.sh
Shell
apache-2.0
11,425
#!/usr/bin/env bash set -e SCRIPT_DIR=$(dirname $0) if [ -z $LAMBDACD_HOST ]; then echo "LAMBDACD_HOST environment variable not set, don't know where to deploy to" exit 1 fi cd ${SCRIPT_DIR} . ../_common.sh cp ../../target/*-standalone.jar ../../pipeline-0-standalone.jar if [ ! -f ../../pipeline-0-standa...
flosell/devops-101-lambdacd
bin/setup-lambdacd/deploy-lambdacd.sh
Shell
apache-2.0
691
#!/bin/bash echo "load variable" %s export HEAT_ORCHESTRATION_URL="http://%s:8004/v1/%%\(tenant_id\)s" export HEAT_CLOUDFORMATION_URL="http://%s:8000/v1" export HEAT_USER=%s export HEAT_PASSWORD=%s export HEAT_STACK_DOMAIN=%s export HEAT_DOMAIN_ADMIN_USER=%s export HEAT_DOMAIN_ADMIN_PASSWORD=%s echo "[START] Domain ...
quattor/template-library-openstack
features/heat/init-heat.sh
Shell
apache-2.0
2,011
#!/usr/bin/env bash gunicorn --workers 4 \ --worker-class gevent \ --log-level info \ --error-logfile server.log \ --bind 0.0.0.0:8080 run:app
spil-marius/hiveweb
scripts/run_gunicorn.sh
Shell
apache-2.0
160
#!/bin/bash set -o errexit set -o nounset set -o pipefail : ${BUCKET:="goofys-bench"} : ${GOOFYS_BUCKET:="$BUCKET"} : ${FAST:="false"} : ${CACHE:="false"} : ${ENDPOINT:="http://s3-us-west-2.amazonaws.com/"} : ${AWS_ACCESS_KEY_ID:=""} : ${AWS_SECRET_ACCESS_KEY:=""} : ${PROG:="s3fs"} if [ $# = 1 ]; then t=$1 else ...
kahing/goofys
bench/run_bench.sh
Shell
apache-2.0
4,512
#!/bin/bash # Copyright 2019 Amazon.com, Inc. or its affiliates. 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. # A copy of the License is located at # # http://aws.amazon.com/apache2.0 # # or in the "license" ...
raycoll/s2n
tests/pems/gen_self_signed_cert.sh
Shell
apache-2.0
3,286
#!/bin/bash -e # # Copyright IBM Corp. All Rights Reserved. # # SPDX-License-Identifier: Apache-2.0 # # regexes for packages to exclude from unit test excluded_packages=( "github.com/hyperledger/fabric/bccsp/factory" # this package's tests need to be mocked "github.com/hyperledger/fabric/bccsp/mocks" "gith...
lukehuangch/fabric
unit-test/run.sh
Shell
apache-2.0
4,752
#!/bin/sh # SUMMARY: Namespace stress with 10 concurrent short UDP/IPv6 "connections" over a veth pair in reverse order # LABELS: # REPEAT: set -e # Source libraries. Uncomment if needed/defined #. "${RT_LIB}" . "${RT_PROJECT_ROOT}/_lib/lib.sh" NAME=test-ns clean_up() { rm -rf ${NAME}-* } trap clean_up EXIT li...
justincormack/linuxkit
test/cases/020_kernel/200_namespace/010_veth/041_echo-udp-ipv6-short-10con-single-reverse/test.sh
Shell
apache-2.0
494
#!/bin/bash echo Building repowatch RPM... GITROOT=$(git rev-parse --show-toplevel) cd ${GITROOT} COMMIT=$(git rev-parse --short HEAD) COMMIT_DATE=$(git log HEAD -n1 --pretty=format:%ai | awk '{gsub(/\-/,"",$1);printf $1}') SHORT_COMMIT=${COMMIT:0:7} RPMTOPDIR=$GITROOT/rpmbuild mkdir -p ${RPMTOPDIR}/{SOURCES,SPECS}...
jeremyrogers/repowatch
contrib/rpmbuild.sh
Shell
apache-2.0
1,063
export VER=4.19.25 mkdir -p sip_build pushd sip_build wget https://www.riverbankcomputing.com/static/Downloads/sip/${VER}/sip-${VER}.tar.gz tar -xvzf sip-${VER}.tar.gz pushd sip-${VER} python configure.py --sip-module alpenglow.sip --sysroot=${CONDA_PREFIX} make make install popd popd
proto-n/Alpenglow
install_alpenglow_sip.sh
Shell
apache-2.0
286
#!/bin/bash # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
rzagabe/bazel
compile.sh
Shell
apache-2.0
6,637
pkg_name=libpq pkg_origin=core pkg_version=9.6.8 pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>" pkg_description="LibPQ is the client side library for PostgreSQL, a powerful, open source object-relational database system." pkg_upstream_url="https://www.postgresql.org/" pkg_license=('PostgreSQL') pkg_source...
be-plans/be
libpq/plan.sh
Shell
apache-2.0
2,841
#! /usr/bin/env bash # # Copyright (c) 2013-2016 Commonwealth Computer Research, Inc. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 which # accompanies this distribution and is available at # http://www.opensource.org/licenses/...
ronq/geomesa
geomesa-fs/geomesa-fs-tools/bin/install-hadoop.sh
Shell
apache-2.0
7,131
#!/bin/bash -e # Copyright 2017-present Open Networking Foundation # # 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 applic...
opencord/voltha
envoy/go/golang-builder/build.sh
Shell
apache-2.0
3,257
function install { VERSION="${2}" installer_init "${1}" "" "" OSinstall iptables 1 OSinstall fail2ban 1 export EMAILsender="`iniget \"${INSTANCE}\" mailsender`" export EMAILrecipient="`iniget \"${INSTANCE}\" mailrecipient`" CFGFOLDER="${INSTALLER_HOME}/01" [ -e /etc/fail2ban/jail.local ] || cfgwrite...
gawati/setup-scripts
gawati/installer/fail2ban/scripts/fail2ban01.sh
Shell
apache-2.0
761
#!/bin/bash # Absolute path to this script. /home/user/bin/foo.sh SCRIPT=$(readlink -f $0) # Absolute path this script is in. /home/user/bin SCRIPTPATH=`dirname $SCRIPT` MYSQL_USER=$1 MYSQL_PASS=$2 MYSQL_HOST=$3 CONFIG="example_database_1_config.php" TRANSACTION_SIZE=100 NUM_ROWS=10000000 NUM_CLIENTS=10 rm $SCRIPTPAT...
DeepDB/DeepTools
db_soaker/example_database_1_soak.sh
Shell
apache-2.0
928
#!/bin/bash directory=`dirname $0` file=$directory/../IO/TTS.pid if [ -f $file ] ; then kill -9 $(cat $file) rm $file exit 1 fi exit 0
MaxMorgenstern/EmeraldAI
EmeraldAI/Application/ExecutionScripts/KillTTS.sh
Shell
apache-2.0
149
#!/bin/bash -e # # Copyright 2017 the Heptio Ark contributors. # # 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 applic...
dgoodwin/online-archivist
vendor/github.com/heptio/ark/hack/verify-fmt.sh
Shell
apache-2.0
1,203
#!/bin/bash # Copyright 2021 The Android Open Source Project # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
google/accompanist
generate_docs.sh
Shell
apache-2.0
1,355