blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
d8cc18325b5c2cfb80823a614efb329afef34561
442
#!/bin/sh ARQUIVODADOS=/home/pi/sist_embarcados_git/Amora/dados.txt ARQUIVOSAIDA=/home/pi/sist_embarcados_git/Amora/dados.png gnuplot << EOF set title "Dados: " set ylabel "Angulo (º)" set xlabel "Tempo (s/4)" set terminal png set output "$ARQUIVOSAIDA" plot "$ARQUIVODADOS" \ linecolor rgb '#0060ad' \ linety...
199f6432ca96073638ce19f3ac0faa35581abaf1
207
# Scrubbed by Glitch 2021-01-05T17:04:13+0000 # Scrubbed by Glitch 2021-01-05T17:59:16+0000 # Scrubbed by Glitch 2021-06-21T18:20:23+0000 TOKEN=ODUyOTUwMTY5NTczNjU0NTM4.YMORvw.jcaB1aWzp8LedhftACxjE-vm3Z0
cee11d737bf641ec410a3558963787eba873e2cb
123
#!/bin/sh go build -o ex17 ./ex17 https://ja.wikipedia.org/wiki/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8 img
1451e7a89e05f44b6e63241e60092fcf0f7bab54
243
#!/bin/sh get_ips() { if [ ! -d ".tmp" ]; then mkdir -p .tmp fi euca-describe-instances | grep ami-00000200 | awk '{print $4}' > .tmp/ips echo >> .tmp/ips echo ".tmp/ips" } list_inst() { euca-describe-instances | grep ami-00000200 }
072ec36bc53dc20435bce5541f40ba4cc86191a8
53
#!/bin/bash mkdir /tmp/shared chmode 777 /tmp/shared
d46687e5e29a2703b300e81c33cf87d22aebaa2e
354
#!/bin/bash source /home/tsdavis/.bash_profile error_file="paste_scores_error.log" stdout_file="paste_scores_stdout.txt" this_script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" qsub -N paste_cluster_motif_scores -m ea -M ${USER}@stanford.edu -w e -e $error_file -o $stdout_file -wd $(pwd) -l h_vmem=10G ${t...
b073fce057b4ec8b85fcc0fc188ba68616dc7e56
4,627
#!/bin/bash # nginx force https on Dual URL scriptversion="1.0.2" scriptname="nginxhttps" # # wget -qO ~/nginxhttps.sh http://git.io/A34SpA && bash ~/nginxhttps.sh # ############################ ## Version History Starts ## ############################ # # v1.0.2 template updated # ############################ ### Vers...
55a274442fa19ff0e2ac301cac56801f5b4a444e
2,411
#!/usr/bin/env bash cd /home/andrew curl -O https://dl.google.com/go/go1.11.linux-amd64.tar.gz sudo tar -C /usr/local -xvzf go1.11.linux-amd64.tar.gz echo "export GOPATH=$HOME/go" >> ~/.profile echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile source ~/.profile go get -v github.com/Lusitaniae/apache_exporter sud...
6ca3ae71613c1f7722af4763766bb52e5ce979e4
158
#!/bin/bash #MODES = -r: run , -d: dry-run MODE=-d #node app.js $MODE poolreb -p POOL500G:DC -i 20 -l 20 node app.js $MODE poolreb -p POOL500EF:GH -i 20 -l 20
8f60140a6b29ef540a5205839efbd952a36b0a0c
215
genomeFolder=/media/harddrive/data/genomes/ncbi_caseiGroup_plus_isolates_fna/ quastPath=/media/harddrive/tools/quast-4.3/quast.py python $quastPath -o qc_quast_allGenomes_results --threads 6 ${genomeFolder}*.fna*
e75d360ea0117f0fb9b6a701a1ecec0c47ee8d04
7,943
#!/bin/bash -e # Copyright (c) 2016 Cisco and/or its affiliates. # 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 appl...
cfed106e29e7e277e2bca3491ee585fee45a02eb
1,041
#!/bin/sh set -eu PATH=/usr/local/bin:$PATH usage="usage: $(basename $0) [-av] [-s size] [-t .ext] [-n subname] style fontfile" subname="" while getopts n:s:t: OPT do case $OPT in s) size=$OPTARG ;; t) type=$OPTARG ;; n) subname=$OPTARG ;; *) echo $usage >&2; exit 2 ;; esac done siz...
cf8e3180bfdec409524a33f1055582800d9e0287
354
#/bin/sh read -p 'Action: ' dbR_action read -p 'Database: ' dbR_database read -p 'User: ' dbR_user read -sp 'Password: ' dbR_password read -p 'Schema: ' dbR_schema echo $dbR_database echo $dbR_user export dbR_action=$dbR_action export dbR_database=$dbR_database export dbR_user=$dbR_user export dbR_password=$dbR_passw...
089e0a6c56095689f36ae8e10bc925fb03e49ff3
340
#!/usr/bin/env bash function test_mysql { mysqladmin ping -h ${MYSQL_HOST} --silent } echo "Waiting for ${MYSQL_HOST} to become ready" count=0 until ( test_mysql ) do ((count++)) if [ ${count} -gt 1200 ] then echo "Services didn't become ready in time" exit 1 fi sleep 0.1 done...
88f7ca0b3a0314b8c8f4cfa5d5a1725bbd8d0764
235
#!/usr/bin/env bash #SBATCH -J GRU_S3_Firebusters #SBATCH -o results/o_stage4_gru.txt #SBATCH -e results/e_stage4_gru.txt #SBATCH -p gpgpu-1 --gres=gpu:1 --mem=100G #SBATCH -t 10080 #SBATCH -s #SBATCH -n 32 python master_stage4_gru.py
17fc2336283af33ecf9d3146afaec1b700fb3bcc
178
# app info APP_URL=http://localhost:3005 # api info API_URL=https://gateway.marvel.com/v1/public API_PUBLIC_KEY=11111111111111111111111111 API_PRIVATE_KEY=22222222222222222222
2c84c2d7d98fbf4245a5807cbbbbb103a4105739
63
MNEMONIC_PHRASE="//Alice" PINATA_KEY="XXX" PINATA_SECRET="XXX"
86e4e501d9c4fdc2fd81e30f49ac3bec6fd2c42f
775
# Environment for uwlogin.cern.ch echo $HOSTNAME|grep -q 'uwlogin.cern.ch' || return if [ -f /etc/bashrc ]; then . /etc/bashrc fi if [ -f /cms/setup/bashrc ]; then . /cms/setup/bashrc fi if touch a 2>/dev/null; then rm a else echo "AFS Credentials expired; running kinit && aklog" kinit -l 30d ncsmith@CE...
b747f137af8663d0d6e5f2a98bf7843a704ff84d
644
#!/bin/sh CHANNEL=39 make || exit -1 function program { if [ -c $1 ]; then if [ "$3" == "clock_master" ]; then ARGS="--no-sleeping" fi make install SERIAL_PORT=$1 && ./pyaci/configure_sensor.py --channel $CHANNEL $ARGS -d $1 $2 if [ "$3" == "clock_master" ]; then ./pyaci/set_time.py -d ...
671c4f8a9e1be8510983e3b4bcf421d307f7ae5e
198
#!/usr/bin/env bash if [ "$1" = "-b" ] then docker build -t fake_news_datasets_image . fi docker run -it --name fake_news_datasets --rm -p 8888:8888 -v $(pwd):/project/ fake_news_datasets_image
9cf8950508d5ad511e5f6cd47e06d74d77d626eb
989
set -e # Where the pre-trained InceptionV3 checkpoint is saved to. PRETRAINED_CHECKPOINT_DIR=/Users/gaoyufeng/毕设/code/check_point # Where the training (fine-tuned) checkpoint and logs will be saved to. TRAIN_DIR=/Users/gaoyufeng/毕设/code/train_dir/inception_v3 # Where the dataset is saved to. DATASET_DIR=/Users/gaoyu...
00e736809a29f5e47eb984f500cf854c4eb46b77
60
#!/usr/bin/env bash set -e celery -A config worker -l info
f3601c2af3c07b9624a9c9842641c334c65c7847
36
#!/bin/bash python3 Xiaomi_Scale.py
ecdc34aea5590c99ae8b88f031ea43c080e85bac
36
socat -u udp-recv:12312,reuseaddr -
7a874235f816baafa966e47a5abe256bc57e5255
176
#!/bin/bash pid='0'`ps -ef | grep tomcat | grep org.apache.catalina.startup.Bootstrap | awk '{print $2}'` [ $pid -ne 0 ] && kill -9 $pid sudo /usr/local/tomcat/bin/startup.sh
166f6417dc28e25b37d81fb5447a2df0cb8b56be
811
#!/bin/sh set -e if [ -f /opt/binaries/HYBRIS.zip ]; then echo "Unzip Binaries" unzip /opt/binaries/HYBRIS.zip -d /opt else echo "No Binaries HYBRIS.zip Found" exit fi echo "Set Up Hybris" cd $PLATFORM_HOME ant clean all production -Dproduction.legacy.mode=false echo "Wait For Docker" success="" whil...
85afb92c9d1696aec3d39a16eed6f902af6b5a15
976
#!/bin/bash mkdir -p ~/dotfiles/backups if [ -x "$(command -v apt-get)" ]; then sudo apt-get update else if [ -x "$(command -v brew)" ]; then brew update fi fi if [ ! -x "$(command -v tmux)" ]; then if [ -x "$(command -v apt-get)" ]; then sudo apt-get install tmux else if [ -x "$(command -v brew)" ]; then...
eeefa07fcb2eb96df4689532caa6b791d1067a3e
1,157
#!/bin/sh pybind11-stubgen -o stubs --no-setup-py irspack.recommenders._ials rm irspack/recommenders/_ials.pyi echo 'm: int n: int from numpy import float32 ' >> irspack/recommenders/_ials.pyi cat stubs/irspack/recommenders/_ials-stubs/__init__.pyi >> irspack/recommenders/_ials.pyi pybind11-stubgen -o stubs --no-setup...
20f54e927e814ebeae9b768a51ef1bdfb6852918
78
../stanford_enhancer.sh ../data/enhanced/UD_Spanish-GSD/es_gsd-ud-test.conllu
e9afb773c5313dd0ff40dda015deaaa4fa5ef97d
5,063
source ./env.sh mkdir -p certs cd certs # CA { cat > ca-config.json << EOF { "signing": { "default": { "expiry": "8760h" }, "profiles": { "kubernetes": { "usages": ["signing", "key encipherment", "server auth", "client auth"], "expiry": "8760h" } } } } EOF cat > ...
b86e9985528e47f2b79800763e8505c8f4458dee
120
cd /var/www/html/ rm index.html cd /var/www/html/spare/119/ sudo cp /var/www/html/spare/119/index.html /var/www/html/
f53ff9ed8d6aa96049ebd7ae763ac10dc2483bd4
1,518
#!/bin/bash WORSE="0" BEST="16777216" COUNTER=$1 SUM="0" ERROR="0" if [[ $# -ne 3 ]] then echo -e "You need 3 params\nscript [cycle start] [cycle_end] <champion.cor>" exit; fi if ! [[ "$1" =~ ^[0-9]+$ ]] then echo -e "your param 1 \"$1\" is not integers" ERROR="1" fi if ! [[ "$2" =~ ^[0-9]+$ ]] then echo -e "your...
04637293fbdc3466b41a00ac0e7d42ab1dbdadf4
75
#!/bin/sh . "$HOME"/apps/pub/home/xinitrc common_init init_as_configured
5577e47240813e653399220636e24df1fa04edd4
67
#!/usr/bin/env bash sudo -u vagrant -i bash /vagrant/bootstrap.sh
5a2b492bf2841a2ba84104f685405573b85b3637
450
#!/bin/bash CUR_DIR=$(dirname "$0") source $CUR_DIR/set_env.sh IMAGE_NAME=$DATA_PATH/cam/01_00000.png DEPTH_NAME=$DATA_PATH/depth/01_00000.png FLOW_X_NAME=$DATA_PATH/flow_x/01_00000.png FLOW_Y_NAME=$DATA_PATH/flow_y/01_00000.png SEG_NAME=$DATA_PATH/segcls/01_00000.png python $CODE_PATH/test_data.py --data_path=$DATA_...
2342f9a3f9639c3ed8fe0c4ee3186337a4e60beb
133
# https://www.hackerrank.com/challenges/bash-tutorials-display-the-third-element-of-an-array/problem array=($(cat)) echo ${array[3]}
02793b095cad1c771c5a6112615519e7346f174a
288
#!/bin/bash export DISPLAY=:0 export `dbus-launch | grep ADDRESS` jackd -d alsa -d hw:M1010LT_1 -r 44100 & sleep 2 alsa_in -d alsa -d hw:M1010LT -r 44100 -c 10 & alsa_out -d alsa -d hw:M1010LT -r 44100 -c 10 & cd /var/www/strand/; python dooropener/doya/tools/runscript.py pleasehold.py
d2c6fa883fc22c0f9ffbca64ac2ab2e58b3ebd14
2,694
#!/usr/bin/env bash # bin/compile <build-dir> <cache-dir> <env-dir> set -eo pipefail if [[ -n "${BUILDPACK_DEBUG}" ]]; then set -x fi readonly build_dir="${1}" readonly cache_dir="${2}" env_dir="${3}" readonly java_version="${JAVA_VERSION:-1.8}" readonly webapp_runner_version="${JAVA_WEBAPP_RUNNER_VERSION:-${WEBA...
47e3677fc165d09c343e51397c66a5cfa1bcb603
1,101
#!/usr/bin/env bash gulp clean gulp release mv www www_back mv release/www www ionic plugin rm cordova-plugin-console #多渠道-开始 mkdir ./tmp mv ./platforms/android/AndroidManifest.xml ./tmp/ echo '' > release.log for version in 'YingYongBao' 'Test' do cp -f ./tmp/AndroidManifest.xml ./platforms/android/ sed -i -- "...
f3bea97ea2f12b24d43c7500670dcc8bedb8bac0
52
#!/usr/bin/env bash yum install mailx -y || exit 1
3adf26568e6787fb10112cbab3fcfeabc75a3567
266
#!/usr/bin/env bash length=${1:-1MB} nproc=1 ( time -p mysomaticsniper -r $REFSEQ \ -1 $length/Mix1A-$length.bam \ -2 $length/Mix3A-$length.bam \ -a Mix1A \ -b Mix3A \ -o $length/${nproc}proc/ ) 1>&$length/${nproc}proc/somaticSniper-run.time &
12aeec748101e4c4d1be27e5bc2c42d1587d3a06
605
## upload file to google storage file_path=$1 num_speakers=$2 rm -f speaker_windows rm -f word-time-offsets gsutil cp $file_path gs://tamu-nduseja-ds/ file_name=`basename $file_path` gs_storage_path="gs://tamu-nduseja-ds/$file_name" python transcription/transcribe_word_time_offsets.py $gs_storage_path & python3 diariza...
c60ac7e65ccaa3571cc0b5a32efd8c24cc834dd1
453
#!/bin/bash . ../utils/gdownload.sh . ../utils/conditional.sh # this section is for downloading the trained_model_weights.tar # md5sum for the downloaded trained_model_weights.tar should be 0dde61f0b520ae9c17c9aae6dcc64b55 echo "downloading trained_model_weights..." gdownload 1n6zg5Bkj5FzSHpRbJdzlUkSVDtmjgobm trained...
2ef91bca30de503aac1b75e7aba5770673dd226d
115,597
#!/bin/bash #SBATCH --partition=he2srvMediumP #SBATCH --time=2000:00:00 #SBATCH --nodes=1 #SBATCH --ntasks=1 #SBATCH --cpus-per-task=1 #SBATCH --job-name=p_3941 #SBATCH --error=/home/comparat/software/linux/firefly_explore/bin/bin_spectra/plot_result_file_run_dir/p_3941.err #SBATCH --output=/home/comparat/softw...
8d94b6eaee46046900ace61ea3c6d84a26b1933e
147
$XSB/bin/xsb -e "[etalis], set_etalis_flag(output_temporary_files,on), compile_event_file('test_01.event'), execute_event_stream_file('events')."
ea0e7425d2e25b2d1f4e49516606d271358d3fe6
316
sudo apt-get install -y software-properties-common sudo add-apt-repository -u ppa:lightningnetwork/ppa sudo apt-get install lightningd snapd sudo snap install bitcoin-core sudo ln -s /snap/bitcoin-core/current/bin/bitcoin{d,-cli} /usr/local/bin/ # Return a p2sh-segwit address lightning-cli newaddr p2sh-segwit
71190942620f5d91997395625ed67045eea9fe26
115
#!/bin/sh for i in $(git for-each-ref --format='%(refname)' refs/heads/ | grep master -v); do basename $i done
1ef309fc96f0edb2b7c849b55edf0d037fb89904
577
#!/bin/bash # Backup Nginx \cp -fr /etc/php.ini /home/config/php.ini \cp -fr /etc/nginx/nginx.conf /home/config/nginx/nginx.conf \cp -fr /etc/nginx/sites-include/* /home/config/nginx/sites-include/ \cp -fr /etc/nginx/sites-enabled/* /home/config/nginx/sites-enabled/ # Backup supervisor \cp -fr /etc/supervisord.con...
db184278e7df73e1d7b5e8518f5b4284d5f5996c
4,643
#!/bin/bash function pause(){ read -p "$*" } function urlify(){ local str=$1; shift str=$(echo $str | sed 's= =%20=g') str=$(echo $str | sed 's=/=%2F=g') str=$(echo $str | sed 's=:=%3A=g') URLIFIED=$str } function menu(){ PS3='Please enter your choice: ' options=("Jenkins" "Webapp" "Tomcat" "Ansible"...
2bd8163f5a1fcd759e6c2f1fb253eede47193ac9
1,772
#!/usr/bin/env bash set -euo pipefail # @see: http://wiki.bash-hackers.org/syntax/shellvars [ -z "${SCRIPT_DIRECTORY:-}" ] \ && SCRIPT_DIRECTORY="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" SCRIPT_DIR=$(dirname "${SCRIPT_DIRECTORY}") PROJECT_DIR="/vagrant" SCRIPT_DIR="${PROJECT_DIR}/_scripts" # ...
d6a1f59aa2ca3b4293912b0ca63791e3a2ff575c
219
cd /compiler st=$(date +%s%N) bash $1.bash < /testrun/program.txt 1> /testrun/stdout.txt 2> /testrun/stderr.txt echo $? > /testrun/exitcode.txt ed=$(date +%s%N) dt=$((($ed - $st)/1000)) echo "$dt" > /testrun/time_us.txt
d79e60ed7830dadf4dcaf9eabeed65349c596762
38
pipenv run ampy --port /dev/ttyUSB0 ls
26abda6531ee08c6f50adb3d5c462f2eebb31423
800
#/usr/bin/env bash # Read in a csv file, # strip empty lines # convert to lowercase # replace endings with \r\n for f in "$@" do input=$f; file="$(basename "${input}")"; dir="$(dirname "${input}")"; output=$dir/modified_$file; temp="$dir/temp.csv"; touch "$temp"; # remove empty lines awk -F, 'length>NF+1' "...
1db6b7d0ce326a3b8be47514c5e571e5bb6eb56b
1,583
#/bin/bash touch weather.csv echo "state,city,weather,temperature,humidity,pressure" > weather.csv while true; do NY=`date '+%Y-%m-%d-%H-%M-%S'`-NY.html `touch ${NY}` echo `curl -L https://forecast-v3.weather.gov/point/40.78,-73.97` > ${NY} #NY, New York `java -jar tagsoup-1.2.1.jar --files ${NY}` CA=`date ...
53d45e9c825698b5c1ad965f10f5dde9817b183d
28
This is for github practice
14eb0af2b2384f8df4abbb05b88bf6e9c19eb505
1,389
#!/bin/sh -e if [ -n "${HELM_LINTER_PLUGIN_NO_INSTALL_HOOK}" ]; then echo "Development mode: not downloading versioned release." exit 0 fi version="$(sed -n -e 's/version:[ "]*\([^"]*\).*/\1/p' plugin.yaml)" echo "Downloading and installing helm3-monitor v${version} ..." url="https://github.com/yq314/helm3-m...
0bed3b8db985658c344fa45d79c12692b2ff9309
50
local_database_path=./docker/data/wordpress.sql
95ca46bf0b9250960c1edbd4b3719cd6bc594ba8
1,624
#!/bin/bash #see nrn/howtomingw set -x # in cygwin terminal in neuron/nrn if test "x$OSTYPE" = "xcygwin" ; then cd /cygdrive/c/msys64/msys/home/hines/neuron/nrn sh hg2nrnversion_h.sh > src/nrnoc/nrnversion.h cat src/nrnoc/neuron.h > tmp.c cpp -Isrc/nrnoc -Isrc/oc tmp.c | sed '/^#/d' > neuron.tmp python src/oc/mk_hoc...
261c9477542a49786f2e99494aa24b50dd887328
87
#!/usr/bin/env bash yarn workspaces run clean npx lerna clean --yes rm -rf node_modules
2cc4a05902542c153976c2504fbc1ba7727e63fa
97
ATLAS_URI=mongodb+srv://dbuser:dbuser@cluster0.ks90m.mongodb.net/MERN?retryWrites=true&w=majority
d4bd5494d4dc55f21294d4db6503d26375f8a6ce
459
#!/bin/sh /etc/rc.common START=40 USE_PROCD=1 PROG=/bin/poe.lua service_triggers() { procd_add_reload_trigger poe } start_service() { [ "$(uci get poe.poe.enable)" -eq 1 ] || return 0 local budget=$(uci get poe.poe.budget) procd_open_instance procd_set_param command "$PROG" procd_append_param command ${budge...
8508b826cc29cf051474c2451de2bd05392fa980
140
#!/bin/bash NEW=`/usr/local/bin/notmuch new` if [ "$NEW" != 'No new mail.' ]; then echo $NEW | growlnotify 'Mail Changed'; fi echo $NEW
1f8782337e38dff7e2376b46a193b6e80358e079
716
#!/bin/bash #developed by Dost Muhammad Shah # github.com/dmsherazi # Reboots spa3000 by finding them using arp-sacn # the script serches for cisco lynksis OUI 00:18:f8 ,00:18:39 and 00:14:bf # This script should work with paswword protected SPA3000 as well. # Tested with SPA 3000 with the following Software & Har...
bc6a381a94050869b69770a3c5c3486d4aabe51d
1,489
# Enable aliases to be sudo’ed alias sudo='sudo ' # Others alias aux='ps uax' alias brwe='brew' alias edithosts='sudo vim /etc/hosts' alias c='pbcopy' alias copy='pbcopy' alias copy_ssh_key='xclip -sel clip < ~/.ssh/id_rsa.pub' alias count_files_recursive='find . -type f -print | wc -l' alias count_files_recursive_per...
7cb7fbd58c44d34d679f262fd21fd4cf0060ed0c
549
# https://github.com/ddollar/forego ASSET_HOST=localhost:3000 APPLICATION_HOST=localhost:3000 PORT=3000 RACK_ENV=development RACK_MINI_PROFILER=0 SECRET_KEY_BASE=development_secret EXECJS_RUNTIME=Node SMTP_ADDRESS=smtp.example.com SMTP_DOMAIN=example.com SMTP_PASSWORD=password SMTP_USERNAME=username WEB_CONCURRENCY=1 ...
b92edabab70f5f483a96e2748a7d6ce7507ee3a4
229
# Try changes with `source ~/.bashrc` # Change command defaults alias du='du -ah -d1 | sort -hr' alias ls='ls -va --color' # Vim ## Use as default editor export EDITOR='vim' export VISUAL='vim' ## Use hotkeys on CLI set -o vi
9baa960ee51432a2455d6724f43009249e22fc7a
4,273
#!/bin/sh echo -e "Content-type: text/html"\\r echo -e ""\\r echo -e "<HTML><HEAD><TITLE>Sample CGI Output2</TITLE></HEAD><BODY>"\\r . /usr/libexec/modules/modules.conf PASSWD=/etc/passwd CONF_PATH=/etc/sysconfig/config SMB_SHARES_CONF=${CONF_PATH}/smb/shares.inc SMB_HOST_CONF=${CONF_PATH}/smb/host.inc IFCFG=${CONF_PA...
17533e1a056de3ebc44e58b02c4ccbbb270e4301
335
readonly IMAGE_NAME=quay.io/alexanderfefelov/mariadb-replication readonly ROOT_PASSWORD=password readonly MASTER_SERVER_ID=42 readonly MASTER_CONTAINER_NAME=mariadb-master-$MASTER_SERVER_ID readonly MASTER_PORT=10000 readonly SLAVE_SERVER_ID=24 readonly SLAVE_CONTAINER_NAME=mariadb-slave-$SLAVE_SERVER_ID readonly SL...
fb84e5e9e744c51465a4443c1e2d38b726558953
102
長老教會退休牧師前玉山神學院教授 陳南州 https://www.youtube.com/watch?v=bX-IudgcH4g
024f837ebcc39774249ffa9d5c50a34475790a74
18
echo "I am v6821"
a1dbecd23f7a1ace12867a15b8b44c77e956408d
159
git clone https://github.com/hasanatkazmi/provenance-stats.git cd provenance-stats/setup ansible-playbook -K -i localhost ubuntu.yml bash buildscripts/init.sh
02c9d2cc95730240b0c28df12df8625c46e2564e
96
#!/bin/sh rpmbuild --define 'dist .apnscp' --define "_topdir `pwd`" -ba SPECS/mod_security.spec
c14449d999dadd40634cea7e52e12c07e33c759f
77
SECRET_KEY=django-insecure-&-ece(29xgzec8)r^7*s&x-i4lb7(f+!7m=rm(#fqz@jenf-if
cd6bc8c79bc5d5bfedeb89401a8fc3aafa8544dd
68
docker run -it --rm -v $PWD:/src jekyll/jekyll jekyll build -s /src
5684edfb6753072593503fcc28f8a08e02b58b81
181
echo echo "Installing iOS tools" brew install watchman sudo gem install cocoapods brew install --cask adoptopenjdk/openjdk/adoptopenjdk8 #deployment tools brew install fastlane
4e427017f02c663df4c5cbd79524de4e00c6b716
290
for file in cpu/* do #file=${file#*/} mv "$file" "cpu/"$RANDOM\_"${file#*/}" #echo $file done for x in gpu/* do #file=${file#*/} mv "$x" "gpu/"$RANDOM\_"${x#*/}" #echo $file done for y in apu/* do #file=${file#*/} mv "$y" "apu/"$RANDOM\_"${y#*/}" #echo $file done
cc5327fc7a5ab49359c86d6bb4e899a74722db96
941
# Maintainer : Lenin Lee <lenin.lee (at) gmail (dot) com > # Contributor: LUO, Jian <jian (dot) luo (dot) cn (at) gmail (dot) com > # Ivan Sichmann Freitas <ivansichfreitas (at) gmail (dot) com> pkgname=python2-pyclewn pkgver=1.11 pkgrel=1 pkgdesc="A python2 version of gdb support for vim" license=('GPL2'...
e421f92a1905ee44b0434721d4e78ccc08dc5997
141
#!/bin/bash ffmpeg -i V_20200405_101037.mp4 -vsync 0 "colorframes/%03d.png" ./color_to_bw colorframes/* mkdir bwframes mv *.png bwframes
d1035036dc13ff34d393ced101a5f1881de4aa0a
6,373
#!/bin/bash set -e ################################################## command -v gpg gpg --version #TODO check ≥2.1.17 ################################################## GPG_USER_ID='samboosalis@gmail.com' ################################################## gpg --full-generate-key #############...
8591418468dfc14cf6c408cab34be4f324a29dfa
445
#!/bin/sh -f iflag=`grep "IFLAG" icepack.runlog.191215-114747 | cut -f 2 -d"=" | sed 's/ //g'` echo "iflag= $iflag" if [[ $iflag -eq 0 ]] then echo 'iflag=0' echo 1 >> iflag.txt sed -n "` grep -n "FINAL POINT X=" icepack.runlog.191215-114747 | awk -F ":" '{print $1}' `,+1p" icepack.runlog....
adba549ebce4b018267a0654f3a3cff25223c9c2
6,863
#!/bin/bash #SBATCH --mail-user=prichmond@bcchr.ca #SBATCH --mail-type=ALL ## CPU Usage #SBATCH --nodes=1 #SBATCH --cpus-per-task=8 ## Output and Stderr #SBATCH --output=%x-%j.out #SBATCH --error=%x-%j.error ########## # Set up # ########## # open up scratch sudo chmod ugo=rwx -R /scratch/ ########## # Part 1 #...
9e4ca43c7c08bf3addc52d16bec23c732442f507
372
#!/bin/bash #PBS -q secondary #PBS -l nodes=1,flags=allprocs #PBS -l walltime=00:30:00 #PBS -N gs1_a_Ndet2_gsw0.0_38 #PBS -e gs1_a_Ndet2_gsw0.0_38.perr #PBS -o gs1_a_Ndet2_gsw0.0_38.pout module load openmpi/3.1.1-gcc-7.2.0 module load intel/18.0 cd ${PBS_O_WORKDIR}/run1a/ mpiexec ../../../../mainline/bin/qwalk gs1_a_N...
4552eab14b53d3e1e1bdd0b378a55cf2d63b6c20
68
module load R R --vanilla < APsFunctionGSEA.R > APsFunctionGSEA.txt
7748f62f15a42b2f00b651d2da39a393e6780cea
40
brew install circos brew tap brewsci/bio
0f4083bf4cbcee9cbd51a1e1d50f76d7334445bc
116
REACT_CHAT_ENGINE_KEY=1edcfeda-6148-4174-9279-0affc5ec9576 REACT_CHAT_ENGINE_ID=3c457e94-c53d-4121-a096-4ccf67d75979
5689db4d464bb8cafdfadf738c06643fa8b76f2b
84
#! /bin/sh num=$(checkupdates 2>/dev/null | wc -l) [ "$num" -ne 0 ] && echo "$num"
16ebb940228fc75241731d8c4ed8a792bdd9a090
810
#!/bin/bash # Installs requested version of PostgreSQL for requested Ubuntu version. Allows connection to PG from anywhere. VERSION=$1 BASEDIR=$(dab basedir) UBUNTUVERSION=$(dab exec lsb_release -c -s) echo $UBUNTUVERSION echo "deb http://apt.postgresql.org/pub/repos/apt/ $UBUNTUVERSION-pgdg main" | tee $BASEDIR/et...
4ba82c2259d2995acd55d1f16e725f5c4a800faa
241
#! /bin/bash scripts=`dirname "$0"` base=$scripts/.. samples=$base/samples python3 $scripts/mbr_decoding.py \ --inputs $samples/toy/toy_samples.{1..100} \ --output $samples/toy/mbr \ --utility-function sentence-chrf-symmetric
7337078495b90e3eeb7bc8107402730352d83371
967
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - && \ sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list' && \ sudo apt-get update && \ sudo apt-get -y install openjdk-7-jdk maven libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1 ...
3f5db9090b4a74736047156c0549c577608045d8
82
#!/usr/bin/env bash # Kill task 4 other way pkill -15 -f 4-to_infinity_and_beyond
e02ec280249d5377c153422ca28b9f778a9b826e
17,962
#!/bin/sh # Copyright (c) 2018 Andy Kosela. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of condition...
76559a8b754662a8b50bd2496ff7401994a92a90
5,558
#!/usr/bin/bash function sudoAdmin { sudo -i } function hadoopUser { useradd hadoop echo -e "hadoop" | (passwd --stdin hadoop) } function installTools { yum install -y java-1.8.0-openjdk-devel sshpass cat > /etc/hosts <<EOF 192.168.92.10 nodemasterx 192.168.92.11 nodea 192.168.92.12 nodeb EOF } function sshke...
aafdb673f7e2d3d9574cc64d3206d6d3c66e78fc
63
#!/bin/bash urxvt -fg black -bg white -name vim_z +sb -e vim
1c63d5302d21477cc08fe977c73e7e9aa6c7ff60
55
#!/bin/sh cd /Users/robert/Dropbox/perl-rss lein run
272fd256618f33f416fe9782c951835077a26ae4
228
# $Id: fix-ids.sh,v 1.3 2009-07-01 19:03:34 nicm Exp $ for i in *.[ch] tmux.1; do (head -1 $i|grep '$OpenBSD' >/dev/null) || continue mv $i $i~ || exit sed 's/\$OpenBSD.* \$/$\Id$/' $i~ >$i || exit echo $i done
365f2a702f569b087fbac8069b74ebca51b279b8
263
#!/bin/bash if [ $1 == "post" ]; then curl -i -H "Accept: application/json" -X POST -d @$3 http://$2:80/nsd_licenses elif [ $1 == "get" ]; then curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://$2:80/nsd_licenses fi
250f06619058888296f79b4ea91fd31ef12a63d8
228
#!/bin/bash DEPS="ghc-mod hasktags codex hscope pointfree pointful hoogle stylish-haskell hindent hdevtools" RESOLVER="lts-8.20" for dep in $DEPS; do printf "install %s\n" $dep stack install --resolver $RESOLVER $dep done
ddc0f246eaab84450dc21b88a4d09c302327ffd0
372
./summarizedp_cv.py prep data_postproc/Chabo_20110324_20110327_A_cvdp.pk data_postproc/Chabo_20110324_20110327_A_frates.pk ./summarizedp_cv.py prep data_postproc/Chabo_20110324_20110327_M_cvdp.pk data_postproc/Chabo_20110324_20110327_M_frates.pk ./summarizedp_cv.py prep data_postproc/Chabo_20110324_20110327_P_cvdp.pk...
167048a4dc05382d78ea36e8e8f03eb342e6e1c0
575
#!/bin/bash if [[ ! -z $1 ]]; then if [[ ! -z $2 ]]; then if [[ ! -z $3 ]]; then docker run --name $2 --privileged=true -v $(pwd):/sources -w /sources --shm-size=1g -it $1 /bin/bash else docker run --name $2 --privileged=true -v $(pwd):/sources -w /sources --shm-size=1g -it -...
5133c7beb11b1658efc358839b117622474bb458
1,256
alias l='ls -lah' alias la='ls -hlap --color' alias ls='ls --color' alias ch='./configure --help' alias configure='configure --cache-file=/tmp/config.cache' alias e='mcedit' alias counter='wine --winver winxp -- hl.exe -console -game cstrike' alias OFF='/sbin/halt ; logout' alias Man='pinfo -m' alias ..='cd ..' alias ....