blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
28f557d150edd5efa3994e757fe572c595f8c19d
282
#!/bin/sh ./gui/gui1 1500 & ./gui/gui1 1501 & ./gui/gui1 1502 & sleep 1 ./cmake-build-debug/siktacka-client janusz localhost localhost:1501 & ./cmake-build-debug/siktacka-client marian localhost localhost:1500 & ./cmake-build-debug/siktacka-client david localhost localhost:1502 &
63ce06b3e3b348de93c15dd3f8f7dc75aa4ddd1a
254
#!/bin/bash # build the simulation docker docker build -t simulator -f docker/SimulatorDockerfile_GPU . #docker build -t simulatorheadless -f docker/SimulatorDockerfileHeadless . #build the rtreach docker docker build -t rtreach -f docker/Dockerfile .
cadc6fbd47edb8cc4114cc736d5ce76d792205da
202
#!/bin/bash valgrind --tool=memcheck --leak-check=full --show-reachable=yes --track-origins=yes --log-file=valgrind_track_origins.log ./eternity ../../pieces_05x05.txt ../../05x05_output.txt >/dev/null
79de3adedd3ea9b14653a15e5112bca70ae84efa
1,371
#!/bin/bash -l set -e ml load bohrium ml unload python conda activate bench-2020 conda list export BH_CONFIG=$HOME/.bohrium/config.ini export XLA_FLAGS="--xla_gpu_cuda_data_dir=/groups/ocean/software/software/nvtoolkit/cuda-10.1" cd `git rev-parse --show-toplevel` CUDA_VISIBLE_DEVICES="" taskset -c 23 python run.p...
9142c56efe40c8c78b6d56337ad53c8a155cd5cb
277
#!/bin/sh # rimuove duplicati sostituendoli con un hard link # GD 20150316 fdupes -r -1 . | while read line do j="0" for file in ${line[*]} do if [ "$j" == "0" ] then j="1" else echo "ln -f ${line// .*/} $file" ln -f ${line// .*/} $file fi done done
e312e9d846e5010784dbecc34297613b45433e13
907
#!/bin/bash # #BSUB -a poe # set parallel operating environment #BSUB -P UJHB0003 # project code #BSUB -J h5pC # job name #BSUB -W 24:00 # wall-clock time (hrs:mins) #BSUB -n 1 # number of tasks in job #BSUB -q geyser # queue ...
202c3b033813c4fd343538022c285dfad600bc92
1,650
#!/bin/bash # # # Maintainers : @schoonovernumerics # # //////////////////////////////////////////////////////////////// # # Update MOTD cat > /etc/motd << EOL ======================================================================= Gromacs-GCP VM Image Copyright 2021 Fluid Numerics LLC =========================...
17489869eb1beddb6e5406272ef3261225c94213
259
#!/bin/bash set -e bindir=$(realpath "$(dirname "$0")") . "$bindir"/functions.bash . "$bindir"/vars USAGE="Usage: $0" chd "$rootdir" # cmd stack build --file-watch --exec 'bin/beep-ok bin/dist' "$@" cmd stack build --file-watch --exec 'bin/beep-ok' "$@"
b8e22e291c80f25a952e4d54698b52c5d5f571bc
403
#!/bin/bash encontra_pessoa_em_lista() { # Se /etc/passwd tem permissao de leitura, define NUM_LINHAS com numero de linhas. # Retorno eh o status da execucao da expressao. # O string eh atribuido a uma variavel nao-local. [[ -r /etc/passwd ]] && USUARIO=`grep $1 Arquivos/telefones.txt` } if encontra_pessoa_em...
edc526dc28ba79c163eb96973e420fb44676f970
11,172
#!/bin/bash explanation=' The Benchmarking Universal Single-Copy Ortholog assessment tool. Based on evolutionarily-informed expectations of gene content of near-universal single-copy orthologs, BUSCO metric is complementary to technical metrics like N50. ' inputdef=' input_1::An assembled genome file:*.fa,*.fasta,*.fs...
29c9f71ef9ee016556bd4371f746fae59c954f30
428
#!/sbin/busybox sh # thanks to hardcore and nexxx # some parameters are taken from http://forum.xda-developers.com/showthread.php?t=1292743 (highly recommended to read) #thanks to pikachu01@XDA /sbin/busybox sh /sbin/ext/thunderbolt.sh mount -o noatime,remount,rw,discard,barrier=0,commit=60,noauto_da_alloc,delalloc /c...
63fda504f45cc0bf311070c3007e6f70fd9c95c5
602
#!/bin/bash #SBATCH --job-name=dsatest2 #SBATCH --account=Project_2002244 #SBATCH --partition=gpu #SBATCH --ntasks=1 #SBATCH --cpus-per-task=4 #SBATCH --mem=128G #SBATCH --time=4:45:00 #SBATCH --gres=gpu:v100:4 #SBATCH --output=jo_test_runs_ele_mode.txt #SBATCH --error=je_test_runs_ele_mode.txt module load gcc/8.3.0 c...
8f8410e8395507a64e0081c7d97d8859a62f1d00
16
# .env PORT=8000
dbfef21431645bf7b5697d5846f1a89a995277e7
1,898
#!/usr/bin/env bash set -e BUCKET=ipfs-archive-backups tmpfiles="" cleanup () { for tmp in $tmpfiles do rm -f $tmp done } trap cleanup EXIT persist () { block=$1 tmp="${block}.block" tmpfiles="$tmpfiles $tmp" ipfs block get "$block" >"$tmp" /usr/bin/aws s3 cp "$tmp" "s3://$BUCKET/block/$block" r...
0d580aa2b70b1530bdf8edf17b726cf5f3c55234
398
#!/bin/bash #Shell scipt to prepend i3status with more stuff i3status --config /etc/i3status.conf | while : do read line LG=$(xkb-switch | cut -c -2) if [ $LG == "us" ] then dat="[{ \"full_text\": \"LANG: $LG\", \"color\":\"#00FF00\" }," else dat="[{ \"full_text\": \"LANG: $LG\", \...
d17bbc0e784fe56e43fcadda0c3007dc0e56d26b
308
#!/bin/bash dconf load /org/pantheon/terminal/settings/ <<COLORS [/] name='Pussy Kiss' cursor-color='#fcfad6' foreground='#babab9' background='rgba(28,12,40,.95)' palette='#0a4c62:#99246e:#5cb1b3:#eab9a8:#7a99bb:#57225e:#7e83cc:#afaadf:#201637:#c87272:#0a6c7e:#c058d5:#45a4e2:#d3e6af:#150606:#0a6c7e' COLORS
b0f58a81f6559a2488cbfe0cfd411251d2aad8c7
1,276
#!/bin/bash apt update &>> install.log if [ -e /data/data/com.termux/files/usr/bin ]; then if [ -e $PREFIX/lib/apktool.jar ]; then rm $PREFIX/lib/apktool.jar fi if [ -e $PREFIX/bin/apktool ]; then rm $PREFIX/bin/apktool fi if [ -e $PREFIX/bin/dalvikvm ]; then sed -i "s/export/#export/g" $PREFIX/bin/dalvikvm fi cd $HO...
03fcafa4c5b1b87318505250448f864ed55216de
224
DB_HOST="bank-mysql" DB_USER="root" DB_PASSWORD="root" DB_NAME="bank_db" DB_PORT=3306 DB_CRYPTO_KEY="2q59xev6bWhm" MAX_LIFE_IN_MINUTES=1 MAX_IDLE_CONNS=5 MAX_OPEN_CONNS=100 JWT_PRIVATE_KEY="0z6eQbA4EZVcEbmyyojJ8FXhy0cd1jrv"
d7310abef8de47fd31c5406c335d4d00630478c0
5,093
#please make sure all the prerequisite packages - initsetup_ubuntu.sh are installed and build-buildCLI_ubuntu_cmake.sh is run successfully before running this script. set -x set -e # This is done to ensure the script works whether WORKSPACE is set or not # We assume this script is called from the root "compressonator...
83f1aa715001f75385914f51a41a4a855d85b2c1
110
#!/bin/bash coffee \ --compile \ --output static/js/ \ --join questions.js \ coffee/*.coffee
c283dbda90a53c1cbef9e3fe1a77a43d0de6605d
363
#!/bin/bash echo "clear old dump.." [ -e /var/www/html/qas.mixcart.ru/deploy/db_dump/qas-dbs.sql ] && rm /var/www/html/qas.mixcart.ru/deploy/db_dump/qas-dbs.sql echo "export..." mysqldump -h qas-db.cj1dgfxs1e0h.eu-west-1.rds.amazonaws.com -u fkeep -phateyouf4simba -B qas-main qas-int --add-drop-database > /var/www/html...
09ff095b63c3c33e33f893c2b25b08400a4a6708
110
#!/bin/bash echo "repo sync" python2 ./repo sync echo "Switch to master ..." python2 ./repo start master --all
ddfdcea217c703c49ca05049a1d6f6c7fca9e65f
1,945
#!/bin/bash if [ "x${GOPATH}" != "x$(pwd)/vendor:$(pwd)" ]; then echo "Set GOPATH to $(pwd)/vendor:$(pwd)" exit 1 fi VGOPATH="$(pwd)/vendor" if [ -d "${VGOPATH}/src" ]; then echo "Vendor is populated" exit 0 fi set -x set -e # We need 6.0.0 version of the k8s client libs. When built, the lib # gets the protobuf...
9aeac84a1630969062b3bb77b4364e6e08b6394f
281
#!/bin/bash echo "Compiling and assembling application..." sbt -mem 2048 clean package # JAR containing a simple hello world JARFILE=`pwd`/target/scala-2.11/languagefinder_2.11-0.1.0.jar # Run it locally spark-submit --class LanguageFrequency --master local $JARFILE "books/*"
a05abd752ab27997ede97813d97f77c3226e1487
36
jqc() { jq -C "$@" | less -RS }
47e99e94b4cd7733c5960e5e7f68d57f0c1b85ee
52
. ${AUTOTEST_HOME}/ostest/util/check/exit_status.sh
13905aa128b2d8cc03658fbb832c75f5d17849d8
114
#!/bin/bash set -e docker run --rm -i -t --privileged -v $(pwd):/learning -w /learning ubuntu:learning /bin/bash
339f07132b89664d46ab5ea5c43cd08fdff1b45f
213
#!/bin/bash #Activate environment source/home/nbcommon/anaconda3_510/bin/activate #pip pip install urllib3 pip install spacy pip install nltk pip install beautifulsoup4 pip install textacy pip install feedparser
33b5088b2b86c93cc114bc37cf9cf0f1f90b9fd1
237
#!/bin/sh mysql -u root -p123456 -e "CREATE DATABASE IF NOT EXISTS GlobalUser;" && mysql -u root -p123456 --database=GlobalUser <./createTable.sql >createTable.log -f --batch --silent --show-warnings --line-numbers --table --column-names
79f369d387ef81673d5f432760b0fba615d4e50e
519
#!/bin/sh -e xdg-user-dirs-update --set DESKTOP ~/var/desktop xdg-user-dirs-update --set DOWNLOAD ~/var/downloads xdg-user-dirs-update --set TEMPLATES ~/var/templates xdg-user-dirs-update --set PUBLICSHARE ~/share/public xdg-user-dirs-update --set DOCUMENTS ~/var/documents xdg-user-dirs-update --set MUSIC ~/media/musi...
025e0869bf0eca8368ee39baf5a19637ed98657c
75
#!/bin/bash for dt in 1 2 4 8 16 32 64 128 256 512 do ./avxflops $dt done
2e5c98d7fa53485ec0e4a8537ebe5f866bb7ced4
106
ssh martin@ise ./auto-ise/clean.sh scp -r src martin@ise:./auto-ise ssh martin@ise ./auto-ise/build.sh $1
2afdf412fdd60d303f6716ea7010b30d5b98c3e6
2,058
#!/usr/bin/env bash export MLFLOW_TRACKING_URI=http://115.145.135.65:5050 export MLFLOW_EXPERIMENT_NAME=Cornet DATASET=EURLex-4K # DATASET=EURLex-300 # DATASET=AmazonCat13K # DATASET=Wiki10-31K # DATASET=AmazonCat-1000 # DATASET=Wiki10-3000 # MODEL=SBert # MODEL=AttentionRNNEncoder2 # MODEL=AttentionRNNEncoder # MOD...
057fc8787257817f47d300475be3504c3c2256ca
331
# Automatically created background='#fafafa' black='000000' red='ff3333' green='86b300' yellow='f29718' blue='41a6d9' magenta='f07178' cyan='4dbf99' white='ffffff' brightBlack='323232' brightRed='ff6565' brightGreen='b8e532' brightYellow='ffc94a' brightBlue='73d8ff' brightMagenta='ffa3aa' brightCyan='7ff1cb' brightWhit...
8338709bb6d9c7437d8700514f567f338f8d944a
57
#!/bin/bash ssh deepglint@$1 "bash -s" < install.sh "$2"
52fbefaa0091ec374b7617438e8614217044b261
457
#!/bin/sh COMMIT_MSG_FILE=$1 COMMIT_SOURCE=$2 SHA1=$3 # do not process if ammend commit if [ -n "$(head -n1 $COMMIT_MSG_FILE)" ]; then exit 0 fi # get issue number BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD) ISSUE_NUM=$(echo $BRANCH_NAME | sed -e 's_feature/#\([0-9][0-9]*\)[^0-9]*_\1_g') # do not process if i...
89f479fe67aad19b5a7a621912e5e889813e92c9
1,068
pkgname=e2fsprogs pkgver=1.43.3 pkgrel=1 pkgdesc='Utilities for handling the ext2/3/4 filesystems' arch=('x86_64') source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/v$pkgver/$pkgname-$pkgver.tar.gz") sha512sums=('77e753f77222a0a7a334d7d93c900ea6cb339ed40af29952e414fc4e45d8c5c01d67771978a941195effe666d...
82c85a5648e7f28ce0801ecba7a6a7089f7e483a
8,958
#!/bin/bash #$ -V #Inherit the submission environment #$ -cwd # Start job in submission directory #$ -N jellytest2 # Job Name #$ -A iPlant-Collabs #$ -j y # Combine stderr and stdout #$ -o $JOB_NAME.o$JOB_ID # Name of the output file (eg. myMPI.oJobID) #...
0484990f9cc42bf16214113c9056a4d11a233b2a
4,946
#!/bin/bash source envs.sh sudo apt-get install dialog # yum install dialog function cleanup { if [ -d extracted_files ]; then rm -rfd extracted_files fi if [ -d resources ]; then rm -rfd resources fi } trap cleanup EXIT cleanup mkdir -p resources...
cc9d20061db8682300c7a53e0ca35f40a4e08af4
2,426
#!/bin/bash ##################C2####################### ####### add_files.sh########### echo " The files/directories that you want to add for synchronization are : $* " for i in $* do cp $i dossier2/ done echo " le dossier est pour pour se synchronizer " ####### file_update.sh##### #!/bin/bash var=`rsync -avun /ro...
bd2d6e7ea80bd1ec77176c3c1fef58f6a0d02528
229
#!/bin/bash genomes=$(ls ./genomes) query=sample_proteins.fa for gen in ${genomes} do db=db_"$gen" makeblastdb -in ./genomes/${gen} -out ${db} -dbtype nucl tblastn -query ${query} -db ${db} -outfmt 7 -out result_"$gen" done
419fb275396a9a2b33072ff7de702b98bce66633
808
CUDA=3 mkdir log for dataset in "SUGG" do DATA_DIR="/home/ubuntu/users/jinfeng/tagging/data/${dataset}" MODEL_DIR="./model/${dataset}/seed_${rand_seed}" LOG_FILE_PATH="./log/albert.log" echo "" >> ${LOG_FILE_PATH} SEED=1000 CUDA_VISIBLE_DEVICES=${CUDA} python ../../model/transformer.py \ ...
e72ff7fcad4d9da090c8748610abd0d4d228abb6
143
metapkg=util/pigz-2.2.5 version=2.2.5 description="Metapackage for pigz" satisfied() { which pigz &> /dev/null } # vim: set ft=sh :
c593d472e19e4e0b7755691139422aaa5c1be016
70
#!/bin/bash gcc fib.c -o $1 for ((i=0;i<$2;i++)) do ./$1 2 5 6 done
6a44bb4e5b6ba1ffc08b7a5c6b1d8f5e1c149d9e
1,459
#!/bin/bash bi='\033[34;1m' #biru ij='\033[32;1m' #ijo pr='\033[35;1m' #purple cy='\033[36;1m' #cyan me='\033[31;1m' #merah pu='\033[37;1m' #putih ku='\033[33;1m' #kuning or='\033[1;38;5;208m' #Orange echo $ku "Download Video YouTube" clear echo $me "Siapa Nama Kamu" #tulisankeluar read nick; #membaca tulisan clear ec...
d1e8abe2c1ed0e966c7da6d90182dfeb494e45af
102
cd ../payment-sdk-backend-open git pull ./mvnw clean install cd payment-ws docker-compose up --build
0485c96b75c2d8e4d1797aabdc0d8c4a993d792d
359
#!/usr/bin/env bash set -e export SPARK_MASTER_HOST=`hostname` spark-config.sh load-spark-env.sh mkdir -p $SPARK_MASTER_LOG ln -sf /dev/stdout $SPARK_MASTER_LOG/spark-master.out spark-class org.apache.spark.deploy.master.Master --ip $SPARK_MASTER_HOST --port $SPARK_MASTER_PORT --webui-port $SPARK_MASTER_WEBUI_PORT...
efb15c38fdedef0cffa98d9d5a293d973c02525f
236
#!/bin/zsh /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/mccownda/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)"
6fdf83654393f1b8b856108192940fdad326ed0a
67
#!/usr/bin/env bash echo "Installing jrnl" pip install --user jrnl
a3314dc802edbfa178c86f65e4e83a036b480acc
281
# Run from the root directory with ./config/install.sh # Note that pre-commit is not in the requirements.txt, as we don't want this to ship with the package. python -m venv env source env/bin/activate pip install -r requirements-dev.txt cd config || exit pre-commit install cd ..
7c83208a9a4dc83ed79be0bb7692c26a5309cba2
281
#!/bin/bash # We use jupyter by default, but here we want to use python unset PYSPARK_DRIVER_PYTHON # Clone, install, and run git clone {{cookiecutter.https_github_repo_url}} {{cookiecutter.job_name}} cd {{cookiecutter.job_name}} pip install . spark-submit scheduling/airflow.py
49ae1c03388f963f90e2fc5c8991c915fe0fe20d
1,270
#!/bin/bash REPO_ROOT=$1 EXIT_STATUS=0 python3 "$REPO_ROOT"/scripts/dev/license-check.py || EXIT_STATUS=$? python3 "$REPO_ROOT"/scripts/dev/check_stray_fields_in_idd.py || EXIT_STATUS=$? python3 "$REPO_ROOT"/scripts/dev/verify_idfs_in_cmake.py || EXIT_STATUS=$? python3 "$REPO_ROOT"/scripts/dev/check_non_utf8.py || E...
798694341c0277e248805533805aeca2c340ec08
998
# Maintainer: Alexandre Filgueira <faidoc@gmail.com> pkgname=antergos-wallpapers pkgver=0.7 pkgrel=1 pkgdesc='The default wallpapers for Antergos' arch=('any') url='http://www.antergos.com' license=('CCPL:by-nc-sa') source=("http://antergos.com/${pkgname}-${pkgver}.zip") md5sums=('cd09fe9d1dd72af28ba334f9e63e6b95') p...
ffa068ad8c83695a6af9d97953d9f469e263c1ad
257
#!/bin/bash function create_server_structure() { server_dir="../server/application/modules" server_folders_module=(models views controllers) for item in ${server_folders_module[*]} do mkdir -p $server_dir/$modulo/$item; done }
e3ef047e2937e110fa6561bccd7a9c4d71ed2d37
572
pushd ../../analysis/promoterAnchoredInteractions #name=D00_HiC_Rep1 for name in $(cat ../../data/hic/meta/names.txt); do ( echo $name chr=1 mkdir -p $name for chr in {1..22} X; do echo $chr awk -v OFS='\t' '{dist=$2-$1;mat[dist] += $3;count[dist]++ }END {for (i in mat){print i,mat[i],count[i]} }' ../../data/hic/ma...
8764490863cf2c6ba7bc109b2dd889eddf0d2343
330
function measure() { local -n __user_var=$1 local function_name=$2 local -n __var_name=$3 local -n __var_name2=$4 local _start local _end _start=$(date +%s.%N) "${function_name}" __var_name __var_name2 #__var_name=$? _end=$(date +%s.%N) local _diff _diff=$(echo "${_end} - ${_start}" | bc -l) __user_var="${...
606c1712511385d346321f1b3994f6dc3f6522d8
1,024
#!/bin/sh #------------------------------------------------------------------------------- # Convert the gene names in order to be used in an R script # # Usage: cat snpEff_genes.txt | ./scripts/genesTxtColumnNames.sh > genes.txt # # Once in R, you can: # - Load this table: # data <- read.csv("genes.txt", sep= "\t",...
572ab319107e058d2ec872ee009c14dfff5ff4d7
525
#!/bin/bash cd firmament rm -r /mnt/data/google_500x_speedup_16pus_86400_sec_quincy_preemption_bounded_1024MB_rapid/ mkdir /mnt/data/google_500x_speedup_16pus_86400_sec_quincy_preemption_bounded_1024MB_rapid/ ./build/src/simulator --flagfile=/home/srguser/firmament-experiments/configs/google_500x_speedup_16pus_86400_se...
49f7a8f6bbf664df518b240cb86290612a1d708f
14,666
#!/bin/bash # exit script if return code != 0 set -e # redirect new file descriptors and then tee stdout & stderr to supervisor log and console (captures output from this script) exec 3>&1 4>&2 &> >(tee -a /config/supervisord.log) cat << "EOF" Created by... ___. .__ .__ \_ |__ |__| ____ | ...
af9be541d81becb7528c94196538b8128b095ab5
248
#!/bin/bash IP="192.168.56.120" if [[ $EUID -ne 0 ]]; then echo "root required" 1>&2; exit 1; fi cat << EOF > /etc/default/kubelet KUBELET_EXTRA_ARGS="--node-ip=$IP" EOF # Вот сюда можно вставить команду kubeadm join
707aed3fa2882b2da44bf035d4808030ec859fdb
4,838
python nat.py -y 0 -m normal_real_jitter_many python nat.py -y 10 -m normal_real_jitter_many python nat.py -y 20 -m normal_real_jitter_many python nat.py -y 30 -m normal_real_jitter_many python nat.py -y 40 -m normal_real_jitter_many python nat.py -y 50 -m normal_real_jitter_many python nat.py -y 60 -m normal_real_jitt...
005db68eab6f26e55842397e497b00a08e033218
16,550
#!/system/bin/sh TMP="/cache" # write temp files here, or try these if it won't work: ALTTMP="/sqlite_stmt_journals /system/sd/tmp /system/sd-ext/tmp /tmp /data/local /system/sd /system/sd-ext /sdcard" ZIP="$0-zip" # bundled zip (static uclibc/arm): not aware of any r...
304e8653fc05de8ad7362033eaba96a1eb867078
92
#!/bin/bash git cvsimport -v -d :pserver:anonymous@ecb.cvs.sourceforge.net:/cvsroot/ecb ecb
f85e85f74c7edbaf835e89045476a0081df951b4
451
#!/bin/bash export CHAINCODE_VERSION=$(cat /tmp/hyperledger/chaincode/assets/testversion.txt) echo "CHAINCODE VERSION:: $CHAINCODE_VERSION" peer lifecycle chaincode checkcommitreadiness \ --channelID mychannel \ --name uc4-cc \ --version $CHAINCODE_VERSION \ --sequence 1 \ --tls \ --cafile /tm...
562ca148d45f1d27075f02eb2b83594a059b3520
1,180
# those backslashes ARE escaping # shellcheck disable=SC1117 readonly COLOR_BLACK="\[\033[0;30m\]" readonly COLOR_RED="\[\033[0;31m\]" readonly COLOR_GREEN="\[\033[0;32m\]" readonly COLOR_BROWN="\[\033[0;33m\]" readonly COLOR_BLUE="\[\033[0;34m\]" readonly COLOR_PURPLE="\[\033[0;35m\]" readonly COLOR_CYAN="\[\033[0;36m...
5bfbfb62511543616aa2a639d49046729cb4621e
215
#!/usr/bin/env bash find . -mindepth 1 -maxdepth 1 | while read dir; do [[ -d "${dir}/.git" ]] && { pushd "${dir}" >/dev/null echo "# ${dir}" eval "$@" popd >/dev/null } done
9575a5ebddc778eb02793bb9e7390659c9c10fd2
1,068
#!/usr/bin/env bash # Usage: jiff add-task source "${_JIFF_ROOT}/../../binaryphile/jiff-core/libexec/jiff-add-task" push_core_task () { # TODO: check and see if we're on master on jiff-personal first. commit and push jiff-core. mv jiff-personal link to jiff instead of creating and rm'ing? filename="jiff-${1}" ...
56257b1f8ee17279fabef5abee9ccffcf9c5512e
4,184
#!/bin/sh # here, we just provide configs for installed packages set -ex lxde() { #bug in lxpolkit, it says "session not found for pid of lxpolkit" https://github.com/meefik/linuxdeploy/issues/978 mv /usr/bin/lxpolkit /usr/bin/lxpolkit.bak mkdir -p /etc/skel/.config/pcmanfm/LXDE/ echo " [*] wallpaper_mode=stretc...
2eb28008b69e4fd0115bd2018c9a50c61987fb98
1,111
# Download and setup JabRef into ~/ JABREF_VERSION="5.1" JABREF_FNAME="JabRef-${JABREF_VERSION}-portable_linux.tar.gz" JABREF_LINK="https://builds.jabref.org/master/${JABREF_FNAME}" JABREF_DIR="$HOME/JabRef" WORK_DIR=$(mktemp -d) # make sure tmp dir was actually created if [[ ! -d "$WORK_DIR" ]]; then echo "Coul...
d6260124516be41fbf32d10bbe5efc3981de07ac
1,630
#!/usr/bin/env bash # python.sh # next install python (both 2.x and 3.x trees) using Pyenv # will probably stop installing python2 in the near future as it is EOL. curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash # install a couple of plugins... git clone git://github.c...
96feedc00ae0ad306af818157a7ee4f24ef1f773
997
#!/bin/bash rm -rf target mkdir target zip -r target/mybot.zip src/* touch target/halite.custom.log javac -d target -sourcepath src src/MyBot.java src/MyBot2.java cp halite target cp oneGame.sh target cd target printf "\n30 30 Mybot vs RandomBot\n" ./oneGame.sh "40 40" "java MyBot" "java -cp ../oldtarget MyBot2" "ja...
ee8c51e7b1859d84d82bbbf192ea62e4b09a2f11
607
#!/bin/sh indent() { sed -u 's/^/ /' } echo "-----> Install rclone" BUILD_DIR=$1 VENDOR_DIR="vendor" FILE="rclone-v1.47.0-linux-amd64" DOWNLOAD_URL="https://github.com/ncw/rclone/releases/download/v1.47.0/$FILE.zip" echo "DOWNLOAD_URL = " $DOWNLOAD_URL | indent cd $BUILD_DIR mkdir -p $VENDOR_DIR cd $VENDOR_...
9759f4964f3e5c6f6d66f0dbe96e973da4556fd1
2,767
#!/bin/sh # gcc-uni.sh # ---------- # By Matthew Leverton # # Builds a universal binary by a multi-step process to allow for individual # options for both architectures. Its primary use is to be used as a wrapper # for makefile based projects. # # Although untested, it should be able to build OS X 10.2 compatible bui...
5c3a7d530332914f2de4107d661f5c32f0a5c109
274
CHROME_HOSTNAME=chrome DATABASE_ADAPTER=postgresql DATABASE_NAME=dri_spotlight DATABASE_HOST=db DATABASE_PASSWORD=DatabaseFTW DATABASE_USER=postgres DATABASE_TEST_NAME=dri_spotlight_test SPOTLIGHT_ADMIN_USER=admin@dri.ie SPOTLIGHT_ADMIN_PASSWORD=admin12345 DATABASE_POOL=50
aae77b1afd6a7f7c32c37d7b2472e7f997d9ec34
41
. config.sh . 2_analysis.sh . 3_synth.sh
ec94510a019bd0eb310dc9cdede4affb331bb47c
210
#!/bin/bash timeout="$1" if [ ! "$timeout" ]; then timeout=3; fi if timeout "$timeout"s ping -c 1 -n google.com > /dev/null; then echo "Connected" exit 0 else echo "Disconnected" >&2 exit 1 fi
e5071f446929ed0f1b28db4f0e41258b540d4075
470
#!/bin/bash # This should cd to the same directory as where the script is stored, regardless # of how the script is called. # see: https://stackoverflow.com/a/1482133 cd "$(dirname "$(readlink -f "$0")")" # find this machine's local IP address # see: https://opensource.com/article/18/5/how-find-ip-address-linux HOST=...
ed7a8966ca43ac93ed1553ca58df94aafddb83d0
914
echo $* gpu=${1} load=${2} save=${3} mode=${4} srun -J ${save} --partition=ad_ap --mpi=pmi2 --gres=gpu:${gpu} -n1 --ntasks-per-node=${gpu} python -m torch.distributed.launch --nproc_per_node=1 --master_port=$((RANDOM+10000)) test.py --gpu ${gpu} --name ${save} --batchsize 32 --which_epoch last # if [ $mode = "train" ] ...
574edbd26519c7a8bcf97152c80ad2c8c5ee240c
566
#!/usr/bin/expect -f set ip [ lindex $argv 0 ] set user [ lindex $argv 1 ] set password [ lindex $argv 2 ] set port [ lindex $argv 3 ] set host [ lindex $argv 4 ] set ftpip [ lindex $argv 5 ] set ftpuser [ lindex $argv 6 ] set ftppwd [ lindex $argv 7 ] spawn ssh -p $port $user@$ip expect { "(yes/no)?" { send "yes...
ae870f4e2f29568e949d0f1a88f3cf0a176eb138
1,839
#!/bin/bash if [[ $# -ne 2 ]]; then echo "train.sh <batch_size> <gpu>" exit 1 fi BERT_PATH="mt_dnn_models/mt_dnn_large.pt" for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64...
c6dfff1965e93bc56dd08145e755e02dbbb73b42
944
#!/usr/bin/env bash echo "Linking FontAndColor Themes" rm -rf ~/Library/Developer/Xcode/UserData/FontAndColorThemes && \ ln -s ~/dotfiles/xcode/UserData/FontAndColorThemes ~/Library/Developer/Xcode/UserData/FontAndColorThemes ## Settings mv ~/Library/Developer/Xcode/UserData/KeyBindings ~/Library/Developer/Xcode/U...
7fed2fcaf12997f2f0775df0e51311d8d2f6d221
860
#!/bin/sh # # Installation script for ipfs. It tries to move $bin in one of the # directories stored in $binpaths. INSTALL_DIR=$(dirname $0) bin="$INSTALL_DIR/ipfs" binpaths="/usr/local/bin /usr/bin" # This variable contains a nonzero length string in case the script fails # because of missing write permissions. is_...
baa17e80a89e880cf5bd65cb34c337fb31986c53
138
#!/bin/bash mkdir project_name cd project_name mkdir datasets mkdir general_scripts mkdir bin #you need to add this to your PATH-variable
a1e48647f58c24f720f5c7a7432d35211d88b8ce
580
#!/bin/sh # # $Id$ # # Script for creating the netbsd BUILF_INFO file. cat <<EOF BUILD_DATE=`date` BUILD_HOST=`uname -a` CATEGORIES=misc CC_VERSION=`cc --version | head -n 1` CFLAGS= CPPFLAGS= FFLAGS= HOMEPAGE=http://www.noaaport.net LICENSE= LOCALBASE=/usr/local MACHINE_ARCH=`uname -m` MACHINE_GNU_ARCH=`uname -m` MAI...
dc19943390ac6eb1ee3a4016f0d88959cd3e1f4a
322
docker rm -f mysql docker run --name mysql -d --privileged=true -e MYSQL_ROOT_PASSWORD=Pass@123 -p 8002:3306 centos/mysql-80-centos7 docker exec -u root -ti mysql bash -c "yum install git -y;cd ~;git clone https://github.com/Yikun/openeuler-demo.git;cd ~/openeuler-demo/openlookeng/mysql;mysql -uroot -t < employees.sql...
aee0503df0d36cf3c4fee84d7b75267b57292eb0
629
# Real environment variables win over .env files. # # DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES. SPOTIFY_BASE_API_URL={{Spotify web API URL. More https://developer.spotify.com/documentation/web-api/}} SPOTIFY_AUTHORIZATION_API_URL={{Spotify authorization API URL. More https://devel...
0c4a0d5597e92d6a0e0842704c31b68d0b6be6d1
350
#!/bin/bash DIFF_LIST=$(git diff --name-only $CIRCLE_SHA1 $(git merge-base $CIRCLE_SHA1 origin/master) | grep "^lib/") if [ ! -z "$DIFF_LIST" ]; then mkdir -p tmp/rubycritic/compare bundle exec rubycritic --format console --branch origin/master -t 0 --maximum-decrease 1 $DIFF_LIST else echo "No changes detecte...
9476a958ed31a3b527a92e3ce4ef47360885fced
398
#!/bin/bash set -x source /tmp/gpfs_env_variables.sh # Build the GPFS potability layer. /usr/lpp/mmfs/bin/mmbuildgpl # have seen the above fail sometimes, hence the below loop while [ $? -ne 0 ]; do sleep 10s; /usr/lpp/mmfs/bin/mmbuildgpl done; # Up date the PATH environmental variable. echo -e '\nexport PATH...
d67e4e517ca0713b8be47d741b5a66d09eab0d87
83
git init git add . git status git commit -m "Versiones" git push origin ChanBranch
4cdfd4487e5b1f78be3c7a0df05e37aa76aa9fc6
219
export S3_BUCKET_NAME= export ALERT_KINESIS_DESTINATION_NAME= export ALERT_MESSAGE_DYNAMODB_TABLE_NAME= export SLACK_WEBHOOK_URL= export SLACK_CHANNEL= export TEAM_WEBHOOK_URL= export ALERT_TOPIC_SUB_ENDPOINT_FOR_CTO=
b32bf2dd7a5d02732e8426c821ecd64186e5198f
889
#!/usr/bin/env sh mddev="" timelimit=1800 result_dir="/root/xdd-result" [ -z "$1" ] && echo "usage $@ <mddev> [timelimit]" && exit 1 mddev="$1" [ ! -z "$2" ] && timelimit="$2" mkdir -p $result_dir while :; do # 顺序写半个小时 tmp="$result_dir/xdd-write-$(date +%Y%m%d-%H%M%S)" xdd -op write -targets 1 $mddev -dio -datap...
73b5e4593ec731dba1b61ecf4836f3fe82fe8ec0
292
#!/usr/bin/env bash # reschedule at commands # # duplicates header crap -- but that probably shouldn't change # anyway... if [[ -z "$1" || "$1" = "--help" ]]; then echo "usage: $0 <at job id> <new time spec>" 1>&2 exit 1 fi jobnum=$1 shift at -c $jobnum | at "$@" && atrm $jobnum
53d537c27a3564e8c148f26f908377bd23d83e44
129
#!/bin/bash docker run -it \ -v /home/mgeiger/new_tifs/:/build/ \ -v /fsdata1:/fsdata1 \ gdal:2.4.2 /build/new_tifs.py
56a01bfbc958959c28fb735515baec76d18c8410
487
#!/usr/bin/env bash set -o errexit -o nounset -o pipefail IFS=$'\n\t\v' cd `dirname "${BASH_SOURCE[0]:-$0}"` if [[ ! -d "tiles" ]]; then echo "run scrape.sh first" exit 1 fi X_TILES_CNT=`find tiles/0 -type f | wc -l` Y_TILES_CNT=`find tiles -mindepth 1 -maxdepth 1 -type d | wc -l` echo "generating a ${X_TILES_CN...
c25f3905fa45c6c9c4b04d9ac409a75e60a63fb1
1,003
#!/bin/bash DATASET="MMI" BATCH_SIZE=16 EPOCHS=30 EWMA=5 MIXUP=8.0 RESULTS_PREFIX="results/MMI/6s/lmso" # Referenced wrt toplevel project directory to ensure experiments are run from there # TIDNet ./experiments/_tidnet_basic.sh $DATASET $BATCH_SIZE $EPOCHS $EWMA $MIXUP "${RESULTS_PREFIX}-2-TIDNet" "TIDNet --tlen 6"...
32c48ece6904a535c4df32decb34033a8c0cea02
53
apt-get install fonts-noto ttf-mscorefonts-installer
7f78b31f69bdbfd160380e846dd66a4f76be6106
128
#!/bin/bash LIGHT_MODULE=${LIGHT_MODULE:-"lightsocks-server"} if [ "$1" != "" ]; then exec "$@" else $LIGHT_MODULE fi
bf891eb6265060a513741eb01a00944dfd36148e
584
sudo apt-get update && apt-get upgrade -y && apt-get install openjdk-8-jdk curl curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.4.tar.gz tar -xvf elasticsearch-6.2.4.tar.gz cd elasticsearch-6.2.4 mkdir config/hunspell config/hunspell/cs_CZ cd config/hunspell/cs_CZ curl -sL -o cs_CZ.af...
eb3fa30a04caba1b363b3ab8bca5f0a4a4c991d4
5,955
#!/usr/bin/env bash clear #parse_yaml function parse_yaml() { local prefix=$2 local s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @|tr @ '\034') sed -ne "s|^\($s\)\($w\)$s:$s\"\(.*\)\"$s\$|\1$fs\2$fs\3|p" \ -e "s|^\($s\)\($w\)$s:$s\(.*\)$s\$|\1$fs\2$fs\3|p" $1 | awk -F$fs '{ indent = length($...
3a6bcf770d123990e5535c8d944c8cf5afd37af1
757
# Maintainer: Vlad V. Voronenkov <vladvoronenkov at yandex dot ru> pkgname=gerris pkgver=2013.12.06 pkgrel=1 epoch= pkgdesc="A system for the solution of the partial differential equations describing fluid flow (CFD)" arch=('x86_64') url="http://gfs.sourceforge.net" license=('GPL3') depends=('python' 'gts>=0.7.6.121130...