blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
136275a3222bfbf0828c7f47dae8663ffba7f4d6 | 155 |
for i in {0..24..2}
do
./build/Release/pbrt.exe "Program_2_5608/HW2 Scenes/bunny.pbrt" --outfile 'Results/bunny_'"$i"'.png' --exponent "$i"
sleep 1
done |
f10836c36778928715fc5cde82565b092eb9d7a9 | 1,344 | #!/bin/bash
# ./2test.sh #test performance for data in default folder "corpus"
# ./2test.sh SilesiaCorpus #test performance for data in folder "SilesiaCorpus"
if [ -z ${basedir:-} ]; then
basedir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
fi
if [ $# -lt 1 ]; then
indir=${basedir}/corpus... |
3b09d30a11f6b11cdadf581e564410d246abb2eb | 1,370 | #!/bin/sh
pacman -Sy --noconfirm networkmanager network-manager-applet networkmanager-openvpn neovim dbus lightdm i3-gaps tmux htop dmenu mupdf mopidy ncmpcpp mpc mpv mplayer dunst cronie feh scrot slop maim ffmpeg w3m xcape youtube-dl youtube-viewer newsboat wget curl arandr firefox gimp inkscape xclip xorg gcc make ... |
0b1dc41548a785848a9c6b43684eb28f7bdfd582 | 330 | #!/bin/bash
PW=`pwd`
DIR=`dirname $PW`
echo $DIR
docker run \
--rm \
-it \
--entrypoint=/bin/bash \
-e LINODE_API_KEY=$LINODE_API_KEY \
-e CF_API_EMAIL=$CF_API_EMAIL \
-e CF_API_KEY=$CF_API_KEY \
-e LE_AGREE_EMAIL=$LE_AGREE_EMAIL \
-e LE_SERVER=$LE_SERVER \
-v $PW:/app helber/letsenc... |
baf9604c211f40bc1313f070a5f1eb3d85ecd0fe | 277 |
# Test the casa install by running a reduction script with test data included in CASA
cd $HOME
mkdir test_reduction
cd test_reduction
# Run the script (in non-interactive mode)
casa --no-logger -c ngc5921_demo.py False
# Add checks for certain files in the output
# TODO!! |
c1adc9582db707216884f061453099553e96f3fc | 38 | cd rivescript-python/
python2 aifr.py
|
1d006164bf8318ee8a059871390eeaf44ea51c47 | 645 | #!/bin/bash
#input="./data/merged"
input="./data/tag_parser.out";
temp="./data/temp/"`echo $0 | awk -F'[./]' '{ print $(NF - 1)}'`
data_without_thumb="./data/output.mg_black_list"
output="./data/output.thumb"
## 1. get thumb
awk -F' ' '{
if(FILENAME == ARGV[1])
{
thumb_url[$1] = "http://t"(($7 + $8) %3 + 1)".ba... |
55cd3ab88f01ecbd287111f925fb7c61c0c7c1ab | 187 | #!/bin/bash
PID=`pgrep -x zathura`
TABBED_FILE="/tmp/zathura.tabbed.xid"
IFS=
if ! [ -n "$PID" ]; then
rm -f $TABBED_FILE
tabbed -d >$TABBED_FILE
fi
zathura -e $(<$TABBED_FILE) $*
|
caab0b1e1ffaf08f1ac9552121dcb3d20b397e4e | 49 | APP_SLUG="Dragon_Helper"
APP_NAME="Dragon Helper" |
85f8390a1f287fa0f25a6ffcf3e886807beecfc0 | 1,016 | #!/bin/bash
#Ensuring proper groups are assigned
groups
#Setting up Elastic Block Storage
lsblk
sudo file -s /dev/xvdf
sudo mkfs -t ext4 /dev/xvdf
sudo mkdir /var/www/html/myApps
sudo mount /dev/xvdf /var/www/html/myApps
sudo cp /etc/fstab /etc/fstab.orig
echo "Please enter UUID listed above so Elastic Block Storage ca... |
17f55d09a6a89e348596f7b69d41f775b12fd905 | 567 | #!/bin/bash
#VERSION=TEST
#python src/trainer.py -c config/${VERSION}.yaml -v ${VERSION}
## 2021-05-27
#VERSION=MFCC_SKDAE_5
#python src/trainer.py -c config/${VERSION}.yaml -v ${VERSION} -d 'cuda:1' --chkpt /home/nas/user/kbh/MCFE/chkpt/${VERSION}/bestmodel.pt -s 23710
#VERSION=MFCC_SKDAE_4
#python src/trainer.py -... |
7585ca53ec49e617a73e5ca15372adc47ac5b180 | 1,022 | #Splits the database into pieces based on the number of CPUs you specify and then runs hmmscan on each piece similtaneously
#Usage: bash blastp_split.sh <CPUs> <BLAST Database> <Peptides_fasata>
CPUS=$1
REF=$2
PEP=$3
PEPNAME=$(basename "${PEP%.*}")
PEPEXT=$(basename "${PEP##*.}")
i="0"
ii="00"
echo "Using "$CPUS" CPUS... |
38ee7939ba22c2e7c77fccde3b5c751d17121cf0 | 1,358 | #!/bin/bash
# Copyright 2018 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... |
897e77a2ceb05ac86af75550e7b69b66bf6f7e23 | 368 | #!/bin/sh
CLICK_PIPE="https://git.thm.de/arsnova/arsnova.click/-/jobs/artifacts/staging/download?job=build"
. "./download.sh"
get_build_no $CLICK_PIPE
CLICK_BUILD_NO=$?
LAST_CLICK_BUILD=`cat click.build`
if [ "$LAST_CLICK_BUILD" != "$CLICK_BUILD_NO" ]
then
download_build $CLICK_BUILD_NO $CLICK_PIPE "click"
sh up... |
f3fbc404fe820f4918627feac0f77530dc12e328 | 2,239 | #!/bin/sh
# Copyright (c) 2019-2020 Guillaume Outters
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, m... |
0deb7e5a10609f865455233dbaa6590649162e63 | 2,196 | #/bin/sh
data_path=$1
loop_days=$2
loop_start=$3
old_model_name=$4
dir=`echo $data_path | rev | cut -d / -f 1 | rev`
process_id=ftrl_"$dir".id
prefix="_CPC_behavior"
echo $$ > log/$process_id
echo dir:$dir
echo data_path:$data_path
echo old_model_name:$old_model_name
echo loop_days:$loop_days
echo loop_start:$loop_s... |
e3cab1bdf19ba89560cf71ef94134513712126d3 | 1,117 | #!/bin/sh
# __ _ _
# _ __ _ __ ___ / _(_) | ___
# | '_ \| '__/ _ \| |_| | |/ _ \
# _| |_) | | | (_) | _| | | __/
# (_) .__/|_| \___/|_| |_|_|\___|
# |_|
#
# Profile file. Runs on login.
#
# default programs/environmental variables
export PATH="$PATH:$HOME/.local/bin"
export EDITOR="vim... |
d58eec4c95e3409cfab5f89c90c5ed74cc29a7dc | 90 | VUE_APP_SIGNUP_REDIRECT=https://wikivapeia.com/
VUE_APP_ADMIN=VFZ8ctkQUxXuggJSUcWFs9HMy9h2 |
ea5afa4c32e9ae0fb05c3ad9d213ccdafbcc3d19 | 99 | #!/bin/sh
#docker pull dockerwest/php:7.4
docker build --no-cache -t dockerwest/php-pimcore:7.4 .
|
04decb10826fcbd38ce55a5fff2a89aa92b2024f | 116 | #!/bin/sh
#
${THOME}/build/dobuild -64 libfishsound-1.0.0
${THOME}/build/genpkg TRIBlibfishsound libfishsound-1.0.0
|
5642e657f3fe4a881de8a8ac44cd3c5b512472c7 | 57 | EOSIO_AUTH=teamgreymass@oracle
EOSIO_KEY=5YOURPRIVATEKEY
|
52db45a9b95aa0aced4aa80f0ad003401e2d5c02 | 321 | #!/bin/bash
IMAGE_NAME="f43nd1r/acrarium"
VERSION="$(git describe --abbrev=0)"
if [[ ${VERSION} == v* ]]; then
VERSION=${VERSION#v}
fi
function tag {
echo "${IMAGE_NAME}:$1"
echo "ghcr.io/${IMAGE_NAME}:$1"
}
#tag "latest"
#if [[ $VERSION =~ ^[0-9]+(\.\d+)*$ ]]; then
# tag "stable"
#fi
tag $VERSION
tag "next"... |
048d343300afab8183813620603a7d26dc2d9bab | 306 | #!/usr/bin/env bash
function main()
{
tmpdir="$(mktemp -d)"
tmprc="$(mktemp)"
cat > "$tmprc" << EOF
PS1='\$ '
cd "$tmpdir"
EOF
env - HOME="$tmpdir" TERM="$TERM" bash --noprofile --rcfile "$tmprc"
rm -rf "$tmpdir" "$tmprc"
}
if [ "${BASH_SOURCE[0]}" == "$0" ]; then
main "$@"
fi
|
50d4df41c5292dab155ae3f53cfabcbc14a5a089 | 416 | #!/bin/bash
nohup spark-submit target/Reval.jar 0 1>/data/logs/re0.log 2>&1 &
nohup spark-submit target/Reval.jar 1 1>/data/logs/re1.log 2>&1 &
nohup spark-submit target/Reval.jar 2 1>/data/logs/re2.log 2>&1 &
nohup spark-submit target/Reval.jar 3 1>/data/logs/re3.log 2>&1 &
nohup spark-submit target/Reval.jar 4 ... |
cde7f0b4eae222cf90246d2fa2b296c5716bc685 | 336 | #!/bin/sh
___GPGPATH___ --homedir ___KEYRINGDIRPATH___ --fixed-list-mode --with-fingerprint --with-fingerprint --batch --no-default-keyring --no-auto-key-locate --with-colons --keyring ___KEYRINGDIRPATH___/pubpubring.gpg --secret-keyring ___KEYRINGDIRPATH___/secsecring --trustdb-name ___KEYRINGDIRPATH___/sectrustdb.gpg... |
a29ec834f141404dad7e711fa404e0920b953954 | 104 | #!/bin/sh
#
/usr/bin/mongos --configdb mongo1 --fork --logpath /var/log/mongodb/mongodb.log --logappend
|
6e5b42e878bc12c1851e904fd0f7c68ddb169001 | 329 | #!/usr/bin/env bash
#vmware-user &
vmware-user-suid-wrapper &
vmhgfs-fuse .host:/shared ~/.host-shared
(sleep 2s && conky -c ~/.config/conky/conky_start) &
setxkbmap -rules evdev -model apple_laptop -layout us,ara -variant mac,mac -option grp:alt_shift_toggle
/usr/bin/xmodmap /home/$USER/.Xmodmap
exec awesome
#e... |
2e347d6a0774ae7e48b9384318cb3645b4663f8f | 539 | #!/bin/bash
echo "################## CLUSTER UPDATE STARTED #######################"
USERNAME=root
HOSTS="unboundly-api-cluster-01 unboundly-api-cluster-02 unboundly-api-cluster-03 unboundly-api-cluster-04"
SCRIPT="cd /root/git/unboundly-api; git checkout master; git pull; /etc/init.d/unboundly-api stop; /etc/init.d/un... |
21a224414603f98b76a6ce597f678913606fa960 | 66 | #!/bin/bash
protoc3 -I . ./test.proto --go_out=plugins=grpc:.
|
acd9aa5b82737e0818fce5be3fec63abe5a25c6b | 128 | cd seed1 ; sh build_docker.sh
cd ../node1 ; sh build_docker.sh
cd ../node2 ; sh build_docker.sh
cd ../node3 ; sh build_docker.sh |
4677008bf3e57b6f71a3ea5741c36989a282a1b0 | 188 | #!/bin/bash
export TERM=linux
COLUMNS=$1
LINES=$2
while true ; do
x=$((RANDOM%COLUMNS))
y=$((RANDOM%LINES))
c=$((40+(RANDOM%10)))
echo -en "\033[$y;${x}f\033[1;${c}m "
done |
efe412ec2f27cfb7f19109bcaed2f9da9cba2857 | 562 | #!/bin/bash
TARS=(tarsAdminRegistry tarslog tarsconfig tarsnode tarsnotify tarspatch tarsproperty tarsqueryproperty tarsquerystat tarsregistry tarsstat)
cd ${TARS_INSTALL}/framework/servers;
for var in ${TARS[@]}
do tar czf ${var}.tgz ${var}
done
cp -rf ${TARS_INSTALL}/web/sql/*.sql ${TARS_INSTALL}/fra... |
ddc537a44fe915fa988dde4424310296c7803291 | 467 | #! /bin/bash
# Installing essentials
apt-get install i3-wm i3lock suckless-tools wicd-curses xdm htop kpcli ranger w3m vim-nox feh aptitude xinit apt-file gnupg rofi xclip pwgen whois
# Installing dependencies for i3pystatus
apt-get install python3-pip python3-netifaces libiw-dev pulseaudio libpulse0
pip3 install basic... |
1d0aaa3286ed693736237af2e5eb13719ad66ef6 | 249 | #!/bin/bash
browserify -t coffeeify --extension=".coffee" ./client > ./client/assets/scripts.js
uglifyjs ./client/assets/scripts.js -o ./client/assets/scripts.js
coffee -c ./server/*.coffee
cd server
sudo forever stopall
sudo forever start index.js
|
5ab8fcde83a973f631b12afe53b29eb9d41b1fb3 | 278 | #! /bin/bash
# New P.sh
if [ -z "$1" ]; then
echo "Usage $0 mutex-name"
exit 1
else
# You can just use the P.sh script itself to link to
#We know this file will always exist (we're running it after all)
while ! ln "$0" "$1-lock" 2>/dev/null; do
sleep 1
done
exit 0
fi
|
9be5f72c3dc25965f14488674a7bc7b6cc74e09e | 940 | # Maintainer: Pablo Lezaeta <prflr88 (arro'a) gmail.com>
# Contributor:Sarkasper <echo a2FzcGVyLm1lbnRlbkBnbXguY29tCg== | base64 -d>
# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
pkgname=b43-firmware-lts
realname=broadcom-wl
pkgver=5.10.56.27.3
pkgrel=7
pkgdesc="Firmware for Broadcom B43 wireless network... |
ba34eeb187792c73c49871d5eb746d45c8a34d64 | 84 | export NEWS_API_KEY = 'dfab4670bae14b02bc7e9ae068f638bd'
python3.6 manage.py server |
9d9875e02208353a5ecdd962cbff5d6ebbae58df | 49 | #!/bin/bash
dieharder -d 102 -g 26 -S 3994200285
|
4bd367c25b1a95dfa4c35e0246075529e1bbad41 | 4,549 | #!/bin/sh
SRC_DIR=src
SRC_URL_PREFIX=http://prizma.bmstu.ru/rzx50-storage/opendingux-rzx50-20120331/src
PACKAGESRO_DIR=packages-ro
PACKAGESRO_URL_PREFIX=http://prizma.bmstu.ru/rzx50-storage/opendingux-rzx50-20120331/packages-ro
mkdir -p $SRC_DIR
( cd $SRC_DIR; wget -c http://crosstool-ng.org/download/crosstool-ng/cr... |
9b38eb5c2b942c30142d92b8c5105fd6a3bcb9dd | 186 | #! /bin/sh
#
# Test that sched_getparam() sets errno == ESRCH if the pid cannot be found.
# This is tested implicitly via assertion 4.
echo "Tested implicitly via assertion 4."
exit 0
|
07c23ad5aa756f8a1da46ef299d886800654b5fc | 1,408 | #!/usr/bin/env bash
###########
# This script is a CLI stub implemented in Bash.
# If you happen to be planning to create a Bash-based CLI, this script
# can serve as a - very basic - starting point.
#
# Globally installed CLIs benefit from having an associated man page.
# make-pkg's optional vMAN_ON setting... |
fcafd5d207096282fad3f5d9138e889256dc5d98 | 90 | #!/bin/bash
cd /usr/share/linkat/linkat-servidor/patches/
./01-nextcloud.sh
./02-smb.sh
|
2ce63a43fb8bca8f01cca97e9f7aa28231fdce12 | 9,803 |
#####################################################
# Train and test using SVM-Light-TK-1.5
#####################################################
# Run the tool
fnRun()
{
Parameters="-t $1 -C $2 -F $3 -c $4 -b $5 -L $6 -M $7 -m $8 -U $9 -T $T -V L -d $d"
echo $Parameters >> $TRACE_FILE
cd $SVM_LIGHT_TK
decl... |
3e5c3183379181b8a60a661dc0571a3b7c47af74 | 1,730 | #!/bin/bash
set -e
############################################
#
# Følgende forutsetninger for dette skriptet
# - github pages befinner seg under mappa docs
# - sist genererte rapport lagges under mappe docs/latest
# - eldre genererte rapporter ligger under mappa docs/generated/<date or timestamp>
#
# Følgende skjer ... |
d1703d8684202586cbfff6faa32feea4320d32b9 | 1,456 | #!/usr/bin/env bash
# Install Homebrew for dependency management
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install wget > /dev/null 2>&1
# Install PHP 7.0
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew unlink php56... |
44ddb03b441cfbdb428520aea2127d712cbb277c | 165 | #!/bin/bash -x
conda install --channel https://conda.anaconda.org/menpo opencv3
sudo apt-get update
sudo apt-get install libgomp1
sudo apt-get install libgtk2.0-0
|
e62097b90ef253cbbb3fa1057888c90b4fd9aba1 | 50 | #!/bin/bash
source ./function.sh
clean_dotfiles
|
8bcd09bea7c3089c1169c52751ff16415fb4fac7 | 72 | FACEBOOK_ACCESS_TOKEN=
DIALOGFLOW_PRIVATE_KEY=
DIALOGFLOW_CLIENT_EMAIL=
|
90bfc75e576435a31919b0ca3dfb8e0575bb7b7b | 477 | #!/bin/bash
#do the inserting
sed -i -E "s~$(grep -oP '\#\>\>.+\<\<\#' ./insertTarget.sh)~$(echo "$(cat .\/codeToInsert.sh)" | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g')~g" ./insertTarget.sh
#grep -oP --color=always '\#\>\>.+\<\<\#' ./insertTarget.sh #nice display, debug
#echo "$(cat .\/codeToInsert.sh)" | sed -E ':... |
f132213ebef89aff7d00e260507623e1fe9be096 | 660 | #!/bin/bash
# Download the firmware
wget 'http://80.211.96.38/s/inc/downloads/es40-srmon/cl67srmrom.exe'
# Start AXPbox
../../build/axpbox run &
AXPBOX_PID=$!
# Wait for AXPbox to start
sleep 3
# Connect to terminal
ncat -t 127.0.0.1 21000 | tee axp.log &
NETCAT_PID=$!
# Wait for the last line of log to become P00... |
7c25654e6c1adc8bb4089e3c9001a08a6b1f6ce8 | 188 | #!/bin/bash
if [ $# -lt 1 ]
then
echo "usages: if.sh filename"
fi
if [ -x $1 ]
then
echo x
elif [ -r $1 ]
then
echo r
elif [ -w $1 ]
then
echo w
elif [ -c $1 ]
then
echo c
fi
|
efff16c851c75413ad51df1c53e661574b1701f5 | 1,444 | # Script to chroot into Ubuntu
# Make a new ~ for Ubuntu instead of /data
export HOME=${NEW_HOME}
if [ -e ${NEW_HOME}/.bash_profile ]
then
echo "using existing .bash_profile... find it in chroot's HOME"
else
echo "# sdk_generated .bash_profile" > ${NEW_HOME}/.bash_profile
echo "# (from the go.sh portion ... |
4cb245c2a0845ee328221794d89324ddcc3ef6bd | 179 | #!/bin/sh
ns_srv=$(grep -m1 '^nameserver' /etc/resolv.conf)
ns_other=$(grep -Ev '^#|^nameserver' /etc/resolv.conf)
printf '%s\n%s\n' "${ns_srv}" "${ns_other}" > /etc/resolv.conf
|
87675b19618cb2ab86ed453ca67efbfcd8377f31 | 240 | # /bin/sh
# script to kill all dead processes with <defunct> in process name
PID="$(ps aux | grep ztd-log | grep -v grep | awk '{print $2}')"
echo ${PID}
if [ x"${PID}" != x"" ]; then
kill -9 ${PID} &>/dev/null
sleep 1
fi
echo "done"
|
012f5202f7197dca9cdfa625ebe602dc50a5449a | 922 | #!/usr/bin/env bash
set -eu
PLATFORM=$(uname)
if [[ $PLATFORM == 'Linux' ]]; then
sudo curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor --yes -o /etc/apt/keyrings/kubernetes-archive-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https:/... |
1d6c8a620d60c74aa13dcd5154379b95cafb7bb6 | 146 | xrandr --auto --output HDMI-0 --mode 1920x1080 --right-of DVI-0
# tint2 &
conky &
xautolock -time 15 -locker slock &
sh ~/.fehbg &
numlockx on &
|
51575a6d3ad516736ebaefb35aef3085c2012b1e | 808 | trim_galore Unsorted-plusDox-HAChIP-12hr-rep1_R1.fastq
bowtie2 -p 20 --local --very-sensitive -I 10 -x /nethome/Shared/annotation/iGenome/Mus_musculus/UCSC/mm9/Sequence/Bowtie2Index/genome -S Unsorted-plusDox-HAChIP-12hr-rep1.sam -U Unsorted-plusDox-HAChIP-12hr-rep1_R1_trimmed.fq
grep -v "XS:i:" Unsorted-plusDox-HAChI... |
9332a4dff7c4e0f9806d8829d2921da58724336c | 120 | #!/bin/sh
#
PYTHON=python3
CLIENT_CONFIG=Orchestrator.config
$PYTHON Client.py --Ice.Config=$CLIENT_CONFIG "$1" "$2"
|
4f57b5b077ed32e904b56aefedf2eca826c4eaf7 | 363 | #!/bin/bash
#remove limit on stack size to prevent related segfault
ulimit -s unlimited
### Asimov limit
mkdir -p limit
pushd limit
for file in ../cards/*.root; do
TAG=$(basename $file | sed 's/card_//g;s/.root//g');
combine -M AsymptoticLimits $file -t -1 -n $TAG --setParameters LUMISCALE=1 --freezeParameter... |
6627807115150e3f6a79d523c783a50f190bce96 | 5,755 | # -*- mode: sh; sh-shell: bash; -*-
# Copyright 2020 Canonical Ltd.
#
# 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... |
de4cc91b50fb7f1336224b8852cfe8e42c2160de | 619 | #!/usr/bin/env bash
echo -e "Starting to update gh-pages\n"
cp -R example/build/reports/specs $HOME/specs
cd $HOME
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config --global user.name "${GITHUB_ACTOR}"
git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/Adven27/Exam.g... |
3b5e5911ed69386005cbd31085c33ad5978c0ce2 | 198 | #!/bin/bash
echo "Test Running Custom Classifier ::"
PYTHONPATH=./ python tools/run_custom_classifier.py --custom_classifier=tests/resources/checkpoint_dir --path_in=tests/resources/test_video.mp4
|
32aea2cc9cdefcec04d217a07f59e53865c47602 | 87 | NODE_ENV = development
PORT = 5000
MONGO_COMPASS_DBNAME=basicshop
JWT_TOKEN = aldi1234
|
2d6deb1d942f9bcf1c1df711e51423429f7d8a5c | 1,752 | #!/bin/bash
echo "Installing non apt applications..."
sleep 1
### Installing custom applications from github
cd /tmp/
### Install Alacritty
wget https://github.com/alacritty/alacritty/releases/download/v0.4.3/Alacritty-v0.4.3-ubuntu_18_04_amd64.deb
sudo dpkg -i Alacritty*.deb
### Install bat
wget https://github.com... |
522c030b4b200927545e306a719dd9d9e7054143 | 3,132 | #!/bin/bash
$(bashlibs --load-base)
include shunit2_enhancements.sh
include directories.sh
include os_detection.sh
create_root_path() {
set_root_path /tmp
mkdir -p $(release_file_dir)
}
clean_root_path() {
safe_delete_directory_from_tmp $(release_file_dir)
unset_root_path
}
create_ubuntu_lsb_release_... |
6609ce46f1c41276ba4f2c070d6ca49d9112308c | 389 | #!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: avahidaemon.sh,v 1.2 2008/12/20 23:51:39 ahoka Exp $
#
# PROVIDE: avahidaemon
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
name="avahidaemon"
rcvar=${name}
command="@PREFIX@/sbin/avahi-daemon"
required_files="@PKG_SYSCONFDIR@/avahi-daemon.co... |
57527eeed96505ae58e21e470212f696f42c9ee7 | 291 | #!env bash
cd "$(dirname "$0")"/..
wget -cO bicis.zip https://data.buenosaires.gob.ar/api/datasets/rk7pYtZQke/download
wget -cO bicis-trayectos.zip https://data.buenosaires.gob.ar/api/datasets/HJ8rdKWmJl/download
mkdir data
unzip -o bicis.zip -d data
unzip -o bicis-trayectos.zip -d data/ |
f064350a5949cb93842b9abcca048f5587926d75 | 119 | #!/bin/sh
set -e
dpkg-maintscript-helper rm_conffile \
/etc/gss/mech.d/mech.ntlmssp 0.7.0-2 gss-ntlmssp -- "$@"
|
b6246d09ea6188e5df1a3a310694fa9b746faa56 | 257 | #!/bin/sh
bases="b o d h x"
for i in ${bases} ; do
for j in ${bases} ; do
if [ ${i} != ${j} ] ; then
#rm ${HOME}/bin/${i}2${j}
ln -s ${HOME}/bin/base_change.sh ${HOME}/bin/${i}2${j}
fi
done
done
rm ${HOME}/bin/h2x ${HOME}/bin/x2h
|
6171fb9f93146b13e44c9878a15f22dcf7330ae7 | 232 | CELERY_BROKER_URL=rabbitmq
SCRAPPER_URLS=https://www.walmart.ca/en/grocery/N-117
CELERYD_MAX_TASKS_PER_CHILD=1
SELENIUM_URL=http://selenium:4444/wd/hub
MAX_NUMBER_OF_PRODUCTS_TOTAL=3000
MAX_NUMBER_OF_PRODUCTS_PER_PAGE=65
MAX_PAGE=2
|
9527c75846605845c6edb34e298b4635d3e2034f | 70 | #!/bin/sh
curl -X DELETE "http://127.0.0.1:8080/v2/apps/%2Fspleepy"
|
0ef4b01e06419508be733c5b1e79159156f302a8 | 197 | #!/bin/bash
path=$1;
num_regular=$(find "$path" -type f | wc -l)
num_dir=$(find "$path" -type d | wc -l)
echo "There were" $num_dir "directories."
echo "There were" $num_regular "regular files."
|
348eb8ae301da1add50ff97f41b216ca3120b8a0 | 3,628 | #!/bin/bash
#=================================================================
# date: 2018-05-30 13:47:20
# title: postbuild
#=================================================================
if [[ $# != 3 ]]
then
echo "Error, Use: prebuild.sh project_top_dir platform release_dir"
exit
fi
echo "======> postb... |
9975a033d7d503ed882fd7db1be576e38bf0fc9b | 135 | #!/usr/bin/env bash
sizes=(16000 16000 32000)
for (( i = 0 ; i < ${#sizes[@]} ; i=$i+1 ));
do
echo $i
echo ${sizes[${i}]}
done |
9cd1b75207d4b9091b9365b4c876743e5a7d4fb6 | 472 | #!/usr/bin/env bash
#脚本目录
basedir=`pwd`
dirname $0|grep "^/" >/dev/null
if [ $? -eq 0 ];then
basedir=`dirname $0`
else
dirname $0|grep "^\." >/dev/null
retval=$?
if [ $retval -eq 0 ];then
basedir=`dirname $0|sed "s#^.#$basedir#"`
else
basedir=`dirname $0|sed "s#^#$basedir/#"`
fi
... |
fab41df26e8190a4d0ca0c6c41d2e0a2e877e14f | 1,254 | #!/bin/sh -e
#*******************************************************************************
# Copyright (c) 2011-2019 Software AG, Darmstadt, Germany and/or Software AG USA Inc.,
# Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
#
# SPDX-License-Identifier: Apache-2.0
#
# Lice... |
0be43325f76a0695ff92c727628d234e48c1f42c | 803 | #!/bin/bash
# This should be invoked from ~/.bashrc.
# --------------------------------------------------------------------------------
# gitprompt configuration
# --------------------------------------------------------------------------------
# Set config variables first
GIT_PROMPT_ONLY_IN_REPO=0
# GIT_PROMPT_F... |
f534f7280d6c2a1206e5cbe42c20f98d7aa12be5 | 487 | #!/bin/bash
set -o errexit -o nounset -o pipefail
command -v shellcheck > /dev/null && shellcheck "$0"
# get this files directory regardless of pwd when we run it
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
"${SCRIPT_DIR}"/test_stop.sh
if [[ $(docker ps -q) ]]; then
echo "Some docker containers ... |
eb58f93d9024d02bf8e38b906cac9869c61e3f6e | 686 | #!/bin/sh
./SXSimulator_8Dec -f /home/jameswong/h_sapiens_v37_1/hs_grc_chr20.fa_masked -rand -o SIMrun20 -pe 205 5 -SNP 0.1 1 1 -s 30 -c 30 -dist
./SXSimulator_8Dec -f /home/jameswong/h_sapiens_v37_1/hs_grc_chr21.fa_masked -rand -o SIMrun21 -pe 205 5 -SNP 0.1 1 1 -s 30 -c 30 -dist
./SXSimulator_8Dec -f /home/jameswong/... |
644df72dae31c23550357615a4cda6148852c791 | 639 | #!/bin/bash
NUM=$1
dir=src/problem_$NUM
tmp=$(mktemp)
readme=$dir/README.md
mkdir "$dir"
cp tools/template.h "$dir"/problem_"$NUM".h
cp tools/template.cpp "$dir"/problem_"$NUM".cpp
cp tools/template.CMakeLists.txt "$dir"/CMakeLists.txt
sed -i 's/NUM/'"$NUM"'/' "$dir"/problem_"$NUM".*
curl https://projecteuler.net/... |
8f21ed6cac111ef62b658bc531f8b3e6fd82079e | 229 | #!/bin/bash -e
while true; do
if kubectl get pods | grep Running > /dev/null
then
echo SQL Server is Ready
break
else
echo Waiting for SQL Server to be Ready ...
sleep 5
fi
done
|
5134a68a81573a9bc7834ed6e43c1f4e43e17fe5 | 864 | #!/bin/bash
set -e
readonly confdir=conf
readonly initrd=$(pwd)/initrd
readonly busyboxdir=busybox
readonly outputdir=$(pwd)/output
if [ -e ${initrd} ]; then
echo -n "Removing existing initrd, press ENTER to proceed... "
read input
rm -rf ${initrd}
fi
echo -n "Creating initrd filesystem... "
mkdir ${initrd} &... |
3c457304bb993f0061657f70bc09c492d65064d7 | 197 | #!/usr/bin/env bash
set -e
gitbook build
cd _book
git init
git add --all
git commit -m "deploy $(date) "
git push --force --quiet "git@github.com:Debbie-Lab/app-proto-recipes.git" master:master
|
b1dfaeed17c4a61fe36ddf957400e1669c91f8aa | 457 | #!/bin/bash
echo "boot2net running" >/tmp/t.t
# Remove old config if there was one
/bin/sed '/Config.*netcfg\.txt/,$ d' -i /etc/dhcpcd.conf
# Add identifier to start of new config, then copy in the config removing any windows CRs
echo "#Config from /boot/netcfg.txt" >>/etc/dhcpcd.conf
/bin/sed 's/\r//g' /boot/netcfg.... |
27e7476c8508e7872eb3b4a2fe1df576a89b064f | 420 | #!/bin/sh
conda activate py36
wd="/mnt/nfs/home/b7053098/ciaran/TGCA"
echo $wd
echo ${wd}/tgca/ga_for_cluster.py
for num_features in {1..15}; do
for num_clusters in {2..6}; do
echo "${num_features}_${num_clusters}"
FLAGS="--ntasks=1 --cpus-per-task=1 --job-name=f_${num_features}_k_${num_clusters}"
sbatch... |
545224f2e9069553857cd9a49ffd745f9c84f13d | 198 | #!/bin/bash -eu
cd $(dirname `realpath $0`)/../;source .env
docker run --rm -t postman/newman:alpine ${@}
# docker run --rm -v ${PWD}/postman/collections/:/etc/newman -t postman/newman:alpine ${@}
|
d2d20543c579de0ae699c680d7e2f25ab893ea8d | 627 | #!/usr/bin/env bash
set -e
# set up directories for state
_condor_local_dir=`condor_config_val LOCAL_DIR` || exit 5
mkdir -p "$_condor_local_dir/lock" "$_condor_local_dir/log" "$_condor_local_dir/run" "$_condor_local_dir/spool" "$_condor_local_dir/execute" "$_condor_local_dir/cred_dir"
# start condor
condor_master
... |
bbc1953e87f4afe6103d6fe1320eb01ec1a61c2d | 1,284 | #!/usr/bin/env zsh
# Does org-mobile-push from ~/org/mobile via tramp+scp to the remote
# directory.
#
# For org-mobile-pull, emacs reads from and writes to the remote
# mobileorg.org inbox directly via tramp so no rsync is required.
# Any new items captured via the Android app will then appear locally
# in the file d... |
6e1422386969b376997ad3befb915e123cf6963e | 2,149 | #!/bin/bash
# --------------------------------------------
# Export vars for helper scripts to use
# --------------------------------------------
# name of app-sre "application" folder this component lives in; needs to match for quay
export COMPONENT_NAME="image-builder-frontend"
# IMAGE should match the quay repo set... |
d8dd4e0db79776dc8a02ad11c20a9b1052a408a5 | 795 | #!/usr/bin/env bash
# Wire up the env and validations
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# shellcheck source=/dev/null
source "${__dir}/../secrets/environment.sh"
message() {
echo -e "\n######################################################################"
echo "# $1"
echo "#######################... |
6f11e67246de2d0ff10b6bd289b260af08d2435c | 205 | #!/bin/bash
# train_mnist.sh <CAFFE_HOME> <SOLVER>
set -e
CAFFE_HOME=$1
SOLVER=$2
echo "${CAFFE_HOME}/build/tools/caffe train --solver=${SOLVER}"
${CAFFE_HOME}/build/tools/caffe train --solver=${SOLVER}
|
942739bc8bfa7bedf438489c46e9db7c71e18b0b | 514 | #!/bin/bash
echo run initial script!
# add path for file
# initial environment
export GOPATH=$HOME/work
export PATH=$PATH:$GOPATH/bin
export GOROOT=/usr/local/go/
# kill process which hold port 6121
# netstat -tulnap
sudo kill -9 $(lsof -t -i:6121)
# setup network condition delay 100 miliseconds
sudo tc qdisc de... |
9e17d3a07d522135ee0e58d78ab8d99039e601a8 | 141 | PORT=4000
USERBD="admin"
USERBDPASSWORD="12345"
SERVER="127.0.0.1"
DATABASENAME="GYMNoPainNoGain"
MAXIMUMCOUNTUSERINASITE=300
TOKEN_SECRET='' |
4a1411a7584cf4e300f34d4162c48b13a78ceda6 | 67 | #!/bin/sh
cd html
git commit -a -m "1"
git push origin master
cd -
|
57031efc744d6ffb090e5b471d1c505290e6c588 | 59 | #!/bin/bash
while true; do echo 'sleeping'; sleep 30; done
|
517286a1847840769f20567da857928aa3aca763 | 63 | #!/bin/sh
ssh -p 2221 behemoth4@behemoth.labs.overthewire.org
|
351105325bf9b9b225b7f329338afb6988a42f5f | 68 | python3.6 test.py --outf $1 --netVAE ./checkpoint/netVAE.pth --cuda
|
1273fc3dbeec0f4ea717b8e6bd23e47757330f8e | 567 | DOCKER_IMAGE=python:3.8.0-slim-buster
INFLUXDB_DOCKER_IMAGE=influxdb:1.7.9
# The database name to be used
INFLUX_DB=smart_development
# Influxdb configuration. These valures are used at python to access the
# database and at docker-compose.yml to configure the influx1 service.
INFLUX_HOST=influx1
INFLUX_USER=influx
I... |
cd3f11c23045a7aeb30b82ceee4c7e96322016de | 133 | cd backend
./gradlew bootBuildImage --imageName=harbor.bearisland.tkg-vsphere-lab.winterfell.life/animal-rescue/animal-rescue-backend |
2fee86aa4c4d607beb1a9436d3f80d1954cdf582 | 1,243 | ### BEGIN INIT INFO
# Provides: nodejs_server_startup
# Required-Start: $remote_fs $named $syslog
# Required-Stop: $remote_fs $named $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Script for stopping and starting nodejs server
# Description: This script wa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.