blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
d1e8abe2c1ed0e966c7da6d90182dfeb494e45af | 102 | cd ../payment-sdk-backend-open
git pull
./mvnw clean install
cd payment-ws
docker-compose up --build
|
0485c96b75c2d8e4d1797aabdc0d8c4a993d792d | 359 | #!/usr/bin/env bash
set -e
export SPARK_MASTER_HOST=`hostname`
spark-config.sh
load-spark-env.sh
mkdir -p $SPARK_MASTER_LOG
ln -sf /dev/stdout $SPARK_MASTER_LOG/spark-master.out
spark-class org.apache.spark.deploy.master.Master --ip $SPARK_MASTER_HOST --port $SPARK_MASTER_PORT --webui-port $SPARK_MASTER_WEBUI_PORT... |
efb15c38fdedef0cffa98d9d5a293d973c02525f | 236 | #!/bin/zsh
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/mccownda/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)" |
6fdf83654393f1b8b856108192940fdad326ed0a | 67 | #!/usr/bin/env bash
echo "Installing jrnl"
pip install --user jrnl
|
a3314dc802edbfa178c86f65e4e83a036b480acc | 281 | # Run from the root directory with ./config/install.sh
# Note that pre-commit is not in the requirements.txt, as we don't want this to ship with the package.
python -m venv env
source env/bin/activate
pip install -r requirements-dev.txt
cd config || exit
pre-commit install
cd ..
|
7c83208a9a4dc83ed79be0bb7692c26a5309cba2 | 281 | #!/bin/bash
# We use jupyter by default, but here we want to use python
unset PYSPARK_DRIVER_PYTHON
# Clone, install, and run
git clone {{cookiecutter.https_github_repo_url}} {{cookiecutter.job_name}}
cd {{cookiecutter.job_name}}
pip install .
spark-submit scheduling/airflow.py
|
49ae1c03388f963f90e2fc5c8991c915fe0fe20d | 1,270 | #!/bin/bash
REPO_ROOT=$1
EXIT_STATUS=0
python3 "$REPO_ROOT"/scripts/dev/license-check.py || EXIT_STATUS=$?
python3 "$REPO_ROOT"/scripts/dev/check_stray_fields_in_idd.py || EXIT_STATUS=$?
python3 "$REPO_ROOT"/scripts/dev/verify_idfs_in_cmake.py || EXIT_STATUS=$?
python3 "$REPO_ROOT"/scripts/dev/check_non_utf8.py || E... |
798694341c0277e248805533805aeca2c340ec08 | 998 | # Maintainer: Alexandre Filgueira <faidoc@gmail.com>
pkgname=antergos-wallpapers
pkgver=0.7
pkgrel=1
pkgdesc='The default wallpapers for Antergos'
arch=('any')
url='http://www.antergos.com'
license=('CCPL:by-nc-sa')
source=("http://antergos.com/${pkgname}-${pkgver}.zip")
md5sums=('cd09fe9d1dd72af28ba334f9e63e6b95')
p... |
ffa068ad8c83695a6af9d97953d9f469e263c1ad | 257 | #!/bin/bash
function create_server_structure()
{
server_dir="../server/application/modules"
server_folders_module=(models views controllers)
for item in ${server_folders_module[*]}
do
mkdir -p $server_dir/$modulo/$item;
done
}
|
e3ef047e2937e110fa6561bccd7a9c4d71ed2d37 | 572 | pushd ../../analysis/promoterAnchoredInteractions
#name=D00_HiC_Rep1
for name in $(cat ../../data/hic/meta/names.txt); do
(
echo $name
chr=1
mkdir -p $name
for chr in {1..22} X; do
echo $chr
awk -v OFS='\t' '{dist=$2-$1;mat[dist] += $3;count[dist]++ }END {for (i in mat){print i,mat[i],count[i]} }' ../../data/hic/ma... |
8764490863cf2c6ba7bc109b2dd889eddf0d2343 | 330 | function measure() {
local -n __user_var=$1
local function_name=$2
local -n __var_name=$3
local -n __var_name2=$4
local _start
local _end
_start=$(date +%s.%N)
"${function_name}" __var_name __var_name2
#__var_name=$?
_end=$(date +%s.%N)
local _diff
_diff=$(echo "${_end} - ${_start}" | bc -l)
__user_var="${... |
606c1712511385d346321f1b3994f6dc3f6522d8 | 1,024 | #!/bin/sh
#-------------------------------------------------------------------------------
# Convert the gene names in order to be used in an R script
#
# Usage: cat snpEff_genes.txt | ./scripts/genesTxtColumnNames.sh > genes.txt
#
# Once in R, you can:
# - Load this table:
# data <- read.csv("genes.txt", sep= "\t",... |
572ab319107e058d2ec872ee009c14dfff5ff4d7 | 525 | #!/bin/bash
cd firmament
rm -r /mnt/data/google_500x_speedup_16pus_86400_sec_quincy_preemption_bounded_1024MB_rapid/
mkdir /mnt/data/google_500x_speedup_16pus_86400_sec_quincy_preemption_bounded_1024MB_rapid/
./build/src/simulator --flagfile=/home/srguser/firmament-experiments/configs/google_500x_speedup_16pus_86400_se... |
49f7a8f6bbf664df518b240cb86290612a1d708f | 14,666 | #!/bin/bash
# exit script if return code != 0
set -e
# redirect new file descriptors and then tee stdout & stderr to supervisor log and console (captures output from this script)
exec 3>&1 4>&2 &> >(tee -a /config/supervisord.log)
cat << "EOF"
Created by...
___. .__ .__
\_ |__ |__| ____ | ... |
af9be541d81becb7528c94196538b8128b095ab5 | 248 | #!/bin/bash
IP="192.168.56.120"
if [[ $EUID -ne 0 ]]; then echo "root required" 1>&2; exit 1; fi
cat << EOF > /etc/default/kubelet
KUBELET_EXTRA_ARGS="--node-ip=$IP"
EOF
# Вот сюда можно вставить команду kubeadm join
|
707aed3fa2882b2da44bf035d4808030ec859fdb | 4,838 | python nat.py -y 0 -m normal_real_jitter_many
python nat.py -y 10 -m normal_real_jitter_many
python nat.py -y 20 -m normal_real_jitter_many
python nat.py -y 30 -m normal_real_jitter_many
python nat.py -y 40 -m normal_real_jitter_many
python nat.py -y 50 -m normal_real_jitter_many
python nat.py -y 60 -m normal_real_jitt... |
005db68eab6f26e55842397e497b00a08e033218 | 16,550 | #!/system/bin/sh
TMP="/cache" # write temp files here, or try these if it won't work:
ALTTMP="/sqlite_stmt_journals /system/sd/tmp /system/sd-ext/tmp /tmp /data/local /system/sd /system/sd-ext /sdcard"
ZIP="$0-zip" # bundled zip (static uclibc/arm): not aware of any r... |
304e8653fc05de8ad7362033eaba96a1eb867078 | 92 | #!/bin/bash
git cvsimport -v -d :pserver:anonymous@ecb.cvs.sourceforge.net:/cvsroot/ecb ecb
|
f85e85f74c7edbaf835e89045476a0081df951b4 | 451 | #!/bin/bash
export CHAINCODE_VERSION=$(cat /tmp/hyperledger/chaincode/assets/testversion.txt)
echo "CHAINCODE VERSION:: $CHAINCODE_VERSION"
peer lifecycle chaincode checkcommitreadiness \
--channelID mychannel \
--name uc4-cc \
--version $CHAINCODE_VERSION \
--sequence 1 \
--tls \
--cafile /tm... |
562ca148d45f1d27075f02eb2b83594a059b3520 | 1,180 | # those backslashes ARE escaping
# shellcheck disable=SC1117
readonly COLOR_BLACK="\[\033[0;30m\]"
readonly COLOR_RED="\[\033[0;31m\]"
readonly COLOR_GREEN="\[\033[0;32m\]"
readonly COLOR_BROWN="\[\033[0;33m\]"
readonly COLOR_BLUE="\[\033[0;34m\]"
readonly COLOR_PURPLE="\[\033[0;35m\]"
readonly COLOR_CYAN="\[\033[0;36m... |
5bfbfb62511543616aa2a639d49046729cb4621e | 215 | #!/usr/bin/env bash
find . -mindepth 1 -maxdepth 1 | while read dir; do
[[ -d "${dir}/.git" ]] && {
pushd "${dir}" >/dev/null
echo "# ${dir}"
eval "$@"
popd >/dev/null
}
done
|
9575a5ebddc778eb02793bb9e7390659c9c10fd2 | 1,068 | #!/usr/bin/env bash
# Usage: jiff add-task
source "${_JIFF_ROOT}/../../binaryphile/jiff-core/libexec/jiff-add-task"
push_core_task () {
# TODO: check and see if we're on master on jiff-personal first. commit and push jiff-core. mv jiff-personal link to jiff instead of creating and rm'ing?
filename="jiff-${1}"
... |
56257b1f8ee17279fabef5abee9ccffcf9c5512e | 4,184 | #!/bin/sh
# here, we just provide configs for installed packages
set -ex
lxde() {
#bug in lxpolkit, it says "session not found for pid of lxpolkit" https://github.com/meefik/linuxdeploy/issues/978
mv /usr/bin/lxpolkit /usr/bin/lxpolkit.bak
mkdir -p /etc/skel/.config/pcmanfm/LXDE/
echo "
[*]
wallpaper_mode=stretc... |
2eb28008b69e4fd0115bd2018c9a50c61987fb98 | 1,111 | # Download and setup JabRef into ~/
JABREF_VERSION="5.1"
JABREF_FNAME="JabRef-${JABREF_VERSION}-portable_linux.tar.gz"
JABREF_LINK="https://builds.jabref.org/master/${JABREF_FNAME}"
JABREF_DIR="$HOME/JabRef"
WORK_DIR=$(mktemp -d)
# make sure tmp dir was actually created
if [[ ! -d "$WORK_DIR" ]]; then
echo "Coul... |
d6260124516be41fbf32d10bbe5efc3981de07ac | 1,630 | #!/usr/bin/env bash
# python.sh
# next install python (both 2.x and 3.x trees) using Pyenv
# will probably stop installing python2 in the near future as it is EOL.
curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
# install a couple of plugins...
git clone git://github.c... |
96feedc00ae0ad306af818157a7ee4f24ef1f773 | 997 | #!/bin/bash
rm -rf target
mkdir target
zip -r target/mybot.zip src/*
touch target/halite.custom.log
javac -d target -sourcepath src src/MyBot.java src/MyBot2.java
cp halite target
cp oneGame.sh target
cd target
printf "\n30 30 Mybot vs RandomBot\n"
./oneGame.sh "40 40" "java MyBot" "java -cp ../oldtarget MyBot2" "ja... |
ee8c51e7b1859d84d82bbbf192ea62e4b09a2f11 | 607 | #!/bin/sh
indent() {
sed -u 's/^/ /'
}
echo "-----> Install rclone"
BUILD_DIR=$1
VENDOR_DIR="vendor"
FILE="rclone-v1.47.0-linux-amd64"
DOWNLOAD_URL="https://github.com/ncw/rclone/releases/download/v1.47.0/$FILE.zip"
echo "DOWNLOAD_URL = " $DOWNLOAD_URL | indent
cd $BUILD_DIR
mkdir -p $VENDOR_DIR
cd $VENDOR_... |
9759f4964f3e5c6f6d66f0dbe96e973da4556fd1 | 2,767 | #!/bin/sh
# gcc-uni.sh
# ----------
# By Matthew Leverton
#
# Builds a universal binary by a multi-step process to allow for individual
# options for both architectures. Its primary use is to be used as a wrapper
# for makefile based projects.
#
# Although untested, it should be able to build OS X 10.2 compatible bui... |
5c3a7d530332914f2de4107d661f5c32f0a5c109 | 274 | CHROME_HOSTNAME=chrome
DATABASE_ADAPTER=postgresql
DATABASE_NAME=dri_spotlight
DATABASE_HOST=db
DATABASE_PASSWORD=DatabaseFTW
DATABASE_USER=postgres
DATABASE_TEST_NAME=dri_spotlight_test
SPOTLIGHT_ADMIN_USER=admin@dri.ie
SPOTLIGHT_ADMIN_PASSWORD=admin12345
DATABASE_POOL=50
|
aae77b1afd6a7f7c32c37d7b2472e7f997d9ec34 | 41 | . config.sh
. 2_analysis.sh
. 3_synth.sh |
ec94510a019bd0eb310dc9cdede4affb331bb47c | 210 | #!/bin/bash
timeout="$1"
if [ ! "$timeout" ]; then timeout=3; fi
if timeout "$timeout"s ping -c 1 -n google.com > /dev/null; then
echo "Connected"
exit 0
else
echo "Disconnected" >&2
exit 1
fi
|
e5071f446929ed0f1b28db4f0e41258b540d4075 | 470 | #!/bin/bash
# This should cd to the same directory as where the script is stored, regardless
# of how the script is called.
# see: https://stackoverflow.com/a/1482133
cd "$(dirname "$(readlink -f "$0")")"
# find this machine's local IP address
# see: https://opensource.com/article/18/5/how-find-ip-address-linux
HOST=... |
9c919ec68e93d27993817da3548ec47b27d9ed4f | 826 | # Contributor: Hyperair <hyperair@gmail.com>
pkgname=wakeonlan
pkgver=0.41
pkgrel=2
pkgdesc="Utility for waking up computers using UDP Wake-on-Lan packets"
arch=('i686' 'x86_64')
url="http://gsd.di.uminho.pt/jpo/software/wakeonlan/"
license=('GPL')
depends=(perl)
makedepends=(perl)
source=(http://gsd.di.uminho.pt/jpo/s... |
ed7a8966ca43ac93ed1553ca58df94aafddb83d0 | 914 | echo $*
gpu=${1}
load=${2}
save=${3}
mode=${4}
srun -J ${save} --partition=ad_ap --mpi=pmi2 --gres=gpu:${gpu} -n1 --ntasks-per-node=${gpu} python -m torch.distributed.launch --nproc_per_node=1 --master_port=$((RANDOM+10000)) test.py --gpu ${gpu} --name ${save} --batchsize 32 --which_epoch last
# if [ $mode = "train" ]
... |
574edbd26519c7a8bcf97152c80ad2c8c5ee240c | 566 | #!/usr/bin/expect -f
set ip [ lindex $argv 0 ]
set user [ lindex $argv 1 ]
set password [ lindex $argv 2 ]
set port [ lindex $argv 3 ]
set host [ lindex $argv 4 ]
set ftpip [ lindex $argv 5 ]
set ftpuser [ lindex $argv 6 ]
set ftppwd [ lindex $argv 7 ]
spawn ssh -p $port $user@$ip
expect {
"(yes/no)?"
{
send "yes... |
ae870f4e2f29568e949d0f1a88f3cf0a176eb138 | 1,839 | #!/bin/bash
if [[ $# -ne 2 ]]; then
echo "train.sh <batch_size> <gpu>"
exit 1
fi
BERT_PATH="mt_dnn_models/mt_dnn_large.pt"
for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64... |
c6dfff1965e93bc56dd08145e755e02dbbb73b42 | 944 | #!/usr/bin/env bash
echo "Linking FontAndColor Themes"
rm -rf ~/Library/Developer/Xcode/UserData/FontAndColorThemes && \
ln -s ~/dotfiles/xcode/UserData/FontAndColorThemes ~/Library/Developer/Xcode/UserData/FontAndColorThemes
## Settings
mv ~/Library/Developer/Xcode/UserData/KeyBindings ~/Library/Developer/Xcode/U... |
7fed2fcaf12997f2f0775df0e51311d8d2f6d221 | 860 | #!/bin/sh
#
# Installation script for ipfs. It tries to move $bin in one of the
# directories stored in $binpaths.
INSTALL_DIR=$(dirname $0)
bin="$INSTALL_DIR/ipfs"
binpaths="/usr/local/bin /usr/bin"
# This variable contains a nonzero length string in case the script fails
# because of missing write permissions.
is_... |
baa17e80a89e880cf5bd65cb34c337fb31986c53 | 138 | #!/bin/bash
mkdir project_name
cd project_name
mkdir datasets
mkdir general_scripts
mkdir bin #you need to add this to your PATH-variable
|
a1e48647f58c24f720f5c7a7432d35211d88b8ce | 580 | #!/bin/sh
#
# $Id$
#
# Script for creating the netbsd BUILF_INFO file.
cat <<EOF
BUILD_DATE=`date`
BUILD_HOST=`uname -a`
CATEGORIES=misc
CC_VERSION=`cc --version | head -n 1`
CFLAGS=
CPPFLAGS=
FFLAGS=
HOMEPAGE=http://www.noaaport.net
LICENSE=
LOCALBASE=/usr/local
MACHINE_ARCH=`uname -m`
MACHINE_GNU_ARCH=`uname -m`
MAI... |
dc19943390ac6eb1ee3a4016f0d88959cd3e1f4a | 322 | docker rm -f mysql
docker run --name mysql -d --privileged=true -e MYSQL_ROOT_PASSWORD=Pass@123 -p 8002:3306 centos/mysql-80-centos7
docker exec -u root -ti mysql bash -c "yum install git -y;cd ~;git clone https://github.com/Yikun/openeuler-demo.git;cd ~/openeuler-demo/openlookeng/mysql;mysql -uroot -t < employees.sql... |
aee0503df0d36cf3c4fee84d7b75267b57292eb0 | 629 | # Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
SPOTIFY_BASE_API_URL={{Spotify web API URL. More https://developer.spotify.com/documentation/web-api/}}
SPOTIFY_AUTHORIZATION_API_URL={{Spotify authorization API URL. More https://devel... |
0c4a0d5597e92d6a0e0842704c31b68d0b6be6d1 | 350 | #!/bin/bash
DIFF_LIST=$(git diff --name-only $CIRCLE_SHA1 $(git merge-base $CIRCLE_SHA1 origin/master) | grep "^lib/")
if [ ! -z "$DIFF_LIST" ]; then
mkdir -p tmp/rubycritic/compare
bundle exec rubycritic --format console --branch origin/master -t 0 --maximum-decrease 1 $DIFF_LIST
else
echo "No changes detecte... |
3adda4329bf6dd70a1df7e84a64bab4075c90ded | 1,581 | # Contributor: Graziano Giuliani <giuliani@lamma.rete.toscana.it>
# Maintainer: Nathan Owe <ndowens.aur at gmail dot com>
pkgname=drm_tools
pkgver=1.1.9
pkgrel=1
pkgdesc="Small utility linux programs: accudate, columnadd, datasniffer, execinput, extract, mbin, mbout, mdump, msgqueue"
url="ftp://saf.bio.caltech.edu/pub/... |
9476a958ed31a3b527a92e3ce4ef47360885fced | 398 | #!/bin/bash
set -x
source /tmp/gpfs_env_variables.sh
# Build the GPFS potability layer.
/usr/lpp/mmfs/bin/mmbuildgpl
# have seen the above fail sometimes, hence the below loop
while [ $? -ne 0 ]; do
sleep 10s;
/usr/lpp/mmfs/bin/mmbuildgpl
done;
# Up date the PATH environmental variable.
echo -e '\nexport PATH... |
d67e4e517ca0713b8be47d741b5a66d09eab0d87 | 83 | git init
git add .
git status
git commit -m "Versiones"
git push origin ChanBranch
|
4cdfd4487e5b1f78be3c7a0df05e37aa76aa9fc6 | 219 |
export S3_BUCKET_NAME=
export ALERT_KINESIS_DESTINATION_NAME=
export ALERT_MESSAGE_DYNAMODB_TABLE_NAME=
export SLACK_WEBHOOK_URL=
export SLACK_CHANNEL=
export TEAM_WEBHOOK_URL=
export ALERT_TOPIC_SUB_ENDPOINT_FOR_CTO=
|
b32bf2dd7a5d02732e8426c821ecd64186e5198f | 889 | #!/usr/bin/env sh
mddev=""
timelimit=1800
result_dir="/root/xdd-result"
[ -z "$1" ] && echo "usage $@ <mddev> [timelimit]" && exit 1
mddev="$1"
[ ! -z "$2" ] && timelimit="$2"
mkdir -p $result_dir
while :;
do
# 顺序写半个小时
tmp="$result_dir/xdd-write-$(date +%Y%m%d-%H%M%S)"
xdd -op write -targets 1 $mddev -dio -datap... |
73b5e4593ec731dba1b61ecf4836f3fe82fe8ec0 | 292 | #!/usr/bin/env bash
# reschedule at commands
#
# duplicates header crap -- but that probably shouldn't change
# anyway...
if [[ -z "$1" || "$1" = "--help" ]]; then
echo "usage: $0 <at job id> <new time spec>" 1>&2
exit 1
fi
jobnum=$1
shift
at -c $jobnum | at "$@" && atrm $jobnum
|
53d537c27a3564e8c148f26f908377bd23d83e44 | 129 | #!/bin/bash
docker run -it \
-v /home/mgeiger/new_tifs/:/build/ \
-v /fsdata1:/fsdata1 \
gdal:2.4.2 /build/new_tifs.py
|
56a01bfbc958959c28fb735515baec76d18c8410 | 487 | #!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
IFS=$'\n\t\v'
cd `dirname "${BASH_SOURCE[0]:-$0}"`
if [[ ! -d "tiles" ]]; then
echo "run scrape.sh first"
exit 1
fi
X_TILES_CNT=`find tiles/0 -type f | wc -l`
Y_TILES_CNT=`find tiles -mindepth 1 -maxdepth 1 -type d | wc -l`
echo "generating a ${X_TILES_CN... |
c25f3905fa45c6c9c4b04d9ac409a75e60a63fb1 | 1,003 | #!/bin/bash
DATASET="MMI"
BATCH_SIZE=16
EPOCHS=30
EWMA=5
MIXUP=8.0
RESULTS_PREFIX="results/MMI/6s/lmso"
# Referenced wrt toplevel project directory to ensure experiments are run from there
# TIDNet
./experiments/_tidnet_basic.sh $DATASET $BATCH_SIZE $EPOCHS $EWMA $MIXUP "${RESULTS_PREFIX}-2-TIDNet" "TIDNet --tlen 6"... |
32c48ece6904a535c4df32decb34033a8c0cea02 | 53 | apt-get install fonts-noto ttf-mscorefonts-installer
|
7f78b31f69bdbfd160380e846dd66a4f76be6106 | 128 | #!/bin/bash
LIGHT_MODULE=${LIGHT_MODULE:-"lightsocks-server"}
if [ "$1" != "" ]; then
exec "$@"
else
$LIGHT_MODULE
fi
|
bf891eb6265060a513741eb01a00944dfd36148e | 584 | sudo apt-get update && apt-get upgrade -y && apt-get install openjdk-8-jdk curl
curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.4.tar.gz
tar -xvf elasticsearch-6.2.4.tar.gz
cd elasticsearch-6.2.4
mkdir config/hunspell config/hunspell/cs_CZ
cd config/hunspell/cs_CZ
curl -sL -o cs_CZ.af... |
eb3fa30a04caba1b363b3ab8bca5f0a4a4c991d4 | 5,955 | #!/usr/bin/env bash
clear
#parse_yaml function
parse_yaml() {
local prefix=$2
local s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @|tr @ '\034')
sed -ne "s|^\($s\)\($w\)$s:$s\"\(.*\)\"$s\$|\1$fs\2$fs\3|p" \
-e "s|^\($s\)\($w\)$s:$s\(.*\)$s\$|\1$fs\2$fs\3|p" $1 |
awk -F$fs '{
indent = length($... |
3a6bcf770d123990e5535c8d944c8cf5afd37af1 | 757 | # Maintainer: Vlad V. Voronenkov <vladvoronenkov at yandex dot ru>
pkgname=gerris
pkgver=2013.12.06
pkgrel=1
epoch=
pkgdesc="A system for the solution of the partial differential equations describing fluid flow (CFD)"
arch=('x86_64')
url="http://gfs.sourceforge.net"
license=('GPL3')
depends=('python' 'gts>=0.7.6.121130... |
9c99d81f5edeb30c181e3e47e7845b30a126378a | 381 | #!/bin/sh
echo "Writing Option bits to enable BEEP in PD4"
echo " ROP -> 0 ( no protection) "
echo " OPT1 & NOPT1 -> 00 FF (UBC default value)"
echo " OPT2 & NOPT2 -> 80 7F (enable AFR7 for beep peripherical)"
echo "Reset default..."
echo "0000ff00ff00ff00ff00ff" | xxd -r -p > rst.bin
xxd rst.bin
echo "0000ff807f" | xx... |
82f8f0792ef81948217f418f2fd85173fd4a7bf0 | 2,181 | # $Id$
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: grimi <grimi at poczta dot fm>
pkgname=urbanterror
pkgver=4.3.2
pkgrel=2
epoch=2
pkgdesc="A team-based tactical shooter based on the Quake 3 Engine"
arch=('i686' 'x86_64')
url="http://www.urbanterror.info"
license=('GPL2')
depends=('sdl' 'openal... |
81d7a3247ed86b5d1bf121255aaf26eac4f4e14e | 40 | #!/bin/bash
NAME="Zara Ali"
echo $NAME
|
c04a214c74c4dbba441adfbc94732904a98851f4 | 2,938 | #!/usr/bin/env bash
# Permet d'initialiser Hadoop et HBase
source ~/.bashrc
# Permet d'utiliser des alias en non shell interactif
shopt -s expand_aliases
# Raccourcis
CONCEPTOPEDIA=~/tests_java/Conceptopedia.jar
WIKIPEDIA_FOLDER=~/wikipedia
alias Conceptopedia0="java -jar $CONCEPTOPEDIA --mode 0"
alias Conceptopedia1... |
cbd9b3f994fbf6a6116106edf784dbe800955f6a | 568 | #!/usr/bin/env bash
USERNAME='username'
PASSWORD='password'
ORGSNAME='organisation'
SSHBYPAS='-work'
ssh-add -l ; read -p "If your key is not present please add, otherwise type [n]: " load
[[ $load != n ]] && ssh-add $(eval echo $load)
mkdir -p ~/Repositories/${ORGSNAME} \
&& cd $_
for REPO in $(curl -sSL -u "${USE... |
21f9a36131b02ca3448d582a4fa2a0d7a6be4637 | 155 | echo Starting Kuberntes Services
kompose up
echo
echo Kuberntes services active
kubectl get all
echo
echo Stoping Kuberntes Services
kompose down |
267621704b71bd4eae048837efe52fee0a71f216 | 1,005 | #!/system/bin/sh
dir="" #define directory
sec="secure" #secure folder
pwd="passwd" #password secure filename
pwdstore=$dir/$sec/$pwd #full secure path
function passwdexec {
if['$1' == '-change'];
then
secpwd
else
cat $pwdstore
fi
}
function secpwd {
echo -e "Enter current password for $USER'
stty -echo
read curpwd... |
e16d8edc137afd03fc46dd3a0ea527d1bdf1953a | 145 | #! /bin/bash
cd "`dirname \"$0\"`"
rm cmake_install.cmake CMakeCache.txt Makefile assignment1
rm -rf CMakeFiles/
cmake ./
make
./assignment1 |
ef31cb101fd9c420da796d243ab804c21df9d84b | 3,290 | #!/usr/bin/env bash
CURRED_DIR=$(pwd)
mkdir Frontend
cd Frontend
echo "node_modules/webpack/bin/webpack.js" > buildwp.sh
echo '''
{
"name": "simple_app",
"version": "1.0.0",
"description": "Simple app",
"main": "index.js",
"repository": "https://github.com/mayk93",
"scripts": {
"start": "node ./nod... |
e646f7a9c3e8e91d740a30147ec7e96615efda1a | 403 | #!/bin/sh
clear
bufer=0
chekByNULL()
{
echo ow
local spname=$1
echo $spname ------------
if [ ! -r $spname ] || [ -z $spname ]
then
echo Введите файл туут
read spname
while [ ! -r $spname ] || [ -z $spname ]
do
echo Введите файл апапапп $spname
read spname
done
fi
bufer=$spname
}
name1="1.txt4... |
4a66644e6409719639b367791f61b5a289c29287 | 136 | #!/bin/bash
cd ~/checkmeout-pi/Kiosk_Code/
python ~/checkmeout-pi/Kiosk_Code/KioskPythonGUI.py
cd ~/checkmeout-pi/Kiosk_Code/
./program |
c3b6a179582a4dfdbff10d92e267e7be9a72c51d | 86 | DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASS=
DB_NAME=db_mux_test
DB_TYPE=mysql |
abd439a551b3d4c6b519e39f044bb83bed45f721 | 2,451 | # Install command-line tools using Homebrew
# Make sure we’re using the latest Homebrew
brew update
# Upgrade any already-installed formulae
brew upgrade
BREW_PREFIX=$(brew --prefix)
# Install GNU core utilities (those that come with OS X are outdated)
# Don’t forget to add `$(brew --prefix coreutils)/libexec/gnub... |
bf5da2e0005bae8311e09dce0a001d35dd6da718 | 3,005 | # extract .png or .ico files from given file
# USAGE: extract_icon_from $file[…]
# NEEDED VARS: PLAYIT_WORKDIR
# CALLS: liberror
extract_icon_from() {
for file in "$@"; do
local destination="$PLAYIT_WORKDIR/icons"
mkdir --parents "$destination"
case "${file##*.}" in
('exe')
if [ "$WRESTOOL_NAME" ]; then
... |
2c22a5f70f6c2c83da7208cd991300caf65885c1 | 284 | #!/bin/bash
SESSION=tmux-prod-search-redis
tmux new-session -d -s $SESSION
tmux split-window -h
tmux select-pane -t 0
tmux send-keys "ssh bshah@10.80.90.169" C-m
tmux select-pane -t 1
tmux send-keys "ssh bshah@10.80.90.170" C-m
# Attach to session
tmux attach-session -t $SESSION
|
e144758c69f9b13db577037b769a9ec37f4e68fb | 222 | #!/bin/bash
if [ ! -n "$CONFIG" ]
then
echo "Env variable CONFIG with edn config for app is missing"
exit 1
fi
if [ -n "$UBERJAR" ]
then
gsutil cp -n "$UBERJAR" uberjar.jar
fi
java -jar uberjar.jar "$CONFIG"
|
af9f70da93ea4f2c85775553ab115b3f624e659b | 54 | #!/bin/sh
ps -p `cat temp/server.pid` -o %cpu,%mem,cmd |
b80811af7815955d1daa97f5b389f81b72dcef0e | 287 | #!/bin/bash
function testFile {
echo "testing $1"
shellcheck "$1"
ret=$?
if [ "$ret" -ne 0 ]; then
echo "There are problems in $1"
fi
return "$ret"
}
result=0
for f in *.sh osx/*.sh generic-linux/*.sh
do
testFile "$f"
ret=$?
let result+=$ret
done
exit "$result"
|
d4aa460e3a18f13c8a61c158f8195649d6086be3 | 48 | #!/bin/bash
dieharder -d 4 -g 206 -S 1845098886
|
3adc0163be1dd50d3e1d12bea4e61cc462bec9fd | 47 | #!/bin/bash
ssh-agent sway
killall swaybar.sh
|
a80401fa650ca80963ebc0ce72e64d54c6cea403 | 6,661 | #!/bin/bash
#
# monitor-switch - switch outputs using xrand
#
# Copyright (C) 2012 Rodrigo Silva (MestreLion) <linux@rodrigosilva.com>
# 2015 Jarno Suni <8@iki.fi>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as... |
045f42bb56943785e7af8d0f2164c5601118d2c0 | 2,129 | #!/bin/bash
# Check the distribution
distro=""
if command -v lsb_release &> /dev/null; then
distro=$(lsb_release -si)
elif [ -e /etc/os-release ]; then
distro=$(awk -F= '/^ID=/{print $2}' /etc/os-release)
elif [ -e /etc/lsb-release ]; then
distro=$(awk -F= '/^DISTRIB_ID=/{print $2}' /etc/lsb-release)
fi
#... |
fb97618b347ac789f4bbb61f180742986fff315f | 40 | #!/bin/sh
pm2 gracefulReload all
exit
|
4925f5aa704f2621ce8b1d07e2a16ee273ea244b | 1,478 | #!/bin/bash
# usb device driver autotest shell-script
set -e
#set -x
if [ $# -lt 3 ]; then
echo "usage : $(basename $0) SOURCE_PATH DESTINATION_PATH FILE_SIZE"
exit 1
fi
SRC_DIR="$1"
DST_DIR="$2"
FILE_SIZE="$3"
echo "read write ${FILE_SIZE}M file from $SRC_DIR to $DST_DIR"
# write test
echo "create data ${... |
e3fba0045b800cd1f54e7710254b888a26887d7b | 610 | #!/bin/bash
common_name=$1
if [ -z $common_name ]; then
echo "You must enter common_name"
exit 1
fi
echo "Run file in {{ cert_dir }}"
if [ ! -f domain.key ] || [ ! -f domain.crt ]; then
openssl req \
-newkey rsa:4096 -nodes -sha256 -keyout domain.key \
-x509 -days 365 -out domain.crt -subj "/C=VN/ST=HN... |
13da7b8e26b9475cb2aaa0374e7c2b8df468658e | 88 | #!/bin/bash
#cp ~/eclipse_workspace/CLAS12_SVT_GEOMETRY/SVTGeometry.jar ~/.groovy/lib/.
|
691b3dc60ec63f85930cb4ec98d42d3a6abc6478 | 2,605 | export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export JRE_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre
POOL=/data/ktony11/
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
ORIGDIR=$pwd
RESULT=result.csv
EVOSUITE=$ROOT/test_suite
LOGFILE="csv_gen.log"
rm $RESULT $LOGFILE 2> /dev/null
export PATH=$... |
c473d61b448d9e88e20829479118a4114f680c70 | 61 | #!/bin/sh
MYDIR=`dirname $0`
python2 "$MYDIR/punter_main.py"
|
76825be4b1b7ee88baaa7961bb6bbcc375c1a3a2 | 135 | #!/bin/bash
cd ./index/index-compile/
cargo b --release
cp ./target/release/personal-web ../
cd ./..
./personal-web > ../../index.html
|
0345e520908e5b53814809f10f9c56cb9963f7b4 | 168 | #!/bin/bash
#
# Build a fresh version of npot
#
# Revised: 8/15/22
# Author: S.Scott Collis
#
set -e
cd src
\ln -fs gcc.mak Makefile
make clean && make $@
exit $?
|
0939227ba26abffceddd9aee928e633de0fc33af | 4,743 | #!/usr/bin/env bats
. test/helpers.sh
file () { . $BORK_SOURCE_DIR/types/file.sh $*; }
setup () {
readsum=$(eval $(md5cmd $platform Readme.md))
}
# -- without arguments -------------------------------
@test "file status: returns MISSING when file is missing" {
respond_to "[ -f missing ]" "return 1"
run file s... |
f92808e0c6b43196019b68f83982f932afd90ad7 | 61 | ../../PythonExtensionPatterns.git/PythonSubclassList/build.sh |
1ace00c792592afc094ed20dca41826eaf521edf | 1,516 | #!/usr/bin/env bash
## Qbt_origin模组 Qbt_origin moudle
install_qbt_o(){
set +e
clear
TERM=ansi whiptail --title "安装中" --infobox "安装Qbt原版中..." 7 68
colorEcho ${INFO} "安装原版Qbittorrent(Install Qbittorrent ing)"
if [[ ${dist} == debian ]]; then
apt-get update
apt-get install qbittorrent-nox -y
elif [[ ${dist} == ubun... |
6390984f7890686424fe0dc6c45b105535811c29 | 603 | #!/bin/sh
#This is a script to flash the atmega on the beaglebone black
#usb extention board. Reset is connected to Pin 12 of P9.
#Pin 12 of P9 is GPIO1_28, which leads to (28 + 32) = 60.
PIN=60
FIRMWARE=$1
GPIO_PATH=/sys/class/gpio
RSTPIN_PATH=$GPIO_PATH/gpio$PIN/
echo "Toggling reset pin"
echo $PIN > $GPIO_PATH/... |
14fa9064d744ebe96142075ca84a0d639333cbd6 | 364 | #!/bin/bash
cp /dev/null ~/.kube/config
set -x
for proj in $(gcloud projects list | awk '{print $1}'); do
for line in $(gcloud container clusters list --project="${proj}" --format="value[separator=;](name,zone)")
do
IFS=';' read CLUSTER ZONE <<< "$line"
gcloud container clusters get-credentials ${CLUSTER} --z... |
937abb8b696d518d949993a3be8d7bb8f0c7511b | 93 | #!/bin/bash
OF='recep*.jpg'
rm -rf $OF
OI='stit*.jpg'
rm -rf $OI
PRO='proce*.jpg'
rm -rf $PRO |
0fc492bb37c9aeebe51f895bb45ef1a646072f9a | 410 | #!/bin/bash
${TARGET_PREFIX} mkdir -p /tmp/results
${TARGET_PREFIX} mkdir -p /tmp/suspend-blocker
adb push suspend-blocker /tmp/suspend-blocker
adb push susblock.conf /home/phablet/.config/upstart
${TARGET_PREFIX} chmod +x /tmp/suspend-blocker/suspend-blocker
${TARGET_PREFIX} chown phablet.phablet /home/phablet/.confi... |
22271f695d7b21e79d64fbcd2073a451ab854177 | 94 | #!/usr/bin/env bash
docker build -t dysnix/pv-provisioner ./
docker push dysnix/pv-provisioner |
e59e500eb7475583e27fa3f366bf58dadd8a0dc1 | 106 | #!/bin/bash
set -e
source jdk-support.sh
installOracleJdk "jdk-8u161-linux-x64.tar.gz" "~/jdk1.8.0_161"
|
6485122954472b5ca3c6db27faa3529404db129a | 432 | rm -rf ./build
mkdir build
(cd build && \
emcc ../src/*.c \
-o app.html -g \
-s USE_SDL=2 \
-s USE_SDL_IMAGE=2 \
--preload-file ../assets/ \
--use-preload-plugins)
rm -rf ./public
mkdir public
cp ./static/* public
cp build/app.wasm public/app.wasm
cp build/app.js public/app.js
cp build/app.data ... |
6f5d59364472082d47d0477aecba4fa9048552e7 | 119 | #!/bin/bash
# COLORS FOR OUTPUTS
source ./src/colors.sh
./src/intro.sh
./src/dev_installs.sh
./src/other_installs.sh |
f5351544aaeaa994c8782287439e64aa8c4b9a6b | 1,294 | #!/bin/bash
set -e
# Check working directory
if [ $HOME == $PWD ]; then
echo "Error: can not put this project in home directory!"
exit -1
fi
if [ ! -f "$PWD/setup" ]; then
echo "Error: please run this command under project directory!"
exit -1
fi
# Check dependency
command -v vim >/dev/null 2>&1 || { echo >&... |
32ba7293fb396963ea6c8276cb0e526936c75580 | 1,241 | #!/bin/bash
yum install haproxy -y
#!/bin/bash
mkdir -p /data
cd /data
wget http://www-us.apache.org/dist/tomcat/tomcat-8/v8.5.30/bin/apache-tomcat-8.5.30.tar.gz
tar -zxvf apache-tomcat-8.5.30.tar.gz
mv apache-tomcat-8.5.30 apache-tomcat2
cd apache-tomcat2/conf
sed -i '69s/8080/8008/' server.xml
sed -i '116s/8010/801... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.