blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
066ab3e34d60f7cb5b233b24ca356c0e2f602b30 | 2,111 | #!/bin/bash
########################################################################################################################
### Script : rio_determine_dest_dir.sh
### Description : This script determines the destination dir for rio based on specified raw dir path and nominal time of coordinator
#... |
ee3fcac23a82f951aa10976d0e1cefde052a9fea | 2,133 | #!/bin/bash
# zforce: force a gz extension on all gzip files so that gzip will not
# compress them twice.
#
# This can be useful for files with names truncated after a file transfer.
# 12345678901234 is renamed to 12345678901.gz
# Copyright (C) 2002, 2007, 2010 Free Software Foundation
# Copyright (C) 1993 Jean-loup ... |
ad40ea1200aa3f29083c120677b21ce2c7a298d2 | 1,186 | #!/usr/bin/env bash
set -e
SCRIPTPATH=$(dirname $(realpath -s $0))
cd $SCRIPTPATH/..
NAMESPACE=$1
RELEASE_NAME=$2
PASSWORD=$3
HASH=$(docker run amazon/opendistro-for-elasticsearch sh /usr/share/elasticsearch/plugins/opendistro_security/tools/hash.sh -p $PASSWORD)
echo "generate kubernetes secret for $RELEASE_NAME cert... |
8267d8a8f0ea85c45352d23f0218bb7a780a71f1 | 64 | #!/bin/bash
docker build -t chaeyk/s3 .
docker push chaeyk/s3
|
e89cae6c05997f13d2c8139436c5d44f579e2e8a | 760 | LANG=en_US.utf8
cd java/
mkdir -p /data/sidana/recnet_draft/$1/cofactor/$2/rv/
mkdir -p /data/sidana/recnet_draft/$1/cofactor/$2/em/
javac -cp binaries/commons-lang3-3.5.jar preProcess/ConvertIntoRelVecGeneralized_update.java preProcess/InputOutput.java
echo 'making relevance vector'
if [ $2 == "one" ]
then
rank=2... |
c5b57014964b8342828c375ba4e09130c72e0b4d | 97 | snakemake -s test.snakemake --drmaa ' -pe smp 1 -wd /home/xiuque/Projects/test_all/logs ' -j 10
|
265cdc4cea3493ef05678ba11f64b58d37325283 | 113 | #!/bin/bash
mv settings.py settings_tmp.py
mv settings_local.py settings.py
mv settings_tmp.py settings_local.py
|
ad876725c96814c49257e5887429723a982b2ffb | 329 | #!/bin/bash
export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH;
else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
git remote set-url origin https://dimkinv:$GITHUB_PUSH@github.com/myspecialway/my-special-way-server.git
git checkout $BRANCH
git pull
yarn config set version-git-message "v%s [... |
acf0db10a35ecbbbbba3f392d326a7f25cfa520f | 146 | #!/bin/bash
a="hello world !"
printf '%s\n' "A is :$a"
num=2
echo "this is the $num"
echo "this is the ${num}nd"
var=0
var=$((var+100))
echo $var
|
927aea347f50aa843b5f79edeb70809bcd9baa47 | 91 | #! /bin/bash
#
# score
echo "score"
adccli score
echo "score-dump"
adccli score-dump
|
464f3f1c1d7cb15d771d4fd7461e59bbaae6712b | 488 | #!/bin/bash
#
### Check status replicas.
#
HOST="$1"
PORT="$2"
URL="http://${HOST}:${PORT}/solr/admin/replication/index.jsp"
MASTER=`curl -s ${URL} | grep "Replicatable Index Version" | awk {'print $5'}`
SLAVE=`curl -s ${URL} | grep "Index Version" | grep -v '<td>' | awk {'print $5'}`
#printf "Master ${MASTER}\n"
#pr... |
2ec5d7019b41f46e9b857dbabb38310bf6eafaf2 | 275 | #!/usr/bin/env bash
#
# anax/cache
#
# Setup cache/ and related.
#
gitignore = "
# Ignore everything in this directory
*
# Except this file
!.gitignore
"
# Create the cache directory.
install -d cache
# Get configuration for the cache.
rsync -a vendor/anax/cache/config ./
|
34a977ef9fd35a651d592718fbf0ba2d416541d6 | 724 | #!/bin/bash
cron_file='/var/spool/cron/root'
cron_log_file='/www/bin/cron_start_polling-daemon.log'
# 每一分钟被拉起1次日志(只看最后一次拉起的时间)
echo $(date) > $cron_log_file
# 检查是否已加入任务
if ! grep -Fxq '*/1 * * * * /bin/sh /www/bin/start_polling-daemon.sh' $cron_file; then
echo '*/1 * * * * /bin/sh /www/bin/start_polling-daemon.sh' ... |
a92b16b2bd5b1a6f7d042573091180afefbd40f5 | 3,580 | #!/bin/sh
### BEGIN INIT INFO
# Provides: 3D sensor ROS publishing nodes via user push button.
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: 3D sensor ROS publishing nodes via user push button.
# Description: The... |
c9bd94f2b5b8f5d06b7f1d3c4c6ce758e837d642 | 30 | COMPOSE_PROJECT_NAME="kettle"
|
efafd4bff5c88f599210a6eb591ce96141c51674 | 5,813 | #!/bin/bash
echo ""
echo "-- Script to create Condor jobs for EventAnalyzer --"
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]; then
echo "Missing arguments"
echo " ./createJobsToCondor.sh <script.C> <SampleDirName> <SampleFileList>"
echo " ex: ./createJobsToCondorLPC.sh exampleAnalysisTree.C TTJets ttje... |
11a3a510bf0b1def65e4b3f3b872e9e4f326bbde | 589 | #!/bin/bash
#
# loob kaks faili milles ühes on kasutajanimed teises paroolid
if [ $# -ne 2 ]; then
echo "Kasutusjuhend: $0 kasutajad paroolid"
else
kasutajad=$1
paroolid=$2
if [ -f $kasutajad -a -r $kasutajad ] && [ -f $paroolid -a -r $paroolid ]; then
echo "Fail töötab vastavalt skriptile"
for rida i... |
531b9ff483e7a0c0230507696090bb9d3001fecd | 20,043 | #!/bin/sh
#
# update Cloudflare DNS records with current (dynamic) IP address
# Script by Asif Bacchus <asif@bacchus.cloud>
# Last modified: May 10, 2021
# Version 2.2
#
### text formatting presets using tput
if command -v tput >/dev/null; then
[ -z "$TERM" ] && export TERM=xterm
bold=$(tput bold)
... |
52a347b871f3d3bd77510d66a64bc0231b2d06bd | 173 | #!/bin/sh
export DIRECTOR_PLUGINS_DIR="/code/examples/plugins/my_plugins"
sudo ln -s /code/src/python/director/devel /usr/local/lib/python2.7/site-packages/director/devel
|
a4f4a5b416d029c7e6fadf2d0e36b173c210cba7 | 203 | #!/bin/sh
urldecode(){
echo -e "$(sed 's/+/ /g; s/%/\\x/g')"
}
rawfile="$3"
newfile="$(dirname "$rawfile")/$(basename "$rawfile" | urldecode)"
[ "$rawfile" != "$newfile" ] && mv "$rawfile" "$newfile" |
a4f0e488cee28f2a8aa9acfe59d204bbfb9ca2ff | 56 | #!/bin/bash
set -eu
docker build -t ldc-darwin "$@" .
|
8712a45c58b25cd81c2a2c88d327cbed54644158 | 189 | #!/bin/bash
# shellcheck disable=SC1090
set -ex
source "$KOKORO_GFILE_DIR/common.sh"
cd github/runtimes-common
gcloud container builds submit --config ftl/ftl_node_integration_tests.yaml .
|
e2d9ab140172afe87b845ecc52200b083b213d47 | 1,448 | #!/usr/bin/env sh
# generated from catkin/python/catkin/environment_cache.py
# based on a snapshot of the environment before and after calling the setup script
# it emulates the modifications of the setup script without recurring computations
# new environment variables
# modified environment variables
export CMAKE_... |
76657bbab1c3f8d68a0dbdb309983ffacb0c4495 | 991 | # Docker
apt-get install -y apt-transport-https ca-certificates
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' > /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install -y li... |
128f243dea968d3f8a44ce34254b8e45aeae31ec | 811 | add() {
shift
alias=$1
command=$2
if [ $# -lt 2 ]; then
if [ $# -eq 0 ]; then
echo -n "Enter your alias name and press enter [ENTER]: "
read alias
fi
echo -n "Enter an associated command for $alias and press enter [ENTER]: "
read command
fi
echo $alias : $command > aKa.list
exit
}
help() {
ca... |
d6b9d628b33119c05d81f6e74425bdb2f7f037a5 | 255 | #!/bin/sh
set -e
SOCK=`mktemp -u`
EXPECTED_ERRORS='SampleError.hs:9:5: Not in scope: `foo'\'''
if ERRORS=`$HDEVTOOLS check --socket=$SOCK SampleError.hs`
then
false
elsh
[ "$ERRORS" = "$EXPECTED_ERRORS" ]
fi
$HDEVTOOLS --socket=$SOCK --stop-server
|
4f3eb544c2343da2da269eec01b280797ee0fca0 | 223 | #!/bin/bash
while [ true ]; do
Date=`date --date now '+%Y-%m-%d - %H-%M-%S'`
wget $2 -O "/home/kevin/Cauet/$(date --date now '+%Y')/$(date --date now '+%m')/$(date --date now '+%d')/$1 - $Date.mp3" -a "/dev/null"
done
|
c09595540c2d159c81bb17978e93076d669e422e | 6,071 | #!/bin/bash
PARAMS=${0#*pingstat_}
GRAPHTYPE=$(echo "$PARAMS" | cut -d _ -f 1)
TARGET=$(echo "$PARAMS" | cut -d _ -f 2)
# TODO: move these to configuration
PING_LAST_SECONDS=300
PINGSTAT_BASEURL="http://localhost:8000"
#
PING_MIN_WARNING=25
PING_MIN_CRITICAL=50
PING_AVG_WARNING=25
PING_AVG_CRITICAL=50
PING_MAX_WARNING... |
56b9ad5274bbfc1325489c4cbb373e17dacce251 | 356 | #!/bin/rc
rfork ne
webfs
if(test -e /bin/hg){
hg clone https://code.9front.org/hg/ports /sys/ports
touch /sys/ports/Config/ports.db
echo 'Be sure to edit /sys/ports/Config/ports.conf'
echo 'run ports/update to keep the ports tree up to date.'
}
if not {
echo 'installing the ports tree without mercurial is no longe... |
44908b87bbb4e81f83aef16fadb4384f560c108f | 2,260 | export TERM="xterm-256color"
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_MODE="nerdfont-complete"
# Prompt settings
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_RPROMPT_ON_NEWLINE=true
# Context
# DEFAULT_USER="thrimbda"
POWERLEVEL9K_ALWAYS_SHOW_CONTEXT=true
POWERLEVEL9K_CONTE... |
e03a39b6a9c3cd0d896f9ce7fa1243f0db88816a | 486 | #!/usr/bin/env bash
set -e
CONFIG="packages.conf.yaml"
DOTBOT_DIR="dotbot"
APTGET_DIR="dotbot_plugin_aptget"
DOTBOT_BIN="bin/dotbot"
APTGET_PLUGIN="aptget.py"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
git submodule update --init --recursive "${DOTBOT_DIR}"
git submodule update --init -... |
e4aad1f2cba2ea949f15d9f692c5e675b939b7c1 | 879 |
input=$1
output=$2
publicDNS=$(cat publicDNS.txt)
listOfDNS="$publicDNS"
count=0
#echo ${#source[@]}
for i in $(echo $listOfDNS | tr " " "\n")
do
count=$(($count+1))
done
if [ $count -eq 2 ]
then
ports="8000 8001"
fi
if [ $count -eq 8 ]
then
ports="8000 8001 8002 8003 8004 8005 8006 8007"
fi
serverNumber=0
for i ... |
daeac7e90dfc0ac1c9e180841ed9acdda130eb75 | 1,935 | #!/bin/bash
# ------------------------------------------------------------------------
# Copyright 2017 WSO2, Inc. (http://wso2.com)
#
# 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:... |
dbcf7c0b1c9325b371b947e6c7e3150083283015 | 443 | export GAZEBO_RESOURCE_PATH=/root/catkin_ws/install/share/mavlink_sitl_gazebo:${GAZEBO_RESOURCE_PATH}
export GAZEBO_PLUGIN_PATH=/root/catkin_ws/install/lib/mavlink_sitl_gazebo/plugins:${GAZEBO_PLUGIN_PATH}
export GAZEBO_MODEL_PATH=/root/catkin_ws/install/share/mavlink_sitl_gazebo/models:${GAZEBO_MODEL_PATH}
export LD_L... |
5a2bcedb4115d5e9449ff74b476b56f915064599 | 912 | #!/usr/bin/env bash
set -euo pipefail
mkdir -p data/stage1/{sub,wiki,ppc}
stage1() {
../../tools/moses-scripts/scripts/tokenizer/normalize-punctuation.perl -l pl <"$1" |
sed -E 's/[^[:alnum:] ,\.\?\!]/ /Ig; s/ +/ /g' | # alphaa will alow for czech, arabic and so on
rg -v '^\s*$' |
sd '[0-9]' '1' >"$2" # replace... |
31440d48eb4d89c8049f551688c6a0927c18661c | 695 | #!/bin/bash
STAMP="/home/vagrant/.$(basename $0)"
echo $STAMP
if [ ! -f $STAMP ]; then
export DEBIAN_FRONTEND="noninteractive" ; set -e #-x
cat > /etc/apache2/sites-available/${APPNAME}.conf << _EOF
<VirtualHost *:80>
ServerName 127.0.0.1:8000
DocumentRoot /vagrant/${APPNAME}/web
<Directory /vagran... |
76dbc29819d5f177222f2cb285927edc2346e360 | 85 | #!/bin/bash
while read; do echo $REPLY; done < $1;
while read; do echo $REPLY; done
|
70210facbe133039b8a2ad8a0b3be12968b6a647 | 72 | psql -U postgres -h localhost -d postgres -a -f "table-add-command.sql"
|
c32ba100212a83cf8838e864def167b365b97188 | 17 | echo "I am v657"
|
c8bbb470e0760224f7efa09d64ca056cc612e187 | 76 | #!/bin/bash
kubectl apply -f cert-manager.yaml
kubectl apply -f issuer.yaml
|
db54fe5b010b90384cd844279e91c4749fa2e1e4 | 2,283 | #!/bin/bash
# written by Balazs in 2018
# predefined variables
LOCATION="/backup"
SEP="/"
LOGDIR="/backup-logs"
LOGFILE=$LOGDIR"wp.log"
CRED="/cred"
DATE=$(date +%F-%H-%M)
# Make sure that directories exist
if [ ! -d $LOGDIR ]; then
mkdir -p $LOGDIR
fi
if [ ! -d $LOCATION ]; then
if mkdir -p $LOCATION; then
... |
7bc6090e605c899e60c89059fc01ee1235885a58 | 1,604 | ## This shell is needed to be run of after Plasmidseeker_wrapper.pl is finished running
for directory in $(ls -1d */); do
echo -n "$directory "; cd $directory; sed 's/ /_/g' *_plasmidseeker_results.txt >tmp_ps_results.txt;
for d in $(cat Plasmid_list_for_QueryContigs_withAlignment_prcnt.txt | cut -f2 -d " " | sed ... |
95db836245cfb87b2f8e5607694fc7fa93a25990 | 696 | #!/bin/bash
# скрипт мониторит наличие новых файлов и отправляет их в телеграм
# необхоидмо установить: apt-get install inotify-tools
MONITOR_DIR=
CHAT_ID=
BOT_TOKEN=
sendfile(){
curl -s -F "chat_id=$CHAT_ID" -F document=@$1 https://api.telegram.org/bot$BOT_TOKEN/sendDocument
}
# Мониторим директорию на наличие но... |
a74a5122bd9ebb25db468e7ed6f85767a7dc9cb7 | 147 | #!/bin/sh
trap '' 2
#$1 ./AcessKernel --rootapp /Acess/SBin/login
$1 ./AcessKernel --rootapp /Acess/Apps/AxWin/3.0/AxWinWM
trap 2
killall ld-acess
|
01bd0a2903a51bfedb93e057308ffaf6b3b8d4fb | 518 | # Record the scores of the different models
rm logs/*
python main.py --skip_preprocess --model tree > logs/tree.log
python main.py --skip_preprocess --model gbm > logs/gbm.log
python main.py --skip_preprocess --model gbm_tuned > logs/gbm_tuned.log
python main.py --skip_preprocess --model xgboost_tuned > logs/xgboost_tu... |
6a38a9f5b5c3bed61927aaf0382ed1d77a9a7475 | 883 | #!/bin/bash
# description: Script to Start Stop Restart Tomcat
JAVA_HOME=/usr/java/default
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
TOMCAT_HOME=/opt/tomcat/bin
JAVA_OPTS="-Xms2048m -Xmx8192m -XX:MaxPermSize=512m
export JAVA_OPTS
case $1 in
start)
/bin/su -p -s /bin/sh tomcat $TOMCAT_HOME/startup.sh
;;
sto... |
823925a93879a7d28852129b5ce344fee87e627b | 1,116 | #!/bin/bash
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/radar/lib"
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/radar/rave/lib"
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/radar/rave/Lib"
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/radar/rsl/lib"
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/radar/vol2bird/lib"
LD_LIBRARY_PATH="${LD_LI... |
b3178dd32158bd2752f1dd978c2811553d246b9a | 120 | # Python command to install the script
$PYTHON setup.py install --single-version-externally-managed --record=record.txt
|
b77305c2b4a164db012067704c37441ee1165c02 | 3,313 | #!/bin/bash
#
#
# ██████ █████ ██ ██ ████████ ██ ███ ███ ███████
# ██ ██ ██ ██ ██ ██ ██ ██ ████ ████ ██
# ██ ██ ███████ ████ ██ ██ ██ ████ ██ █████
# ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
# ██████ ██ ██ ██ ██ ██ ██ ██ ███████
# ... |
0ac337117d581dc0c593bd4374bc59346e60870a | 101 | #!/bin/sh
exit 0
if [ "$LINKNAME"x = tdslx ]; then
nspamper-change --link $LINKNAME $PPP_LOCAL
fi
|
d52166183202957deba79bde8b8ed795299bc2ed | 2,278 | # ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting t... |
dca4e70ec5ff7084396a83ae0865a69eb2cfc127 | 240 | #!/bin/bash
sudo apt-get install -y python vim-nox-py2 exuberant-ctags git
sudo pip install dbgp pep8 flake8 pyflakes isort
wget https://raw.githubusercontent.com/tao12345666333/vim/master/vimrc -O $HOME/.vimrc
vim -E -u $HOME/.vimrc +qall
|
a02a25619e88eb0e05adb5288d1251152f1b2d83 | 252 | # install the OTA boot loader into an ATmega328 using ISP
tty="/dev/tty.usbserial-A600dVBa"
hex="ota_boot_atmega328.hex"
set -x
avrdude -V -p m328p -c stk500v1 -P $tty -b 19200 \
-U hfuse:w:0xD8:m -U lfuse:w:0x4E:m -U efuse:w:0x06:m -U flash:w:$hex
|
c237969dd1aeee9a87681054f25f2e5ca401e948 | 60 | #!/usr/bin/env bash
echo "Hello. I am a fake fastqc binary." |
6c8e2e65a4aefa47606233d78c00093ef7b96c09 | 256 | #!/bin/bash
basedir=$(readlink -f $(dirname $0))
source ${basedir}/common_env.sh
echo "=== Docker Swarm ==="
docker -H ${DOCKER_SWARM_HOST} ps | perl -ne '@cols = split /\s{2,}/, $_; printf "%0s %25s %20s %30s\n", $cols[0], $cols[1], $cols[4], $cols[6]'
|
06087f1602d445f6bffe2340e81a770158b10459 | 942 | . .projrc
# 创建 pyenv 虚拟环境;如无需 pyenv,则注释
echo "##### check python / pyenv ..."
. scripts/host/02-pyenv.sh
[[ $@ =~ "--to-pyenv" ]] && exit 0
# 安装依赖
[[ $@ =~ "--no-pip" ]] && exit 0
echo "##### check libraries ..."
. scripts/host/02-pip.sh
. scripts/base/02-pip.sh
. scripts/dev/40-submodules.sh
[[ $@ =~ "--to-pip" ]] &... |
32ddd1929d78f97fefafd9ea5832a5b571437c78 | 393 | #!/usr/bin/env bash
sudo yum install -y expect
# for MSSQL
curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/msprod.repo
expect -c "
spawn yum install -y mssql-tools unixODBC-devel
expect \"Do you accept the license terms? (Enter YES or NO)\" {
send \"YES\n\"
expect \"Do you accep... |
6dd1b04755dbd2691e04d84d4984c9288ff33d0e | 373 | NODE_ENV=development
PORT=5000
MONGO_URI=mongodb+srv://fhind:fhind@fhind.sbbgx.mongodb.net/fhind?retryWrites=true&w=majority
GEOCODER_PROVIDER=mapquest
GEOCODER_API_KEY=
FILE_UPLOAD_PATH= ./public/uploads
MAX_FILE_UPLOAD=1000000
JWT_SECRET=
JWT_EXPIRE=30d
JWT_COOKIE_EXPIRE=30
SMTP_HOST=smtp.mailtrap.io
SMTP_PORT=2... |
243088c32bf9ec385c22f044b71146ba2184b777 | 470 | #!/usr/bin/env bash
set -euo pipefail
if [ $# -gt 0 ] && [ "$1" != "--" ]; then
exec "$@"
fi
cd /home/hacker
[ -d qemu-tutorial ] || cp -a /qemu-tutorial qemu-tutorial
echo ""
echo " Welcome to the JCF11 QEMU Tutorial"
echo ""
echo " You're running bash into a Ubuntu 14.04 container as user 'hacker'."
ech... |
2908981cc8fec05133205cd226da68064aa4adc6 | 291 | #!/usr/bin/env bash
set -e
# Usage: ../test-py.sh DIR SOLUTION
# Example: ../test-py.sh /adventofcode2020/day-03 solutions/main.py
DIR="$1"
SOLUTION="$2"
cat "$DIR/input.txt" | python3 "$DIR/$SOLUTION" | diff - "$DIR/output.txt"
echo "$DIR / python3 $SOLUTION ✅"
|
4799018bc26c73f0fe7df899e31af7681c36c4ff | 965 | #!/bin/bash
# proc10xG 0.0.1
set -x -e -o pipefail
main() {
echo "Value of asm: '$input_fastq'"
dx-download-all-inputs --parallel
mv in/*/*/*.fastq.gz .
for e in ${input_fastq_name[@]}; do
echo $e
if [[ $e == *"R1"* ]]; then
echo $e >> fw.ls
elif [[ $e == *"R2"* ]]; then
... |
8411daac0e00261981f85041f6ac6ed5ca22b070 | 212 | #!/bin/bash
conky --pause=10 -c /home/smgr/.config/conky/conky_center.lua &
#conky --pause=10 -c /home/smgr/.config/conky/conky_main.lua &
#conky --pause=10 -c /home/smgr/.config/conky/conky_task_progress.lua &
|
2c7154f8496a805bbb278a14e09fd6743c3d2532 | 378 | #!/bin/bash
# usage: ./camera_demo.sh [device] [args]
MACHINE=`uname --machine`
PLATFORM_ARGS=""
USER_ARGS="${@:2:$#}"
VIDEO_DEVICE="/dev/video0"
PREFIX=""
APP="./camera_demo"
if [ $# -ge 1 ]; then
VIDEO_DEVICE=$1
fi
if [ ${MACHINE} = "armv7l" ]; then
PREFIX="sudo"
PLATFORM_ARGS="-f v -f h"
fi
${PREFIX... |
441449ee666af1e284af888acaaa9c50df769dd6 | 687 | #!/usr/bin/env bash
# Install dependencies if needed
which unzip curl jq 2>&1 || {
echo "Installing dependencies... "
apt-get update
apt-get install -y unzip curl jq
}
# Download consul if needed
which consul 2>&1 || {
pushd /usr/local/bin
echo "Fetching Consul version 1.4.3"
curl -sL -o /var/tmp/consul.z... |
5eac31a407deb651f68c607aec6c61976ac58992 | 184 | MONGO_DSN=mongodb://root:root@db/nest?authSource=admin
KAFKA_CLIENT_ID=nest-api
KAFKA_BROKER=host.docker.internal:9094
KAFKA_CONSUMER_GROUP_ID=
KAFKA_PRODUCER_TOPIC=route.new-direction |
234413e3436038f6f724baa6624476d5ba83184b | 48 | #!/bin/bash
cd ~/Documents
git pull
sudo reboot
|
70b95c715fd938e8044a5ed1389add50a61ea352 | 338 | #!/bin/sh
set -e
# ---------------------------------------------------------------------------- #
#
# Install Elm Format.
#
# ---------------------------------------------------------------------------- #
# Check the current build.
if [ -z "${ELM_REVIEW+x}" ] || [ "$ELM_REVIEW" -ne 1 ]; then
exit 0;
fi
npm install ... |
b43ada34ff77bc70a7763256d389c2cc27c11f8e | 1,339 | package: Openloops
version: "%(tag_basename)s"
tag: "OpenLoops-2.1.2"
source: https://gitlab.com/openloops/OpenLoops.git
requires:
- "GCC-Toolchain:(?!osx)"
- "Python:(?!osx)"
- "Python-modules:(?!osx)"
- "Python-system:(osx.*)"
build_requires:
- alibuild-recipe-tools
---
#!/bin/bash -e
rsync -a --delete --ex... |
9d6ef22ff1c4d6b8f674f558966845b60a67e32c | 6,811 | #!/usr/bin/env bash
# ------------------------------------------------------------------------
#
# Copyright 2019 WSO2, Inc. (http://wso2.com)
#
# 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
... |
24784e281285e781f2ad0f43744d90ff87ee021c | 885 | # Maintainer: Carsten Feuls <archlinux@carstenfeuls.de>
pkgname=dovecot2-antispam-git
pkgver=v2.0.11.g963c046
pkgrel=1
pkgdesc="Integrates DSPAM into dovecot IMAP server. Git Version for dovecot >= 2.1"
arch=( 'i686' 'x86_64' )
url="http://hg.dovecot.org/dovecot-antispam-plugin/"
license=('GPL')
depends=('dovecot>=2.2... |
0ea0db16489f5dc09b3c5362e344c9bb05f16bc8 | 3,612 | #!/usr/bin/env bash
# PURPOSE: Harden Samba: Restrict Samba to only:
# a) Listen on the localhost segment 127.
# b) Use its own password table
# c) Use encrypted passwords
# d) Use defined password table
# e) Allow permitted users: none ()
# ... |
7f3281cb8a826edca302c68575e624babd5993f9 | 3,163 | #!/bin/bash
if [ $# -lt 1 ]; then
echo -e "Usage:"
echo -e "\t$0 img-op img-op-args";
echo -e "Where";
echo -e "\timg-op = { motion-estimation[-parallel], corner-detection[-parallel], rotation[-parallel], scaling[-parallel], gaussian-blur[-parallel], high-pass-filter[-parallel] }"
echo -e "and img-op-args are t... |
3f064f2a21d620655aed5b797419865e8aa9f913 | 146 | if [ -z "$1" ]; then
echo 'Passe o nome do usuário que deseja remover do sistema'
else
ruby ruby/remove_user.rb $1
cd ..
./register train
fi
|
9c7e4f0e5a4399f10f1589f5b792516df773cbc5 | 3,749 | #!/bin/bash
#Export analysis to csv
function read_csv_cell {
csv_filename=$1
row=$3
column=$2
cell=`tail -n+$row $csv_filename | cut --delimiter=, -f$column | head -n 1`
echo $cell
}
declare -A bw_csv_columns_scheme=( ["ReRo"]=3 ["ReCo"]=4 ["RoCo"]=5 ["ReTr"]=6 )
declare -A bw_csv_rows_mem=( ["8"]=2 ["16"]=3 )
file... |
2be9c67860821b086dfa01f04dfe202f9ce1cdc6 | 270 | #!/bin/sh
scripts/search/tests/publish-dataverse-root
scripts/search/tests/publish-dataverse-trees
scripts/search/tests/publish-dataverse-spruce
scripts/search/tests/publish-dataset-spruce1
#scripts/search/tests/permissions3
#scripts/search/tests/permissions3-full-anon
|
14daa36006bc26c3ac23d264b53db40c065dcb45 | 91 | #!/bin/bash
eval "$(conda shell.bash hook)"
conda activate pomodoro
python commit.py "$1" |
99d9ec4ba4dcf2e60428bde83fa9c51c3a4d7fb6 | 27 | export FLASK_APP=minitwit
|
b799bfce80ec2b0057af7d60aa0797dec7a8f137 | 185 | #! /bin/sh
#
# run_server.sh
# Copyright (C) 2019 Shlomi Fish <shlomif@cpan.org>
#
# Distributed under terms of the MIT license.
#
set -e -x
export GOPATH="$GOPATH:$PWD"
go run main.go
|
2d350746f1a1e813323d5a2881b4a842565fbaee | 74 | # cargo install racer # outdated, use rust-analyzer
cargo install rustfmt
|
ac3f0617e1055ca7b954a4a9be181c3b884896f9 | 34 | export PYTHONPATH="./:$PYTHONPATH" |
57380b8e9f23309eeeb43f91512eaeaf6e8b6153 | 1,860 | # Maintainer: Joshua Rubin <joshua@rubixlinux.org>
pkgname=laptop-mode-tools
pkgver=1.11
pkgrel=1
pkgdesc="Laptop mode (also known as laptopmode, laptop-mode and laptop_mode, for search engine purposes :) ) is a kernel "mode" that allows you to extend the battery life of your laptop. It does this by intelligently grou... |
6f974f85ba9c903ad05678c1be3defcefed465d9 | 621 | #!/usr/bin/env bash
#
# Sets the wallpaper with feh and creates a png for the screen locker
set -euo pipefail
if [[ $# -ne 1 ]]; then
echo "Usage: $(basename "$0") file" >&2
exit 1
fi
wallpaper="$1"
FIXED_WALLPAPER_PATH="$HOME/.local/share/wallpaper.png"
geometry="$(xrandr | grep '\*' | awk '{ print $1 }')"... |
d35b69968d617bbbe2b0eec93ab0a23134b5e62c | 162 | git config --global user.email "sibert.aerts@gmail.com"
git config --global user.name "sibert-aerts"
git config --global credential.helper 'cache --timeout=3600'
|
6af93b932954758baba4e3bf83cc4bd142e0eb51 | 925 | #/bin/bash
#a script to bring up web2, swap web1 with web2, then kills the old web1 container.
#Brings up web2, which is the new activity image to be swapped in place of the old one.
#It is passed as an argument into the script, and inserted where "$1" is at the end
echo "Bringing up the new image $1..."
... |
a1e67fec97355543c46927cd5a80e63aa1c32847 | 284 | #!/bin/bash
azure servicefabric application package copy VisualObjectsApplication fabric:ImageStore
azure servicefabric application type register VisualObjectsApplicationType
azure servicefabric application create fabric:/VisualObjectsApplication VisualObjectsApplicationType 1.0.0
|
88cc091f73e819175f4196834d6e552695a4afb4 | 490 | #!/bin/sh
#66252[1].moby.cs.adela amilan batch 0822-1-1 8486 1 1 8gb 08:00:00 R 00:20:48 acvt-node32
if [[ $# -eq 2 ]]; then
jobline=`qstat -u amilan -t -n -1 | grep '\['$1'\]' | grep $2`
elif [[ $# -eq 1 ]]; then
jobline=`qstat -u amilan -t -n -1 | grep '\['$1'\]'`
else
ec... |
837f524e95e89a3e6e50e7d62d1827131a135e21 | 65 | #!/bin/sh
find -mindepth 1 -maxdepth 1 -type d -exec rm -r {} \;
|
89987e2d7a57fd3b35808b7bd4aa1abbb91b01bd | 963 | #!/bin/bash
#
if [[ $# -gt 0 ]]; then
readgresult_tmp="._.AstroGalfit._.ReadGalfitResult._."
CrabFitsHeader "$1" -ext 2 | sed -n -e '/COMP_/,/COMMENT/p' > "fit.header"
cat "fit.header" |cut -d\' -f2 |sed -E 's/\[(.*)\]/\1 0/g' |sed -e 's%+/-%%g' |sed -e 's%*%%g' > "$readgresult_tmp" #' #<20170210># |sed -... |
d37441421537d776235ab34672eb4f3173d74012 | 6,919 | #!/bin/bash
# Applies a compressed binary diff (patch) on a directory or specific archiv, creating a copy (ie. not in-place).
# Author: Sukender (Benoit Neil)
# Licence: WTFPL v2 (see COPYING.txt)
# Dependencies, error codes, documentation: see "bbp_config.sh"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" #... |
c84edbbbf9eee0cd2407ba9e04c556540df0b96d | 796 | #!/bin/bash
# Apache
###############################################################################
# Set configuration
rm -f /etc/apache2/sites-enabled/*
cp /docker/configurations/web.conf /etc/apache2/sites-available
ln -s /etc/apache2/sites-available/web.conf /etc/apache2/sites-enabled/web.conf
# Activate htacc... |
1ff63687828a6218a35ef12411e7d58923218b60 | 37 | gprolog <sec_machine_prolog_test.txt
|
808c5941fc4cde486865664a62d87ea5e6348f53 | 619 | # download visual7w telling
cd visual7w-toolkit/datasets/visual7w-telling/
./download_dataset.sh
cd ../../..
# download visual7w pointing
cd visual7w-toolkit/datasets/visual7w-pointing/
./download_dataset.sh
cd ../../..
wget http://vision.stanford.edu/yukezhu/visual7w_images.zip
unzip visual7w_images.zip
rm visual7w_... |
6e58da42830fead1dbd0ae564bb20d17c8a6d26b | 8,933 | #!/bin/bash
source ./_common.sh
BUILD_ALL_IMAGES_PUSH=${1}
function build_image {
#
# LIFERAY_DOCKER_IMAGE_FILTER="7.2.10-dxp-1 " ./build_all_images.sh
# LIFERAY_DOCKER_IMAGE_FILTER=7.2.10 ./build_all_images.sh
# LIFERAY_DOCKER_IMAGE_FILTER=commerce ./build_all_images.sh
#
if [ -n "${LIFERAY_DOCKER_IMAGE_FI... |
033fbcc37ca8c3bc74e67b52cfd12a251842d309 | 167 | gcc -Wall -Werror -Wexra -c ft_putchar.c ft_swap.c ft_putstr.c ft_strlen.c ft_strcmp.c
ar rc libft.a ft_putchar.o ft_swap.o ft_putstr.o ft_strlen.o ft_strcmp.o
rm *.o
|
accf4a04a6d1a2ea852a901c0eb61f0dc4018d23 | 118 | # source the common settings
source /home/codeman/mydata/git/configs-git/bash/bashrc-common.sh
export PS1="${PS1}# "
|
7349ef2350521bb5cbed487813b2b54b372f4964 | 65 | #!/usr/bin/env bash
vagrant up --no-provision
vagrant provision
|
b2e287a3f6380679096c7cc9e5f80594ca254b40 | 48 | #!/bin/sh
printf configuring...
echo configured! |
7dc4a33ee14adda74d1d04f8eb2c56edbaa549d6 | 1,371 | #!/bin/bash
# this depends on having the following debian packages installed
#
set -e
set -x
pkgname=mesquite
VERSION=3.03
basedir=/apps/share64/debian7
pkginstalldir=${basedir}/${pkgname}
tarinstalldir=${pkginstalldir}/tars
installprefix=${pkginstalldir}/${VERSION}
downloaduri=https://github.com/MesquiteProject/Me... |
5812f7e64db5f7875f576d834cd1b3fffd7f62b4 | 446 | VUE_APP_TWILIO_SID = AC2742c80ed5fa944571c8b29680495533
VUE_APP_TWILIO_TOKEN = bc5d9615b1fc1bac35171255d27a5b03
VUE_APP_QINIU_ACCESSKEY = Q5q46fhpMgQZX7Yx_aqeVUMzIHZJ8Qwy-AlmflZh
VUE_APP_QINIU_SECRETKEY = thN4-G6wiqVG4EQevA0IYmCc3c_v8C7T-AbJAHqT
VUE_APP_JUNANEX_APIKEY = 4b77b0dd07c4316280c7dfc11c5bb6c6
VUE_APP_JUNANEX_... |
2753caf1b6e4da724003c1744baf285dc3ff1267 | 55 | # Firefox and Thunderbird
sudo apt -y purge thunderbird |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.