blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
193553b6356494a989c5ad520763c96c2786d8a9
4,170
#!/bin/bash # Only run as a root user if [ "$(sudo id -u)" != "0" ]; then echo "This script may only be run as root or with user with sudo privileges." exit 1 fi HBAR="---------------------------------------------------------------------------------------" # import messages source <(curl -sL https://raw.gith...
407169a66997182e41d854bc11bfc24dd9547631
309
#!/bin/bash THREAD_FACTOR=2 . $(dirname $0)/config/common_run.sh fw_depends $DBTYPE rvm jruby-9.1 rvm use jruby-$JRUBY_VERSION . $(dirname $0)/config/bundle_install.sh bundle exec torquebox run --io-threads $(( MAX_CONCURRENCY / 2 )) --worker-threads $MAX_CONCURRENCY -b 0.0.0.0 -p 8080 -e production &
bcb7b34f41683e1902274626a8ec41bbba10f328
144
#! /bin/sh set -x aclocal && \ autoheader && \ automake --no-force --add-missing --copy --gnits && \ autoconf && \ ./configure "$@" && \ make
e2bb30b314a3042296e0d9dcf17e2157dbb2efce
311
#code_server = 1652 #sleep_time = 30 for i in {1..30} do echo "angry-bee-agent started" NOW=$(date +"%m-%d-%Y %r") echo "Date: " $NOW #speedtest-cli --server 1652 --simple speedtest-cli --server 1652 echo "angry-bee-agent executed" #sleep $sleep_time sleep 15 echo "Place: UPM" done
64871d5bfea4a1903fbe861b5b7bbd143d1cd102
188
export DISTRO_NAME=fedora export DIB_RELEASE=${DIB_RELEASE:-25} if [ -n "${DIB_FEDORA_DISTRIBUTION_MIRROR:-}" ]; then export DIB_DISTRIBUTION_MIRROR=$DIB_FEDORA_DISTRIBUTION_MIRROR fi
e0b338fe48db03bd109d221004aa2af57de85c8a
96
#!/bin/bash sudo beeline -u jdbc:hive2:// hive cloudera -f problem3/5_create_retail_orders.sql
7dfbe9aa8e79d842ded73ab82bc045e36b5d6c36
668
#!/bin/bash beanstalkd_basedir=$(dirname $(readlink -f $0)) beanstalkd_calldir=$(pwd) cd "$beanstalkd_basedir" set -e apt-get install -y beanstalkd if which php > /dev/null 2>&1; then # install phpbeanstalkdadmin ( cd /var/www; git clone https://github.com/mnapoli/phpBeanstalkdAdmin.git phpbeanstalkdadmin )...
5f22e49262e376fddee906a6b5792a099e5be2f1
144
fastlane gym --scheme MO2W --export_method development --use_legacy_build_api true --include_symbols false --include_bitcode false --clean true
578eb7accacb9ac9807c99fd1860b0eb7d405a28
647
#!/bin/bash if [ $# -lt 1 ]; then echo "Usage:" echo "$ ./run.sh [Path of Test Directory]" echo echo "example: ./run.sh Color\ Models/" exit fi VIEWER=lviewer.debug DIRECTORY=$1 files=`find ${DIRECTORY} | grep --color=never ".obj$"` echo "Bump map path? (skip this step by typing \`enter')"; read BUMP_MAP;...
4599096a3065a95af5f296f8ba4ccd075eee0d7d
610
#!/bin/sh # vim: ts=4 sts=0 sw=4 noet ai # Because Git doesn't support subcommand aliases # Hard-coded path to git # DANGER: Don't replace this with "command git", # doing so will turn this script into a forkbomb! gitpath=/usr/bin/git case "$1" in "stash") shift # discard $1 case "$1" in "diff") shift ...
512bbe23fe6b2738a71667c5472958f437a5b152
3,391
######## # INIT # ######## Init () { ## BASE PRODUCT_NAME=gnos PRODUCT_VERSION=19.07.1 INSTALL_VERSION=$PRODUCT_VERSION INSTALL_DATE=$( date +%Y%m%d ) TARGET=/mnt/target ## BOOTCLONE BOOTCLONE_ROOT=/bootclone-root # DOC DSET root-repo, relative to ZFS_POOL_NAME BOOTCLONE_...
0b129dcd93f0448c63f73518419aa994c47841cb
1,417
#!/bin/bash set -ex apt-get update && apt-get install mariadb-server --yes # As of mariadb 10.5, which bullseye is using, the service name is now mariadb # instead of mysql, but the mysql command is still symlinked. # See: https://mariadb.com/kb/en/changes-improvements-in-mariadb-105/#binaries-named-mariadb-mysql-sy...
9818e2c37bc09dc69b9c62ac83b9b11d06b1def4
194
#!/bin/bash -x #1:string of 3 consecutive characters with no special characters read any pat="^([0-9]*[a-zA-Z]){3,}[0-9]*$" any="aaa1" if [[ $any =~ $pat ]]; then echo yes; else echo no; fi
1cb719c96e67d9e6cf71d7e65eb2805e9d4d820a
777
################################################################################################# # Licensed Materials - Property of IBM # (c) Copyright IBM Corporation 2019. All Rights Reserved. # # Note to U.S. Government Users Restricted Rights: # Use, duplication or disclosure restricted by GSA ADP Schedule # Contr...
b99b6641bea367f2fade2ff6a85c9ab271c8319b
271
#!/bin/bash # Taken from https://github.com/meandavejustice/gh-pages-deploy git branch -f gh-pages git checkout gh-pages git reset --hard origin/master cp -r public/* . git add -A . git commit -a -m 'gh-pages update' git push origin gh-pages --force git checkout master
5da8a8b9e04f7f2cc633ae9cb73a414c5a3783b5
151
ls -t *.md | while read filename; do echo "filename is === $filename" echo $filename | xargs -L 1 bash -c 'md2json.sh $0' done wait echo "all done!"
ed7cf648a8a9eb6e535a35fcf25fcf27e707b3ff
151
#!/bin/sh # # cURL # http://curl.haxx.se source ./helper.sh $* stage_dl_ac http://curl.haxx.se/download/curl-7.44.0.tar.bz2 \ --prefix=$PREFIX/utils
8ab98846a8f85925cd362cca02cf25e58dd98609
98
#!/bin/bash if [ $(playerctl status) = "Playing" ] then playerctl pause else playerctl play fi
5f854ecc93dc9d0c8a70cd67d6a39ef10c4e6a00
79
#!/bin/bash . ./env.sh docker push ${DOCKER_REGISTRY}/kdl-sparql:${VERSION}
5414aabd484854bd4196bc4d101f6751566fbc43
171
xo ${CONNSTR} -N -M -B -T PersonById -o models/ << ENDSQL SELECT name::text AS name, email::text AS email FROM person WHERE id = %%personId uuid.UUID%% ENDSQL
a566042afd59fcc72b63278fe26093efa44f4f8c
1,965
# If you come from bash you might have to change your $PATH. export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh" # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes for others ZSH_THEME="agnoster" # Which plugins would you like to load? # Standard p...
b769a4338fcf55a77708e6c25922465ce51742b2
1,008
APP_NAME=Signly APP_ENV=local APP_KEY= APP_DEBUG=true APP_LOG_LEVEL=debug APP_URL=http://signly.clevermage.com DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=signly DB_USERNAME=slc DB_PASSWORD=root DEPLOY_STAGE_HOSTNAME=clevermage.com DEPLOY_REPOSITORY=cesarfelip3/signly.git DEPLOY_STAGE_BRANCH=master...
5507fd6a0a026a40b0311ea822012d90a0e51d0d
439
#!/usr/bin/env bash # @see https://stackoverflow.com/questions/24671014/exporting-ruby-variables-to-parent-process # Note: 执行简单的ruby代码,导出环境变量 eval `ruby -e "puts 'export foo=bar'"` echo $foo # Note: 执行的ruby脚本,导出环境变量 eval `ruby './05_export_env_var_from_script_to_shell.rb'` echo "ruby_secret1 = $ruby_secret1" echo "r...
5060853dc017e2ee1234b9e142b345400265219b
431
#!/bin/sh -e apt update apt full-upgrade -y apt install -y \ curl \ gnupg curl -sSL https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - echo "deb http://dl.google.com/linux/chrome/deb stable main" > /etc/apt/sources.list.d/google-chrome-unstable.list apt update apt install -y \ fonts-noto* \ ...
c41ae178436566d40dadfd8a22d11ef91c251ac1
260
#!/usr/bin/env bash set -euox pipefail cd packages/ui REMOTE_BLOG_DIRNAME="/www/static/github-diary" npm run build rsync -r --verbose out/ $USER@$DROPLET_IP:$REMOTE_BLOG_DIRNAME # !!!! RUN deploy.sh from provision repo as well to _dial in some req'd_ effects
8b85d34e849398d3b26e04279f59a7e476a9280c
451
#!/bin/sh set -e # source debconf library. . /usr/share/debconf/confmodule # lpq, lprm lpr setuid? db_input low lprng/setuid_tools || true db_go # Check for default file, if it is there then set the debconf value default_start_lpd="true" if [ -f /etc/default/lprng ]; then grep -q 'START_LPD=yes' /etc/default/lp...
58626b0a21dcd82023f836e23b6bbe01ee155b4a
3,468
#!/bin/bash ############################################################################## # macOS dependencies build script ############################################################################## # # This script pre-compiles all dependencies required to build OBS # # Parameters: # -h, --help ...
73916ec45004e4d511591d5f7eda04786dba9a30
438
#!/bin/bash # if [ $# -eq 0 -o "$1" = "-h" ] # then # echo 'Usage: testide' # exit 0 # fi tmux resize-pane -D 5 tmux split-window -c '#{pane_current_path}' -p 25 tmux split-window -h -c '#{pane_current_path}' -p 34 tmux send-keys "clear" Enter tmux send-keys "runwatch $1" tmux select-pane -t :.- tmux send-keys "cl...
883eb03cab260622699c9ed19044307866bbce88
431
# Developer: Maik Ellerbrock <opensource@frapsoft.com> # # GitHub: https://github.com/ellerbrock # Twitter: https://twitter.com/frapsoft # Docker: https://hub.docker.com/u/ellerbrock # Quay: https://quay.io/user/ellerbrock # Configuration # Optional Parameter SERVICE_USER=cloudflare SERVICE_HOME=/home/cloudflare...
bcac2c26fae3b7096d2e3e637e33c761aefcd381
21,610
#!/bin/bash #------- # Script for install Alfresco 5.2.f on CentOS # is valid even for ubuntu server you just must replace # the 'yum install XXX' in 'sudo apt-get -qq -y XXX install' # # Inspired from:+ # https://github.com/loftuxab/alfresco-ubuntu-install/blob/master/alfinstall.sh # # ------- echo "--- START ALFR...
09643ac92e22e34d8f70197464a50535c3e0fe06
1,060
#!/bin/sh killall syndaemon if lsusb -d 046d: ; then logger 'using logitech touchpad' synclient HorizTwoFingerScroll=1 \ PalmDetect=1 PalmMinWidth=40 \ FingerHigh=8 \ TapButton1=0 TapButton2=0 TapButton3=0 \ RBCornerButton=3 RTCornerButton=2 \ ...
f9d9865ae2135722396f3cc7a94eedfd9b20a5af
782
#1/bin/bash BASEDIR=$(readlink -f $(dirname $0)) SCRIPT_DIR=${BASEDIR}/img-scripts set -e # Add common variables source ${BASEDIR}/config source ${BASEDIR}/config.default # Restore Redmine Postgres database echo ">>>> Restore Redmine Database." ${SCRIPT_DIR}/redmine-docker/restoreRedmineBackup.sh ${SCRIPT_DIR}/redm...
cd2f38f6e470ef3383381383b4b18dbdbd9f728f
889
#!/bin/bash # This script compares two files(1st and 2nd args -- required) and write down difference into two output files which are created in current or certain (3rd arg) directory if [ "$#" = "1" -o "$#" = "0" ]; then echo "missing arg"; exit 1; fi; # if one or both of files don't exist if ! [ -f $1 ]; then echo...
c649b65b7893cc440f2e61e37bf2befd7ce3345e
4,434
#!/bin/bash LOG=/tmp/stack.log R="\e[31m" G="\e[32m" Y="\e[33m" N="\e[0m" TOMCAT_URL=http://www.mirrorservice.org/sites/ftp.apache.org/tomcat/tomcat-9/v9.0.14/bin/apache-tomcat-9.0.14.tar.gz TOMCAT_TAR_FILE=$(echo $TOMCAT_URL | cut -d / -f10) TOMCAT_HOME=$(echo $TOMCAT_TAR_FILE | sed -e 's/.tar.gz//g') MOD_JK_URL=ht...
84d977457afd7f2de55476e52d2a4d20153680e1
464
#!/bin/bash if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" exit 1 fi mkdir -p certs OPENSSL_SUBJ="/C=US/ST=/L=" OPENSSL_CA="${OPENSSL_SUBJ}/CN=php-dev-env-CA" OPENSSL_SERVER="${OPENSSL_SUBJ}/CN=mariadb" OPENSSL_CLIENT="${OPENSSL_SUBJ}/CN=client" sh ./scripts/genroot.sh "${OPENSSL_CA}" sh ....
97bc94663b9cf1ebe822e1a2bff9bf7a0a8abe3c
1,027
#!/usr/bin/env bash # Takes an list of images (built locally) like uber/peloton:foo123, and tags and # pushes to some registries. # # Usage: # ./docker-push [registry] [image1] [image2] if [[ $# -lt 2 ]] ; then echo "No registry and image passed" >&2 exit 1 fi # first argument is registry REGISTRY=${1} [[ $(un...
6faca4063a4e631904d4f60fe51e7d9fb3e9ea9c
267
#!/bin/bash comp() { ceFile="$(echo "common/coreengine/$1" | sed -e "s/\/\.\//\//g ; s/\/\//\//g")" coreFile= } cd common/coreengine allFiles=$(find . -tye f) cd - for ceFile in $allFiles do comp "$ceFile" "common/core" comp "$ceFile" "common/render" done
738db92437c2a1d6e50127ff5d87b066d64f2152
320
#!/bin/sh # ethernet device driver autotest shell-script set -e #set -x # suspend system before copy data $CMD_SSH <<ENDSSH eval $PREPARE_SUSPEND & ENDSSH sleep 5 eval $CMD_RESUME # Ping the Board -> the host PC if ping -c 20 -I $INTERFACE $GOOGLE & eval $CMD_SUSPEND; then eval $PASS_MEG else eval $FAIL_MEG fi
c0aa0685dbe478dec9b6296ee04a8b555181d81b
2,732
#!/bin/bash (bash /usr/local/share/srvctl/srvctl.sh complicate &>/dev/null &) _fedora_srvctl_options() { local SC_USER ## determine the proper user if [[ -z $SUDO_USER ]] then SC_USER="$USER" else SC_USER="$SUDO_USER" fi #echo "SRVCTL_OPTIONS $SC_USER" ...
c9bf3cb7bcce23a0429a1ca4886a444d3cd178d2
675
################################################# ## Author: David Ribeiro # ## Date: 7/6/2018 # ## Purpose: Automate Application Setup # ## Assumption: Using Ubuntu 16.04 # ## 1) Change to root (sudo) user # ## 2) cd into the directory of this file # ## 3) Run chmod a+rwx <file_name> # ## 4) Run yes | ./<file...
9ae3f150b593a6a585a3a152d9f6eb070133196f
4,745
#!/bin/bash # Usage: # chmod +x ./dev_bootstrap.sh # ./dev_bootstrap.sh $DATABASE_BACKUP_PATH $RAIL_GIT_URL $RAIL_BRANCH $API_GIT_URL $API_BRANCH $RUBY_VERSION $RUBY_RAIL_GEMSET $RUBY_API_GEMSET DATABASE_BACKUP_PATH=$1 if [[ ${2} == http* ]] || [[ ${2} == git* ]]; then RAIL_GIT_URL=$2 else echo "[WARNING...
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 \"$*\"";
1f9c4cc14c2d4f021b8c69f417a483ca1010c21d
108
#!/bin/bash echo "Running tests" echo "=============" .venv/bin/python tools/run_tests.py --with-xunit $@
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
e22fe3db34145f49bd3f82b786806963e90b60fc
1,775
#!/bin/bash # # fmt - colorized output for your bash scripts # # Copyright (C) 2014-2015 Ralph Hempel <rhempel@hempeldesigngroup.com> # # Based on "Template to write better bash scripts" from: # More info: http://kvz.io/blog/2013/02/26/introducing-bash3boilerplate/ # Version 0.0.1 # # See LICENSE for https://github.com...
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...
7a3d46f606fa36617427f0cb63327ff41c801869
7,887
#!/bin/sh ### BEGIN INIT INFO # Provides: rtorrent_autostart # Required-Start: $local_fs $remote_fs $network $syslog $netdaemons # Required-Stop: $local_fs $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: rtorrent script using screen(1) # Description: rtorren...
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"
a36d3ec847deeac652888002dd5c4bfc4401f9b3
232
#!/bin/sh export model_2d="\ A231\ A232\ A241\ A242" export model_3d="\ A341\ A342\ A351\ A352\ A361\ A362" export model_shell= export cnt_2d=J200.cnt export cnt_3d=J300.cnt export cnt_shell= ../test_eigen_sub.sh $*
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 \...