blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
d97c8bf9af9bc5cb12f91024e42d70a491408a4e | 137 | #!/bin/sh
set -o xtrace
export AWS=ubuntu@$AWSIP
export GTfolder=/var/www/html/tentative/
scp GlamorousToolkitOSX64.zip $AWS:$GTfolder
|
ecc7572fa500b469f70832f35a7f48a26e2db99b | 553 | #!/bin/bash
rm time_baseline.txt
rm time_baseline_avx.txt
rm time_leibniz.txt
rm time_leibniz_avx.txt
rm time_leibniz_avx_opt.txt
rm time_leibniz_avx_opt_single.txt
rm error_baseline.txt
rm error_baseline_avx.txt
rm error_leibniz.txt
rm error_leibniz_avx.txt
rm error_leibniz_avx_opt.txt
rm error_leibniz_avx_opt_single.... |
abc49da4eddbf7cb8d75654529d1300ff6081531 | 170 | #!/bin/sh
mkdir /data/
mkdir /data/.scheduler
echo "Setting Scheduler host to $hostname"
$hostname > /data/.scheduler
echo "Starting Dask Scheduler..."
dask-scheduler
|
8ecc9370888284d4f373bc03a997e34fce97edc8 | 805 | #!/bin/bash
source $(dirname "$BASH_SOURCE")/base.sh
export EASYBUILD_PREFIX=/apps/tsa/SSL/gridtools/jenkins/easybuild
module use $EASYBUILD_PREFIX/modules/all
module load cmake
module load slurm
export BOOST_ROOT=/apps/tsa/SSL/gridtools/jenkins/boost_1_77_0
export CUDA_ARCH=sm_70
export GTRUN_BUILD_COMMAND='make ... |
d35a57233da3772a467607e188ab72cf8fbda3a4 | 1,881 | # /bin/bash
set -e
# Modified version of
# http://wiki.python.org/moin/boost.python/SimpleExample
# ----------------------------------------------------------------------
python_version=`ls /usr/include | grep python | sed -e 's/python//'`
system=`uname | sed -e 's/\(......\).*/\1/'`
if [ "$system" == "CYGWIN" ]
then
... |
8dd1210d6d68df242195aefff5f87ce59c3bb5d7 | 1,457 | #!/bin/bash
obslist=$1
outpath=$2
samplespaths=()
while IFS=, read -r likepath obstype
do
eventname=${likepath##*PosteriorSamples_}
samplespaths+=("--samples ${likepath%.csv}_eos.csv --column-map ${likepath%.csv}_eos.csv logmargweight logweight_${eventname%.csv} --column-map ${likepath%.csv}_eos.csv logvarmargweigh... |
a34fe375ad16c4cfdefb06c53c9442c9795aae25 | 216 | dir=/Users/bharathb/AttWork/Music/Rest-Music/examples/VoteAppMusicJava/scripts
ps aux > $dir/appLog$1.out
vappId=`grep "vote.jar $1" $dir/appLog$1.out | awk '{ print $2 }'`
sudo kill -9 $vappId
rm $dir/appLog$1.out
|
368ab691f1c7a736352e05bd08a6728d7b245ae4 | 102 | ffprobe \
-v quiet \
-show_entries stream=duration \
-of default=nokey=1:noprint_wrappers=1 "$1" |
ee71d5b7c5c468f298194514a407a505df6dd96d | 311 | # updates the pom.xml and Manifest.mf files to a cdo version. E.g. 2.21.9 becomes 2.21.9.cdo
mvn build-helper:parse-version org.eclipse.tycho:tycho-versions-plugin:set-version -Dtycho.mode=maven -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.incrementalVersion}.cdo
|
00c924ca6a2ecd19466351724963283decac4ea2 | 312 | #!/bin/bash
sleep 10
nvidia-smi -q -d POWER | sed -n '22,22p'
sleep 10
nvidia-smi -q -d POWER | sed -n '22,22p'
sleep 10
nvidia-smi -q -d POWER | sed -n '22,22p'
sleep 10
nvidia-smi -q -d POWER | sed -n '22,22p'
sleep 10
nvidia-smi -q -d POWER | sed -n '22,22p'
sleep 10
nvidia-smi -q -d POWER | sed -n '22,22p'
|
f62ca2d40d39a83fa7469c7bf35f7d1d121ca5d7 | 444 | #!/bin/sh
SOURCE_DIR=$(dirname ${BASH_SOURCE[0]})
WORKING_DIR=`pwd`
CONFIG_FILE=$SOURCE_DIR/og-test.conf.tmp
LOG_FILE=$WORKING_DIR/og_test_`date +%Y%m%d%H%M`.log
> $CONFIG_FILE
echo "group opengraph:" >> $CONFIG_FILE
echo " module tiers" >> $CONFIG_FILE
$SOURCE_DIR/m3highload-test --config $CONFIG_FILE --host ca... |
c5b14042bd7d036ca93ddfcaf3beab0e80b10614 | 101 | #!/bin/bash
make -j engine && touch client/src/main.cpp && make -j client_only && make -j run_client
|
9e6f6a5599936ff9b290a69590befa281be5b74b | 3,595 | #!/bin/bash
BASE_URL=127.209.102.127:28056 &&
SLEEP=1m &&
docker build -t ninthgrimmercury/solidpostal . &&
docker build -t freakygamma/solidpostal test &&
if docker run --interactive freakygamma/solidpostal dnf update --assumeyes | grep "^Last metadata expiration check: 0:0"
then
echo dnf was upd... |
7924ef21c5d7e7f93f3bf978c31827c72cbc4d4c | 233 | #!/bin/bash
./aruco_simple ./td/image-test.png ./td/board_meters.yml ./td/intrinsics.yml 0.039
##cp /home/lubuntu/Desktop/aruco-1.2.4/build/utils/testdata/single/* ./td/
##./aruco_simple ./td/image-test.png ./td/intrinsics.yml 0.01
|
a13ec58c198a912d83170a3b5baf2520896401dc | 124 | #!/bin/sh
case $BUTTON in
1) notify-send "CPU usage" "$(ps axch -o cmd,%cpu --sort=-%cpu | head)";;
2) st -e htop;;
esac
|
5c5722832ae893a093d993ad4579611cef329ccd | 6,725 |
conda activate tensorflow_gpuenv
def_emb_dim='300'
metric_option='cosine' ## LOAD BACK COSINE
nonlinear_gcnn='relu'
prot_interact_vec_dim='256'
server='/local/datdb'
# work_dir=$server/'goAndGeneAnnotationDec2018'
work_dir=$server/'deepgo/data'
go_enc_model_load=$work_dir/'GCN/'$metric_option'.300'/'best_state_dict... |
3acf2366755a729796d3c0ce2ae54d945773c0d5 | 107 | bumpversion patch --allow-dirty
python3 setup.py sdist bdist_wheel
twine upload --repository pypi dist/*
|
4aad69855c027fb397e03f774362fd97c81d4895 | 120 | #! /bin/bash
myUrl="http://see.xidian.edu.cn/cpp/shell/"
readonly myUrl
myUrl="http://see.xidian.edu.cn/cpp/danpianji/"
|
74fd2cf8b1352311a73710ff0a9b01dad29d7592 | 74 | export BRANCH=master
export CURRENT_SNAPSHOT_VERSION=5.3.3.Final-SNAPSHOT
|
15f84207e7d017506c71f636728b8b09ccfbba15 | 73 | #!/bin/sh
rm LkKernel_PDA.tar
tar -cvvf LkKernel_PDA.tar zImage logo.png
|
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
|
238c884286d9de996aabcad31485890ff7a57cb1 | 3,857 | #!/usr/bin/env bash
# Names of latest versions of each package
export VERSION_PCRE=pcre-8.41
export VERSION_ZLIB=zlib-1.2.11
export VERSION_LIBRESSL=libressl-2.6.4
export VERSION_NGINX=nginx-1.13.9
# URLs to the source directories
export SOURCE_LIBRESSL=http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/
export SOURCE_PCRE=... |
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... |
9ab2dec7057a59c7d7067afe07ac8b34a3ceb64f | 79 | #!/sbin/sh
# wrapper to reboot into fastboot mode
/sbin/fbmode
/sbin/reboot 0
|
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... |
37ce7a72a0fea6d281651df8e4f4ac343f1a604c | 39 | awk '{if ($4 <= 0 && $9==1) print}' $1
|
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
|
462a076dea020e13e681fb7b0ed320496061f2ac | 683 | #! /bin/bash
#
gfortran -c -Wall navier_stokes_2d_exact_test.f90
if [ $? -ne 0 ]; then
echo "Compile error."
exit
fi
#
gfortran -o navier_stokes_2d_exact_test navier_stokes_2d_exact_test.o \
$HOME/lib/navier_stokes_2d_exact.o
if [ $? -ne 0 ]; then
echo "Load error."
exit
fi
rm navier_stokes_2d_exact_test.o
#
... |
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... |
d6fcfa78da18f63db18e6a933411e83ff78b1cf5 | 418 | #!/bin/bash -xve
BASEDIR=$(cd "$(dirname "$0")"; pwd)
docker build -t os_docker-updater .
COMMAND=/update-configs.sh
if [ $# -eq 1 ]; then
if [ "$1" == "tesora" ]; then
COMMAND=/tesora-update-configs.sh
fi
fi
docker run --rm \
--hostname os-docker \
-v $BASEDIR/$COMMAND:/$COMMAND \
-v $BASED... |
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.