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 |
|---|---|---|---|---|---|
#!/usr/bin/env bash
service_name=track-service
host_address=192.168.0.21
uid=root
jar_home=/root/.jenkins/workspace/TRACK/
api_service_path=/usr/esapp/api-services
function package()
{
echo "building package"
mvn -Dmaven.test.failure.ignore -Dspring.profiles.active=test clean package
}
function startup()
{... | EasyAssessSystem/track | buildtask/deploy.sh | Shell | mit | 665 |
#!/bin/bash
function install_os {
pacman -Sy
pacman -S git python2 python2-pip swig alsa-lib alsa-utils libpulse vlc memcached gcc --noconfirm --needed
install -Dm644 ./unit-overrides/force-python2.conf /etc/systemd/system/AlexaPi.service.d/force-python2.conf
systemctl daemon-reload
systemctl enab... | ImEmJay/AlexaPi | src/scripts/inc/archlinux.sh | Shell | mit | 421 |
#!/bin/bash
# https://plusbryan.com/my-first-5-minutes-on-a-server-or-essential-security-for-linux-servers
#
# TODO(jez) Automate passwords
#
set -euo pipefail
echo 'Creating password for root...'
passwd
apt-get update
apt-get upgrade -y
apt-get install -y fail2ban unattended-upgrades
useradd jez
mkdir -p /home/... | jez/bin | first-five-minutes.sh | Shell | mit | 1,335 |
#!/bin/bash
# Install adobe crack dll into folder
FOLDER="/cygdrive/c/Program Files/Adobe/Adobe Photoshop CS6 (64 Bit)/"
DLL_CRACK="/cygdrive/c/Temp/PS6/Adobe Photoshop CS6 13.0.1 Final Multilanguage (cracked dll) [ChingLiu]/cracked dll/64 bit/amtlib.dll";
if [[ ! -d $FOLDER ]]; then
echo "Diretorio nao existe";
... | 0x00-0x00/shell_scripts | adobeps6_dllinstall.sh | Shell | mit | 565 |
#!/bin/bash
# thx http://c-note.chatwork.com/post/104035637770/travis-ci-php-%E3%81%AE-ci%E7%92%B0%E5%A2%83
IGNORE_PATTERN="vendor"
RESULT=$(find . -name "*.php" | grep -Ev "${IGNORE_PATTERN}" | xargs -I{} php -l {})
if [ $? -eq 0 ]; then
echo "Success"
exit 0
else
echo "${RESULT}"
exit 1
fi
| jidaikobo-shibata/a11yc | .travis/php_lint.sh | Shell | mit | 303 |
#!/bin/bash
### process_script.sh processes the files in a logGen format runlist file through the selected stages with the selected options ###
##### SET DEFAULTS #####
scriptName=${0##*/}
scriptDir=${0/\/$scriptName}
common_functions=$scriptDir/common_functions.sh # has functinos common to multiple scripts
setCuts... | mbuchove/analysis-tools-m | processing_scripts/process_master.sh | Shell | mit | 24,501 |
#!/bin/bash
CURRENT_DIR="$(pwd)"
DIR=$1
if [ -z $1 ]
then
DIR=$CURRENT_DIR
fi
# Install Boost
wget -O boost_1_64_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.64.0/boost_1_64_0.tar.gz/download
tar xzvf boost_1_64_0.tar.gz
cd boost_1_64_0/
./bootstrap.sh --exec-prefix=$DIR
./b2 threading=multi
./b2 in... | legraina/DynamicNurseScheduler | BCPDocker/INSTALL.sh | Shell | mit | 866 |
#!/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... | FuckBoilerplate/RxCache | Examples/Pods/Target Support Files/Pods-OSX/Pods-OSX-frameworks.sh | Shell | mit | 3,913 |
#!/usr/bin/env sh
# You will be prompted with password
zipSeries \
--source-svr server1 --source-usr QSECOFR --source-lib MYLIB \
--target-svr server2 --target-usr QSECOFR --target-lib MYLIB
| ginkoms/zipSeries | examples/copy-whole-object.sh | Shell | mit | 194 |
#!/bin/bash
INTERFACES_PATH='/opt/pixelpals/data/interfaces'
case "$1" in
'megaman') PIXEL_PAL='Megaman'
NETWORK=12
;;
'vaultboy') PIXEL_PAL='VaultBoy'
NETWORK=13
;;
'smb3firemario') PIXEL_PAL='smb3FireMario'
NETWORK=15
;;
'smbmario') PIXEL_... | ianthomasmccarthy/PixelPals | data/newsd.sh | Shell | mit | 1,284 |
#!/bin/bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DBDIR=$DIR/db-$(uname -i)
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR/psql-$(uname -i)/lib
if [ ! -d $DBDIR ]; then
$DIR/psql-$(uname -i)/bin/initdb -D $DBDIR --username=postgres --no-locale
$DIR/mkdb.sh &
fi
$DIR/psql-$(uname -i)/bin/... | Nikolay-Kha/devicehive-portable-server | scripts/psql.sh | Shell | mit | 339 |
#!/bin/sh
gradleFilePath="$1"
if [ -z "$gradleFilePath" ]; then
echo "Missing $1 parameter for gradleFilePath"
exit 1
fi
isProjectInfoTask=`grep "task(projectInfo)" $gradleFilePath`
if [ ! -z "$isProjectInfoTask" ]; then
echo "already have projectInfo task, done!"
exit 0
fi
(cat <<'EOT'
task(projectInfo) ... | mohi-io/npm-mohi-io-vendor | vendor/scripts/decorateProjectInfoTask.sh | Shell | mit | 754 |
#!/usr/bin/env bash
# copy all system config to /
cp -R $WP6SRC/conf-template/* /
WP6SRCESC=$(echo $WP6SRC | sed 's_/_\\/_g')
# all configuration points to /opt/virtualfolder, either it is linked to cvmfs or filled by compilation
#sed -i -e "s/\/cvmfs\/west-life.egi.eu\/software\/virtualfolder\/latest\/MetadataService/... | h2020-westlife-eu/west-life-wp6 | wp6-virtualfolder/bootstrap/bootstrapconfig.sh | Shell | mit | 648 |
#!/bin/sh
# Inspired by http://blogs.splunk.com/2014/06/03/generate-elliptical-curve-certkeys-for-splunk/
DOMAIN=tls-o-matic.com
mkdir -p ca/ec
mkdir -p ca/ec/private
mkdir -p ca/ec/newcerts ca/ec/certs ca/ec/request
cd ca/ec
echo 1000 > serial
touch index.txt
export COMMONNAME="EC CA for $DOMAIN"
export ALTNAME=email:... | KPN-CISO/tls-o-matic | bin/create-ec-ca.sh | Shell | cc0-1.0 | 529 |
#!/usr/bin/env bash
cd "$( dirname "${BASH_SOURCE[0]}" )"
case "$OSTYPE" in
darwin*)
wget http://chromedriver.storage.googleapis.com/2.24/chromedriver_mac64.zip
unzip -o chromedriver_mac64.zip
rm chromedriver_mac64.zip
;;
linux*)
wget http://chromedriver.storage.googleapis.com/2.24/chromedri... | matthiasn/systems-toolbox-ui | bin/get-chromedriver.sh | Shell | epl-1.0 | 464 |
#!/bin/sh
docker stop namebazaar-ganache || true
docker rm namebazaar-ganache || true
docker run --name=namebazaar-ganache \
-p 8549:8549 \
trufflesuite/ganache-cli:v6.12.1 -p 8549
| district0x/name-bazaar | run-ganache.sh | Shell | epl-1.0 | 191 |
#!/bin/bash
# _5g is as _5e, but adding one statistics-extraction layer to the
# splice indexes, in the middle of the network (with both mean
# and stddev).
# Here is decoding with --frames-per-chunk 300. A fairly consistent
# improvement.
#./compare_wer.sh 5e 5g
#System 5e 5g
#WER on t... | michellemorales/OpenMM | kaldi/egs/swbd/s5c/local/chain/tuning/run_tdnn_5g.sh | Shell | gpl-2.0 | 23,416 |
#!/bin/bash
# Purpose:
# Perform an in place defrag of all tables by
# using alter table statement
# Features to add
# o Check that there is space for the largest table, if not exit.
# o Fix the parm passing below
# o stop and start replication.
# Copyright 2013 Palominodb
#
# Licensed under the Apache License, ... | palominodb/PalominoDB-Public-Code-Repository | vfa/pdb-defrag.sh | Shell | gpl-2.0 | 7,011 |
#!/bin/sh
scriptpath=$(cd "$(dirname "$0")"; pwd)
#kill screen sessions that already have the name hades tunnel.
# for session in $(screen -ls | grep -o '[0-9]*\.hades'); do screen -S "${session}" -X quit; done
#create a new screen and execute our interactive bash script inside it
screen -dmS "hadestunnel" $scriptpa... | SMAPPNYU/smappPy | smappPy/hadestunnel.sh | Shell | gpl-2.0 | 338 |
#!/bin/bash
#
# Copyright (C) 2012-2013 Codership Oy <info@codership.com>
#
# init.d script for garbd
#
# chkconfig: - 99 01
# config: /etc/sysconfig/garb | /etc/default/garb
#
### BEGIN INIT INFO
# Provides: garbd
# Required-Start: $network $local_fs
# Should-Start:
# Required-Stop: $network $local_fs
... | javacruft/percona-xtradb-cluster-galera-3.x | garb/files/garb.sh | Shell | gpl-2.0 | 3,626 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2013-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/t2148-lua-print-table.sh | Shell | gpl-2.0 | 1,096 |
#!/bin/bash
if [ -f ./CMakeLists.txt ]
then
build_dir='./build'
rm -rf $build_dir
else
echo "You are not inside a project!"
fi
| elesd/High-Resolution-Image-Reconstruction | bin/clean.sh | Shell | gpl-2.0 | 134 |
#!/bin/sh
#
# Copyright (c) 2005, 2006 Junio C Hamano
SUBDIRECTORY_OK=Yes
OPTIONS_KEEPDASHDASH=
OPTIONS_SPEC="\
git am [options] [(<mbox>|<Maildir>)...]
git am [options] (--resolved | --skip | --abort)
--
i,interactive run interactively
b,binary* (historical option -- no-op)
3,3way allow fall back on ... | dragonfax/git_webos | git-am.sh | Shell | gpl-2.0 | 20,371 |
projectGroupId()
{
echo "net.sourceforge"
}
projectVersion()
{
echo "4.6"
}
projectApuRev()
{
cat cproto/apu/revision
}
projectArchDepend()
{
# yes, need arch for building apu
return 0
}
| actility/ong | external/cproto/apu/apu.sh | Shell | gpl-2.0 | 203 |
#! /bin/bash
rm selfie.jpg
raspistill -v -o /home/pi/421_521_final_project/GUI/selfie/selfie.jpg
| ase1/421_521_final_project | GUI/selfie/takeselfie.sh | Shell | gpl-2.0 | 99 |
#!/bin/sh
# Construct and plot Bubble optimal filter and associated data
#################################################################
# Construct filter.
./filter_construct_mf_bubble.sh
# Make fits map of sky.
s2_sky2map \
-sky data_filter/mf_Tbubble_Bcmb_Stmpl_sky01.sky \
-map data_filter/mf_Tbubble_Bc... | astro-informatics/s2fil | construct_and_plot_mf_bubble.sh | Shell | gpl-2.0 | 866 |
#!/bin/sh
PREREQ="udev"
prereqs() {
echo "$PREREQ"
}
case "$1" in
prereqs)
prereqs
exit 0
;;
esac
stop_boot() {
logger -t wait-for-boot -s "Dropbear login detected..."
exit 0
}
run_autoboot_timeout() {
timeout=60
i=0
while [ ! -f /tmp/noautoboot ] || stop_boot; do
i=$((i+1... | kayrus/rescue-initramfs | autoboot.sh | Shell | gpl-2.0 | 627 |
#!/bin/bash
ls /var/www/mobger/mobger/media/clients_export/berlanda > /home/saluscripts/berlandascripts/lojas.txt
> /home/saluscripts/berlandascripts/logs_ausente.txt
> /home/saluscripts/berlandascripts/ultimaversao.txt
> /home/saluscripts/berlandascripts/versaoanterior.txt
cat /home/saluscripts/berlandascripts/loja... | tuxrulez/binarios | xavier/ti/scripts/saluscripts/berlandascripts/verifica.sh | Shell | gpl-2.0 | 1,091 |
#!/bin/bash
##
## sign-user-cert.sh - sign using our root CA the user cert
## Copyright (c) 2000 Yeak Nai Siew, All Rights Reserved.
##
HASHALGO="sha256"
VALID_DAYS=730
RANDOM_SRC=/dev/urandom
CERT=$1
if [ $# -ne 1 ]; then
echo "Usage: $0 user@email.address.com"
exit 1
fi
if [ ! -f $CERT.csr ]; the... | etdey/ssl.ca | sign-user-cert.sh | Shell | gpl-2.0 | 2,105 |
#! /bin/sh
# Copyright (C) 1997-2018 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 ... | komh/automake-os2 | t/txinfo-unrecognized-info-suffix.sh | Shell | gpl-2.0 | 984 |
# =================RANDOM QUOTES ==================
#fortune echoed into an animal blob
num_quotes=45
rand=$[ ( $RANDOM % $num_quotes ) + 1 ]
case $rand in
1)animal="vis.zen";;
2)animal="bong";;
3)animal="bud-frogs";;
4)animal="bunny";;
5)animal="cheese";;
6)animal="cower";;
7)animal="daemon";;
8)animal="def... | tawanda/utilities | fortune.sh | Shell | gpl-2.0 | 1,238 |
#Compile
if [[ $# = 1 ]]; then
. build/envsetup.sh
if [[ $? = 0 ]]; then
# Use local Java Development Kit 7
if (( $(java -version 2>&1 | grep version | cut -f2 -d".") > 7 )); then
echo "Using local OpenJDK 7..."
export JAVA_HOME=$(realpath ../jdk1.7.0_65);
fi
case $1 in
-u)
l... | lollipoop/scripts | CompileRamdisk.sh | Shell | gpl-2.0 | 811 |
#!/bin/bash -e
#
# Copyright 2016 (c) Yousong Zhou
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
PKG_NAME=xz
PKG_VERSION=5.2.2
PKG_SOURCE="$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_SOURCE_URL="http://tukaani.org/xz/$PKG_SOURCE"
PKG_SOURCE_MD5SUM=7cf6a8544a7... | yousong/build-scripts | build-xz.sh | Shell | gpl-2.0 | 359 |
#!/bin/bash
if [ -n "$1" ]; then
DRIVE=/dev/$1
if [ "$DRIVE" = "/dev/sda" ] ; then
echo "Sorry, mount $DRIVE is not allowed..."
exit 1
fi
else
echo -e "\nUsage: sudo $0 <device>\n"
echo -e "Example: sudo $0 sdc\n"
exit 1
fi
# umount partitions first
sudo umount ${DRIVE}1
sudo umount ${DRIVE}2
# test if dri... | augustinmanecy/flash-SD-tools-Overo | Scripts/MountSD.sh | Shell | gpl-2.0 | 1,360 |
#!/bin/bash
iterate throught hte shit
start from 0 and go to 36863
| Dallos/adinkra | runner.sh | Shell | gpl-2.0 | 71 |
#!/bin/bash
if [ -z $3 ]; then
echo "usage: $0 host justadd|discovery deviceClassId [deviceDescriptorId]"
elif [ $2 == "justadd" ]; then
(echo '{"id":1, "method":"Devices.PairDevice", "params":{"deviceClassId":"'$3'"}}'; sleep 1) | nc $1 1234
elif [ $2 == "discovery" ]; then
(echo '{"id":1, "method":"Devices.Pai... | mzanetti/guh | tests/scripts/pairdevice.sh | Shell | gpl-2.0 | 503 |
convert images/OCS-801-A.png -crop 1563x4538+91+311 +repage images/OCS-801-A.png
#
#
#/OCS-801.png
convert images/OCS-801-B.png -crop 1559x4654+56+325 +repage images/OCS-801-B.png
#
#
#/OCS-801.png
| jonnymwalker/Staroslavjanskij-Slovar | scripts/cropedges.OCS-801.sh | Shell | gpl-2.0 | 198 |
#!/bin/sh
eval `flash OP_MODE PPP_TYPE DEVICE_NAME HOST_NAME \
LAN_DHCP_MODE LAN_IP_ADDR LAN_SUBNET_MASK LAN_DEFAULT_GATEWAY \
WAN_IP_ADDRESS_MODE WAN_IP_ADDR WAN_SUBNET_MASK WAN_DEFAULT_GATEWAY \
WAN_DOT1X_ENABLED WAN_MAC_ADDR`
start_wan_services() {
dns.sh
if [ "$WAN_DOT1X_ENABLED" = 'Enabled' ]; then
8021x.s... | xandlom/keenetic-firmware | package/base-scripts/keenetic/link_up.sh | Shell | gpl-2.0 | 1,815 |
#!/bin/bash
set -x
aclocal $ACLOCAL_FLAGS
autoheader
automake --add-missing --copy
autoconf
echo "Now create build directory, cd into it, and execute $(pwd)/configure $@"
| l4ka/idl4 | autogen.sh | Shell | gpl-2.0 | 172 |
#!/bin/bash
clear
menu="
\e[34mProjet HulaHoop - Interface GitHub\n\e[32m---------------------------------------\n
\e[31m1-\e[0m Pousser une modification sur le serveur\n
\e[31m2-\e[0m Récupérer le dernier code depuis le serveur\n
\e[31m3-\e[0m Consulter l'historique des commits\n
\e[31m4-\e[0m Quitter\n
\n
"
echo -e ... | Alystrasz/HulaHoop | git.sh | Shell | gpl-3.0 | 1,115 |
#!/bin/bash
# pw: aufschleuen
#mkdir engineering
#mv *.7z engineering/
#cd engineering
#ls | grep .7z | sed "s/^/7z x -p$1 /" | sh
OLDIFS="$IFS"
IFS="
"
passwords=(`cat passwords.txt`)
IFS="$OLDIFS"
#echo ${passwords[1]}
s7z_archives=(`ls | grep "\.7z"`)
#echo "${s7z_archives[@]}"
for filename in "${s7z_archives... | romsom/scripts | extract_test/extract_7z.sh | Shell | gpl-3.0 | 793 |
#!/bin/bash
python RunBootstrap.py --paralog1 YER131W --paralog2 YGL189C --bootnum 9 > YER131W_YGL189C_Boot9_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YER131W_YGL189C_Boot9.sh | Shell | gpl-3.0 | 126 |
#!/bin/sh
fix_service_stop xinetd
yum erase xinetd
| Taywee/dod-stig-scripts | linux/V-38584/fix.sh | Shell | gpl-3.0 | 52 |
#!/bin/bash
python RunBootstrap.py --paralog1 YNL069C --paralog2 YIL133C --bootnum 83 > YNL069C_YIL133C_Boot83_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YNL069C_YIL133C_Boot83.sh | Shell | gpl-3.0 | 128 |
#!/bin/bash
# Replace these three settings.
PROJDIR="/home/pi/Django/musicvotingsite"
PIDFILE="$PROJDIR/django.pid"
SOCKET="$PROJDIR/musicvoting.sock"
PIDFILEPLAYER="$PROJDIR/musicplayer.pid"
cd $PROJDIR
if [ -f $PIDFILE ]; then
kill `cat -- $PIDFILE`
rm -f -- $PIDFILE
fi
if [ -f $PIDFILEPLAYER ]; then
k... | WIStudent/musicvotingsite | start.sh | Shell | gpl-3.0 | 499 |
#!/bin/bash
#javac -cp ".;json-simple-1.1.1.jar;dijkstra.jar;" boilerServer.java
javac -cp ".:json-simple-1.1.1.jar:mysql-connector-java-5.1.22-bin.jar:dijkstra.jar" boilerServer.java
| bremy11/adar_ece477 | serverCode/makeServer.sh | Shell | gpl-3.0 | 185 |
#!/bin/sh
export GRAS_ROOT=/home/aviral/GNU-Niyantran
export PATH=/home/aviral/GNU-Niyantran/build/grex/network:$PATH
export LD_LIBRARY_PATH=/home/aviral/GNU-Niyantran/build/lib:/home/aviral/GNU-Niyantran/build/PMC/lib:/home/aviral/GNU-Niyantran/build/gr36/volk/lib:$LD_LIBRARY_PATH
export PYTHONPATH=/home/aviral/GNU-Ni... | aviralchandra/Sandhi | build/grex/network/serialize_test_test.sh | Shell | gpl-3.0 | 885 |
#!/bin/bash
# prelim.com
setupMMgr 0x0111 "lab0"
setupMMgr 0x0117 "lab2"
setupMMgr 0x0121 "lab3"
setupMMgr 0x012a "lab4"
setupMMgr 0x03c4 "lab10"
setupMMgr 0x044a "okmsg"
setupMMgr 0x0465 "error"
setupMMgr 0x049d "conout"
setupMMgr 0x04c0-0x04d3 "stack2" RW
setup... | philcolbourn/pc-z80-emulator | pc-prelim.bash | Shell | gpl-3.0 | 465 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YBR191W --paralog2 YPL079W --simnum 13 > YBR191W_YPL079W_MG94_nonclock_Sim13_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YBR191W_YPL079W_sim13.sh | Shell | gpl-3.0 | 145 |
#!/bin/bash
# Run this script as root (using su)
# This script builds a static version of Qt. It was originally writen by Lennart Rolland and taken
# from here: https://stackoverflow.com/questions/24275551/
# I modified it to work with CentOS and Qt 5.6 and move around some QtSvg stuff for Bandage.
# Change this to ... | rrwick/Bandage | build_scripts/qt_static_build_centos.sh | Shell | gpl-3.0 | 3,966 |
# FinTP - Financial Transactions Processing Application
# Copyright (C) 2013 Business Information Systems (Allevo) S.R.L.
#
# 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 th... | FinTP/fintp_samples | fintp_sep/fintpSetEnv.sh | Shell | gpl-3.0 | 1,982 |
#!/bin/bash
scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
jsonSource="$scriptDir/tables-queues.json"
# exit on error
set -e
# input parameters
# $1 storage account name
# Set variables
storageAccountName=$1
declare -a containers=( $(jq -r '.blobcontainers[]' $jsonSource) )
# create queu... | DFEAGILEDEVOPS/MTC | deploy/storage/purge-all-blobs.sh | Shell | gpl-3.0 | 630 |
#!/bin/sh
amixer set 'Earpiece Mixer Voice' off
amixer set 'Voice PCM Out' off
amixer set 'DAC Voice Analog Downlink' off
| akemnade/simple-gsmgui | gsmgui-hungup.sh | Shell | gpl-3.0 | 122 |
#!/bin/bash
# on attend la connection à postgres
docker exec web /home/delain/delain/web/vendor/bin/phpunit /home/delain/delain/web/tests/
| Merrick28/delain | web/tests/phpunit_docker.sh | Shell | gpl-3.0 | 140 |
print_error()
{
check_n_args ${#} 1 "print_error <error>"
echo "${1}" >&2
}
exit_error()
{
check_n_args ${#} 2 "exit_error <error> <code>"
print_error "${1}"
exit ${2}
}
check_n_args()
{
if [ ${#} -ne 3 ]; then
exit_error "Usage: check_n_args <argc> <nargs> <error>" 1
fi
if [ ${1} -ne ${2} ]; the... | C1rcu17/ncli | common.inc.sh | Shell | gpl-3.0 | 1,099 |
#!/bin/sh
echo 1..5
#########################################
INPUT_MATRIX=$srcdir/Matrix/small.sms
./dense_lu 1 < $INPUT_MATRIX
#########################################
INPUT_MATRIX=$srcdir/Matrix/medium.sms
./dense_lu 2 < $INPUT_MATRIX
#########################################
INPUT_MATRIX=$srcdir/Matrix/singula... | cbouilla/spasm | test/test_dense_lu.sh | Shell | gpl-3.0 | 590 |
#!/bin/sh
cd "$(dirname "$0")"
rm -rf static/public
docker-compose build --pull frontend
docker-compose run --no-deps frontend echo
docker cp privatephotocloud_frontend_1:/home/public static/
docker-compose rm -f frontend
| askoretskiy/private-photo-cloud | compile_frontend.sh | Shell | gpl-3.0 | 225 |
#!/bin/sh
# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
#
# testrun.sh - a script to launch traceshark multiple times
# Copyright (C) 2017 Viktor Rosendahl <viktor.rosendahl@gmail.com>
#
# This file is dual licensed: you can use it either under the terms of
# the GPL, or the BSD license, at your op... | cunctator/traceshark | scripts/testrun.sh | Shell | gpl-3.0 | 2,849 |
rsync -a --delete web-template/ web-gen
mkdir web-gen/tags
mkdir web-gen/bliki
mkdir -p web-gen/photo-posts/2014
| mar9000/mar9000.org | rsync-template-to-gen.sh | Shell | gpl-3.0 | 114 |
#!/bin/sh
#
# Some useful options (these need to come before -jar)
#
# Listen on different port:
# -Dserver.port=80
#
# Show queries, responses, and time measurements
# -Dlogging.level.com.codefork.refine=DEBUG
#
# These are helpful for stabilizing the JVM's memory usage, which is
# useful for resource-constrained serv... | codeforkjeff/conciliator | run.sh | Shell | gpl-3.0 | 871 |
#!/bin/bash
expFile="/data2/analysis/total.root"
inputGraph1Name="H2O"
inputGraph2Name="H2O18"
inputGraph3Name="D2O"
outputGraph1Name="ONat_fromH2O"
outputGraph2Name="O18"
outputGraph3Name="ONat_fromD2O"
outputGraph4Name="D_fromD2O"
outputGraph5Name="H_fromH2O"
inputGraphSE1Name="H2OSysErrors"
inputGraphSE2Name="H2... | cdpruitt/total-neutron-cross-sections | analysis/plotScripts/produceOTotalCS.sh | Shell | gpl-3.0 | 2,037 |
#!/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 1B/logs/w-08-A/20161207T135340+0000/00/00/averageratioevent_0_ID0000012.sh | Shell | gpl-3.0 | 1,261 |
#!/bibn/bash
kill $(ps aux | grep 'collectd' | awk '{print $2}')
`/etc/init.d/collectd restart`
| procamora/Scripts-Bash | KillCollectd.sh | Shell | gpl-3.0 | 97 |
#!/bin/bash
set -e
export GEOSERVER_OPTS="-Djava.awt.headless=true -server -Xms${INITIAL_MEMORY} -Xmx${MAXIMUM_MEMORY} -Xrs -XX:PerfDataSamplingInterval=500 \
-Dorg.geotools.referencing.forceXY=true -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:+UseParallelGC -XX:NewRatio=2 \
-XX:+CMSClassUnloadingEnabled -Dfile... | indrz/indrz | devops/scripts/entrypoint.sh | Shell | gpl-3.0 | 1,034 |
#!/bin/sh
sh /opt/scripts/tomcat.sh start
| btamilselvan/tamils | ndb/src/main/resources/aws/deploy/code_deploy_start.sh | Shell | gpl-3.0 | 43 |
#!/bin/bash
#
# example: ./vbng-setup2.sh eth1 10.30.2.2/24 10.30.2.1 10.50.1.2 5002 10.50.1.1 20.20.0.1 eth2 10.30.1.2/24 10.30.1.1 2500mbit
#
#
#set -x
phy=${1}
phyipmask=${2}
phyipremote=${3}
loopip=${4}
vni=${5}
vxlanremote=${6}
gatewayip=${7}
uplinkphy=${8}
uplinkipmask=${9}
nexthop=${10}
policerate=${11}
if ... | donNewtonAlpha/vBNG | working/vbng-setup2.sh | Shell | gpl-3.0 | 4,801 |
#!/bin/bash
objdump_args=
if [[ "$1" == "-C" ]]; then
objdump_args="$1"
shift
fi
if [[ -z "$1" ]]; then
echo Missing module filename
exit 1
fi
if [[ -z "$OBJDUMP" ]]; then
OBJDUMP=objdump
fi
modules="$@"
scriptroot="$(cd "$(dirname "$0")" && pwd)"
declare -A kernel_syms
while IFS= read -r lin... | doug65536/dgos | module_checkimports.bash | Shell | gpl-3.0 | 1,598 |
#### A sample sequence of model compilation, execution and analyses ####
### Compiling ###
# - Parsing the model: locate and run xparser with the model description.
../xparser-0.17.0/xparser model_iceace.xml
# - Compiling the model: Link to your Libmboard directory and compile the .c codes.
make LIBMBOARD_DIR=/Users/... | ICEACE/IceaceModel1.0 | compile_run_plot.sh | Shell | gpl-3.0 | 724 |
#!/bin/bash
#echo "args: ip port"
IP=$1
PORT=$2
if [ ! -n "$IP" ]; then
IP="127.0.0.1"
fi
if [ ! -n "$PORT" ]; then
PORT=1337
fi
h=$(curl -s -X POST -d '{"jsonrpc":"2.0","method":"cita_blockNumber","params":[],"id":2}' $IP:$PORT | jq ".result" | sed 's/\"//g')
echo $((h))
| urugang/cita | tests/integrate_test/cita_blockNumber.sh | Shell | gpl-3.0 | 281 |
#!/bin/bash
# Cloudxns.com Domain api
#
#CX_Key="1234"
#
#CX_Secret="sADDsdasdgdsf"
CX_Api="https://www.cloudxns.net/api2"
#REST_API
######## Public functions #####################
#Usage: add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
dns-cx-add() {
fulldomain=$1
txtvalu... | colegatron/le | dnsapi/dns-cx.sh | Shell | gpl-3.0 | 4,761 |
#!/bin/bash -e
. ../../blfs.comm
build_src() {
srcfil=gnutls-3.3.7.tar.xz
srcdir=gnutls-3.3.7
tar -xf $BLFSSRC/$PKGLETTER/$CURDIR/$srcfil
cd $srcdir
sed -i -e '201 i#ifdef ENABLE_PKCS11' \
-e '213 i#endif' \
lib/gnutls_privkey.c
./configure --prefix=/usr \
--with-default-trust-store-file=/etc/ssl/ca... | fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/blfs-7.6-systemv/g/GnuTLS-3.3.7/build.sh | Shell | gpl-3.0 | 2,736 |
#!/bin/bash
source d00-lib.sh
BN=$(basename "$0")
NAM=${BN##d05-killAndRm}
NAM=${NAM%%.sh}
if [ "x$NAM" = "xXXX" ]; then
echo "please create symlink that configures this script (like: d04-bash200.sh)"
exit -1
fi
echo "use config $NAM"
NO=$NAM
source d00-cfg-r$NO.sh
echo DD=$DD
sudo docker kill $DNAME
sudo ... | PexMor/toolbox | netRouter/d05-killAndRmXXX.sh | Shell | mpl-2.0 | 337 |
# Configure system libs
sudo apt-get autoremove -y install-info
sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
sudo apt-get install -y python-dev libpq-dev gdal-bin libgdal-dev libproj-dev python-virtualenv python3-dev
# Setup Postgres
ppaexists=$( grep ^ /etc/apt/sources.list /etc/ap... | tradr-project/WebODM | contrib/ubuntu_1604_install.sh | Shell | mpl-2.0 | 2,167 |
#!/bin/sh
#
# Copyright (C) 2008, 2012-2016 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Clean up after lwresd tests... | pecharmin/bind9 | bin/tests/system/lwresd/clean.sh | Shell | mpl-2.0 | 483 |
phpcs --standard=PSR2 --extensions=php ..
| FrancoisMB/geniews | backend/composer/vendor/php-curl-class/php-curl-class/tests/check_syntax.sh | Shell | agpl-3.0 | 43 |
#
# This handles the encrypted root directory
#
# Please note that currently the key will be stored on a USB stick
#
CMD=$1
CLP=$2
for param in $(echo ${CLP} | tr "," " "); do
case ${param} in
dev=*)
KEYDEVICE=${param#dev=}
;;
*)
echo "*** Invalid parameter for 'dev' [${param}]"
exit 1
... | florath/rpi2bootstrap | modules/encrypted_root.sh | Shell | agpl-3.0 | 1,598 |
#!/bin/bash
read -r address < "$1"
# phantom.js to make screen captures -> makes png at $file.png cuz resolution.
phantomjs ./lib/webScreenshot.js "${address}" "${1%.*}" png
| ito-suite/node-ito-transcoder | bin/lib/url2png.sh | Shell | agpl-3.0 | 178 |
#!/bin/sh
# If you get "UnsatisfiedLinkError: /tmp/usb4java... failed to map segment from shared object: Operation not permitted",
# add the following line to the command below:
# -Djava.io.tmpdir=~/tmpdir/
java \
-classpath "dist/jAER.jar:jars/*:jars/javacv/*:jars/jogl/*:jars/usb4java/*" \
-splash:SplashScreen.gif \... | viktorbahr/jaer | jAERViewer1.5_linux.sh | Shell | lgpl-2.1 | 454 |
#!/bin/bash
# initialize the environment for the tests
export LD_LIBRARY_PATH="`pwd`/../trace"
SAMPLE=sample.out
test=tracetest
lib=nsntrace.so
# run the tests
#########################
# PHP low-level tests
#
echo "Running low-level tracing PHP tests ($lib)..."
OUT=php.out
CHK=php.chk
php -n -d 'extension_dir=../b... | maemo-foss/maemo-multimedia-trace | disabled/test/run-tests.sh | Shell | lgpl-2.1 | 1,963 |
#!/bin/bash
# Copyright 2019 Digital Aggregates Corporation, Colorado, USA
# Licensed under the terms in LICENSE.txt
# Chip Overclock <coverclock@diag.com>
# https://github.com/coverclock/com-diag-hazer
PROGRAM=$(basename ${0})
HOSTNAME=$(hostname)
DELAY=${1:-"3"}
while true; do
DEGREE=$'\u00B0'
TIMESTAMP=$(date -u... | coverclock/com-diag-hazer | Hazer/bin/bakepi.sh | Shell | lgpl-2.1 | 503 |
/* -*- C++ -*- */
/*************************************************************************
* Copyright(c) 1995~2005 Masaharu Goto (cint@pcroot.cern.ch)
*
* For the licensing terms see the file COPYING
*
************************************************************************/
echo 'CINT:: This is very slow. CIN... | dawehner/root | cint/demo/intprt_cint/cint.sh | Shell | lgpl-2.1 | 419 |
# Run with ./run-tests.sh
test_ocr_on_live_video() {
cat > test.py <<-EOF
import stbt
text = stbt.ocr()
assert text == "Hello there", "Unexpected text: %s" % text
text = stbt.ocr(region=stbt.Region(x=70, y=180, width=90, height=40))
assert text == "Hello", "Unexpected text: %s" % text
EOF
stbt-run -v... | capablue/stb-tester | tests/test-ocr.sh | Shell | lgpl-2.1 | 467 |
#!/bin/bash
#run from project root
curl -O -L https://github.com/linux-test-project/lcov/archive/v1.12.tar.gz
gunzip v1.12.tar.gz
tar -xvf v1.12.tar
cd lcov-1.12
#cant do this on osx due to https://github.com/linux-test-project/lcov/issues/19#issuecomment-257070373
#sudo make install
#brute force it instead
sudo cp bi... | Cyberboss/CyberEngineMkIII | BuildScripts/Coverage/run-lcov.sh | Shell | lgpl-3.0 | 1,131 |
#! /bin/sh
# BOS Linux Installer version 0.2
# You must be root to run this script because of the floppy/loopback device
echo
echo -e "\E[33;1mBOS\E[0m - \E[32;1mLinux installer\E[0m"
echo
if [ `id -u` != "0" ]; then
echo -e "\E[31;1mYou must be root to use this installer!\E[0m"
echo
fi
if [ -z "$1" ]; then... | bubach/BOS | scripts/install.sh | Shell | unlicense | 2,016 |
# Goodies for non-interactive use. This should be source from:
# ~/.zprofile, ~/.bash_profile or ~/.profile.
export LANG='en_US.UTF-8'
export LC_ALL='en_US.UTF-8'
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.cache
export XDG_DATA_HOME=$HOME/.local/share
export PATH=$HOME/bin:$HOME/.local/bin:$PATH... | sgryjp/dotfiles | profile/profile.sh | Shell | unlicense | 418 |
#!/bin/bash
##################################
# Deep Learning Vagrant Machine #
# by Holberton School #
##################################
function install {
echo installing "$1"
shift
apt-get -y install "$@" >/dev/null 2>&1
}
function pip_install {
echo installing "$1"
shift
pip i... | holbertonschool/deep-learning-vagrant-machine | bootstrap.sh | Shell | apache-2.0 | 1,141 |
#!/usr/bin/env bash
#
# Copyright 2018 The Knative 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | knative/operator | test/upload-test-images.sh | Shell | apache-2.0 | 2,044 |
python train_cifar10.py --num-epochs 200 --mode hybrid --num-gpus 1 -j 2 --batch-size 128 --wd 0.0001 --lr 0.1 --lr-decay 0.1 --lr-decay-epoch 100,150 --model cifar_resnet56_v1
| dmlc/web-data | gluoncv/logs/classification/cifar/cifar_resnet56_v1.sh | Shell | apache-2.0 | 177 |
#!/bin/bash
# Copyright 2020 The Bazel 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 agr... | grailbio/rules_r | tests/stamping/stamp_test.sh | Shell | apache-2.0 | 1,004 |
#!/bin/bash
ENVFILE=/etc/environment
# check to see if the environment variable is already set
if ! grep -q 'export HIVE_COMMON_UDF=' $ENVFILE; then
echo 'export HIVE_COMMON_UDF=/usr/lib/hive-common-udf' >> $ENVFILE;
else
sed -r 's/export HIVE_COMMON_UDF\=.*$/export HIVE_COMMON_UDF=\/usr\/lib\/xdata-common-ud... | Sotera/hive-common-udf | scripts/set-hive-common-udf-env.sh | Shell | apache-2.0 | 365 |
#!/bin/bash
#set -x
set -e
update=$1
base="/home/yasker/develop/go/src/github.com/rancher/longhorn-manager"
yaml=${base}"/deploy/02-components/01-manager.yaml"
driver_yaml=${base}"/deploy/02-components/04-driver.yaml"
project="longhorn-manager"
latest=`cat ${base}/bin/latest_image`
private=`sed "s/rancher/yasker/g"... | yasker/env | bin/lm-update.sh | Shell | apache-2.0 | 946 |
#!/bin/bash
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | googleapis/google-api-java-client | .kokoro/build.sh | Shell | apache-2.0 | 3,467 |
start_xvfb() {
#/etc/init.d/xvfb start
#export DISPLAY=:1.0
msg="Started Xvfb"
xinerama="+xinerama"
if [ "$NO_XINERAMA" = "true" ]; then
xinerama=""
msg="$msg, xinerama disabled"
fi
randr="+extension RANDR"
if [ "$NO_RANDR" = "true" ]; then
randr=""
msg=... | EndPointCorp/lg_ros_nodes | scripts/docker_xvfb_add.sh | Shell | apache-2.0 | 555 |
#!/bin/bash
set -x
git push origin master
git push origin master:gh-pages
| xionchen/xionchen.github.io | push.sh | Shell | apache-2.0 | 74 |
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | graben1437/titan0.5.4-hbase1.1.1-custom | titan-cassandra/target/cassandra/conf/localhost-bop/cassandra.in.sh | Shell | apache-2.0 | 1,658 |
#!/bin/bash
# Copyright 2020 Google LLC
#
# Script to package desktop SDK
set -e
usage(){
echo "Usage: $0 -b <built sdk path> -o <output package path> -p <platform> [options]
options:
-b, built sdk path or tar file required
-o, output path required
-p, platfo... | firebase/firebase-cpp-sdk | build_scripts/desktop/package.sh | Shell | apache-2.0 | 15,588 |
#!/bin/bash
export SCRIPT="$( basename "${BASH_SOURCE[0]}" )"
export SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export WORKSPACE=${WORKSPACE:-$SCRIPTPATH/../workspace}
source $SCRIPTPATH/common.sh
source $SCRIPTPATH/bosh-common.sh
export BOSH_NON_INTERACTIVE=${BOSH_NON_INTERACTIVE:-true}
if [ -f... | SolaceDev/solace-messaging-cf-dev | bin/solace_delete_deployment.sh | Shell | apache-2.0 | 432 |
#!/bin/sh
# posix compliant
# verified by https://www.shellcheck.net
################################################################################
## destroy-force.sh NAME ##
## ##
## T... | cncf/cross-cloud | vsphere/destroy-force.sh | Shell | apache-2.0 | 9,258 |
#
# Copyright 2016 Dennis Vriend
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | gavares/akka-persistence-jdbc | scripts/launch-mysql.sh | Shell | apache-2.0 | 1,015 |
#!/bin/bash
echo "Test script to check whether 'json loader' extension works once installed into your neo4j test instance or not."
echo ""
echo "This script pretends server security to be disabled: add dbms.security.auth_enabled=false to your test instance file neo4-server.properties."
echo "Or alternatively, please a... | larusba/neo4j-json-loader | src/test/resources/testLoadJson.sh | Shell | apache-2.0 | 656 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.