blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
82353f9c2b98aabb9daa9357c86a389fb5c0f32c
168
#!/bin/bash source activate data qpdf --password="" --decrypt testresult.pdf decrypted_testresult.pdf python pdftestrank.py --id=$1 --path=./decrypted_testresult.pdf
fc44b66be6d7bb3b2158601e9bfb8336f3d76429
354
#!/bin/bash # cd to the directory of this script cd "$(dirname "$0")" rm -rf dist/ tmp/ ember build -prod cd pub-branch git checkout master rm -rf * cp -R ../dist/* . git add -A # starts with the -m message than opens the editor git commit -m "Deployed on `date`" -e git push # need to delete these afterwards or emb...
55b150b10124bb7f1c9e85008000e0a8f26cdfaf
114
MYSQL_URL= MYSQL_USER= MYSQL_PASSWORD= MYSQL_DB= CORS_ORIGIN="http://localhost:4200" JWT_SECRET=supersecretstring
803b119a54323b511c83d4f7ac41c91cc9740aa7
1,373
# # Copyright (C) 2011 Cloud.com, Inc. All rights reserved. # mgmtServer=$1 count=$2 noId="9384dab9-d19d-4b2d-bf28-d545787dcaeb" zoneid="ec7df848-5880-4b81-8e45-e2d8b8382414" #count=$(($count+4004)) echo $count for name in `seq 1 $count` #for name in `seq 4001 $count` do account_query="GET http://$mgmtServer/clien...
b17eef0e21338c9ee33ab0506b67e211aff7d04e
85
#!/bin/sh ./spark/bin/spark-class org.apache.spark.deploy.worker.Worker $SPARK_MASTER
e56631b39fc74526437e0ba74b10d53507c7da71
110
#!/bin/bash xbacklight -set 100 cd /home/hasgeek/contactpoint date >> up.log git pull origin master >> up.log
dc7e295f61dd699dfe64308a2cfa7139d1c2adae
249
#!/bin/bash set -euv rm -rf dist/ rm -rf release/ npm run build mkdir -p release mv ./dist ./release/dist cp package.json ./release/package.json cp README.md ./release/README.md cp CHANGELOG.md ./release/CHANGELOG.md cp LICENSE ./release/LICENSE
fa9ecc82c779b0fd5e7113aa9d35aef4011b0bef
127
#!/bin/bash cat "instances/$1/head" > "instances/$1/data.out.head" cat "instances/$1/data.out" >> "instances/$1/data.out.head"
68ad18c29293ec353875ff595425a73e18785e81
1,417
#!/bin/bash # originally made by https://gist.github.com/robwierzbowski/5430952/ # Updated to work in 2019 by devonpmack # Create and push to a new github repo from the command line. # generate a personal access token here: https://github.com/settings/tokens GTOKEN="ACCESS_TOKEN_HERE" # Gather constant vars CURREN...
68cfb4596366f1bf1d1244521029fe1cc15f4576
164
#PBS -N _s_3d1_b #PBS -l select=1:ncpus=32:mem=124gb #PBS -l walltime=72:00:00 module load gaussian/g16-c01-avx cd $PBS_O_WORKDIR g16 < s_3d1_b.gau > s_3d1_b.log
0660a4343380462d65ef56dc82671b3faf1f7e11
623
#!/bin/bash OUTPUT_DIR_BASE="/home/gregth/workspace/advcomparch/ex3/outputs" SNIPER_DIR="/home/gregth/workspace/advcomparch/ex3/sniper-7.3" echo "Outputs to be processed located in: $OUTPUT_DIR_BASE" output="*Benchmark*|*Instructions Run*|*Percentage %*\n" for benchdir in $OUTPUT_DIR_BASE/*; do bench=$(basename $be...
a627f32e397979f4399b0ff6bfbb98cf205862c0
9,542
#!/bin/bash function main() { local projectId=${1:?"[ERROR] Specify a project id"}; local groupId="com.protonmail.mateuszkucharczyk.${projectId}"; mkdir "${projectId}"; cd "${projectId}"; git init . $(createFileRootPom "${groupId}" "pom.xml"); mkdir "fe"; $(createFileFrontendPom "${groupId}" "fe/pom.xml");...
69434c0d80ff670e1bdbad5955e6b83222de6e0f
1,166
#!/bin/bash source_folder="raw_videos/brest/" name="brest_20190609_130424_327_334" source_file=${source_folder}/${name}.ts size_s=900 # 15 start_s=0 end_s=$((start_s+size_s)) video_name_temp=${name}_${start_s}_${end_s}; folder=${source_folder}/${name}/${video_name_temp} mkdir -p ${folder}; dest_file=${folder}/${vide...
259e807e31b9ca97811426154ec4aeccb50a6978
83
#!/bin/bash set -eu set -x mkdir -p _deploy/site cp index.html *.js _deploy/site
c74293498b440cf9e68450a6901d4695f6f453fe
41
#!/usr/bin/env bash echo website-ping.db
9de1a3c23bc37315229d42836dadb4879e72edcf
899
python train_ecg.py \ --output_folder=/raid/data1/out/model_II_250hz_4s_20191213 \ --train_data_path=/deeplearn_data2/experimental_data/191210/Channel_II/NotContainNoise/NonPureN/Train \ --validation_data_path=/deeplearn_data2/experimental_data/191210/Channel_II/NotContainNoise/NonPureN/Test \ --save_format=hdf5 \...
ba06cc9e243f231ec3e7f56f12b50c4a152a687b
120
sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install sublime-text-installer
6d09bb938ab8cd7c0382b698fb0c6fd6b39791b7
2,030
#!/bin/sh set -eu COIN="${1:?eth}" # 1: ganache, 2:go-ethereum, 3: something else CLIENT=2 ############################################################################### # keygen wallet ############################################################################### if [ $CLIENT -eq 1 ]; then echo import ganache ...
af42b3e1e0dbf8f91e529de472d0de25a86bdc65
2,693
#!/bin/sh # Script finds AWS Security Groups with potentially unsafe rules and lists instances that use such security groups. # # Unsafe security group rules are: # 1. open to the world (0.0.0.0/0), # 2. not restricted to another security group, # 3. not use safe ports (22,80,443; you can set SAFE_PORTS environment va...
afeebd99c7548695834f5fd97ff03dd7e02fb2b1
1,039
#!/bin/sh # Create build dir if it doesn't already exist. if [ ! -d build/ ]; then mkdir build/ fi # Default build type is debug. build_type=$1 if [ -z "$build_type" ]; then build_type="debug" fi case $build_type in "debug") cmd="cmake -DCMAKE_BUILD_TYPE=Debug ../.. && make" ;; "relea...
230e81839681674fffead5b6ab0fa25715ce9027
145
#!/usr/bin/env bash #export DISPLAY=:0 #cd ${pwd}/.. source ${HOME}/.rvm/environments/ruby-2.3.3 APP_ENV=production bundle exec ruby harvest.rb
2e556d001d6f4bb745c73c24b78fe5dbc6c251d0
99
#!/bin/bash docker run -d \ --name cassandra-00 \ --expose 9042:9042 \ gd/cassandra:latest
17a307b69221dc9a32df592d3f4b5f5fb354beac
4,206
#!/bin/bash #SBATCH -n 4 #SBATCH --mem=20000 #SBATCH -t 24:00:00 #SBATCH -p parallel #SBATCH -A cphg_cz3d #SBATCH -o slurm_out/del_cIDR_H3K4me1_rep.out bwa mem -t 8 /nv/vol190/zanglab/zw5j/data/index/bwa_index/hg38/hg38.fa /nv/vol190/zanglab/bs6yk/NATDATA/CHIPSEQ//DEL3K4M12_L001.fastq.gz > /nv/vol190/zanglab/zw5j/sin...
7984dc7a76c35b32d1f06c727799d7e26440407a
691
#!/bin/bash # Docs by jazzy # https://github.com/realm/jazzy # ------------------------------ if which jazzy >/dev/null; then jazzy \ --clean \ --author 'Serhii Londar' \ --author_url 'https://github.com/serhii-londar' \ --github_url 'https://github.com/serhii-londar' \ --mod...
a8784bdcdabe34514f5de6b29f4c7bf6685a06e3
154
GRAPHQLMFE_SVX_API_BASE_URL=https://some.url.com GRAPHQLMFE_SVX_API_USERNAME=some_username GRAPHQLMFE_SVX_API_PASSWORD=some_password GRAPHQLMFE_PORT=4000
9479d3871788b0b9e93d7e90d03257faf15b92cc
93
#!/bin/bash git submodule update --init --recursive cd DerelictImgui/cimgui/cimgui make -j4
eafc150dac1fcedb2741c22f2532ed56e9a3fb95
103
a=0 while [ $a -lt 10 ] do if [ $a -eq 7 ] then break else echo $a a=`expr $a + 1` fi done
fd80bbd4cf3158812091562f57eb6df5851cdbf5
142
#!/bin/sh #nohup horris run --configfile misc/sample.conf 1> /dev/null 2>&1 & PERL_HORRIS_DEBUG=1 bin/horris run --configfile misc/relay.conf
175c14719ae7ada6b497d6a864f2e91fc9aae222
546
#!/bin/sh # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/CleanFunctions cleanCase rm -f constant/polyMesh/boundary rm -f constant/polyMesh/sets/*_old rm -rf constant/panelRegion/polyMesh rm -rf constant/woodRegion/polyMesh rm -rf constant/filmRegion/polyMesh rm -rf patch* rm -f log.* rm -f outFlameHeigh...
3bd7f6a6697f8def9c8e5950bbe85a4cb923e601
46
#!/bin/sh rofi -show run -show-icons -p "> "
3c244902c1f50e2ec5eac3e4a349cfc03a748703
632
#!/bin/bash if [ "$#" -ne 4 ]; then echo "Incorrect Syntax!" echo "Please pass the required parameters DB_CONFIG_PROPERTIES_FILE, SQL_FILE, LOG_FILE, CUST_NUM" exit fi dbConfigFile=$1 sqlFile=$2 logFile=$3 custName=$4 if [ -f "$dbConfigFile" ] then while IFS='=' read -r key value do key=$(echo $ke...
3b82c6d6ec2dd646159aa368f7c3066140184a47
76
./build.sh D DEBUG docker run -it -e PORT=5000 -p 5000:5000 dashboard:latest
9a3c50376da6cdd3753887c5b06a84915b8425e7
627
# proxy if [[ -e ~/.zshrc.proxy ]] { source ~/.zshrc.proxy } if [[ -z $ZSHENV_LOAD ]] { export ZSHENV_LOAD="1" export TZ=Asia/Tokyo export LANG=ja_JP.UTF-8 # for ptyhon export LC_ALL='ja_JP.UTF-8' # node export NODE_PATH=/usr/local/lib/node_modules # man export MANPATH=/usr/local/opt/coreutils/...
79c1a214d61fe3b74396a2221f0ee7175288222a
520
#!/bin/bash -x # Create loop device and LVM volume group device_name=loop0 device_path=/dev/$device_name data_path=/var/local/${device_name}-device-data.img data_size=2048G if [ ! -f $data_path ]; then truncate --size $data_size $data_path losetup --partscan --show $device_path $data_path pvcreate $device_pat...
90a4baed8e55c49fad993dcbb8c67f161cb024c3
74
#!/bin/sh ldapmodify -H ldap://ldap-master.42.us.org -f mobile-phone.ldif
6332c48fdb19fde10bce714bb2da9a02c21caf31
284
#!/usr/bin/env bash [[ "${TRACE}" ]] && set -x set -eu set -o pipefail main() { local host="${1?host was not provided}" # shellcheck disable=2016 local cmd='cat > "$TERM.info" && tic -x "$TERM.info"' # shellcheck disable=2029 infocmp -x | ssh -t "${host}" "${cmd}" } main "$@"
4e16085f8e7d718a8296fc4a758835f4e9e3029f
168
#!/bin/bash echo 'export PS1="\[\033[36m\]\u\[\033[m\]@\h:\[\033[32m\]\[\033[33;1m\]\w\[\033[m\] (\$(git branch 2>/dev/null | grep "^*" | colrm 1 2)) \$ "'>> ~/.bashrc
58541fce885648356bd432c7a395a77c475cc061
1,160
#!/bin/bash set -e shout --plain "==fastdb" FDB_REPO_NAME="fastdb" FDB_REPO_CLONE_LINE="git clone https://github.com/7890/${FDB_REPO_NAME} ${FDB_REPO_NAME}" cd "${TRAVIS_BUILD_DIR}" cd .. rm -rf ${FDB_REPO_NAME} $FDB_REPO_CLONE_LINE cp "${TRAVIS_BUILD_DIR}/${FDB_REPO_NAME}/Makefile.mingw" ${FDB_REPO_NAME} cd ${FDB_...
05bec2e757738d016bc88c2cf23eebce80d5cb91
130
#!/bin/sh -eux mv acpica-R${UB_VERSION:4:2}_${UB_VERSION:6:2}_${UB_VERSION:2:2}/* . OPT_CFLAGS="-O2" \ ub_make -C generate/unix
65e8d03217a44cace22917684f3d82968a04ee9d
81
#!/bin/bash ./copy_group sam10c sam114 sam112 sam105 sam107 sam113 sam111 sam109
8511d465bcdcd4d394c466ba9bf171460d05f847
217
#!/bin/bash -v set -e # Build Ionic App for iOS ionic cordova platform add ios --nofetch if [[ "$TRAVIS_BRANCH" == "develop" ]] then ionic cordova build ios else ionic cordova build ios --prod --release fi
6845159fddbf2fc46ecc86a04c8d2b531e6a0325
1,065
source variables.sh if [ ! -d ${TRAIN_DIR} ] then echo "making directory..." mkdir -p ${TRAIN_DIR} fi # bidir_lstm=Trueでpretrainしてもclassifierでbidir_lstm=Trueすると次元があわなくなる。 CUDA_VISIBLE_DEVICES=${GPU} python train_classifier.py \ --train_dir=${TRAIN_DIR} \ --pretrained_model_dir=${PRETRAIN_DIR} \...
1a821fccebd5fa63ec11a2de85e92ae64d551656
760
#!/bin/bash # Herman Kamper, kamperh@gmail.com, 2015. # Based loosely an parts of train_mono.sh. nj=4 cmd=run.pl if [ -f path.sh ]; then . ./path.sh; fi . parse_options.sh || exit 1; if [ $# != 3 ]; then echo "usage: ${0} data_dir exp_dir feat_dir" exit 1; fi data=$1 dir=$2 mfccdir=$3 name=`basename $data`...
62d4fcac98fede4ef1467bdf106d513f72931e62
846
#run_random_sparsity.jl.run #generate file # include("log_dat_gen.jl"); n=4000; for i=1:6; genRandData(n,2^i); end # include("log_dat_gen.jl"); k=32; n=500; for i=1:6; genRandData(n,k);n=n*2; end opt=$1 #1 - jump, 2 - ep n=40 for k in 2 4 8; do #16 32 64; do if (( $opt == 1 )); then echo "JuMP - random_sp...
2eab0fc114d881ca338e870fa233c88bcaa6cbe2
1,106
#!/bin/bash # The script runs multiple consumers # To run the script: # chmod a+x producers.sh # ./producers.sh balancer_addr balancer_port producer_id num_producer # $1 = balancer_addr : IP address of the balancer # $2 = balancer_port : Port number of the balancer # $3 = producer_id : ID of the starting producer # ...
a632147bb159787ef631d99dd9f94f2584691e3d
464
#!/bin/bash # Find a list of services to restart when OpenSSL libraries are updated. ctids=( $(for i in `pgrep -z $(zonename)`; do \ pldd $i 2>&1 | \ egrep -e 'lib(ssl|crypto).so' >/dev/null && \ ps -octid -p $i | \ sed -e '1d; s/[^0-9]//g;' ; done | \ sort -n | uniq) ) length=`expr ${#ctids[@]} - ...
482810ec337431233b91b737ba4681c61c05520a
6,156
#!/bin/bash #---------------------------------------- # File: SYN_PNR_TEST_PROC # Description: Crude script to perform a clean, synthesis (basic), pnr and then test. # Primary Author: Dominic Murphy # Other Contributors: # Notes: #---------------------------------------- main() { if [ $host != $hind ] then echo "...
4800d47a212b2a65b79e0248cd55b2d4ae0f8435
323
# `editlast` opens the last modified file in the editor editlast() { FILE="$( /usr/bin/find "${1:-.}" -type f \ -not -regex '\./\..*' \ -not -regex '\./tmp/.*' \ -not -regex '\./log/.*' \ -exec stat -c '%Y %n' {} +\; | sort -n | tail -1 | cut -d ' ' -f 2- )" "${EDITOR:-vi}" "$FILE"...
5381a618b044fd71bf0dfc8efc41229f54ab8e19
416
#!/bin/bash D=$(dirname $(dirname $(dirname `readlink -f ${BASH_SOURCE[0]}`))) if [[ ! -x "$D/source/src/bitcoin-cli" ]]; then echo "'$D/source/src/bitcoin-cli' is missing!" exit -1 fi if [[ ! -d "$D/data/$n" ]]; then echo "'$D/data/$n' is missing!" exit -2 fi exec $D/source/src/bitcoin-cli -maxtipage=8...
5469628356cca021ff578637da1a2bdc3a520967
1,842
#!/bin/bash if [ $# -ne 7 ] then echo "Invalid argumets" echo "Count: "$# exit 1 fi echo "Params were" echo address =$1 echo method =$2 echo netmask =$3 echo network =$4 echo broadcast=$5 echo gateway =$6 echo nameservers =$7 ADDRESS=$1 METHOD=$2 NETMASK=$3 NETWORK=$4 BROADCAST=$5 GATEWAY=$6 ...
d40ee8c295e38476fe5cd1bb355445c60d8f3fb5
2,041
#!/usr/bin/env bash # Watches everything that is being appended to the # end of the file. If provided with pattern, will filter # lines to only the ones matching pattern. Pattern must be # in POSIX extended regex format. # Example usage: # # wtch /var/log/apache2/error.log 'error|critical' # # Above command will outpu...
922afefe781fb3052e3ed74f7fdff435162d5a44
1,332
#!/bin/bash set -e echo "inside jenkins slave" if [ $# -eq 1 ]; then # if `docker run` only has one arguments, we assume user is running alternate command like `bash` to inspect the image exec "$@" else if [ -n "${GCLOUD_ACCOUNT}" ]; then echo ${GCLOUD_ACCOUNT} >> /usr/local/auth.base64 base64 -d /usr/...
79e9f92d4aca501a752eae4f8afa98b9d8e89b00
190
heroku config:set APP_SETTINGS=config.Development heroku config:set FLASK_ENV=production heroku config:set SECRET_KEY=uptsurabayaterbaik2020 heroku run sh migrate.sh heroku run sh migrate.sh
693b6a4dea4f923566829306c5440df455ad1694
1,705
#!/bin/bash # Basic Zenlog bash helper functions. # Install it with: # . <(zenlog sh-helper) cat <<'EOF' # Same as "zenlog in_zenlog", except this one is faster. function zenlog_in_zenlog() { [[ $(tty 2>/dev/null) == $ZENLOG_TTY ]] } function in_zenlog() { zenlog_in_zenlog } # Run a command without logging th...
0a0c3749b577203b1844ef47aeb452393295d5f7
552
#!/bin/sh # |gco|: compile |@program@.c| [...] , 'outputting' to basename of first arg. # written by Hugh McGuire if [ $# -lt 1 ] then echo Usage:\ `basename $0` '@program@.c' '[...]' >&2 exit 1 fi DIRNAME=`dirname "$1"` BASENAME_C=`basename "$1" .c` BASENAME=`basename "$1"` if [ "${BASENAME_C}.c" != "${B...
e57ad89c14bbcd176441df038f1576200657e4c2
1,477
#!/bin/bash # (C) Copyright 2017 o2r-project # # 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 required by applicable law...
aef5129d47cfe5097d29bf7accee862b8e7ade6d
566
# Maintainer: Hatem Masmoudi <hatem.masmoudi@gmail.com> pkgname=strace pkgver=4.20 pkgrel=2 pkgdesc='A diagnostic, debugging and instructional userspace tracer' arch=(x86_64) url='http://sourceforge.net/projects/strace' license=(BSD) depends=(perl) source=(http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}...
91efdcf351c27224fef0ed99274610031e8e3a1d
533
#!/bin/sh current_branch="$(git branch | grep -e "^*" | sed -e 's/^* //')" if [ ! -f "${GIT_DIR}/../desert.gitignore" ]; then echo "ERROR: desert.gitignore not found!" exit 1 fi DIR_LIST_FROM_FILE=$(cat ${GIT_DIR}/../desert.gitignore) if [ "${current_branch}" = "public_release" ]; then for dir in ${DIR_LIST...
89584f9a36c729ffc5ea36a43bd5f27c8dd0ec83
757
#!/bin/sh # copy file to destination, if file exists in folder, rename it to <file name>.bak # usage: fileoverride.sh filenamewithpath destfile md5sum tag='fileoverride' if [ "$2" = "" ]; then logger -t "$tag" "destination not exists!!!" exit 1; fi if [ "$3" = "" ]; then logger -t "$tag" "md5sum not exists!!!" e...
9fd71c260d4a4cc266dc82282a7f6c043b119d06
260
cat << EOT >> regtest.xml <testsuite name="Regression tests" tests="1" failures="0" errors="0" skipped="0" timestamp="Mon, 15 Feb 2021 01:03:46 GMT" time="0.011"> <testcase classname="AppReg" name="Test regression" time="0"/> </testsuite> EOT cat regtest.xml
e237f56d81e8f42a3ce8ff12caa6b4aafe5605b6
677
#!/usr/bin/env bash set -Eeuo pipefail printf "Installing clojerl %s\n" "$ASDF_INSTALL_VERSION" if [[ "$ASDF_DOWNLOAD_PATH" == "" ]] ; then tmpdir="$(mktemp -d -t 'asdf_XXXXXXXXXX')" export ASDF_DOWNLOAD_PATH="$tmpdir" trap 'rm -rf "$ASDF_DOWNLOAD_PATH"' EXIT "$(dirname "$0")/download" fi cp -R "${A...
3cdb93a7ced9cffbc33be6104b1425398ddd6056
2,081
#!/bin/bash ENVIRONMENT=$1 BUILD_TYPE=$2 BUILD_ID=$3 LOCATION=$4 #echo "NOTICE --- NIGHTLY DEPLOYMENTS ARE CURRENTLY OFFLINE" #echo "-------- Aaron Daniel <aarond@choochee.com> --------" #exit 100 echo "--------------- $BUILD_TYPE Deployment ---------------" echo "Deploying Site ID $BUILD_TYPE$BUILD_ID into environm...
1eddf3daeaf37dd08cb097d7a52237c5820ebcd6
1,360
#!/bin/bash AGENT="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36" url="$1" html=$(cat data.html) series_title=${html#*series_title\":\"}; series_title=${series_title%%\"*} x=${html#*epList} x2=${x#*\"aid\":} while [ "$x" != "$x2" ]; do av...
b4c1587d5fc8aa892df988cbd5179bf3ddf5d149
253
#!/bin/bash remote_url=$( git remote -v | head -n 1 | cut -d ' ' -f 1 | sed -e 's/origin//g' | sed -e 's/\t//g' | sed -e 's/ssh:\/\/git@/http:\/\//g' | sed -e 's/\:2200/\:8080/g' ) echo "$remote_url"
92345511977b272802a5a57529cfdb60b627c009
1,088
# Contributor: Nicolas Quiénot <niQo @ aur> pkgname=play2wifi _origpkgname=Play2wifi pkgver=20101214 pkgrel=1 pkgdesc="Enables streaming of videos from iThing to XBMC. (Airplay)" license=('GPL') arch=('any') url="http://code.google.com/p/play2wifi/" depends=('python2' 'avahi' 'twisted' 'xbmc-eventclient-xbmc-send') ma...
ce291c2f1a97e16d743cb5651da4f9377ed0594b
328
######################################################################### # File Name: env.sh # Author: wayne # mail: @163.com # Created Time: 2016年05月08日 星期日 09时27分23秒 ######################################################################### #!/bin/bash cd laas_back source env.sh python manage.py runserver
e8fc6cab9b22856e1400a6bf488624c920bfcda6
85
trap handler SIGUSR1 SIGUSR2 handler() { echo hi $* } while : do sleep 1 done
7c32ae550351f87824f9b9ea1dab54f023188ed2
6,095
#!/bin/bash #***************************************************************************************** # *用例名称:NIC_BASIC_Identification_001 # *用例功能:网卡识别测试 # *作者:cwx620666 ...
c1d828b60af9c886f0cea19778433658430c8307
49
cat $1 | python run_plugin.py willyoupickup -mute
c48458a6d18dd446037f50444c47e0398ddbce4c
91
echo "It's $(date)." echo "Supplied arguments: $@" echo "everything is just fine." exit 0
be0a21eb301662b7f5527c5c9517ff80c8576a76
1,651
source ~/.bashrc export EC2_HOME=~/.ec2 PATH=${PATH}:EC2_HOME/bin export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home/ MKL_NUM_THREADS=1 export MKL_NUM_THREADS ## # Your previous /Users/khuff/.bash_profile file was backed up as /Users/khuff/.bash_profile.macports-saved_2010-12-24_at_20:11:48 ## # Mac...
6abc28fb0364b81cf909689852910be71e93ee5a
51
#!/bin/bash bluetoothctl << EOF remove $1 exit EOF
35c945fed12865fbd2dfebc60af687a2e5a855eb
895
#!/bin/bash # The environment variables found in the .env file are exported export $(grep -v '^#' ilumno.env | xargs) # Print the message to console echo >&2 "========================================================================" echo >&2 echo >&2 " Start creating the image ${DOCKER_IMAGE}" echo >&2 echo >&2 "=====...
2ca872bea3779cb770549f2c9f4c5e936a546f7e
1,042
# # Defines Docker aliases. # # Author: # François Vantomme <akarzim@gmail.com> # # Return if requirements are not found. if (( ! $+commands[docker] )); then return 1 fi # # Functions # # Set Docker Machine environment function dkme { if (( ! $+commands[docker-machine] )); then return 1 fi ...
c4f06827715532b0777cbd88036446857e16d8ab
103
add_lunch_combo t962x2_t309-eng add_lunch_combo t962x2_t309-user add_lunch_combo t962x2_t309-userdebug
fe0bf47af2008395b7cdb6052d486715725e14a7
178
Executing commands with `sudo` without password Making a file unalterable with `chattr` Understanding `umask` Run previous command as root Running a command as another local user
2ec9345eeb7b273f3ac2574f3f137377deffdab9
179
#!/bin/bash ip=`cat laptop.ovpn | grep remote | cut -d" " -f2` ip route add $ip via `ip route| grep default | cut -d" " -f3-5` ip route add 0.0.0.0/1 via 255.255.255.10 dev tun0
e7e8a60c5404b5c49d2e8dcd36c149544e0f138f
3,645
module load python/3.5.1 module load hisat/2.1.0 module load samtools/1.6 hisat2 -p 32 --dta -q --phred33 -x /gpfs01/scratch/1dzx0010/7350/GCF_000002035.6_GRCz11_genomic_tran -1 /gpfs01/scratch/1dzx0010/7350/60_dpf_MTB_rep1_forward_paired.fq.gz -2 /gpfs01/scratch/1dzx0010/7350/60_dpf_MTB_rep1_reverse_paired.fq.gz -S /g...
33d0dd1607154606379a3f012268bbed3fb2c4e2
1,467
#!/usr/bin/env bash # Example: # ./run_dice_calc.sh "/prad_old_model/heatmap_txt" "/prad_new_model/heatmap_txt" "/prad_old_model/heatmap_txt_3classes_separate_class" "/prad_new_model/heatmap_txt_3classes_separate_class" if [ $# -eq 0 ]; then echo 'Usage: ./'$(basename "$0") '/path/to/old_heatmap_txt /path/to/new_h...
586006949407c7683a644ce1f72af653bbe35bc9
355
#!/bin/sh xterm -e " roslaunch turtlebot_gazebo turtlebot_world.launch " & sleep 5 #xterm -hold -e " roslaunch turtlebot_gazebo gmapping_demo.launch" & xterm -e " roslaunch service_bot amcl.launch" & sleep 5 xterm -e " roslaunch turtlebot_rviz_launchers view_navigation.launch" & sleep 5 xterm -e " rosrun turt...
f612db4cf75a2de6cf620647f090614c10749044
44
#!/bin/sh docker build -t biz/yoctoslave .
c4c8029816056853be7efc7c21c155de4e0c4f09
43
#!/bin/bash echo "systemd-tmpfiles mocked"
f02b01f72677cc530c1bb1a2c6842629702dbf05
259
echo "insert vlc driver" insmod vlc.ko frq=50 pool_size=5 mtu=1300 mac_or_app=1 self_id=9 dst_id=8 echo "set ip" ifconfig vlc0 192.168.0.2 echo "set transmitter: 1 is high-power LED" echo 1 > /proc/vlc/tx echo "set receiver: 1 is PD" echo 1 > /proc/vlc/rx
ac50b9856cd3aa71c5714507ba4ce24eef701182
59
#config app variables PORT= VERIFY_TOKEN= MY_VERIFY_TOKEN=
6fd57b71cabc246ad80c2e8e6fbfc771fcbb23ee
881
rm dcache_unit cp ../../dryad/trunk/src/dstring.h . cp ../../dryad/trunk/src/dstring.cpp . cp ../../dryad/trunk/src/drarray.h . cp ../../dryad/trunk/src/drarray.cpp . cp ../../dryad/trunk/src/syslog.h . cp ../../dryad/trunk/src/functions.h . cp ../../dryad/trunk/src/functions.cpp . cp ../../dryad/trunk/src/cache.h . cp...
9a35276ce0bb16909180d457f28173db29b5f3e9
146
#!/bin/bash if mountpoint -q /media/pi/FREECOM; then sudo mv /var/www/media/*.mp4 /mnt/NAS/ sudo mv /var/www/media/*.jpg /mnt/NAS/ fi
9a569871f4479c44a4cfd9796019a888a08679c7
231
#!/bin/bash set -eux rsync --archive --verbose --human-readable --itemize-changes --progress \ --prune-empty-dirs --delete -e ssh \ /Users/gil/Music/Music/Media.localized/ \ gil@10.0.0.7:/mnt/datavol/gil/backup/Backup_Music
352f46c4a63138a9c95587f079c5b21e617de101
330
#!/bin/bash export SONIC_BASE_HOME=$1 if [ ${1:0:1} != "/" ] then export SONIC_BASE_HOME=$HOME/$SONIC_BASE_HOME fi mkdir -p $SONIC_BASE_HOME/tmp export mac=`which sw_vers` echo $mac if [ "$mac" == '' ]; then cat /etc/*-release > $SONIC_BASE_HOME/tmp/distribution else sw_vers > $SONIC_BASE_HOME/tmp/distrib...
600f28b947d65ab59bdb72389d099d7e72814921
110
#!/bin/bash for i in $(cat cv_inds_test.txt); do echo $i qsub run_AI_per_ind_test.sh $i done
2b1d6c23214ff79fc725f713e380899d7b72f8e7
492
#!/bin/bash echo $'\n' echo "Step 1 of 4: GitHub Add Files" git add --all echo $'\n' echo "Step 2 of 4: GitHub Commit" echo "Commit Message: " read input_var git commit -m "Update GitHub $input_var" echo $'\n' echo "Step 3 of 4: GitHub Push" read -s -p "Enter GitHub Password: " mypassword git push https://justjoe2...
90f65f05f08f13b86c8fe081637285b80d7a3589
425
#!/bin/bash StartTime=$(date +%s) source ttbar.sh 2>&1 | tee ttbar.log #source WG.sh 2>&1 | tee WG.log #source WW.sh 2>&1 | tee WW.log #source WWW.sh 2>&1 | tee WWW.log #source WWZ.sh 2>&1 | tee WWZ.log #source WZ.sh 2>&1 | tee WZ.log #source WZZ.sh 2>&1 | tee WZZ.log #source ZG.sh 2>&1 | tee ZG.log #source ZZ.sh 2>&...
d2cd99550d665ec9dc1210d153e19fa9d268aa2d
26
#!/bin/bash set -eu p4 -V
37475aba1d4cffc06ea8ac918c99d61813e071bb
948
#!/usr/bin/env bash # Cache commands - cache # Use before another command, and it will cache that command's # output. Default cache lifetime is value of env var CACHE_MINS # or 5; can be overridden with the -m (or --mins) option # e.g. cache -m 10 <some command...> # Stores cache files in /tmp, prefixed with cache. ...
fe543cd2f6eef937815435e52d63c05041ed5821
173
#!/bin/bash ${STEAMCMDPATH}/steamcmd.sh \ +login $STEAMUSER $STEAMPASSWORD $STEAMGUARD \ +force_install_dir ${STARBOUNDPATH} \ +app_update 211820 validate +quit
df55b8ca0ff43e9ea3473a8303fce84e2d9647ed
22
alias ws='webstorm .'
b022ada554deeb3adb981a526f697b0309fd16ff
260
mkdir -p "$DATA_DIRECTORY" chmod 700 "$DATA_DIRECTORY" chown -R local-npm "$DATA_DIRECTORY" su - "local-npm" -c "cd /local-npm; npm start -- --remote $REMOTE_REGISTRY \ --remote-skim $REMOTE_REGISTRY_SKIMDB --directory $DATA_DIRECTORY \ --url $BASE_URL"
e62cc4312e32a43bb4c55fc0fd153e4b76a0506a
1,158
coolpup.py data/ETP_TALL1.cool data/CTCF.noTCF1.mid.bed --outname ETP_TALL1.CTCF.noTCF1.mid.txt --pad 250 --local coolpup.py data/HPAP027.cool data/CTCF.noTCF1.mid.bed --outname HPAP027.CTCF.noTCF1.mid.txt --pad 250 --local coolpup.py data/TALL1.cool data/CTCF.noTCF1.mid.bed --outname TALL1.CTCF.noTCF1.mid.txt --pad 25...
d9e94225c9a9aa502a1dabf78568a9c1197c41ef
4,016
# # zshrc # # In order to work, be sure to make a hard link from this file to ~/.zshrc. # This link allows for the .zsh directory to be used as a git repository, for # easy changes and updates. Alternatively, if you don't care to use git, you # could just make this file your ~/.zshrc. # # See git log for changes. # ...
d99f17ef1b969693fb43cfe0964903c98328de27
1,707
cd ele1; source erun.sh; cd -; cd ele2; source erun.sh; cd -; cd ele3; source erun.sh; cd -; cd ele4; source erun.sh; cd -; cd ele5; source erun.sh; cd -; cd ele6; source erun.sh; cd -; cd ele7; source erun.sh; cd -; cd ele8; source erun.sh; cd -; cd ele9; source erun.sh; cd -; cd ele10; source erun.sh; cd -; ...
819727a3b5fc5439bd5375f891141f340f9e9ba7
247
#!/bin/sh cd /tmp sudo apt install -y curl curl -Lo virtscreen.deb "https://github.com/kbumsik/VirtScreen/releases/download/0.3.1/virtscreen.deb" sudo apt-get update sudo apt-get install -y x11vnc sudo dpkg -i virtscreen.deb rm virtscreen.deb