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 -ex # TODO: /etc/dnsmasq.d/origin-upstream-dns.conf is currently hardcoded; it # probably shouldn't be if [ -f "/etc/sysconfig/atomic-openshift-node" ]; then SERVICE_TYPE=atomic-openshift else SERVICE_TYPE=origin fi VERSION="$(rpm -q $SERVICE_TYPE --queryformat %{VERSION})" if [ -f "/etc/sysconfig/atom...
rjtsdl/acs-engine
parts/openshift/release-3.9/openshiftmasterscript.sh
Shell
mit
6,338
#!/bin/bash # Typically this is the Project name. # The trailing slash is important # Can be set to an empty string for working at the top level of the bucket S3_BUCKET_PREFIX='' # AWS CloudFront distribution ID DISTRIBUTION_ID='EGVC56LSD4VPJ' # AWS CloudFront distribution domain (not used as there are multiple domain...
concord-consortium/building-models
s3_deploy.sh
Shell
mit
4,499
#!/bin/bash test_method=$1 client_num=$2 packet_size=$3 test_method=${test_method:-pingpong} client_num=${client_num:-10} packet_size=${packet_size:-64} # echo "test_method = $test_method" # echo "client_num = $client_num" # echo "packet_size = $packet_size" for ((i=0; i<$client_num; i++)); do ./asio_echo_clien...
shines77/netlib_test
start_local_client.sh
Shell
mit
417
#!/bin/sh -e SYSTEM=$(uname) if [ "${SYSTEM}" = Darwin ]; then SED='gsed' else SED='sed' fi VENDOR_NAME_CAMEL='FunTimeCoding' export VENDOR_NAME_CAMEL PROJECT_NAME_CAMEL='PythonSkeleton' export PROJECT_NAME_CAMEL PROJECT_NAME_DASH='python-skeleton' export PROJECT_NAME_DASH PROJECT_NAME_UNDERSCORE=$(echo "...
FunTimeCoding/python-skeleton
configuration/project.sh
Shell
mit
2,561
#! /bin/bash source "$HOME/seartipy/dotfiles/scripts/utils.sh" common_install() { sudo apt install --no-install-recommends arc-theme ttf-ubuntu-font-family policykit-1 } i3_install() { sudo apt install --no-install-recommends i3 i3status } lxde_install() { sudo apt install --no-install-recommends lxde-c...
pervezfunctor/dotfiles
scripts/desktop-installer.sh
Shell
mit
1,694
#!/bin/sh # set reasonable macOS defaults # inspired by : https://github.com/mathiasbynens/dotfiles # more can be found here : https://gist.github.com/brandonb927/3195465 if [ "$(uname -s)" != "Darwin" ]; then exit 0 fi set +e echo " › Automatically quit printer app once the print jobs complete" defaults write co...
redconfetti/dotfiles
roles/macos/files/set-defaults.sh
Shell
mit
1,726
#!/bin/bash # check that we ar running as root if [ "$(whoami)" == "root" ] ; then : else echo "Usage: !! run as root" exit 1 fi # First create some directories. The top one will be the jail. # Under that we will create directories that look like the ones # that you would see in a root file system. D="$1" U="$2...
pschlump/daemon-it
example/create-jail.sh
Shell
mit
1,582
function failed() { echo "Failed: $@" >&2 exit 1 } # 当前目录 CURRENT_DIR=${PWD} # 获取脚本所在目录 SCRIPT_DIR_RELATIVE=`dirname $0` SCRIPT_DIR=`cd ${SCRIPT_DIR_RELATIVE}; pwd` echo "SCRIPT_DIR = ${SCRIPT_DIR}" # 读取配置 . ${SCRIPT_DIR}/iosPublish.config mkdir -pv ${APP_DIR} || failed "mkdir ${APP_DIR}" cd ${PROJECT_DIR...
GreedBell/resource
shell/iosPublish/iosPublish.sh
Shell
mit
1,309
#!/bin/bash echo 'Available PyPI servers on your ~/.pypirc:' python bin/pypi-servers.py echo read -r -p "Choose PyPI index-server: " PYPI_SERVER python setup.py -q sdist upload -r "$PYPI_SERVER"
globocom/alf
bin/upload.sh
Shell
mit
197
#!/bin/bash cpuTemp0=$(cat /sys/class/thermal/thermal_zone0/temp) cpuTemp1=$(($cpuTemp0/1000)) cpuTemp2=$(($cpuTemp0/100)) cpuTempM=$(($cpuTemp2 % $cpuTemp1)) # TODO: Add the degree symbol once we get tmux and fbterm stuff set up # TODO: Get rid of the apostrophe in the GPU temperature readout # TODO: what about the qu...
jrcharney/hacktop
scripts/thermal.sh
Shell
mit
656
#!/bin/sh if test ! -f sql/mysqld.cc then echo "You must run this script from the MySQL top-level directory" exit 1 fi prefix_configs="--prefix=/usr/local/mysql" just_print= just_configure= full_debug= if test -n "$MYSQL_BUILD_PREFIX" then prefix_configs="--prefix=$MYSQL_BUILD_PREFIX" fi while test $# -gt 0 do...
pieter/mysql-server
BUILD/SETUP.sh
Shell
gpl-2.0
5,583
#!/usr/bin/env bash # # jsonv 0.2.0 # A Bash command line tool for converting JSON to CSV # # Copyright (c) 2013 Paul Engel, released under the MIT license # https://github.com/archan937/jsonv.sh # # Get a JSON file # # Example (e.g. example.json) # # [ # { # "name": "Dagny Taggart", # "id": 1...
CMeza99/TwitterControl
jsonv.sh
Shell
gpl-2.0
2,916
#!/bin/sh docker stop omf_grip_run docker rm omf_grip_run #docker rmi omf_grip
dpinney/omf
omf/scratch/GRIP/helper/dockerClean.sh
Shell
gpl-2.0
79
#!/bin/bash >/tmp/commands.list #for i in {1..11000}; do for i in {1..7000}; do echo "http://da-ts03.bond/rewrite_"$i"/16000_BBB_Main_deu_20_16000k-HEVC-4K_track1_dashinit.mp4" >>/tmp/commands.list done xargs -a /tmp/commands.list -P $(grep -c ^processor /proc/cpuinfo) -I COMMAND sh -c 'echo "COMMAND"; curl -s -o...
jursonovicst/tools
dashperf/populate.sh
Shell
gpl-2.0
343
#!/bin/bash # Author: Mike Rodarte # # Listen to the log file and respond as necessary. serverDir='/home/minecraft/minecraft' logDir="${serverDir}/logs/" logFile="${logDir}latest.log" commandName='mcapi' lastLine='' # execute the listener while the log file exists while [ -f $logFile ]; do last=$(tail -1 $logFile) ...
mts7/minecraft-server-helper
mc-listener.sh
Shell
gpl-2.0
778
#!/usr/bin/env bash QUERY=${1:-"this is a tes for splellchecker"} PORT=${2:-8888} INDEX_NAME=${3:-index_getjenny_english_0} curl -v -H "Authorization: Basic $(echo -n 'test_user:p4ssw0rd' | base64)" \ -H "Content-Type: application/json" -X POST "http://localhost:${PORT}/${INDEX_NAME}/spellcheck/terms" -d "{ \"tex...
GetJenny/starchat
scripts/api_test/postSpellckeckTerms.sh
Shell
gpl-2.0
386
#!/bin/sh # Contributed by Barry Allard in 2.4.2.3 fork (github.com/steakknife/tripwire) git clean -dff git clean -Xff rm -rf autom4te.cache
Tripwire/tripwire-open-source
contrib/clean.sh
Shell
gpl-2.0
141
#PBS -N otu-cluster #PBS -m bea #PBS -M whwilder@email.arizona.edu #PBS -W group_list=bhurwitz #PBS -q standard #PBS -l select=1:ncpus=2:mem=4Gb #PBS -l cput=6:0:0 #PBS -l walltime=24:00:00 set -u source ${PROJECT_DIR}/config.sh cd $FOR_OUT ${BIN_DIR}/usearch -cluster_otus ${FOR_SORTED} -otus ${FOR_OTU} -uparseout ${F...
hurwitzlab/amplicon-illumina
scripts/workers/05-otu-cluster_exec.sh
Shell
gpl-2.0
708
#!/bin/bash -ex # Make sure the robofile is in the correct location. cp modules/apigee_m10n/.circleci/RoboFile.php ./ # Update dependencies if necessary. if [[ ! -f dependencies_updated ]]; then robo setup:skeleton robo add:dependencies-from modules/$1/composer.json robo drupal:version $2 robo configure:m10n-...
apigee/apigee-m10n-drupal
.circleci/update-dependencies.sh
Shell
gpl-2.0
602
#!/bin/bash # Purpose: Restores incremental backups of a given directory. # Author: Ryan McDonald <devops001@gmail.com> ####################################################################### DIR_TO_RESTORE=$1 BKP_DIR=$HOME/bkp #<- where incremental backups exist ###############################################...
devops001/standard_scripts
restore.sh
Shell
gpl-2.0
1,557
#!/bin/bash ################################################################################ # # Exibe a tabela de informações de montagem # # Autor: Luciano Gonçalez # ################################################################################ # Definições desse arquivo scriptiname="showmounts" scriptgroup="f...
LucGoncalez/lkscripts
lks-showmounts.sh
Shell
gpl-2.0
4,906
# export AWS_ACCESS_KEY="Your-Access-Key" # export AWS_SECRET_KEY="Your-Secret-Key" today=`date +"%d-%m-%Y","%T"` logfile="/awslog/ec2-access.log" # Grab all Security Groups IDs for DISALLOW action and export the IDs to a text file sudo aws ec2 describe-security-groups --filters Name=tag:close-allports-time,Values=05...
STARTSPACE/aws-access-to-ec2-by-timetable
all/disallow-wd/all-disallow-wd-05.sh
Shell
gpl-2.0
817
#!/bin/sh _REPO='oriaks' _DIR=`cd "$( dirname "$0" )" && pwd` docker run -it --rm "${_REPO}/debian:latest"
oriaks/docker-debian
run.sh
Shell
gpl-2.0
109
echo "helo_name=mail.palepurple.co.uk recipient=test@gmail.com sender=dg@burton-mccall.co.uk client_address=81.133.46.190 request=smtpd_access_policy " | perl -I ../src -w ../src/policyd.pl
palepurple/policyd-dnsbl-spf-geoip
tests/test-bmc.sh
Shell
gpl-2.0
190
#! /bin/bash function seperator { echo "--------------------------------------------------------------------------" } function cleanup { echo "deleting temporary files..." rm -f .svnlog .contributors } function updatelog { cleanup echo "getting svn log from server... this may take a while" sv...
AreaScout/vice-gles2
check-activity.sh
Shell
gpl-2.0
3,236
#!/bin/bash CONF_DIR="/etc/lightdm/lightdm.conf.d" #CONF_DIR="test-dir" CONF_FILE="60-manual-login.conf" if [ ! -d $CONF_DIR ]; then mkdir $CONF_DIR fi echo "[SeatDefaults]" >> $CONF_DIR/$CONF_FILE # Unity Greeter (and some other greeters) don't allow you to enter a username to log in with by default. You can enab...
edvapp/autoinstall
laus/scriptsForClasses/ZZZARCHIVE/APP/APP1604/440-configLightdmForLDAP.sh
Shell
gpl-2.0
798
PATH=/bin:/usr/bin export PATH rm -rf t058-dir mkdir t058-dir mkdir t058-dir/emacs mkdir t058-dir/w3-tools echo "append-path PATH /usr/local" > t058-dir/local echo "append-path PATH /usr/18.57" > t058-dir/emacs/18.57 echo "append-path PATH /usr/19.25.94" > t058-dir/emacs/19.25.94 echo "append-path PATH /usr/19.25.95" >...
yuhangwang/CMod
src/source/cmod-1.1/testsuite/t058.sh
Shell
gpl-2.0
1,140
#!/bin/sh # 6rd.sh - IPv6-in-IPv4 tunnel backend # Copyright (c) 2010-2012 OpenWrt.org [ -n "$INCLUDE_ONLY" ] || { . /lib/functions.sh . /lib/functions/network.sh . ../netifd-proto.sh init_proto "$@" } tun_error() { local cfg="$1"; shift; [ -n "$1" ] && proto_notify_error "$cfg" "$@" proto_block_restart "$cfg...
stephank/openwrt
package/6rd/files/6rd.sh
Shell
gpl-2.0
1,918
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=ArduinoCustom-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}/ti...
Kaputnik120/AllProjects
Timing/nbproject/Package-Debug.bash
Shell
gpl-2.0
1,447
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ${DIR}/qt${QT_VERSION}/before_install.sh
SebDieBln/QGIS
ci/travis/linux/before_install.sh
Shell
gpl-2.0
110
################################################################################ # # This script is to automate installation of Linux Integration Services for # Microsoft Hyper-V # ################################################################################ # Determine kernel architecture version osbit=`uname -m...
alexngmsft/lis-next
rpmbuild/LISISO/CentOS52/install.sh
Shell
gpl-2.0
1,782
for f in "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "A" "B" "C" "D" "E" "F": do for g in "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "A" "B" "C" "D" "E" "F": do curl "http://localhost/sqli/6?id=%$f$g'or1=1--" done done
syakesaba/webhack
sqli/utils/bf2.sh
Shell
gpl-2.0
232
#!/bin/bash DATASET=adult PROPERTY=14 BASEDIR=$(dirname $0)/.. CMD=$BASEDIR/target/universal/stage/bin/jsm-cli sbt stage 2>&1 echo "--- Encoding of CSV" $CMD encode -p $PROPERTY data/$DATASET.csv $DATASET.dat echo "--- Randomized split of dataset" $CMD split 8:2 $DATASET.dat $DATASET-training.dat $DATASET-verify.dat ec...
DmitryOlshansky/jsm4s
scripts/adult.sh
Shell
gpl-2.0
754
# # Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free ...
arbeitspferde/openjdk9-hotspot
test/runtime/6626217/Test6626217.sh
Shell
gpl-2.0
2,947
# Dpu signals an error on wrong options # $PROG program # $EXITCODE exitcode # $TEST path to this file cmd $PROG --fjsdkl || $PROG --jjqkl || $PROG -4 test $EXITCODE != 0 #grep -i usage test $(wc -l) -ge 1 # at least one line of output
cesaro/dpu
tests/regression/cmdargs/bad-option.test.sh
Shell
gpl-2.0
239
#!/bin/bash if ! rpm -qa | grep deltarpm | grep -v grep >/dev/null then yum -y install deltarpm fi yum -y update if ! ( yum grouplist | sed -n '/Installed environment/,/Available environment/p' | grep KDE >/dev/null 2>&1 ) then yum -y groupinstall "KDE Plasma Workspaces" yum -y install sharutils fi if ! gr...
stevshil/vagrant
neueda/bin/neueda-linux.sh
Shell
gpl-2.0
32,688
#!/usr/bin/env bash export LANG=C export LC_ALL=C [ -n "$TOPDIR" ] && cd $TOPDIR try_version() { [ -f version ] || return 1 REV="$(cat version)" [ -n "$REV" ] } try_svn() { [ -d .svn ] || return 1 REV="$(svn info | awk '/^Last Changed Rev:/ { print $4 }')" REV="${REV:+r$REV}" [ -n "$REV" ] } try_git() { [ -d...
nikwrt/openwrt
scripts/getver.sh
Shell
gpl-2.0
634
#!/usr/bin/env bash VERSION=1 function dockerStatsFormat() { cat <<EOF { "container": "{{.Name}}", "pids": {{.PIDs}}, "memory": { "used": "{{ index (split .MemUsage " / ") 0 }}", "limit": "{{ index (split .MemUsage " / ") 1 }}", "perc": "{{.MemPerc}}" }, "cpu": "{{.CPUPerc}}" } EOF } function...
VVelox/librenms-agent
snmp/docker-stats.sh
Shell
gpl-2.0
795
#!/bin/bash # Bash Color green='\033[01;32m' red='\033[01;31m' blink_red='\033[05;31m' restore='\033[0m' clear # Resources THREAD="-j$(grep -c ^processor /proc/cpuinfo)" KERNEL="zImage" DTBIMAGE="dtb" DEFCONFIG="ak_bacon_defconfig" KERNEL_DIR=`pwd` RESOURCE_DIR="$KERNEL_DIR/.." # Kernel Details BASE_AK_VER="AK" VER...
jejecule/kernel_despair_find7
ak-bacon-build.sh
Shell
gpl-2.0
2,850
#!/bin/ash # link listed plugins PACKAGES_DIR=/home/node/xen-orchestra/packages # official plugins directories PLUGINS="xo-server-auth-github \ xo-server-auth-google \ xo-server-auth-ldap \ xo-server-auth-saml \ xo-server-backup-reports \ xo-server-load-balancer \ xo-server-netbox \ xo-server-perf-alert \ xo-server-s...
Ezka77/xen-orchestra-ce
alpine/link_plugins.sh
Shell
gpl-3.0
747
#!/bin/sh basedir=/root/server_manager/package/sys_initialization install_tmp=/root/Tmp mkdir -p /root/Tmp cd $basedir rpm -ivh lrzsz-0.12.20-22.1.x86_64.rpm rpm -ivh ntp-4.2.2p1-9.el5.centos.2.x86_64.rpm ntpdate 192.168.111.17 #unzip linux-1.9.20b_1.50.13.zip #cd Server/Linux/Driver/ #tar zxf netxtreme2-5.0.17.tar...
sunbenxin/python-script
monitor_scripts/server_manager/server_manager/puppet/all_sh/sys_initialization.sh
Shell
gpl-3.0
3,272
#!/bin/bash -l #run the ffs calculation many times. rm -f ffs_bench.dat for i in `seq 1 1` do python ../../server/main_server.py -c ffs_particle_server.conf >c 2>&1 & sleep 1 python main_particle.py grep -A 1 "# k_AB" c | tail -n 1 >> ffs_bench.dat done mean=$(awk -F : '{t+=$NF;c++}END{print t/c}' ffs_bench.dat)...
freshs/freshs
test/test_ffs_particle/ffs_bench.bash
Shell
gpl-3.0
518
#!/bin/bash # Copyright (C) 2018 Pablo Iranzo Gómez <Pablo.Iranzo@gmail.com> # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later ve...
zerodayz/citellus
citellusclient/plugins/metadata/openshift/system-role.sh
Shell
gpl-3.0
1,177
#!/bin/bash cd /tmp git clone git://git.cryptomilk.org/projects/cmocka.git cd cmocka git checkout tags/cmocka-1.0.1 -b 1.0.1 mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug .. make sudo make install
staskobzar/libamip
.travis-install-cmocka.sh
Shell
gpl-3.0
232
#!/usr/bin/env bash COMPOSER_ARGS="--no-interaction" if [[ $BZION_HHVM -eq 1 ]]; then COMPOSER_ARGS="-v" fi php composer.phar install $COMPOSER_ARGS --prefer-source --ignore-platform-reqs FILE=app/config.yml cp app/config.example.yml $FILE sed -i 's/username: bzion_admin/username: root/' $FILE sed -i 's/password...
kongr45gpen/bzion
tests/initialize.sh
Shell
gpl-3.0
703
#!/bin/bash source /usr/bin/functions _help() { echo "How to use backup-mysql-db:" echo "Available params:" echo "-d|--database - Database name" echo "-u|--user - User/Database owner" echo "-p|--password - User/Database owner password" echo exit 0 } test $# -gt 0 || _help while [ 1 ]...
corpsee/phpell
scripts/utils/backup-mysql-db.sh
Shell
gpl-3.0
1,401
#!/bin/sh for secret in s3_url zimfarm_username zimfarm_password do if [ -f /run/secrets/$secret ] then varname=$(echo $secret | tr a-z A-Z) echo "[entrypoint] exposing ${secret} secret as ${varname}" export $varname=$(cat /run/secrets/$secret) fi done exec "$@"
openzim/zimfarm
watcher/entrypoint.sh
Shell
gpl-3.0
302
echo "*** install desktop environment ***" pacman -Sy --noconfirm --needed xorg-xdm xdm-archlinux xorg-server xorg-xinit xorg-utils xorg-server-utils pacman -Sy --noconfirm --needed xf86-video-vesa pacman -Sy --noconfirm --needed lxde openbox #pacman -Sy --noconfirm --needed xfce4 xfce4-goodies human-icon-theme #pac...
bboortz/archlinux-scripts
build_os/post_scripts/210_desktop_install.sh
Shell
gpl-3.0
509
#!/bin/bash rm "InfluenceContaminations/results.txt" cp "EventSelection/Cuts_perso_aucun.h" "EventSelection/Cuts.h" # no bkg rm "contaminations/contaminations.h" echo "double A_208Tl = 0 ; double A_214Bi = 0 ; double A_222Rn = 0 ;" > "contaminations/contaminations.h" root -l -b -q efficiency.cc\(\"82Se\",1\) # nomi...
SuperNEMO-DBD/AllAnalyses
Cloe/SensitivityStudy-master/script_contaminations_aucun.sh
Shell
gpl-3.0
2,204
#!/bin/bash GAMEDB=pokopoko_Game LOGDB=pokopoko_Log for ((i = 1; i < 11; i++));do if [ $i != 10 ];then echo "CREATE DATABASE ${GAMEDB}0$i character set utf8;" echo "CREATE DATABASE ${LOGDB}0$i character set utf8;" mysql -u root ${GAMEDB}0$i < pokopoko_Game.sql mysql -u root ${LOGDB...
wapj/scripts
restore_reviewdb.sh
Shell
gpl-3.0
596
#!/bin/bash LOG=/var/log/userdata/debian/$(basename ${0}).log mkdir -p $(dirname ${LOG}) exec 1>${LOG} 2>&1 date set set -o verbose set -o errtrace set -o xtrace cd /tmp # CrateDB bash -c "$(curl -L install.crate.io)" echo done exit 0
devopsomatic/aws
userdata/debian/cratedb.sh
Shell
gpl-3.0
239
#!/bin/bash # OpenRA packaging script for versioned source tarball if [ $# -ne "2" ]; then echo "Usage: `basename $0` tag outputdir" exit 1 fi # Set the working dir to the location of this script cd $(dirname $0) TAG="$1" OUTPUTDIR="$2" SRCDIR="$(pwd)/../.." pushd ${SRCDIR} > /dev/null make version VERSION=...
LipkeGu/OpenRA
packaging/source/buildpackage.sh
Shell
gpl-3.0
445
#!/bin/sh if [ -z $DESTDIR ]; then echo 'Compiling GSchema' glib-compile-schemas "$MESON_INSTALL_PREFIX/share/glib-2.0/schemas" if [ "$1" = "false" ] # Was it lib-only? then echo 'Updating icon cache' gtk-update-icon-cache -qtf "$MESON_INSTALL_PREFIX/share/icons/hicolor" echo 'Updating desktop database' u...
TingPing/irc-client
meson_post_install.sh
Shell
gpl-3.0
396
#!/bin/sh if ! command -v wget then apt-eole install wget fi if ! command -v git then apt-eole install git fi if ! command -v make then apt-eole install make fi if ! command -v pip then apt-eole install python-pip fi if [ ! -d /usr/lib/python2.7/dist-packages/yaml ] then apt install -y python-yaml fi if ! c...
GggEole/eole-meta-conteneurs
scripts/installPaquets.sh
Shell
gpl-3.0
926
DOCKER_NAME= DOCKER_IMAGE= STOP_HTTP= RUN_SH="xhost +localhost" DOCKER_RUN="--device /dev/snd -v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0"
RolandKujundzic/rkdocker
gui/iceweasel/config.sh
Shell
gpl-3.0
135
# '.' this from indiviual test.sh files if diff -b expected result then printf "PASSED: $PWD\n\n" else printf "FAILED: $PWD\n\n"; exit 1 fi
dcwbrown/olang
src/test/confidence/testresult.sh
Shell
gpl-3.0
140
#!/usr/bin/env bash w="3600" n="3" d="5" u="`id -u`" || exit [[ "$u" == "0" ]] || exec sudo env DISPLAY="$DISPLAY" DBUS_SESSION_BUS_ADDRESS="$DBUS_SESSION_BUS_ADDRESS" "$0" "$@" || exit # [[ "$u" == "0" ]] || exec time sudo "$0" "$@" || exit s="/sys/power/state" p="/sys/class/power_supply/AC/online" [[ -e "$p" ]] || ...
datgao/miscutil
p.sh
Shell
gpl-3.0
1,117
##! /bin/sh # export DISPLAY=:0 PULSE_SERVER=tcp:127.0.0.1:4712 #startxfce4 &> 2
redjoker/nexus9_chroot
graphics.sh
Shell
gpl-3.0
81
#!/bin/sh tar -xjvf multichase-1.tar.bz2 mv multichase multichase-bin cd multichase-bin echo "--- Makefile 2016-12-29 01:46:00.387366591 +0000 +++ Makefile.new 2016-12-29 01:45:54.284206284 +0000 @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License....
phoronix-test-suite/phoronix-test-suite
ob-cache/test-profiles/pts/multichase-1.0.2/install.sh
Shell
gpl-3.0
977
#!/usr/bin/env bash # Aim: launch a functional test for the insilicut package # Copyright (C) 2014 Institut National de la Recherche Agronomique (INRA) # License: GPL-3+ # Author: Timothée Flutre progVersion="1.0" # Display the help on stdout. # The format complies with help2man (http://www.gnu.org/s/help2man) funct...
timflutre/insilicut
tests/test_func.bash
Shell
gpl-3.0
5,332
#!/bin/bash ACV="2.86" ARC=".tar.gz" APN="sysvinit" export ACV ARC APN ACB=$APN-$ACV export ACB # # Sysvinit-2.86 # ########################################## cd $LSB $TC $LSR/$ACB$ARC cd $ACB sed -i 's@Sending processes@& configured via /etc/inittab@g' \ src/init.c make -C src make -C src install cat > /etc/initta...
buswellj/code
AppOS-Linux/abs-7.0.2/bldsys/scripts32/chroot/sysvinit_p4.sh
Shell
gpl-3.0
971
#!/bin/bash # This script is used to generate the previews needed by the mod # It requires blender with the latest python API (2.6x is tested) # A script that works with older blenders and, maybe, without python, is available in older commits. # This script can also use pngcrush and imagemagick to reduce output size, #...
linushsao/sky_islands_game-linus
mods/modmenu_linus/skins_linus/generate_previews.sh
Shell
gpl-3.0
1,520
#! /bin/bash # Remove Oasis files rm -rf configure libnewque_stubs.clib Makefile myocamlbuild.ml setup.data setup.ml _tags tmp mkdir tmp # Create new Oasis files oasis setup ./configure # Keep a copy of the stubs cp tmp/libnewque_stubs.clib . # Download rapidjson if missing if [ ! -d "rapidjson" ]; then echo 'Dow...
bradstimpson/newque
scripts/setup.sh
Shell
mpl-2.0
630
#!/bin/bash PROG=$1 eval "/usr/bin/time -l 2>&1 ./$PROG | grep maximum"
awf/Coconut
Scripts/memusg.sh
Shell
mpl-2.0
72
#!/bin/bash ################################################################################ # # Script to install Zabbix Agent and Server on a Ubuntu 14.04 vanilla system # # Copyright Samuel Cozannet 2014 # Maintainer: Samuel Cozannet <samuel.cozannet@canonical.com> # ##############################################...
SaMnCo/ob-zabbix
install-zabbix-server.sh
Shell
agpl-3.0
5,117
#!/bin/bash VIRTUAL_MACHINE_IP=$(echo "$DOCKER_HOST" | grep -Eo '([0-9]*\.){3}[0-9]*') echo echo "* This script is intended for Mac." echo echo "The server have to connect the db container via the IP of the virtual machine." echo "The virtual machine IP is: $VIRTUAL_MACHINE_IP" echo DATABASE_URL=postgres://smartbi...
BspbOrg/smartbirds-server
mac-npm-run.sh
Shell
agpl-3.0
376
#!/usr/bin/dumb-init /bin/bash . /env.sh for var in ${!DEFAULT_KAM*}; do t=${var/DEFAULT_/} if [ -z ${!t} ]; then echo "Using default for ${t}:${!var}" eval ${t}=${!var} export "${t}" else echo "Using override value for ${t}" fi done for var in ${!KAM_*}; do if [[ $var == KAM_* && "${var}"...
mwolff44/pyfreebilling
compose/production/kamailio/run.sh
Shell
agpl-3.0
541
#!/bin/bash # Copyright 2013,2014 Marko Dimjašević, Simone Atzeni, Ivo Ugrina, Zvonimir Rakamarić # # This file is part of maline. # # maline 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...
soarlab/maline
src/get_emu_ready.sh
Shell
agpl-3.0
4,084
#!/bin/sh set -e color() { printf '\033[%sm%s\033[m\n' "$@" # usage color "31;5" "string" # 0 default # 5 blink, 1 strong, 4 underlined # fg: 31 red, 32 green, 33 yellow, 34 blue, 35 purple, 36 cyan, 37 white # bg: 40 black, 41 red, 44 blue, 45 purple } color '36;1' " ...
abhishekgahlot/inbox
setup.sh
Shell
agpl-3.0
2,536
#!/bin/bash git clone https://github.com/open-source-parsers/jsoncpp.git cd jsoncpp mkdir -p build/debug cd build/debug cmake -DCMAKE_INSTALL_PREFIX=/home/travis/jsoncpp/install -DCMAKE_BUILD_TYPE=debug -DJSONCPP_WITH_PKGCONFIG_SUPPORT=OFF -G "Unix Makefiles" ../.. make make install
idaholab/mytrim
.travis_bootstrap.sh
Shell
lgpl-2.1
288
#!/bin/bash # in this file we will run a representative simulation # user must edit USER PARAMETERS and USER SIMULATION PARAMETERS sections ##################### USER PARAMETERS ########################### # ideally these parameters should be read in as parameters and then the script can do its work COMPUTER_TYPE="l...
Mbewu/libmesh
examples/dphil/coupled_navier_stokes/libmesh_scripts_laptop/particle_deposition_august/fluid_testing/dt_testing/single_bifurcation/v_2000/dt_0.000025/test_script.sh
Shell
lgpl-2.1
6,486
#./configure \ #--with-config-file-path=/etc \ #--with-config-file-scan-dir=/etc/php.d \ #--with-pear \ #--with-curl \ #--with-gd \ #--with-jpeg-dir \ #--with-png-dir \ #--with-freetype-dir \ #--with-zlib-dir \ #--with-iconv \ #--with-mcrypt \ #--with-mhash \ #--with-pdo-mysql \ #--with-mysql-sock=/var/lib/mysql/mysql....
nay-kang/Scripts
php_install.sh
Shell
lgpl-3.0
1,049
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR/../.. git reset --hard git pull composer install
tencent-th/test-tcplayer
scripts/webhook/deploy.sh
Shell
unlicense
128
#!/bin/bash PKG=$NPMPKG NPM=pnpm if [ "$1" == "--full" ]; then echo NPM OWNER/SEARCH/VIEW $PKG echo " version published on npm: `$NPM view $PKG version`" ($NPM owner ls $PKG; \ $NPM search $PKG --no-description; \ $NPM view $PKG ) \ | perl -pne '$_ = qq{ $_}' echo "" echo $PKG dependencies $NPM ls | pe...
bcowgill/perljs
scripts/check-npm.sh
Shell
unlicense
634
# Human readable ll output alias functions='{ echo "# vi:syntax=sh" ; declare -f ; } | vless'
LoveIsGrief/bash_env
aliases/functions.bash
Shell
unlicense
94
#!/bin/bash doySTART=2000000 doyEND=2016000 #Go to Data Directory cd ~/DATA #Define number of (virtual) cores ncores=`grep -c 'processor' /proc/cpuinfo` echo "ncores=" $ncores PRoot=~/dev/distRS/trunk #Vegetation Fraction prog_root=$PRoot/prog/prog_fc cd $prog_root make clean make cd ~/DATA for (( doy = $doySTART ...
YannChemin/distRS
country/SriLanka/06_processing.sh
Shell
unlicense
2,632
#!/bin/bash # Stupidly simple test script. # Invoke with oktest.sh <script.py> <test> # This code is trivial and therefore I release it into the public domain. # See LICENSE # Owain Kenway, 2015 if [ "$#" -ne 2 ]; then echo "Please read code." echo "Invoke with:" echo " oktest.sh <script.py> <test>" ec...
owainkenwayucl/oktest
oktest.sh
Shell
unlicense
1,034
# Make pushd default to $HOME if no arguments given, much like cd pushd() { if (($#)) ; then builtin pushd "$@" else builtin pushd -- "${HOME}" fi }
bitdagger/dotfiles
bash/bashrc.d/pushd.bash
Shell
unlicense
177
#!/usr/bin/env bash pactl set-sink-port alsa_output.pci-0000_00_1f.3.analog-stereo analog-output-headphones && touch /tmp/headphones
pthorin/dotfiles
scripts/headphones.sh
Shell
unlicense
136
#!/bin/sh set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRO...
GitHubStuff/SwiftIntervals
Pods/Target Support Files/Pods-SwiftEvents/Pods-SwiftEvents-frameworks.sh
Shell
unlicense
4,045
#!/bin/bash source ./ci/functions.sh runBuild=false echo "Reviewing changes that might affect the Gradle build..." currentChangeSetAffectsDependencies retval=$? if [ "$retval" == 0 ] then echo "Found changes that affect project dependencies." runBuild=true else echo "Changes do NOT affect project dependenc...
philliprower/cas
ci/update-dependencies.sh
Shell
apache-2.0
1,293
#!/usr/bin/env bash DEVICE_NAME="pi3.lts.no" echo "Updating packages:" sudo apt-get update && sudo apt-get upgrade -y echo "Installing new packages" sudo apt-get install \ git \ vim \ --assume-yes # openssh-server \ # curl \ # cron-apt \ echo "Cloning key repo" git clone https://github.com/LTS-AS/key-management....
LTS-AS/IOT
01_deploy.sh
Shell
apache-2.0
565
#!/bin/bash # Copyright 2017 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...
turbomanage/training-data-analyst
courses/developingapps/v1.2/python/kubernetesengine/end/prepare_environment.sh
Shell
apache-2.0
3,074
# vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 fileencoding=utf-8 : # # Copyright 2014 by James Burlingame # Apache 2.0 License # # installer-functions.sh # common installer functions TARBALLS_DIR=${TARBALLS_DIR:-"$TOP_DIR/tarballs"} # get_tarball URL MD5 FILE function get_tarball() { local count=0 loc...
samplx/installers
installer-functions.sh
Shell
apache-2.0
6,918
#!/bin/bash # Copyright 2014 The Kubernetes 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 applicable law ...
rkouj/kubernetes
cluster/gce/config-test.sh
Shell
apache-2.0
10,760
#!/bin/bash # Copyright 2021 The Verible 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 applicable law or ...
chipsalliance/verible
.github/bin/install-python.sh
Shell
apache-2.0
1,100
#!/bin/bash clear #### Information for metadata file ####### echo "##########################################" echo "## Plesk Extension EZ-Template Wizard ##" echo "## created by Jamie Charleston of Plesk ##" echo "##########################################" echo echo Select the OS are you building this template f...
Revmagi/Plesk-Extension-Virtuozzo-EZ-templates
PleskExtensionEZWizard.sh
Shell
apache-2.0
2,962
sudo timedatectl set-time "yyyy-MM-dd hh:mm:ss"
jpodeszwik/hadoop-workshop2
code/timedatectl.sh
Shell
apache-2.0
48
cd ~/spark-examples rm -f *.java export MY_APP_JAR=MY_2.10-2015.08.12.jar export MY_DATA_DIR=hdfs:///user/root/data export MY_AREA=test export MY_DB_CONNECT="jdbc:oracle:thin:@192.168.1.1:1521:orcl" export MY_USERNAME=username export MY_PASSWORD=password export SPARK_NUM_EXECUTORS=9 export SPARK_EXECUTOR_MEMORY=2G ...
ruoyousi/spark-examples
bin/commands-examples.sh
Shell
apache-2.0
864
/Applications/MATLAB_R2015b.app/bin/matlab -nodesktop -nosplash -minimize -r "cd C:\\wamp\\www; run('DataStreamEXEMarch20at314pm.m'); exit;"
zmbernho/FYDP
game/runMATLAB.sh
Shell
apache-2.0
140
#!/bin/bash ##### OPTIONS # (required) path to .clustering file CLUSTER_FILE_PATH=$1 CLUSTER_FILE_NAME=$(basename "$CLUSTER_FILE_PATH" ".clustering") ##### VARIABLES # the name to give to the LSF job (to be extended with additional info) JOB_NAME="PRIDE-CLUSTER-LOADER" # memory limit in MGb MEMORY_LIMIT=10000 # log...
PRIDE-Cluster/cluster-result-importer
scripts/runClusterLoader.sh
Shell
apache-2.0
835
#!/bin/bash set -e Xvfb :10 -screen 0 1280x1024x24 & sleep 3 cd /freedom-for-firefox grunt test
freedomjs/freedom-for-firefox
tools/docker-entrypoint.sh
Shell
apache-2.0
97
#!/bin/bash virtualenv -p /usr/bin/python2.7 leonardo_venv cd leonardo_venv . $PWD/bin/activate pip install -e git+https://github.com/django-leonardo/django-leonardo@develop#egg=django-leonardo pip install -r $PWD/src/django-leonardo/requirements.txt pip install -e git+https://github.com/leonardo-modules/leonardo-sto...
amboycharlie/Child-Friendly-LCMS
contrib/scripts/install_store.sh
Shell
apache-2.0
850
#!/bin/sh curl -XDELETE localhost:9200/test curl -XPUT localhost:9200/test -d' { "settings" : { "number_of_shards" : 1 }, "mappings" : { "doc" : { "properties" : { "text" : { "type" : "string", "analyzer" : "standard" } ...
flaxsearch/luwak_tests
compare_percolator/reset-es-test-index.sh
Shell
apache-2.0
357
#!/bin/bash if [ -n "$TRAVIS_TAG" ]; then ./gradlew bintrayUpload -i fi
scarabresearch/EmarsysPredictSDKAndroid
.travis/upload_to_bintray.sh
Shell
apache-2.0
75
#!/bin/bash #set RY_RUN just to run nothing on amazon ocasionally #DRY_RUN="--dry-run" #check if we are root (for example running with sudo) ROOT=$(whoami) if [ ! "xroot" == "x$ROOT" ]; then echo $0 requires root permissions to run. echo please run "sudo $0" exit 1 fi set -x . folders.config function prepare_folde...
ImpalaToGo/i2g-controller
cluster/init_required_folders.sh
Shell
apache-2.0
579
#!/usr/bin/env bash # In order to run this you need to have epydoc (http://epydoc.sourceforge.net/) installed, which can be done # on Ubuntu with # # sudo apt-get install python-epydoc rm docs/code/* epydoc --html -o docs/code/ --name "Jisc Publications Router - OAI-PMH endpoint" --url https://github.com/JiscPER/jper-...
JiscPER/jper-oaipmh
document.sh
Shell
apache-2.0
405
#! /bin/bash export glibc_install="$(pwd)/sourceware/glibc/build/install" pushd /root/github git clone git://sourceware.org/git/glibc.git sourceware/glibc cd sourceware/glibc git checkout glibc-2.32 mkdir build cd build ../configure --prefix "$glibc_install" make -j `nproc` make install -j `nproc` cd install tar -cv...
xunilrj/sandbox
sources/kubernetes/devtest/k8s/build.glibc.sh
Shell
apache-2.0
461
#!/bin/bash ############################################################################### # # file: update_l10n.sh # # Purpose: Rebuild localization po files. # # Note: This file is part of Termsaver-Figlet plugin, and should not be used # or executed separately. # #################################...
brunobraga/termsaver-figlet
extras/update_l10n.sh
Shell
apache-2.0
2,549
#!/bin/bash # # Bootstrap a local machine # - install git # - clone repo # - update repos # - install depencencies # # Date: 6-9-2014 # Author: Daniel Mikusa <dmikusa@gopivotal.com> # set -e # Detect OS & Version OS=$(cat /etc/issue | cut -d ' ' -f 1) VERSION=$(cat /etc/issue | cut -d ' ' -f 2 | cut -d '.' -f ...
dmikusa-pivotal/cf-php-buildpack-binary-build-scripts
build/run_local.sh
Shell
apache-2.0
2,767