blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
9fbcbab1c74536acd9fd6b650a124d003507f315
1,754
#!/bin/bash COMPOSE_VER="1.21.0" MACHINE_VER="v0.14.0" KUBECTL_VER="v1.10.2" MINIKUBE_VER="v0.26.1" MINISHIFT_VER="1.16.1" mkdir -p "$HOME"/bin/bash_completion.d # docker-compose curl -L https://github.com/docker/compose/releases/download/$COMPOSE_VER/docker-compose-"$(uname -s)"-"$(uname -m)" -o "$HOME"/bin/docker-...
99f0a0cbba163e70dade5e6644f876c079b736d7
872
# 198x329 # 198x598 # 240x428 # 367x429 # 488x235 # 1: 12 / 01 / 24 / 05 : 07 : (4 / 12) # 2: 14 / 05 / 28 / 10 : 11 : (5 / 14) # 3: 01 / 10 / 26 / 15 : 15 : (5 / 25) # 4: 11 / 15 / 29 / 24 : 17 : (9 / 18) # 5: 01 / 15 / 11 / 27 : 21 : (12 / 26) # 6: 11 / 24 / 20 / 30 : 06 : (6 / 19) # This is for generating cropping...
dd57b7e30daba9b72b0ca2bdb58d6768085065e8
23,833
#!/bin/bash #SBATCH --ntasks=1 #SBATCH --job-name=DF_pooled-varscan_bedfile_0373 #SBATCH --time='7-00:00:00' #SBATCH --mem=1000M #SBATCH --output=DF_pooled-varscan_bedfile_0373_%j.out # run VarScan (v.2.4.2) module load java module load samtools/1.9 samtools view -b -L /scratch/lindb/DF_2018_12_edit/bedfiles_DF_ref_ed...
bf5aab84c7db018d72ebcc5d0b953b2fbcfdac0c
953
#!/bin/bash F_part1='weka.filters.unsupervised.instance.Resample -S 1 -Z ' F_part2=' -no-replacement' #-T "/home/ubuntu/Desktop/Datasets/wine/wine_test.csv" NUMBERS="0.01 0.0292 0.29 1.46 2.92 5.83 14.58 29.16 100" for i in `echo $NUMBERS` do java weka.classifiers.meta.FilteredClassifier -t "/home/ubuntu/Desktop/Dat...
daf03ec529918e193b80143c72126a2257487b2c
376
#!/usr/bin/env bash MOUNTPOINT="/mnt" run_quiet() { $@ > /dev/null 2>&1 } check_internet_connection() { if run_quiet "ping -q -c 1 -W 1 8.8.8.8" ; then return 0 else return 1 fi } install_with_pacman() { pacman -Sy --noconfirm $1 } install_with_yaourt() { yaourt -Sy --noconfirm ...
47a33ef2bb4257848f0b1e4ba9b23f04c08ab782
162
#!/bin/bash export SCHED_SERVER_PORT=8073 export NEWS_SERVER_PORT=8074 export SCRAPE_SERVER_PORT=8075 export QUOTE_SERVER_PORT=8076 export USER_SERVER_PORT=8077
df4fb753e4d4d43ee02525d88d3d351f577c22b5
9,404
#! /bin/sh # # Planimeter.cgi # cgi script for measuring the area of geodesic polygons # # Copyright (c) Charles Karney (2011-2023) <charles@karney.com> and # licensed under the MIT/X11 License. For more information, see # https://geographiclib.sourceforge.io/ . ./utils.sh DEFAULTRADIUS=6378137 DEFAULTFLATTENING=1/29...
e37777ad51b514cfba12d7c2126871706bca9f07
7,438
#!/bin/bash WSO2USER=wso2user WSO2PASS=wso2pass DROPDBIFEXISTS=n while getopts h:u:p:v:w:l:r:d: option do case "${option}" in h) DBHOST=${OPTARG};; u) DBUSER=${OPTARG};; p) DBPASS=${OPTARG};; v) WSO2USER=${OPTARG};; w) WSO2PASS=${OPTARG};; l) LOCATION=${OPTARG};; ...
fa89a245d481b358d11f62aeba49a22f546acb9b
2,062
#!/bin/bash # This is the setup script for the workstation container. Use it to set the stage for your terraform training, demo, or lab. set -e mkdir -p /root/policies consul_lb=$(terraform output -state /root/terraform/hcs/terraform.tfstate consul_url) echo "export CONSUL_HTTP_ADDR=${consul_lb}" >> ~/.bashrc endpo...
ef9716b1681fb9e311ee1c056eceac58ed4d5b30
2,498
#!/bin/bash #SBATCH --time=00:04:58 --partition=short my_email=$3 chosen_partition=$4 cluster_folder=$5 account=$6 projects_folder_name=$7 package_name=$8 function_name=$9 cd /$cluster_folder/$account/jap_scripts/ args_file=$1 fun_file=$2 args_string=${args_file%.*} echo ${args_file} echo ${args_string} echo ${fun_fi...
c41e2f6ecbdf60eff9aafcac5b575baf36239676
60
SERVER_PROTOCEL=http SERVER_HOST=127.0.0.1 SERVER_PORT=3000
3551b0490615ae4b7f50f6c45a56e5911300c2f5
439
curl -s -o tempfile --user rdprabhu13:13thwarrior --data-urlencode url="slashdot.org" https://api.del.icio.us/v1/posts/add if ! grep done tempfile;then exit 1;fi curl -s -o tempfile --user rdprabhu13:13thwarrior --data-urlencode url="http://www.haskell.org/all_about_monads/html/" --data-urlencode description="monads ...
5227f2c5cc0499e8ef7d8e0dedbf162b7907410a
848
grub2-modules-for-device() { ( ARG="$1"; [ ! -b "$ARG" ] && ARG=$(device-of-file "$ARG"); [ ! -b "$ARG" ] && exit 2; FS=$(filesystem-for-device "$ARG"); SUFFIX=${1##*/}; SUFFIX=${SUFFIX#[hs]d[a-z]}; DISK=${1%"$SUFFIX"}; [ "$DISK" ] && PART_TYPE=$(partition-table-type "$DISK"); case "...
fc8bdb8695a4229938d370daec6e80248f9d121d
171
GINKGO_PARALLEL=y GINKGO_TEST_ARGS=--ginkgo.focus=Kubectl --ginkgo.skip=\[Serial\] PROJECT=k8s-gce-cvm-1-6-mstr-ctl-skew KUBE_NODE_OS_DISTRIBUTION=debian SKEW_KUBECTL=y
de550e5cf9a41797c375e9b44d34e4ce7d734fcd
365
#!/bin/bash # This file simply runs garmin_save_runs, which imports # workouts from a Garmin device to ~/exports, in .gmn # format, and then runs convert.gmn.sh to produce # .tcx for all imported workouts. OLDDIR=`pwd` cd ~/exports garmin_save_runs ./convert.gmn.sh # ./convert.gmn.sh /tcx_dir # Copy all .tcx files ...
e95a8d8d1e7e1d34e2b4c5844644fb4e9267583e
858
#!/bin/bash # timestamp: 1645785615319 npm dist-tag add @midwayjs/serverless-worker-starter@3.0.11 latest npm dist-tag add @midwayjs/serverless-worker-starter@3.0.12 beta npm dist-tag add @midwayjs/decorator@2.14.0 latest npm dist-tag add @midwayjs/decorator@3.0.10 beta npm dist-tag add @midwayjs/version@3.0.11 latest...
9270dbdb154d902d58ac2ae67e5406774a2930ef
325
#!/bin/bash if isMac; then return fi brew tap caskroom/versions brew tap caskroom/cask brew tap caskroom/fonts apps=( firefox flux font-fira-code google-chrome google-chrome-canary macdown opera screenflow sourcetree transmit virtualbox visual-studio-code vlc ) brew cask install "${apps[...
5904ac2d194c54a0e3eeb31762c099a1409652f2
1,531
#!/bin/bash # # Script to create a self contained AppImage # Requires wget and chrpath # Export QTDIR before running this, like: # export QTDIR=/home/user/Qt5.9.4/5.9.4/gcc_64 TARGET_DIR=~/qlcplus.AppDir # Build if [ -n "$QTDIR" ]; then $QTDIR/bin/qmake CONFIG+=appimage CONFIG+=qmlui else qmake CONFIG+=appi...
1b7db325bc9032eae6a23d02672fea329209b8e3
694
#!/bin/bash -e function proxy_command { cmd="$@" mkdir -p ./cli_cache/master podman run --name client \ --rm --privileged --restart=no \ --network dap_net \ --volume .:/src/cli:Z \ --volume ./cli_cache/master:/root:Z \ -e CONJUR_APPLIANCE_URL=https://conjur-master.mycompany.local \ -e CONJUR_ACCOUN...
8bbf298fd6e618ee9aee67594421cf3f2a1ad1c8
4,614
#!/bin/bash base_dir="`dirname "$0"`" sdkroot=${SDKROOT:=$(pushd "$base_dir/../../.." >/dev/null; pwd; popd >/dev/null)} CONFIG_FILE="$base_dir/program_qspi.ini" CONFIG_SCRIPT="$base_dir/program_qspi_config.sh" CLI_PROGRAMMER="$sdkroot/binaries/cli_programmer" IMAGE=$1 BAUD=57600 TX_PORT= TX_PIN= RX_PORT= RX_PIN= fin...
bede694202dd0845b9355a4cc30f5172355213c8
97
#!/bin/sh sed -i -e 's# .clef "bass"##g' -e 's# .clef "tenor"##g' -e 's# .clef "treble"##g' *ily
59e89e900c48a6756a4631af183c020e0ee2861a
797
#!/bin/bash set -e chunkSizes=( 500 1000 2000 ) highWaterMarks=( 500 1000 2000 ) timeoutBetweenChunks=( 0 10 20 30 ) valueSizes=( 10 100 1000 ) maxConcurrentBatcheValues=( 1 2 3 4 ) for chunkSize in "${chunkSizes[@]}" do for hwm in "${highWaterMarks[@]}" do if [ $chunkSize -le $hwm ] then for t...
f917e41ad6bd2ce4517f10dd68546538cfa6689c
388
#!/bin/bash FIGS="jetsexclusive m_jj pT_j1 pT_j2 y_j2 Deltay_jj z_j3" for ORD in LOPS NLOPS; do for F in $FIGS; do echo $ORD $F cp rivet-$ORD/MC_VBSCAN_MCComparison/$F.pdf ../Draft/figures/$ORD/ done done cp rivet-NLOPS2/MC_VBSCAN_MCComparison/jetsexclusive.pdf ../Draft/figures/NLOPS/ cp ri...
745ee328d3813e377a9f48e4dc553827f2b0b665
81
rsync -av /home/fernando/Biblioteca\ do\ Calibre/ /media/fmaison320/LivrosLinux/
7369e960a30946f99d065d0c74946452179e5186
483
#!/bin/ksh set a b c echo "Number of argument are $#" echo "The command line arguments passed are $*" echo "The first argument is $1" echo "The second argument is $2" set one two echo "Number of argument are $#" echo "The command line arguments passed are $*" echo "The first argument is $1" echo "The second argument i...
f165203ad4c882cfe5a861a93a812c5e7a012f67
59
cd src && zip -rq ../release * -x "*.DS_Store" "*__MACOSX*"
5ed2cd6dba4562cc1151a20291cd46ea3982c7d6
414
export QL_FAKEROOT=1 if [[ ! -d "${QL_SDKPATH}/../ql-ol-rootfs" && -f "${QL_SDKPATH}/../ql-ol-rootfs.tar.gz" ]]; then printf "Extracting the rootfs..." mkdir -p ${QL_SDKPATH}/../ql-ol-rootfs ql_fakeroot tar -xzf ${QL_SDKPATH}/../ql-ol-rootfs.tar.gz -C ${QL_SDKPATH}/../ql-ol-rootfs echo "Done." fi ...
b25de8558c242ba590c21e2f5e74902ec5690d2d
699
#!/bin/bash tes=0 moy=0 occurence=0 while [ $tes -eq 0 ];do read -p "saisir une note:\n" note if [ $note == "q" ] then let "$tes = 1" elif [ $note -lt 0 ] then let "$tes = 1" else if [ $note -ge 0 ]; then let "moy=$moy+$note" let "occurence=$occurence+1" fi if [ $note -le 20 ] && [ $note -ge 16 ]; then echo 't...
71392e5ec767e54f6998ecaa959bbbb1435cf108
893
#!/bin/bash set -ex export CROSS_COMPILE=arm-linux-gnueabihf- export ARCH=arm #export KERNEL_RELEASE=4.4.113-SF_PLT_REL_0.1-g5f4270c #make artik530_raptor_defconfig #How to avoid dirty # step 1 modify scripts/setlocalversion and comment echo + # run uname -r on target and get the kernel version # Edit .config #CON...
fab9f55c47c3973efc5341a8971b5a6887e7bc67
598
cd ../models/resnet50 mkdir fp32 int8 mv resnet_v1_50.* fp32 wget -c "https://sourceforge.net/projects/analytics-zoo/files/analytics-zoo-models/openvino/2018_R5/resnet_v1_50_i8.bin/download" -O int8/resnet_v1_50_i8.bin && \ wget -c "https://sourceforge.net/projects/analytics-zoo/files/analytics-zoo-models/openvino/2018...
770a1917ebd030d2318189b66680f6b29a23f15f
544
#!/usr/bin/env bash # # Installs dependencies # sudo apt-get install ruby1.9.3 git coffeescript # Try to source nvm source ~/.nvm/nvm.sh &> /dev/null # Check if nvm exists nvm &> /dev/null # If not, download it if [ `echo $?` -ne "0" ] then echo "Downloading nvm..." git clone https://github.com/creationix/nvm.git...
121b6f62ed33b54409b13c585884d4acd2d6b473
2,070
#!/usr/bin/env bash @test "empty strands" { run bash hamming.sh "" "" [ "$status" -eq 0 ] [ "$output" -eq 0 ] } @test "identical strands" { run bash hamming.sh "A" "A" [ "$status" -eq 0 ] [ "$output" -eq 0 ] } @test "long identical strands" { run bash hamming.sh "GGACTGA" "GGACTGA" [ "$status" -eq 0 ...
b5039659195aa07f3f31d55dc9bd7c22d2efab7c
987
#!/bin/bash socket="${XDG_RUNTIME_DIR:-/run/user/$UID}/yubikey-touch-detector.socket" while true; do touch_reasons=() if [ ! -e "$socket" ]; then printf '{"text": "Waiting for YubiKey socket"}\n' while [ ! -e "$socket" ]; do sleep 1; done fi printf '{"text": ""}\n' nc -U "$socket...
9cbebb9dfc0d408555387ad9c6b293b12be95e91
548
#!/bin/sh CONFIG_XML=/etc/config/config.xml CRYPT=/sbin/crypt # #usage # usage() { echo "set_usr_passwd [usrname] [passwd]" exit 1 } if [ ! $# -eq 2 ];then usage fi usrname=$1 passwd=$2 local pass_encoded=`$CRYPT "$passwd"` /usr/sbin/write_to_xml $usrname $passwd & local awk_program="BEGIN{FS=\":\"; O...
5a01b8c9fb2d70b3b9f478b5b4ec15b13e49e145
271
#!/bin/sh ARGS="$@" [[ -z "$@" ]] && ARGS='test/*test.coffee' [[ -d lib-tmp ]] || mkdir lib-tmp coffee -o lib-tmp/ -c src/ && cp src/fluid.js lib-tmp/ rm -fr lib && node-jscoverage lib-tmp/ lib/ && vows --debug-brk --cover-html $ARGS && rm -fr lib && mv lib-tmp/ lib/
9becd0d2a083658cd3eee78c688a0eaab4213966
839
#! /bin/bash echo "Stop and remove old setup" docker stop ts1 ts2 docker rm ts1 ts2 docker volume rm ts-vol1 ts-vol2 docker network rm ts-net echo "Build ts" docker build --rm -t cents . echo "Create network & volumes" docker volume create ts-vol1 docker volume create ts-vol2 docker network create ts-net echo "Start...
3f7be5c0877f20ff5d65540ae019a202d38c64ea
128
#!/bin/sh PATH=$PATH:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin export PATH LANG=C export LANG netstat -rn
a3c2ce95bc24196dbf73643094c93cc90c99c973
2,539
#!/bin/bash #rm /home/ubuntu/notebook/results/candidates_test_two_parent.* #rm /home/ubuntu/notebook/results/candidates_test_single_parent.* # test against NA12878 python kmer_analysis.py --ref "/reference/human_g1k_v37" --proband "/biographs/juvpsych/0847-01_sorted_new" --variant_file "/home/ubuntu/notebook/tests/te...
b0e47f3214607fd51afe668e1351f1457dd93acf
652
#!/bin/bash DIR=$(pwd) VIM_DIR=" $HOME/.config/nvim/" mkdir $VIM_DIR # Install vim-plug curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim cp --verbose --force --remove-destination $DIR/init.vim $VIM_DIR/init.vim cp --verbose --forc...
c256ad97fc8257e635717b5bb765688a861f3cf4
671
#!/usr/bin/bash # Dependencies: jq # The default settings always focus on primary display. To change that to # maintain focus on the screen/window focused after run this script just # uncomment the two comment lines below (10 and 18). DISPLAY_CONFIG=($(i3-msg -t get_outputs | jq -r '.[]|select(.active == true) |"\(.c...
bc7d52f9b916a4a139bba17cd64b7e39d72206d2
1,055
#!/bin/bash # Run this script in display 0 - the monitor export DISPLAY=:0 #not sure if VNC is messing it up or not.. #x11vnc & #hides the cursor, which happens automatically on touchscreen for the most part #unclutter & #if Chrome crashed, prevent the little nag sed -i 's/"exited_cleanly":false/"exited_cleanly":true/...
d0a8a54e8e8d0c29f02a6cfe6650f425bbd1a22b
1,827
#!/bin/sh # PROVIDE: kstart # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: shutdown # Add the following lines to /etc/rc.conf to enable kstart: # kstart_enable (bool): Set to YES to enable kstart # Default: NO # kstart_flags (str): Extra flags passed to kstart # Default: -LUFK 120 # kstart_keytab (str): Defau...
1f2690b6a827537b3494757b8c1b21c7b2c2fbf1
42
if have_xorg; then install_pkg gufw ; fi
d4f64052e7297e811b8e1e99d14f400467a1418a
1,264
#!/bin/bash # Need to find full cli alternative # sudo raspi-config -> Boot options # https://raspberrypi.stackexchange.com/questions/11958/running-npm-install-throws-permission-error # https://www.raspberrypi.org/forums/viewtopic.php?t=25777 # Prepare startup script cp ./startup.sh /etc/init.d/startup.sh && \ chmod ...
0a4d30eaad9c71080e03b27ca1e8324817f42c52
409
#!/bin/sh name='mdadm' version='4.1' sources=( "https://bitbucket.org/piotrkarbowski/better-initramfs/downloads/${name}-${version}.tar.xz" ) homepage='http://neil.brown.name/blog/mdadm' license='GPLv2' build_cmd=" cd /source/${name}-${version} && \ make MAP_DIR='/dev/.mdadm' make DESTDIR=/binit/prefix install ...
367c3b6bf836318dfbda33b1d7234f2d15e125fc
6,084
#!/bin/bash # # Copyright 2016 leenjewel # # 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 or agreed ...
68fa02c9743e4c08d799f5d17af05f08c4a5bafd
359
#!/bin/bash mvn -Pprod clean install -DskipTests #ssh -i "~/.ssh/home.pem" ec2-user@ec2-52-38-57-246.us-west-2.compute.amazonaws.com #ssh root@104.238.176.254 '/etc/init.d/securityalarm stop' scp -i "~/.ssh/key2.pem" target/*.war ec2-user@ec2-35-160-49-220.us-west-2.compute.amazonaws.com:~/app/ #ssh root@104.238.176...
b84b15eb89605e3b2fa43be75908c4e3e80b3df0
137
for file in ${HOME}/.{docker_content,dm_content,dc_content,dr_content}; do [[ -r "$file" ]] && [[ -f "$file" ]] && source "$file" done
553e501ffd2d8421c47b48599fd2ef453661817f
37
docker push eldermoraes/javaeedocker
452eb2ed7ee3d9e247acf292ce0f3956fe2c252d
478
bash ./get_results.sh > out mv out log_results cat log_results/out while read p; do PASSED=$(echo $p | awk -F'[^0-9]+' '{ print $2 }') TOTAL=$(echo $p | awk -F'[^0-9]+' '{ print $3 }') FAILED=$((passed - failed)) # failed, print to stdout if [ $PASSED -ne $TOTAL ]; then # get the benchmark n...
1b50f04d813d0214f286cff1894c64dfb564619c
1,115
#!/bin/bash echo "Generating SSL certificates ..." export RAND_DIGITS=`date |cut -c 18-20` export EMAIL_ADDR="doug@unlikelysource.com" mkdir /etc/.certs cd /etc/.certs echo $RAND_DIGITS >file.srl touch /root/.rnd openssl req -out ca.pem -new -x509 -days 3650 -subj "/C=TH/ST=Surin/O=BigLittle/CN=root/emailAddress=$EMAIL...
eb96c7c5ee0a5bbf2c5c5560fc77806d43cd8b43
1,132
#$ -S /bin/bash #$ -l h_rt=23:00:00 #$ -l mem=4G #$ -l tmpfs=10G #$ -N GROMACS #$ -pe mpi 72 #$ -P Gold #$ -A QMUL_BURROWS #$ -cwd module unload compilers/intel/2018/update3 module unload mpi/intel/2018/update3/intel module load python3 module load compilers/intel/2017/update1 module load mpi/intel/2017/update1/intel...
1151d063db5f1171746591454c660af7e304ec1e
143
cd ../../ pwd mkdir output/bullet-task cd ./LandingPage/bullet-task pwd npm install npm run build cd .. pwd cp -r bullet-task/dist/* ../output
e28a3697a1d68274724592cfb4fa6210b8bc4c1b
369
#!/bin/sh PBI_PROGNAME="gqradio" PBI_PROGWEB="http://gqmpeg.sourceforge.net/radio.html" PBI_PROGAUTHOR="stefan.jahn@nemesis-sektor.de" PBI_PROGICON="defaulticon.png" PBI_MAKEPORT="audio/gqradio" PBI_MKPORTBEFORE="" PBI_MKPORTAFTER="" PBI_MAKEOPTS="" export PBI_MAKEOPTS PBI_PROGNAME PBI_PROGWEB PBI_PROGAUTHOR PBI_MKPORT...
0409c981283bd996774b655c7a227c6ff0ddde51
77
cd ~/meerkat/meerkat_dev/compose sudo pkill -9 postgres docker-compose up -d
220214749ec08115220ca5f672207fad6b147814
955
#!bin/bash # mysql env # ## IP="10.0.0.35" PORT="3306" DB_M="MILLIONS" USER="developer" PASSWD="welcomesxn" LAST_VER_SQL="select aggreation_time from APP_VERSION_NEWS_AGGREGATION where is_current='1' order by aggreation_time desc limit 1" CONNECT="mysql -h${IP} -P${PORT} -u${USER} -p${PASSWD} -D ${DB_M}" ## # mysql s...
7ab0378a7f8fd78a4f8e299d4d73743163c5d525
850
#!/bin/bash exporterpath="/opt/ansible/exporter" mongodb_exporter="mongodb_exporter-linux-amd64" node_tar_exporter="node_exporter-0.16.0.linux-amd64.tar.gz" if [ -f ${exporterpath}/${node_tar_exporter} ];then cd ${exporterpath} tar xf ${exporterpath}/${node_tar_exporter} chmod +x ${exporterpath}/node_exporter-0...
d15d84cb81db0e66f448e21a8daa4724a38be9a0
636
#!/bin/bash # Create a short delay so changes in brightness can be registered sleep 0.2 # Get the brightness percentage: MAX_BRIGHTNESS=$(cat /sys/class/backlight/intel_backlight/max_brightness); BRIGHTNESS=$(cat /sys/class/backlight/intel_backlight/actual_brightness); PCT=$(echo $BRIGHTNESS $MAX_BRIGHTNESS | awk '{p...
32b6a7653b11dba0ea8531bb07ff3594be9edb54
80
add_lunch_combo du_flounder-userdebug add_lunch_combo aosp_flounder-userdebug
e33b9823c7945a13f77c83e1c977a542af44a738
116
#!/bin/bash find /gpfs/mira-fs0/projects/DarkUniverse_esp/kovacs/AlphaQv3LB_dust_ELG -iname "*.hdf5" | tr "\n" "\t"
b12daf9dd1cda3bac7f4ee606091368cdbff5ea1
340
#!/bin/bash set -e if (( $# < 3 )); then echo "Usage: $0 <grammar name> <expression name> <test string>" exit 1; fi script_dir=$(dirname "$0") source $script_dir/base.sh grammar_name=$1 exp_name=$2 test_string=$3 cd $output_dir # Change `-tree` to `-gui` to show AST $grun_cmd $grammar_name $exp_name -tree...
cd9df02dcec8d2e9d7a6575830fb4da56c0f7d7d
68
export KUBECONFIG=/mnt/c/lab/kubernetes/pierre-virtucon-kubectl.cfg
dd446c6d01d60ee4192f7b1892008b36ceda1f40
329
#!/bin/bash DEVKIT_DIR=OrbisChallengeDevKit-Python pip &>/dev/null if [[ "$?" != "0" ]]; then cd "$DEVKIT_DIR" sudo -H python get-pip.py cd .. fi if [[ "$(pip list | grep protobuf)" == "" ]]; then sudo -H pip install protobuf fi autopep8 &>/dev/null if [[ "$?" != "0" ]]; then sudo -H pip install --upgrade aut...
083897865d40555bd50f3a1f9fefe6ac1dfec85f
26
python3 check.py < inputs
cd988fc5e21f05587684333fb7b274a9ff247d23
209
#!/bin/bash NAME="index.js" # nodejs script's name here RUN=`pgrep -f $NAME` if [ "$RUN" == "" ]; then /opt/cpanel/ea-nodejs10/bin/node ./public_html/canada_2019/index.js else echo "Script is running" fi
dea591ce26253ac8217cd2ce998daccea0f71bed
3,244
#!/bin/bash ################################################################### ### BISMARK ALIGNMENT TO CUSTOMIZED GENOMES ################################################################### # load required modules module load bowtie2/2.3.4.1 module load samtools/1.9 # aLign to respective genomes sbatch --time=72:...
c6340902af4e5c0160944899ff6e7d72694baca8
1,120
#!/bin/bash [ -z "$BENCHER" ] && echo 'import cluster profile from bencher first!' && exit 1 [ -z "$1" ] && echo $0 '{path to dgemm}' && exit 1 P_DGEMM="$(readlink -e "$1")" #create job batch file cat <<-EOF #!/bin/bash -l #PBS -S /bin/bash #PBS -N dgemm #PBS -j oe #PBS -m n #PBS -o $OUTPUT_PATH/ #PBS -V #PBS -l sele...
da812fe25537446e9a5e623d792d57ba6ff5c7c9
3,707
#!/usr/bin/sh # for rotate_state by 지구본(the Earth-key) # (shell-command "ln -s ~/config_github/app/xrandr/rotate_screen.sh ~/.bin/rotate_screen") # symlink make and run by $ ~/.bin/rotate_screen in start command # xbindkeys -f ~/config_github/app/xbindkeys/xbindkeysrc xclip_text="$(xclip -o)" reading_text="xclip -o ...
58eee068096b5ee9a871dffdf09c005dd2febd3e
187
set -x docker pull rabbitmq:management docker run -dit --name rabbitmq_mg -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=Abcd1234 -p 15672:15672 -p 5672:5672 rabbitmq:management
c8841c775828560be07b9b39960a12af5922f901
2,468
#!/usr/bin/env bash if [[ "$OSTYPE" == "darwin"* ]]; then app_dir=$(dirname $(greadlink -f $0)) else app_dir=$(dirname $(readlink -f $0)) fi debug_mode='0' fork_maintainer='0' msg() { printf '%b\n' "$1" >&2 } success() { if [ "$ret" -eq '0' ]; then msg "\e[32m[✔]\e[0m ${1}${2}" fi } error()...
27eddb9f52a16c356f73d309990b42f7e88c41c3
604
#!/bin/bash # Sets the Grub startup delay. # Delay can be set with first parameter. # Default delay is 15 seconds. if [ "$EUID" -ne 0 ] then echo "Please run as root" exit fi if [ -z "$1" ] then echo "No argument provided. Setting default delay of 15 seconds." delay=15 else integers='^[0-9]+$' if !...
8f9f21bcbf8733ac18cf7d21bbb3888138d17a3a
243
#!/bin/bash export DEBIAN_FRONTEND=noninteractive echo "Installing dnsmasq" apt-get install -y -q dnsmasq cp /vagrant/dnsmasq/dnsmasq.conf /etc/dnsmasq.conf cp /vagrant/dnsmasq/dnsmasq.consul /etc/dnsmasq.d/10-consul service dnsmasq restart
facb1901eb15def447a45303378096254aea4324
596
#! /bin/bash rm -f output data touch output #chmod u+x create_hostfile #make clean #make for i in {1..10} do for P in 4 16 do for ppn in 1 8 do let ng=$P/6+1 python group_nodes.py 6 $ng $ppn for d in 16 256 2048 do echo "i "$i " P "$P" ppn "$ppn" d "$d mpirun -np $P*$...
1ad670228ccbba6457163229adc281c1fc2b03f5
215
if ! ps aux|grep main.MultipleTaskRunner|grep -vq grep ; then echo 'starting...' cd ../.. nohup java -cp .:./lib/* main.MultipleTaskRunner 2>././log/log.txt & echo 'started!' else echo 'TaskRunner is runnings'; fi
1bc614b32e45acfe3b5d6e5fc52f3c8c89fce591
1,264
#!/usr/bin/env bash set -eEu -o pipefail # shellcheck disable=SC1091 source ./bash_cli.bash function mycommand () { local doc bcli_doc " This is a subcommand OPTIONS: --help print this message --custom <value> set a custom value to use ARGS: field Some custom field " ...
9731f58799d992a7f4470827b8f21a6761f6eff4
201
#!/bin/bash echo "Installing Fonts" sudo pacman -S --noconfirm --needed ttf-dejavu noto-fonts noto-fonts-extra noto-fonts-emoji noto-fonts-cjk packer -S --noconfirm --noedit -S ttf-material-icons echo
c5f0a51e5d9920e0e61e82b51402708686347b7f
654
if test "${JAVA_HOME}" = ""; then export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ fi export JMODELICA_HOME=/home/marinodl/libraries/jmodelica2 export IPOPT_HOME=/home/marinodl/libraries/ipopt/Ipopt-3.12.8/build/ export SUNDIALS_HOME=/home/marinodl/libraries/jmodelica2/ThirdParty/Sundials export PYTHONPATH=:/ho...
21e0eb219ec40ac37d6a04a05fc58411f1e99283
2,214
# Saner Defaults alias cp='cp -iv' # Preferred 'cp' implementation alias mv='mv -iv' # Preferred 'mv' implementation alias mkdir='mkdir -pv' # Preferred 'mkdir' implementation alias grep='grep --color=always' # Always color grep alias cd..='cd ../' # Go...
4c9d51a3a518834dda992ae19242810708b25d41
1,879
#!/bin/sh # Author: Jamie Strandboge <jamie@ubuntu.com> # Copyright (C) 2013 Canonical Ltd. # # This script is distributed under the terms and conditions of the GNU General # Public License, Version 2 or later. See http://www.gnu.org/copyleft/gpl.html # for details. set -e showfull="no" release= showstatus="no" acti...
d9cfe2d919565cfebe95ef149516eb2eaf1934db
833
#!/bin/bash # set -e : Exit the script if any statement returns a non-true return value. # set -u : Exit the script when using uninitialised variable. set -eu # Log folder log_dir="/var/log/nginx" log_access="access.log" log_error="error.log" # Create log folder if necessary if [[ ! -d "${log_dir}" ]]; then DEB...
3d9c3b163cd0a425ee70ab419a991cd004d0df68
259
#!/bin/bash # Required request body is missing or invalid curl -X PUT -H "Content-Type: application/json" -H "Accept: application/json" \ --data @invalid-tx-1-body.json \ http://localhost:8080/api/v1/transaction/46f2a305-a7d9-4466-8f43-c3344b074064 -v
e2e3247db98351448d9fde1852f294d31a37202b
136
#!/usr/bin/clitoris ## -*- shell-script -*- ## the string OUTPUT should be ignore $ ignore echo OUTPUT $ ## ignore_01.clit ends here
ea88080c07c799081fb885db00f499096daed760
54
#!/bin/sh sls deploy --stage=dev --aws-profile=sls-dev
4e66b02ddb111d1fd665e25bf6651b460d93ee01
200
# Read from the file file.txt and print its transposed content to stdout. awk '{for (i=1;i<=NF;i++) {if (NR==1) {s[i] = $i;} else {s[i] = s[i]" "$i;}}} END {for(i=1;i<=NF;i++) {print s[i];}}' file.txt
59bc2601b92d3fc5bf11cda3d76bf806b3a40807
196
#!/bin/sh # set user name of tosto. mkdir .mkpssm mkdir .mkpssm/out .mkpssm/pssm python split_fasta.py $1 .mkpssm ./calc_pssm.sh .mkpssm python joinpsm.py .mkpssm/pssm > $1.pssm rm -r .mkpssm
f5df2053f8e7e449ddae664ac27c78521a3762aa
3,598
#!/bin/bash # 安装ifconfig yum install net-tools -y # 时间同步 yum install -y ntpdate # 安装docker(建议19.8.06) yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo yum makecache fast ## 安装指定版本 yum install -y docker-ce-18.06.2.c...
847aaad5bde77634b5a9bb6af0729e995b199968
728
# Maintainer: Carsten Feuls <archlinux@carstenfeuls.de> pkgname=gamera-git pkgver=3.4.2.r42.g51a0c59bd547 pkgrel=1 pkgdesc="Framework for building document analysis applications." arch=('i686' 'x86_64' 'armv5h' 'armv6h' 'armv7h') url="http://gamera.informatik.hsnr.de" license=('GPL') depends=('python2' 'libtiff' 'libpn...
b15a0f5080304a7cba771133f0aca47f88b60c84
42
OPENMRS_HOST_URL=https://dev3.openmrs.org/
095831f12b63e02c4b887bc031c57fa677111610
12,416
sudo add-apt-repository ppa:nginx/stable sudo apt-get update && sudo apt-get upgrade sudo apt-get install nginx sudo /etc/init.d/nginx start sudo mkdir /var/www cd var ls cd /var ls cd www ls cd html ls cd .. sudo mkdir /var/www/demoapp sudo chown -R ubuntu:ubuntu /var/www/demoapp/ sudo apt-get install python-virtualen...
ec6e7d3472bdd292cf3285e91a69bd01423190d9
720
#!/bin/sh # Source misc. environment system settings if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f" done unset f fi # Wallpaper sh .fehbg # Enable restarting X with Ctrl+Alt+Backspace setxkbmap -option terminate:ctrl_alt_bksp # Remap Caps Lock to Esc...
d7bff860a04070a9bfeac90ac7ea0d51a4144103
125
#/bin/sh set -x edsacasm demos/demo2.txt -list edsacasm demos/demo2.txt >demos/demo2.dat edsac -v2 -b demos/demo2.dat -s
e204d53f69b5e4a55db4f56e4b356f6cf68867fa
535
#! /bin/bash -x a=$(( (RANDOM%900) +100 )) b=$(( (RANDOM%900) +100 )) c=$(( (RANDOM%900) +100 )) d=$(( (RANDOM%900) +100 )) e=$(( (RANDOM%900) +100 )) if [ $a -lt $b ] && [ $a -lt $C ] && [ $a -lt $d ] && [ $a -lt $e ] then echo $a elif [ $b -lt $a ] && [ $b -lt $c ] && [ $b -lt $d ] && [ $b -lt $e ] then ...
d28649633606833ec92d73921d4f453c0f292088
383
#!/bin/bash spath="/var/SonosSpeak" scomment="Audio-Files for SonosPlayer to Speak" apt-get install samba # Pfad erstellen mkdir $spath chmod 777 $spath # Share Definition in /etc/samba/smb.conf cat <<EOF >> /etc/samba/smb.conf [SonosSpeak] comment = "$scomment" path = "$spath" browsable = yes guest ok = yes ...
eeda7a586d4b85b4c89a141f27fcd7bc10b2e1f3
251
#!/bin/bash python3 --V cd .. python3 -m venv waybackvenv . waybackvenv/bin/activate cd - pip3 install --upgrade pip3 pip3 install setuptools -U pip3 install wheel --upgrade pip3 install twine -U python3 setup.py sdist bdist_wheel twine upload dist/*
aea8d19369fa6104de6f4d627382acb9f8178e35
1,038
pkgname=nowdock-panel pkgver=0.5.0 pkgrel=1 pkgdesc="Panel plasmoid which is trying to implement a mac style effect for its applets icludes the Now Dock plasmoid" arch=('x86_64') url="https://store.kde.org/p/1154578/" license=('GPL') depends=('plasma-workspace' 'kwindowsystem' 'kcoreaddons' 'kdelibs4support') makedepe...
4a821843f51f032f759f5bea12bd3b6ac15a993c
2,667
# Wait for Wattlog microsleep 10000000 # Load App {{{timing}}} am start -n com.deepriverdev.germanytest/com.deepriverdev.germanytest.activities.TabStage microsleep 10000000 {{{timing}}} ###### key event ########## input keyevent DEL microsleep 4000000 ###### tap menu ########## input keyevent 82 microsleep 4000000 inpu...
62665a50e1f3dde20a7e457852887384a114ec9d
553
#!/bin/bash # Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e set -x set -o pipefail PREFIX="$1" DEPS_PREFIX="$2" export CCFLAGS="-I$DEPS_PREFIX/include" export CFLAGS="-I$DEPS_PREFIX/include" expor...
812f1520c482b8cd9213946469af39030fc208c1
214
local smiley="%(?,%{$fg[green]%}$%{$reset_color%},%{$fg[red]%}$%{$reset_color%})" PROMPT=' %~ ${smiley} %{$reset_color%}' RPROMPT='%{$fg[white]%} $(~/.rvm/bin/rvm-prompt)$(~/bin/git-cwd-info.rb)%{$reset_color%}'
a961fcfd5c570d8d8a003bc869939323c88d9889
164
#!/bin/sh cd $BITBUCKET_CLONE_DIR/js-storefront/tbsStore yarn install yarn build test -f "$BITBUCKET_CLONE_DIR/js-storefront/tbsStore/dist/tbsStore/index.html"
c09d8518985af93314e04702ed953947405e46c1
691
#!/bin/sh set -e cd /etc/stunnel || exit 1 cat > stunnel.conf <<_EOF_ cert = /etc/stunnel/stunnel.pem foreground = yes setuid = stunnel setgid = stunnel socket = l:TCP_NODELAY=1 socket = r:TCP_NODELAY=1 options = NO_SSLv2 options = NO_SSLv3 options = NO_TLSv1 options = NO_TLSv1.1 ciphers = ECDHE-RSA-AES256-GCM-SHA384...