blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
b7486572583b18667550eb1d3b6ed8ae86a8010f
249
#!/bin/bash mysql seccubus -e 'delete from finding_changes' mysql seccubus -e 'delete from findings' mysql seccubus -e 'delete from vulnerabilities2findings' mysql seccubus -e 'delete from vulnerabilities' mysql seccubus -e 'delete from inventory'
199d733e34e4a2a47326e71ad14b041cb2f43cab
150
#! /usr/bin/env bash python ../api/app.py --log-level TEST /home/sean/Work/ZHAW/Projects/FINEXT/MasterMind/MasterMind-ServiceManager/api/logging.conf
eec688e6cce0a59234dd050926d658524a4fb733
436
#!/bin/bash :<<! TYPE=Ethernet BOOTPROTO=static DEFROUTE=yes PEERDNS=yes PEERROUTES=yes NAME=eth0 UUID=dfe6a427-ceeb-4681-8760-22ce0284addf DEVICE=ens33 ONBOOT=yes HWADDR=f6:98:1e:cb:4d:78 IPADDR=172.20.70.239 NETMASK=255.255.255.0 GATEWAY=172.20.70.1 ! echo -e "DEVICE=$1\nONBOOT=yes\nTYPE=$2\nBOOTPROTO=static\nIP...
e2afa837c2d1616978c61125cc7295df92080fe0
509
#!/bin/sh set -e ME=`basename $0` DIR="$( cd "$( dirname "$0" )" && pwd )" CWD=`pwd` BOOST_DIR=$1 if [ ! -d "$BOOST_DIR" ] || [ ! -x "$BOOST_DIR" ]; then echo "First argument is supposed to be the path to the boost source code" exit fi cd $BOOST_DIR ./bootstrap.sh ./b2 tools/bcp cd ${DIR} SOURCE_FILES=`find ${DI...
5c116cd6969b3e34542483011a8689886837c017
698
#!/bin/bash -eux SSH_USERNAME=${SSH_USERNAME:-vagrant} function install_open_vm_tools { echo "==> Installing Open VM Tools" # Install open-vm-tools so we can mount shared folders apt-get install -y open-vm-tools # Add /mnt/hgfs so the mount works automatically with Vagrant mkdir /mnt/hgfs } if [[...
a819e7cb1d9d827337850bd30f16a021fed62796
536
#!/bin/bash pomVersion=`grep -oPm1 "(?<=<version>)[^<]+" pom.xml | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'` packageVersion=`jq -r .version package.json` if [[ $packageVersion =~ $pomVersion-alpha\.[0-9]+$ ]]; then v="${packageVersion%.*}.$((${packageVersion##*.}+1))" else v="`echo $pomVersion | grep -oE '[0-9]+\.[0-9]+\....
d3f0e67c3d616d7e46dfb7f6efe392dd90b10263
456
#!/usr/bin/env bash set -e dir=`pwd` cd $dir rm -rf ./a kratos new a cd ./a/cmd && go build if [ $? -ne 0 ]; then echo "Failed: all" exit 1 else rm -rf ../../a fi cd $dir rm -rf ./b kratos new b --grpc cd ./b/cmd && go build if [ $? -ne 0 ];then echo "Failed: --grpc" exit 1 else rm -rf ../../b fi cd $di...
9255020fc580a8a2ae186c92f6ba9d478475d189
9,560
#!/bin/bash if [[ -f /usr/bin/naps2 ]]; then function net_bazzline_media_book_add_ocr_to_pdf () { local DESTINATION_FILE_PATH local SOURCE_FILE_PATH # ref: https://www.loc.gov/standards/iso639-2/php/code_list.php local OCR_LANGUAGE DESTINATION_FILE_PATH="${3:-${1}}" OCR_LANGUAGE="${2:-deu}...
188e938a540e51dd13324a941c200f707b3a4fa6
125
#!/bin/bash awk ' {a[$2] += $7} END{ for(k in a){ print k, a[k] } } ' $1 | column -t
33e6d75c38260a8a8bdf87c7a571cbc6ca90f59c
2,765
dnl -*- shell-script -*- dnl dnl Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana dnl University Research and Technology dnl Corporation. All rights reserved. dnl Copyright (c) 2004-2005 The University of Tennessee and The University dnl ...
cb0b0a3d36ec3e52ea5a29faccd775d7359778ea
1,415
#!/bin/bash ### Manage the (developer) software on your Mac with this command. ### @bbaassssiiee ### https://github.com/bbaassssiiee/developer_mac ## download_apple_xcode: http://appstore.com # You need to download XCode, or only the command line tools xcrun -f git || (open https://developer.apple.com/xcode/downloads...
eec2fec78e67a916e3c5fa63e4c7d8305951a349
214
#!/usr/bin/env bash echo "enable = ${1:-0}" export printline='eval echo -e "`date` $$ [`pwd`/`basename $0`:${FUNCNAME:-OUTOFFUNC}:$LINENO]\t$*"' test_func_name() { ${printline} } test_func_name ${printline}
8815e6cb51b775acc9c1a76646e5aab4bc95e60a
120
PORT=3000 ENV=development DBURL=mongodb://localhost/whatshouldIplay GOOGLEURL=http://localhost:3000/auth/google/callback
9961e93676e19bd0383a82613cee0c7428c51368
98
#!/bin/sh cp -fr /config/xdebug.ini /etc/php5/conf.d/ service php5-fpm stop service php5-fpm start
6856290bc2f46defa0b5963d28a15b8c8ced6841
38
PUBLIC_URL=. SKIP_PREFLIGHT_CHECK=true
270b0758bdcf4f638263ad308b8ec66a622dbc32
174
#!/bin/bash echo "---- uploading lambda code -------" aws lambda update-function-code --region us-east-2 --function-name ${LAMBDA_NAME} --zip-file fileb://${PACKAGE_NAME}
b5d6e678e233e6cd764e2db0d2a90bfe05c67244
170
#script genymotion-stop.sh IP=`genymotion-detect-ip.sh` adb root adb connect $IP:5555 #adb shell reboot -p adb shell stop adb disconnect $IP sleep 5 pkill VirtualBoxVM
6a5a5d42c6ed91465d4898d6195db3f40d830519
1,037
#!/bin/bash ####### Download real time version of CMORPH. ftpdir=https://nomads.ncep.noaa.gov/pub/data/nccf/com/cfs/prod/cfs ## parent directory directory where data will be downloaded. download_parent_dir=/path/to/keep/your/data ENS=01 #Ensemble number. 01 is control. 02, 03, and 04 are perturbed. #############...
318b607538c99061fabea06e48fd4b15c2bf7b93
1,655
#!/bin/sh GetExeName() { base_="$1" for exe_ in "${base_}" "${base_}.exe" do if which "${exe_}" > /dev/null 2>&1 then echo "${exe_}" return 0 fi done return 1 } MakeCsvFile() { dataFile_=$1 labelFile_=$2 outCsv_=$3 awk 'BEGIN { line=0; lastFile="" } { gsub("\\r","") } ...
bf7dd72fbbfcf94970b00aefb5fc4927b2d6a77a
556
#!/usr/bin/env bash set -euo pipefail source ../../BART.sh if false; then cd data wget http://old.mridata.org/knees/fully_sampled/p3/e1/s1/P3.zip unzip P3.zip cd .. #extract single slice $BART fft -u -i 1 data/kspace data/tmp_fft $BART slice 0 160 data/tmp_fft data/single_slice fi $BART rss 8 data/single_sl...
dd48ca0597286a49df251d7f1ff6adb35c094ad3
6,435
#!/usr/bin/env bash # import global variables . require_once "$devbox_root/tools/system/constants.ps1" # import output functions (print messages) . require_once "$devbox_root/tools/system/output.ps1" # import devbox state function . require_once "${devbox_root}/tools/devbox/devbox-state.ps1" # import infrastructure fu...
4f3dcb1ecde813918ca52ee6b940a8050bcdb241
493
#!/bin/bash #redirecting input and output grep -E "from [0-9]{1,3}-" datasets_and_figures/yeast_chr1_orfs.fa # -E specifies to use regular expressions #to append to standard output to a new file use the >> command instead of the > command #standard input: data that is provided as text to a unix program #exampl...
9edd6acdca48f3723d8f7aa87768533ddf81a89b
124
#!/bin/bash # The opposite of basename if [ -e "$1" ]; then echo $PWD/$1 exit 0 fi echo "No such file: $1" exit 1
a1c9f675d484f74594093943669bed1016c1811e
44
gunicorn production:app -b 0.0.0.0:6969 -w 2
b9665cccbf2424f7875d1cea586cb62bf628f189
82
#! /bin/bash make mklbenchmark; for (( i=$1; i<=$2; i++ )) do ./test $@; done
826949aa501b18d99a0bd8850ad810de4e443ca0
155
if [ ! -d "./build" ];then echo "Create build folder..." mkdir build else rm -r build echo "Create build folder..." mkdir build fi cd build cmake .. make
e53f0730b88b1c3d33f05bae946a31253a2704c5
861
#!/bin/bash # Copyright Alexander Jerneck 2014 # Licensed under the MIT license (http://opensource.org/licenses/MIT) # Script to batch ocr pdfs, by first converting them to tifs. echo "usage: ocr PATTERN where PATTERN is a glob matching pdf files to be converted." echo "example: ./ocr file-20*.pdf" for x in "$@"; do...
89bd0f112db1b12df8ffb6597abdcd0894f4721a
318
#!/bin/sh export DISPLAY=:0.0 export LIBVA_DRIVER_NAME=rockchip # gst-launch-1.0 filesrc location=/usr/local/test.mp4 ! \ # qtdemux ! vaapidecode ! video/x-raw,format=NV12 ! videoconvert ! xvimagesink gst-launch-1.0 filesrc location=/usr/local/test.mp4 ! \ qtdemux ! vaapidecode ! vaapisink # --gst-debug=vaapi:9
7477dcc7dee4e16a35029e2ebb771451c3ad8943
1,762
#!/bin/bash #Python-3.5.1.tar.xz #安装文件镜像 #https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tar.xz #https://istorkbox-1256921291.cos.ap-guangzhou.myqcloud.com/Python-3.5.1.tar.xz #https://blog.csdn.net/u010510962/article/details/80690084 #https://www.cnblogs.com/blogjun/articles/8063989.html if type wget >/dev/nul...
ee3db996151563b4551f406c4062a59e3bd3c68d
580
#!/usr/bin/env bash function cleanup { if [ -n "$uuid" ]; then echo "Cleaning up simulator" >&2 xcrun simctl shutdown $uuid 2>/dev/null xcrun simctl delete $uuid fi } trap cleanup EXIT nix-build -A ghcIosSimulator64.reflex-todomvc uuid=$(xcrun simctl create reflex-todomvc com.apple.CoreSimulator.Sim...
d965009951ea635fec629d4a615e894b793b3d0b
187
BASE=$1 ARMAROOT=$BASE/arma3 mkdir $ARMAROOT mkdir $ARMAROOT/keys mkdir $ARMAROOT/mods mkdir $ARMAROOT/mpmissions mkdir $ARMAROOT/server mkdir $ARMAROOT/params mkdir $ARMAROOT/profiles
c84db2f4f53cefca36f92d8c7cb690f5b5ba710f
1,447
#!/bin/bash function echo_usage() { echo "Usage: $(basename "$0") name [quality] | dota2" echo "Opens a twitch stream in vlc with livestreamer which must" echo "be installed (pip install livestreamer)." echo " " echo " name: what you would put in www.twitch.tv/name" echo " quality: default order is be...
b9d1a94fd662b60ebd8dcbd322798d5896464642
407
#!/bin/bash SUPPORT_GCC_VERSIONS_BY_CUDA="CUDA_SUPPORTED_GCC" _print_help() { cat <<- EOF Usage: $(basename $0) [options] -s | --supported Returns by current CUDA supported gcc versions -h | --help Shows this help EOF } case ${1} in -s|--supported) echo "${SUPPORT_GCC_VERSIONS_BY_CUDA}" exit...
8d561d159e1b5edc8f1cefb6b7f53d632bfeb366
131
#!/bin/sh for f in *.out; do ext="${f##*.}" path="${f%.*}" out="${path}-trim.${ext}" sed '1,26000d' $f > $out done
6fd3aec7e78221a3e29041031a7c80e3bf771acc
221
#!/usr/bin/env sh set -e file=/docker-timing.log if [ -f $file ]; then echo "$(($(date +%s)-$(head -n 1 $file))) ${@:-stage}" >> $file echo "Seconds since last stage: $(tail -n 1 $file)" else date +%s > $file fi
dab6d9a464ca5944112ad307272a7f56740c194c
137
mv PDF_REPORTS/* . tar -zxf IMF.tgz mv IMF/* . mv PROCESSOR_EXPENSIVE_FILES/* . rm -rf IMF PDF_REPORTS PROCESSOR_EXPENSIVE_FILES IMF.tgz
fc726d70d8b495421ace62f25bc9655af0ae2ac4
302
source ~/.shell_config/base.sh load_config ~/.bash/prompt.sh function reload() { source ~/.bashrc echo "Reloaded from ~/.bashrc" } # Add iTerm2 Shell Integration export ITERM2_SQUELCH_MARK=1 test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash"
d704db51eac405a84fc3ddb2658a474e926cb315
159
#!/bin/sh python3 /app/manage.py compilescss python3 /app/manage.py collectstatic --no-input --ignore=*.sass python3 /app/manage.py compilescss --delete-files
02b130c2b173ed277d69464b0a896aa22867d29b
1,807
#!/bin/bash #SBATCH --gres=gpu:1 #SBATCH --job-name=jupyterNB #SBATCH --nodes=1 #SBATCH --time=24:00:00 #SBATCH --mem=64GB ##SBATCH --cpus-per-task=2 #SBATCH --job-name=viz-cap module purge module load python/intel/2.7.12 #source /beegfs/sb3923-share/pytorch-cpu/py3.6.3/bin/activate module load fftw/intel/3.3.6-pl2 p...
0eefd87ec8c560a830d9f238059bfd1b51faf317
374
#!/bin/sh BASEPATH=$(pwd) LIB_PYTHON=${BASEPATH}/lib LIB_REDIS=${BASEPATH}/etc/redis CONF_REDIS=ml_service.conf # Export PYTHONPATH export PYTHONPATH=$PYTHONPATH:${LIB_PYTHON} # Start the redis server PID_FILE_REDIS=$(grep "pidfile" ${LIB_REDIS}/${CONF_REDIS} | awk '{print $2}') if [ ! -e ${PID_FILE_REDIS} ]; then ...
93da6ccaf1cf41b6cc65630b84bfeaac71557942
1,448
echo "Using default unsetings" # If a value is not unset here a default will be assigned. # MariaDB Connection Information unset MARIADB_USER unset MARIADB_PWD unset MARIADB_HOST unset MARIADB_PORT unset MARIADB_DBNAME # Generic SQL Server Connection Information unset MSSQL_USER unset MSSQL_PWD unset MSSQL_HOST unset M...
74ab1a860f124e499dc662bd61315095635c3f0d
521
#!/bin/bash currDir=$(dirname $0) spongebobDir=$currDir/../.. baseDir=$currDir/spongebob-bootstrap # amfid_payload.dylib cp $spongebobDir/amfid/bin/* $baseDir/spongebob/ # pspawn_hook.dylib cp $spongebobDir/pspawn_hook/bin/* $baseDir/usr/lib/ # jailbreakd cp $spongebobDir/jailbreakd/bin/* $baseDir/spongebob/jailbr...
24510cf26b8d8ede57d0d6fd3f81bf4da3c7e590
13,118
#!/bin/bash ############################################################################################################### # # # Application Launcher for Slurm ...
ec8bd7fd90e7e75687ed5fa425eea097569049c4
244
# Case-insensitive globbing shopt -s nocaseglob # Append to history file, don't overwrite it shopt -s histappend # Autocorrect typos in path names when using `cd` shopt -s cdspell # Common shell config [ -f ~/.shellrc ] && source ~/.shellrc
b8e819a082e5fb8a3ccf8b5adccbb17e37cc2b9e
67
#! /bin/bash set -x -e ./deleteAll.sh . ~/.env docker-compose up
74d93a0a8304b3257acbea8091cca92b26a0ac2b
1,600
#!/bin/sh if [ $debug -eq 1 ];then set -x fi tstart_rsi="$(date +%s)" #txn=`ade pwv|grep VIEW_TXN_NAME |cut -d: -f2|tr -d [\ ]` #destdir=$ADE_VIEW_ROOT/fusionapps rsioutfileformail="$destdir"/"$txn"_rsi.out errCd13=0 rsioutfile="RSI_issues.csv" echo -e "" > $rsioutfileformail echo -e "RowSetIterator Scan O...
a04091bd8aaae6b35e26e72a1f63c0353db2658c
1,568
#!/usr/bin/env bash ANDROID_EMULATOR_NIX_FOLDER="$DOTFILES/nix/android" ANDROID_EMULATOR_CONFIG_FILE="$HOME/.android/avd/device.avd/config.ini" function android-emulator() { cd $ANDROID_EMULATOR_NIX_FOLDER if [ ! -f "$ANDROID_EMULATOR_CONFIG_FILE" ]; then nix-build "$ANDROID_EMULATOR_NIX_FOLDER/emulat...
d9a6ed7f6996fd8594217af45fd54cba3b4956ff
718
#!/bin/bash #SBATCH --job-name=Amber #SBATCH --nodes=3 #SBATCH --tasks-per-node=28 #SBATCH --time=24:00:00 #SBATCH --mem=100GB #SBATCH --mail-type=END #SBATCH --mail-user=kfd233@nyu.edu #Comments start here, above are not comments and should be in your script # go to your working directory: /scratch/YOURnetID/hw4/equ...
067d345e9abaedebfd03b58f2b5ca760c1db556b
82
MONGODB_URI='mongodb+srv://Danly:Sinzapatos7.@cluster0.dbmg9.mongodb.net/edenShop'
69cde812511838bc1d3e227a79cf713de3c11bbd
400
#!/bin/bash REFERENCE="/g/data3/wq2/resources/hs37d5x/reference_genome/hs37d5x.fa" java -Xmx6G -jar bin/GenomeAnalysisTK.jar \ -T VariantEval \ -R "${REFERENCE}" \ -o ../MGRB.phase2qc.eval.grp \ -noST -ST Sample \ -noEV -EV CountVariants -EV IndelSummary -EV MultiallelicSummary -EV TiTvVariantEvaluator -EV T...
5013bc1d27f2ff400712f698b2710922cb805660
1,472
# This contains the locations of the tools and data required for running # the GlobalPhone experiments. export LC_ALL=C # For expected sorting and joining behaviour KALDI_ROOT=/disk/scratch1/svandiek/kaldi [ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh KALDISRC=$KALDI_ROOT/src KALDIBIN=$KALDISRC/bin...
b881ac6c8aeeaf5287bf5b789ca90b6dad838a6b
221
while [[ "$#" > 0 ]]; do case $1 in -fornamn) fornamn="$2"; shift;shift;; -efternamn) efternamn="$2";shift;shift;; *) echo "Unknown parameter passed: $1";shift;shift;; esac; done echo "Du heter $efternamn, $fornamn"
e362dad37141378a56b1541ff9cf932b3b19e773
150
#!/bin/bash rm -rf assets/critters rm -rf assets/iface rm -rf assets/tiles cd frm/scripts ruby rcritters.rb ruby rtiles.rb ruby riface.rb cd ../..
34cb3d99401e6967f1a5fcfca5be44cd4be1f39a
162
#!/bin/bash ssh docker01 hostname -f ssh docker02 hostname -f ssh docker03 hostname -f ssh docker04 hostname -f ssh docker05 hostname -f ssh docker06 hostname -f
65d5617434dd4837b713ca30ae20728d525f8f4d
159
#!/bin/bash ./bic-myfind /var/tmp/test-find/simple -print &> ./1.out ../output/Debug/myfind /var/tmp/test-find/simple -print &> ./2.out meld ./1.out ./2.out &
0c69186223135c6b4d5aae063258b0b1da59bfcb
303
#!/bin/bash #This script converts sampling rate of multiple files in a folder. outputdir="../converted" mkdir -p $outputdir for file in **/*.wav do filename=$(basename $file) outputfile="${outputdir}/${file}" mkdir -p $(dirname $outputfile) sox $file -r 8k $outputfile done
b8ebdedc0068a28bd76e48d5a94f8f1f6e8f99b4
287
#! /usr/bin/env bash echo "Waiting for postgres..." while ! nc -z psql 5432; do sleep 0.1 done echo "PostgreSQL started" exec "$@" # Let the DB start python ./app/backend_pre_start.py # Run migrations alembic upgrade head # Create initial data in DB python ./app/initial_data.py
7e21d1f2e844aa32792d05c0448a7f40c9d64c8e
172
#!/bin/sh /usr/bin/screen -S startupSh -d -m /bin/sh -c "echo '---- Starting script ----'; /usr/bin/python3 music.py; echo '---- Script has ended ----'; exec /bin/sh"
6707ea0f073b79cd1311b0598d310e4dcf003342
592
#!/bin/bash if [ -f .passenger_port ]; then if [ ! `which passenger` ]; then echo 'passenger not installed' gem install passenger fi passenger status -p $(cat .passenger_port) | grep 'not running' > /dev/null if [ $? == 0 ]; then passenger start -p $(cat .passenger_port) -d ...
95de2127d5848ca8d975d91c1ec55b30d08e07b7
841
#!/bin/bash psql -h 192.168.3.245 -p 5432 -U easycar -W easycar -c " CREATE OR REPLACE PROCEDURE drop_duplicates() LANGUAGE plpgsql AS \$\$ DECLARE original record; duplicate record; completed INT[] DEFAULT '{}'; BEGIN for original in (select * from client) loop for duplicate in (SELECT * FROM client WH...
9f061a5261e9c8f22e256779477d7ced6d15662c
236
MLAB_URI=mongodb://admin:db4dmin@ds047197.mlab.com:47197/trader-db-dev SECRET_KEY=CashRulesEverythingAroundMe BITCOIN_AVERAGE_ACCESS_KEY=ZTMxNmZjMzZkNGUyNGUwMGJmNjdhMDc3MGE4ZTM2ODE MARKETSTACK_ACCESS_KEY=c8653baa0028e762d9dbf09997f9d3e8
d605ab20765d43476e513696aa8b36889f7fab8d
105
# database.env POSTGRES_USER=rossini-user POSTGRES_PASSWORD=rossini-password POSTGRES_DB=rossini_database
659a5fda46ae70dc564ee93fd878931d59acf65e
183
#!/bin/sh scp ./source.py ./config.py s_geni: scp ./router1.py ./config.py r1_geni: scp ./router2.py ./config.py r2_geni: scp ./dest.py ./config.py d_geni: scp -r ./broker/ b_geni:
f2945ecf48b1c69b9aae1931ff0a35f7a390fb80
227
#!/bin/bash set -e set -x if [[ ! -d /usr/local/bin ]]; then mkdir -p /usr/local/bin fi if [[ ! -f /usr/local/bin/ace ]]; then ln -s $(pwd)/ace /usr/local/bin/ace fi # ACE IS INSTALLED HERE ls -l /usr/local/bin/ace
e83be44a8eeb7889c5e85aae72992d9721e82c77
183
# nohup setenv GEMSTONE $1 set path = ($path $GEMSTONE/bin) topaz -l << eof & output push log/runtest$$.out login run ^RunBench runUser % logout output pop exit eof end exit 0
37eb95bbb95542562f5667b2c8b82f805c934dd2
90
~/FPNN/fpnn_install/bin/caffe train -solver solver.prototxt -gpu 0 > log_train.txt 2>&1 &
8d613c89d696f819dc1a01cfc9cf60da12ea5e0b
2,398
#!/usr/bin/env bash # Compile L2 program source into object files ../bin/bootstrapped_l2compile core-meta.l2 64-numbers-meta.l2 text-meta.l2 flow-meta.l2 list-meta.l2 ../bin/x86_64.o x86-64-linux-interface-meta.l2 lexer-meta.l2 elf-meta.l2 x86-64-object-meta.l2 expressions-meta.l2 x86-64-assembler-meta.l2 x86-64-gene...
cb66c9e43b05a484cc3fcbcfd7ff639cfdb1463f
54
/home/guaracy/Android/Sdk/platform-tools/adb logcat &
742e5d7a257cf8cc678a3d1dc98d5d89ae4ffc8a
4,323
#!/bin/bash FICHERO="servers" function Menu { echo "_____________MENU_____________" echo "" echo " 1. Introducir Servidor Proxy" echo " 2. Buscar Servidor Proxy" echo " 3. Establecer Servidor Proxy" echo " 4. Hacer Ping" echo " 5. Ver Proxy Sistema" echo " 6. Resetear Prox...
74d80616b3d1a966fc2585dce4849718f7afe9f5
1,108
#!/bin/bash mkdir html html="html" cp common/ba-lab-index.html $html for dir in `find . -type dir -maxdepth 1|grep '[0-9]\{1,2\}-'|grep -v CVS|sed -e 's/\.\///g'`; do cp $dir/$dir.pdf $html title=`cat $dir/$dir.tex|grep \\labtitle\}\{|perl -ne '$_ =~/\{([\+\-\*A-Za-z0-9 ]+)\}/; print $1;'` version=...
6cdebab336f7950a08f7574424ab681ba92a8ed0
730
#!/bin/bash start=0 end=360 beamsize=20.0 ## declare an array variable declare -a arr=(e6p11 e6p22 sch1p11 sch1p22) declare -a arrchunk=(5 7 10 15 20 30 40 60) #declare -a arrweight=(2 2.5 3 3.5 5 6 7) declare -a arrweight=(1.7 1.75 1.8 2 2.5 3 4 5 6 7 8) for weight in ${arrweight[@]} do ## now loop through the datase...
a2d586bfe36b480780b1d1210895faf208fd3e17
734
#!/usr/bin/env bash # Interactive pieces or output we want at the end # these often get set with root perms which jacks shit up stat="stat -f %u" # BSD [[ "$OSNAME" = "Linux" ]] && stat="stat -c %u" if [[ "$USER" == "brainsik" ]]; then for file in $HOME/.bash_history $HOME/.viminfo; do if [[ -e $file ]] &...
4b561a0038cc57b416e8ec9d042b62c62f76f8b4
63
#!/bin/bash gcc test.c $(pkg-config --cflags --libs glib-2.0)
3581a83c5079291c654fe2acc7c283f0ac052c18
88
#!/bin/bash # Exit on error. set -e echo "Run `ls`" ls # cd $1 # make clean # make docs
961391155ff80482a0fc9d89b04d1ef58eccff03
3,090
#!/bin/bash # Hua Sun # 2021-03-01; # bash run.sh -T dna -N sampleName -O ./OUT -B sample.bam # -C config.ini # -P bwa/razers3/optitype # -N sampleName # -T dna/rna # -B *.bam # -O outdir # output outdir/sample/... CONFIG="" TYPE="dna" pipeline="bwa" while getopts "C:P:N:T:1:2:O:" opt; do case $opt in C) ...
8d76a4839bf1d28a61fa3861e19fe3d564c3b770
517
#!/usr/bin/env bash set -eu sudo puppet apply -v --strict_variables --modulepath=/etc/puppet/code/modules/:/etc/securepuppet/modules/:./modules/ ./manifests/ echo "Complete. Don't forget that gdpup may eventually overwrite changes made by this puppet run" if ! passwd -S woolie | grep '^woolie P ' > /dev/null; then ...
1c10a94edc5eded5b8483b4695673e406c6dabf5
214
module load gnu export OMP_NUM_THREADS=20 perf stat FHPC_2019-2020/Assignements/Assignment02/./01_array_sum_parallel.x 10000000000 perf stat FHPC_2019-2020/Assignements/Assignment02/./04_touch_by_all.x 10000000000
b530cb069939e627326e379db6ad431e83938c85
2,178
#!/bin/bash SITE=$1 Case=5 CRD_Apriory=($(grep "$SITE" ALP_NET.CRD | awk '{print $4, $5, $6}')) X_0=${CRD_Apriory[0]} Y_0=${CRD_Apriory[1]} Z_0=${CRD_Apriory[2]} echo "Coorditates at Epoch 2005-01-01" echo "$X_0 $Y_0 $Z_0" echo " Epoch Coordinates Translation ...
e97828c66dbe3c7ce5fa92b80973eb0d5a9771e2
210
#! /bin/bash # 變數要先宣告後才能使用 shopt -s -o nounset ListIPcmd="/sbin/ifconfig" IP=$($ListIPcmd | grep 'inet addr:' | grep -v '127.0.0.1' | awk '{print $2}' | awk -F: '{print $2}') echo $IP
5f4ea9a89923be01158a436b91414962045b943d
78
#!/usr/bin/sh runuser -c "/home/copr/cleanup_vm_nova.py 2> /dev/null" - copr
fbc74b83b69c3c0048e5de9eeb85a2325c69ae0e
52
#!/usr/bin/env bash docker build -t py_text_tools .
6b153658bfe08a04e7347821ddd6f5484013e367
84
#!/bin/bash name=$1 mkdir /images/${name} cp _posts/_default.md _posts/${name}.md
c6283ff1fbf5db8d4930167abf864f7e9de0cb0a
2,808
python.exe run_mixture_split_fashionmnist_ver9task # python.exe run_split_not_mnist_gauss_mixture.py 5 10 240 0.5 4 # python.exe run_split_not_mnist_gauss_mixture.py 5 10 240 0.5 3 # python.exe run_split_not_mnist_gauss_mixture.py 5 10 240 0.5 2 # python.exe run_split_not_mnist_gauss_mixture.py 5 10 240 0.5 12 # pyth...
4293ac5d912903cac674c527a4ae0e23c51b515c
1,049
#!/bin/bash # ########################################### # # Office: http://fishshell.com/ # ########################################### set -e downloadTool="sudo apt-get install -y" PACKAGE_DIR=/tmp/src PROGRAM_NAME=tmux SRC_DIR=$PACKAGE_DIR SRC_DIR_FINAL=${SRC_DIR}/$PROGRAM_NAME URL="https://github.com/fish-shell...
e4205426077416ebffc92bd5327392324a2c03d5
3,226
#!/bin/bash echo echo "This script will change the hostname in /etc/hostname and the \"FQDN\" in /etc/hosts files." #Colors txtrst=$(tput sgr0) # Text reset txtbld=$(tput bold) # Bold text txtylw=$(tput setaf 3) # Yellow txtgrn=$(tput setaf 2) # Green #Retrieve IPv4 assigned by static dhcp to $ip4 ip4=$(/sbin/ip -o -...
50947b6c532cba28ee1c5bc87affa5021a6cfe33
355
#!/bin/bash #修改现有ois系统的所有配置 source /data/shell-sh/check/lib/basic.sh #1 source /data/shell-sh/ip_change/ip_change_ois.sh source /data/shell-sh/ip_change/ip_change_dicom.sh source /data/shell-sh/ip_change/ip_change_nginx.sh source /data/shell-sh/ip_change/ip_change_linkone.sh source /data/shell-sh/ip_change/ip_chan...
97d9622b3736fdbb9813c2fda876c78719e6bd62
271
# This covers various module installtion # https://github.com/nficano/pytube sudo -H pip3 install --upgrade pytube # https://github.com/rg3/youtube-dl sudo -H pip3 install --upgrade youtube-dl # https://github.com/mps-youtube/mps-youtube sudo apt install mps-youtube
3a851e51ad558466ba6b4860b496b08b60051802
753
#!/usr/bin/env bash test "$(ls /pr-blockchain 2>/dev/null)" || \ mkdir /pr-blockchain/keystore && \ cp master-wallet /pr-blockchain/keystore && \ geth --identity "PrEthNode" --nodiscover --networkid 1999 --datadir /pr-blockchain init genesis.json && \ cp master-wallet /pr-blockchain/keystore geth --iden...
2033de62638676a2a234c4ce48ae26faa855c108
328
#!/bin/bash ##HOSTIP=`ip -4 addr show scope global dev eth0 | grep inet | awk '{print \$2}' | cut -d / -f 1` export HOSTIP=$(ifconfig | grep -E "([0-9]{1,3}\.){3}[0-9]{1,3}" | grep -v 127.0.0.1 | awk '{ print $2 }' | cut -f2 -d: | head -n1 echo "IP address from docker ${HOSTIP}" docker-compose -f docker-compose-locald...
336965af23fb1f8204f818df0bbdfbe60cef038e
136
#!/bin/bash docker cp init.sql mssql:/home docker exec -it mssql /opt/mssql-tools/bin/sqlcmd -U sa -P mssqlPassword! -i /home/init.sql
cd1ad7a2525319e4ed2df1949bc403ed524cd70d
199
#!/bin/bash parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) cd "$parent_path" . ~/.nvm/nvm.sh use stable && node -v && kill -9 $(lsof -i tcp:3031); cd ../server && DEBUG=* npm start &
65e6b527e52cb271b5840997b3adda1e3421b33c
950
#!/bin/bash ############################################################## # Script takes a list of gene IDs and a fast file containing those gene IDs to calculate MFE. # Secondary Structure information is thrown away (except the images). # Sometimes the script only outputs the gene name. If so, `${val[0]}` needs a...
ffc74f31f76bf335c61b9cf5dbef6a21ee4cd66a
69
cp ~/dotfiles/.vimrc ~/.vimrc cp -r ~/dotfiles/.emacs.d ~/.emacs.d
5846be66cad59f7be841d27ddf7188d8b72bc9e2
601
#!/bin/bash if [ "$#" -lt 1 ]; then echo "Usage: $0 <assignment name> [org/repo to clone on setup]" >&2 exit 1 fi cd "$(dirname "$0")" ASS="$(echo "$1" | tr '[:upper:]' '[:lower:]')" if [ -d "$ASS" ]; then read -p "Overwrite '$ASS'? [y/N]: " RESP if [ "$RESP" == y ] || [ "$RESP" == Y ]; then rm -rf "$ASS" els...
5869f13a0178c3a6d8ac716e25529181875c5643
544
#!/bin/bash # Artus Vranken # ====================================================== # # BigchainDB deployment templates for azure help-script. # # ====================================================== VARIABLES="$(pwd)/etc/variables.sh"; DEPLOYMENT="$1"; # # Start # case "$DEPLOYMENT" in single-simple) cd "de...
a84fce73a1afc3cb84c1f7007463a347c346c2b2
200
#!/bin/sh INSTALL_DIR=/usr/local/occlum/x86_64-linux-musl export PATH=$PATH:$INSTALL_DIR/bin cd server make -j$(nproc) if [ $? -ne 0 ] then echo "demo make failed" exit 1 fi ./greeter_server
674477b20f3a8f45c7a70589bbd27c71864cd5c8
289
#! /bin/sh -e # usage: qcow2_to_raw.sh [qcow2_image_path] [ -z "$1" ] && echo 'no image file provided, exiting.' && exit 1 image="$1" base="$(basename $image)" image_base="${base%.*}" # convert qcow2 to raw echo "Converting $base to raw..." qemu-img convert "$image" "$image_base.img"
1c094096694f70a4d51b2c5cb517077bbe8539a4
1,912
#!/bin/bash -x set -e PROJECT_REPO=github.com/openshift/oauth-proxy DOCKER_REPO=localhost:5000 KUBECONFIG=~/admin.kubeconfig TEST_NAMESPACE=myproject REV=$(git rev-parse --short HEAD) TEST_IMAGE=${DOCKER_REPO}/oauth-proxy-${REV}:latest TEST_DIR=$(pwd)/test HELLO_PATH=${TEST_DIR}/e2e/hello HELLO_IMAGE=${DOCKER_REPO}/...
7c8b64defc304979dbd9e94305d031be40489be3
168
PORT=8001 MONGODB_URI=mongodb+srv://abdulmalikgh:abdulrazak@devcamper.szbei.mongodb.net/hospitalDatabase?retryWrites=true&w=majority JWT_SECRET=aldhfalk/3ljf$^#$63ljfsa
248396e971c516f99dfb4d8bdb55a99b021a5957
221
#!/bin/bash rm -rf src/lib_* src/container.erl src/pod.erl src/tcp_* src/mis_* cp /home/pi/erlang/basic/lib_service/src/*.erl src cp /home/pi/erlang/basic/lib_service/src/*.app ebin cp /home/pi/erlang/basic/include/* src