blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
316b4328c42dc953fb46fc88121fe67f21f7b1c4
34
TRANSPORTER=redis://localhost:6379
3bf3bf062e73c072bba4bf90cd55a3e848073412
931
#!/bin/sh DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" rm -rf $DIR/bins mkdir $DIR/bins/ mkdir $DIR/bins/server/ mkdir $DIR/bins/ida-plugin/ cd $DIR/../../kam1n0 echo $DIR/../../kam1n0 mvn -DskipTests clean echo Exit Code = $? if [ ! $? -eq 0 ]; then cd $DIR echo maven build fa...
c7680a82da99048d9640f30a05425db690347cf5
553
#!/bin/bash # This requires that you have a Steam API key exported to a variable named "STEAMKEY" # Loops through all lines in input file (first argument - one appid per line), gets the player count, # then add it to a string containing appid:count pairs separated by a comma. I don't care to remove the last comma wh...
be8285c5355dbcb0bed0918a1c13120d75cc86fe
277
prefix=$1 GPU_ID=$2 export CUDA_VISIBLE_DEVICES=${GPU_ID} python -u ./tools/test_net_corloc.py \ --dataset pascal_voc_2007 \ --imdb voc_2007_trainval \ --net vgg16 \ --checksession 1 \ --checkepoch 18 \ --checkpoint 5010 \ --cuda \ --load_dir output/${prefix}
ec5e3f9fb2612c9a622197cda1af2e9e1fe7e365
87
#!/bin/bash # Displays the body of the response from a indicated URL curl -sL GET "$1"
d1be125bbfbc14fbd3e0c095817f6e99e1e9035d
114
#!/bin/bash function usage() { echo "usage: $0 <wlf file>" exit 1 } [ -f $1 ] || usage cd build vsim ../$1
b9c574c444aff3646b5cb03dbe07042e817b73a1
156
#!/bin/bash (source!) # # vpn tcp client # inherit service.openvpn conf=/etc/openvpn/client.c1tcp.conf pid=/var/run/openvpn.c1tcp.pid # as per conf file
4364bf1895968e16be5732a69d0071e058be8cd0
1,146
#!/bin/zsh # # Stolen from holman's dotfiles: # https://github.com/holman/dotfiles/blob/8d4881a5adec944b3a8dea1e769a3cbdd7e7bbb6/script/install cd "$(dirname $0)"/.. export DOTFILES_ROOT=$(pwd -P) export ZSH="$DOTFILES_ROOT/vendor/.oh-my-zsh" export ZSH_CUSTOM="$DOTFILES_ROOT/zsh/oh-my-zsh" source $DOTFILES_ROOT/uti...
a13b702d765384a47f16fd8a3387ec6f0276a12f
153
#!/usr/bin/env bash thisdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" pushd "${thisdir}" >/dev/null 2>&1 python create.py popd >/dev/null 2>&1
586e6a3fe6e4053ef4be0e77e25f602bce8a18f5
1,193
#!/bin/bash set -e if [[ -z ${storagepath} || -z ${mysqlhost} || -z ${mysqlport} || -z ${mysqlpassword} ]]; then echo \"storagepath mysqlhost mysqlport mysqlpassword must be offered.\"; exit -1; fi nowtime=`date +'%Y-%m-%d_%H_%M_%S'` # mysql for simpleDb in `mysql -h${mysqlhost} -P${mysqlport} -uroot -p${mysql...
328edf4c64b47803150e84d529daccdaeea097ae
3,022
#!/bin/sh # Build, tag and push docker image for the release cycle. # This is the job run in Jenkins as part of jobs 1_release-start and 2_release-update in # Jenkins folder TapisJava->2_Release-Service-<service> # RC version must be the first and only argument to the script # Existing docker login is used for push #...
cf3c1aad947ac11c13f622853b39e45721df60fc
84
#!/bin/bash BASEDIR=$(dirname "$0") cd $BASEDIR/.. serverless logs -f txt2speech -t
19648c5f2fb043a93c0cdb63433256cfec114406
270
#!/bin/bash # this script will be executed on php-fpm container start # in order to run laravel migrations, so you don't have to mysql -h mysql -u $DB_USERNAME -D $DB_DATABASE --password=$DB_PASSWORD -e 'SELECT version();' && \ cd /var/www/ && \ php artisan migrate
49e46b2b055a5a4b0f0a3e9c3a79bec879ac8843
3,087
#!/bin/bash # Description: Run this script to automate the process of building Hokusai # review application for Force. It draws upon Artsy's existing review app # documentation: # https://github.com/artsy/hokusai/blob/master/docs/Review_Apps.md and # experiences trying to set up review apps! # USAGE: $ ./scripts/buil...
0ec7bf343ab5ec041c9d5505b50fdb0db4cbb2cf
6,470
#!/usr/bin/env bash ###### # setup.sh # # Sets up infrastructure for a continuously-built and deployed container-based # web app for Azure App Service. # # $1: image_name: Name of image (aka repo) to use or create. Defaults to # $IMAGE_NAME. # $2: image_tag: Name of image tag. Defaults to $IMAGE_TAG # $3: repo_url...
e6057b6d86ebb4796ea1b867f9cd7e819553d06c
11,175
###############Variable Description################ ### hdfs -> namenode of the hadoop cluster where the copy should happen ### script_host -> The Util Box where the Cerebro Copy scropt is stored ### schema -> Database of the table being copied ### table -> Table being copied ### inc_key -> partition key of the ta...
a042059f8ba7abd6c0540243a2eedadd391da1e8
115
#!/bin/bash gq=$(sed 's/ /+/g' <<< "$*") osascript -e "tell application \"Safari\" to search the web for \"$*\"";
1fdaf960b4894dac68888cc77e0f32235e1075ff
135
#!/bin/bash # set -o pipefail cat | xsltproc --html xml2rdf3.xsl - | ./apache-jena-3.17.0/bin/riot --syntax=rdfxml --formatted=turtle
ebf418a61b9efd96b880c29ed892807b037f064a
318
#!/bin/bash file_path=$1 if [ -z ${file_path} ]; then echo "Please specify file path" exit fi ext_name=${file_path##*.} file_type="" case $ext_name in "mp4" | "avi") file_type="video" ;; "jpg" | "bmp" | "png") file_type="image" ;; * ) file_type="unknown" ;; esac echo $file_type
3c29e8b1719f10b51b060a5dc3184688ef79ea11
66
#!/bin/bash curl https://get.acme.sh | sh source ${HOME}/.profile
01a5b08c4f5b1f313ead0961bc6bdb953c3935cf
52
#!/usr/bin/env bash node authproxy-testserver.js &
b7212ca6cb12f139b2e2812a739735348d249996
434
#!/bin/bash formatters=(clang-format clang-format-7) for f in "${formatters[@]}" do if command -v "${f}" &> /dev/null then format=$f break fi done if [ -x "`which clang-tidy`" ]; then find . -name "*.h" -or -name "*.c" -or -name "*.cpp" -or -name "*.m" | xargs -L 1 -Ifname clang-tidy --fix fname -- -Iinclude -...
48e848feec2e5ca9c8df65729ddb4fea4996b7bb
423
path_add() { if [ -d "$1" ] && [[ ":$PATH:" != *":$1:"* ]]; then export PATH="${PATH:+"$PATH:"}$1" fi } export DEVELOPMENT="true" export DOTFILES=~/.dotfiles export GREP_OPTIONS='--color=auto' export PATH=$HOME/bin:/usr/local/bin:$PATH path_add "/usr/local/sbin" path_add "/usr/local/Cellar/coreutils/8.21/libe...
a7aa401594ddf31a47ad5f314accc8b2f1e1aa55
1,763
#!/bin/bash source ../fetch.sh input=( $(fetch 7 | awk '{print $2$8}') ) letters=( {A..Z} ) declare -A deps declare -A allsteps for v in ${input[@]}; do step=${v:1:2} req=${v:0:1} echo "$req is required by $step" deps[$step]=${deps[$step]}$req, allsteps[$step]=1 allsteps[$req]=1 done declare -A delays ...
2631419b29c1e4c4ce8519c2900c544bff6e1c1e
118
PORT =3005 DB_CNN =mongodb+srv://meanDB:7zkIyjch2lvxT9Va@cluster0.1dw9p.mongodb.net/HospitalDB JWT_SECRET =ED9FCAE17
8e354a11a796e9fcf341c380e4c0f7d3c21fb231
508
# see: https://gist.github.com/alexellis/fdbc90de7691a1b9edb545c17da2d975 if which docker ; then echo no action taken else curl -sSL get.docker.com | sh usermod pi -aG docker dphys-swapfile swapoff dphys-swapfile uninstall update-rc.d dphys-swapfile remove if ! grep --silent 'cgr...
35131bd3d90ed4168833e0bea3a7559440aec6bd
1,465
#!/bin/bash -x # # Copyright (C) 2016-2019 HERE Europe B.V. # # 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 applicabl...
0eb93d98f44a772c45d556fcf609371d75f42865
625
#!/bin/bash #docker run --rm -w /data -it --mount type=bind,src="$(pwd)",dst=/data --mount type=bind,src="$(cd ~/; pwd)",dst=/opt/home python:3.7-stretch /bin/bash -c "\ # apt-get update -qy && \ # apt-get install -y python-dev python-pip && \ # cp -r /opt/home/.aws /root/ && \ # cp /opt/ho...
f192f3155d40fb5029299b204d8aa7b477974af5
84
#!/bin/sh python nidm_neo4j.py "fsl_course_av.nidm.ttl" "gist" "vsoch" "nidm-neo4j"
2d56a228e8a0db1e888f5c9bf05d6b124c30aeb9
246
!#/bin/bash deliverable="deliverable" output="NoMouseWheelZoom.zip" rm -Rf $deliverable; mkdir $deliverable; cp ../contentscript.js ../manifest.json ../NoMouseWheelZoom.min.js $deliverable zip -r $output $deliverable/* rm -Rf $deliverable;
c8cc28387973064d68652c781462e11ded0502b2
1,281
#!/bin/bash # # Rename CD tracks by lesson # # ferreira.mv@gmail.com # 2016-02 /bin/mv '01 Track 01.mp3' '01.Folha.01-05.mp3' 2>/dev/null /bin/mv '02 Track 02.mp3' '02.Folha.06-10.mp3' 2>/dev/null /bin/mv '03 Track 03.mp3' '03.Folha.11-15.mp3' 2>/dev/null /bin/mv '04 Track 04.mp3' '04.Folha.16-20.mp3' 2>/dev/null ...
dfc6b342a26200ad0651e8210737ac7f587b4cca
256
#!/bin/bash K=1 while [ $K -le 20 ]; do L=2 while [ $L -le 7 ]; do echo "Running crossValidation with K="$K "L="$L "threads="$1 "cross="$2; ./knn train.csv test.csv crossValidation.txt $K $L $1 $2 let L=L+1 done let K=K+1 done
6bed2977041b09793a30e4783d0519187ad1e1bd
672
#!/bin/bash # # Intel compiler with MPI FC=ftn CC=cc #LINK='ifort -i-dynamic -no-ipo' CPP='/usr/bin/cpp -traditional-cpp -P' MPI='true' DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' LIBS='-L${CRAY_MPICH2_DIR}/lib -L${HDF5_DIR}/lib -L$NETCDF_DIR/lib -lnetcdf -lnetcdff -lhdf5 -lhdf5_hl' INCLUDES='-I${C...
082bb9e7617025e4470bd5bad1bfab099555e3ae
376
#export http_proxy=172.20.0.6:3128 #export no_proxy=127.0.0.1,localhost,.local,.insa-rouen.fr export http_proxy="" export no_proxy="" export HTTP_PROXY=$http_proxy && export ftp_proxy=$http_proxy && export FTP_PROXY=$http_proxy && export https_proxy=$http_proxy && export HTTPS_PROXY=$http_proxy export NO_PROXY=$no_prox...
c961613d2658c1f27ff97212b41121e647994c7e
784
#!/usr/bin/env bash # Disable virtual nodes sed -i -e "s/num_tokens/\#num_tokens/" $CASSANDRA_CONFIG/cassandra.yaml # With virtual nodes disabled, we have to configure initial_token sed -i -e "s/\# initial_token:/initial_token: 0/" $CASSANDRA_CONFIG/cassandra.yaml echo "JVM_OPTS=\"\$JVM_OPTS -Dcassandra.initial_token...
cf32dc1b0ffe0d49ef62f1258928e9b35ff62d87
92
APP_SETTINGS="config.DevelopmentConfig" DATABASE_URL="postgresql://localhost/transport_db"
0b4e75fc21bf627062de79c80aaf0200d74ae93f
3,090
#!/bin/bash # LOGIC # eval "`/u2/files/proccgi $*`" if [ "$FORM_SUBMIT" = "SuBM1t" ] then case $SERVICE_PORT in FTP) echo "-A INPUT -p tcp -s $ENTRY_VALUE -m state --state NEW -m tcp --dport 21 -j ACCEPT" >> /u/02.1.SCRIPT-RAW/IPTABLES-GEN/01.FTP;; SSH) echo "-A INPUT -p tcp -s $ENTRY_VALUE -m stat...
5470e07cd2423d876444a7e3d189697cd988b4f4
168
REACT_APP_PRIMARY_COLOR=0ddb89 REACT_APP_PRIMARY_COLOR_HEX=#0ddb89 REACT_APP_TEST=http://ddb89 REACT_APP_TEST2=http://#ddb89 REACT_APP_BACKEND_URL=http://localhost:8080
4542f70d4b13d8b03f25ccdefc35a913d92cd77e
181
PORT = 5000 MONGO_CONNECT = mongodb+srv://dbUser:dbpassword@eventcalendar.nly74.mongodb.net/myFirstDatabase?retryWrites=true&w=majority TOKEN_SECRET = "USsLDYUNMSYjsuimdh1837NSYHDN"
04c2cc1933ebb25addb2d660e9e81d8e6557b8c5
1,868
ACNS="0 10 20 40" for ACN in $ACNS; do cd /home/konrad/git/md-sim/metalwalls/scripts/DistanceToCarbon/${ACN}ACN/left_cdc/out/ screen -dmS dens_calc_${ACN} ../../../dens_pls_out < ../idens_local_surf.inpt cd /home/konrad/git/md-sim/metalwalls/scripts/DistanceToCarbon/${ACN}ACN/right_cdc/out/ screen -dmS dens_...
e4302c9bfeba16fc30d49caad770fb559cc5a3c4
18
rm -f *.csv *.xml
221fb6555e35ca581c526c66a1cd7ee7393ecb6d
892
maintainer="Andy Weidenbaum <archbaum@gmail.com>" pkgname="lutok" version=0.4 revision=6 short_desc="Lightweight C++ API for Lua" makedepends="lua-devel" hostmakedepends+=" doxygen" hostmakedepends+=" pkg-config" homepage="https://github.com/jmmv/lutok" license="BSD-3-Clause" distfiles="https://github.com/jmmv/lutok/re...
738c073335b52f864cf76c7443718629195beab4
141
xDEVICE_ID=8d4011b4b7b1acea472e7489b3b163e3 MASTER_API_KEY=242302ebabc7ead432d3fdac5d0e0ce7 xMASTER_API_KEY=31b158f2c5a9779e6b149bc076a75c48
ee4275e78b40c66fab97aae243f83b9592c833ab
1,364
#!/usr/bin/env bash set -x set -euo pipefail : "${NEW_HOSTNAME?"Please, provide your desired hostname."}" # Sanity: Check network connection. ping -c3 archlinux.org ### Localization settings ### ln -f -s /usr/share/zoneinfo/Europe/Budapest /etc/localtime hwclock --systohc --utc eng_locale='en_US' sed -i "s/^#${en...
9174bf89c73ea9e04888a61ec21880b59b3a73a6
1,286
#!/usr/bin/env bash set -e set -u # current program name progname="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")" working_dir= working_dir_arg=0 function usage { echo "usage: ${progname} -w directory [-h]" echo " -w Working directory" echo " [-h] Display usage" exit 1 } while getop...
37356cd33d23490c451d6dfea69c312f627fc8b9
93
#!/bin/sh exec supervisord --nodaemon --configuration="/etc/supervisord.conf" --loglevel=info
7efb5264bb53bac7c45e20c1b9ae3efc66a72f54
451
#!/bin/bash #SBATCH --mail-user=mads.sorensen@unige.ch #SBATCH --job-name=DummyJobName #SBATCH --output=DummyJobName.out #SBATCH --error=DummyJobName.err #SBATCH --partition=mono-shared #SBATCH --cpus-per-task=8 #SBATCH --mem=8000 #SBATCH --time=3:00:00 #SBATCH --parsable export PATH="/home/sorensen/anaconda/bin:$PATH...
8b27453342eb302e874aaf4e10bf28f542b0d08f
2,052
#!/bin/bash # Check the logs exec > >(tee /var/log/user-data-output.log|logger -t user-data -s 2>/dev/console) 2>&1 # fetch the metadata of the instance on JSON format wget -q -O - http://169.254.169.254/latest/dynamic/instance-identity/document echo "instance_id:" wget -q -O - http://169.254.169.254/latest/meta-dat...
0558897aa39cab03807ad46c34968a1c864e82d7
95
SMTP_HOST=smtp.gmail.com SMTP_MAIL=smtp.halogma@gmail.com SMTP_PORT=465 SMTP_PASSWORD=mlkqsd31#
e8dfbc11088ff70e26583fc724203c2e0bbfbca1
77
echo " Hello this is test project " echo " pulling data from git to jenkins"
b63fabab3951775ac2d82866149a840281552c8c
125
#!/bin/bash -e exec java -Djava.security.egd=file:/dev/./urandom -jar -Dspring.profiles.active=prod /opt/openshift/app.jar
f6779b348a2084bee3e6344ef3f468f82afbd74b
992
dnf distro-sync dnf install epel-release dnf-plugins-core dnf config-manager --add-repo https://rpm.oxen.io/centos/oxen.repo dnf config-manager --set-enabled powertools dnf install rpm-build git make wget gcc openssl-devel gzip ccache ...
958b9d0825f75abb159199d8ef96b9f4dc50cc0d
213
#!/bin/sh -e # VersionIsClean # RSSReader # # Created by Grigory Entin on 08.09.16. # Copyright © 2016 Grigory Entin. All rights reserved. status=$(git -C "${SRCROOT:?}" status -s) test "z${status}" == "z"
3ac394bc03afa2173f42639ba870170d612bc202
60
#!/bin/bash msbuild /p:Configuration=Debug SDL2-CS.csproj
8bf6919aa2092f9995a4d58b63f3073ea5fd2c76
371
#!/bin/bash docker rm --force redis docker rm --force mongodb docker network create --attachable=true --driver=bridge mbee docker volume create mongodb_data docker run --rm \ -d --volume mongodb_data:/data/db \ --name mongodb \ --network mbee \ -p 27017:27017 \ mongo:4.4 docker run --rm \ -d --name redis \...
3ebd1c61572ce683531e23ef615c822c0c71759a
324
#!/bin/bash echo "TEST $0" echo "PASS this is a successful assertion" echo "CODE 0" # if ommited a TEST statement # a PASS statement triggers a syntax error echo "PASS this is a syntax error (premature pass)" # even when the continuation is correct echo "TEST $0" echo "PASS this is a successful assertion" echo "CODE...
98ef1add891cc117ceb04a1708a7515f3e4efa37
118
#!/bin/bash python -m dl4nlt.models.sswe.train --dataset=global_mispelled python -m dl4nlt.models.lstm.experiments
ee7069f0729591188595e7e7836b30003a02f5f8
1,129
# # Based on PKGBUILD firefox-extension-shumway and firefox-extension-adblock-plus _plugin_name=requestpolicy-continued pkgname=firefox-extension-${_plugin_name} pkgdesc="Be in control of which cross-site requests are allowed. Improve the privacy of your browsing by not letting other sites know your browsing habits. ...
2394317d6909b4c74f4dea0ed6e1d36fb63b3342
212
#!/bin/sh XCODE_TEMPLATES_DIR="/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates" sudo mkdir -p "$XCODE_TEMPLATES_DIR"/Custom sudo cp -R *.xctemplate "$XCODE_TEMPLATES_DIR"/Custom
6f62b1833f36abcd3da4b97d6fdad39113e98d50
516
#PBS -l nodes=1:ppn=2 #PBS -l walltime=50:00:00 #PBS -q p100_normal_q ##or p100_dev_q for short jobs #PBS -W group_list=newriver #PBS -A vllab_2017 source activate py36 module load cuda/8.0.44 module load cudnn/6.0 cd /home/sloke/oml/Matrix-Capsules-pytorch #python3 train.py "smallNORB" echo $CUDA_VISIBLE_DEVICES #pyth...
9517fc844951fd29cb382fc56898cb89973bf22f
2,923
#!/usr/bin/env bash # Copyright 2016 Christoph Reiter, 2019 Dan Yeaw # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. ...
7e0c6419674d6faa33ce253968c6d534b0b71df4
52
ENABLE_NEW_JSX_TRANSFORM="true" FAST_REFRESH="true"
3a1bd0f2f4583233a8580d892c66256c6b9ff515
1,651
# Maintainer: Jody James <ajjamesobr@gmail.com> pkgname=obr-desktop pkgver=1.00 pkgrel=1 pkgdesc="Desktop Meta-Package for OBRevenge" arch=('any') license=('GPL') install=obr-desktop.install makedepends=('git') url=https://github.com/obrevenge/obr-desktop depends=('python2' 'openbox' 'obr-control-panel' 'obr-panelswit...
df2219d08106e6b3e16e91898beb0b4669e017bd
994
#!/bin/bash set -euo pipefail # Verify that all the unsupported.*parquet files result in an error when creating the virtual table, # but don't segfault. load_unsupported() { file=${1:?must provide file to load} basename=$(basename "$file") cat <<EOF .echo on .load build/linux/libparquet .testcase $basename .bai...
7bd75e550e9c35927470590968f857313492f4ec
6,070
########################################### # Battery plugin for oh-my-zsh # # Original Author: Peter hoeg (peterhoeg) # # Email: peter@speartail.com # ########################################### # Author: Sean Jones (neuralsandwich) # # Email: neuralsandwich@gmail.com # # Modified t...
c5ed9d9943b7d9b8011b7b2f4a28d0095801c130
48
#!/bin/bash sudo podman exec routera qdstat -n
f9228ec0b57ba2d9970f9f4c2547a9e8ef3530cb
184
#!/bin/bash set -eu find_files() { find ${NGTS}/flat-field-optimisation/data -name 'proc*.fits' } limit() { head -n 200 } main() { find_files | limit > $1 } main "$@"
97f7b507709ad4b581d0eadad8c6d2983ac5bcd0
94
#!/bin/bash T=$(sha1sum "$1" | cut -b 1-40) echo $T p=/home/calapova_maria/dir cp "$1" $p/$T
f8b367137d5510b2892b55dadabbd2b82da3ec47
3,325
ulimit -t 1 echo $1 $2 $3 $4 $5 >> testruns.txt case $2 in p1) $1 6320 1 1 -9136 16 -9103 2 8092 632 0 2 0 | diff outputP/O1 - && exit 0 ;; p2) $1 6328 1 1 3296 -7440 2160 2 618 639 0 2 0 | diff outputP/O2 - && exit 0 ;; p3) $1 4336 1 1 2288 80 4000 -4 5968 604 0 2 1 | diff outputP/O3 - && exit 0 ;; p4) $1 6368...
7a02fb2eac6517eddc98992946408c7c48545cdb
326
#!/bin/bash if [ ! -n "$GOPATH" ]; then echo "GOPATH IS NULL" exit 0 else echo "GOPATH="$GOPATH fi rm go-package-plantuml -rf go build github.com/maobuji/go-package-plantuml if [ -f "plantuml.jar" ] then echo "plantuml.jar exist" else wget https://jaist.dl.sourceforge.net/project/plantuml/plantuml.jar fi...
e4b37d652a50305fb2132b573d47ef9cee64c7b0
131
#!/bin/bash docker run --name cyan-dev -p 127.0.0.1:5432:5432 -e POSTGRES_USER=cyan -e POSTGRES_PASSWORD=secretpass -d postgres:10
7699f488a923846e218f6087b607b57de4a59c9a
546
#!/bin/sh # add /usr/share/man [ -d "/usr/share/man" ] && \ MANPATH="${MANPAGE}:/usr/share/man" # check for pkgsrc (smartos) MANPATH="$(echo ${MANPATH} | /bin/sed -r 's#/opt/local/man:##g')" if [ -d "/opt/local" ]; then MANPATH="/opt/local/man:${MANPATH}" fi # check for omniti repository (omnios) MANPATH="$(ech...
c566492d0306e988f26984453c1a959d75eb85ec
4,582
#!/bin/bash VERSION="1.0.0" dbuse=1 dbuser="sqlpile" dbpass= dbname= verbose=0 testing=0 dbfuncimport="mysqlimport" history=".sqlpile" historylist=( ) opmode=0 opdir=`pwd` opoutput="compose.sql" historyfile="${opdir}/${history}" function mysqlimport { local dumpfile="$1" `mysql -u "${dbuser}" -p${dbpass} <...
b9733f3a738d818cc06486b7220c5d71f279fc6a
199
#!/bin/bash rm -rf ./docs/* pushd plat_plus ./gradlew html:dist --console=plain popd cp -r ./plat_plus/html/build/dist/* ./docs git add . git commit -m "web deploy updated" git push origin master
b8bce145b08bf07a65b7581ee170c2a43534726f
354
#!/bin/bash SESSION=tmux-ppe-mysql-and-mongo tmux new-session -d -s $SESSION tmux split-window -h tmux select-pane -t 0 tmux send-keys "ssh bshah@tvl10dbm05prd" C-m tmux select-pane -t 1 tmux send-keys "ssh bshah@tvl10dbm04prd" C-m tmux split-window -v tmux send-keys "ssh bshah@tvl10dbm06prd" C-m # Attach to sessio...
60d7302ff4e61a403ac182a0c3f4fced3b5c71d9
71
erl -noshell -s solution_slow_tc main <tc3-in.dat >tc3-out-slow-tc.dat
0d5e2e38ee858c5ca0f2ecca88979b7cdddcadfd
2,975
#!/bin/sh set -o errexit set -o nounset DOCKER_TIMEOUT=20 # Wait 20 seconds for docker to start DATA_VOLUME=/docker-partition BUILD=/build SRC=/src PARTITION_SIZE=${PARTITION_SIZE:-2048} PARTITION_IMAGE=${PARTITION_IMAGE:-docker-data-partition.img} CONTAINER_SUFFIX=${CONTAINER_SUFFIX:-.tar.gz} IMAGE_SUFFIX=".tar" fi...
20013ca9ee87942d6b439bfce81722827926a285
1,531
#Change to directory with simulated data cd ../Simulated_data/N #Run the WN sampler for f in *WN*; do # run regression with k=1 and prior variance=5 ../../Ccodes_and_scripts/Regression_WN.exe 1 5 $f # run analysis with autocorrelations (argument 1) and write report to dat file ../../Ccodes_and_scripts/Analysis.ex...
dc78675c3869ee2e0a9e92b1208ff6d16d01f6f8
211
# This script runs the bzip examples in the CCR project. # # Ed Hartnett 11/18/20 # Set the plugin path to find plugin. export HDF5_PLUGIN_PATH=../src/.libs:$HDF5_PLUGIN_PATH # Run the example. ./h5ex_d_bzip2
521ff27020a2e5f8b3a5981f424784d903cb37af
542
#!/bin/sh realcpu="$(~/.tools.realcpu.sh 3)" cpuload="$(read l1 l2 l3 __ < /proc/loadavg; echo $l1 $l2 $l3)" date="$(date +'%a %d %b %H:%M')" if [ -x "$(command -v sensors)" ]; then temp="$(sensors | sed -rn '/temp1|Core/s/.*:\s+\+(\w+)\.\w+(°).*/\1\2/p')" temp="${temp//[$'\n']}" fi if [ -x "$(command -v acp...
df5142e8b696b6a57269134da2ad25ffa1ce3379
3,399
#!/usr/bin/env bash . versions.sh if [ -f env.sh ]; then . env.sh fi function usage { __usage="Usage: $(basename $0) [-h] [-S ip:port] Options: -h print this help and exit -S sidecart address - A side cart address:port multiple side cart can be comma delimited The script starts Thanos query, it c...
a5707c991f29f0da2d88faf010d7eb197010306f
193
// variables.env PORT=5001 PUBLIC_VAPID_KEY=BJ3yPOked8MTO8ld9VVyxhULPLhvl2DWEhkukkxZKEhWz0fcNdRsliPicFSVp7HUQ8G7ZO32IPjQyDg-hYejf3E PRIVATE_VAPID_KEY=TQD9jBPI71P-Eyef2yUz0ePSnpWVBH2A5tLKLAqLYvM
79f2106666a8d0e0e1b65c6e0c4862e62b2b5304
422
#!/bin/bash a=$(sudo docker ps | grep petclinic | cut -d' ' -f 1) echo "ID container="$a if [ -n "${a}" ]; then echo "Conteiner runing" docker-compose -f docker-compose_petclinic.yml stop docker-compose -f docker-compose_petclinic.yml rm -f else echo "Conteiner don't run" fi docker rmi 10.23.27.6:443/petclini...
12eaddee1c87e94f36e96394dd622b04b3f5d624
7,272
perl 01_filter_gene_based_drug_cancer_mutation_info.pl #为 "/f/mulinlab/huan/ALL_result_ICGC_ALL_drug/output/19_gene_based_ICGC_somatic_repo_may_success_logic.txt" #从"/f/mulinlab/huan/workspace/drugrepo/dataset/gene-disease/Cancer/somatic_mutation/ICGC/release_27/release_27_snv_indel/data_statistics/pathogenicity_id_ca...
200b3cf0efcc5ea14f52a18c4fa3bd1cde6b6479
305
#!/bin/bash #Any environment settings specific to Oracle. INSTALL_DIR=/usr/local/nagios/kunjumon ORACLE_CLIENT_LIB_PATH=/usr/lib/oracle/11.2/client64/lib CONFIG_FILE=$1 MONITOR_NAME=$2 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_CLIENT_LIB_PATH $INSTALL_DIR/kunjumon.pl $CONFIG_FILE $MONITOR_NAME
2eb5bce68e7f81fbe47dd691fc0942773cd3869c
119
# FLUNK="oh my yes" @test "truth should be true" { true } @test "string should be empty" { [ -z "$FLUNK" ] }
dc0c3efdb3286e834dce6c68eaf75b22297ec1c0
68
add_lunch_combo cm_warplte-userdebug add_lunch_combo cm_warplte-eng
4d9e114560644ec871ee28fbc19ed1d242915e47
115
#! /bin/bash head -$(ruby -e "puts (rand * `wc -l < /usr/share/dict/words`).to_i") /usr/share/dict/words | tail -1
b1d92b8ee744bb8dfbffb9ef52867e2bba43af5d
269
#!/bin/sh #/Users/apple/Library/Python/2.7/bin/pyinstaller --windowed --onefile --clean --noconfirm ff777wingflex.py /Users/apple/Library/Python/2.7/bin/pyinstaller --onefile --clean --noconfirm ff777wingflex.spec pushd dist create-dmg ff777wingflexfixmac.app/ popd
fe705aba8fbabdf51ab7b6ed115b2b739b364df2
1,909
#!/bin/bash list=$1 while read line do workdir=/scratch/mmalenta/ninjector_tests export OMP_NUM_THREADS=16 filename=$(basename $line) sourcename=$(echo $filename | sed 's/\([a-zA-Z0-9_\-]*\)_gsb.*/\1/') mkdir ${sourcename} cd ${sourcename} #rsync -avz --progress -e 'ssh -i /home/mmale...
39d7c9efdf95195336fa6e2bd93583e870c93029
155
docker kill demo docker rm demo docker run -d --name demo \ -p 80:8080 \ zhaohuabing/liveproject-tracing:v1.1 sleep 5 curl http://127.0.0.1/checkout
e182fedb37b4d6843a26d92a5d7c11cdacf2e10b
186
#!/bin/bash set -e git config --global user.email "$GH_EMAIL" git config --global user.name "$CIRCLE_USERNAME" git add . git commit -m "Deploy to GitHub pages" git push origin master
4f26ee9e6a2bdf4e734b0d3e301d4d02174de094
271
#!/bin/bash if [[ $1 = "-h" ]]; then echo "Wrap/obfuscated Oracle procedures and functions" echo "Call in the source dir" exit fi for i in $(ls *.{prc,fnc}); do wrap iname=$i &> /dev/null done rm -rf wrapped_objects mkdir wrapped_objects mv *.plb wrapped_objects
62918cd3b11c201452ca1d952a17e788f6181803
3,876
#!/bin/bash # Copyright (c) 2023, Oracle and/or its affiliates. # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. # # This is an example of a script that will delete all of the infrastructure components that were # created using the create_infra.sh script. # # Depe...
04ece76fc7c8569396d890ea48d996f2ec3e748c
3,011
#!/bin/bash . ./utils.sh || exit 1 function _test_freedb_search_get_cgi_tracktype { get_type=$1 get_url=$2 get_port=$3 rm -f query.cddb remove_output_dir M_FILE="La_Verue__Today" expected=" Processing file 'songs/La_Verue__Today.mp3' ... Freedb search type: cddb_cgi , Site: tracktype.org/~cddb/cddb....
55565ccb8635f030f931a5e8f6fa82df8e6faafe
1,939
#!/usr/bin/env bash # # Install on a new mac. # "Safe" bash set -euf -o pipefail # ANSI codes readonly GREEN='\033[0;32m' readonly NC='\033[0m' # no color # Print a log message, in green. log () { declare -r message="$1" printf "${GREEN}MACINSTALL: ${message}${NC}\n" } log 'dotfiles installation commencing....
ae3a5eb949cc55b1031587c0d9c19c8a308aa4bf
124
#!/bin/bash foo=${bar}baz foo=${bar/1/2} foo=${bar//1/2} foo=${bar^} foo=${bar^^} foo=${bar,} foo=${bar,,} foo=${#bar}
167588891649814b8bbcddde77a13f61def6c7ed
9,572
#!/bin/bash print_info() { echo -e "\033[32m\n $* \n\033[0m" } print_error() { echo -e "\033[31m\n $* \n\033[0m" } sed_inplace() { if [ "$(uname -s)" = "Darwin" ]; then sed -i '' "$1" "$2" else sed -i "$1" "$2" fi } sed_script_inplace() { if [ "$(uname -s)" = "Darwin" ]; then...
92a31f18ad900e13ca9552e15eee211d346df771
125
#!/bin/bash set -e createuser sshobs --no-password --superuser bundle exec rake db:drop && rake db:create && rake db:migrate
23e802fc863ca66714a99836d65d880909b9c19a
2,241
#PREREQUISITES rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install -y epel-release yum install -y git python-pip python34 jq nginx curl https://bootstrap.pypa.io/get-pip.py | python3.4 pip3 install --upgrade pip jsonschema # upgrade python to 3.6+ for latest universe sudo yum -y ...