blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
a6914bc9cdc156c1a71c67ca8c375f805810dfd6
466
#!/bin/bash ARGS="n 2000" #ARGS="n 3000" #ARGS="n 4000" #ARGS="n 5000" #ARGS="n 6000" ./ch_cilk 1 ${ARGS} #./ch_omp 1 ${ARGS} ./ch_cilk 32 ${ARGS} #./ch_omp 32 ${ARGS} ./ch_cilk 16 ${ARGS} #./ch_omp 16 ${ARGS} ./ch_cilk 8 ${ARGS} #./ch_omp 8 ${ARGS} ./ch_cilk 4 ${ARGS} #./ch_omp 4 ${ARGS} ./ch_cilk 12 ${ARGS} #./...
19e163a52a3798201981233ad59358d09cb5b126
599
#!/bin/bash if [ -d "./.publish-temp" ]; then rm -r "./.publish-temp" fi if [ -d "./lib" ]; then rm -r "./lib" fi # Add here all access point files. files=( "index" "browser" "phaser" ) mkdir lib ./node_modules/.bin/tsc -p ./tsconfig.json --declaration --outDir ./.publish-temp --declarationDir ...
a59f31788ce404ccf1f093105f71c8de5040c028
680
#!/bin/bash #=============================================================================== # # FILE: clearup.sh # # USAGE: ./clearup.sh # # DESCRIPTION: Docker clearup script # # OPTIONS: --- # REQUIREMENTS: --- # BUGS: --- # NOTES: --- # AUTHOR: (), # ...
9524cfec849080b377c83ed5ec9aac1143c2c5b0
1,454
#!/bin/bash processes=(1 2 16 64) nodes=(1 2 8) exec_modes=(0 1) matrix_sizes=(2050 4098) max_execs=5 for exec_mode in "${exec_modes[@]}" do echo "-------------------------------" echo "| Execution mode $exec_mode |" echo "-------------------------------" for num_nodes in "${nodes[@]}" do ...
c5428a47c39386437a992f10acc587fadfca0e52
90
MONGODB_URI=mongodb://localhost:27017/scheduler RABBITMQ_URI=amqp://localhost PORT=3000
0e8acecd9d5964e12993317fab35b427e9e5f77f
1,171
#!/bin/sh # must run as root # on the master if [ $# -lt 3 ]; then echo "Insufficient arguments" echo "Need interface-name master-ip my-ip" exit 1 fi INTF=$1 MASTERIP=$2 MYIP=$3 echo "Interface $INTF" echo "Master IP $MASTERIP" echo "My IP Address: $MYIP" nohup consul agent -server -bootstrap-expect=1 -data-dir=/tmp...
83d887f6e77488093f98bc224ffe3ef86f7d9723
281
#!/usr/bin/env bash echo build start cd api go clean CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build main.go docker build -t module-name . cd .. cd internal-api go clean CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build main.go docker build -t internal-module-name . echo build end
604a2b93b9b0903fd552228ee833eea0219e248f
255
#!/bin/bash echo "# of arguments = $#" var1=${1:-/tmp} echo $var1 echo ${1:?} echo OK for i in {1..10}; do echo Arg$i = ${!i} done var2='jpg file.jpg' echo ${var2:4:5} echo ${var2#jpg} echo ${var2%jpg} echo ${var2/jpg/txt} echo ${var2//jpg/txt}
827b1ef6c36af12d4b9dec19340ad99eeef7858c
21
NGINX_VERSION=1.15.6
c5b78f455197182ef7e3fdd969274b0148fd0115
556
#!/bin/sh #SBATCH --array=0-39 #SBATCH --nodes=3 #SBATCH --ntasks-per-node=25 #SBATCH --mem=100gb #SBATCH --time=168:00:00 #SBATCH --job-name=python_tmhmm #SBATCH --error=SLURM_report/error_report/python_tmhmm.%J.err #SBATCH --output=SLURM_report/output/python_tmhmm.%J.out module load python/3.7 module load emboss/6.6...
a7f46fc92c73625371c95d6200b084f711f50911
82
#!/bin/bash sudo head /dev/urandom | tr -dc [:xdigit:] | head -c 8 && echo e "\n"
51a2a7973c6c1e76f18c3082c14261e073c757f9
82
#!/bin/bash docker rm -f my-s3cmd docker run -d --name my-s3cmd marmotcai/s3cmd
bf04d9ba48f671ab441045cab3b812174d1d6685
231
# ssh ws.ingeotec.mx mkdir public_html/smm2016/ jupyter-nbconvert --to slides smm2016.ipynb --reveal-prefix=reveal.js --template output_toggle.tpl mv smm2016.slides.html index.html rsync -avz * ws.ingeotec.mx:~/public_html/smm2016
bd8446c9920d98961ee12cf45e5bc4fc3dd97055
823
#!/bin/bash #set -x s=10 list="$1" if [[ -z $list ]] then list="1 2 4 8 16 32 64 128 256 512" fi for i in $list do echo "$i: allocating ...." khalloc="$(khget -x user${i} $i)" ncount=$(echo "$khalloc" | khdo peripcmd "echo %ip%" | wc -l) if (( $ncount != $i )) then echo "ERROR: $i: did not get the n...
b636557e6bd5c342fbd0c410142ce20bfa251507
299
#!/bin/bash tempfile="site.tar.gz" tempplace="/tmp/" file=$tempplace$tempfile tar --exclude content/ -czf $file . echo "created archive" scp $file whg@fezz.in:wgallia/ echo "uploaded file" rm $file ssh whg@fezz.in "cd wgallia; tar xf $tempfile; rm $tempfile" echo "unpacked and made at host"
094ae47ca4235fdc4339604e3333a8840b453503
835
log "generating ssl certs" /opt/local/etc/nginx/sslgen.sh log "enabling http services" svcadm enable nginx svcadm enable php-fpm svcadm enable memcached log "Creating OwnCloud DB" OWNC_PW=$(od -An -N4 -x /dev/random | head -1 | tr -d ' '); echo "CREATE USER owncloudadmin WITH PASSWORD '$OWNC_PW';" >> /tmp/ownc.sql...
32578965a49d1cf94ea02014811635b753fc4f8b
157
cat /etc/passwd | sed /#/d | sed -n 'n;p' | cut -d ':' -f 1 | rev | sort -r | awk "FNR>=$FT_LINE1 && FNR<=$FT_LINE2" | sed '$!s/$/, /; $s/$/./' | tr -d '\n'
8753bfe94e3cea3d50be672f5a37862a3346d8ae
2,088
#!/bin/bash # SCRIPT_DIR == Same folder as the script is placed in SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "${SCRIPT_DIR}/../settings.sh" source "${SCRIPT_DIR}/utils.sh" install_xcode_select() { print_info "Installing Xcode Command Line Tools (This might take a few minutes)" if type...
b77e8f1614f79da8867d57e504eef959584088ec
226
#!/usr/bin/env bash set -e # Make environment variables working in OSX GUI apps such as Github Desktop # https://stackoverflow.com/q/135688/483528 export PATH=$PATH:/usr/local/bin for file in "$@"; do tflint "$file" done
e5fea73dd2ed91da63fa2d2b1a0e9a2546855909
176
golangci-lint run --no-config --issues-exit-code=1 --enable-all --disable=gocyclo --disable=nakedret --disable=gochecknoglobals --tests=false --disable=goimports --disable=wsl
47cfbc7b0925ec540d3a57301e9de4a95171337b
381
#!/bin/sh set -e # init nginx if [ ! -d /run/nginx ]; then mkdir -p /run/nginx chown -R nginx.nginx /run/nginx fi # @TODO updatedb on startup cd /spug/spug_api python manage.py initdb # Create Admin User # Shell: # create_admin admin spug.dev # Docker Compose # docker-compose exec spug create_adm...
253dd0d44f9c99c9203ceab41ce83c1243a55540
890
#!/bin/sh info() { echo "[INFO]" "$@" 1>&2 } warn() { echo "[WARN]" "$@" 1>&2 } err() { echo "[ERROR]" "$@" 1>&2 exit 1 } assign_docker_command() { which docker > /dev/null 2>&1 || err "You must have docker installed to build a docker image!" DOCKER=$(which docker) if ! docker ps > /dev/null 2>&1 ; ...
aa839bbc57eaf3d2dcbb7d9a40f0b9a38f45d686
352
#!/bin/env bash . ~/.functions declare -i last_called=0 declare -i throttle_by=1 @throttle() { local -i now=$(date +%s) if (($now - $last_called >= $throttle_by)) then "$@" fi last_called=$(date +%s) } while read line; do if [[ $line = "SUBSYSTEM=drm" ]]; then @throttle reload_desktop fi done ...
16e2c962a76d9de4b10f644066d25e6446598f29
145
#!/bin/bash cp -r filesToMove/.vim ~/ cp -r filesToMove/.vimrc ~/ cp -r filesToMove/.zsh ~/ cp -r filesToMove/.zshrc ~/ echo "Done. Have fun.."
56470d2199921d0a5701c4ca3a0c8010cc945ed6
139
#!/bin/bash if [ -a coffee ] then echo "removing old coffee" rm coffee fi go build models/models.go go build coffee.go ./coffee
9d57667958f5e350e66790b7e2dd4a8d847488a9
129
CONNECTION_URL = mongodb+srv://dez_future:DTedLzxgQrJwjxf3@cluster0.m8xrm.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
2b7b3cfb564b74837d91e2c9432962902b73a2ab
33
#!/bin/sh python3 get_nes.py "$1"
f01a588720c36d9d65ff5f130ab29495a40fca02
134
#!/bin/bash while true do base_info=`top -bp 21737 -n 1 | grep 'zll' | grep 'xbusiness'` echo $base_info >> bbbb sleep 10 done
9975a295ffda29336eb1d060df91b2cbbee31b86
109
docker run -it --name riak2 -v /mnt/home/bucht/dev/riak:/data -p 8099:8098 -p 8088:8087 --rm guillermo/riak
ac4234cbb34e1805ce204ca7d4ce626dfa044dc9
767
#!/bin/bash # #set -x #source /home/postgres/.bash_profile BASEDIR=/home/postgres DATE=`date --date='yesterday' +%Y%m%d` ERRFILE=$BASEDIR/lupe/tasks/6827/logs/oss_info_not_found.`date '+%Y%m%d'` #LOGFILE=$BASEDIR/lupe/tasks/6827/logs/line_esn_log.`date '+%Y%m%d'` echo "OSS Line Id" > $ERRFILE psql -q \ -t \ ...
8bbbc07992a811b6734dc1e11b5f03313c2d2f16
39
find . -name '*.jpg' -exec rm -r {} \;
1ab42409eee0e641f1231ab3d23f2961202b166d
1,966
#!/usr/bin/env bash checkerName="example" errRequestTimeout="request timeout" errNoDesiredComponentVersion="no desired component version" ErrImageVersionNotFound="image version not found" get_name(){ echo ${checkerName} } get_component() { name=$1 if [[ "$name" == "Kubernetes" ]]; then echo "k8s"...
d03809be5e5f368f44a12535c7980756e8654e80
43
#!/bin/bash bundle exec ruby push.rb "$@"
6443a1945479eb530b4ac761634c427c0feb548c
223
echo "Will now install install_uninstall_mc-manager " sudo apt-get update sleep 2m # sleep 3 sudo snap install mc-manager sudo snap remove mc-manager echo "install_uninstall_mc-manager has been installed" sleep 3
0b9f5ecff02f931f6b706566f0fb15fef02f944a
1,592
#!/bin/bash # Toda vez que acessamos um arquivo ou diretório no Linux a data e hora e atualizada. Em máquinas normais isto é normal, porém em servidores onde o acesso a arquivos é constante(como no diretório /var/spool em servidores de email ou /usr/ em servidores diskless) é recomendável desativar esta característica....
d8d98fa31f0ed4aea0ca23631f20f51b3b43b81d
349
shuf -e soal1 soal2 soal3 soal4 soal5 soal6 soal7 soal8 soal9 soal10 soal11 soal12 soal13 soal14 soal15 soal16 soal17 soal18 soal19 soal20 soal21 soal22 soal23 soal24 soal25 soal26 soal27 soal28 soal29 soal30 soal31 soal32 soal33 soal34 soal35 soal36 soal37 soal38 soal39 soal40 soal41 soal42 soal43 soal44 soal45 soal46...
d42ad90a396611e50f3981d0be79ed85df5b1fbb
127
#!/bin/sh if [ "$#" -ne 1 ]; then echo "Usage "$0" [brightness(0-1)]" exit 1 else xrandr --output LVDS-1 --brightness $1 fi
577653dda00ebe53176c02d01d8e2f6f07120708
88
#!/bin/bash CAM_SIM=True octoprint --iknowwhatimdoing --basedir /vagrant/data --debug
30e4e3bcb33daae6739690ac2f31d29b7d0881a0
1,084
echo "\n----- Starting a new Flutter application -----\n\n" echo "Enter project repo name: " read newname testNewName=${newname//-/_} #replace "-" characters with "_" echo "\n----- Change bundleId -----\n\n" echo "Enter bundleId: " read newbundleID oldBundleID="com.boilerplate" # App name echo "\n----- Change App ...
74b0f46c46fca1892a13391daba98415e416912a
856
#!/bin/bash # # Provides firefox browser for in browser testing. # Tests are recommended to run with python using selenium.webdriver.Firefox() # The selenium can be installed with pip inside a virtualenv. # if ! grep --quiet universe /etc/apt/sources.list then echo "deb http://archive.ubuntu.com/ubuntu precise univers...
c1e2a3ec64a611c775a30ee60bfc210e8da2b0bf
587
#!/bin/sh -x # %A% %D% %T% # For script to evaluate crontab file per tester and replace # crontab with VrgyVugCronTmp if the two are not the same # testercron=/tmp/`uname -n`_oldcron cron_template=/A5XX/standard_tester_files/TESTER_SCRIPTS/VERIGY/VrgyRootCronTmp localdir=/.agilent monitor=/TSESRVR/DISKSTAT/MNTR/`uname...
c9f38d69b2a6307acd628d7d3f9cf192928c744a
5,168
#!/bin/bash # Minecraft server automatic backup management script # by Nicolas Chan & Lambdacraft # MIT License # # For Minecraft servers running in a tmux. # For most convenience, run automatically with cron. # Default Configuration ENABLE_CHAT_MESSAGES=false # Tell players in Minecraft chat about backup status PRE...
e62633243d83f825fcd59aaed68694179a56ab39
990
#!/bin/bash ############### Load Utils ######################### PRG="$0" ROOT=`dirname "$PRG"` source "$ROOT/utils.sh" ############### Static Data ######################## declare -A deployHash deployHash=( [api]="$WORKSPACE/sli/api/target/api.war" [dashboard]="$WORKSPACE/sli/dashboard/target/dashboa...
56a10f09ce8482d9787d9307150ea81ed64ce338
32
#!/usr/bin/env bash shfmt -d .
6f2394facf5bcef8f30b91f4b6864bdc9e64415c
374
echo -e '\033[0;32m'"---> Start the service . . ."'\033[0m' echo echo -e '\033[0;32m'"######################### create network #########################"'\033[0m' docker network create postgresql-network echo echo -e '\033[0;32m'"######################### start process #########################"'\033[0m' docker-compo...
87c90307c534d1fa31889b160fb55a6aa35751a3
332
#!/bin/bash echo "Removing dependencies" sudo apt-get -y purge --auto-remove minidlna echo "Deleting /data/minidlna.conf" sudo rm /data/minidlna.conf echo "Deleting systemd unit /etc/systemd/system/minidlna.service" sudo rm /etc/systemd/system/minidlna.service sudo systemctl daemon-reload echo "Done" echo "pluginun...
40be9c14f9d01f69cbf6569a0c99db0615488b48
129
#!/bin/sh exec $OPENSHIFT_MONO_DIR/mono/bin/mono $MONO_OPTIONS $OPENSHIFT_MONO_DIR/mono/lib/mono/xbuild/12.0/bin/xbuild.exe "$@"
40d043b7a351b641489ad6f2b057939a1116ffcd
8,740
#!/bin/bash export cli_params="--missingDataAsZero --skipZeros --smartLabels --referencePoint center --beforeRegionStartLength 1000 --afterRegionStartLength 1000 --sortRegions keep --numberOfProcessors 32" export scoreFiles="deeptools/bigwigCompare/MCF10A/H3K4me1_vs_Input.bw\ deeptools/bigwigCompar...
6bd416e127f61a8a3c1a7ff23c5166d9a0948f7b
282
#/bin/bash # Set npm's path to user-space so -g is still fun mkdir -p $HOME/.npm-packages if ! grep -q 'npm will install stuff' "$HOME/.bashrc"; then cat <<NPM >> "$HOME/.bashrc" # npm will install stuff in user-space => fun! export PATH=~/.bin:~/.npm-packages/bin:\$PATH NPM fi
ad4eb294b1e03071a50479fa5a20627d0c66a771
129
#!/bin/bash directory="./Scripting" if [ -d $directory ]; then echo "Directory exists" else echo "Directory does not exist" fi
64b47f45afa91db849199cd0a8e5a784712ec476
354
#!/bin/bash ## warning: each parition of the data needs to be run in its own analysis folder set -v set -e data=$1 outdir=../analysis mkdir -p $outdir less ${data} | grep -v "snp" | awk '{print $1,$2,$3,$4"\n"$1,$7,$8,$9}' | tr " " "\t" > ${outdir}/allPlates_allSnps.txt cp ../../../GxE_pipeline/MESH_pipeline/MESH/* $...
97c4f68c4457284ee194c45f6d825a4fd98ec012
529
set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" pushd $DIR . ./bash/ubuntu_install.sh . ./bash/ubuntu_base.sh . ./vim/ubuntu_install.sh . ./git/ubuntu_install.sh . ./anaconda/ubuntu_install.sh . ./condawrapper/ubuntu_install.sh . ./heroku/ubuntu_install.sh . ./ruby/ubuntu_install.sh . ./foreman/...
7d62bacb26e5f1650db9cb822c507f66cb82ffb2
17
php updated.php
9762d71c986024ed7730379ced0602dfdc748895
2,054
#!/bin/bash ##### Script install Wordpress ### Variable default dbname=wordpress dbuser=wordpress dbpass=wordpress path=/usr/share/nginx/html # Function check user root f_check_root () { if(( $EUID == 0)); then return 0 else return 1 fi } # Function download Wordpress f_download_wordpress () { yum ins...
97a7cb68704a3e91cbd5af1babcd76bb4c067128
448
load ../../harness @test "5fb98f103070" { check 'x := z + -142198584254222261771097079318590969081 ; y :=F * 156599334715998708940972528075970420364' '⇒ skip; y := (F*156599334715998708940972528075970420364), {x → -142198584254222261771097079318590969081} ⇒ y := (F*156599334715998708940972528075970420364)...
acabbc00c13593e20f9e9158e829bc10670e21cf
985
#!/bin/bash echo " _____ _____ ____ _______" echo " | __ \ |_ _/ __ \__ __|" echo " | |__) |__ _ ___ _ __ | || | | | | |" echo " | _ // _\` / __| '_ \ | || | | | | |" echo " | | \ \ (_| \__ \ |_) || || |__| | | |" echo " |_| \_\__,_|___/ .__/_____\____/ |_|" echo " ...
b8a32174d4f5cacfb9b10a97970c702344ca463c
2,849
pfetch set r rate 265 60 # If not running interactively, don't do anything [[ $- != *i* ]] && return # # Enable colors and change prompt: autoload -U colors && colors # Lines configured by zsh-newuser-install HISTFILE=~/.cache/zsh/histfile HISTSIZE=10000 SAVEHIST=10000 bindkey -v # End of lines configured by zsh-newus...
f85c695e2fefd722ce2c66fbbb162cf9d8d41ce8
196
#!/bin/sh -eu printf | read a echo $? i=0 printf "a\nb\nc\n" | while read line; do printf "%s\n" "${line:-blank}" i=$((i+1)) [ $i -gt 10 ] && break done [ $i = 3 ] && echo "correct!"
6c9158885d1bdd8cdc5b0b812a72a227e5bfd5ab
362
ZSH=$HOME/.oh-my-zsh ZSH_THEME="terminalparty" #DISABLE_AUTO_UPDATE="true" plugins=(git brew gem knife rails4 redis-cli vagrant) export PATH="/usr/local/bin:$HOME/bin:$PATH" source $ZSH/oh-my-zsh.sh # for Homebrew installed rbenv if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi # z - alternative to auto...
b93beb1449ee5b973ddc312a97be7c05b305420f
749
#!/bin/bash if ( [ -z "$PG_PASS" ] || [ -z "$PG_HOST" ] || [ -z "$PG_PORT" ] ) then echo "$0: you need to set PG_PASS, PG_HOST and PG_PORT to run this script" exit 1 fi export GHA2DB_PROJECTS_YAML="example/projects.yaml" export LIST_FN_PREFIX="example/all_" # GHA2DB_LOCAL=1 GHA2DB_PROCESS_REPOS=1 get_repos . ./de...
0e0f485380afe8f610abbf009063cbc34cb96041
22
STRIPE_KEY= PAYDAY=14
c41416251669e306fb96f3048cb8f055cf1a63dc
314
GO_GAE_SDK_PATH="$HOME/Library/go_appengine" if [ -d "$GO_GAE_SDK_PATH" ]; then PATH="$PATH:$GO_GAE_SDK_PATH" fi # Updates PATH for the Google Cloud SDK. GOOGLE_CLOUD_SDK_ZSH_INC="$HOME/Library/google-cloud-sdk/path.zsh.inc" if [ -f "$GOOGLE_CLOUD_SDK_ZSH_INC" ]; then source "$GOOGLE_CLOUD_SDK_ZSH_INC" fi
2bb79a9cf07916afb217ddcf7c6dce4df94a108e
136
scp test.html qtest:/home/ubuntu/www/test scp pula_bridge.js qtest:/home/ubuntu/www/test ssh qtest "chmod -R 755 /home/ubuntu/www/test"
5f44379236a7ca9f864242925f7fb444bf4a0da4
207
../../../bin/Aa2VC FullAdder.aa | ../../../../../libAhirV2/bin/vcFormat > FullAdder.vc ../../../../../libAhirV2/bin/vc2vhdl -t sum_mod -f FullAdder.vc | ../../../../../libAhirV2/bin/vhdlFormat > system.vhdl
cc0f6b2a8d8b9a1f8a2732db0c5deaab1c59d858
754
#!/bin/ash # allow root login sed -i -e 's/^root:!:/root::/' /etc/shadow # copy keys cp /keys/ssh_host_ed25519_key.pub /etc/ssh/ssh_host_ed25519_key.pub echo "" >> /etc/ssh/ssh_host_ed25519_key.pub cp /keys/ssh_host_ed25519_key /etc/ssh/ssh_host_ed25519_key echo "" >> /etc/ssh/ssh_host_ed25519_key chmod 0600 /etc/ssh...
0a5a86981b997e5e154c41133b52390d874fd7f1
25
#!/bin/bash cat /tmp/f/f
5c45c37770a206c2d1028c769c04b4437f7dfa26
109
OPENWEATHERMAP_API_KEY=123456 EXPRESS_PORT=9000 MONGODB_CONNECTION_STRING=mongod://admin:<password>@host/geo
58ffa6b1832fc9a12d8202a6debfbbc87ff7cce4
2,760
#!/bin/bash -l #SBATCH -J nranks #SBATCH -o output.o%j #SBATCH -e output.e%j #SBATCH -p normal #SBATCH -N 1 #SBATCH -n 68 #SBATCH -t 01:00:00 #SBATCH -A ##-######### KEYLEN=16 VALLEN=131072 COUNT=2000 RANKS=(1 2 4 8 16 32 64 68) export PAPYRUSKV_REPOSITORY=/tmp/pkv_nranks export PAPYRUSKV_DESTROY_REPOSITORY=1 expor...
d896177699cfe132bdb928747cebbf743335a816
2,627
#!/bin/bash # ------------------------------------------------------------------------------- # Filename: deconfig.sh # Revision: 1.0 # Date: 2017/06/21 # Author: Qin Boqin # Email: bobbqqin#gmail.com # Description: Deconfig openstack # Notes: This plugin uses the "cp" command # ----------...
88d6d5e69351f62a3946b8bf0734ba6a076dd8f8
1,322
#!/usr/bin/env bash # An example bash script demonstrating how to run the entire snakemake pipeline # This script creates two separate log files: # 1) log - the basic snakemake log of completed rules # 2) qlog - a more detailed log of the progress of each rule and any errors # Before running the snakemake pipeline,...
badf999cbb1ccaf26fbf0eb5f8197982dd2db8da
298
#!/usr/bin/env bash set -euo pipefail # there should be a single space inside of curly brackets # add where missing "{foo}" and remove where too many "{ foo }" find . -name '*.[ch]' ! -type d -exec bash -c ' sed -i \ -e "s/{\s*\(\S\)/{ \1/g" \ -e "s/\(\S\)\s*}/\1 }/g" \ $0 ' {} \;
44477f6296321f463d33e1e6938778b2eb867606
294
#!/bin/sh gcc -lasan -g -fsanitize=address -fno-omit-frame-pointer -std=gnu11 -Wall -Wextra -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wjump-misses-init -Wdouble-promotion -Wshadow -Wformat=2 -lm -lpthread -O3 -g -ggdb3 $@ -o `echo $1 | cut -d . -f 1`
748791464474bf8f95eb03e1e4158241cae9a5a2
411
# Bubble Sort echo "Enter number: " read n echo "Enter the elements: " for(( i=0;i<n;i++ )) do read a[i] done echo "Unsorted List is:" echo -e "${a[@]} \t" echo "Sorted List is: " for(( i=0;i<n;i++ )) do k=`expr $n-$i-1` for(( j=0;j<k;j++ )) do if [ ${a[j]} -gt ${a[$((j+1))]} ] then temp=${a[j]}...
017854393e0274d3b83d6e39e162bffba6e9458b
135
#!/bin/bash gcc client.c -o otp_enc gcc client.c -o otp_dec gcc server.c -o otp_enc_d gcc server.c -o otp_dec_d gcc keygen.c -o keygen
729963afe433ba83e84007923cfb693a541eba48
168
#!/bin/sh #for fold in "$@" #do # for file in "$fold"/*.mp3 # do # if test -e "$file" # then # echo "$file" # fi #done #done
4a8a467dd413b9c47aadc7c1561d775f0b33670e
124
#!/usr/bin/env bash helm lint helloworld-simple helm lint helloworld-db helm lint helloworld-ingress helm lint api-gateway
203677e0d15d64f740f043aac87060e042328abd
1,426
AaLinkExtMem i16_ops.aa utils.aa | vcFormat > linked.aa Aa2C linked.aa indent aa_c_model.c indent aa_c_model.h gcc -DAA2C -gdwarf-2 -g3 -c -I$AHIR_RELEASE/include -I./ aa_c_model.c gcc -DAA2C -gdwarf-2 -g3 -c -I$AHIR_RELEASE/include -I./ driver.c gcc -gdwarf-2 -g3 -o driver aa_c_model.o driver.o -L$AHIR_RELEASE/lib...
1dc264193182bd6a66730f96743e8e67fb7398b2
1,188
# vim: ft=zsh # ~/.zshenv -- always sourced by zsh (before ~/.zshrc). # WARNING: Available even in Zsh scripts! # :> But as I mostly writing portable scripts in bash, it's not a problem. # WARNING: It should not contain commands that produce output or assume the # shell is attached to a tty. # So it can't be used to so...
ca48716f9ab6c063692c4ff1b1aab14290df4d19
1,805
JPGQUALITY=50 PDFRESOLUTION=200 WIDTH=1000 HORIZONTALPADDING=10 VERTICALPADDING=10 # Fig 1 montage figuresraw/edgeweight.png figuresraw/degreeDistr.png -tile 2x1 -geometry +"$HORIZONTALPADDING"+0 -resize "$WIDTH"x figures/Fig1.png # Fig 2 cp figuresraw/map_communities_louvain.png figures/Fig2.png # Fig 3 montage fi...
226b4d333712617c901563a840664f84e72cb8b9
31
#!/bin/bash ls -la echo 'Why?'
fd6154378b91dd95e83679b148ed05009c533e2b
55
DB_URI='mysql://mythtv:password@localhost/mythconverg'
35599c0913d079a4d6df39622d5d4af1e3afc4c6
41
cd linux-2.6.23.1 make ARCH=i386 bzImage
43235455e5e1e8bce05236a6b99e2c4b1d14d71d
329
# Scrubbed by Glitch 2020-05-31T12:00:09+0000 # Scrubbed by Glitch 2020-08-06T18:26:37+0000 # Scrubbed by Glitch 2020-11-20T10:54:37+0000 # Scrubbed by Glitch 2020-11-20T23:10:18+0000 # Scrubbed by Glitch 2020-11-21T20:09:07+0000 # Scrubbed by Glitch 2020-11-21T20:24:56+0000 # Scrubbed by Glitch 2020-11-23T08:12...
88785cf4184558bb6d7adb407cd0385e36e91428
664
#!/bin/bash # env.sh 파일을 닷 명령어로 읽음 : 마치 소스 파일이 그대로 삽입된 것처럼 파일 내부 명령어가 실행 # bash엔 . 와 source와 동일한 역할을 함 # env.sh엔 WORK_DIR 변수와 nowtime() 함수가 구현되어 있음 . ./env.sh nowtime cp -i -v large-file.tar.gz "$WORK_DIR" nowtime # 닷 명령어를 사용하면 의존 관계가 생기는데, 팀마다 결정하면 좋을 듯 # 이동이 간단해서 의존 관계를 쉽게 해결할 수 있음 # 대상 파일이 없으면 에러가 발생함. -f로 파일 존...
b7ada26e13d032dce1d18d275e73ce0db40027ce
1,083
#!/bin/bash SIM_DIR=$PWD #created 18/03/2017 by Nora IZRI #modif 21/03/2017 echo $1 #récupération du premier argument d'entrée lors du lancement du shell model=$1 res="res.txt" #ls $1.* > $res # à utiliser uniquement si la création du dossier associé au nom du model est supprimer (voir les lignes 54 et 55 de ce...
21509ac8f23b02f1250b5d50e606546b152bdebc
39
#!/bin/bash clear speedtest echo -e ""
170a9e4c1ad683869c2108e12efc6b3c8f000c6a
517
allSecurityReport.sh /home/hcai/Downloads/VirusShare/2013/ /home/hcai/testbed/sapienzVirusShareLogs/2013/ vsresults_sapienz/2013 allSecurityReport.sh /home/hcai/Downloads/VirusShare/2014/ /home/hcai/testbed/sapienzVirusShareLogs/2014/ vsresults_sapienz/2014 allSecurityReport.sh /home/hcai/Downloads/VirusShare/2015/ /ho...
d1e189007f28bc1436a224c3490f6636af8b2f78
594
#!/bin/bash set -xuo pipefail source buildkite/common.sh za-init RESULTS_DIR=$ARTIFACTS_DIR/"Clang-Format" mkdir -p ${RESULTS_DIR} cd support OUTFILE=nx_keycode.txt echo "--- Checking Clang-Format config" which clang-format clang-format --version clang-format --style=file --dump-config echo "--- Applying clang-...
c7f59f5edb9def0054888d21368663af13ffef4c
70
./aws_cli_vpc_setup.sh ./aws_cli_eip_setup.sh ./aws_cli_ec2_setup.sh
2ed29b8a584e76f7955e4ece861510f62e2b6c13
861
#!/bin/sh PROJ_PATH="$HOME/Dev/773proj" export PATH="$PROJ_PATH/maxent:$PROJ_PATH/feateng:$PROJ_PATH/eval:$PATH" export PYTHONPATH="$PROJ_PATH:$PYTHONPATH" # prepare input tmp="megam.run" cp train.megam "$tmp" echo "DEV" >> "$tmp" cat dev.megam >> "$tmp" # training maxent_train 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 7...
0c3c86926a09ec4279fc3fc8ed4dfe2406515c58
1,815
#!/bin/bash # sudo apt install mtd-utils if [[ $EUID -ne 0 ]]; then exec sudo /bin/bash "$0" "$@" fi set -e # Failed to mount MTD block, I think the nand modules is not support brcmnand, may need to recompile # kernel modules to support id_bytes=0x2c,0xf1 (as seen on boot.log) #modprobe nandsim id_bytes=0x2c,0xf...
da9f2714f13d19673b40b21176cda6ee2410de47
228
i#!/bin/bash echo "Enter the days" read -r d a=365 b=7 y=`expr "$d / $a" | bc` w=`expr $d / $b` e=`expr $d % 7` f=0 echo "year:$y" if [ $e -eq $f ] then echo "The no.of Weeks:$w" else echo "The no.of Weeks:$w and $e days" fi
994bb0bad815a46b3126f5e7d160c59922869534
609
#!/bin/bash dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" exchange=binance strategy=HackerNoon hyperopt=HackerNoon # Import utilities source $dir/../../bin/utils.sh # Create user_data directory mkdir_user_data $dir $exchange function _run () { freqtrade_wrapper $@ \ --strategy-path ...
cccec1c3ea4f000f342c5bd571bcdd2f628d2338
1,859
#!/bin/bash # description: automatic binary resolver for different architectures # Expects real binaries to live in lib/$arch/ # arch can be a value from: $(uname -p | tr '[A-Z] ' '[a-z]_' | cut -d_ -f1) # currently our arches are sparc or x86 # author: walter RUN=$(env perl -e ...
a44c636be8dd9838de17bde5348218782aa3cac8
235
#!/bin/bash if [ $# == 0 ];then echo "Please specify the server at least" exit 1 fi if [ $# == 1 ];then server=$1 python ssh.py -t ${server} else server=$1 file=$2 python ssh.py -t ${server} -f ${file} fi
582694b8a72f07194142a49570d0593b17727b40
175
#!/bin/bash export SRC="/home/sylvain/dev/xivo-ctid-ng/" docker run -v $(pwd):/etc/xivo-ctid-ng/conf.d/ -v $SRC:/usr/src/xivo-ctid-ng/ -e XIVO_UUID=sylvain -it ctid-ng bash
2f23a57baa6e886ea9a307d2c11cd380288b714d
1,729
#!/bin/bash set -euo pipefail GRAFANA="${1}" function get_folder_id() { fname="\"${1}\"" existing=$(curl -sf -X GET \ -H "Authorization: Bearer ${TOKEN}" \ -H 'Content-type: application/json' \ -H 'Accept: application/json' \ "${...
69bc411178ac00912d841bd8634672e047a6686f
222
#!/usr/bin/env bash function build() { echo "Building examples/$1/ ..." pulp build -I examples/$1/src --build-path ./output webpack --config examples/$1/webpack.config.js } build simple python -m http.server 9000
b19b3dda93d8718394b03833bc48077ea9073b64
68
#!/bin/bash if [[ $1 && $2 ]]; then node ./bin/run.js $1 $2 fi
935f1cc59e627c991f8a21b62e5b7262473fc24f
393
images=( coreos/flannel:v0.11.0-amd64 coreos/flannel:v0.11.0-arm coreos/flannel:v0.11.0-ppc64le coreos/flannel:v0.11.0-s390x kubernetes-ingress-controller/nginx-ingress-controller:0.24.1 ) for imageName in ${images[@]} ; do docker pull quay.azk8s.cn/$imageName docker tag quay.azk8s.cn/$imag...