blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
77139aebca969aa033ca9a732c9a4ec23436bedb | 166 | cd ..
java -cp .:morph-rdb.jar:lib/*:dependency/* es.upm.fi.dia.oeg.morph.r2rml.rdb.engine.MorphRDBRunner examples-lingbm lingbm.morph.properties
cd examples-lingbm
|
8f6ac0ab3f8aa5beba25046df812f7bb073a558e | 5,292 | #!/bin/bash
kind='both' # can be equal to 'm' for minus sym, 'p' for plus sym, or 'both' for both sym
sym=''
nuc=''
exepath=/home/dhenness/prophet/exe
ver=dfratomgpu_binarysearch2.x
alljobs=false
bottom=false
wtime=01:00:00
while [ $# -gt 0 ]
do
val=$1
shift
case $val in
"-a")
alljobs=true
;;
... |
d11477b95fa93ca36b987f074dfb8f77f1d40034 | 1,306 | #!/usr/bin/env bash
PROJECT_ROOT_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")"/../../../.. >/dev/null 2>&1 && pwd)" && . "${PROJECT_ROOT_PATH}/deploy/common.sh"
. "${PROJECT_ROOT_PATH}/deploy/sub/localstack/aws/bashrc_aws.sh" || echo_warn "Failed to import bashrc_aws.sh"
bucket_name=test-bucket
function create_bucket(... |
02ce608e838afaa7e1d6bef06ad540514158069e | 238 | #!/bin/sh
echo Installing...
mkdir /usr/lib/ucontrol
cp -f -r lib/ucontrol.jar /usr/lib/ucontrol/ucontrol.jar
cp -f -r lib/icon.png /usr/lib/ucontrol/icon.png
cp -f -r bin/ucontrol /usr/bin/ucontrol
chmod 744 /usr/lib/ucontrol/*
echo OK!
|
9aa3d92fcc9d072f8da53c4a827add6925ed994a | 19 | #!/bin/bash
xfer $@ |
283ec5613c32b09bb78d4c33ee4c1734100877de | 39 | curl -X POST http://localhost:8080/run
|
8928f14c1778084141ce80c7503a8490704f836e | 367 | #!/bin/bash
set -e
classpath=target/classes:`echo \`find neo4j-enterprise-1.6.M03-1/lib/ -name *.jar\` | tr ' ' ':'`:neo4j-enterprise-1.6.M03-1/system/coordinator/lib/log4j-1.2.16.jar
java -cp $classpath org.neo4j.testing.UniqueFactoryPlay 1 &
java -cp $classpath org.neo4j.testing.UniqueFactoryPlay 2 &
java -cp $clas... |
c45b41474fe1241f9206810d4d8417c8b96df855 | 97 | #!/bin/bash
set -ex
for i in {1..40}; do
sbatch run_workers.sh;
done
sbatch run_trainer.sh
|
8615ce21945f455e74fadf39b0513ba372a8bd4c | 65 | #!/bin/bash
mono .paket/paket.exe restore
fsharpi generate.fsx
|
625a44a7ec6d22b36bde036cbb9f28dc026f545c | 1,208 | APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
RE... |
1c9eb4c194cf00014422bee0be249f3f0235cc71 | 90 | #!/bin/bash
# subscribe message to mosquitto mode entry point
python /root/subscribe.py & |
60952a5bbc6fb31ae8c44fba8958b4524965700c | 479 | #!/bin/sh
if [ $# -eq 0 ];then
echo "usage: ./net2io n server.py "
exit
fi
if [ ! -f $1 || -f $3 ];then
echo "$1 not exsit or $3 not exsit"
exit
fi
sudo ./$1 $2 &
python3.4 $3 &
while true ; do
count=`ps -ef | grep $1| grep -v "grep" |grep -v "daemon" |wc -l`
servercount = `ps -ef | grep $3| grep -v "grep" ... |
3bf4270f4c60dac819effc5ad081159bf69c801c | 537 | #!/bin/bash
RUN=$1
LAST=$2
while [ $RUN -ne $LAST ]
do
if [ -f /home/daq/DATA/run-${RUN}data-21 ] && [ -f /home/daq/DATA/run-${RUN}data-22 ] && [ -f /home/daq/DATA/run-${RUN}data-23 ] && [ -f /home/daq/DATA/run-${RUN}data-24 ] && [ -f /home/daq/DATA/run-${RUN}data-30 ]
then
scp -p /home/daq/DATA/run-${RUN}dat... |
d60fa54d3b2f5ba689585b7c41b7f58f3fff4f09 | 1,090 | #!/bin/bash
sudo apt-get update
sudo apt-get -y dist-upgrade
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y cron curl make kodi
sudo perl -pi -e "s/ENABLED=0/ENABLED=1/g" /etc/default/kodi
wget http://downloads.hypriot.com/docker-hypriot_1.9.1-1_armhf.deb
sudo dpkg -i docker-hypriot_1.9.1-1_armhf.d... |
8f0879201c70722264a3a06fabdca52d855703b7 | 433 | #!/bin/bash
# This will be sourced in the hook-context.
source $CHARM_DIR/bin/charms.reactive.sh
PATH=$CHARM_DIR/app:$PATH
@hook '{install,upgrade-charm}'
function install() {
installEmacs
install-elnode.el
status-set active "Ready."
set_state "elnode.available"
}
function installEmacs() {
status... |
00dedf2e8da3e7567193d3ad449d3722cc0fb472 | 4,636 | #!/usr/bin/env bash
# Copyright 2007-2023 United States Government as represented by the
# Administrator of The National Aeronautics and Space Administration.
# No copyright is claimed in the United States under Title 17, U.S. Code.
# All Rights Reserved.
GENERATED_SRC="interfaces/BinaryField.cs"
OLD_TEXT_1="public... |
79fade6b4fdc0b6bb1a8d48908a6546db83bff88 | 141 | #!/bin/bash
cd $PLUMESIM &&
python viz_update.py
cd $PLUMESIM &&
gnome-terminal -x bash -c "roslaunch marineplumesim.launch; exec $SHELL"
|
ef0e910fb06a1e857dc033aa1764edf9ff43d243 | 153 | echo "Launch mongod on in new shell (new terminal window)"
osascript -e 'tell app "Terminal"
do script "mongod"
end tell' & node app
|
f06036944faf30f798d32c0cb72cd219f2219d19 | 357 | #!/bin/bash
SCRIPT_DIR="$PWD/$(dirname $0)"
export PYTHONPATH="$SCRIPT_DIR/.pip3/lib/python3.5/site-packages"
export PATH="$SCRIPT_DIR/.pip3/bin:$PATH"
if ! autopep8 --version > /dev/null 2>/dev/null
then
echo "autopep8 is not found. Please install it by the following command:"
echo "sudo pip3 install pep8 autop... |
ab345572ca2ebad4662ca6b7793939e61e10f8f7 | 449 | #!/usr/bin/env bash
#PBS -q sequentiel
#PBS -l ncpus=1
#PBS -l mem=60gb
#PBS -l walltime=24:00:00
cd /home1/datawork/plstenge/Pearl_Oyster_Colour_Population_Genomics/03_trimmed_q26
. /appli/bioinfo/fastqc/latest/env.sh
fastqc /home1/datawork/plstenge/Pearl_Oyster_Colour_Population_Genomics/03_trimmed_q26/HI.4499.007.NS... |
e6a51ac98df72ec2ee2bb9ee463a4b75d1c1fc07 | 263 | #!/bin/bash
rehash=( $(git ls-remote $(git config --get remote.origin.url) HEAD) )
lohash="$(git rev-parse HEAD)"
[ "${rehash%?HEAD}" = "${lohash}" ] && echo "up to date, both ${rehash%?HEAD}" || echo "version mismatch, local ${lohash} remote ${rehash%?HEAD}"
|
60687989a9899faf88ddbe93c4d98b960a657be1 | 417 | #!/bin/bash
#make sure to install and include express and multer in your package.json
make
./main
theSource=${PWD}/Rest/
objcTarget="/Users/josh/Documents/CS Projects/RestExample/RestExample/"
jsTarget="/Users/josh/Documents/CS Projects/RestGeneratorTester/routes/"
echo "Copying files at $theSource to $objcTarget"
c... |
da3164e9bcf0703534659e798b65fcc37b947dcf | 50 | psql -d localdb -a -f db/start_db.sql
node app.js
|
1f363a7fc1fe292216bca77d2d1d79beb3725dfa | 385 | #!/bin/bash
# Add new .cpp files here
if [ -a executable ]
then
rm executable
fi
clear && g++ -std=c++11 -o executable main.cpp library.cpp emulate.cpp devices.cpp single_inst.cpp double_inst.cpp debugger.cpp
# USED WITH MENU
./executable
# scan-build -o ./output g++ -std=c++11 -o main main.cpp library.cpp emul... |
f7bce5894ce0c0ae039ba6e97785394a8b17fc44 | 1,522 | #!/bin/sh
# Type './build.sh' to make iOS libraries.
# Type './build.sh -arch arm64' to make iOS libraries for iOS 64-bit.
# Type './build.sh clean' to remove object files.
if [ ! -f ../vgcore/ios/build.sh ] ; then
git clone https://github.com/rhcad/vgcore ../vgcore
fi
if [ ! -f ../vgios/build.sh ] ; then
git ... |
d51c97d1b6bd0b42d8ac601a6d83d29e787dfb55 | 3,178 | #!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
#===============================================================================================
# SYSTEM REQUIRED: CentOS-5 (32bit/64bit) or CentOS-6 (32bit/64bit)
# DESCRIPTION: Xcache for LAMP
# AUTHOR: Tedd... |
2528fcf521956b8486378512407f79ece7cde566 | 79 | spark-submit --master yarn-client /home/xinyu.wang/model_feature/parent_log.py
|
1d01445eeacc3495f48e1d17acf0f5b6be012518 | 320 | REACT_APP_AUTH0_DOMAIN= # YOUR AUTH0 DOMAIN HERE
REACT_APP_AUTH0_CLIENTID= # YOUR AUTH0 CLIENTID HERE
# The following variables can either be changed or left as they are.
REACT_APP_AUTH0_CALLBACK_URL=http://localhost:3000/callback
REACT_APP_AUTH0_AUDIENCE=http://localhost:3001
REACT_APP_API_URL=http://localhost:3001
|
68e921fd598bd8572f95091a468d335b647db126 | 2,521 | #!/bin/sh
. mail-toaster.sh || exit
export JAIL_START_EXTRA=""
export JAIL_CONF_EXTRA=""
mt6-include php
mt6-include nginx
SMF_VER=2.1.4
install_smf()
{
install_nginx
install_php 81 "filter gd mysqli pdo_mysql session zlib"
if [ ! -d "$STAGE_MNT/usr/local/www" ]; then
mkdir -p "$STAGE_MNT/usr/local/www" || e... |
9d264b370ecb790cdcbd99d4f2226af74f50d55a | 308 | #!/usr/bin/env bash
#install the ufw firewall and setup a few rules on web-01
#blocks all incoming traffic except those tcp ports(ssh: 22, https: 443, http: 80)
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow 22/tcp
sudo ufw allow 443/tcp
sudo ufw allow 80/tcp
sudo ufw enable
|
e611270d6a503a135d9d487da3faedf5b36fe7b4 | 139 | #!/bin/bash
set -x
export PROFILES=${PROFILES:-dev}
java -Xmx200m -jar -Dspring.profiles.active=${PROFILES} /app/qzhao-v1-log-1.0.0.jar
|
1d2633b549759755ee4af4148b0fbc6a38ef1bc3 | 362 | dotfile::path_reset
dotfile::path_append \
"/usr/local/bin" \
"/usr/bin" \
"/bin" \
"/usr/local/sbin" \
"/usr/sbin" \
"/sbin"
env::rbenv
env::nodenv
env::golang "$HOME/Projects/golang"
dotfile::path_prepend "$GOPATH/bin"
dotfile::load_all "$HOME/.config/dotfile" "profile.*"... |
ad1f60dd59bccf0136132dfa05bedcfefd0c5bb0 | 1,461 | pkgbase='pypy-mako'
pkgname=('pypy3-mako' 'pypy-mako')
pkgver=1.0.0
pkgrel=1
pkgdesc="Hyperfast and lightweight templating for the Python platform"
arch=('any')
url="http://www.makotemplates.org/"
license=('MIT')
makedepends=('pypy-setuptools' 'pypy3-setuptools' 'python>=3.4' # for 2to3
'pypy-markupsafe' 'pypy3-marku... |
c6ae4ab6a387db28bbd2ca3a23104746b1fb7c2c | 587 | # Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=cln
pkgver=1.3.6
pkgrel=2
pkgdesc="Class library for numbers"
arch=('x86_64')
url="https://www.ginac.de/CLN/"
license=('GPL')
depends=('gmp')
makedepends=('texlive-core')
source=(https://www.ginac.de/CLN/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('144f15a57f4b25ada... |
4ac18c51c9b3b02748fb49d1ce14e67923fef23d | 488 | #!/bin/bash
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
#-------------------------------------------------------------------------... |
9cda0206c6078e725b484715dffade532084a8af | 40 | ./gofarm H2 21 600
./gofarm H2 25 1000
|
8c4d750141bfd07b6f1ffb422cefe8bf8f01967a | 317 | #!/bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")"
. ./argparser.sh
if [ $server -eq 1 ]; then
x-terminal-emulator -e mongod
x-terminal-emulator -e ./server-dev.sh
fi
if [ $web -eq 1 ]; then
x-terminal-emulator -e ./web-dev.sh
fi
if [ $client -eq 1 ]; then
x-terminal-emulator -e ./client-dev.sh
fi
|
5824a64b99cedab74557277db35d4e7a02dc69ba | 13,956 | #安装 logstash 版本 2.1.1
#自动化安装脚本
#!/bin/bash
cd /data/ && mkdir logstash
wget https://download.elastic.co/logstash/logstash/packages/centos/logstash-2.1.1-1.noarch.rpm
rpm -ivh logstash-2.1.1-1.noarch.rpm
chown -R logstash:logstash /data/logstash/ #服务安装后修改目录权限
chown -R logstash:logstash /var/log/logstash/
这里的权限问题... |
af339e568bbb8fb9bcb1565a658409a1f03776b6 | 119 | for i in `seq 1 1000`;
do
last_number=`tail -1 num`
last_number=$((last_number + 1))
echo $last_number >> num
done
|
5c0a030227805515f9e682b85a13ff09d655639e | 3,187 | #!/usr/bin/env bash
. /root/adminrc
DIR=`cd "$(dirname "$0")"; pwd`
RESULT_LOG=${DIR}/create_vms_extent.log
echo " " >> ${RESULT_LOG}
echo "======================================================================" >> ${RESULT_LOG}
echo "start crate vms test, date: "$(date +%F" "%T) >> ${RESULT_LOG}
for ((i=1;i<=5;i++)... |
d96e252d54e9c84eb085365269721c2839a24a4b | 1,610 | #!/bin/bash
groupmod -o -g $AUDIO_GID audio
if [ $GID != $(echo `id -g thunderspeed`) ]; then
groupmod -o -g $GID thunderspeed
fi
if [ $UID != $(echo `id -u thunderspeed`) ]; then
usermod -o -u $UID thunderspeed
fi
chown thunderspeed:thunderspeed "/迅雷下载"
if [ -d "/home/thunderspeed/.thunderspeed" ]; then
c... |
7521cc5c98b8fc3f60e0a34527bd9cd28a99be35 | 501 | export CUDA_VISIBLE_DEVICES=0,1
export SQUAD_DIR=/home/wangdh/01-code/squad/Baseline/data
python run_squad.py \
--model_type bert \
--model_name_or_path bert-base-uncased \
--do_train \
--do_eval \
--do_lower_case \
--version_2_with_negative \
--train_file $SQUAD_DIR/train-v2.0.json \
--predict_file $S... |
ec392b755c25beb9196f38692d3620c19d927779 | 395 | #!/bin/sh
set -eu
echo "Doing superclean"
case `uname -rs` in
"SunOS 4"*) ARCH=sunos ;;
"SunOS 5"*) ARCH=solaris ;;
Linux*) ARCH=linux ;;
"HP-UX"*) ARCH=hpux ;;
"IRIX"*) ARCH=irix ;;
*"_NT"*) ARCH=win32 ;;
"Darwin"*) ARCH=darwin ;;
*) echo "Unknown machine type..."; exit 1 ;;
esac
... |
a1eedb2f74ead8919e15cdc5f8c30d9d396185d7 | 6,947 | #!/bin/bash
#
# Copyright (C) 2013-2014 eNovance SAS <licensing@enovance.com>
#
# Author: Emilien Macchi <emilien.macchi@enovance.com>
#
# 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
#
# ... |
009c0f213579ffc641cb59e5237fb94e5480d9c6 | 2,435 | #!/bin/bash
DOMAIN=`grep ALLOWED_HOSTS zzz/settings_custom.py | cut -d "'" -f 2`
HOME=/home/user/${DOMAIN}/
# DEPLOY DB
cd ${HOME}/${DOMAIN}; ${HOME}/venv/bin/python ${HOME}/${DOMAIN}/manage.py makemigrations article;
cd ${HOME}/${DOMAIN}; ${HOME}/venv/bin/python ${HOME}/${DOMAIN}/manage.py makemigrations chat;
cd ${... |
b7c6971b95c2d9099da64e9b81a0e9b047f81acd | 271 | #!/bin/bash
set -eu -o pipefail
outdir=${PREFIX}/share/${PKG_NAME}-${PKG_VERSION}-${PKG_BUILDNUM}
mkdir -p $outdir
mkdir -p ${PREFIX}/bin
cp ${SRC_DIR}/* $outdir/
cp ${RECIPE_DIR}/clove.py $outdir/clove
ln -s $outdir/clove ${PREFIX}/bin
chmod 0755 "${PREFIX}/bin/clove"
|
c02f3486ccc36b83cc676c854667a1fb133469e0 | 450 | #!/bin/bash
#
# Author: Saul Pierotti
# Mail: saulpierotti.bioinfo@gmail.com
# Last updated: 17/04/2020
#
# Takes as first argument a file containing a list of UniProt IDs
# Downloads all of them in the current folder in fasta format.
if [ -f "$1" ]; then
for i in `cat $1`; do
wget https://www.uniprot.org/uniprot/$... |
b70acd0af87748e41db7d929e1a4826494723ec5 | 1,012 | #!/bin/bash
# For LSU, annotate the '_unidentified.fq' files with sample IDs in the fasta header before concatenating all together
# The output will be $OUTPUT_FOLDER/merged_data_assi.fa
# Global variables
SAMPLE_FOLDER="04_samples"
OUTPUT_FOLDER="04b_annotated_samples"
# issue: if run twice, it will redo on top of ... |
64bbad36ba5b8c6bea469b5f757a754ad58679f9 | 83 | #!/usr/bin/env bash
exec google-chrome-home --app='https://www.messenger.com' "$@"
|
ab7df26b67ef8bc50f49d50c198a32db5aac4ac7 | 1,646 | export ca_dir=/etc/kubernetes/ssl
export KUBE_APISERVER=https://172.22.179.63:6443
# kubectl 设置
# 设置集群参数
kubectl config set-cluster kubernetes \
--certificate-authority=${ca_dir}/ca.pem \
--embed-certs=true \
--server=${KUBE_APISERVER}
# 设置客户端认证参数
kubectl config set-credentials admin \
--client-certificate=${ca_dir}... |
f78a7b9289e70bdf9a76852a6000740217143a67 | 2,994 | #!/usr/bin/env bash
#-------------------------------------------------------------------------------
#
# Downloads the cluster settings from Rancher and place them into ~/.kube/config.
#
#-------------------------------------------------------------------------------
# Stop immediately if any of the deployments fail
... |
6528d0b84a51bb8492e14033dcb43df0247bb983 | 574 | #!/bin/bash
set -e
echo "### Parsing globalconfig.yml"
source other_stuff/yaml_parser.sh
eval $(parse_yaml globalconfig.yml)
# set up ssh config for ansible
vagrant ssh-config > vagrant-ssh
#sed -i"" "s/User vagrant/User ${vm_user}/g" vagrant-ssh
echo "### SSH config written to 'vagrant-ssh'"
echo "### Use e.g.: ssh ... |
540ddc9a9ded44ad622a1ccad09c317d352c1ea5 | 560 | #!/usr/bin/env zsh
# bindkey -d
bindkey -v
bindkey -M vicmd '^A' beginning-of-line
bindkey -M vicmd 'gg' beginning-of-line
bindkey -M vicmd '^E' end-of-line
bindkey -M vicmd 'G' end-of-line
bindkey -M viins '^A' beginning-of-line
bindkey -M viins '^E' end-of-line
autoload -Uz surround
zle -N delete-surround surrou... |
35cf67a479e284755bc5b37c6bd7294f17e5d6ba | 147 | #!/bin/sh
rm pdf/*.pdf
for fn in svg/*.svg; do
pdf=`basename "$fn" ".svg"`
echo $pdf
inkscape --export-pdf=pdf/$pdf.pdf $fn
done
cd java
ant
|
f74a4f53c5954f610045131f5f726dcf44168555 | 3,058 | #!/usr/bin/env bash
# Save screenshots to a specified location ("~/Desktop/screenshots" in this example)
defaults write com.apple.screencapture location ~/Desktop/screenshots
killall SystemUIServer
# Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)
defaults write com.apple.screencapture type -... |
438cd3929b077d89c181a098047c23103cf4833e | 183 | # -*- sh -*-
ZSH=${ZSH:-${ZDOTDIR:-$HOME}/.config/zsh}
() {
for config_file ($ZSH/rc/*.zsh) source $config_file
}
fpath=($ZSH/completions $ZSH/functions $fpath)
_jp_setprompt
|
ce8085af73dae51ef0f56b12bc3ecfc78f19a65b | 90 | #!/bin/bash
$(dirname $0)/../venv/bin/celery -A cortx_siddhi.app worker --loglevel=INFO
|
eb7ed881263b53c2573f2e2d6c0cfcdaa6eb5670 | 571 | #!/bin/bash
[[ $TRAVIS_REPO_SLUG == "wojtuss/nvml-docker" && $TRAVIS_BRANCH == "master" ]] || exit 0
commitRange=$([[ -n "$TRAVIS_COMMIT_RANGE" ]] && echo ${TRAVIS_COMMIT_RANGE/\.+/ } || echo $TRAVIS_COMMIT)
files=$(git diff-tree --no-commit-id --name-only -r $commitRange)
base_dir=testdir
for file in $files; do
... |
e97beb6fb3ebf0ac14a32ee07219a27c76c56360 | 232 | #/bin/bash
sumando1=4
sumando2=6
let resto #tambien puedo crear varible con let
echo $sumando1 + $sumando2
echo sumando1 + sumando2
((resto=sumando1+sumando2)) #operaciones aritmeticas con (())
echo $resto
exit 0 #termino con exito
|
c79278edd29781950391bf40d4e06333bc9ac0d6 | 39 | echo "Hello World!"
echo "Hello World"
|
f6abc030aed5514613a27101cf96f4c1b5160e17 | 109 | nasm -g -f elf64 izquierdo.asm -o izquierdo.o
gcc -g izquierdo.o -o ejecutableizquierdo
./ejecutableizquierdo |
6a9f8372f60bdbb0c99cf55fe8c32b62d51a3012 | 513 |
# Set Slider-specific environment variables here.
# The only required environment variable is JAVA_HOME. All others are
# optional. When running a distributed configuration it is best to
# set JAVA_HOME in this file, so that it is correctly defined on
# remote nodes.
# The java implementation to use. Required.
ex... |
717d4b22e9429212000f48429f4ae1f267d9d456 | 80 | #!/usr/bin/env bash
pm2 start yarn --name "business-eagle-api" -- run production |
c3ea0f19ae3601bc40e3bd3aeceb8fbe60f6e719 | 1,655 | #!/bin/sh
#=====SHELL SCRIPT AMEX T&E======*
#==============SFTP==============*
#HOST="fsgateway.aexp.com"
#USER="MASNEGOCIO"
#PASS="msngco123" #autenticación por medio de SSH KEY RSA
#==============Date==============*
DAY=$(date --date='today' +%Y%m%d)
DATE=$(date --date='today' +%m%d)
#==============Paths============... |
55ab03b1424cb6089b20e9bcdb94dc088c1fbc8c | 1,808 | TERMUX_PKG_HOMEPAGE=https://www.clamav.net/
TERMUX_PKG_DESCRIPTION="Anti-virus toolkit for Unix"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.1.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://www.clamav.net/downloads/production/clamav-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=a... |
3acd15f694d882ce0e435f72e8c6705bfa7be225 | 268 | if [ "$#" -ne 2 ]; then
echo "Usage: setup-git.sh name email"
exit
fi
git config --global user.name "$1"
git config --global user.email "$2"
git config --global push.default simple
git config --global core.editor "gvim -f"
git config --global diff.tool "gvimdiff"
|
c98c6d353e398b29309e65915b25eb167d800a4b | 287 | #! /tools/bin/bash
# man-pages-5.02
# Approximate build time: less than 0.1 SBU
# Required disk space: 31 MB
# unpack the tarball
cd /sources
tar -xf man-pages-5.02.tar.xz
cd man-pages-5.02
# install
make install
# cleanup source
cd /sources
rm -r --interactive=never man-pages-5.02
|
80de8625d45933d083be4a76ad9f9352d6914ac0 | 507 | #!/bin/sh
# using sh instead of bash because the target container, `docker:latest` does
# not contain /bin/bash
#
# this script will update the checked in dockerfile to use a passed in parameter
# for the tag on the source image
# expects first argument to be source tag
# expects second argument to be Dockerfile ... |
caaecfab8eaed75d9b64254652c4fe681d388a7c | 1,998 | #!/bin/sh
#
# Cross references one set of man pages against another. This is used to
# add cross-references to the section 5 man pages (object descriptions),
# referring each object to the section 3 man pages (functions) that apply.
#
# Each section 3 .mansrc file has a non-printing <objects> section containing
# ... |
089bfef149622c18d09471da8bf99c5ec49e85c1 | 212 | #!/bin/bash
sudo chown -R $USER:$USER ~/.config/rabbitvcs
sudo add-apt-repository -r ppa:rabbitvcs/ppa
sudo apt update
sudo apt install rabbitvcs-nautilus rabbitvcs-core
nautilus -q
sudo apt install git
|
5cd899dd53e977476f3a22889af86449daf2d447 | 6,112 |
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history l... |
fa9aa7086207d5e81586c2ff7a4eff690343bf57 | 383 | # General
SATELLITE_NAME=IsaiahKnight
# Supervisor
CITIZEN_REVIVES_PER_DURATION=2
CITIZEN_REVIVE_DURATION_MINS=1
# Brain
BRAIN_VERBOSE_LOGGING=true
PERIODIC_PICTURE_TAKING_INTERVAL_SECS=10
# Storage
STORAGE_VERBOSE_LOGGING=true
# Antenna
ANTENNA_VERBOSE_LOGGING=true
# Camera
CAMERA_VERBOSE_LOGGING=true
CAMERA_SUBJ... |
265334cd9cfebe6c90c6dfb6d4103701008b1bfa | 873 | #!/usr/bin/env sh
laptop_display='eDP-1'
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -x polybar >/dev/null; do sleep 1; done
# Get network interface names
export INTERFACE_WIRED=$(ip link show | cut -d' ' -f2 | tr -d ':' | grep '^en')
expor... |
1eeaff2dc790dcbbd857129a4945c09484ad7f4b | 435 | # Eseguendo il programma verrà stampato il valore di
# `FOO`, impostato da noi nel sorgente, mentre il valore
# di `BAR` sarà vuoto.
$ go run environment-variables.go
FOO: 1
BAR:
# La lista di chiavi nell'ambiente dipenderà dal tuo
# sistema
TERM_PROGRAM
PATH
SHELL
...
# Se prima di eseguire il programma assegnamo u... |
bccdd063e258272e350496c088ef6d46f66a8f75 | 431 | #!/usr/bin/env bash
me=/Users/bom_d_van/Code/go/workspace/src/github.com/bom-d-van/me
mv -f $me/thoughts_creation_file.txt{,.backup}
for f in $(find /Users/bom_d_van/Code/go/workspace/src/github.com/bom-d-van/me/thoughts)
do
echo "$f://$(GetFileInfo -d $f)" >> $me/thoughts_creation_file.txt
done
sed -i "" "s/\/User... |
cfb64747406bd412f93cc75f303be10078f12dd5 | 732 | #!/bin/bash
#$ -cwd
#$ -S /bin/bash
#$ -q fast.q
#$ -N F_optv-Z
#$ -M deleted@deleted.edu
#$ -m e
#$ -V
hostname
module load quantum-espresso/6.1
# scf
mpirun -np $NSLOTS pw.x -inp INPUT_GF_optv-Z-scf_ads.in | tee OUTPUT_GF_optv-Z-scf_ads
mpirun -np $NSLOTS pw.x -inp INPUT_GF_optv-Z-scf_subs.in | tee OUTPUT_GF_optv-Z... |
8993af07718c5b96fa1d9ceeca250792298f6486 | 173 | # !/bin/bash
# This script uses the convert function from imagemagick
for f in *.pdf; do
convert -density 600x600 -resize 1920x1080 -quality 90 "$f" "${f%.pdf}.png"
done
|
bd3b80312d45136e83cefa61536cade085d748d6 | 324 | #!/usr/bin/env bash
cd /Taller2-master/servidor/build
make
make test
coveralls --exclude lib --exclude tests --gcov-options '\-lp'
#coveralls -i src -i test -E '.*\/mongoose\/mongoose\.[hc]' -E '.*CMakeFiles/feature_tests\..*' -E '.*CMakeCXXCompilerId\.cpp' -E '.*CMakeCCompilerId\.c' -E '.*\/test\/.*\.(h|hpp|cpp)$' -... |
e0a2e832671c1be2f4c0533c318a252c74d7a1a9 | 496 | #!/bin/bash
#SBATCH --job-name=Q3
#SBATCH --output=/scratch/crk239/599ParallelProj/lloyds_cuda_out.txt
#SBATCH --time=5:00
#SBATCH --chdir=/scratch/crk239/599ParallelProj/lloyds_cuda
#SBATCH --mem=10000
#SBATCH -G 1
#SBATCH --constraint=p100
#SBATCH --account=cs450-fall20
#SBATCH --qos=gpu_class
# load a module, for e... |
971a96c36ee38cce569e3a2991184ec6da121d65 | 392 | #!/bin/bash
# Configure the resources required
#SBATCH -p test # partition queue your job will be added to
#SBATCH -n 1 # number of cores
#SBATCH --time=00:05:00 # time allocation, which has the format DD:HH:MM
#SBATCH --gres=gpu:1 # generic resource required (1 GPU)
#SBATCH --mem=... |
0c80734bf1c597b7e44d60fc15ec686fa4511d7c | 616 | jupyter nbconvert --ExecutePreprocessor.timeout=-1 --to notebook --execute ~/Documents/Code/virus-data-voila/notebooks/Get/OWIDCovidDataMeasuresWget.ipynb
jupyter nbconvert --ExecutePreprocessor.timeout=-1 --to notebook --execute ~/Documents/Code/virus-data-voila/notebooks/Get/OxCGRT_latestWget.ipynb
jupyter nbconver... |
a1516b934c7eeb957cb89255f185af0ff2e8941d | 40 | python3 liskpool.py -y
bash payments.sh
|
71ba22efa0d7cf79b0269d1e841cf500f5ebef2b | 141 | #!/bin/bash
if [ -z "$1" ]
then
echo "usage: runGen <FILE>"
exit
else
FILE=$1
fi
echo "plotEv.C(\"$FILE\")"
root "plotEv.C(\"$FILE\")"
|
635398be4c26cb0444f38900e8cbe621ac2da1de | 885 | #!/bin/bash
set -e
download_logstash() {
logstash_version=$1
case "$logstash_version" in
*-SNAPSHOT)
wget https://snapshots.elastic.co/downloads/logstash/logstash-$logstash_version.tar.gz
;;
*)
wget https://artifacts.elastic.co/downloads/logstash/logstash-$logstash_version.tar.gz
;;... |
bdae27799c357eb56fe37259a2d9da448b45a433 | 1,848 | #!/bin/sh
export AWS_REGION="ap-south-1"
export AWS_PROFILE="personal"
# App to test
export AppName="tag"
export InstallTypes=("s3" "s3exiting" "vpc" "vpcexisting" "alb" "albexisting")
export BucketName="sumologiclambdahelper-${AWS_REGION}"
export FilterExpression=".*"
for InstallType in "${InstallTypes[@]}"
do
... |
4f77d5cba6c750c1fe21fb901f6b4ba77ffb4ec6 | 18 | echo "I am v7112"
|
eba71baf3c37bc93390361ebb0785af7fe968c69 | 89 | virtualenv -p python3 venv
source venv/bin/activate
pip install -r build_requirements.txt |
46d41df11fbd9df98b702458aa8d77df80cbeb84 | 846 | #!/bin/bash
DOCKER_FILE=docker-engine-1.7.1-1.el7.centos.x86_64.rpm
DOCKER_FILE_TRUSTED_HASH=de3009d88a0b8a74a9d40a44e2e1101d
if [ ! -f $DOCKER_FILE ];
then
wget https://get.docker.com/rpm/1.7.1/centos-7/RPMS/x86_64/$DOCKER_FILE
HASH_TO_TEST="$(md5 -r $DOCKER_FILE | awk '{ print $1}')"
if [ $HASH_TO_TEST != $DO... |
926680baddbb0adee15742b8f86cb29677761003 | 1,020 | #!/usr/bin/env bash
if [ "$#" == "0" ] || [ "$#" -gt "2" ]; then
echo "Usage: build [robot-id]"
exit 0
fi
CURRENT=$(pwd)
BASENAME=$(basename $CURRENT)
while [ $BASENAME != "robo-sumo" ]; do
cd ..
CURRENT=$(pwd)
BASENAME=$(basename $CURRENT)
done
cd src
debug="0"
sumo_id=""
flags=
while [ "$#" -g... |
18741bb41408aa3a0aaba9938ecb1dbe8fb9bf70 | 1,441 | #!/bin/bash
DST="anonymous"
GIT="git@github.com:anonc187/jCoCoA.git"
if [ -e "$DST" ]; then
echo "Target folder $DST already exists"
exit 1;
fi
# Clone git repository
git clone $GIT $DST
git -C $DST config user.name "Anon Y. Mous"
git -C $DST config user.email anon187c@gmail.com
# Remove all content so we also wil... |
64f6af96c71e269d51e07facdab4fe0fb3896a56 | 302 | ACCESS_TOKEN_SECRET='0a8d8cdb0e06153c21cc13f7057bc65162ba2c0cf8b0163eb146da8314b469a794b6723a1bd98e96c5a99d3ab89adafb8a23f787e29ba460db8c4661128a1a16'
REFRESH_TOKEN_SECRET='7c01899130d42186164f28d8cd69d5b2c106c2513a0ca8d8409636e280f6f0e7995752295a3937fc49d05621786ae1baea977175e80437a2093f87db609300cc' |
7ffbc44f01fd8c95e777ddc38da81badc3d887a2 | 256 | #!/bin/bash
# list of all pci device modules
KERNEL=$(uname -r)
cat /proc/bus/pci/devices | while read junk1 id junk2; do
v=0x0000${id%????}
d=0x0000${id#????}
cat /lib/modules/$KERNEL/modules.pcimap | grep "$v $d" | cut -d " " -f 1
done | sort -u
|
dbe1df06531625fd7040860469622c0246823620 | 638 | #!/bin/sh
#******************************************************
# This script builds all the trace simulators and runs
# all the traces through them.
#*****************************************************
bm=$1
Ncyc=$2
l1=$3
l2=$4
trace_dir="../traces"
mkdir -p logs
mkdir -p cfg
mkdir -p results
mkdir -p rules ... |
63db2cc38cbf04d2300af26157d366a82c30e60e | 66 | php ~/Sites/trip007/WebRoot/protected/yiic.php metaaction Crontab
|
3d2d807357101eed575db6943d9cbc46834fb353 | 1,821 | #!/bin/bash
if echo $SHELLOPTS | grep xtrace; then
export SHELLOPTS
fi
if test -d "$1" -a $# = 1; then
set -- "$(get-newest-file "$1")"
fi
if test $# = 0; then
set -- "$(get-newest-file ~/today/)"
fi
archive_mimes=(
application/x-compressed-tar
application/x-bzip-compressed-tar
application/x... |
69ee01b401cef16eed9353c6efe2012f75bd2284 | 1,690 | #! /bin/bash
PROTON_ROOT=${SHACKLETON_ROOT}/libs/qpid-proton
INCLUDES="-I${PROTON_ROOT}/examples/cpp -I${PROTON_ROOT}/examples/include -I${PROTON_ROOT}/proton-c/include -I${PROTON_ROOT}/proton-c/bindings/cpp/include -I${PROTON_ROOT}/tests/tools/apps/c"
WARNINGS="-Werror -Wall -pedantic-errors -Wno-format -Wno-var... |
16c40f8880ffc5742612d7a9df9a0eb3efdb444c | 603 | #!/bin/bash
trap 'exit 1' INT TERM
cd "$(dirname "${BASH_SOURCE[0]}")"
if [[ -z "$1" || "$1" == "all" ]]; then
PACKAGES=$(find . -maxdepth 1 -mindepth 1 -type d ! -name '.git')
else
PACKAGES="$@"
fi
echo "Packages to build: $PACKAGES"
SUCCESSES=()
FAILURES=()
for pkg in $PACKAGES; do
pushd "$pkg"
pkg="$(basename... |
891d4d68bcbdd86566724e001db2c0a1a545e02f | 90 | Add autocorrect to git
What is a hook?
Useful commit hooks
Create a global git commit hook |
7cab22c2a280f9f198afb2f716f2334464f366ab | 239 | #!/bin/bash
umount ${ecroot}/dev/shm
umount ${ecroot}/dev/pts
umount ${ecroot}/dev
umount ${ecroot}/var/gentoo/ofs-boot
umount ${ecroot}/var/portage/distfiles
umount ${ecroot}/var/portage/gentoo
umount ${ecroot}/proc
umount ${ecroot}/run
|
ffd8f2286b07522dcfe07be78bb7320d78bc9a03 | 578 | echo "======================================================================="
echo "RMAN FULL Backup Snapshot List [ PROJECT:${PROJNAME} ] "
${ZFSDIR}/show_snap.sh ${LOGINSTRING_1} ${POOLNAME_1} ${PROJNAME} ${SHARE_DATA_1} |grep -v "login:"
echo ""
echo "****************************************************************... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.