blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
d539239af0d1d601e4fe781c7de6fd8cececb828 | 615 | #!/bin/bash
set -ex
project_name="$1"
if [ ! -f ionic-template/ionic.yaml ]; then
echo "ionic-template/ionic.yaml not found"
exit 1
fi
rm -rf "$project_name"
mkdir "$project_name"
cd "$project_name"
# The first moban creates only .moban.yaml
# and sets an error code
set +e
project_name=${project_name} ini... |
e7244ceab9b152cce05f4af49ac7a4cf18238c0d | 1,213 | #!/usr/bin/env bash
# set -o errexit
/usr/bin/launch.sh
cd /root && /usr/local/bin/istio-install.sh
kubectl get pods -n istio-system -o name | xargs -I {} kubectl wait --for=condition=Ready --timeout=30s -n istio-system {}
kubectl get pods -n istio-system
nohup kubectl port-forward svc/prometheus 9090:9090 -n istio-s... |
c88bdb5c6522faa7638cfdba8b97ad5a2863ac9c | 69 | keytool -genkey -keyalg RSA -keystore server.keystore -validity 3650
|
f5912b93254ae1b560c239f4692e276e5117ab39 | 191 | #!/bin/bash
mongoexport --db=goldenIdeas --collection=projects \
--fields=name,likes,category,technology,size,owner,startDate,endDate,email,github,description \
--out=./snapshot.json
|
1c17be3f6cb6c3611ef3553e642e982deecdd6d4 | 36 | gcc -lm implEuler.c -o implEuler.exe |
ca5a4927046e591f5d9e8793f9ff0eb7aa2e7555 | 249 | #!/bin/bash
docker build --target otbuildenv -t otbuildenv otbuildenv || exit
docker build --target restbedbuilder -t restbedbuilder otcws || exit
docker build --target otcbuilder -t otcbuilder --force-rm otcws || exit
bash refresh-otcws.sh || exit
|
74e0a2705fdd8d10dd296400d58f08a9084d64e0 | 2,805 | #!/bin/bash
#pravilen vnos mora biti tako da vpisemo stevila v matriko [ 1 2 3 4 , 5 6 7 8 ] vedno locimo s presledki
#./generirajMatriko.sh [ 1.23 2.45 3.4 5.3 , 1.3 1.4 2.72 4.56 ] [ 1 2 3 4 , 5 6 7 8 ]
#./generirajMatriko.sh [ 1.23 2.45 3.4 5.3 , 1.3 1.4 2.72 4.56 ] [ 12 32 43.2 -12.3 , 2 33.2 1.56 -12.452 ]
#./gen... |
2b39cb9462b0006a18df73a105879cc15867599f | 1,123 | #! /usr/bin/env bash
echo "/*========================*/"
echo "Downloading Arduino 1.8.5"
echo "/*========================*/"
cd ~/Source
wget https://github.com/arduino/Arduino/releases/download/1.8.5/Arduino-1.8.5.tar.xz
tar --xz -xf Arduino-1.8.5.tar.xz
cd Arduino-1.8.5/build/
cp ~/Source/configure-it-oot/build... |
e2cf8426651ba2007ac516952fd1fbd319e0bbde | 984 | #!/bin/bash
NUMBEROFARGS=2;
if [ $# -lt $NUMBEROFARGS ]
then
>&2 echo -e "Usage is:\n find-and-format.sh (line file) (sample count)"
exit 1;
else
LINEFILE=$1; shift;
SAMPLECOUNT=$1; shift;
fi
CLASSES=`cat "$LINEFILE" | cut -f 3 | sort | uniq | paste -sd "," - `
echo -e "% Data generated on `date`
% by find-and-... |
e3bdb1ed523703fd6b9f91adc8ab753bc1e8a659 | 114 | #!/bin/bash
wget https://www.dropbox.com/s/g6tygbvrd6tq4ye/stanford_parser.tar.gz
tar xvfz stanford_parser.tar.gz
|
729625ec7ee86a71abad5ca4079a94b14967a9c4 | 168 | # App variables
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=kit_bot
spring.datasource.url=jdbc:postgresql://host.docker.internal:5434/$POSTGRES_DB
|
0c575cb8cf062e6de0ad1ccff7914c835882ef2f | 2,259 | echo Executing build2.sh
echo cloning the opencontrail git repo and building the products
# we need the keypairs file for the git user and login so test for it
if [ ! -f /home/vagrant/keypairs ]; then
echo "Keypairs file is missing but required by build2.sh!"
exit 1
fi
# extract variables from the keypair... |
af24cf4a7bb6c847bf187e203810c77239cecc31 | 757 | #!/bin/bash
set -e
RESULTS_FOLDER=${1:-hdfs://tenemhead2/home/stefan.bunk/results}
echo "This script is to be run after the training data program and before the"
echo "actual training."
echo "It downloads the training and test set files typed-training-data-3786-{12345,678910}.wiki"
echo "and typed-training-data-632-... |
1ea853d1eb212080f11e836b208754f74a028774 | 921 | #!/bin/bash
sed -i "s|127.0.0.1|192.168.5.103|" ../config/system.php
docker_compose="/usr/local/bin/docker-compose"
if grep -Eqii "CentOS" /etc/issue || grep -Eq "CentOS" /etc/*-release; then
yum install wget yum-utils device-mapper-persistent-data lvm2 -y
if [ ! -f "$docker_compose" ]; then
curl -L "https://git... |
c17119159575931eddcc372f83fbdf2b423666f9 | 45 | API_BASEURL=https://katalo9-api.herokuapp.com |
c333a53de9bf0b8055d0568a34cffee7b9d26686 | 186 | #!/bin/bash
cmd=$(rpm -q dovecot)
if [ $(sudo rpm -qa dovecot | wc -l) -ne 0 ]; then
echo "{ \"imap_2210_actual\" : \"\" }"
else
echo "{ \"imap_2210_actual\" : \"$cmd\" }"
exit 1
fi
|
c817de94d2d58d2fbf92cc976955712ace188962 | 594 | #!/bin/bash
#to run ./scripts/FCC/RSG_ww/run_limits.sh fcc_v02/tagger sel0
myversion=$1
sel=$2
for ene in 10 15 20 25 30;
do
./myFit.exe h config_FCC/RSG_ww/"$myversion"/RSG_"$sel"_"$ene"TeV.config
./myFit.exe w config_FCC/RSG_ww/"$myversion"/RSG_"$sel"_"$ene"TeV.config
./myFit.exe f config_FCC/RSG_ww/"$myv... |
b0ccad19de4691dc4e5e82763b0f56cb689a0ad6 | 104 | #!/bin/bash
~/news/crawl/get_rss.sh $NEWS_HOME/data/configs/localrss.txt \
$NEWS_HOME/data/raw_feeds
|
f1c8567bd253c61864c0127219b09e7cfbefdbe9 | 444 | #!/usr/bin/dash
# sdothum - 2016 (c) wtfpl
# Regex
# ══════════════════════════════════════════════════════════════════════════════
# ................................................................... Lower case
# Usage: stdin | lowercase
tr [:upper:] [:lower:]
# vim: set ft=sh: #
|
8e172a5231fd20300d0063ef2535d0e136813706 | 236 | #!/usr/bin/env bash
sh ~/Projects/ankara/ankara/script/build.sh
cd ~/Projects/ankara/ankara/build/libs
rsync -v -e ssh ankara.war root@getankara.com:/var/ankara/ankara.war --progress
ssh root@getankara.com "sh scripts/restartAnkara.sh" |
f17786b2c09f0a3dd62b81e27224be7bcb663314 | 76 | #!/bin/bash
if [[ -z "${2// }" ]]
then
echo "usage: ${1}";
exit;
fi;
|
87c8b5f9cdf417c0ce0cc2a03f3624c1a709bb9e | 1,178 | #!/bin/sh
export JAVA_OPTS="-server"
export JAVA_OPTS="$JAVA_OPTS -Xms2048m"
export JAVA_OPTS="$JAVA_OPTS -Xmx2048m"
export JAVA_OPTS="$JAVA_OPTS -XX:NewSize=512m"
export JAVA_OPTS="$JAVA_OPTS -XX:MaxNewSize=1024m"
export JAVA_OPTS="$JAVA_OPTS -XX:PermSize=256m"
export JAVA_OPTS="$JAVA_OPTS -XX:MaxPermSize=1024m"
exp... |
69f36ee4cc776a1af16dd4050e0319c35bf78e7f | 71 | #!/bin/sh
mkdir -p $PWD/bin
GOBIN=$PWD/bin go install ./cmd/taskManager |
ae72410bda55aceea6b62b888e5e6a3c011ba615 | 1,228 | #!/usr/bin/env bash
# Copyright 2018 Steven Bosnick
#
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE-2.0 or
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
# option. This file may not be copied, modified, or distributed
#... |
44093633eff531e834c121e29dd8c81bbfbeaa57 | 393 | ###
# @Descripttion:
# @version: 1.0.0
# @@Company: ZZCYI
# @Author: 刘
# @Date: 2020-04-11 14:14:49
# @LastEditors: 刘
# @LastEditTime: 2020-07-07 10:38:03
# @Update Descripttion:
###
#!/usr/bin/env sh
# 确保脚本抛出遇到的错误
set -e
# 生成静态文件
npm run docs:build
git add .
git commit -m 'JAVA 地址三级联动J... |
2ea6e3318a532d1f12869a554f1506b7cf2ac037 | 177 | REACT_APP_AUTH0_DOMAIN=dev-juwcsorf.us.auth0.com
REACT_APP_AUTH0_CLIENT_ID=PFRrjbJli4Pd4HZ8ZS0lB78HN5rRVu5l
previousREACT_APP_AUTH0_CLIENT_ID=47YA0n23dEfO2Uit1tmWLGO0VFEwUbys
|
692b4e44ba6aa0275f78887e7b085f390109c602 | 1,077 | #!/bin/sh
######################################################################
pkgbase=xfplamoconfig
vers=1.5
url=""
srcfiles="xfplamoconfig xfplamoconfig.sh"
apply_arch="noarch"
arch=noarch
build=1
src=$pkgbase
patchfiles=""
OPT_CONFIG=""
DOCS=""
patchfiles=''
compress=txz
SRC_URL="https://qbilinux.org/pub/source/"... |
9ebac962da41de7a0426716a109f082054b18e62 | 1,091 | #!/bin/bash
MODULEDIR="${HOME}/modules"
SOFTWAREDIR="${HOME}/software"
MODULE_NAME="fastqc"
MODULE_VERSION="0.11.7"
MODULE_PATH="${SOFTWAREDIR}/${MODULE_NAME}/${MODULE_VERSION}"
# make sure user is not on the login node
if [ ${HOSTNAME} = "login001" ]; then
echo "error: please use a compute node to install this mod... |
b99c1ce1127dab757d300cc2eeef267f75b38a00 | 382 | #!/bin/bash
GSLT=${gslt}
if [ -z "$GSLT" ]; then
echo "You must set GSLT env var"
exit -1
fi
set -ex
# update game
steamcmd +login anonymous +force_install_dir ~/csgo-ds +app_update 740 +quit
# start game
cd csgo-ds
# casual
./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_a... |
63495a67d141b5fee34dbcfc20b01b8ae29f0eec | 348 | #!/bin/bash
#Install metrics server
#git clone https://github.com/kubernetes-incubator/metrics-server.git
cd metric-server/1.8+/
kubectl create -f .
kubectl get pods -n kube-system
kubectl top nodes
kubectl top pods --all-namespaces
cd -
kubectl create -f hpa-cpu.yaml -n staging
kubectl create -f hpa-cpu.yaml -n produ... |
84f562abb476b511ae203abe4e5a14ea1b628592 | 186 | #!/bin/sh
infile=$(realpath "$1")
ln -sf "$infile" /tmp/code.zig
cd /tmp
~/zig-linux-x86_64-0.10.1/zig build-exe code.zig
cat - | /tmp/code
rm /tmp/code.zig code
rm -r /tmp/zig-cache
|
8cabe1d0699283c284e9a1172ed87120ab18510b | 1,370 | # Erstellen eines NGINX Webservers
docker run nginx
# Erstellen mit Parametern
docker run -p 8080:80 --name nginx -d nginx
# mittels -p kann man den port eines Containers nach ausen frei geben dabei muss mann beachten das der erste Port der außere und
# der zweite der innere Port ist.
# mit --name kann man den Namen... |
5a519b285e120d1ddeebe39ca110650b0a6f485c | 875 | #!/bin/bash
##https://askubuntu.com/questions/468901/how-to-show-only-hidden-files-in-terminal
# Using find and awk,
#
# find . -type f | awk -F"/" '$NF ~ /^\..*$/ {print $NF}'
# Explanation:
#
# find . -type f --> List all the files in the current directory along with it's path like,
#
# ./foo.html
# ./bar.html
# ./... |
e6fa75811eaf23da1b683bdac513528acc7e15a8 | 381 | ###1
SELECT language_repository FROM stargazer
WHERE user_id=14;
###2
SELECT COUNT(user_id), language_repository FROM stargazer
GROUP BY language_repository
ORDER BY COUNT(user_id) DESC
LIMIT 5;
##3
SELECT language_repository FROM stargazer
WHERE user_id=14 OR user_id=19;
##4
SELECT language_repository FROM stargaze... |
65918a45a067dcebae3a0b8af74967cea95b7bbf | 559 | #! /bin/bash
export ZOOBINDIR=$EQ_MATERIALS_DIR/bin/
. $ZOOBINDIR/zkEnv.sh
echo Starting zkcli1
EQ_ENV_ENTITY_ID=zkcli1 EQ_MODE_DIRECT=1 EQ_NO_INITIATION=1 java -cp $CLASSPATH:$EQ_MATERIALS_DIR/out/production/myZkCli -javaagent:$AGENT_CP=script:$EQ_MATERIALS_DIR/client.btm MyZkCli localhost:2181 &
echo Started zkcli... |
f9adf0020f69424e4183b7057c09f1cf635971e7 | 59 | #!/bin/bash
echo "cron job running" >> /tmp/s3copy.log 2>&1 |
be5f2fb34cc270682405668f7ba7110e2d617d88 | 255 | #!/usr/bin/env bash
wait_win=xfce4-panel
if test "$(get-about-me desktop-env)" = kde; then
wait_win=Plasma
fi
while test "$(sawfish-client -e '(window-exists-p "'${wait_win}'")')" != t; do
log "waiting for ${wait_win} to start"
sleep 1
done
|
ad4032ed379e9052d1ff655004224d5cd9b4b6ce | 1,224 | #!/bin/bash
# SPDX-License-Identifier: GPL-3.0+
# Copyright (C) 2017 Jens Axboe
#
# Threads doing IO to a device, while we switch schedulers
. tests/block/rc
DESCRIPTION="switch schedulers while doing IO"
TIMED=1
CAN_BE_ZONED=1
requires() {
_have_fio
}
device_requires() {
_require_test_dev_sysfs queue/scheduler
}... |
79b67174054b8722f6c44e475a78ced2a0a2da46 | 54 | find ./websites/ -name \*.docx -exec docx2txt "{}" \;
|
bfec2a66a05b81d2a5a38e763e03819dc89f6870 | 155 | #!/bin/bash
for i in 2007 2008 2009 2010 2011 2012 2013; do
wget http://www.statmt.org/wmt14/training-monolingual-news-crawl/news.$i.de.shuffled.gz
done
|
7900f982842a49465af0bc3e32114d5f1f3a1cb6 | 4,944 | #!/bin/bash
m4_include(lib/common.sh)
getpkgfile() {
case $# in
0)
error 'No canonical package found!'
return 1
;;
[!1])
error 'Failed to canonicalize package name -- multiple packages found:'
msg2 '%s' "$@"
return 1
;;
esac
echo "$1"
}
# Source makepkg.conf; fail if it is not found
if [... |
adad254b59ce6eab30ad9980d406747979bc1b2d | 341 | #!/usr/bin/env bash
# update snippet for VSCode
# required: jq
snippet_path="/mnt/c/Users/sukam/AppData/Roaming/Code/User/snippets"
snippet_file="${snippet_path}/rust.json"
tmpfile=$(mktemp)
cp ${snippet_file} "${snippet_file}.old"
cargo snippet -t vscode >${tmpfile}
jq -s add ${tmpfile} template_with_placeholder.j... |
3b6f03c35d320acc84ea649af986c4d7132d8f30 | 38 | #!bin/bash
echo "Running script"
date
|
a08042be7eb09092e14763a0824e557c8d53eb7a | 470 | #! /bin/bash
START=$1
let END=START+3
for (( i=$START; i<=$END; i++ ));do
./train.py ini/cifar/triple_c/c.ini $i ini/cifar/triple_c/csae1.ini ini/cifar/triple_c/csae2.ini ini/cifar/triple_c/csae3.ini
make test CONF=ini/cifar/triple_c/c.ini RUN=$i PREF=triple_c
./train.py ini/cifar/triple_d/d.ini $i ini/cif... |
2cfffcf0e7c75a916385f69f6d64b2c0cb569402 | 337 | #! /bin/sh -e
# Make sure we can move a directory outside of tup and have it be deleted.
. ./tup.sh
mkdir tuptest
cd tuptest
re_init
tup monitor
mkdir foo
cd foo
echo 'int main(void) {return 0;}' > foo.c
echo ': foreach *.c |> gcc %f -o %o |> %B' > Tupfile
cd ..
update
mv foo ..
stop_monitor
update
tup_object_no_ex... |
e54b38038ebc00a994c63d52780543d8940d9055 | 122 | #!/usr/bin/clitoris ## -*- shell-script -*-
$ ddiff 2010-02-28 2012-02-29 -f '%Y %d'
2 1
$
## ddiff.047.clit ends here
|
1e0dc44aa0471d731b6d99b077aec34da0cf9dc5 | 815 | #!/bin/bash
URL=$(cat url.txt)
TOKEN=$(cat token.txt)
echo "curl -s -H \"Accept:application/json;version=1\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer ${TOKEN}\" ${URL}/application/%APPLICATIONID%/documentrequest/%DOCUMENTREQUESTID%?get_file=true"
JSON=$(curl -s -H "Accept:application/json;ver... |
b941091214c2deb6c53438a58e41b7eac7029629 | 420 | #!/bin/bash
echo -e "\nMaking Subfolder and Data for CPUs"
subfolder='folder'
python bulk_setup.py $subfolder
echo -e "\n "
#Total number of cpus
cpucores=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || sysctl -n hw.ncpu)
#1 fewer than the number of cpus
CPUsMinus="$(($cpucores-1))"
for cpuid in $(seq 0 $CPUsMinu... |
b5b91950c61a014eccf7a09853a290347c2a56bd | 6,154 | #!/bin/bash
# Copyright 2020 DSR Corporation
#
# 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 applicable law or agree... |
88916aa574da234d26a813772970ea75d5c97f55 | 32 | SECRET_KEY_BASE="some-key-base"
|
e9bc7439faa803ef635f12190f6201bd9a0fa22a | 260 | #!/bin/bash
# Update Ubuntu and get standard repository programs
./scripts/aptinstall.sh
# Run all programs/ install scripts
for f in scripts/programs/*.sh; do bash "$f" -H; done
# Get all upgrades
sudo apt upgrade -y
# See our zsh changes
source ~/.zshrc
|
cb6466c274f6d95332fe91b6750fa51ba1802097 | 1,163 | #!/bin/bash
PWD="$(pwd)"
SCRIPT=$(readlink -f "$0")
BASEDIR="$( cd "$(dirname "$SCRIPT")" ; pwd -P )"
REDIS="$(command -v redis-cli)"
if [ -f "$PWD/app/etc/local.xml" ]; then
#Magento 1
echo "Detected Magento Version 1.x"
echo "Flushing cache via magerun cache:flush"
"$BASEDIR/magerun" cache:clean
if [ -x "$... |
0561c186f5b318f7271d6c302848276c22875c2d | 148 | #!/bin/bash
#bootstrap
platform=`uname -s`
./bin/$platform/setup-node.sh
./bin/$platform/setup-mongo.sh
./bin/$platform/start-mongo.sh
npm install
|
bc4b4ec607b5ae428d08e596562e22f0ac226075 | 798 | #!/bin/bash
donar () {
bot_retorno="$LINE\n"
bot_retorno+="El proyecto BotGen requiere\nde fondos para poder continuar\n"
bot_retorno+="Usted puede realizar una donacion\n"
bot_retorno+="Paypal\n"
bot_retorno+="MercadoPago Arg\n"
bot_retorno+="o bien hacer uso del acortador\nreiteradas veces\n... |
00455fc7ba1d3c03e0fa2717b229acb6162bc589 | 123 | #!/bin/sh
pdftotext -l 10 -layout -nopgbrk -q "${1}" -||
mutool draw -F txt -i -- "${1}" ||
exiftool "${1}" 2> /dev/null
|
11f860cb111ca6f297d8d46439d74b193bba26b2 | 42 | #!/bin/bash
exec _gamecontroller 99 4 $*
|
b0ae9b78752aa972d87f6119ca65b44afd07fdbb | 135 | #!/bin/bash
cd ~/HomeOnNode/app
echo "Configuring Node..."
. ~/.nvm/nvm.sh
nvm use
echo ""
echo ""
node appStreamDeck.js StreamDeck
|
6db2411d3fa772c475d87011e36383a2d1c49725 | 580 | #! /bin/sh
#
# Start FTN services.
#
# This is a script for RedHat's startup process.
#
# $Id: ftn,v 1.1.1.1 2004/12/29 21:23:34 mitry Exp $
# chkconfig: 345 86 14
# description: FTN services
#
. /etc/rc.d/init.d/functions
case "$1" in
start)
echo -n "Starting FTN services: "
su news -c 'qico -d'
echo qico
touch... |
b1ff81dc0a7c3c1a5a7b0b068cd3bf7caa559a50 | 186 | DATABASE_HOST=db
DATABASE_PORT=5432
DATABASE_DB=mpttexport
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres_secret
HOST=0.0.0.0
PORT=8000
API_HOST=django
SECRET_KEY=verysecretdjangokey
|
abacee45dc763029a120b440325d3af1ffc9b871 | 4,605 | #!/bin/bash
######################################################################
# Auto Install & Optimize LEMP Stack on CentOS 7, 8 #
# #
# Author: Sanvv - HOSTVN Technical #
# Webs... |
5f3fc95c060537c859198c0e61afa33b0fb5ad3c | 65 | #!/bin/bash
echo "SELECT * FROM $1 ORDER BY 1,2;" | sql > $1.txt
|
f878687b27e76c1098db509a9fa8bcbc4071035e | 678 | #!/bin/bash -l
#PBS -N A_k45_2
#PBS -o /home4/mtomcal/logs
#PBS -e /home4/mtomcal/logs
#PBS -d /home4/mtomcal/logs
#PBS -l nodes='1':ppn='12'
#PBS -q fatnodes
# Load any modules needed to run your software
module load soapdenovo/2.04
# execute program here:
SOAPdenovo-127mer all -s /home14/mstreis/in/soap/config/soap... |
315af5ce51255eba4647741644b69ba6fffd96d2 | 275 | #!/bin/bash
for repository in cctbx_project dxtbx; do
if [ -e $HOME/build_dials/modules/${repository}/.git ]; then
echo Cleaning ${repository} repository
cd $HOME/build_dials/modules/${repository} || exit 1
git reset --hard HEAD
git clean -dffxq
fi
done
|
cf01815acfa18a762df9f4efbb6f32161dcec3d1 | 219 | #!/bin/bash
export HOSTNAME=twlklove
export USER=root
export HOME=/home
export PS1="[$USER@$HOSTNAME \W]\# "
PATH=/bin:/sbin:/usr/bin:/usr/sbin
LD_LIBRARY_PATH=/lib:/usr/lib:$LD_LIBRARY_PATH
export PATH LD_LIBRARY_PATH
|
c83da3a08ba9678f0ba1545aba6aebbbe854c9f4 | 754 | jwt="eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL3NjYS5pdS5lZHUvYXV0aCIsImlhdCI6MTQ4ODc2NTUyMC4yMTIsInNjb3BlcyI6eyJzY2EiOlsidXNlciJdfSwic3ViIjoxfQ.jhKfhyFDw4dPHQNi6hYVpQjYSuZIUJ3FoyMTafBVchrt4160hLQOkNhwRJHg-s7xj-iCaZ7Jj-JSF0ubkY0wlRcRaApqENLqRxUiXu_4dXbEmZ4b3LsjUSpP1tHJoUkeFfzzHfS4LByr9LqSv_4tEYEUGJohMHW... |
34eea7d8649f846956d35083696d606a2ea2071d | 367 | #!/bin/bash
#
if [ $# -ne 1 ]; then
echo "kasutus juhend: $0 kasutajanimi"
else
kasutajanimi=$1
useradd $kasutajanimi -m -s /bin/bash
if [ $? -eq 0 ]; then
echo "kasutaja nimega $kasutajanimi on lisatud susteemis"
cat /etc/passwd | grep $kasutajanimi
ls -la /home/$kasutajanimi
else
echo "probleem kasutaja $kasutaj... |
e6a2b9a9316e34ea0fe90779c7a57aa6216b0fb5 | 849 | #!/bin/bash
#PJM -N PAPI-AVAIL
# #PJM --rsc-list "rscunit=rscunit_ft02"
# #PJM --rsc-list "rscgrp=dv1-10"
#PJM --rsc-list "rscunit=rscunit_ft01"
#PJM --rsc-list "rscgrp=dv27k"
#PJM --rsc-list "node=1"
#PJM --rsc-list "elapse=00:2:00"
#PJM --mpi "proc=2"
#PJM -j
#PJM -S
module load lang
module list
set -x
xospastop
nu... |
6fcc7727664e4db49c49e940fa78c7affd561cd1 | 47 | docker build -t otdd/example-dependent-mysql .
|
f8401dffe68200b46c4a7aee1f9a9042dcaa9b1a | 3,310 | #!/bin/bash
#
# # Usage
#
# ```sh
# $ build-docker-image.sh [ARTIFACT_OR_PKG_IDENT ...]
# ```
#
# # Synopsis
#
# This program will build a `habitat/studio` Docker image using one or more
# local Habitat artifacts and/or package identifiers as arguments. Two
# packages must be installed or the program will terminate ear... |
d26b0aae33f9aee034465fb1f778e76be3235ebf | 5,149 | #!/bin/bash
# This script converts the coordinates in an original GFF file to coordinates
# corresponding to another assembly. It uses a correspondence file generated
# by corresp_contigs.sh to retrieve contig coordinates in the new assembly.
# Cyril Matthey-Doret
# 02.11.2017
# Help message
function usage () {
cat... |
76fe2738fa00dc7b937328efed3dafe3125b100e | 112 | DB_URL = mongodb+srv://dbPrueba:nc2N8patX6TwYqdr@bug-tracker.bjy0b.mongodb.net/users?retryWrites=true&w=majority |
883c99a6a18956f83948f92e3e4ffdc1c3053972 | 1,969 | #!/bin/bash
# SETUP ANACONDA SETTINGS FILE:--------------------------------------------------------
# Get startup directory location:
THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
STARTUP_DIR=`dirname "$THIS_DIR"`/startup/profile_default/startup
IN_CONFIG_DIR=$THIS_DIR/config
sed -e "s/\"extra_paths\":... |
f03f45e5735d395f886c29f3b6c26cbc489749ea | 491 | #!/bin/sh
[ -z "$MAIL_RECIPIENT" ] && echo "MAIL_RECIPIENT is not set, exiting" && exit 1
[ -z "$MAIL_SENDER" ] && echo "MAIL_SENDER is not set, exiting" && exit 1
[ -z "$MAIL_SUBJECT" ] && echo "MAIL_SUBJECT is not set, exiting" && exit 1
[ -z "$MAIL_MESSAGE" ] && echo "MAIL_MESSAGE is not set, exiting" && exit 1
[ -... |
0138cea3af14747005ab5e0b968a43bf894d855e | 280 | #!/bin/bash
#
# netmonitor
#
echo "network monitoring script started"
while true
do
ping www.wp.pl -c 1
if [ $? -ne 0 ]
then
echo "Ping failed."
systemctl daemon-reload
systemctl restart networking.service
fi
sleep 10m
done
exit 0
|
e0df59b5d5c222da410db1988a4aa65c4888d651 | 1,880 | #!/bin/bash
# Copyright (c) 2019 OpenStack Foundation
#
# 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 applicable law o... |
e1d16387630f72a971eb8e332ca119eeb1a897a9 | 226 | docker run -d -p 5000:5000 --restart=always --name registry registry:2
# docker pull ubuntu:14.04
# docker tag ubuntu localhost:5000/ubuntu:14.04
# docker push localhost:5000/ubuntu:14.04
# curl -v localhost:5000/v2/_catalog
|
45db56f0f8642d0af1bbdc986cbafefb49d7a5e1 | 383 | #!/usr/bin/env sh
# This script is intented to update alpine image
MAJOR_VERSION="3.5"
MINOR_VERSION="0"
pushd ../docker-alpine
curl https://nl.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-minirootfs-3.6.0-armhf.tar.gz > rootfs.tar.gz
docker build -t sandlayth/armv7l-alpine . && docker push sandlayth/armv7l-... |
75018a300de6291ddd4610a3f462bea606ce0135 | 254 | #!/bin/bash
## submit this chr to eagle
/seq/vgb/linda/bin/Eagle_v2.3.2/eagle --vcf=$targ'.vcf' \
--geneticMapFile=/seq/vgb/linda/mutts/genetic_map_wg/gen_map_canfam3.1 \
--chrom=$chr \
--chromX=42 \
--pbwtIters \
--outPrefix=$ref'_'$chr'.phased'
|
289e555c0925d17d2e8e4727aa29186e2618d758 | 470 | # .env
DISCORD_TOKEN=NjE2OTEzMzgzNzAyMzk2OTMx.XWqHHg.n03egAQypkdnd_nRlqwz-aoUsyE
DISCORD_GUILD=FluffyOatsHeadquarters
# Shadow, Bastet, Rapid, Merc, Hatsu, Dragon, Panda
USER_DICT={453053325105954816 : 617709678163525633, 193521437397614592 : 617709599658737707, 244509682712969217 : 617709511238483989, 284453956673... |
fe55ae657e806fdb33e92cdfa71cc59bc66bf675 | 416 | #!/bin/bash
source ./url_env.sh
stat_date=$1
mysubmit 50 key false ${stat_date}
#pcat
#mysubmit 20 pcat false ${stat_date} all
#ccat
#ls ${WORK_DIR}/model | sed '/all\.mode\.ftz/d' | awk -F '.' '{print $1}' > ${WORK_DIR}/log/catfile
#cat ${WORK_DIR}/log/catfile
#while read cat; do
# echo $cat
# mysubmit 50 ccat ... |
6b4cc75234e413346d9ff2035471c29d359f65e6 | 119 | #!/bin/bash
./scripts/copy_post_code_gen.sh
go run cmd/sendmailserviceproxy-server/main.go --port=8080 --host=0.0.0.0 |
e6583dcb28723f9fa6abec32507826088dfad6f4 | 345 | #!/usr/bin/env bash
SCDIR=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
cat > task-demo-metrics-prometheus.shell <<EOF
task create --name task-demo-metrics-prometheus --definition "task-demo-metrics-prometheus"
task launch --name task-demo-metrics-prometheus
EOF
$SCDIR/shell.sh --spring.shell.commandFile=task-demo-... |
4fd7e045c4ceb2a5e5349aadc56626a23126bda5 | 23,534 | #1/bin/bash
#tablice przechowujace bilety i ceny (nazwa i cena w osobnych tableach maja ten sam indeks - tym sa powiazane w skrypcie)
ulgowy_miasto=("ulgowy jednoprzejazdowy miasto" "ulgowy dwuprzejazdowy miasto" "ulgowy czasowy 20 minutowy miasto" "ulgowy czasowy 40 minutowy miasto" "ulgowy czasowy 60 minutowy miasto... |
440dcade5cb221bb7deaed6fe7ab9f3cf1772337 | 6,573 | export PATH=D:/Program_Files2/Xilinx/Vivado/2017.3/bin;D:/Program_Files2/Xilinx/Vivado/2017.3/win64/tools/gcc/bin;D:/Program_Files2/Xilinx/Vivado/2017.3/msys/bin;D:/Program_Files2/Xilinx/Vivado/2017.3/bin;D:/Program_Files2/Xilinx/Vivado/2017.3/win64/bin;D:/Program_Files2/Xilinx/Vivado/2017.3/win64/tools/bin;D:/Program_... |
4beba1a9f0c8888c4a59335be0685366ccb40331 | 233 | jamfreenroller)
# credit: Mischa van der Bent
name="ReEnroller"
type="zip"
downloadURL=$(downloadURLFromGit jamf ReEnroller)
#appNewVersion=$(versionFromGit jamf ReEnroller)
expectedTeamID="PS2F6S478M"
;;
|
d69b8e986d5b10586c3700b986bd33a9fc0d0c51 | 86 | d=`readlink -f $0`
d=`dirname "${d}"`
d=$d/week1/students
cd "${d}"
./musical_pairs.sh |
ad2604a3f5254bbc319de824762c83acba562a32 | 358 | #!/bin/bash
echo 'Enter suffix including .'
read $string
count=1
for odd in `ls odd* |sort -V`
do
mv $odd page-"$count$string"
count=`expr $count + 2`
done
count=0
for even in `ls even*|sort -V`
do
count=`expr $count + 2`
done
for even in `ls even*|sort -V`
do
mv $even page-"$count$string"
count... |
384549ff6b1a31d78afd8a592788c26f78925b40 | 1,197 | #!/usr/bin/env bash
#SBATCH -p glenn
#SBATCH -A C3SE2018-1-15
#SBATCH -J simulateScenario160
#SBATCH -N 1
#SBATCH -t 0-10:00:00
#SBATCH -o simulateScenario160.stdout
#SBATCH -e simulateScenario160.stderr
module load matlab
cp -r $SLURM_SUBMIT_DIR/* $TMPDIR
cd $TMPDIR
array=( "-18;0;83000000000;100000000000" "-17;... |
2b94cb5bbe0de39faf037c326da38b8d6fe3fa3d | 559 | #!/bin/bash
# A bash script to create folders with subfolders all in one go.
mkdir -p app/api/{models,views,schemas,utils} | touch app/api/{models,views,schemas,utils}/__init__.py
mkdir -p app/tests/views
mkdir .github | touch .github/pull_request_template.md
mkdir instance | touch instance/config.py
touch instan... |
f3129339d6f8ec3caba5eee7714960be1adbcdca | 523 | #! /bin/bash
# Reset all desktop font settings using gsettings.
# Updates from System76 seem to often screw up the desktop fonts
gsettings reset org.gnome.desktop.interface font-name
gsettings reset org.gnome.desktop.interface document-font-name
gsettings reset org.gnome.desktop.interface monospace-font-name
gsetting... |
550ed5507d91b03ce12d43b958ab83528544b6b1 | 605 | #!/bin/sh
## USAGE
## ./stop_autoscale.sh (target group)
#### e.g. (target group): 60s, 10m, 1h
SHELL=$0
if [ $# != 1 ]; then
echo "$SHELL: USAGE: $SHELL (target group)"
echo "$SHELL: e.g. (target group): 1, 2, 3, ..."
exit 1
fi
#Variables
target_group=$1
instance_limit=0
group_num=0
# Start each grou... |
974eb28671c4597358c24906d34c1b8cdcbf2b14 | 1,773 | #!/bin/sh
# Run the C preprocessor on an OpenCL kernel to generate a C string array
# suitable for clCreateProgramWithSource. This allows us to create
# standalone OpenCL programs that do not depend on paths to the source
# tree (the programs will still run the OpenCL run-time compiler to
# compile the kernel, but the... |
0a375ef0d02803f181700c0019eca3b0ab82cd72 | 184 | python3 action_recognition.py \
-m_en ./models/action-recognition-0001-encoder.xml \
-m_de ./models/action-recognition-0001-decoder.xml \
-i "classroom.mp4" \
-d CPU \
|
8a3197a8f643548e5873007efd0f6e7bef6a9f5e | 94 | #!/bin/sh
git checkout gh-pages && git merge master && git push origin && git checkout master
|
f057eeb083d117487b8ca93e07029fca61c78504 | 61 | #!/bin/sh
prefix=@prefix@
echo "this fake libbar-config"
|
b9bf61cfdd5894c39f6cb796ede617aa5050c27a | 324 | #!/bin/bash
RTMP_URL=$1
STREAM_KEY=$2
if [[ -z $RTMP_URL || -z $STREAM_KEY ]]; then
echo "usage: ustream RTMP-URL STREAM-KEY"
exit 1
fi
raspivid -n -vf -hf -t 0 -w 960 -h 540 -fps 25 -b 500000 -o - 2> /dev/null | ffmpeg -i - -vcodec copy -an -metadata title="HenHouse Cam" -f flv $RTMP_URL/$STREAM_KEY 2> /dev/n... |
a3102ff76b07be86e377b36a33b850d7d62bfc06 | 125 | #!/bin/bash
set -e
FILES="*.js *.html *.css *.ico font/*"
tar -zc --transform 's,^,plaintalk/,' -fplaintalk.tar.xz $FILES
|
fb18a2b4722a54b472ae1c82a9caf29679e41412 | 1,375 | for i in "ALBRE11" "ALBRU8" "FLJAS13" "GABEL9" "GAGLA21" "GASTA3" "LABEN5" "NCBAT4" "NCKIN2" "NCROS7" "OKBAC15" "OKRAT17" "SCBRA4" "SCMAR24" "SCPRO27" "TXATH5" "TXLIV14" "TXMTP16" "TXOAK6" "TXROS24" "FLHAM4" "NCELI16" "NCHIC16"
do
java -jar /ohta/joanna.rifkin/picard/build/libs/picard.jar SortSam \
I=/ohta/joann... |
2b99c2aa5f202f1c1a78e7bff18d08b762c9a689 | 21 | echo $he likes Mary.
|
0b7fe7ea2c375e75c2c7e256d6962a2d91d76538 | 415 | #!/bin/bash
if [ "$1" == "real" ]
then
echo training real robot
env="ROSForce-v0"
elif [ "$1" == "sim" ]
then
echo training sim
env="DynReacherForce-v0"
else
echo nooo
exit 1
fi
python3 -m baselines.run --env=$env --alg=ppo2 --env_type=mujoco --network=mlp --nsteps=256 --nminibatches=32 --lam=0.95 --gamma=0.99 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.