blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
6ebba67657731e1f8738a1decb0d00879a0ba922 | 948 | #!/bin/bash
######################################
# This script searches the entire system for immutable files,
# then asks if you would like to remove the immutable flag.
# usage: sudo /immutableChk
# should be ran as root to avoid permission denied errors
######################################
#Command this script ... |
7f0a0595eace59a9fe8c1d1c09163c91a4471f78 | 182 | VUE_APP_I18N_LOCALE=hu
VUE_APP_I18N_FALLBACK_LOCALE=en
# BB VUE_APP_API_URL=http://localhost/stockr/api/
VUE_APP_API_URL=https://stockr.1108.cc/api/
VUE_APP_VAT_PERCENTAGES=0,5,18,27 |
13faf6828c17cd427982528b243439b3f19a5fff | 99 | #!/bin/bash
# Run tests in `main.rs` whenever it changes.
cargo watch -x 'test --bin rust-procon'
|
fbd748a3cfdac1a54a2f3c8df026efb1a00784a0 | 1,695 | #!/bin/bash
. ~/.bash_functions
configure_deps() {
if is_mac; then
if ! has_bin 'brew'; then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
has_bin 'node' || brew install node
if [ ! -d /usr/local/opt/coreutils ];... |
ad4a9b86a6a622644a02bc98203f01aaa0a68879 | 11,366 | #!/bin/bash
#куда сохраняем отчет
REPORT_FILE=/opt/medo/$(date +"%Y-%m-%d-%H-%M").csv
#дата за которую ищем документы
DATE=`date -d '1 day ago' +%Y-%m-%d`
#Адрес РСУБД МЭДО сревреа
MEDO_DB_ADDRESS=
#порт к базе РСУБД МЭДО
PORT_MEDO=5432
#Логин к базе РСУБД МЭДО
LOGIN_MEDO=postgres
#Пароль к базе рсубд МЭДО
PASSWD_MEDO=... |
8a9c3935ab26bd85ea1f065bed1c1e41136896ea | 1,542 |
pacman -S vim-minimal
pacman -S alsa-utils
pacman -S feh #this is a wallpaper thing
pacman -S unzip
pacman -S xorg-xev #for finding the keys
pacman -S rsync
#i need to allow multilib, specifically to install steam
#sudo vim /etc/pacman.conf
#uncomment
#[multilib]
#Include = /etc/pacman.d/mirrorlist
#then pacman -Syu
... |
4306a02e42c19962833962af4aad948e59b63ab0 | 85 | GUMROAD_TOKEN=
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_NUMBER=
TO_PHONE_NUMBER= |
3677ff8526a723afdcc886f193ed862c61b0914f | 431 | #!/bin/bash
[ "$PACKER_BUILDER_TYPE" == "vmware" ] || {
echo 'not building vmware, skipping';
exit;
}
apt-get -qy install gcc make fuse fuse-utils linux-headers-$(uname -r)
mkdir /mnt/vmware
mount -o loop /tmp/linux.iso /mnt/vmware
cd /tmp
tar xzf /mnt/vmware/VMwareTools-*.tar.gz
/tmp/vmware-tools-distrib/vm... |
865978155da5e88e284026d1b7a8b37c278540b5 | 305 | #!/usr/bin/env bash
set -o errexit
set -o errtrace
set -o pipefail
./src/main/bash/download_protoc.sh
echo "Generating proto files"
mkdir -p target/generated-sources/java
target/protoc/bin/protoc --java_out=target/generated-sources/java src/main/resources/proto/beer.proto
echo "Proto files generated!" |
5ef46b2d0f2f1f871e783e03d2b4567ea9680193 | 396 | #!/bin/bash
readonly DIRPATH=$(cd $(dirname ${BASH_SOURCE:-$0})/; pwd)
readonly REPO_ROOT=$(cd $DIRPATH/..; pwd)
readonly PROJECT_NAME='ScreenBroadcasting'
if ! type -a xcodegen; then
echo "Missing command: xcodegen" >&2
exit 1
fi
if ! test -d $REPO_ROOT/$PROJECT_NAME; then
echo "Missing: $REPO_ROOT/$PRO... |
572d1631b0c37a72550e857275f1a34fee58ecbf | 726 | #!/bin/bash
CURRENT_DIR=$(pwd)
WORK_DIR="${CURRENT_DIR}"
cd "${CURRENT_DIR}"
python "${WORK_DIR}"/train_image_classifier.py \
--dataset_dir=/home/omnisky/zhenghua/works/new_waste_classification/ljfl/tfrecord/train \
--num_classes=4 \
--num_samples=8921 \
--labels_to_names_path=/home/omnisky/zhenghua/works/new_w... |
4f7e40251b419cc71fe2556514eb419dd0e48950 | 123 | mvn clean install -f vcc-registry/pom.xml
mvn clean install -f vcc-admin/pom.xml
mvn clean install -f vcc-service/pom.xml
|
68df7395a326077fccb69c0b7aa7903d8ff427e6 | 691 | #!/bin/bash
__import conf/common.conf
# both REPO_URLS* and REPO_NAMES should have the size.
SQ_REPO_NAMES=(
'qa-ibs'
'sle-sdk'
)
SQ_REPO_URLS_DE=(
)
SQ_REPO_URLS_BJ=(
)
function sq_prep_SLE11SP3_get_repo_url_by_name {
local _repo_name=$1
local _SLE_build=$2
local _arch=$3
local _repo_mirror=$... |
3c443ccba1a9955f59cb19467df44ed1e3130561 | 15,154 | #!/bin/bash
## BEGIN OUTPUT METHODS
# Echo in bold font if stdout is a terminal
ISTTY=0; if [ -t 1 ]; then ISTTY=1; fi
bold () { if [ $ISTTY -eq 1 ]; then tput bold; fi; }
red () { if [ $ISTTY -eq 1 ]; then tput setaf 1; fi; }
green () { if [ $ISTTY -eq 1 ]; then tput setaf 2; fi; }
yellow () ... |
d5a8babb2b915ceb2d590a96e407f5064a69de3b | 373 | #!/bin/bash
#PBS -l select=1:ncpus=30:mpiprocs=4
#PBS -A MHPCC38870258
#PBS -q debug
#PBS -l walltime=0:30:00
#PBS -j oe
#PBS -N evaluator
export PYTHONWARNINGS="ignore"
cd $WORKDIR/autovalves
module purge
module load pbs tensorflow/1.8.0 spectrum-mpi cuda/9.2
export PYTHONPATH="$WORKDIR/autovalves/simulator/expSun3... |
bfd7cdb9277ff38364608d0b989aa67113cc2e43 | 327 | #!/bin/ash
set -e
while true; do
temperature="$((7 + RANDOM % 25))"
humidity="0.$((70 + $((RANDOM % 20))))$((1 + RANDOM % 10))"
mosquitto_pub -h $BROKER_URL -p 1883 -t v1/devices/me/test -m "{\"temperature\":${temperature},\"humidity\":${humidity}, \"computed\": {\"heat_index\":22.92} }"
printf '.\n'
sleep 1... |
0554004af43e6d321fb627a7cf3a99b036becbd1 | 53 | cd $CWD
./bin/runmakeNtuple VVV nominal_2jets ttbarCR |
03dc158f6e2749c6d73e8d9e75efbe6396d67c66 | 2,342 | #!/bin/bash
cd ../../packages/canvas/src-native/canvas-ios
set -e
DEV_TEAM=${DEVELOPMENT_TEAM:-}
DIST="CanvasNative/Dist"
mkdir -p $DIST
echo "Cleanup"
xcodebuild -project CanvasNative.xcodeproj -target "CanvasNative" -configuration Debug clean
echo "Building for iphone simulator"
xcodebuild archive -project Canvas... |
8c22f2841ec179b15709348429ca86fbebb0c007 | 64 | echo “welcome to sample project”
echo “Edited the file”
|
a3f5ea4bbb1d40da1df9980456f3f64a7ae446e4 | 334 | EST_SFS_INPUT=$1
EST_SFS_OUTPUT=$2
CHR=`echo $EST_SFS_INPUT | rev | cut -d'/' -f1 | rev | cut -d'.' -f1`
tail -n+9 $EST_SFS_OUTPUT > ${CHR}.temp
paste $EST_SFS_INPUT ${CHR}.temp > ${CHR}.in_out.txt
python3 ~/github_repos/wild_mice/est-sfs_2_mut_mat.py ${CHR}.in_out.txt ${CHR}.mut_mat.txt 48
rm ${CHR}.in_out.txt ${C... |
b2a269334ac384b7d36afc7dcd90a9bbe9aff166 | 666 | #!/usr/bin/env bash
set -e -o pipefail -u
if [[ ${1-} == "--dry-run" || ${CIRCLE_BRANCH-} != "master" ]]; then
do_push=false
else
do_push=true
fi
version=$(python3 setup.py --version)
docker build \
-t gitmachete/git-machete:$version \
-t gitmachete/git-machete:latest \
-f ci/docker/Dockerfile .
[[ $(doc... |
6c78d2b0bbf2270c39cded37c6c3e1e3188dfa3f | 403 | docker run \
--name airflow-single \
-d \
-P \
-e AIRFLOW__CORE__FERNET_KEY=6U-zYCcMQQifU7Vwc3es9TnZJkJ8AGZoLANfqDkKjts= \
-e AIRFLOW__CORE__SQL_ALCHEMY_CONN=sqlite:////usr/local/airflow/airflow.db \
-e AIRFLOW__CORE_EXECUTOR=SequentialExecutor \
-v /etc/localtime:/etc/localtime \
-v /home/tlw/2019/p07-airflow/docker-a... |
f663094ca83085c7b6be8f55f783d945ef0ccbea | 135 | #! /bin/bash
./stop.sh
sudo docker rmi weather
sudo docker build -t weather .
sudo docker run -it --name weather -p 1965:1965 weather
|
d9d84b580b058c9147ae62ecb6020037a41a7ad3 | 1,339 | #!/bin/bash
# Stop on errors
set -e
# Log information about the run of this check.
echo "Pull request's base branch is: ${BASE_BRANCH}"
echo "Pull request's merge branch is: ${MERGE_BRANCH}"
echo "Pull request's source branch is: ${GITHUB_HEAD_REF}"
clang-format-11 --version
# The checkout action leaves us in detatc... |
78cfe691d2c4c5fa71ca3b846a4119977d7a4751 | 525 | sudo apt-get install -yq libdouble-conversion-dev libssl-dev make zip git autoconf libtool g++ libboost-all-dev libevent-dev flex bison libgoogle-glog-dev scons libkrb5-dev libsnappy-dev libsasl2-dev libnuma-dev
git clone https://github.com/gilgil1973/folly
cd folly/folly
autoreconf --install
./configure CXXFLAGS='-g... |
33b03ebe79fc9cdeeee6c29fa8a655eaa9025068 | 922 | #!/bin/bash
for tag in genre style year; \
do \
echo 'Running for tag '$tag ; \
image='dijksterhuis/redis-database-inserts:modularised-0.1' ;\
container_name='redis-loads-unique-'$tag ;\
container_command='./redis-load-set-adder.py ' ;\
# run_type, primary_key, mongo instance, redis instance, key, value
container_args... |
a1789e3c352bc8601dcd35f0d312d92e302522f4 | 711 | mv rdsDataMCompData.root forStack/rdsDataMCompData_plots.root
mv rdsDataMCompDYLow.root forStack/rdsDataMCompDYLow_plots.root
mv rdsDataMCompDY.root forStack/rdsDataMCompDY_plots.root
mv rdsDataMCompTTF.root forStack/rdsDataMCompTTF_plots.root
mv rdsDataMCompTTS.root forStack/rdsDataMCompTTS_plots.roo... |
01dad9fe709e491f80afeee665dda759affc9fec | 913 | #!/bin/bash
if [ -z "$1" ];then
echo "Usage:"
echo " $0 <country>"
echo "With"
echo " country"
echo " The two-letter country code as used by Wikipedia (en, de, fr, ...)"
exit 1
fi
country=$1
shell_source_dir=`dirname $0`
source $shell_source_dir/config.sh
wiki=$country"wiki"
output_dir=$shell_sourc... |
84c922d6780965470fa8a5c339de8cd30a290eae | 1,065 | w3m -dump http://xahlee.info/comp/unicode_common_symbols.html >common-characters.txt
w3m -dump http://xahlee.info/comp/unicode_punctuation_symbols.html >punctuations.txt
w3m -dump http://xahlee.info/comp/unicode_currency_symbols.html >currency.txt
w3m -dump http://xahlee.info/comp/unicode_circle... |
c660e0b97bbcbce0bdf881d8e52d5de82086506e | 632 | #!/bin/bash
cd ~/projects/work/devoxx/devoxx-twitterproxy
echo "Building distribution"
sbt dist
rm -rf dist
mkdir dist
cp target/universal/devoxx-twitterproxy-*.zip dist/
cp appspec.yml dist/
cp -r aws_scripts dist/
echo "Publishing to AWS"
aws deploy push --application-name devoxx-twitterproxy --s3-location s3://dev... |
499696fcb9ecc0180f8e37b3156dbfbda9e79d6c | 104 | #!/bin/bash
git clone git://github.com/gradle/gradle-completion ~/.oh-my-zsh/plugins/gradle-completion
|
2f7167ca5293f74461e5a6803485ea438d8b999a | 45 | #!/bin/bash
module load mvapich2-1.8/intel
|
42803532e5237f26c3985128993166353294c92e | 102 | # REACT_APP_API_URI=https://ur-smart-brain-api.herokuapp.com/
REACT_APP_API_URI=http://localhost:3000/ |
fef3d65289044621e859f85929ea0372b29f94f8 | 212 | #!/bin/bash
pacstrap /mnt base base-devel linux linux-firmware btrfs-progs vim sudo dhcpcd netctl snapper
genfstab -U /mnt > /mnt/etc/fstab
cp init-grub.sh /mnt/root
cp stuff.sh /mnt/root
arch-chroot /mnt
|
13911ef6670e58df7a6fcfe5c6d998fad1d87554 | 2,067 | #!/bin/bash
echo "Starting SSHD"
/usr/sbin/sshd -D &
if [ -f /data/ssh-pw.txt ]; then
echo "root:$(cat /data/ssh-pw.txt)" | chpasswd
fi
if [ -d /data/php5 ]; then
rm -rf /etc/php5
ln -s /data/php5 /etc/php5
fi
if [ -f /data/.htaccess ]; then
rm -f /var/www/.htaccess
ln -s /data/.htaccess /var/ww... |
54503d5ee19ea39dcfc14d43da03ef423cb58889 | 195 | #! /usr/bin/env bash
set -e
rm -rf node_modules &&
npm install &&
npm run build &&
cp dist/youtube-dw /usr/local/bin/ &&
echo "Success installing youtube-dw. Run youtube-dw <url> <file_name>"
|
e40127cf7ef286f3190c0e67649071ad5d608ff1 | 3,810 | # http://kmkeen.com/awk-music/
eightbit() {
awk 'function wl() {
rate=64000;
return (rate/160)*(0.87055^(int(rand()*10)))};
BEGIN {
srand();
wla=wl();
while(1) {
wlb=wla;
wla=wl();
if (wla==wlb)
{wla*=2;};
d=(r... |
7ba4bc37732e879ae23865a75700e83740b23110 | 279 | #!/usr/bin/env bash
set -e
if [[ "$VIRTUAL_ENV" = "" ]]; then
echo 'You seem not in any virtual environment.' \
'Please try after activate virtualenv.'
exit 1
fi
git config core.hooksPath "$PWD/git/hooks/"
pip install --upgrade pip
pip install -r dev-requirements.txt
|
2f37633c52bf7e17a4f87ef6ccc14202dc63ee57 | 656 | #!/bin/bash
POLLTIME_S=${POLLTIME_S:-180}
VERBOSE=${VERBOSE:-0}
LOCKFILE=/tmp/email_sync.lock
function clean_up {
rm -f $LOCKFILE
exit
}
trap clean_up SIGHUP SIGINT SIGTERM SIGKILL
echo "Locking..."
lockfile -r 0 $LOCKFILE || exit 1
while [ 1 ]; do
# Trigger an update of the local mailbox
while [ 1 ]; do
i... |
d96fa24f97ca15f8aa822e9363139cadc5877cb2 | 273 | python -m broccole.trainPrepared --datasetDir E:\data\segmentation\data\coco --datasetType coco --batchSize 8 --epochs 100 --checkpointFilePath E:\data\segmentation\data\coco\u-net-resnet18.chpt
python -m broccole.prepareDataset --datasetDir E:\data\segmentation\data\coco |
b9bc90bfc6fde74f06779690ef0ef5cac7054699 | 2,669 | #!/usr/bin/env bash
set -Eeo pipefail
COMPOSE_HOME=$(dirname $(realpath "$0"))
COMPOSE_HOME=$(realpath "$COMPOSE_HOME/../")
RAPIDS_HOME=$(realpath "$COMPOSE_HOME/../")
cd "$RAPIDS_HOME"
PYTHON_DIRS="${PYTHON_DIRS:-rmm/python
raft/python \
cuml/python
... |
4cef2fb15cab22daea1c2001cec10583412d29e5 | 678 | #!/bin/sh
#
# Example script to start up tunnel with autossh.
#
# This script will tunnel 2200 from the remote host
# to 22 on the local host. On remote host do:
# ssh -p 2200 localhost
#
# $Id: autossh.host,v 1.6 2004/01/24 05:53:09 harding Exp $
#
ID=username
HOST=hostname.your.net
if [ "X$SSH_AUTH_SOCK" = "X" ... |
e72f6548611399b830dc9fa27a5ca698db2e20e0 | 404 | #!/bin/bash
# Initializes environment for SaS server / client development, installs dependencies
# (Cordova init must be done seperately as it depends on the target platform)
# Abort if run as root
if [ $(id -u) -eq 0 ]
then
echo "This script mustn't be run as root. Aborting."
exit 1
fi
set -xe
CWD="$( cd "$( dirn... |
5b98c9459401294f9627e49b4ad2222ca25489b4 | 445 |
#roslaunch mavros px4.launch & sleep 1;
sudo chmod 777 /dev/ttyUSB0 & sleep 1;
rosrun serial_node myserial & sleep 1;
roslaunch realsense2_camera rs_camera.launch & sleep 10;
rosrun vins vins_node /home/hyy/ego_swarm/src/realflight_modules/VINS-Fusion/config/realsense_d435i/realsense_stereo_imu_config.yaml & sleep... |
f635f3fb1e95a891d61f1f94a991ae6839ebb50e | 164 | for i in {0..4}
do
CUDA_VISIBLE_DEVICES=1 python3 main.py --exp_name summary_m2s_srconly_noaug_$i --data.src MNIST --data.tar SVHN --training_type srconly
done
|
923bb8a5315d10a60523a57d6f19729cf3992aec | 2,539 | #!/bin/sh
# Copyright 2021 Stan Grishin (stangri@melmac.net)
# shellcheck disable=SC1091,SC2039,SC2034,SC3043
PKG_VERSION='dev-test'
readonly PROG=/usr/sbin/nebula
[ -x "$PROG" ] || exit 0
[ -n "$INCLUDE_ONLY" ] || {
. /lib/functions.sh
. /lib/functions/network.sh
. ../netifd-proto.sh
init_proto "$@"
}
version()... |
7c180d4b367a85396c728737f0792c22cfb0d9c7 | 2,391 | #!/bin/bash
set -e
UNAMESTR=`uname`
if [[ "$UNAMESTR" == "Darwin" ]]; then
# install OpenMP not present by default on osx
HOMEBREW_NO_AUTO_UPDATE=1 brew install libomp
# enable OpenMP support for Apple-clang
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
export CPPFLAGS="$CPPFLAGS -Xpr... |
6beaa9ca19ff95a0bcf8f8a6bf78e17bcfaa1677 | 42 | find /etc -name network.conf 2> /dev/null
|
b94eb69c0f655a408cc010331f3e7b09557a6981 | 669 | ##
# Author: JP Lew (jp@cto.ai)
# Date: Friday, 10th May 2019 8:38:24 am
#
# Usage:
# Run this to set up your dev environment.
#
# Point your ops command from bin/ run to bin/run.dev. This will allow you to
# set your environment at run-time like this: `NODE_ENV=staging ops init`
#
# It also enables path aliases (~) in... |
72096670a48e8e1608b1091aadf8e3e3a79dd345 | 289 | #! /bin/bash
iterations=1
nfvbench="sudo docker exec -it nfvbench nfvbench -c /tmp/nfvbench/nfvbench_config.cfg"
prefix="aug_21_test" # Change to something identifiable
for iter in $(seq 1 $iterations); do
$nfvbench --rate pdr_ndr | sudo tee -a results/${prefix}_iter_${iter}.log
done
|
4a1e0154f60d205cfceb0370ebafa70346836bcd | 72 | #!/bin/bash
git push -f origin `git branch --show-current`:playground
|
6fbca139a4036a4b97fb605465ec30c094e62a71 | 172 | # upload files to cyverse
files-upload -V -v -F testfiles -S data.iplantcollaborative.org ericiam
# submit gzip job
jobs-submit -V -W -F gzip-job.json
# retrieve result
|
ee7ebbe72c461fd4e67bb0280fbcbbd7f94d20dc | 548 | MAILGUN_ACCESS_KEY=<MAILGUN_ACCESS_KEY>
MAILGUN_SECRET_KEY=<MAILGUN_ACCESS_KEY>
MAILGUN_API_KEY=<MAILGUN_API_KEY>
MAILGUN_SERVER_NAME=<MAILGUN_SERVER_NAME>
EMAIL_BACKEND='django.core.mail.backends.console.EmailBackend' #anymail.backends.mailgun.EmailBackend
DEFAULT_CLIENT_HOST='http://localhost:4200'
S3_BUCKET=<S3_BUCK... |
f6890d7621efa35945ad3aab94db0d3d2bc10e13 | 642 | #!/bin/bash
#Vehicle variables
export MODEL=`rospack find snippets`/data/models/pladypos.yaml
export ALLOCATION_MODEL=`rospack find snippets`/data/allocations/x_horizontal.yaml
#Input
export JOYSTICK=/dev/input/js0
export USE_JOY=1
#Simulation variables
export IS_SIM=1
export USE_NOISE=0
export USE_VISUALIZATION=1
... |
574b388639ccc5780d59f4f394f28897ffa6e708 | 2,655 | #!/bin/bash
tmux_bin=$(command -v tmux)
argc=$#
is_exists() {
which "$1" >/dev/null 2>&1 ; return $?
}
has() {
is_exists "$@"
}
has_args(){
[ "${argc}" -gt 0 ]
}
is_ssh_running() {
[ ! -z "$SSH_CLIENT" ]
}
is_screen_running() {
[ ! -z "$STY" ]
}
is_tmux_runnning() {
[ ! -z "$TMUX" ]
}
is_scree... |
4b2c1f76e2112efeef55877a9575c0c7e508bcac | 204 | #!/bin/bash
myDir="$(dirname "$0")"
source ${myDir}/retry.sh
for rel in focal jammy
do
retry -s 20 -m 3 rsync -Lav rsync://cdimage.ubuntu.com/releases/${rel}/*-desktop-amd64.iso /repo/ubuntu/
done
|
0d5f0e8d2c03d4ad2244348143c3eb37166beb85 | 17,156 | #!/bin/bash
#
# This script fetches $FILES_TO_FETCH (kernel headers, source, toolchain,
# ...) of a specific COS release and installs them for compiling,
# debugging, etc. See usage() for details.
#
# This script is meant to run in COS toolbox or inside a cos-toolbox
# container.
#
set -eu
set -o pipefail
# Progra... |
487bccd541fb6fb8a95b88986fa585dd58a7ad15 | 602 | #!/bin/bash
#1生成秘钥
if [ -f /root/.ssh/id_rsa ]
then
echo "密钥已存在"
else
ssh-keygen -t dsa -f /root/.ssh/id_rsa -N '' &>/dev/null
echo "密钥已创建"
fi
for ip in {31,41,7,8}
do
echo “=====================================”
#2分发秘钥
sshpass -p '1' ssh-copy-id 172.16.1.${ip} -o StrictHostKeyChecking=no &>/dev/null
if [ $?=... |
c3eb182b8b6e6d844956fa6a25298dbfd1531ecd | 62 | NODE_ENV=development
PORT=3000
USERNAME=oliver
PASSWORD=123456 |
e33616680f71527c4f7f678ee35b35de1145f610 | 272 | //logins
INVALID_LOGIN=veryfake.email@aol.com
ADMIN_LOGIN=admin@gmail.com
PRAC_LOGIN=prac.yahoo.com
SUPER_LOGIN=super.aol.com
//passwords
INVALID_PASSWORD=Testing1234
ADMIN_PASSWORD=Password3
PRAC_PASSWORD=Password2
SUPER_PASSWORD=Password1
//environments
SANDBOX="URL"
|
519291006c700ef2297498a023a60083cb99cf5d | 531 | #! /bin/bash
echo "Hello $USER, How old are you?"
while [ true ]; do
read input
#if the input is an integer, break
if [[ $input =~ ^[0-9]+$ ]]; then
break
fi
echo "Please input a positive integer"
done
if [[ $input -ge "16" ]]; then
echo "Congratulations! You are of legal age to drink alcohol."
if [[ $in... |
017c4d5d5bf0cba714ca78f7392f7bf9a631eb46 | 1,688 | #!/usr/bin/env bash
pushd $GOPATH/src/sample-extension-apiserver/apis/somethingcontroller/install
touch install.go
echo "/*
Copyright 2017 The Kubernetes Authors.
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... |
6a043b0fd00b7b01371d0d9a31b82e5229f1566d | 139 | #!/bin/bash
git pull
gitbook build ./ docs
git add .
git commit -m "Update Content"
git push origin
git push coding
echo "Deploy Success!" |
acafc7edbe52aa9b185d92a70126b8fd660843fd | 2,133 | #! /bin/ksh -l
#------------------------------------------------------------------
# plot_summary.sh
#
set -ax
if [[ ${MY_MACHINE} = "theia" ]]; then
module load grads
fi
SATYPE=$1
ptype=$2
#------------------------------------------------------------------
# Set work space for this SATYPE source.
#
tmpdir=${W... |
5395727423e7a411babe82e251013bdc0dd607ed | 56 | #!/usr/bin/env bash
set -ex
echo "Nothing to patchup"
|
45beec444636436549ed28a844dc6b7c3646b450 | 593 | #!/bin/bash
rm -r /mnt/data/google_14400_sec_quincy_batch_10_sec_preemption_bounded_1024MB_flowlessly_incremental_relax/
mkdir /mnt/data/google_14400_sec_quincy_batch_10_sec_preemption_bounded_1024MB_flowlessly_incremental_relax/
cd firmament
./build/src/simulator --flagfile=/home/srguser/firmament-experiments/configs/... |
edb04b9d6521721a24c061bb37d2316b5e43c7ce | 163 | #!/usr/bin/env bash
set -e
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "Not running as root"
exit
fi
cpan Term::ReadKey
cpan JSON
cpan Term::ANSIScreen
|
7a3779b0d435a8904b50334fc19ec70553aae72b | 36 | echo "restart collector service..."
|
c5ffd51245bb28d71fd3ba9b58071aff60bacabf | 90 | sql_connection_name=jk-caip:us-central1:mlops4-metadata
bucket_name=mlops4-artifact-store
|
81bb5b2c975c7382e76769ead2a99177d1e68f82 | 57 | #!/bin/sh
STRING="This is a test"
expr "$STRING" : ".*"
|
04f04883c4f84917479a78b94018ad830ffe4c12 | 1,799 | #!/bin/bash
# Libernet Installer
# by Lutfa Ilham
# v1.1
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
LIBERNET_DIR="/root/libernet"
LIBERNET_DIR_ESCAPED="\/root\/libernet"
LIBERNET_WWW="/www/libernet"
function install_packages() {
while IFS= read -r line; do
opkg in... |
27d1f3ec29b08a5a761d10bf97d142d3acc8e2ac | 73 | FLASK_APP='api'
FLASK_ENV='development'
API_HOST='0.0.0.0'
API_PORT=5000 |
5449d1339697807d873e9ddbc1c8806e9f4ce214 | 113 | PORT = 8000
PGPORT = 5432
PGHOST = localhost
PGDATABASE = 'postgres'
PGUSER = 'postgres'
PGPASSWORD = '250axel'
|
4a64397dd523e46937ffe6ef80291bdf3b5ac145 | 96 | #!/usr/bin/env bash
export defaultZone=http://10.113.49.228:5801/eureka
export server_port=9000
|
c06a6339f1c021849dc727593d53edfff3983290 | 371 | #!/bin/bash
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
curl -L https://raw.github.com/tonyseek/oh-my-zsh-seeker-theme/master/install.sh | sh
ln -sf $HOME/.vim/.vimrc $HOME/.vimrc
ln -sf $HOME/.vim/.zshrc $HOME/.zshrc
vim -c "BundleInstall"
bundle/YouCompleteMe/install.sh --clang-completer
sud... |
744bbe0fea407acff1a4c7d582eb1b87cd54a292 | 783 | #!/bin/sh
TR_OPTS="-n transmission:transmission"
tsmdaemonstart() { sudo service transmission-daemon start;}
tsmdaemonstop() { sudo service transmission-daemon stop;}
tsmdaemonreload() { sudo service transmission-daemon reload;}
tsmstart() { transmission-remote "${TR_OPTS}" -t "$1" -s;}
tsmstop() ... |
dbb07710a2807a48dbd5c2c12a22f4c311b2ef60 | 1,875 | # vi:syntax=bash
# .bash_aliases
alias ba='vim ~/.bash_aliases'
alias .ba='. ~/.bash_aliases'
# node
alias nn='nodeversion=$(cat package.json | jq -r .engines.node); nvm install $nodeversion'
# tmuxinator
alias mux=tmuxinator
alias m=mux
alias mm='mux mux'
_tmuxinator() {
COMPREPLY=()
local word
word="${... |
79eda5a1c72c6df4b5bd8fd9aa7398b0f1d0d42d | 1,141 | #!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2438-1
#
# Security announcement date: 2014-12-10 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:08 UTC
#
# Operating System: Ubuntu 14.10
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - nvidia-331-updates:331.113-0ubuntu0.1
# ... |
a44ae3380f867b0971e3f7fffd10918e90790c4d | 70 | AMQP_HOST=""
AMQP_PORT=""
AMQP_USER=""
AMQP_PASSWORD=""
AMQP_VHOST=""
|
d59357fbc3d5c87b8e4fcb2267e07ab932bb6969 | 64 | VERIFY_ADDRESS=“0xbfe267da9628907e67b745f3a60f6bc95a28bee1”
|
5c4812c3b9ab6a07462eeddc8416f029413eaf2a | 79 | #! /bin/sh
_now=$(date +"%Y-%m-%d")
python3 nhk-today.py
kindlegen "$_now.opf"
|
521f07bfa944366d0aed337d0db89a0fe8993912 | 1,638 | #!/bin/sh
##########################################################################
# create the combined legacy indication files with the filename appended as the last column
#
# LTS Computing LLC
##########################################################################
# process the first file - including adding "... |
a6ac80ebea99f23f1363a5192eae9000a7d63fa8 | 1,139 | #!/bin/bash
#
# Erstellt wg0.conf und die Keys fuer WireGuard Server und Clients
#
umask 077
### Defaults
NET=12
ENDPOINT=<gateway>
PORT=51820
### Server
wg genkey > server_private.key
wg pubkey > server_public.key < server_private.key
cat <<%EOF% >wg0.conf
[Interface]
Address = 192.168.${NET}.1
ListenPort = ${POR... |
87e79140f676ed9a26e58f8cc0da6eb5ba790b5c | 2,792 | #!/bin/bash
# Execute a distributed JPetStore with docker locally
# including a migration scheme, where one accounting component
# is redeployed 10000 times.
# This variant does not support a workload driver.
REDEPLOYS = 10000
BASE_DIR=$(cd "$(dirname "$0")"; pwd)
if [ -f $BASE_DIR/config ] ; then
. $BASE_DIR/conf... |
eecf607897ff7d36c79fe5133153ae65635f4016 | 323 | curl -s https://netbox.lasthop.io/api/ --insecure
curl -s https://netbox.lasthop.io/api/ --insecure | jq
curl -H "Authorization: Token $NETBOX_TOKEN" https://netbox.lasthop.io/api/dcim/devices/ --insecure | jq
curl -H "Authorization: Token $NETBOX_TOKEN" https://netbox.lasthop.io/api/dcim/devices/2/ --insecure | ... |
0d7b925a0bd6d4bdbe066349a8642f2004b9d77c | 70 | clang++ -Wall -Wextra -pedantic -Werror -std=c++1z main.cpp && ./a.out |
aa06a4a35b3b0def7cc0785da55d72d280386011 | 232 | #!/bin/bash
cp * ./script
for D in *; do
if [ -d "${D}" ]; then
if [ "${D}" != "Servers" ]; then
cd "${D}"
echo "---===<<<*>>>===--- ${D} ----===<<<*>>>===---"
expect ../sync
cd ..
fi
fi
done
|
86aea4c94c225d7c50bb7e9b65285c19bc8090cc | 79 | #!/bin/bash
# Let's now call a command
echo "Filesystem report is below"
df -h |
46b46c655717b370d42d35f2d0f48d51f12de86f | 118 | #!/bin/bash
Hostname=$(hostname)
echo "Hostname is $Hostname"
HOSTNAME=`hostname`
echo "Hostname is $HOSTNAME" |
967174309fb616d1645684550eb2909ed8e88068 | 287 | time -p ./test surf_10_6.txt ../points_surf ../train_result/train_10_6
time -p ./test surf_15_5.txt ../points_surf ../train_result/train_15_5
time -p ./test surf_30_4.txt ../points_surf ../train_result/train_30_4
time -p ./test surf_100_3.txt ../points_surf ../train_result/train_100_3
|
a7a3efd30b0b3ebc8691738d6ce86264f0944d46 | 80 | "echo split bed into chromosome bed"
perl ../bin/splitGFF.pl TIGR6_H3K9me2.bed
|
a0dfc078fffecea58b8c8f6b4e1dc550dbd5662b | 1,477 | #!/bin/bash
#
# xterm
#
# Place this in your path before /usr/bin/xterm
#
# This script is only needed when a new Xterm is started. When I
# reboot Linux (Fedora) and restart the Window Manager (KDE),
# the Window Manager "knows" what applications were running on
# its previous shutdown (and those application's comm... |
a5a6d87d46796b44b48facde7282380f172d5df4 | 487 | #!/bin/bash
kubectl create -f zookeeper-1-rc.json --validate=false
kubectl create -f zookeeper-1-svc.json
kubectl create -f zookeeper-2-rc.json --validate=false
kubectl create -f zookeeper-2-svc.json
kubectl create -f zookeeper-3-rc.json --validate=false
kubectl create -f zookeeper-3-svc.json
kubectl create -f zook... |
a2f79b3fd11cb447f3f7adbf8f91225361dd31f7 | 18 | echo "I am v4020"
|
55e997d8b92dd026a63f6e3376840f9047e4164b | 736 | # Maintainer: renart <lerenart at gmail dot com>
pkgname=facebookplugin
pkgver=1.0.1
pkgrel=1
pkgdesc='Facebook photo upload plugin.'
url='http://www.facebook.com'
arch=('i686')
depends=('libjpeg6' 'libpng12' 'libtiff4')
license=('custom')
source=(http://www.facebook.com/fbplugin/linux-x86/install/FacebookPlugIn-${pkg... |
2cdbcbf930ec62f2fcbebab6c2ce2330ff2c96ff | 1,281 | #!/bin/sh /etc/rc.common
START=91
# Location of notdhcpserver binary
SERVER_PATH=/usr/bin/notdhcpserver
# Where to write PID file
PID_FILE=/var/run/notdhcpserver.pid
# Required for service_start
SERVICE_WRITE_PID=1
SERVICE_DAEMONIZE=1
# Arguments to pass to server
# You can add -v to make it more verbose
# -f make... |
04e6df26a240a38cdaa22c59bd4423fe3f03a9f4 | 2,552 | ####################
# .ZSHRC
# rachel's preferences
# 2019-10-10
####################
# # # # # # # # # #
# oh-my-zsh
# # # # # # # # # #
# Path to your oh-my-zsh installation.
export ZSH="/afs/csail.mit.edu/u/r/rmwu/.oh-my-zsh"
ZSH_THEME="agnoster"
DISABLE_UNTRACKED_FILES_DIRTY="true"
HIST_STAMPS="yyyy-mm-dd"
# S... |
abcca0e595b1926e97ace2b95a516595538c5ad0 | 122 | #!/usr/bin/env bash
set -e
THRESHOLD=$1
cargo run set-repair-idleness-threshold --repair-idleness-threshold ${THRESHOLD}
|
12f8d17d5e5f35b0aeaf98c0ebd6ca5426a3551c | 120 | data_replica.py --discovery --to-site T3_CH_PSI filelist_test.txt /store/user/liis/GSF_tracking_samples/test_Zee_62_RECO |
1f1a4d8cce28090d569f8151c6ec2ca6200dac19 | 1,473 | #!/bin/bash
# Add repos
sudo apt-get -y install dirmngr gnupg apt-transport-https ca-certificates software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 # Add key
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.