blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
4e7f091f1c437132a539f60606347ab143bd2912
488
#!/bin/sh setbg & # Set the background sxhkd & # Bind keys # Switch to gb keyboard with Caps as Mod/Escape setxkbmap gb -option caps:super && killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' & wal -R # Properties button extra Mod/Escape xmodmap -e 'keycode 135 = Super_R' & xset r rate 300 50 # Speed xrate up...
cb7f803ab9bb50f973b3c5335ad94a14ac32cbb3
483
#!/bin/bash gnuplot << EOF splot "HCM-IrisRaw.result_classificationFunction" using 1:2:3 with lines, "HCM-IrisRaw.result_classificationFunction" using 1:2:4 with lines, "< awk '{if(\$3>\$4){print \$1, \$2, 0;}}' HCM-IrisRaw.result_membership", "< awk '{if(\$4>\$3){print \$1, \$2, 0;}}' HCM-IrisRaw.result_membership" s...
23ef2a5115c9f8d0f305a991cbe17e7c0196a617
2,088
#!/bin/bash # Copyright 2020 The FedLearner Authors. All Rights Reserved. # # 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 requir...
671199ca32118060a2ec10b75fa54984afbc6121
1,804
#!/usr/bin/env bash # # Maintainer: Jorge Morales <jmorales@redhat.com> # # Package a box for uploading into Atlas as an OpenShift Origin all-in-one release # # $1 : Origin version # $2 : Public host name __dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" __previous="$(cd $__dir/.. && pwd)" help() { echo "This ...
9baeadb1bd64f7c879ed4e9fa348b9c47f699a10
274
#!/bin/sh cd /home/rolles/server/ echo "==================" echo "Selenoid reload..." echo "==================" ./cm selenoid stop ./cm selenoid-ui stop ./cm selenoid start ./cm selenoid-ui start echo "==================" echo "Selenoid reloaded" echo "=================="
e037050e629a75b1324719bf98da7f05a4c9d4f9
986
#!/bin/bash case "$1" in new) echo "[INFO] Creating new cloudera-director docker instances ..." docker create -it --name director -h director.etu.im -v ${PWD}:/vagrant jazzwang/cloudera-director:centos6 /bin/bash ;; start) echo "[INFO] Starting cloudera-director docker instances ..." docker s...
376545f44b340bbce9c95ec7fcb44b1d8fa499fa
282
#!/bin/bash WORKING_DIR=$(dirname $(readlink -f ${BASH_SOURCE[0]})) if [ -z $LUMONGO_CLIENT_JAVA_SETTINGS ] then export LUMONGO_CLIENT_JAVA_SETTINGS="-Xmx256m" fi java $LUMONGO_CLIENT_JAVA_SETTINGS -cp $WORKING_DIR/@project@-@version@.jar org.lumongo.admin.FetchAssociated "$@"
8a1f10a76d15c1115ae7ae7ad0c33733b0f68cf3
377
#!/bin/sh if [ "$TRAVIS_BRANCH" = "master" ]; then wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh && heroku plugins:install @heroku-cli/plugin-container-registry && docker login -u=$HEROKU_EMAIL -p=$HEROKU_API_KEY registry.heroku.com && heroku container:push web --app $HEROKU_APP_NAME && ...
fb7bc5a998f99422b88b6c81bde403bb50480003
465
#!/usr/bin/bush perl /home/ryota/Desktop/OVO-AUTO/program/kousin2.pl perl /home/ryota/Desktop/OVO-AUTO/program/txtonly.pl perl /home/ryota/Desktop/OVO-AUTO/program/name2IRAS.pl perl /home/ryota/Desktop/OVO-AUTO/program/create_all_list.pl perl /home/ryota/Desktop/OVO-AUTO/program/aut-SourceList.pl perl /home/ryota/Des...
ef5c93ec339686e7f56d7d7c491d7851aee45f6b
1,277
#INSTALL MONGODB # Import the public key used by the package management system wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add - # Add sources echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/...
f7bb079408312b0ed0dbe383c2ae642e0beaef8e
155
#!/bin/bash echo "Previewing $1" if [ $# -eq 1 ] then echo "Creating index.html" sed "s/001/$1/" preview.html > index.html http-server . fi
5df54b66ab5f50e28bcb3e3de3f97bd42aac40fa
81
#!/bin/bash -e # container setup script # This script is run at image build time
d8b1182e66c85f16cf3b2aef2888374a24afe4d1
3,788
# commandlinefu.com by David Winterbottom # SVN Export files that were modified between given revisions. svn diff . -r43:HEAD --summarize | cut -c9-99999 | cpio -pvdmu ~/destination # Show only printable characters and newlines from a file or input strings -1 <file> # remove password from openssl key file openssl rs...
798510eb86e3bf61bb9e72be8bcd6e5297ac0042
3,863
#!/usr/bin/env bash # vpkg by tm@core.io # Manage virtual pkgsrc environments easily with an simple shell script. To # have easy commands feel free to create shell aliases. # Defaults VPKG_DIR=${HOME}/.vpkg VPKG_GIT="git@github.com:NetBSD/pkgsrc.git" # Personal configuration file for overwrite defaults test -f "${HOM...
f4bca9ed896d5c013ab4d774ea18f11cb50507f2
291
#!/bin/bash -x echo "Prime number between range" read -p "Enter num1 " num1 read -p "Enter num2 " num2 for (( i=$num1; $i<$num2; i++ )) do count=0; for (( j=1; $j<=$i; j++ )) do if [ $(($i%$j)) -eq 0 ] then ((count++)); fi done if [ $count -eq 2 ] then echo $i fi done
b183dfaac90790c356f5306a1365ecc3c1c89436
229
#!/bin/sh $comm -f tests/bug89.train -t tests/bug89.test -mL -d ED1 -w x2 +v db+di -k3 -o bug89.out1 $comm -f tests/bug89.train -t tests/bug89.test -mL -d ED1 -w x2 +v db+di -k3 -G -o bug89.out2 cat bug89.out1 cat bug89.out2
59b8cbe1f3f6f0d20f39c756e2027c9cc335eb9b
144
#!/bin/sh export GIT_COMMIT=$(git rev-list -1 HEAD) export GO_VERSION=$(go version|sed 's/ //g') export BUILD_DATE=`date "+%Y-%m-%d-%H:%M:%S"`
b8e035326bb37fdec331ad89d474a8715e2fac83
310
# Set ROS melodic source /opt/ros/melodic/setup.zsh source /home/banana/catkin_ws/devel/setup.zsh source /home/banana/study_ws/devel/setup.zsh # Set ROS Network #ifconfig查看你的电脑ip地址 export ROS_HOSTNAME=192.168.3.6 export ROS_MASTER_URI=http://${ROS_HOSTNAME}:11311 #Set gdb alias gdb='gdb -q'
8cfa77cf685caf6569f68b6e174f9f92c9582f1d
86
max=2 for i in `seq 2 $max` do k=$(./generator >out.txt) l=./a.out <out.txt done
1abdadcf3c61190a4d1cd7bf5c4671b51098f207
98
#!/usr/bin/env bash set -e if [ -n "$NODENV_NATIVE_EXT" ]; then src/configure make -C src fi
40d6fbfe196680d67f47683109661aa3246b14ea
923
#!/bin/sh # Script to convert lookup unknown barcodes from FLD list # Version 1.0 # by Damian Yap, Molecular Oncology, BCCRC # on beast.cluster.bccrc.ca # 10 Jun 2013 # This is the path and name of the file that we want to identify the barcodes in qpath="/home/dyap/Projects/MiSeq_Data/MiSeq_QC" query=$qpath/"Matched_B...
2f75c272ffb756628282059277b0bd27480d9e49
182
#!/bin/bash echo "Nombre del archivo asm sin extension" read archivo avra $archivo.asm avrdude -p m328p -c stk500v1 -b 115200 -F -P /dev/cu.wchusbserial1410 -U flash:w:$archivo.hex
1a4a0543df4240e66e0c2f156f330dc74a0d0ba4
944
# The following properties MUST be configured before the Job Service can be deployed. export JOB_SERVICE_HOST=NOT_SET_JOB_SERVICE_HOST export JOB_SERVICE_8080_SERVICE_PORT=NOT_SET_JOB_SERVICE_8080_SERVICE_PORT export JOB_TRACKING_8080_SERVICE_PORT=NOT_SET_JOB_TRACKING_8080_SERVICE_PORT export JOB_TRACKING_8081_SERVICE...
ad7f09d164bfa0ac383910ed895cd9aaf28fcf6b
876
# vim: ft=sh name="polkit" iteration="1" version="0.112" desc="Application development toolkit for controlling system-wide privileges" bdeps=('glib2' 'pam' 'expat' 'systemd' 'mozjs') deps=('glib2' 'pam' 'expat' 'systemd') arch=('any') flags=() src=('http://www.freedesktop.org/software/polkit/releases/polkit-0.112.tar.g...
4ecf5eac56996f420b5de6efe565df4fba438037
900
#!/usr/bin/env bash set -xe python clinvar_api/main.py submit --key-file clinvar_key_runx1_vcep.txt --file executions/20210422/RUNX1/1/submissions/submission-5-603cd528-c485-4e30-934a-cabde6c6d80d.json python clinvar_api/main.py submit --key-file clinvar_key_runx1_vcep.txt --file executions/20210422/RUNX1/1/submission...
6698582cf7c99c35ba7d64d04cf104244318fc6a
65
#!/bin/sh checknametype="--cn" checknameprefix="" . STlsServer
d55b23fc97d885f89af746b81f76a53d5def0acf
161
#! /bin/bash cd /var/www/html/tde/tde/scripts ./import.py -u ./make-catalog.py stamp=$(date +"%Y-%m-%d %k:%M") ./commit-and-push-repos.sh "Auto update: $stamp"
0135600fd24dd9d5ca4610d4f7996f118561ba11
335
#!/bin/bash # Create the .env file cp -n .env.example .env # Start the containers docker-compose up -d # Install dependencies docker-compose exec rest-api-php composer install # Create the database tables docker-compose exec rest-api-php php artisan migrate # Seed the database docker-compose exec rest-api-php php ...
d7dd936c57ef481aa2224c103eda7d616e4f60c4
260
# Show bridges CMD="ip a s" && echo -e "\n$CMD" && eval $CMD CMD="ip r s" && echo -e "\n$CMD" && eval $CMD CMD="route -n" && echo -e "\n$CMD" && eval $CMD CMD="brctl show" && echo -e "\n$CMD" && eval $CMD CMD="ovs-vsctl show" && echo -e "\n$CMD" && eval $CMD
44f06c0ccb4afea3ec5566a3a454391ed77c75a1
203
#!/usr/bin/env bash set -e echo "Configuring mail..." ansible-playbook /usr/local/bin/main.yml -i localhost, --connection=local # Create logging FIFO mkfifo /dev/maillog echo "Exec'ing $@" exec "$@"
8564cf6bc9bc834a270c3de62f5c2e30a3001832
420
#input: CHARM0,... CHARM1, CHARM2....CHARM6 DATADIR=/eos/experiment/ship/data/rpc_charm/ for FILENAME in $(ls $DATADIR$1/*/*.root); #when using *root, FILENAME acquires the full path do FILENAME=${FILENAME//$DATADIR/} #FILENAME=${FILENAME//$1"/"/} echo "NOW PROCESSING ", $FILENAME root -l -q /afs/cern.ch/work/a/ai...
51ccde0d7b27eaad6f24be71b16d4bd7848ca789
1,290
#!/bin/bash # # This is used to start/stop webapp BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/.." RETVAL=0 start () { rm -f $BASEDIR/src/webapp/*.pyc /usr/bin/env python $BASEDIR/src/webapp/webapp.py start RETVAL=$? if [[ $RETVAL -eq 0 ]]; then echo "started webapp" ...
1b94e53f9ad954527992f45b7388e91751b33e79
778
#!/bin/bash # Run in centos # Author: Shamphone Lee JAVA="$JAVA_HOME/bin/java" WORKING_DIR=$(cd `dirname $0`; pwd) WORKING_DIR="$(dirname ${WORKING_DIR})" echo "running in ${WORKING_DIR}" MAIN_CLASS="org.cocolian.data.server.DataServer" JAR_LIB="$WORKING_DIR/${project.build.finalName}.jar" JAR_LIB="${JAR_LIB}:...
9a1f01848fd5e41716cec6fe639217f7fd7db35c
2,247
#!/usr/bin/env bash composer selfupdate composer install -n export SSH_KEY_PRIVATE="-----BEGIN RSA PRIVATE KEY----- MIIEogIBAAKCAQEAtrRqT7d6qyPxuEDiXj+5ANooQvVP3GONhjWbnnayqHDRhkAY L4xjUT9ZAnsV3miduSlLYvrRWz41a3besYagC4sFLqUmBbrGgFRA3MJeiizBgDh1 g9F+4Xa2i98OAE8jUwb6MMnPWb7KJZTck1Kg1sTdlEk35PPV3fktp6AH6AlCXeHz BJgXgAKp...
24fde36c6c1f44e5be3468adc9f90fdb9e985b95
135
#!/bin/bash volumes=$(docker volume ls -qf dangling=true) if [ -n "$volumes" ] ;then docker volume rm $volumes else echo "empty" fi
305014d31d42b09929fc75230eb0ce4b3cd28fdf
1,125
#!/usr/bin/env bash #当前在环境为Project/app目录 apk_path=`pwd`/app/build/outputs/apk/app-debug.apk report_path=`pwd`/reporter/index.html #echo "打包app" #gradle assembleDebug #adb uninstall com.weex.jasso #echo "安装app" #adb install ${apk_path} #echo "启动app" #adb shell am start -W -n com.weex.jasso/.Test1Activity -a android.in...
801b613783dcbfbe92b4b54910df7282e1700b66
118
NODE_ENV=production REACT_APP_API= ${{ secrets.REACT_APP_API}} REACT_APP_STRIPE_KEY=${{ secrets.REACT_APP_STRIPE_KEY}}
0d4b12e863d15d155240180b89d7179d72410b98
668
echo '=== Start deploy ===' docker container start postgresql1 && cd /home/blog/app/nextjs-blog && git reset --hard HEAD && git pull && yarn --production=true && rm -rf ./.next/ && yarn build && yarn compile:src && yarn m:run && docker build -t hehe1111/nextjs-blog . && docker kill nextjs-blog nginx1 docker rm nextjs-b...
ff3b8a71b0c68b0f01e5eeb10d0d7f7224304b5c
136
#!/bin/sh set -e # Add or modify any build steps you need here cd "$(dirname "$0")" cp src/words words go build -o ics src/ics/*.go
bbbd8957de7ee1c348b574ecdb62cf0cdf324647
349
#!/bin/bash FILE="$PWD/futurocoind" if [ ! -f "$FILE" ]; then git clone --depth=1 https://github.com/futuro-coin/Futuro-binaries cd Futuro-binaries tar -xvf futurocoincore-1.1.0-ubuntu18_04-x86_64.tar.xz mv futurocoincore-1.1.0-ubuntu18_04-x86_64/futurocoin* .. rm ../futurocoin-qt cd .. ...
9e00992e00d7f71c9afa1bda16614a42d7714da0
2,765
#!/bin/bash # Colours lgreen="\e[92m" lred="\e[91m" nc="\e[39m" lyellow="\e[1;33m" issslon=0 function exitprogram() { # This function exits the scripts using the trap command echo "" echo -e $lgreen"Aight bet..." echo -e $lred"cya soon XD" exit 0 } function checkroot() { # This function checks to see if the us...
ee7f188d2b3a1bc857939a185fe30be91a594464
107
source simpleappenv/bin/activate gunicorn --workers 5 --bind unix:simpleapp.sock -m 007 src:app deactivate
55826f8f6b7d5f2584cd5796d88735a079199c70
253
#! /bin/bash var=0 for i in `ls -l $1| awk '{ if ( $1!~/x/ && $2 ~ 1){print $NF}}'` # | wysyla ls -l do awk $1 - pozwolenia jesli x wyswietla ostatnia pozycje w tabeli - nazwe pliku do cd $1 echo $i var=$((var+1)) mv $i $i.${var}. done
d5b4013ef3d2f79dc899a00a4105b1670ca01f80
74
#!/bin/bash MONGO_URL=mongodb://localhost:27017/projector meteor -p 3040
f8f7611a5f98e254d26f4c32dd64acb07d9526ab
173
grep 'Endocrine disorders' mdhierz_asc_3_colums.txt >Endo grep 'Eye disorders' mdhierz_asc_3_colums.txt >Eye grep 'Social circumstances' mdhierz_asc_3_colums.txt >Social
b59c9fbabd2aaa96bf2c74778ea61dc4470d7ca5
752
#!/bin/bash set -e source /var/vcap/jobs/jumpbox/config/bashrc EXITSTATUS=0 check() { name=$1 echo -en "Checking \e[1;35m${name}\e[0m... " if ! $* >/dev/null 2>&1; then echo -e "\e[1;31mFAILED!\e[0m" EXITSTATUS=1 else echo -e "\e[1;32mOK\e[0m" $* 2>&1 | sed -e 's/^/ /g' fi echo } export HOME=/var/vcap...
8567acf43352226cc4936e26d88b17e6dc3a6db6
357
#!/bin/bash source $REPO_HOME/tools/share.sh set -e set -x export RISCV=$INSTALL_DIR mkdir -p $INSTALL_DIR # ------ Spike ------------------------------------------------------------- refresh_dir $DIR_TOOLCHAIN_BUILD cd $DIR_TOOLCHAIN_BUILD $DIR_TOOLCHAIN/configure \ --prefix=$INSTALL_DIR \ --e...
870d8fc2c0553a91495f4ce01fca12fce6f2ccf8
130
#!/bin/bash echo "check writing data when SCSI device has no more space" $(dirname $0)/../helper/check_limit_helper.sh "/mnt/hd"
af027ab75366e9590d4ec7bc71cbfd395d463fa8
538
#!/bin/bash CONFIG_HOST=${CONFIG_HOST:=vbc-config} CONFIG_PORT=${CONFIG_PORT:=8888} JAVA_OPTS=${JAVA_OPTS:-"-server -Xms64m -Xmx128m -XX:+UseParallelOldGC"} a=0; while ! nc -z ${CONFIG_HOST} ${CONFIG_PORT}; do a=$(($a+1)); if [ "$a" -gt 20 ] then echo startup failed! ...
7df7b15c42753ef17546af028081842a5392b877
4,517
#!/bin/bash ############################################ BASICS SCRIPT_DIR="$COMPOSER_RUNTIME_BIN_DIR" WORKING_DIR=$(pwd) source $SCRIPT_DIR/sake-self-methods ############################################ DIR if [ "$1" != "" ]; then dir=$1; else dir='vendor' fi ############################################ SET...
1752e15ba1b498b117d28b5b4d0f2e7b437c1bfe
211
#!/usr/bin/env bash if [ ! -f install ];then echo 'install must be run within its container folder' 1>&2 exit 1 fi WORKDIR=`pwd` export GOPATH=$WORKDIR gofmt -w src go install test echo 'finished'
e554940d12e33093eaa8de1170dba09561b75fc5
206
#!/bin/bash ## [Merge] ## ## Checkout the version of "file.a" from either ## the current branch (ours) or the branch being ## merged into the current branch (theirs) ## git checkout --{ours,theirs} file.a
fe2d8d8990f15bf4c484774b933718796d21a85a
979
#!/bin/bash # Install fonts bower install; # Build global Sushi Card CSS lessc "src/css/web.less" "_assets/website/sushi.css"; lessc "src/css/print.less" "_assets/ebook/sushi.css"; # Put fonts where GitBook can find them # Lato mkdir -p _assets/website/fonts/lato; cp -R bower_components/lato/font/ _assets/websit...
54b44a5f5713e0f6b3fb3d0cac599ce8633c8659
90
#!/bin/bash set -v javac -d ./mods/ --module-source-path src $(find src -name "*.java")
8f4e728ebd3e1ab1f40222ce15e88e72495cd97f
32
#!/bin/sh head -n 20 /dev/fd/0
fd6c9823c64b9170d94558889aacbb9298b0becd
1,699
lua_platform() { typeset platform=$(uname -s| awk -F_ ' { print tolower($1); } ') [ "$platform" == "cygwin" ] && platform="mingw" echo $platform } # # Build lua build_lua_core() { typeset rc=0 export rc_conf=0 rc_make=0 rc_makeinstall=0 typeset id="$1"; shift # build id typeset dir="$1"; shift # src direct...
9f9864fe2903cde12d6cda60d55e9249d128992c
291
module.exports = { authSecret: process.env.AUTH_SECRET } MYSQL_HOST=robb0427.publiccloud.com.br MYSQL_USER=dmxwe_ifpj1 MYSQL_PASSWORD=aGqc3*61 MYSQL_DATABASE=dmxweb2_ifpj_boletim MYSQL_APP_HOST=167.99.0.146 MYSQL_APP_USER=ifpj MYSQL_APP_PASSWORD=@ifpjdb*123 MYSQL_APP_DATABASE=ifpj_app
0cb24c0498fc146b94d9f475e541c818234abd6b
412
#!/bin/bash set -eu -o pipefail outdir=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM mkdir -p $outdir mkdir -p $PREFIX/bin cd $SRC_DIR cp grid.sh GRiD*.R README.md update_database.sh bowtie.txt check_R_libraries.R $outdir cp -R blast_database $outdir cp -R PathoScope $outdir chmod +x $outdir/*.sh ln -s $outdir/...
23d706b411e4fbe712182eca6243784c2a5c79cd
145
#!/usr/bin/env zsh set -ex mkdir -p ~/.ssh chmod 700 ~/.ssh cp ./ssh/config ~/.ssh/ chmod 600 ~/.ssh/config echo "Now go get your private key!"
20c6be94a0cefb1f89d4ef1f79a8dcabd10d7e55
3,464
#!/bin/bash # # sea's Script Tools: The 3rd Generation # # Description: Writes an imagefile to selected USB drive with DD # Author: Simon A. Erat (sea) <erat.simon AT gmail.com> # License: GPL v3 # Date Created: 2011.09.09 # Date Changed: 2013.08.25 script_version=1.4 # Resource: man mkfs, fsck, cfdisk, wipefs...
3023fcf32397defc3270702e2c31c8b46b95ccbf
2,409
#!/bin/bash #takes input files (and path and module) from list_BI.txt file #generate BI/BC files #execute: "cat non_generatedBI_files.txt | sort -u" to see the list of input files that can't generate a BI #takes only the $1 first entries (if empty, takes 20) nb=$1 if [ -z "$nb" ]; then nb=20 fi HEAD="head -n $nb" F...
5265250b98094137c08ab512910999ebfa467c46
507
#!/bin/bash BIN_DIR=bin INSTALL_DIR=$(realpath ..)/libfoo do_clean() { rm -rf ${BIN_DIR} } do_build() { mkdir -p ${BIN_DIR} && \ cd ${BIN_DIR} && \ cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} .. && \ make install } do_rebuild() { do_clean do_...
7f5789dd4935b909409f1d959e0fb4e98c37246a
68
hadoop fs -rmr $1 hadoop fs -put $1 pig -param SRCS=$1 ranking.pig
8859f66daf3741225e6d223479e47396199a1afe
264
#!/usr/bin/env bash # This script kills all background jobs. # Reference: https://unix.stackexchange.com/questions/43527/kill-all-background-jobs # Debian version # kill $(jobs -p) # OS X version jobs -p | xargs kill # Gnu version # jobs -p | xargs -rn10 kill
95b9bf75fa2e179282e31dd503634a9923c0605a
471
#! /bin/bash declare -a dataset=("gossipcop_fake" "gossipcop_real" "politifact_fake" "politifact_real" "Aminer") declare -a methods=("proposed" "HITS" "CoHITS" "BGRM" "BiRank") for d in ${dataset[@]}; do echo $d python main_parameter_analysis.py --para 1 --model proposed --merge_tt 0 --dataset $d --testi...
c2bdba0bce26a67695278d207ba63119c93d66e3
149
#!/bin/bash react-native bundle --entry-file index.js --platform ios --dev false --minify false --bundle-output ios/main.jsbundle --assets-dest ios
8cb2080cc3325dbed03a87148523d6c237536bf1
4,741
# Script runs services in 'PROD' mode by default # Available parameters are: # --mode <mode-name> - starts all services in 'DEV', 'QA' or 'PROD' mode # --service-name <service-name> - starts specific service with its dependencies # --down-only - stops and removes containers of running services # --logs-only - displays ...
a06218f974fe9e6adac79c26766e98d15fc18a4a
1,419
#!/bin/bash #data=~/raida/data #data=/msu/data/t3work5/ivanp/ntuple_analysis/Wm1j7TeV_cp2/data data=data part=$1 #if false; then echo -e "\n\E[0;49;93mReweighting\E[0m\n" ./bin/reweigh --bh=$data/Wm1j7TeV_"$part"_0.BH.root -o $data/Wm1j7TeV_"$part"_0.weights.root --pdf=CT10 --old-bh echo -e "\n\E[0;49;93mMaking ne...
ec378727d2be28b3ccf35813804a52d8fcdf6e42
76
#! /usr/bin/env bash eksctl utils write-kubeconfig -c rafaelkb -r us-east-2
d598d2761300e36e93a8a7718f68224147c97055
170
# run shadowsocks server shadowsocks-server -p 8888 -m aes-256-cfb -k ${PASSWORD} & # run kcp server server -t 127.0.0.1:8888 -l :29900 --mode ${MODE} --key ${PASSWORD}
456bcafb1ac24534f61d16709d219ab839d32157
53
export IMAGENAME=chaffix/tf_py36:ub16-tf1.12-cuda9.0
434be69408f27267e7b3fe5732d2e1d46e0e0be8
2,623
#!/bin/bash # # generate_network_config.sh finds the epoxy.ip= kernel parameter, parses it and # writes a networkd configuration file for the static IP to the named file. # generate_network_config also sets the machine hostname. OUTPUT=${1:?Please provide the name for writing config file} # TODO: Modify ePoxy to reco...
4eeaed191ff94b887487baa16414defb0acc9a53
7,284
#!/bin/bash # # vim: set ts=4 sw=4 tw=0 et : # # {{ ansible_managed }} # # Copyright (C) 2014-2017, University of Washington. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions o...
38019329e6da9c3674eae645c90350bf77b9dc70
727
#!/bin/env bash error() { local parent_lineno="$1" local message="$2" local code="${3:-1}" if [[ -n "$message" ]] ; then echo ":: ERROR :: Error on or near line ${parent_lineno}: ${message}; exiting with status ${code}" else echo ":: ERROR :: Error on or near line ${parent_lineno}; exiting with statu...
f191c9214db2a5776bf89d8dcf03fcf6e1a4bc81
1,522
#!/usr/bin/env bash if [[ $# -eq 0 ]]; then printf "NAME\n\tsetup.sh - Main driver to set up the environment\n" printf "\nSYNOPSIS\n" printf "\n\t%-5s\n" "./setup.sh [OPTION]" printf "\nOPTIONS\n" printf "\n\t%-5s %-40s\n" "1" "Softwares that have to be installed on your computer before using this package" pr...
7d4a73fb849e198f1229585b3f3163dab40b9ce9
619
#!/bin/bash # test cases for example-0404 (1D problem with Hodgkin-Huxley) echo "compiling and running example $(pwd)" folder=$1 mkdir -p $folder echo " compiling $folder" cd $folder cmake -DCMAKE_BUILD_TYPE=$folder -DOPENCMISS_BUILD_TYPE=$folder .. make cd .. echo " running $folder" # <number elements X> <interp...
3a314b335f32a338e781d9aab483237d2d373231
167
#!/bin/bash rm -rf ./data/grafana-grpc/data/grafana.db rm -rf ./data/grafana-grpc/data/plugins/ rm -rf ./data/grafana-grpc/data/png/ rm -rf ./data/prometheus/data/
0a1bef52baa7344b9548ec0652fa5b16b6c6559f
121
#!/bin/sh -e update.sh sudo grub-reboot "$(sudo grep -i 'windows' '/boot/grub/grub.cfg' | cut -d"'" -f2)" && sudo reboot
7c1ca9019c7044412bc0483c5dbb6ea4f7975993
193
source heroku-config sfdx heroku:pipelines:destroy $pipelineName sfdx heroku:apps:destroy --app $stagingName --confirm $stagingName sfdx heroku:apps:destroy --app $prodName --confirm $prodName
99cbc9a2479358af1f7ce3edcfb7baa5b32ca3f8
186
#!/bin/sh # Run the reverse engineering api JAR=${1?Usage: $0 jar} REVENG_HOME=/home/ian/workspace/revengapi/build cd /tmp java -cp ${REVENG_HOME}:${JAR} reveng.RevEngAPI -b ${JAR}
ffbe27f960120d232886f27d1b33bcef042cc7e4
176
#!/bin/bash java -ea -cp '../../../../../jars/*' -Djava.security.manager \ -Djava.security.policy=dcvm.policy \ fr.upmc.components.registry.GlobalRegistry config.xml
6ccc1cfce380159cb16c8e0b98f459cf35abfe88
129
# vi : filetype=bash BASH_ENV_USE_GOOGLE_IME_SKK=1 BASH_ENV_SHARE_HISTORY=0 BASH_ENV_WSL2_LOCAL_IP=0 BASH_ENV_WSL_LOCALHOST_IP=0
824d29385750343a33d8577a9c58d047c8869456
355
#!/bin/sh update_webhook= upstream=$(curl -s "https://pkgs.alpinelinux.org/package/edge/community/x86_64/borgbackup" | htmlq -t '[aria-label="Flag this package out of date"]') downstream=$(curl -s "https://hub.docker.com/v2/repositories/library/alpine/tags/$upstream" | jq -r ".name") if [ "$downstream" != "$upstream" ]...
690f41d22dd51b83da2744bf99db244db3425eac
228
#!/bin/bash # rename your files # If your file contain a space, please remove it before you this script for file in `ls | grep .txt` do newfile=`echo $file | sed 's/pattern/replace/g'` mv "$file" "${newfile}" done
fd391c18ff34326d73e790e6d155623d4472b26d
215
#!/bin/sh . ${DIR_MELVABLE}/module/ubuntu_1404_64bit_mac/ubuntu_1404_64bit_mac.melvablesrc Initialize InstallDevelopTall # InstallExplore # InstallWatch InstallOptimize InstallTime InstallSudo # InstallServerLamp
1a01ce92d73678ab34948a146c46c4e33018bd17
685
#!/bin/bash # vim: set ft=sh set -e exec 3>&1 # make stdout available as fd 3 for the result exec 1>&2 # redirect all output to stderr for logging from=$1 if [ -z "$from" ]; then echo "usage: $0 <path/to/source>" exit 1 fi # for jq PATH=/usr/local/bin:$PATH payload=$(mktemp $TMPDIR/samba-resource-request.XXXXX...
4bd3b05799c7fbb5b0969d8ebc1dd4903e7f9334
378
#!/bin/bash # Originially stolen from: https://git.io/vi07z while : do # Outputting like that reduces blinking status_output=$(git -c "color.status=always" status --short --branch) log_output=$(git --no-pager log --color=always --abbrev-commit --date=relative --pretty=live $@) clear echo "$status_o...
9c5d4fca7d18363b8a6336150deb9dee50c87bfa
6,206
ssh -t savitar "cd /data/savitar/tabhid;cd Server_Exps;echo 'xvfb-run-safe -s \"-screen 0 1400x900x24\" python3 ../Main.py --name Mario_1_1_1_stp_LR_0.0001_Gamma_0.99_Batch_32_itrs_1_Xp_300k_CEps_0.9999_Decay_Count_12_Stle_1000k_Beta_0.001_Eps_1_0.05_k_uid_0 --env Mario-1-1-v0 --lr 0.0001 --seed 7 --t-max 1200000 --ep...
75f66225a4ff794d7bce6f7e9012c2a0767604ec
8,927
#!/usr/bin/env bash make_docker_compose() { cat << 'EOF' > "${PWD}/augur/docker-compose.yml" version: '3.7' services: augur: image: augurproject/augur:runner restart: always ports: - 9001:9001 - 9002:9002 - 9003:9003 - 9004:9004 volumes: - ./keys:/keys environment...
24cfac76632fc18d3b8c329f8d648e38ccdbaa45
117
#!/bin/sh dialog --title "Check me" --checklist "Pick Numbers" 15 25 3 1 "one" "off" 2 "two" "on" 3 "three" "off"
0f3581a1d189984d634f62bec9139a4174acd0ae
436
#!/usr/bin/env bash # $@ - List of result files produced by algo2 # Computes the average maximum number of nodes per hyper-tree level and its # standard deviation from the list of result files produced by algo2. current_dir="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" >/dev/null 2>&1 && pwd)" tmp_file=$(mktemp) bash ...
a5bbd629d692accae8b4600dd299af9aa486fabf
162
#! /bin/bash find . -name not\* | tail -1 | xargs rm mkdir -p '12" records' find \! -name . -type d | tail -1 | xargs rmdir //https://en.wikipedia.org/wiki/Xargs
0aa57ec68cdf524dde0be78ca44936fb16794941
84
PORT = 23333 FILE_BASE_PATH = data POOL_SIZE = 15 ENABLE_TSV = true PAGE_SIZE = 4096
647c5d7b6f55515b971f23c37a7701d1bd6ad6f2
437
#!/usr/bin/env bash set -eu setup_borg() { title "Setting up borg" local borg_file_dir="${CONFIGS_DIR}/borg" info "Creating symlink for borg" ln -sfn "$borg_file_dir" "$XDG_CONFIG_HOME" info "Adding systemd" mkdir -p "${XDG_CONFIG_HOME}/systemd/user" ln -sfn "${borg_file_dir}/borg.servic...
e4b3d34b844cf1161bb424550bd8baabcd6b119e
2,275
#!/bin/bash source "/home/cwal219/training/.common" intro () { STEP="0" cd "~/" printf "${F_HEADR} ___ ___ ____ _ ____ _ \n / _ \ / _ \ _ | _ \ | | | _ \ (_) \n| | | | | | | (_) | |_) | __ _ ___| |__ | |_) | __ _ ___ _ ___ ___ \n| | |...
8020bcafb3eb0487133325b6cd6bcde75120e6f9
2,419
######################################################################### # File Name:.sh # Author: jxsr713 # mail: jxsr713@163.com # Created Time: 2021年06月09日 星期三 15时10分45秒 ######################################################################### #!/bin/bash #get current path path=`pwd` echo "current path:$path" py_pa...
481da8f0cb32690e70e9bd1adc9abd0bc9ea4d3a
1,457
#!/bin/bash -x # resize the SD card to minimum size and zip it to image directory # assume /dev/sdg2 is partition to be shrunk # parameter 1 - output file name # parameter 2 - optional root device partition otherwise /dev/sdg2 # parameter 3 - optional image directory otherwise /curation/images # Automatically determine...
1c4cd5d9e7ec834fa463cc016a062be609c04dfa
604
#!/usr/bin/env bash # ~/.Scrips/wal -i ~/Imágenes/Wallpapers/ -o wal-set -a 95 source "${HOME}/.cache/wal/colors.sh" reload_dunst() { pkill dunst && \ dunst \ -lb "$color15" \ -nb "$color15" \ -cb "$color15" \ -lf "$color0" \ -bf "$color0" \ ...
07a7051091605ba6a798dfbc6c5ca8e8f667076c
253
# coffee -c -o out/ coffeescript handlebars templates/solution.handlebars -m -f out/solution.handlebars.precompiled-template.js webmake --ignore-errors --ext=coffee coffeescript/html-app.coffee out/bundle.js uglifyjs out/bundle.js -o out/bundle.min.js
f5be228c0c4208b7e99567c722e8b2ff6fcb7f4c
1,750
#!/bin/zsh myArray=() dateArray=() timeArray=() filenameArray=() # comand running example ./.script.sh "Friday" "16:00" "19:00" # $1 $2 $3 # then you can move the filtered.txt file to a specific folder # mv `cat filtered.txt` bunchy while IFS= read -r line; do myArra...