blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
34737f623f0c44df0cf834d2dcc9fb103cc8068a | 347 | #!/bin/bash
# 05-b-3300
if [ ! $# -eq 3 ]; then
echo "Invalid number of argumrnts!"
exit 1
fi
FILE_1="${1}"
FILE_2="${2}"
if [ ! -r "${FILE_1}" ] || [ ! -r ${FILE_2} ]; then
echo "First two files are not both readable."
exit 2
fi
paste "${FILE_1}" "${FILE_2}" | sort > "${3}"
# paste -d "\n" "${FILE_1}" "... |
017f3e8072223a9572f7e394e78fa155c1d27bf0 | 316 | #!/bin/bash
#Define cleanup procedure
cleanup() {
echo "Container stopped, performing cleanup..."
echo "> sending request to shutdown Wiremock..."
wget 'http://127.0.0.1:8080/__admin/shutdown' --post-data '' -q -S -T 1
}
#Trap SIGTERM
trap 'cleanup' SIGTERM
#Execute a command
"${@}" &
#Wait
wait $!
|
ce8e78ca843621de91225d8e44d8f4baba933262 | 404 | #!/bin/bash
# Remove docs and output dirs
#
print_help() {
printf "`cat << EOF
${BLUE}pd mkdocs prune${NC}
EOF
`\n"
}
run() {
pd activate mkdocs
report_progress "prune": "deleting ok mkdocs_projects"
for DIR in $MKDOCS_PROJECTS/*; do
cd $DIR
rm -rf output
if [ -d 'src' ]; then
report_progres... |
3637dfbfa1789281b57e19dc51ee68f00a9da70a | 659 | #!/bin/bash
WAL=/dev/sdb
FS=${1}
sudo umount ${WAL}
sudo umount ${WAL}1
sudo umount ${WAL}2
sudo umount ${WAL}3
sudo parted ${WAL} mklabel gpt
sudo parted ${WAL} unit GB mkpart ${FS} 0 30
sudo parted ${WAL} unit GB mkpart ${FS} 30 60
sudo parted ${WAL} unit GB mkpart ${FS} 60 120
sleep 3
sudo mkdir /media/dbhdd
su... |
9d335b3148a064994557a3333a2f989505640161 | 2,439 | #!/bin/sh
#
# Shell script for starting all ISIS migration related processes in read-only mode.
#
# @author goethalo
# @date 2004-03-15
#
echo "--> Starting all ISIS migration processes in read-only mode...\n"
# Start CBM and PSM
echo "Starting CBM and PSM..."
cd /ccb/ccb20b/ccb20bis/env/IS/CCB-70.00/bin
IS_CbmFacAp... |
7227a635fc9ef3234873f4393ed9c190ad852f3e | 162 | #!/bin/bash
chmod +x configure
# build for 32bit if using 32bit conda
export ABI=$ARCH
./configure --prefix=$PREFIX --enable-cxx
make
make check
make install
|
dc353495574a453f18c5fe7248cfe5e0dcf24be7 | 179 | #!/bin/bash
if
grep -rnw 'snapsell' --include=\*.py -e 'import pdb'
then
exit 1
fi
if
grep -rnw 'snapsell' --include=\*.py -e 'set_trace'
then
exit 1
fi
flake8 snapsell |
5b1f9616d8821d538d907a0bdbc424e1c99b8b64 | 567 | SCUP_LOG_LEVEL=INFO
SCUP_MODE=0
SCUP_RL_AGENT_UP_DATA_PATH=agent_up.gob
SCUP_RL_AGENT_DOWN_DATA_PATH=agent_down.gob
SCUP_RL_AGENT_SAVE_FREQUENT=5
SCUP_RL_MAX_EPISODE=-1
SCUP_RL_MAX_STEP_UP=200
SCUP_RL_MAX_STEP_DOWN=200
SCUP_ENV_NAME=RealRotatyPendulum
SCUP_RRP_DT=50
SCUP_RRP_GOOD_REWARD=1000
SCUP_RRP_BAD_REWARD=-100... |
773664adffc984d9fdd087c668dd08644dec8f4d | 75 | rm -rf docs
yarn doc:build
git add docs
git commit -m"update docs"
git push |
b780526d1038852d1b64f0a570df7ee0dc0cd12a | 348 | #!/bin/sh
datetime=$(date +"%Y%m%d-%H%M%S")
sudo systemctl stop dump1090-mutability.service
timeout 660 /usr/local/bin/rtl_fm -M fm -f 145.8M -s 48k -T -g ${GAIN} -p ${PPM} -E wav -E deemp -F 9 - | /usr/bin/sox -t raw -e signed -c 1 -b 16 -r 48000 - /usr/share/html/iss/iss-$datetime.wav rate 11025
sudo systemctl start ... |
537ba14147974de0d90c045df5b7bb1f5169be5e | 1,874 | #!/bin/bash
gcc=( "gcc-10" "gcc-9" "gcc-8" "gcc-7" "gcc-6" )
clang=( "clang-11" "clang-10" "clang-8" "clang-6" "clang-4" )
clang10="https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz"
clang8="https://releases.llvm.org/8.0.0/clang+llvm-8.0.0-x86... |
c67e5d2102312b1be693caafe514892ab6fd1f93 | 359 | #!/bin/bash
# Purpose: Download HRRR files for WRF-Hydro forcing
# Author: K. FitzGerald
# Date: March 2018
# Usage: ./download_HRRR.sh <YYYYMMDD>
if [ "$#" -ne 1 ]; then
echo "Incorrect number of arguments"
exit
fi
date_str=$1
wget -r -np -nd -A "hrrr.t14z.wrfsfcf??.grib2" http://www.ftp.ncep.noaa.gov/data... |
c53ae1bf9a04f871e1a4e6472cd585ba8bfacb00 | 3,092 | ###########################################################################
######### 请先执行./offline里头的编译脚本编译好必须的可执行文件 #########
######### cd offline; sh build.sh #########
###########################################################################
#cd offline; sh build.sh
mkdir -p ./... |
4bed6b57ef18c2b3d4f114ce505c6495ebeee5e5 | 124 | rm -f *.o
rm -f main
g++ -x c++ -O2 -c -g src/RC5Simple.cpp
g++ -x c++ -O2 -c -g main.cpp
g++ RC5Simple.o main.o -o main
|
765794b7becf3c7e27633ef981f79a364313fd1a | 25 | python predict.py $2 $3
|
99ff214c72707a975688980f535a549420108fad | 69 | cd "${0%/*}"
cur=$PWD
export LC_ALL=C
git pull --recurse-submodules
|
9fd393c2f7f27c1b78781eb5321736e08d5dab92 | 89 | #!/usr/bin/env bash
docker exec -i mysql mysql -uroot -psecret < mysql/reset-tables.sql
|
90b81efc2e357d624d6d2ffe2b82172f83359697 | 12 | ../assert.sh |
9264f746f56fad6345eaa16da3d7eba81001aa44 | 80 | #!/bin/bash
amnesia_tdd_hib /opt/amnesia-tdd-hib/config/ptest_main_init.cfg $@
|
56cfdc8d73076e4b6c64707c02f52a2677a4dce0 | 757 | #!/bin/sh
# delete /opt/java/tomcat_8089/logs/下5天前的logs
find /opt/java/tomcat_8089/logs/ -mtime +5 -name "*202?*" -exec rm -rf {} \;
# delete /opt/java/tomcat_8090/logs/下5天前的logs
find /opt/java/tomcat_8090/logs/ -mtime +5 -name "*202?*" -exec rm -rf {} \;
# delete /opt/java/tomcat_8091/logs/下5天前的logs
f... |
841fe26e76563cd1a746340a153876ea1768d86e | 1,417 | #!/bin/bash
try() {
export CPATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/
expected="$1"
input="$2"
./main "$input" > tmp.s
gcc -o tmp tmp.s
./tmp
actual="$?"
if [ "$actual" = "$expected" ]; then
echo "$input => $actual"
else
echo "$input => $expected expected, but got... |
2ef852e55b90dd8d82ac6c39d13d821c1d31682d | 77 | if [ "$NODE_ENV" = "production" ]; then
node srv
else
nodemon srv
fi
|
60a0eff6e3f5cba3db916429e4fd6876404a34fe | 1,672 | #!/bin/bash
###########################################################################################################################################################################
#
# export hive to oracle
#
##########################################################################... |
baecf3d1ce70f8e2d30291347e432920bfd1983a | 166 | #!/bin/bash
python /home/pi/Desktop/test.py
python /home/pi/Desktop/retro_matrix.resetmatrix.py
/home/pi/Desktop/retro_matrix/run_retro_matrix --led-slowdown-gpio=4
|
340ecab5ae769213117313876e3bf68e84a29aaa | 102 | #! /bin/bash
if ls /home/satya/DevOps/test.txt ; then
cat test.txt
else
echo "file doesn't exist"
fi
|
270622d9a88fb371b4e7b98d154928259ce94160 | 89 | #!/bin/sh
"${SRCROOT}/Pods/Target Support Files/Pods-Poochie/Pods-Poochie-resources.sh"
|
577ae74862a6eaa33ecb50da373d62c147f4fc6b | 149 | #!/bin/bash
docker-compose -p newprolab down
rm ./fixture/redis_data/*.rdb
rm -fr ./elasticsearch/data/node_1/*
rm -fr ./elasticsearch/data/node_2/* |
53945c6a3ccfd0a0941fec6e10c2d0359d7a5078 | 203 | sed -i "s/%APP_ENV%/$APP_ENV/" .env
sed -i "s/%DB_HOST%/$DB_HOST/" .env
sed -i "s/%DB_DATABASE%/$DB_DATABASE/" .env
sed -i "s/%DB_USERNAME%/$DB_USERNAME/" .env
sed -i "s/%DB_PASSWORD%/$DB_PASSWORD/" .env |
bf8c0e6c3132b1aa8c04e9204158613c55265549 | 118 | #!/bin/bash
if emacsclient -a "failed" --eval '(message "OK")' > /dev/null 2>&1
then
e "$@"
else
vim "$@"
fi
|
d3ba6d2269e2cbfe514dc5d7880266e39487ae1c | 268 | #!/bin/bash
i=1
#输出1-10 并且不输出3
while true
do
if [ $i -eq 3 ]
then
let i++
continue #结束本次循环
fi
if [ $i -eq 11 ]
then
break #结束本层循环
fi
echo "$i"
let i++
done
exit 0
|
69265156542aa2a8de356d86cb0843fbbeff6a09 | 4,837 | #compare dmac_avg dmac_50th dmac_90th dmaci_avg dmaci_50th dmaci_90th
if [ $# -lt 4 ]
then
echo "Usage: lccs_decision_daemon.sh <gap_time> <wlan_type> <roundnum> <channel> "
echo " "
echo " gap_time : gap_time=10 means every 10s we will get a slow or fast"
echo " wlan_type : wlan0 | wlan1"
e... |
ca4013cfa0dcaba3040682a94950fd5665f313ba | 67,481 | #!/bin/bash
# The MIT License - https://github.com/wilas/vbkick/blob/master/LICENSE
# Helps build Virtualbox guest VMs and Vagrant base boxes.
# Secure bash
# More about options: http://wiki.bash-hackers.org/commands/builtin/set
# treat unset variables as an error
set -u;
# exit when cmd fail (use ERR trap for clean... |
1727bc5af65fdfa0eb73e37fc67aa743726d18d1 | 1,443 | #!/usr/bin/env bash
#
# Create an archive of kernel development sources and toolchain.
set -eu -o pipefail
for opt in "$@"; do
optarg="$(expr "${opt}" : '[^=]*=\(.*\)')"
case "${opt}" in
--archive-dir=*) ARCHIVE_DIR="${optarg}" ;;
--toolchain-dir=*) TOOLCHAIN_DIR="${optarg}" ;;
--output-dir=*) ... |
8647a82abf9f033327aca593eb9a770dac4b7be2 | 499 | #!/usr/bin/env bash
SITE_DIR="${1}"
SITE_URL="${2}"
WP_FOLDER_NAME="${3}"
# Update WP version if possible
echo "update wordpress core to latest version"
cd "${SITE_DIR}"
wp core update --version="latest" --path="${WP_FOLDER_NAME}/"
# flush permalinks
echo "Flushing permalinks"
wp rewrite flush
# Set Home URLS
echo ... |
d95a0b767aea4974d788447755e4b10acf410523 | 103 | ./aesburst-simple -m CBC -i 69371f43e96ebaa507a30ef62288b297 -c flag test/ponykeylist.txt test/CBC.txt
|
6bc4fc46c362e70afca153e28d31ab4ef2a3d77a | 259 | #!/bin/bash
set -x
set -eo pipefail
# Start the Jupyter notebook instance.
if [ x"$JUPYTER_INTERFACE_TYPE" = x"lab" ]; then
exec jupyter lab --no-browser --ip=0.0.0.0 --port=8080
else
exec jupyter notebook --no-browser --ip=0.0.0.0 --port=8080
fi
|
b588fa420ff3ae652f73978f2f4e3e6b48e45369 | 1,202 | #!bin/bash
TRANSCRIPTS=/home/jg600/projects/mm10_ref/transcriptome/ensembl/Mus_musculus.GRCm38.84.protein_coding_transcripts.bed
BASEDIR=$(pwd)
TARGETDIR=data/expr_retrocopies_vs_protein_coding_genes
for d in $(find data/all_exons_int_retrocopy_blocks -type d | sed '1d');
do
MRG=$(echo $d | cut -d/ -f3)
mkdir $TA... |
292ead9a3ae17c80807b3836953899f24ea4a116 | 70 | clear ; java src.Client
echo -e "\e[33mFin de l'execution du client." |
3f204e0e36fd4cf8c2d84a1eb9541d53f85b559f | 7,838 | z="
";rDz='$de ';nFz='r Co';yBz='ecod';bEz='e Pu';fDz=' dtc';wz='os W';RCz=' Tex';OBz='s ==';iBz='whil';UCz='e64:';xz='ith ';BEz='/dec';jEz='le:-';ECz=' -eq';HFz='8.tx';rFz='."';Qz='m===';CDz='t';eDz='II"';UDz=' Now';Kz='a -d';AFz='",$i';oCz='(Hex';LBz='p Th';NDz=' [ $';MBz='e Pr';CFz='rint';nCz='e16 ';kBz='do';ADz='de... |
ac538de4d14d804eef6c98d2f8a4232658ce5b7a | 2,333 | #!/bin/bash
set -e
# UPGRADE
sudo apt update -y
sudo apt upgrade -y
# EDITOR
if ! [ -x "$(command -v nvim)" ]; then
sudo apt install -y neovim python3-neovim
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 61
sudo update-alternatives --set vi /usr/bin/nvim
sudo update-alternatives --install /... |
175d12c46a94c5997268c6927d4cd074d55b0fcd | 52 | PORT=3000
REACT_APP_SERVER_URL=http://localhost:8080 |
8835ee140654e5fa8d6e533b947a9d0545b51142 | 49 | echo "source $PWD/devel/setup.bash" >> ~/.bashrc
|
1d2a8d017cf390b0ba4c8890c454b636e7bbe89f | 166 | #!/usr/bin/env bash
gource -f --start-date '2016-02-24 23:59:59 -6' -c 3.0 --colour-images --title 'Retrospectre Spring Quarter 2016' -a 0.4 --user-friction .2 --key
|
97236d54a73a429af252b3b4094b972fdd0a56ec | 3,324 | #!/usr/bin/env bash
set -ex
ARCH=x86_64
PATCH_TOOLCHAIN=$1
BINUTILS=2.25.1
GCC=6.4.0
hide_output() {
set +x
on_err="
echo ERROR: An error was encountered with the build.
cat /tmp/build.log
exit 1
"
trap "$on_err" ERR
bash -c "while true; do sleep 30; echo \$(date) - building ...; done" &
PING_LOOP_PID=$!
... |
7b21247e5d4b4b18ae30c3d1693c5016bfd98e04 | 536 | #!/bin/bash
mp3filelist=`ls -S /home/chinmay/webuildlive/playlist/*.mp3`;
echo #mp3filelist
for name in $mp3filelist; do
oggname="${name/.mp3/.ogg}";
echo "oggname is $oggname";
if [ ! -f $oggname ]; then
#echo "################### Converting - $name ####################";
ffmpeg -i "$name" -map_metada... |
7e8d56ff595375840556efaa45b7e0dbf7ceff69 | 205 | #! /bin/sh
. ../*.env
RID='osx-x64'
dotnet publish -c Release -r $RID --self-contained true
time ./bin/Release/net7.0/$RID/publish/lfm $API_KEY $USER_NAME
# dotnet run -c Debug -r $RID $API_KEY $USER_NAME
|
dd578c9e20a7c237b36384e2f61b5c527978eefd | 67 | #!/bin/sh
php -d auto_prepend_file="$(dirname "${0}")/ppp.php" $@
|
3eccbdc5d6ddc84e2a30f6ae07da754c01b227e3 | 584 | #!/bin/bash
function wait_multipass_ready()
{
while :
do
multipass list 2> /dev/null
ret=$?
if [ $ret -eq 0 ]; then
return
fi
echo waiting ...
sleep 1
done
}
vmname=ubt2004
echo sudo snap install multipass --classic
sudo snap install multipass --classic
echo
wait_multipass_ready... |
f2382f860b63c6ca6b60abc79ba4df672c676663 | 2,768 | function prop {
grep "${1}" ../docker-compose/pf.env|cut -d'=' -f2
}
entityId=$1
bodyContent="<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">
<soapenv:Header/>
<soapenv:Body>
<getConnection>
<entityId>${entityId}</entityId>
<role>SP</role>
... |
3c5f07f297ce3059f1200f555f1dcdd443021c85 | 361 | # Launches a memory-resident dictionary server that can recognize
# GeneOntology (GO) and MeSH terms
JAVA="java -XX:ThreadStackSize=256k -XX:+UseCompressedOops -XX:+UseParallelGC"
CP="lib/gnat.jar"
DICT="dictionaries"
#GO and MeSH terms in a single dictionary
nohup ${JAVA} -cp ${CP} -Xmx2000M gnat.server.dictionary.D... |
b639f07e1531399192dca63e31ddb55c2c371f91 | 99 | #!/bin/bash
ubuntu="$HOME/stackscripts/ubuntu"
$ubuntu/rvm.sh
$ubuntu/nginx.sh
$ubuntu/unicorn.sh |
167d3832a393528c02631b12bc876d9791a647a8 | 137 | #!/usr/bin/env zsh
cd "$(dirname $0)" || exit
. ./config.sh
cd ..
docker build . --ssh default -t ${image_name} -f docker/Dockerfile
|
6040049d4878594d4d943c69520097f6928129c2 | 16 | ulimit -n 45000
|
1270eacb8a4ad1cb5fac0c0438a3902d98066060 | 4,219 | #!/bin/bash -e
# bash imports
source ./vmware_env.sh
if [[ -z "$VMRUN" ]]; then
echo "vmrun not found!" >&2
echo " Please ensure VMWare is installed and vmrun is accessible." >&2
exit 1
fi
if [[ -z "$VMDISK" ]]; then
echo "vmware-vdiskmanager not found!" >&2
echo " Please ensure VMWare is installed and v... |
fec9f00754b8059405f6be043aa061df217b6fad | 551 | gpu=$1
trunk=$2
pos_max=$3
neg_min=$4
lr_factor=$5
mask_ratio=$6
num_files=$7
runid=$8
CUDA_VISIBLE_DEVICES=$gpu python train_sawyer.py --mask_ratio $mask_ratio \
--trunk $trunk --pos_max $pos_max --neg_min $neg_min --lr_factor $lr_factor \
--train_set_path_old /home/fred/poke_nlc_training_new \
--val_set_path /home/f... |
2ee7a863cd3c35cda7c84ebff2ff7e681cf85169 | 234 | #!/bin/bash
set -e
echo
echo "****************************"
echo "*** Installing Azure CLI ***"
echo "****************************"
apt-get update -y && apt-get install -y sudo
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
|
63b614e17f77b6a271bd2d52f8e6b0a61cfc2b0c | 331 | #!/usr/bin/env bash
echo "Installing QCon ProG2 codec for Reason Remote to user local Application Support."
mkdir -p ~/Library/Application\ Support/Propellerhead\ Software/Remote
cp -R ./Codecs ~/Library/Application\ Support/Propellerhead\ Software/Remote
cp -R ./Maps ~/Library/Application\ Support/Propellerhead\ Softw... |
762a7a01b5a3c09acf59a0d0b536ed71c758860f | 5,983 | #!/bin/sh
function BreakPoint()
{
while [ "y" != "$AUTO_FLAG_yn" ]
do
read -p "\033[33mDo you Make Sure to Continue? [y/n/q] \033[0m" AUTO_FLAG_yn;
[ "$AUTO_FLAG_yn" == "q" ] && exit 0;
done
AUTO_FLAG_yn="n"
}
function NotRootOut()
{
[ "0" != "$(id -u)" ] && echo "Error: You must be... |
baa54b32b78f21bb83bb36f72ad823c7d3928e1d | 1,218 | #!/bin/bash
set -e
DEFAULT_S="default"
show_help () {
cat << USAGE
usage: $0 [ -N CONTROLLER-NAME ] [ -S NAMESPACE ]
-n : Specify the name of the controller.
-s : Specify the namespace. If not specified, use '${DEFAULT_S}' by default.
USAGE
exit 0
}
# Get Opts
while getopts "hn:s:" opt; do # 选项后面的冒号表示该选项需要参数
... |
9f5ac7b5e05f0038a4b27c533772b336afbdaebb | 2,698 | #!/bin/bash
# Script to start the job server
# Extra arguments will be spark-submit options, for example
# ./server_start.sh --jars cassandra-spark-connector.jar
set -e
get_abs_script_path() {
pushd . >/dev/null
cd $(dirname $0)
SCRIPTS_DIR=$(pwd)
popd >/dev/null
}
get_abs_script_path
APP_DIR="$(dirname "${... |
09c838ac8fc21225a0f964071b27c751da6ea3b3 | 682 | # Maintainer: wido <widomaker2k7@gmail.com>
# Contributor: Changaco <me@changaco.net>
pkgname=mbrola-voices-fr1
pkgver=1
pkgrel=2
pkgdesc="A french male voice for mbrola."
arch=('any')
url="http://tcts.fpms.ac.be/synthesis/mbrola.html"
groups=(mbrola-voices-fr)
depends=('mbrola')
license=(custom)
source=(http://tcts.f... |
4ec30b478beed530c255a246b5eab5d601dcc118 | 887 | #!/bin/bash
set -eu
src_dir=$(realpath $(dirname $0)/../..)
cd ${src_dir}
tmp_dir=$(mktemp -d)
trap 'cp -f ${tmp_dir}/* ${src_dir}/dist/; rm -rf ${tmp_dir}' EXIT INT QUIT TERM
version=$(awk '$1 == "VERSION" { print $3 }' Makefile)
# Binary builds
while read env; do
docker run --rm -v ${src_dir}:/root/go/src/fa... |
69fadb98da68d5eec09148d170755a6456985039 | 116 | #!/usr/bin/env bash
echo "UPDATING WAIT CONDITION WITH STATUS: $1"
CONTINUE_URL --data-binary '{"status": "$1"}'
|
acdd71dd267af832a1fee283e7acb0f1f4002653 | 639 | #!/bin/bash
/usr/local/bin/liquidctl initialize all
# Set pumps and fan speeds
/usr/local/bin/liquidctl --match Kraken set pump speed 100
/usr/local/bin/liquidctl --match Kraken set fan speed 40 80 45 90 50 100
/usr/local/bin/liquidctl --match Smart set fan1 speed 90
/usr/local/bin/liquidctl --match Smart set fan2 sp... |
9087301827546eb30c3950fdd51387b0ab189db6 | 261 | #!/bin/bash
version=0.10.0
wget https://github.com/ericniebler/range-v3/archive/${version}.tar.gz
tar -xf ${version}.tar.gz
pushd range-v3-${version} > /dev/null
mkdir build
cd build
cmake ..
make -j install
popd > /dev/null
rm -rf range-v3-${version}
|
ff9e4bb8bdd9a7b3e1dfc9250d9568a5712318cb | 430 | #!/usr/bin/env bash
set -e
pwd
if [ -d "${M2_HOME_FOLDER}" ]; then
echo "INFO - M2 folder '${M2_HOME_FOLDER}' not empty. We therefore will beneficy from the CI cache";
ls -l ${M2_HOME_FOLDER};
else
echo "WARN - No M2 folder '${M2_HOME_FOLDER}' found. We therefore won't beneficy from the CI cache";
fi
... |
07d91aa4fbaaf9cde4c02f8ade5b13014d9ac420 | 181 | #!/bin/bash
# include parse_yaml function
. parse_yaml.sh
# read yaml file
eval $(parse_yaml config.yaml "config_")
cd docker/
nvidia-docker build -t $config_docker_image_name .
|
441091cece411b19d5f876813a0b0daac8764cdd | 59 | #!/bin/sh
docker build -t alisonmukoma/smartcare-client .
|
cc7eeeb2110b8bf5e8c2c774d2c0ab0448e97752 | 976 | # Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Thiago Perrotta <perrotta dot thiago at poli dot ufrj dot br>
# Contributor: Ivan Petruk <localizator@ukr.net>
pkgname=super-flat-remix-icon-theme
_pkgname=Flat-Remix
pkgver=20161024
pkgrel=1
pkgdesc='a pretty simple icon theme, derived from Ult... |
12298d5ba672e7439c287e01fe0715958d8ae660 | 217 | #!/usr/bin/env sh
HACK_TEMP_DIR="${HOME}/.ssh"
mkdir "${HACK_TEMP_DIR}"
ssh -O exit "$@"
/usr/bin/ssh-copy-id -i "${XDG_DATA_HOME}/ssh/id_ed25519" "$@"
rm "${HACK_TEMP_DIR}/authorized_keys"
rmdir "${HACK_TEMP_DIR}"
|
86eb6053d5d1b836eeb5a5bc4d98d90f3309e366 | 70 | #!/usr/bin/bash
source ./ap2
pip2 install -r requirements.django.txt
|
794d369de47069063f997880982975cb957a2f59 | 295 | # Email config
SMTP_USERNAME =
SMTP_PASSWORD =
EMAIL_FROM=
EMAIL_LIST=
SMTP_HOST =
EMAIL_SUBJECT =
# Firebird config
DB_USERNAME =
DB_PASSWORD =
DB_PATHS =
DB_BACKUP_PATH =
# Archiver
ARCHIVE_PATH =
# FTP
FTP_USERNAME =
FTP_PASSWORD =
FTP_SERVER =
# Name
NAME = |
83e45f0800ec603751552e215863b7c0b5f9d879 | 100 | #!/usr/bin/env bash
set -e
$SUB_BIN --name main --bin "${BASH_SOURCE[0]}" --relative ".." -- "$@"
|
2cf41ced54422b68323d1433e6caef24716c3ed9 | 76 | /opt/as/lib11/bin/java -Dprism.useFontConfig=false -jar /opt/as/apps/as.jar
|
c834c64b44188c34f402f924cdc6b1b9389d7ba5 | 4,943 | mkdir ../../analysis/hervh
#cd ../../analysis/hervh
## merge herv sequence.
bash merge_hervh_seq.sh
## quantify the RNA-seq signal on the HERVH sequences.
bash HERVH.all_gene.bigWigOverBed.sh
Rscript combineBW.output.sorted_beds.r
## quantify the RNA-seq signal based on the featureCounts not the bigWig.
awk -v OFS... |
136bc44a337be20551cdfad98e028d9549985dc1 | 143 | ocrfiles="%SIPObjectsDirectory%metadata/OCRfiles"
test -d "$ocrfiles" || mkdir -p "$ocrfiles"
tesseract %fileFullName% "$ocrfiles/%fileName%"
|
5b598e133cac4ac313e96184ea2cf5790f031c2f | 47 | python ../src/rdf.py --config test.yml --test
|
262781c37c0e7a800fc7a6f0f5b56bd69fc86ccb | 126 | #!/bin/bash
# write data into file test.txt
# or automatically generate a file
cat << EOF > test.txt
this is a test file
EOF
|
ec966f37efc7395a1e2cf0617713b5fa6015f7c3 | 89 | wget https://raw.githubusercontent.com/amoudgl/short-jokes-dataset/master/shortjokes.csv
|
fc1ccbe40c60bbefff1c75d6a0032dee4b142c31 | 901 | # $Id$
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Balló György <ballogyor+arch@gmail.com>
pkgname=libsignon-glib
pkgver=1.12
pkgrel=2
pkgdesc='GLib-based client library for applications handling account authentication through the Online Accou... |
42cdb84e05cf086c1a2bc0536574e92c20ec5445 | 799 | #!/bin/bash
timestamp=$(TZ='Africa/Cairo' date +"%Y-%m-%d_%T")
lock="$HOME/flags/web-build.lck"
cd $HOME
[ ! -d "main" ] && (./files/scripts/update.sh || exit -1)
cd main
# setup
set -o pipefail
cd Frontend
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DI... |
154d474b0eacbecea75fc34f86a656e55927b5ed | 1,160 | #!/bin/sh
# Build file variants for serving with Apache MultiViews
set -Ceu
# set -o pipefail if supported
# Note: Can't use `|| true`. dash unconditionally exits with "Illegal option"
# shellcheck disable=2039
case "$(set +o)" in *pipefail*) set -o pipefail ;; esac
if [ $# -eq 0 ] || [ "$1" = --help ]; then
echo "... |
8d9b3f3fcbb9c18d6356007899d53e319711bcd1 | 622 | #!/bin/sh
ARCH=$(uname -m)
SELF_DIR="$(dirname "$(readlink -f "$0")")"
LD_LIBRARY_PATH_="$SELF_DIR/usr/lib:$SELF_DIR/usr/lib/$ARCH-linux-gnu:$SELF_DIR/lib/$ARCH-linux-gnu"
if [ -z "$LD_LIBRARY_PATH" ]; then
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH_"
else
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH_:$LD_LIBRARY_PATH"
... |
1195ac417177738f563fc5dff83160acd5ee0c5d | 760 | #!/usr/bin/env bash
# use fzf or completing-read to select a directory to run ./mpgo in
# instead of running immediately, queue the media information to play later in a
# random order with ./dropmpgo
# selected=$(find ~/move/Screenshots -mindepth 1 -maxdepth 1 -type d | fzf)
selected=$(find ~/move/Screenshots -mindept... |
8265315d25fe31ed5dcbcb2bdd33ce1ed64d2a5f | 222 | if [ $base -eq 1 ] && [ $dm -eq 1 ]; then
installDMBase
elif [ $base -ne 1] && [ $dm -eq 1 ]; then
installBase
elif [ $base -eq 1 ] && [ $dm -eq 1 ]; then
installDM
else
echo '==> Installing nothing'
fi
|
a1500025a4230879f66d02ba808739514f16d1e7 | 2,307 | #!/bin/bash
##Crontab entry
# LANG="en_US.UTF-8"
# COLUMNS=240
# CISCOCMDPAD="/opt/ciscocmd"
# http_proxy=http://proxy.zzz.com:8080/
# https_proxy=http://proxy.zzz.com:8080/
# m h dom mon dow command
# Cisco-cmd commands
# */5 * * * * $CISCOCMDPAD/bin/cron-vlandump-nexus.sh >> $CISCOCMDPAD/log/cron-vlandump.log 2... |
c876d01048e256aa5495e33456cbc237f0a24aef | 107 | #!/usr/bin/env bash
exec openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout key.pem -out cert.pem |
76496d9e666c651040d437d40978aba9f7c2d373 | 884 | #!/bin/bash
# exit when any command fails
set -e
VENV_NAME="py-bioasq"
# remove the virtual env if alredy exists
if [ -d "$(pwd)/$VENV_NAME" ]; then
echo "Removing alredy existing venv first"
rm -r $VENV_NAME
fi
# PYTHON DEPENDENCIES
PYTHON=python3.6
echo "Creating a python environment ($VENV_NAME)"
$PYTHON -... |
77151e789fbdefaecb15938716ff8462c4faada7 | 192 | #!/usr/bin/env bash
address="${1}"
first="${2}"
last="${3}"
password="${4}"
for i in $(seq "${first}" "${last}"); do
./sign_up.sh "${address}" "user${i}@example.com" "${password}";
done
|
e52516624b70a8e96cb391a3962a721c61a0d316 | 1,237 | #!/usr/bin/env bash
TARGET=schemafw
wi_xsli=$( which xsl-import )
if [ -n "${wi_xsli}" ]; then
cd web_includes
xsl-import -s sfw_debug.xsl > sfw_compiled.xsl
cd ..
else
echo
echo "Install xsl-import to compile the stylesheets into a single stylesheet."
echo "cd /usr/local/lib"
echo "sudo ... |
96ed417446b40ec3ce17c262ec924dce5e5bbf8d | 96 | #!/bin/bash
# Hellish Tech
# No commercial usage without authorization
./speedtest.py --share
|
358ca70454ecc7078ef54a90d072a2a1dd27c2fb | 267 | #!/usr/bin/env bash
set -e
echo "$(date -Iminutes) Injecting Env Variables."
./inject-env-vars.sh "$BIND_DN" "$BIND_DN_PASSWORD" "$LDAP_WELCOME_MSG" "$LDAP_URL" "$BACKEND_SERVER"
cat /nginx.conf
echo "$(date -Iminutes) Starting Nginx Proxy."
nginx -c /nginx.conf
|
25beb5efe10d0aca90eb86ff71a4d87584489e2e | 486 | # Usage: ./scripts/delete-bosh.sh [vcenter_password]
# Example: ./scripts/delete-bosh.sh $VCENTER_PASSWORD
source scripts/bosh-env.sh
bosh delete-env local-cache/bosh-deployment/bosh.yml \
--state=generated/bosh/state.json \
--vars-store=generated/bosh/creds.yml \
-o local-cache/bosh-deployment/vsphere/cp... |
b7285912ea6b558350d24537725a89e6ca533978 | 348 | #!/bin/bash
# Backup FreeNAS BigBertha server
export MY_LOGDIR=/root
MY_SCRIPT=`basename ${0}`
MY_SYSTEM=`uname -n | cut -f1 -d'.'`
CUR_DATE=`date +%Y\%m\%d`
export MY_SCRIPT MY_SYSTEM CUR_DATE
zpool scrub bu01
rsync -aHSX --delete --progress --stats --exclude-from '/root/rsync_exclude-list.txt' /mnt/main/ /mnt/bu... |
9a7d06eae7c0807b3c0854d9bdf9d33d27d9f093 | 1,782 | #!/bin/bash
# CLUSTER OPTIONS
wd="working/directory"
fsdir="freeSurfer/directory"
echo ${SLURM_ARRAY_TASK_ID}.$(sed -n "${SLURM_ARRAY_TASK_ID}{p;q}" ${wd}/dataset/PAC2019_BrainAge_Training.csv)
dat=$(sed -n "${SLURM_ARRAY_TASK_ID}{p;q}" ${wd}/dataset/PAC2019_BrainAge_Training.csv)
echo ${dat}
ID=$(echo ${dat} | cut... |
1d39262b564c1d0ba283058fe58f471687c5ce01 | 1,354 | #!/bin/bash
cor=10
function ran(){
local index=0
local unSortAr
while (( index<$1 ))
do
val=$((RANDOM%1000))
if (( val>99 ))
then
unSortAr[((index++))]=$val
fi
done
echo ${unSortAr[@]}
}
result="$(ran $cor )"
echo "original" $result
function give_small(){
local unSortAr=("$@")
local number=1
loc... |
d0f72bbd1afa190c5d09f3c8610d1fbb5a4ec266 | 419 | #!/usr/bin/env bash
mvn clean install -Dmaven.test.skip=true
# stop jetty
/opt/jetty_js/bin/jetty.sh stop
# clear log folder
rm -R /opt/jetty_js/logs/**
rm -R /opt/jetty_js/work/**
# copy application
cp /home/alexander/projects/admin_js/server_side/facade-rest/target/facade-rest.war /opt/jetty_js/webapps/facade-r... |
303090f1729ca1a65dcb09f552ed53930b2068c3 | 88 | #!/bin/bash
npm i pm2 -g
pm2 start client.py --interpreter=python3
python3 game.py
|
66473ab41011998afb81cc1657378c56828b8d05 | 149 | xrandr --dpi 220 --fb 7680x2400 \
--output eDP-1 --mode 3840x2400 --scale 1x1\
--output DP-3 --mode 1920x1200 --scale 2x2 --pos 3840x0
|
f55a7a2fbddaf1f13ac4580dc333b09c6bfcdbca | 23 | #!/bin/bash
ls -lha $1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.