blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
b43ada34ff77bc70a7763256d389c2cc27c11f8e | 1,339 | package: Openloops
version: "%(tag_basename)s"
tag: "OpenLoops-2.1.2"
source: https://gitlab.com/openloops/OpenLoops.git
requires:
- "GCC-Toolchain:(?!osx)"
- "Python:(?!osx)"
- "Python-modules:(?!osx)"
- "Python-system:(osx.*)"
build_requires:
- alibuild-recipe-tools
---
#!/bin/bash -e
rsync -a --delete --ex... |
9d6ef22ff1c4d6b8f674f558966845b60a67e32c | 6,811 | #!/usr/bin/env bash
# ------------------------------------------------------------------------
#
# Copyright 2019 WSO2, Inc. (http://wso2.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
... |
24784e281285e781f2ad0f43744d90ff87ee021c | 885 | # Maintainer: Carsten Feuls <archlinux@carstenfeuls.de>
pkgname=dovecot2-antispam-git
pkgver=v2.0.11.g963c046
pkgrel=1
pkgdesc="Integrates DSPAM into dovecot IMAP server. Git Version for dovecot >= 2.1"
arch=( 'i686' 'x86_64' )
url="http://hg.dovecot.org/dovecot-antispam-plugin/"
license=('GPL')
depends=('dovecot>=2.2... |
0ea0db16489f5dc09b3c5362e344c9bb05f16bc8 | 3,612 | #!/usr/bin/env bash
# PURPOSE: Harden Samba: Restrict Samba to only:
# a) Listen on the localhost segment 127.
# b) Use its own password table
# c) Use encrypted passwords
# d) Use defined password table
# e) Allow permitted users: none ()
# ... |
7f3281cb8a826edca302c68575e624babd5993f9 | 3,163 | #!/bin/bash
if [ $# -lt 1 ]; then
echo -e "Usage:"
echo -e "\t$0 img-op img-op-args";
echo -e "Where";
echo -e "\timg-op = { motion-estimation[-parallel], corner-detection[-parallel], rotation[-parallel], scaling[-parallel], gaussian-blur[-parallel], high-pass-filter[-parallel] }"
echo -e "and img-op-args are t... |
3f064f2a21d620655aed5b797419865e8aa9f913 | 146 | if [ -z "$1" ]; then
echo 'Passe o nome do usuário que deseja remover do sistema'
else
ruby ruby/remove_user.rb $1
cd ..
./register train
fi
|
9c7e4f0e5a4399f10f1589f5b792516df773cbc5 | 3,749 | #!/bin/bash
#Export analysis to csv
function read_csv_cell {
csv_filename=$1
row=$3
column=$2
cell=`tail -n+$row $csv_filename | cut --delimiter=, -f$column | head -n 1`
echo $cell
}
declare -A bw_csv_columns_scheme=( ["ReRo"]=3 ["ReCo"]=4 ["RoCo"]=5 ["ReTr"]=6 )
declare -A bw_csv_rows_mem=( ["8"]=2 ["16"]=3 )
file... |
2be9c67860821b086dfa01f04dfe202f9ce1cdc6 | 270 | #!/bin/sh
scripts/search/tests/publish-dataverse-root
scripts/search/tests/publish-dataverse-trees
scripts/search/tests/publish-dataverse-spruce
scripts/search/tests/publish-dataset-spruce1
#scripts/search/tests/permissions3
#scripts/search/tests/permissions3-full-anon
|
14daa36006bc26c3ac23d264b53db40c065dcb45 | 91 | #!/bin/bash
eval "$(conda shell.bash hook)"
conda activate pomodoro
python commit.py "$1" |
99d9ec4ba4dcf2e60428bde83fa9c51c3a4d7fb6 | 27 | export FLASK_APP=minitwit
|
c439e8085192ead719d9962e7f1b7353dcdad9df | 122 | #!/usr/bin/env bash
COMMIT_EDITMSG="$1"
MESSAGE=$(cat $COMMIT_EDITMSG)
npm run linter:commit -s -- -e "$COMMIT_EDITMSG"
|
b799bfce80ec2b0057af7d60aa0797dec7a8f137 | 185 | #! /bin/sh
#
# run_server.sh
# Copyright (C) 2019 Shlomi Fish <shlomif@cpan.org>
#
# Distributed under terms of the MIT license.
#
set -e -x
export GOPATH="$GOPATH:$PWD"
go run main.go
|
2d350746f1a1e813323d5a2881b4a842565fbaee | 74 | # cargo install racer # outdated, use rust-analyzer
cargo install rustfmt
|
ac3f0617e1055ca7b954a4a9be181c3b884896f9 | 34 | export PYTHONPATH="./:$PYTHONPATH" |
57380b8e9f23309eeeb43f91512eaeaf6e8b6153 | 1,860 | # Maintainer: Joshua Rubin <joshua@rubixlinux.org>
pkgname=laptop-mode-tools
pkgver=1.11
pkgrel=1
pkgdesc="Laptop mode (also known as laptopmode, laptop-mode and laptop_mode, for search engine purposes :) ) is a kernel "mode" that allows you to extend the battery life of your laptop. It does this by intelligently grou... |
6f974f85ba9c903ad05678c1be3defcefed465d9 | 621 | #!/usr/bin/env bash
#
# Sets the wallpaper with feh and creates a png for the screen locker
set -euo pipefail
if [[ $# -ne 1 ]]; then
echo "Usage: $(basename "$0") file" >&2
exit 1
fi
wallpaper="$1"
FIXED_WALLPAPER_PATH="$HOME/.local/share/wallpaper.png"
geometry="$(xrandr | grep '\*' | awk '{ print $1 }')"... |
d35b69968d617bbbe2b0eec93ab0a23134b5e62c | 162 | git config --global user.email "sibert.aerts@gmail.com"
git config --global user.name "sibert-aerts"
git config --global credential.helper 'cache --timeout=3600'
|
200f5d609fbd1ef96883577b98c9c6ba2b86c668 | 185 | #!/bin/bash
#Allow youself Ping other hosts , prohibit others Ping you
iptables -A INPUT -p icmp --icmp-type 8 -s 0/0 -j DROP
iptables -A OUTPUT -p icmp --icmp-type 8 -s 0/0 -j ACCEPT
|
6af93b932954758baba4e3bf83cc4bd142e0eb51 | 925 | #/bin/bash
#a script to bring up web2, swap web1 with web2, then kills the old web1 container.
#Brings up web2, which is the new activity image to be swapped in place of the old one.
#It is passed as an argument into the script, and inserted where "$1" is at the end
echo "Bringing up the new image $1..."
... |
a1e67fec97355543c46927cd5a80e63aa1c32847 | 284 | #!/bin/bash
azure servicefabric application package copy VisualObjectsApplication fabric:ImageStore
azure servicefabric application type register VisualObjectsApplicationType
azure servicefabric application create fabric:/VisualObjectsApplication VisualObjectsApplicationType 1.0.0
|
88cc091f73e819175f4196834d6e552695a4afb4 | 490 | #!/bin/sh
#66252[1].moby.cs.adela amilan batch 0822-1-1 8486 1 1 8gb 08:00:00 R 00:20:48 acvt-node32
if [[ $# -eq 2 ]]; then
jobline=`qstat -u amilan -t -n -1 | grep '\['$1'\]' | grep $2`
elif [[ $# -eq 1 ]]; then
jobline=`qstat -u amilan -t -n -1 | grep '\['$1'\]'`
else
ec... |
837f524e95e89a3e6e50e7d62d1827131a135e21 | 65 | #!/bin/sh
find -mindepth 1 -maxdepth 1 -type d -exec rm -r {} \;
|
89987e2d7a57fd3b35808b7bd4aa1abbb91b01bd | 963 | #!/bin/bash
#
if [[ $# -gt 0 ]]; then
readgresult_tmp="._.AstroGalfit._.ReadGalfitResult._."
CrabFitsHeader "$1" -ext 2 | sed -n -e '/COMP_/,/COMMENT/p' > "fit.header"
cat "fit.header" |cut -d\' -f2 |sed -E 's/\[(.*)\]/\1 0/g' |sed -e 's%+/-%%g' |sed -e 's%*%%g' > "$readgresult_tmp" #' #<20170210># |sed -... |
d37441421537d776235ab34672eb4f3173d74012 | 6,919 | #!/bin/bash
# Applies a compressed binary diff (patch) on a directory or specific archiv, creating a copy (ie. not in-place).
# Author: Sukender (Benoit Neil)
# Licence: WTFPL v2 (see COPYING.txt)
# Dependencies, error codes, documentation: see "bbp_config.sh"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" #... |
c84edbbbf9eee0cd2407ba9e04c556540df0b96d | 796 | #!/bin/bash
# Apache
###############################################################################
# Set configuration
rm -f /etc/apache2/sites-enabled/*
cp /docker/configurations/web.conf /etc/apache2/sites-available
ln -s /etc/apache2/sites-available/web.conf /etc/apache2/sites-enabled/web.conf
# Activate htacc... |
1ff63687828a6218a35ef12411e7d58923218b60 | 37 | gprolog <sec_machine_prolog_test.txt
|
808c5941fc4cde486865664a62d87ea5e6348f53 | 619 | # download visual7w telling
cd visual7w-toolkit/datasets/visual7w-telling/
./download_dataset.sh
cd ../../..
# download visual7w pointing
cd visual7w-toolkit/datasets/visual7w-pointing/
./download_dataset.sh
cd ../../..
wget http://vision.stanford.edu/yukezhu/visual7w_images.zip
unzip visual7w_images.zip
rm visual7w_... |
6e58da42830fead1dbd0ae564bb20d17c8a6d26b | 8,933 | #!/bin/bash
source ./_common.sh
BUILD_ALL_IMAGES_PUSH=${1}
function build_image {
#
# LIFERAY_DOCKER_IMAGE_FILTER="7.2.10-dxp-1 " ./build_all_images.sh
# LIFERAY_DOCKER_IMAGE_FILTER=7.2.10 ./build_all_images.sh
# LIFERAY_DOCKER_IMAGE_FILTER=commerce ./build_all_images.sh
#
if [ -n "${LIFERAY_DOCKER_IMAGE_FI... |
033fbcc37ca8c3bc74e67b52cfd12a251842d309 | 167 | gcc -Wall -Werror -Wexra -c ft_putchar.c ft_swap.c ft_putstr.c ft_strlen.c ft_strcmp.c
ar rc libft.a ft_putchar.o ft_swap.o ft_putstr.o ft_strlen.o ft_strcmp.o
rm *.o
|
accf4a04a6d1a2ea852a901c0eb61f0dc4018d23 | 118 | # source the common settings
source /home/codeman/mydata/git/configs-git/bash/bashrc-common.sh
export PS1="${PS1}# "
|
7349ef2350521bb5cbed487813b2b54b372f4964 | 65 | #!/usr/bin/env bash
vagrant up --no-provision
vagrant provision
|
bc9f89929af673c4abf769c06f472c73e1997e0c | 87 | #!/bin/bash
./gradlew :mqttservice:clean :mqttservice:build :mqttservice:bintrayUpload
|
b2e287a3f6380679096c7cc9e5f80594ca254b40 | 48 | #!/bin/sh
printf configuring...
echo configured! |
7dc4a33ee14adda74d1d04f8eb2c56edbaa549d6 | 1,371 | #!/bin/bash
# this depends on having the following debian packages installed
#
set -e
set -x
pkgname=mesquite
VERSION=3.03
basedir=/apps/share64/debian7
pkginstalldir=${basedir}/${pkgname}
tarinstalldir=${pkginstalldir}/tars
installprefix=${pkginstalldir}/${VERSION}
downloaduri=https://github.com/MesquiteProject/Me... |
5812f7e64db5f7875f576d834cd1b3fffd7f62b4 | 446 | VUE_APP_TWILIO_SID = AC2742c80ed5fa944571c8b29680495533
VUE_APP_TWILIO_TOKEN = bc5d9615b1fc1bac35171255d27a5b03
VUE_APP_QINIU_ACCESSKEY = Q5q46fhpMgQZX7Yx_aqeVUMzIHZJ8Qwy-AlmflZh
VUE_APP_QINIU_SECRETKEY = thN4-G6wiqVG4EQevA0IYmCc3c_v8C7T-AbJAHqT
VUE_APP_JUNANEX_APIKEY = 4b77b0dd07c4316280c7dfc11c5bb6c6
VUE_APP_JUNANEX_... |
2753caf1b6e4da724003c1744baf285dc3ff1267 | 55 | # Firefox and Thunderbird
sudo apt -y purge thunderbird |
5d65c796e7bd0d26a361be7379a29d85243996be | 328 | #!/usr/bin/env bash
if [ $# -ne 2 ]; then
echo "usage: retrieve_observations.sh <station-list> <timestamp>"
echo " <timestamp> must be formatted as YYYY-MM-DD_HH:mmm"
exit 2
fi
STATIONS=`grep -v "^#" $1`
for S in $STATIONS ;
do
echo "Processing $S ..."
python scrape_station.py -c $S -i 24 -t $2 ... |
d100bfe78875a5df91c46d50fa78bcad2f31d06e | 617 | #! /usr/bin/env sh
# Exit in case of error
set -e
DOMAIN=prayer.thirdavenue.org TRAEFIK_TAG=prayer.thirdavenue.org STACK_NAME=prayer-thirdavenue-org TAG=prod docker-compose -f docker-compose.shared.admin.yml -f docker-compose.shared.base-images.yml -f docker-compose.shared.depends.yml -f docker-compose.shared.env.yml... |
b5820830e5a3459f8d3301d1fee18ad51f017b34 | 2,021 | # Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# locale
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# fix emacs-zsh integration
if [ -n "$INSIDE_EMACS" ]; then
export TERM=screen-256color
fi
# theme
if [ -n "$INSIDE_EMACS" ]; then
ZSH_THEME="pygmalion"
# ZSH_THEME="gentoo"
else
... |
93ff0e6574fc69a96dc892492d6ba3e859db7e5a | 4,519 |
#!/bin/sh
# ============================================================================
# Script to configure Splunk after first Deploy
# Version : 0.1
# ============================================================================
# ============================================================================
# Chec... |
0cd9c0b5603a0ef02d3627df81b315d06c7f914c | 179 | #!/bin/bash -x
read -p "The year to be checked: " year
if (( $year%4 ==0 && $year%100 !=0 || $year%400 ==0 ))
then
echo This is a leap year
else
echo This is not a leap year
fi
|
af94a292b5324deec0f3dfd6372eeae4f5d90d76 | 371 | #!/usr/bin/with-contenv sh
if [ -n "$HEALTHCHECK_ID" ]; then
curl -sS -X POST -o /dev/null "$HEALTHCHECK_HOST/$HEALTHCHECK_ID/start"
fi
# If the sync fails we want to avoid triggering the health check.
set -e
curl -sS -X POST --fail http://localhost/sync
if [ -n "$HEALTHCHECK_ID" ]; then
curl -sS -X POST -o /dev/... |
065b11262ffcf09a79753860013fed1d848c96ec | 615 | ###########################################
##
## Copyright (2019,) Institute of Software
## Chinese Academy of Sciences
## wuheng@otcaix.iscas.ac.cn
##
##########################################
VALUE=gcr.azk8s.cn
KEY=gcr.io
while read line
do
img=$(echo $line | awk -F":" '{print$1}')
ver=$(ec... |
a1a859aecd420cb0953d15192f68ea42afe07600 | 418 | cd
wget https://download.docker.com/linux/static/stable/x86_64/docker-17.12.0-ce.tgz
tar -xzvf docker-*.tgz
mkdir ~/bin
mv ~/docker/docker ~/bin
#apt
sudo apt-get update && sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL htt... |
a141acc23651755cee597db88ea2fa39189e227b | 1,016 | #!/bin/bash
TARGET_ENV=py-local
VE_VERSION="1.9.1"
VIRTUALENV_DIR="virtualenv-$VE_VERSION"
VIRTUALENV_PATH="$VIRTUALENV_DIR.tar.gz"
VIRTUALENV_URL="https://pypi.python.org/packages/source/v/virtualenv/$VIRTUALENV_PATH"
echo -e "Creating virtualenv in $TARGET_ENV."
curl -O $VIRTUALENV_URL
tar xvfz $VIRTUALENV_PATH
c... |
719079ff6002b052bcbded0bb3a439ff58aa22e1 | 152 | read char
case $char in
y)
echo YES
;;
Y)
echo YES
;;
n)
echo NO
;;
N)
echo NO
;;
esac |
5663d8addd9884964aedbfc399dff3251077683e | 3,801 | #!/bin/bash
# handler_build - builds PDF quotes and reports from XML files
#
# This script is part of the PenText framework
# https://pentext.org
#
# Copyright (C) 2016 Radically Open Security
# https://www.radicallyopensecurity.com
#
# Auth... |
c23e064c87afde5246b5fcdde281a64dd646aabb | 10,353 | #!/usr/bin/env bash
# DEPRECATED - use scripts from `lib` directory
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
LICENSE_PULLER_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/license-puller.sh"
export LICENSE_PULLER_PATH
# Unused outside of library.sh (init)
function start_docker() {
ech... |
b93d5d4aee3cb90568ac4aceb24b7d8f0ddf4c9d | 63 | #!/bin/bash -eux
pushd dp-search-reindex-api
make test
popd
|
8e890e6108fddbe5ddb17446115401457b669c64 | 39 | #github.com/DaniAngelov
paste -sd ';'
|
ede4ea14bb68a33fdd4f1ec957452f2da0a9adf5 | 335 | REACT_APP_APIKEY=AIzaSyAnpGTIXyR-nF3_aXYEhc_wwW5h8j3ExQk
REACT_APP_AUTHDOMAIN=truststreet-cd242.firebaseapp.com"
REACT_APP_DATABASEURL=https://truststreet-cd242.firebaseio.com
REACT_APP_PROJECTID=truststreet-cd242
REACT_APP_STORAGEBUCKET=truststreet-cd242.appspot.com
REACT_APP_MESSAGINGSENDERID=1008756843535
REACT_APP_... |
a15bb80b71ab3b02824cd8c012be0e75b4b7e24f | 99 | #!/bin/bash
#
cat - | ruby -ane 'puts $_ if $F[3].match(/^[ACGT]+$/) and $F[4].match(/^[ACGT]+$/)'
|
3f7f038525c721e9ba9a1f1207c0185471649fae | 336 | green=`tput setaf 2`
reset=`tput sgr0`
echo "${green}Creating initial migration ApplicationDbContext... ${reset}"
dotnet ef migrations add InitApplicationDbContext -c ApplicationDbContext -o Data/Migrations/AppMigrations
echo "${green}Updating database ApplicationDbContext ${reset}"
dotnet ef database update -c Appli... |
042e6dba2c3a40d2b2a31ce090714a15513f47bb | 78 | #!/bin/bash
wget -O config.ini $1
java -Xmx12g -jar easier.jar @./config.ini
|
3f06818a4b6fdb5b8801088f8d92c3c277dbb23e | 424 | #!/bin/bash
feat_ark=$1
prons=$2
op_feats_dir=$3
[ -f $feat_ark ] || exit 1
[ -f $prons ] || exit 1
mkdir -p $op_feats_dir/$seq_len
rm -f $op_feats_dir/$seq_len/*
python3 get_feat.py $prons $feat_ark $op_feats_dir $seq_len
#if [ ! -f $feats_dir/extracted ]; then
# [ -f $feats_dir ] && rm -rf $feats_dir
# python... |
4ce7951fd3cd59e289285b6368a446cc628ed9e2 | 103 | DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=beginningPHP
DB_USERNAME=user
DB_PASSWORD=pass
|
1a301dff7691e726cee74950a098a4ed3258a384 | 323 | #!/usr/bin/env bash
set -e
claat export -f md -o codelabs 1pvf74NCNr5ySykfTzbLhxoRrArZvOSWYN5-tIZHY1LI
claat export -f html -o docs codelabs/06a-software-verification/index.md
claat export -f md -o codelabs 1IC2_XaaSklTBX1XGbUEsebXAEIwrWrs0s_zqX8pMj78
claat export -f html -o docs codelabs/06b-wiki-milestone-4/index.... |
b1b1f5b1e8377bdb4bb32e4e6e74148e3e18233d | 174 | #!/usr/bin/env bash
subDomain="_acme-challenge"
# 通过环境变量 RENEW_DOMAIN 获取需要清理记录的域名
$(which python3) cleanup.py ${RENEW_DOMAIN} ${subDomain} |
53e541c621e8f9383b88dd43b44961e8916a14ea | 312 | . ${DOTFILES_ROOT}/lib/os.sh
if test ${OS} = 'linux'; then
export PATH="/home/linuxbrew/.linuxbrew/bin:${PATH}"
export MANPATH="/home/linuxbrew/.linuxbrew/share/man:${MANPATH:-""}"
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-""}"
else
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
|
b6caae99ac6c89045db86dbd4a03dfb599eb9e96 | 8,603 | #!/usr/bin/env bash
set -xe
NVIM_VERSION="0.9.1"
NODE_VERSION="18.16.0" # NodeJS LTS
# FZF_VERSION="0.35.0"
# LUA_LSP_VERSION="3.6.4"
# VSCODE_LLDB_VERSION="1.8.1"
NVIM_CONFIG_DIR=${HOME}/.config/nvim
NVIM_SHARE_DIR=${HOME}/.local/share/nvim
NVIM_LIB_DIR=${NVIM_SHARE_DIR}/lib
function reset_config_dir {
echo... |
acaced1708ddb9952273d4accca29f2de02111fc | 3,548 | #
# This file is part of the statismo library.
#
# Author: Marcel Luethi (marcel.luethi@unibas.ch)
#
# Copyright (c) 2011 University of Basel
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# ... |
fe86cbf10f97c4516902bb078f826dac8b55ad49 | 777 | #! /bin/bash
# set -x
unalias ls
UPLOADS="/uploads/datasets"
IMPORTS="/var/www/importeren/app/storage/exports"
for i in $(ls ${UPLOADS});
do
for ii in pits.ndjson relations.ndjson
do
j="${UPLOADS}/${i}/${ii}"
k="${IMPORTS}/${i}/${ii}"
# echo ${j}
# echo ${k}
... |
d98bc52247d6d5b8a14bb31bc4fd3cf4c24a1109 | 6,911 | #!/bin/sh
###############################################################################
# Tape hotplug agent for Linux 2.4 kernels
#
# Copyright (c) 2002 IBM Development Germany, Boeblingen
#
# the GNU Public License applies
#
# Author: Stefan Bader <Stefan.Bader@de.ibm.com>, 2002
#
# History:
# 2002-10-14 Stefan ... |
85003fcd15ff722b13eb65d9d0991c2652b1925d | 514 | #!/bin/bash
# flash a attiny45 with blinkm proprietary firmware
# firmware extracted from http://code.google.com/p/blinkm-projects/wiki/ReflashBlinkM
if [ -z "$1" ]
then
USB=/dev/ttyUSB0
else
USB=$1
fi
PGM="avrisp -b 19200"
#PGM=stk500
# lire fuses
avrdude -V -p t45 -c $PGM -P $USB -U lfuse:r:-:b -U hfuse:r:-... |
b2845df6cf9b6c2c865244fc6f228ce4e6593877 | 342 | #!/bin/bash
workdir=$(cd $(dirname $0); pwd)
mainpy=${workdir}/../main.py
### validate and timing
python -m hetu.launcher ${workdir}/../local_s1.yml -n 1 --sched &
python ${mainpy} --model $1 --dataset $2 --validate --timing --comm-mode PS --gpu 0 &
python ${mainpy} --model $1 --dataset $2 --validate --timing --comm-... |
6d05327d8e6cb889d7ec5b74d109d81763071b08 | 159 | #!/bin/sh
set -e
php vendor/bin/phpunit \
--coverage-clover build/logs/clover.xml \
--coverage-html build/coverage/html \
-c phpunit.xml.dist \
"$@"
|
5570b67ec04c80c7e659360006c8f9d25b6412f4 | 669 | #!/bin/bash
# Script to add georef line to ENVI header
# inputs are .ann and .hdr file name
# note: imaginary .bin files have wrong data type (float instead of complex)
#PARSE
long=$(cat $1 | grep -e "grd_pwr.col_addr" | awk '{print $4}')
lat=$(cat $1 | grep -e "grd_pwr.row_addr" | awk '{print $4}')
longpx=$(cat $1 |... |
281a27086b4d60eddb231e9fa25da2a7306a0580 | 3,736 | # allow shortcut ctrl-W to delete parts of path only
# e.g. a/b/c + ctrl-W -> results in a/b
autoload -U select-word-style
select-word-style bash
autoload -Uz compinit
compinit
if [ -f "$HOME/.config/bash-like/commonrc" ]; then
. "$HOME/.config/bash-like/commonrc"
fi
if [ -f "$MY_CONFIG_HOME/bash-like/append_pa... |
7a21fb9409fd7829e40b19867f64dceea43de95d | 138 | for ip in $(echo 10.11.1.{1..255});
do ping -c 1 -W 1 $ip | grep "bytes from" | grep -oP "\d+\.\d+\.\d+\.\d+" >> ./result.txt &
done
|
db707784202c321cb982a9a82ef6da9898e379ee | 221 | #!/bin/bash
cd /var/app/current/;
. ~/.nvm/nvm.sh;
aws s3 cp s3://intern-config-bcc-filkom-ub/serviceAccountKey.json ./
aws s3 cp s3://intern-config-bcc-filkom-ub/firebaseConfig.json ./
nvm install 14 --lts;
npm ci;
|
784871978066b08c12d44d6bc7df3f67f0001781 | 411 | #!/bin/bash
##################################################
# ent-convert.sh | Joshua Westgard | 2014-01-26 #
#------------------------------------------------#
# Converts the XML entities for greater than and #
# less than symbols into regular characters. #
##################################################
... |
7837a5db8ddced830309d259a94a42aac7c9f8d4 | 151 | #!/bin/sh
/Applications/KeyRemap4MacBook.app/Contents/Applications/KeyRemap4MacBook_cli.app/Contents/MacOS/KeyRemap4MacBook_cli \
select 2
exit 0
|
8b84c4fa4775d64c99928d37c01754f1bcbe3677 | 191 | singularity build mafreport.simg docker://shengqh/mafreport:latest
bbcp -f -w 4m --port 5031 -s 16 mafreport.simg shengq2@cqs3.accre.vanderbilt.edu:/scratch/cqs_share/softwares/singularity/
|
7e0f58c3f281a1c5b944bd02384b963c69c99ff2 | 144 | Cache your authentication details to save time
Locate a commit by its hash
Specify a commit by its ancestry
Interactive staging
Stashing changes |
7013367071a3f5283419857ad31f6fd1f1e7f2a3 | 1,152 | #!/bin/bash
# vyatta.sh
__SELF_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
# shellcheck disable=SC1090
. "${__SELF_DIR}/globals.sh"
if [[ "$DEBUG" == "1" ]]; then
CMD_WRAPPER="echo"
else
CMD_WRAPPER="/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper"
if [[ ! -e "$CMD_WRAPPER" ]]; then
echo "ERROR... |
94f80382170ecb7f0cecf901df1794ee03e37651 | 176 | #!/bin/bash
docker-compose run api-gateway knex migrate:latest --env test --knexfile knexfile.js
docker-compose run api-gateway knex seed:run --env test --knexfile knexfile.js |
8f5b6c6cec4092971c62ca63339c54e402ca7d89 | 46 | SKIP_PREFLIGHT_CHECK=true
process.env.CI=false |
c8210f4d704ba44f6dbc7b484fe04652dbc7507d | 141 | #!/usr/bin/env bash
set -Eeuo pipefail
if [ -e "$HOME/.fzf/install" ]; then
echo "⌨️ Update fzf"
"$HOME/.fzf/install" --bin
fi
|
c3292645f7e161018112a933343d9c3d30523ec4 | 61 | for a in `ls`; do cd $a; docker build -t $a . ; cd .. ; done
|
14e99936956cfe09c5bcf4c328b841ffb28a8e94 | 977 | # .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# ----- alias -------
# 以文件名查找文件
alias nfind="find . -type f -name"
# 查找当前目录下所有文件中是否包含特定字符串
alias sfind="find . -type f -name... |
04f5efbc6dedab9d6ff9729bf9502df728e3f084 | 7,905 | # Configuration
DEFAULT_JAVA='1.8'
DEFAULT_LOCALE='en_US.UTF-8'
# Environment
set +e +u +o pipefail
export \
ANDROID_HOME="$HOME/Library/Android/sdk" \
ANDROID_SDK_ROOT="$HOME/Library/Android/sdk" \
ANDROID_NDK_HOME="$HOME/Library/Android/sdk/ndk-bundle" \
ANT_HOME='/usr/local/opt/ant/libexec' \
GIT_PS1_SHOWDIRTY... |
e546f170102cc3968f93dd9aa180c61a6f0ee130 | 10,619 | #!/bin/bash
#
# Title: restore.sh
# Description: Restore backed-up date and install packages on SharkJack
# Execute with: bash ./restore.sh /path/to/backup.zip (e.g. "bash ./restore.sh /tmp/1-20200101-SharkJack-backup.zip")
# Copy the backup file to the Shark Jack's /tmp directory via SCP (e.g. "scp 1-20200101... |
e90acae0aa6cd480d9afc1006e49cb514b8c8183 | 1,220 | #!/bin/bash
# Start the first process
cd /beat
filebeat -e &
status=$?
if [ $status -ne 0 ]; then
echo "Failed to start filebeat: $status"
exit $status
fi
# Start the second process
/usr/share/run_app.sh
status=$?
echo "Application stopped, wait 60 seconds to ship some logs"
sleep 60
if [ $status -ne 0 ]; then
... |
722f81e15a5b5d4f1ddfb760adde327f25797aab | 71 | #!/usr/bin/env sh
make -f /usr/local/etc/pandoc-bickham-makefile "$@"
|
72e748d39422d061def1d9d2ad9ffaf36548d2de | 23,736 | #!/bin/bash
#
# Script by Rishub Jain, adapted from Mario's biowulf1 script
#
#
# READ THIS BEFORE USING THIS SCRIPT:
#
# This script is designed to work with relion 1.3 and 1.4 on biowulf2. It is meant to run as if you have extracted particles using RELION, but if you didn't you can change things to make it still ... |
da1211be5b8c7d7817dcb57f52a24f580b0961c2 | 116 | #!/bin/bash
read -p "Digite seu nome: " nome
read -p "Digite sua idade: " idade
echo "$nome você tem $idade anos"
|
222d998012229e81ff6254efa481a65d6764e446 | 3,441 | #!/usr/bin/env bash
declare -r INSTALL_SCRIPT_LOCATION="${PWD}/home-assistant-install-scripts"
declare -r CURRENT_USER="${USER}"
sudo -s <<EOF
#constants
declare -r NORMAL_TEXT="$(tput sgr0)" &>/dev/null # No Color
declare -r RED_TEXT="$(tput setaf 1)" &>/dev/null
declare -r WHITE_TEXT="$(tput setaf 7)" &>/dev/null
de... |
07d47b1100a236cb480d1ce2587d236472b2d9a6 | 232 | #!/bin/bash
export PAINTER_SQA_ROOT=~/project/sqa
git remote rm origin
git remote add origin http://github.com/mm-project/qt_painter
git config --global user.name "levibyte"
git config --global user.email "kartol@gmx.com"
git fetch
|
706bb4e77b9e191834e249c409c890ed918a6542 | 36 | java -jar reference-service-1.0.jar
|
d33c4de0cccb3b5793f813412c22e523bd2ba9fc | 67 | #!/usr/bin/env zsh
source "$(brew --prefix asdf)/libexec/asdf.sh"
|
92a7aaee4c2fed59fa86434432c18ddcc79edd97 | 339,889 | #!/bin/bash
#SBATCH -J D_pmar=0.054_dist=100_repair_6_males=24_nmar=21
#SBATCH --time=07:00:00
#SBATCH -p broadwl
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
module load Anaconda3/5.1.0
python3 bowerbird_prog.py ../to_store/D_pmar=0.054_dist=100_repair_6_males=24_nmar=21/parameters/in_00D_pmar=0.054_dist=100_repair_... |
33721188fd3c15dfef10dc5a53bdb0a594e30622 | 886 | #!/bin/shell
curl "https://www.python.org/ftp/python/2.7.14/Python-2.7.14.tgz" -O Python-2.7.14.tgz
tar zxvf Python-2.7.14.tgz
pathname=`pwd`
cd Python-2.7.14 && ./configure -prefix=${pathname}/Python-2.7.14 --enable-optimizations && make -j && make install
cd -
wget "https://pypi.python.org/packages/72/c2/c09362ab293... |
0006ad80d18d7b908b4dea748997d1804579a5e7 | 1,849 | #!/bin/bash
#
# 18.01.2018 - Adaptate for GL-AR300M
# Installation script for SSLstrip2 + DNS2proxy for the WiFi Pineapple NANO + TETRA.
# I consider this a dirty fix to get sslstrip2 running. It's needed because the upstream libraries are not up to date.
#
# Written by: Andreas Nilsen - adde88@gmail.com - https://www.... |
e87842258becf214ef1f9c690600923701cf8ea8 | 3,860 | #!/bin/bash
set -e
Usage() {
echo " "
echo "Usage: `basename $0` [options] -i <T1_image> -x <Binary Mask>"
echo ""
echo " Compulsory Arguments "
echo "-i <T1.nii.gz> : Image must include nii or nii.gz file extension "
echo "-x <binary brain mask> : Binary brain mask... |
e2af9fa800404581e26bbb2afa2806db52793e0f | 290 | #!/bin/bash -eu
source scripts-pipeline/util.sh
inputvars="\
dwiepi_dwi \
dwiepi_dwimask \
dwiepi_t2 \
dwiepi_t2mask"
setupdo $@
#epi.sh $(varvalues $inputvars) $3
run scripts-pipeline/epi.sh $dwiepi_dwi $dwiepi_dwimask $dwiepi_t2 $dwiepi_t2mask $3
log_success "Made '$1'"
|
dceb0a0ebe2261408269b0d5dd489710e68b3ede | 22 | #!/bin/sh
xcodebuild
|
113f93eae77746e7b2b0c7e4846d34eae4722f0c | 971 | #!/bin/bash
#required for processing files with spaces
#change default file separator
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
if [ "$#" -gt 0 ]; then
fbypath="$1"
files="$1"
else
fbypath="./"
files="./*"
fi
regex=[12]{1}[09]{1}[0-9]{2}
for f in $files
do
#check to see if filename contains a likely year
if [[ $f... |
476e347f41f8dc2461ab6753a85c166b92fbbe60 | 509 | #!/bin/bash --login
#PBS -l walltime=02:00:00
#PBS -l select=1:ncpus=32
#PBS -N split_lib
#PBS -A d411-training
cd $PBS_O_WORKDIR
module load miniconda/python2
# loading virtualenv
echo "loading virtualenv"
source activate qiime1
# setting temporary directory
export TMPDIR=~/qiime_tmp
time core_diversity_analyses.p... |
1367e741178c227e70bbe17ed385ce7a953b72fd | 782 | #!/bin/sh
#PBS -V
#PBS -m ae
#PBS -M cpraveen@gmail.com
#PBS -N mpi_test
#PBS -o pbs_out.txt
#PBS -e pbs_error.txt
#PBS -l nodes=1:ppn=4
#PBS -q test
cd $PBS_O_WORKDIR
echo "Job began"
echo "Working directory is $PBS_O_WORKDIR"
# Calculate the number of processors allocated to this run.
NPROCS=`wc -l < $PBS_NODEFILE`
... |
2242568815dbbfd3e0a91e4ad145e0b9e08f2aea | 45 | #!/bin/bash
python Motion_Control.py &
wait
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.