blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
403d8ac66528281022150a8a0258b0d8c06aff80 | 730 | #!/bin/bash
for i in "$@"
do
case $i in
-p=*|--peer=*)
PEER="${i#*=}"
shift
;;
-o=*|--orderer=*)
ORDERER="${i#*=}"
shift
;;
--default)
DEFAULT=YES
shift
;;
*)
;;
esac
done
echo "PEER = ${PEER}"
echo "ORDERER ... |
e30ae86e22244bb56b083511e3dcfdd4fd69a915 | 308 | PROJECT_ID=$(jq -r '.resources[0].instances[0].attributes.app_id' terraform/terraform.tfstate)
gcloud beta billing projects unlink $PROJECT_ID
gcloud projects delete $PROJECT_ID
rm -rf terraform/.terraform
rm terraform/.terraform.lock.hcl
rm terraform/terraform.tfstate
rm terraform/terraform.tfstate.backup
|
616d12cf58de853fd8a67253d0456afd895c8ed7 | 229 | project=$1
action=$2
version=$3
if [ $version ];then
modules/build.sh $sourceroot/$project/ $action $version
else
modules/build.sh $sourceroot/$project/ $action
fi
if [ $? -ne 0 ];then
echo "build $project failed"
exit 1
fi |
41de9ad4ba5f0afd18f1172cee7280cb91a85ea6 | 5,282 | #!/bin/bash
baseTFTP="/opt/g8-pxeboot/pxeboot/tftpboot/pxelinux.cfg"
baseIP="/opt/g8-pxeboot/pxeboot/conf"
#check if base files exist
function check {
[ -f "$baseIP/hosts" ] || { echo [-] "can't find $baseIP/hosts file" && exit 1; }
[ -f "$baseIP/dhcphosts" ] || { echo [-] "can't find $baseIP/dhcphosts file" && ex... |
67c3b22da2d163c9f64db943cd1bf90d9e9f5074 | 242 | #!/bin/bash
# Deploy to local
DEST_DIR="/var/www/domo-server"
echo "Deploy to localhost to $DEST_DIR"
sudo cp * $DEST_DIR/
sudo cp -r ./api $DEST_DIR/
sudo cp -r ./app $DEST_DIR/
sudo cp -r ./python $DEST_DIR/
sudo pm2 restart domo-server
|
57121dd84154f6ac229dffd02646dd7df702d9e6 | 102 | node -v
npm -v
if [ -e "./node_modules" ]
then
npm run build
else
npm i
npm run build
fi
|
cc9598aa32ee2a63a23e6c1648a39291f6d516ae | 540 | #!/usr/bin/env bash
# This is a script for bootstrapping macOS setup
set -e
if [[ ! -e "manage.sh" ]]; then
echo "Make sure you have the manage script nearby"
exit 1
fi
if ! which brew &> /dev/null; then
echo "You need to install homebrew"
exit 1
fi
echo "Installing dependencies from Brewfile..."
brew tap h... |
7228cbe7bf3d315bca9e58fda64140df53b2b683 | 2,108 | #!/usr/bin/env bash
NAME=""
DATA=()
LABELS=("kyma-project.io/installation=" "installer=overrides")
NAMESPACE="kyma-installer"
LABEL_REGEXP="^[a-zA-Z0-9./-]+=[a-zA-Z0-9./-]*$"
function checkScriptInput {
if [[ -z "${1}" ]] || [[ "${1:0:2}" == "--" ]]; then
echo "Missing parameter value"
exit 1
... |
95fedabdfe8d9327edb1210024b19edb2e46fc25 | 224 | #!/bin/bash
set -e
scripts_path=./$(dirname $0)
eval $($scripts_path/../get_paths.sh)
./$scripts_path/../experimental/generate-mysql-bosh-lite-manifest
bosh -t 192.168.50.4 -d $DIEGO_MANIFESTS_DIR/cf-mysql.yml -n deploy
|
30a02190ab6d2c93a8f4e87c516d0bfe43350222 | 29 | #!/bin/bash
vim $(which $1)
|
40d9e4c49e7f60c1827845647070720d0c62d5a4 | 55 | export WINDOWS_USERPROFILE="$(cygpath "$USERPROFILE")"
|
8d88d707ee01bb2c8be2eca2bdd49084b7e011d5 | 1,164 | #! /bin/bash
# 尚未完成
# e.g. search /home/* and return 1st depth of folders in /home/
# : ./get_folders_in_folder.sh
search_dir="/home"
# for entry in `ls $search_dir`; do
# # echo "$entry"
# filepath="/$search_dir/$entry"
# echo "filepath=$filepath"
# if [[ -d $filepath ]]; then
# entry_basen... |
bd29905b20d7ff2b38767007ea7a0d4c2d12f2e2 | 78 | #!/bin/bash
#cURL headers
curl $1 -sX GET -H "X-HolbertonSchool-User-Id: 98"
|
74ef13d7e9f605f0f7a2fb98ade7776bc7eed971 | 186 | #!/usr/bin/env bash
g++ -c Layer0.cpp
g++ -c Layer1.cpp
g++ -c Layer2.cpp
echo Done Compiling Linking Left
g++ Layer1.o Layer0.o Layer2.o main_prog.cpp -o main_prog
echo Linking Complete |
96927d3e5b73cd3f44793cab4a3091ab607f0484 | 1,205 | #!/bin/bash
echo ========================================================
echo Tagging all non running servers as Type=Slave, Name=SlaveXX
echo ========================================================
if [[ -z "${1+x}" ]] ; then
COUNTER=0
else
COUNTER=$1
fi
function tag {
if [[ "$1" != "0" ]] ; then
... |
e1b484985e86fa4dd4e6d51eb08352bc6659bdc1 | 3,025 | #!/bin/bash
set -euo pipefail
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
test-pt2 () {
diff <(${ANGELIX_RUN:-angelix-eval} ./pt2 "$1") <(angelix-eval $SCRIPT_DIR/../golden/pt2 "$1")
}
case "$1" in
1)
test-pt2 "0G~%[a[czf"
;;
2)
test-pt2 "kH"
;;
3)
test-pt2 ... |
3e0fd81500af910a67e97f5f4ca0bd04054b2653 | 756 | alias ll='ls -alF'
alias la='ls -A'
alias l='ls -1 --group-directories-first'
alias j='jump'
# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;... |
130e974ca69def82a70cfa982ced1fadc534f38d | 153 | #!/bin/sh
kubectl delete svc istio-ingress
echo "Waiting for the Istio Ingress service to clean up"
sleep 30
gcloud container clusters delete -q istio
|
6577e1b8dbbd742c6162ac74647555f321fa8a89 | 597 | #! /bin/bash
source /opt/ros/kinetic/setup.sh
source ~/UstarService/devel/setup.bash
move=0
rqt=0
gnome-terminal -x bash -c "roslaunch simulator stage.launch"
if [ $? -eq 0 ]; then
sleep 3
gnome-terminal --tab -e 'bash -c "roslaunch simulator move.launch"'
move=1
else
echo "stage start falied"
fi
if [ $move -eq 1 ... |
1cd1b01ec52701be16046884e36a28dc8c484499 | 2,637 | #!/usr/bin/env bash
############################################################
# Helper functions
# shellcheck disable=SC2155
download() {
local download_url="${1}"
local output_path="${2}"
if ! curl -v "${download_url}" > "${output_path}" ; then
echo "Downloading ${download_url} to ${output_path} failed... |
fa0d1124db056d673426b57bc528217b52c79131 | 133 | #!/bin/bash
cd ~/angular/Apps1
grunt mask:mathmo
grunt prod
rsync -av ~/angular/Apps1/dist/ gmp26@maths.org:/www/nrich/html/mathmoApp |
7f64bc8a8f0495af7bc6497d5fd7de73b9d21e98 | 281 | #!/bin/sh
echo "create database test1;
\c test1
CREATE TABLE indexing_table(created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW());
" | psql -U postgres
while true; do
psql -U postgres -d test1 -c "INSERT INTO indexing_table(created_at) VALUES (CURRENT_TIMESTAMP);"
sleep 1;
done
|
9b6ec040a0e8724acfefc3f023ed58763bae91f3 | 47 | #!/bin/bash
# testing if and logical operators
|
f8064a5f30012b66a1b861a2c0c58962f523839b | 734 | #!/usr/bin/env sh
set -o errexit
DIR="${HOME}/.config/awesome/config"
DEST="$DIR/env.lua"
[ -d "$DIR" ] || mkdir -p "$DIR"
cat >"$DEST" <<EOF
terminal = os.getenv("TERMINAL") or "xst"
terminal_cmd = terminal .. " -e "
editor = "{{ .editor }}"
editor_cmd = terminal_cmd .. editor
{{- if eq .sound "alsa" }}
{{- if e... |
292d704d400495679fc0c37c7e9f622e2aa2596d | 639 | function rails3_generator {
generator_name=$1
gem_name=gem_$generator_name
shift 1
script/generate generator $generator_name
cd lib/generators
# create jewel
jewel_build $gem_name
cd lib
# remove default rb file
# create directory structure for generator
rm *.rb
mkdir generators
# go to top dir
c... |
ced2facdecb1b401f9760b6a60a6d61595f2fc54 | 131 | export MAVEN_OPTS="-Xdebug -Xmx512m -Xrunjdwp:transport=dt_socket,address=8003,server=y,suspend=n"
mvn -Djetty.port=8083 jetty:run
|
ab7dce682d952f8d6819d24bdfbdc3a95a94bbb5 | 769 | #!/usr/bin/env bash
# Load common shell functions
MYDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. $MYDIR/common_shell_functions.sh
print_header "Starting to test STATSD module"
# Enable STATSD module
opsbro agent parameters add groups statsd-listener
# Start it
/etc/init.d/opsbro start
cat /var/log/o... |
ecea1e3a2db2c743e3a84bc0c56a10b1580f859f | 164 | databasetype = mysql
database = o8d1dhfhsgkwalig
server = e11wl4mksauxgu1w.cbetxkdyhwsb.us-east-1.rds.amazonaws.com
user = sde1nao62ko4du2r
pass = t54neh1as8jj1osz
|
93a79b74282d4b89365ca00ae27222f38ade9f6d | 1,215 | #perl 관련옵션이 컴파일 중 에러가 나서 실제로 perl 관련 컨피그는 제거하고 컴파일했습니다
# 아래 사이트를 참고해서 서비스 스크립트까지 설치하도록 합니다
# https://github.com/utylee/nginx-sysvinit-script
./configure \
--sbin-path=/usr/local/sbin/nginx \
--prefix=/usr/share/nginx \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/error.log \
--http-log-path=/var/log/a... |
ed3654e33b6b501c6e39838cbb89c701e31cdbff | 227 | POSTGRES_USER=admin
POSTGRES_PASSWORD=admin
POSTGRES_DB=nestjs
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
PORT=3001
RABBITMQ_USER=admin
RABBITMQ_PASSWORD=admin
RABBITMQ_HOST=localhost:5672
RABBITMQ_QUEUE_NAME=email-subscribers
|
c58ab06405f7efd62a91e4c5dcab9e22b5fd2b0c | 168 | #! /bin/bash
cp .env.example .env
docker exec lnk-app composer install --no-cache
docker exec lnk-app php artisan key:generate
docker exec lnk-app php artisan migrate
|
29e6897d09bdb3ff11c519b77a3d73103c8db3b4 | 307 | #!/bin/bash
cd $(dirname $(readlink -f $0))
if [ $# -lt 3 ]; then
echo Usage: ./create_service.sh SERVICENAME BOTFOLDER BOTUSERNAME
exit 1
fi
sed -e "s/\[botname\]/$1/g" -e "s/\[botfolder\]/$2/g" -e "s/\[botuser\]/$3/g" botservicectrl > $1
chmod 0755 $1
mv $1 /etc/init.d/$1
chkconfig --add $1 |
578a1504f0f95e13ed3ab56d0340145c77a73860 | 1,351 | #!/bin/sh
# XMP tags editor extension
# test Ubuntu distribution
DISTRO=$(lsb_release -is 2>/dev/null)
[ "${DISTRO}" != "Ubuntu" ] && { zenity --error --text="This automatic installation script is for Ubuntu only"; exit 1; }
# install tools
sudo apt-get -y install libimage-exiftool-perl imagemagick zenity
# install ... |
99409c9c604c56094496b32d3fcf8b4833e68220 | 76 | java -jar -Dloader.path=.,3rd-lib /var/www/html/ybg_plus-3.0.0-classes.jar
|
61548850f92922710663065c532f7995f958aaf8 | 1,241 | # run various training schedules for upper class model
#python train_class.py -traindir ../fdata_CropSQRS/train/upper/ -testdir ../fdata_CropSQRS/test/upper/ -modelfile model_upper_u16_lr0001_SGD.h5 -logfile log_u16_lr0001_SGD.csv -lr 0.0001 -unfreezelast 16 -nworkers 6
python train_class.py -traindir ../fdata_CropSQ... |
32c93398db88d0c19a76626d8717017e4e31b1f5 | 37 | #!/bin/bash
service rocketchat stop
|
a5c8f6f483b19d3520d6bfb329123993a389797f | 238 | #!/bin/sh
make -C conio clean $@
make -C sbbs3 clean $@
make -C sbbs3/scfg clean $@
make -C sbbs3/uedit clean $@
make -C sbbs3/umonitor clean $@
make -C smblib clean $@
make -C uifc clean $@
make -C xpdev clean $@
make -C encode clean $@
|
fa5308a8aab71db41d67d7e621e65f3f35e96ed1 | 87 | #!/bin/bash
dapr run --app-id products --app-port 9002 --log-level error realize start
|
ecbccfd0a64e1d91035a5dedab8e1df64dfe913c | 95 | #!/bin/sh
echo "== Stopping Docker Containers == "
docker-compose stop
echo "\n== Done! == "
|
7614c7e144f4eaf516ffdf78bb82c7911261919f | 117 | #!/bin/bash -x
./gradlew testClasses
echo '// change' >> project2/build.gradle
./gradlew testClasses
./gradlew check
|
8e30933f2c6c3e5942d6e5e40c2c6fb026358b2e | 156 | #!/usr/bin/env bash
echo
cat ~/data/24hoursaday.json| jq -r --arg date "$(date '+%m-%d')" '.contents[] | select( .date | contains($date) ) | .reading'
echo
|
9773b602197abcc1c51f227d3e026481fabc9d9b | 569 | ver 1.0.6
epoc 1
dist http://bzip.org/$PKG_VER/$PKG_NAME-${PKG_VER}.tar.gz
pre_configure() {
ed Makefile <<-EOF
,s/^\(CC\)=\(.*\)\$/\1\?=\2
,s/^\(AR\)=\(.*\)\$/\1\?=\2
,s/^\(RANLIB\)=\(.*\)\$/\1\?=\2
w
q
EOF
}
do_build() {
make -j $MK_NPROC bzip2
}
do_install() {
install -Dm755 bzip2 $MK_DESTDIR$MK_PREFIX/b... |
e87256d9db1b8a3255aca8edfa5177d4e6c29f42 | 395 | #!/bin/bash
read -p "Enter the worker1 username : " w1
read -p "Enter the worker2 username : " w2
kubectl get nodes | grep -v master | grep -v NAME | head -n 1 | awk '{print $1}' > node1
kubectl get nodes | grep -v master | tail -n 1 | awk '{print $1}' > node2
n1=$(cat node1)
n2=$(cat node2)
ssh $w1@$n... |
06f1cd00186dafd6774156ada9a545c51cc54b02 | 300 | #!/bin/bash
# We can assume that the PWD is the repo dir
# Copy everything to out/
cp -r `find . -maxdepth 1 -! \( -name "out" -o -name ".*" -o -name "deploy" \)` "out"
# Delete unused files
rm -f out/.gitignore
rm -rf out/deploy
rm -rf out/out
# Add bower dependencies
cd out
bower install
cd ..
|
bc55b8e7627bf8a2fbc8e0706b1f147a94cb16ea | 71 | pkill python
# cd /Development/FirstBlog/
# python manage.py runserver
|
dc4872b9917782aaa9382db1b210b8e9b97b515d | 428 | #!/bin/sh -e
tar xf edf489332a36c4e55e768aa58c23372c2b051dc5
cp disable-wxPaintEvent.patch Ishiiruka-edf489332a36c4e55e768aa58c23372c2b051dc5/.
cp fix-fd_set-error.patch Ishiiruka-edf489332a36c4e55e768aa58c23372c2b051dc5/.
cd Ishiiruka-edf489332a36c4e55e768aa58c23372c2b051dc5
for patch in *.patch; do
patch -p1 < ... |
e6cf61b195a462aca4fee0d829c19c12f345a979 | 450 | #!/bin/bash
# Files needed
pwd=`pwd`
. $pwd/unifi-api.sh
# Generation settings
uniemail=$1
uniusername=$2
unipassword=$3
#login to the controller
unifi_login >/dev/null
#create admin + grep accountID of just created read-only user
uniuser=`unifi_create_admin $uniemail $uniusername $unipassword | tr ':' '\n' | tail ... |
ac2861796ba8ac32ae70584b2a1399d5941dfcc2 | 142 | #!/bin/bash
read -p "Enter IP subnet...> " IP
for i in {1..254}
do
ping -c 1 $IP.$i | grep ^64 | awk '{print $4}' | cut -d ":" -f 1 &
done
|
2f9b2fd693979b0b1ef17f7850489cd261f4f19d | 1,878 | #!/usr/bin/env zsh
###############################################################################
#2020/9/18 sundong
###############################################################################
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${DIR}/install_isolated/setup.zsh"
function pose() {
... |
6c072a1dbef483994bc66f73c72ddcde65258fa4 | 407 | #!/bin/bash
. `dirname $0`/env.sh
import 'out'
readonly URI='http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz'
readonly DEST='/opt/yasm'
cachegetfile "$URI" 'regdest'
readonly PYTHON2=/opt/python27/bin/python2
pushd "$regdest" >/dev/null||exit 1
./configure \
--prefix="$DEST" \
PYTHON="$PYTHON2" \
&... |
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" |
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... |
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 ':... |
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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.