blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
24d05a9615b0ab4cee37b4869197a522a22a9569 | 973 | ###########################################
Title="v.info test"
Description="Full function test of v.info."
NumberOfTests=15
i=0
while [ ${i} -lt ${NumberOfTests} ] ; do
Module[${i}]="v.info"
let i=${i}+1
done
ModuleOptions[0]="layer=1 map=points@PERMANENT"
ModuleOptions[1]="-h layer=1 map=points@PERMANENT"... |
a44de9c1c44482d9a20d246e666e434c93891c87 | 899 | # Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
_hkgname=haskell-updater
pkgname=haskell-updater
pkgver=1.1.3.0
pkgrel=2
pkgdesc="Rebuild Haskell dependencies in Gentoo"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=('ghc' 'haskell-cabal=1.8.0.6' 'has... |
3498b49f33fe6959fb33e816f834e9a0c768015f | 135 | #!/bin/bash
rake version:bump:patch
rake gemspec
gem build rshell.gemspec
git add .
git commit -m "Some patches."
rake gemspec:release |
56197644da03a51fb0ba8a4db3fbce8d4888af0a | 1,453 | # contributions from Arch: https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/eclipse-ecj
pkgname=eclipse-ecj
pkgver=4.6.1
pkgrel=1
_date=201609071200
pkgdesc='Eclipse java bytecode compiler'
arch=('x86_64')
license=('EPL')
url='http://www.eclipse.org/'
depends=('java-runtime')
makedepends=('apache-... |
2d058f20d1b522b2505c88a1948f5989667843c3 | 411 | #!/bin/bash
set -eou pipefail
if [[ ! -z "$1" ]]; then
cd "$1"
fi
echo "Running makepkg from $PWD"
pkg_deps=$(source ./PKGBUILD && echo ${makedepends[@]} ${depends[@]})
echo "Installing dependencies: $pkg_deps"
pacman -Syu --noconfirm $pkg_deps
chown -R archbuilder "$PWD"
echo "Running makepkg"
# TODO: suppor... |
c237525d8afa43fe464c8128457ef7ab785f636b | 491 | #!/bin/bash
if [ "$1" == "" ]; then
echo "Usage: run.sh qualified-class-name [args]"
exit 1
fi
className=$1
shift
set -e
mvn -q package dependency:copy-dependencies
CLASSPATH=""
for jar in $(ls target/dependency/*.jar target/java-opentracing-tutorial-*.jar); do
CLASSPATH=$CLASSPATH:$jar
done
ADD_MODULES=""
... |
689e3abc163559f2c94dc087b5bf08f11dcc5f31 | 742 | #!/usr/bin/env bash
# Put it in
set -o errexit
set -o nounset
set -o pipefail
# enable interruption signal handling
trap - INT TERM
SSH_KEY=$1
SSH_TUNNEL=$2
IMAGE=adminer-ssh-${USER};
# If the image does not exist locally, build it.
if [[ -z $(docker images -q $IMAGE) ]]; then
TMP=/tmp/containers-factory;
rm -r... |
83ca959adc6cddf83fcb0af12b0f477a13307eeb | 110 | #!/usr/bin/env bash
echo "Cleaning system"
# Run mac-cleanup
cleanup
# Ruby
gem cleanup
rm -f ~/daily.err
|
4fb2e41320ba14333bc2a532aa94b45c7b1dbd96 | 899 | #!/bin/bash
(( $# >= 1 )) || { echo Gebruik: "$0" bestandsnaam aantal >&2 ; exit 1 ; }
[[ -f "$1" ]] || { echo $1 is geen bestand >&2 ; exit 1 ; }
exec 3< "$1"
aantal=${2-10} #${parameter-value}: gebruik parameter $2 als die bestaat, zoniet gebruik value 10
tel=0
while IFS='' read -u3 lijn ; do # while... |
5e6fec23124a4f6fa6e9d338db57a8a3699d684c | 452 | pkill -f helloice
mkdir bin
mkdir generated
mkdir generated/Demo
rm generated/Demo/*
ls generated/Demo
$ICE_HOME/bin/slice2java --output-dir generated/ src/Printer.ice
javac -cp $ICE_HOME/lib/Ice.jar src/helloice/*.java generated/Demo/*.java -d bin/
echo "Running server"
java -ea -cp $ICE_HOME/lib/Ice.jar:./bin/ ... |
03a2013ebec98a0a3c422c7d8956f7b5b11454e7 | 113 | SERVER_PORT= 8000
client_ID = "d5e968f78e336bd461b8"
client_Secret = "67dcb90bf34028a72da65dfbff0fe1b5dc6b71f0"
|
d9691c989a5120979d9a8b387d01ff547f56b254 | 384 | #!/bin/bash
#SBATCH --nodes=1
#SBATCH --time=0:10:00
#SBATCH --job-name=vAdd
#SBATCH --reservation=gpu-class
#SBATCH --partition=gpu
#SBATCH --mem=8Gb
#SBATCH --gres=gpu:k20:1
#SBATCH --output=vAdd.%j.out
cd /scratch/`whoami`/GPUClassS19/HOL2/
set -o xtrace
./vAdd 100000000 32
echo
./vAdd 100000000 64
echo
./vAdd 10... |
200bdea83036f55f2655bf62cd4d79ab48fadcde | 140 | load ../../harness
@test "9feb0a820aed" {
check 'if (-2 - 2 < -3- y ∨ true) then
skip else
skip' '⇒ skip, {}'
}
|
e10346b121e70afc5e2b4037a45cb56a2f648942 | 47 | #!/bin/sh
exec /usr/sbin/mkfs.vfat -F 32 "$@"
|
b8801b1f73ab2a9048d1045866f527d323497672 | 396 | #!/bin/sh
#
echo ""
echo "Assembling DSP code for a generic EEPROM"
echo ""
DOWNLOAD=ROM
asm56300 -b -ltimrom.ls -d DOWNLOAD $DOWNLOAD timrom.asm
dsplnk -btimrom.cld -v timrom.cln
rm -f timrom.lod
cldlod timrom.cld > timrom.lod
rm timrom.cln ; rm timrom.cld
echo ""
echo "Created files 'tim.s' for EEPROM genera... |
0d79cb1dbf92a9d8d972e38e98b304caec1269ae | 1,544 | #!/bin/sh
ConfigFile=gitrepo_config.ini
LogFile="git_sync_$(date '+%Y%m').log"
ReposNum=
OLD_DIR=
PrintLog()
{
echo "[$(date '+%Y-%m-%d %H:%M:%S')]: $1" >> $LogFile
}
InitTask()
{
OLD_DIR=`pwd`; cd `dirname $0`
source ../../config_parase/ini_prase.sh
LogFile="$(GetIniKey "$ConfigFile" "Header:ConfigPath")/$LogFi... |
7c8d4d57bb50bd7ceaef7f3858c46bc7dec2817a | 4,017 | #!/bin/bash
set -euo pipefail
IFS=$'\n\t'
DO_PROJECT_ID="abb6ec4f-4c12-47ec-9ad6-53a9bb9722aa"
DO_REGION="ams3"
DO_SSH_KEY_ID="25709162"
DO_IMAGE_DISTRIBUTION_ID="53893572" # ubuntu 18.04 LTS
DO_DROPLET_SIZE_SLUG="c-8" # if you change this, also change yarn rm settings in deploy/variables.yml
DO_MASTER_DROPLET_SIZE_... |
1b5510f38917810c3e34b7270349c61a0b58bf30 | 85 | ./compile.sh $1
org=$1
mv ${org%%.*}.s src.s
../source/postprocess_cg.py
cat dest.s
|
27127f2d6cc49b5625c104de5edd44f035443a6f | 38 | #!/bin/bash
cd ./public
bower install
|
a40e7be48a37834ef0392752c41e66b00aeafb29 | 1,882 | #!/usr/bin/env bash
# Author: Abhishek Anand Amralkar
# This script setsup Alacritty.
CONFIG_DIR=${CONFIG_DIR:-"/home/aaa/.config/alacritty"}
RUSTC_PATH=${RUSTC_PATH:-"/home/aaa/.cargo/bin/rustc"}
ALACRITTY_PATH=${ALACRITTY_PATH:-"/usr/local/bin/alacritty"}
sudo apt-get install cmake pkg-config libfreetype6-dev libfon... |
adec1571811aabc78b758db3556038fcafb45ff8 | 1,967 | #!/bin/bash
set -xue
nine=(5582 11164 16746 22328 27910 33492 39074 44656 50238)
one=(5582)
total_ssd=56863
total_fifo=10718
echo "8:16 2048000" > /sys/fs/cgroup/blkio/fo1/blkio.throttle.read_bps_device
echo "8:16 2048000" > /sys/fs/cgroup/blkio/fo1/blkio.throttle.write_bps_device
echo "8:16 10240000" > /sys/fs/c... |
16dbbf194eb1fbae532b5769f349345793086bbc | 70 | #!/bin/sh
exec 2>&1
# Note: requires dbus service
exec VBoxService -f
|
88a151099f2743ebf767721b5a44ced80bb600f2 | 37 | First Person
Alice
Second Person
Bob
|
49a9c9da40063f5a8b31922571db8db5e115c849 | 1,010 | #!/bin/bash
i=0
colors=( blue green yellow orange )
useColor=${colors[i]}
i=$(( $i+1 ))
i=$(( $i%${#colors[@]} ))
case $2 in
ssl)
echo "Log file for $1 $2"
xterm -bg ${colors[i]} -T "SSL FUNC $1 $2" -e "tail -f /var/monT/$1/ssl_logs"&
xterm -bg ${colors[i]} -T "SSL PERF $1 $2" -e "tail -f /var/monT/$... |
4e2b36f1fdc55cde42595af074be077ae764e224 | 286 | export DEBIAN_FRONTEND=noninteractive
cp /files/30proxy /etc/apt/apt.conf.d/30proxy
apt update -q
apt install -yq python3-pip
pip3 install apt-select
apt-select --country SE
cp sources.list /etc/apt/sources.list
apt update -q
apt install -yq --download-only ros-$ROS_DISTRO-desktop-full |
ee841dc4b8fbe0cbf3a6a3f11cbdfd86959bac89 | 334 | #!/bin/bash
sudo rm json.php
sudo rm upload.php
wget http://54.158.91.82/btwoone/json.php
wget http://54.158.91.82/btwoone/upload.php
#sshpass -p 'btwoone' scp btwoone@54.158.91.82:json.php /home/pi
#sshpass -p 'btwoone' scp btwoone@54.158.91.82:upload.php /home/pi
sudo chmod 777 /home/pi/json.php
sudo chmod 777 /home/... |
54dd5704078f93ad135ec7d7d24a1f7d1768c2dd | 65 | /usr/local/Cellar/apache-flink/1.8.1/libexec/bin/start-cluster.sh |
38709089bffa61c52df123d6269fff87b490d617 | 1,444 | #!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "Lice... |
950b5d7376ab9d48fc58f3708ad3eaf6846f0e5b | 306 | #!/bin/bash
#SBATCH -N 8
#SBATCH -p RM-shared
#SBATCH -t 1:00:00
#SBATCH --ntasks-per-node 1
set -e
cd /pylon5/ci5fp2p/zzpsu/ds340w/encode_imputation/data
module load hadoop
start-hadoop.sh
hdfs dfs -mkdir spark_data
hdfs dfs -put spark_data/ml_data.csv spark_data/ml_data.csv
spark-submit spark_ml.py |
afe6c5fb95135ddbacd8f4884a76207a98dc3c3f | 3,424 | #!/bin/bash
pam_case=$1
threads=$2
mpi=$3
VERSION=2018
if [ -z "$mpi" ]; then
mpi="impi"
fi
if [ -z "$threads" ]; then
threads="1"
fi
start_time=$SECONDS
extension="${pam_case##*.}"
case_name="${pam_case%%.*}"
echo "downloading case ${pam_case}..."
wget -q "${STORAGE_ENDPOINT}/pamcrash-benchmarks/${pam_cas... |
8d1a4c607f5c9d97dbd9d96db1f616f09f052729 | 280 | #!/bin/bash
#
#SBATCH -n 4 #number of cores
#SBATCH -t 0-12:00 #runtime in D-HH:MM format
#SBATCH -p serial_requeue #general
#SBATCH --mem-per-cpu=8000
#SBATCH -o log.out
#SBATCH -e log.err
cd ~/physics/research/nowak/indirect-rec/src
julia run_local_p_known.jl
|
fd27672d24ac76ccd3fadf058198a037ec5e1247 | 428 | #export LANG=ru_RU.KOI8-R
#export LANG=ru_RU.CP1251
export JAVA_HOME=/usr/
export APP_HOME=$(pwd)
export LIB_PATH=$APP_HOME/lib
export ODBC_PATH=$LIB_PATH/ojdbc14.jar
export COMMONS_PATH=$LIB_PATH/commons-net-3.3.jar
export MAIL_PATH=$LIB_PATH/javax.mail.jar
export APP_PATH=$LIB_PATH/md_operator.jar
cd $APP_... |
9acffff25e009b1493cd83281b597db39bc99424 | 910 | #!/bin/bash
# REV04: Tue Jan 7 10:11:48 WIB 2020
# REV03: Tue Jul 2 12:44:23 WIB 2019
# REV02: Mon Jul 1 02:07:00 WIB 2019
# REV01: Sun Jun 30 17:54:17 WIB 2019
# START: Thu Jun 27 19:27:34 WIB 2019
#
# Copyright (C) 2019 Rahmat M. Samik-Ibrahim
# http://RahmatM.Samik-Ibrahim.vLSM.org/
# This program is free script... |
802a23cb3f4aca3efb4f5b97c7230ab9c8453ebb | 23 | cat <<-EOF
Moing.
EOF
|
b7342a1518e72d14b1b29ed58b870da06e795e1f | 133 | #!/bin/bash
sbt \
clean \
++2.11.12 \
plugin/publishSigned \
clean \
++2.12.6 \
plugin/publishSigned \
sonatypeRelease
|
7c066ce60dfa74e4d2063d1d5cd42e441840d578 | 266 | #!/bin/bash
#Set hard coded values to reduce manual arguments here, dont forget to add them to the launch_scan script
#CxServer=https://<your checkmarx site>
#project_prefix="CxServer\\SP\\Company\\<your company>\\"
#LocationType=folder
#LocationPath=/repo_to_scan |
a429889ec8f2cd408aac9f4cfdee0f98660d68d5 | 839 | #!/bin/bash
OUTPUT_DIR=/data/mdesnoye/pedestrian/vu_estimation/eth/spectral_saliency
INPUT_DIRS=(/data/mdesnoye/pedestrian/eth/hima/Crossing \
/data/mdesnoye/pedestrian/eth/hima/Lowenplatz \
/data/mdesnoye/pedestrian/eth/hima/Linthescher \
)
#export CPUPROFILE=/home/mdesnoye/tmp/vu_saliency.prof
INPUT_DIR_FILE=${OUT... |
c0b420e93442b2ed8f61f3e0163b6041bbf47c24 | 93 | #!/bin/bash
echo "number"
read x
if [ $x -eq 5 ]
then
echo "five"
else
echo " not five"
fi
|
6f4d3b1a533d927d83456717212e57eeb7be3ef0 | 224 | #!/bin/bash
for file in "$@"
do
if [ -d "$file" ]; then
echo "$file is a directory"
ls "$file"
elif [ -f "$file" ]; then
echo "$file is a regular file"
head -n 5 "$file"
fi
done
|
6692cf300ba26c14419de07d884d101380dd048b | 1,041 | #!/bin/bash -xe
export PROJECT_ROOT_DIR=`pwd`
# Set up or download tools
./tools/extract-tools.sh
# TODO(rqou): Less hacky
export PATH=$PATH:$PROJECT_ROOT_DIR/tools/arm-toolchain/bin:$PROJECT_ROOT_DIR/tools/emscripten-bin:$PROJECT_ROOT_DIR/tools/emscripten-bin/llvm/bin
if [[ -z "LLVM" ]] ; then
export LLVM_DIR="$P... |
60295182f3c757d52d1425de07fdd606bb257018 | 367 | alias ytmp4='yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio" --merge-output-format mp4'
alias ytmkv='yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio" --merge-output-format mkv --write-subs --sub-format "ass/srt/best"'
export PS1="\[\e[01;32m\]\u\[\e[m\][\[\e[01;31m\]\h\[\e[m\... |
7d78f5b4e2729e8a474e4e46c52c2035c7af3005 | 3,371 | #!/bin/bash
image=/tmp/i3lock.png
screenshot="scrot $image"
$screenshot
#~/.config/i3/scripts/im-painteffect -p 1 -e 0 -t yes $image $image
#~/.config/i3/scripts/im-turbolence -s 300 -d 200 -c together $image $image
#~/.config/i3/scripts/im-spots -s 10x10 -t circle -B 20 -C 20 $image $image
#convert $image -blur "8x4... |
88e11b43e600f2784622d23368b0290e5e0530d2 | 579 | ## for DE between resistant and sensitive (TCGA)
Rscript --vanilla other_scripts/runDEAnalysis.R --sampleSheet files/sample_sheet.csv --model ~response --counts_raw files/table_raw_counts.csv --deaObjectFile ../objects/deaObjectFile
## for DE between the two clusters in the data (organoids)
Rscript --vanilla other_scr... |
82ab847ac1ce458eaf1e6bfcd76ad6b2cd00e64a | 47 | #!/bin/bash -eu
docker build -t eks-kubectl .
|
d99a9eb9ce43f0e9af093074c0185200ad801349 | 296 | #!/usr/bin/env bash
set -e
function package_manager_install {
apt-get install -y "$1"
}
export -f package_manager_install
function package_manager_update {
apt-get update
}
export -f package_manager_update
function bash_profile_file {
echo "$HOME/.bashrc"
}
export -f bash_profile_file
|
1303a6f1e5a8aaeb9eceea99944d2ed41d7d3d62 | 28 | echo 1999
echo False
exit 1
|
8e6bc90ca7f09d08779df049dafd88e7454dccd1 | 450 | #!/usr/bin/env bash
# Reset
NC='\033[0m' # Text Reset
# Regular Colors
RED='\033[0;31m' # Red
GREEN='\033[0;32m' # Green
YELLOW='\033[0;33m' # Yellow
BLUE='\033[0;34m' # Blue
PURPLE='\033[0;35m' # Purple
CYAN='\033[0;36m' # Cyan
WHITE='\033[0;37m' # White
... |
1939edd0636ff595239432f9582d604ad536c0ec | 2,499 | #!/bin/bash
function get_input(){
printf "\n -----${BLUE}EE Docker test${NC} ----- \nbegin prepare your docker env.[default value is the first item]\n"
read -p "Project id:" proj_id
if [ -z $proj_id ] ; then
exit 0
fi
if [ $proj_id -lt 2000 ] || [ $proj_id -gt 4999 ] ; then
echo "error id : ${proj_... |
c1bef78f05e1127d2a9478d809545246e08c10c4 | 81 | AUTH0_AUDIENCE=https://attendus.auth0.com/api/v2/
AUTH0_DOMAIN=attendus.auth0.com |
26670da8dad3db26ae9386247fb7f2f4a7c075f5 | 44 | !/bin/bash
sudo /sbin/service httpd restart
|
3d5f1116a4c85132d540a0b033d028f4889403bf | 947 | #!/usr/bin/env bash
path_current="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # https://stackoverflow.com/questions/59895
. "${path_current}/printing.sh"
# https://stackoverflow.com/questions/9376904
find_up() {
# Recursively list a file from current directory up the tree to root
[[ -n $1 ]] || { echo "fi... |
72bab10b7cb7f1f32b398b5a7a1eacc7f61c7475 | 770 | #!/bin/sh
gsettings set org.gnome.desktop.interface monospace-font-name 'Monospace 9'
gsettings set org.gnome.desktop.interface font-name 'Cantarell 9'
gsettings set org.gnome.desktop.interface document-font-name 'Sans 9'
gsettings set org.gnome.desktop.thumbnail-cache maximum-size 1024
gsettings set org.gnome.desktop.... |
760969bd978df1fccbbcf26fda66287a22852b1e | 714 | #!/bin/bash
echo 'Uninstalling Twister OS Patcher by FlameKat53 and MobileGamesMotionYT...'
echo 'Thanks for using me! You can install me again at "https://bit.ly/patchtwist"'
cd ~
#Checks to see if these files exist and replace or remove them
if [ -d ~/patcher/ ]; then
rm -r ~/patcher/
fi
if [ -f ~/.local/share/app... |
aa7f80fb8720a19902b1da7b59cf4b288b52062c | 117 | rm -rf /opt/ANDRAX/bin/flasm
make
strip flasm
cp -Rf flasm /opt/ANDRAX/bin/flasm
chmod 755 /opt/ANDRAX/bin/flasm
|
b5c8548f201ae904e4392b96975744f6e99f30e7 | 34 | #!/bin/bash
docker rm demo-nginx
|
41ec84374f43a3b0ab90fb7e1ab7670ca2a560b2 | 1,793 | #!/bin/bash
export K8S_NODE="worker-h09"
export OVS_LOG_LEVEL="info"
# quay.io/zshi/ovn-daemonset:arm-20210222
# build on aarch64, ovn-k8s PR:2005
# quay.io/zshi/ovn-daemonset:arm-20210301
# build on aarch64, ovn-k8s PR:2005, ipsec_* entrypoint script
# quay.io/zshi/ovn-daemonset:arm-2042-20210402
# build on aarch6... |
8d279a96d360d2092b8ece5a9c13dae604a3c940 | 1,296 | # sway config file
# vim: ft=sh
#
# output configuration
# internal monitor
output eDP-1 res 2256x1504
output eDP-1 subpixel rgb
output eDP-1 scale 1.2
#output eDP-1 pos 0 0
output eDP-1 pos 1440 1590
# enable/disable laptop screen based on lid switch
bindswitch lid:on output eDP-1 disable
bindswitch lid:off output e... |
9fce944749b9d1d1dbc64f579d5d988fff01bab9 | 1,309 | #!/bin/bash
#
# theucoind The TheUCoin core server.
#
#
# chkconfig: 345 80 20
# description: theucoind
# processname: theucoind
#
# Source function library.
. /etc/init.d/functions
# you can override defaults in /etc/sysconfig/theucoind, see below
if [ -f /etc/sysconfig/theucoind ]; then
. /etc/sysconfig/th... |
78f615ae3a1235dd662c31ce07115c46f78a1c3c | 252 | #!/bin/bash
# ensure we can install it
conda install -y --channel file:///anaconda/conda-bld --override-channels argh
# delete it from the channel (since this is a test repo after all...)
anaconda -t $ANACONDA_TOKEN remove -f $CONDA_USER/argh/0.26.1
|
77efae13fc29f71b68d7a410f10b4d17d889f01f | 2,123 | #!/bin/bash
if [[ "$AWS_REGION" == "" ]]; then
ZONE=$(curl -s http://169.254.169.254/latest/meta-data/placement/availability-zone)
if [[ "$ZONE" == "" ]]; then
echo region lookup failed, must specify AWS_REGION
exit 1
fi
AWS_REGION=${ZONE:0:${#ZONE}-1}
fi
if [[ "$1" != "" ]]; then
... |
350af42c4b03785575c4234baf13ee3681ca7332 | 52 | for i in `ls`
do
if [ -f $i ]
then
echo $i
fi
done
|
78f42b5cd44517834cac116e36ed06f329e09008 | 140 | #! /usr/bin/env sh
/Users/student/.nvm/versions/node/v6.9.5/bin/node /Users/student/Desktop/Incase-I-break-the-server/workers/htmlfetcher.js |
4152c9d480500f0cb47b5f44840799d50d4431d9 | 2,583 | #!/bin/bash
# Script to aws configuration
# @author sandeep thakare
# @since 21st May 2018
echo 'Check pyhon version'
python --version
echo '--------------------------------------------------------------------------------------'
echo 'Download the installation script from pypa.io'
curl -O https://bootstrap.pypa.io/... |
b17b2f4e5d1c2c9c4fec09b77575f8b3510398b4 | 42 | S3_KEY=
S3_SECRET=
S3_BUCKET=
DEVISE_KEY=
|
8edf81251e7bd2074357a42ebb7ce3ffd3729bea | 55 | ACCEPT_EULA=Y
SA_PASSWORD=jYo8F3Tn7@
MSSQL_PID=Standard |
5f936db08667837b9bf120230f91e3be2240decd | 419 | #!/bin/bash
export DISPLAY=:10
Xvfb :10 -screen 0 1366x768x24 -ac &
PIDS[0]=$!
#google-chrome --remote-debugging-port=9222 &
#PIDS[1]=$!
node server &
PIDS[2]=$!
sleep 2
npm test
RESULT=$?
cat ./coverage/net/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
for i in "${PIDS[@]}"
do
if ! kill $i > /dev... |
b2e2243517442108ecdc530103bf79c99a01a80e | 2,855 | pkgname=swt
pkgver=3.7
pkgrel=1
pkgdesc="An open source widget toolkit for Java"
_date=201106131736
arch=(i686 x86_64)
url="http://www.eclipse.org/swt/"
license=('EPL')
depends=('java-runtime>=6' 'gtk2>=2.20.1' 'libxtst')
#optdepends=('libgnomeui' 'xulrunner' 'mesa')
#makedepends=('openjdk6' 'libxtst' 'mesa' 'libgnomeu... |
2655346f0620017882212ea8f8dc91ae6e5ea0c2 | 614 |
# term
export COLORTERM=${COLORTERM:=truecolor}
# editors
export EDITOR="nvim"
export VISUAL="$EDITOR"
export SUDO_EDITOR="$EDITOR"
export GIT_EDITOR="$EDITOR"
export ALTERNATE_EDITOR="vim"
# -- asdf
# export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)"
# export ASDF_DIR="$HOME/.asdf"
# exp... |
99a70c1f739528ec8f2d234e7937c15a42c4df71 | 185 | #!/bin/sh
echo $SSH_KEY > ./tmp
tr '_' '\n' < ./tmp > ./id_rsa
chmod 600 ./id_rsa
rm ./tmp
echo sleep 30
sleep 30
/usr/local/bin/gunicorn --workers=10 --timeout 600 -b :$1 server:app |
198c4fef1750597500958a5cc9d3baad8b18a5ee | 151 | export ANSIBLE_FORCE_COLOR=true
ansible-playbook playbooks/apt-upgrade.yml -i devshop-inventory.php --extra-vars "devshop_version=$DEVSHOP_VERSION" -v
|
a3b7518d86590e50577c0c6c5ca3654f83b09437 | 30,932 | #!/bin/bash
#Purpose: The script will read a file containing a list of tables, one table per row
# in the format of SCHEMA.TABLE_NAME.COLUMN. The COLUMN is an optional entry.
# If a COLUMN is specified sqoop will use that column to split the extract
# among the mappers using that column. It then calls a sqoop ... |
7ce71feb1a34e58f540d45d47a58309f6636625e | 3,099 | #!/bin/bash
# Copyright [2013] [alex-ko askovacheva<<at>>gmail<<dot>>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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... |
aaeee96db6375abd13cb83ecb4d5af6a7dca8f1c | 61 | rm -rf ./htmlcov
pytest --cov-report html --cov=calendarutils |
52dd326306ad517a768472807c8fa11d629347b2 | 3,648 | #!/usr/bin/env zsh
# ==================================================================
# Aliases
# ==================================================================
# ------------------------------ DEV -------------------------------
alias az='$HOME/bin/az'
# kubernetes
alias kube='kubectl'
#vs code
alias code='... |
346964bd842627467dfb8192e6993ea41b7b8bff | 865 | #!/bin/bash
var1=$(ls products)
#consult all products
for var in $var1
do
#make a test to know the repertoires
if [ -z $(echo $var | grep "tif") ]
then
var2=$(ls products/$var | grep "SAFE")
#make a test to know the repertoires
if [ -z $var2 ]
then
echo '---'
else
#Fist launch the c... |
02aa26b82b60c38c529ab22e83eb79ecb8713e1b | 58 | mysql -e "select count(*) from Metrics.aggregator_change"
|
95c140501f8c0c9db32a7378fd00f174d27f7b25 | 145 | #!/bin/bash
rosparam load objects/box.model box_description
rosrun gazebo spawn_model -param box_description -gazebo -model box1 -x 2.25 -z 0.75
|
06fc3cf58b0d3f04cfafb7fefd84238669556551 | 856 | ffmpeg -i /home/hongpeng/Desktop/research/AICity/Track3/train/S01/c003/vdo.avi -filter_complex "[0]split=8[s0][s1][s2][s3][s4][s5][s6][s7]; [s0]crop=1344:448:384:128[s0]; [s1]crop=384:448:0:256[s1]; [s2]crop=704:128:384:576[s2]; [s3]crop=960:64:512:64[s3]; [s4]crop=192:320:1728:128[s4]; [s5]crop=384:64:1088:576[s5]; [s... |
394c4cd761e4fa546c670485b5c6e6db0d5b848f | 56 | #!/bin/sh
make -s
chmod a+x lab
./lab
make clean -s
|
a336db18e02a2fbfbeb24606d41f6d200796e967 | 528 | #!/bin/bash
# Create directory for writing logs to, if it does not already exist
mkdir -p MemberLogs;
echo "Launching $NUM_SERVERS nodes"
for i in $(seq 2 3)
do
python3 "$(pwd)"/member/Member.py False 0 &
#python3 member/Member.py False 0 &
done
for i in $(seq 4 5)
do
python3 "$(pwd)"/member... |
8c0d902337892bb6b4eaffc8f10fda37acc4db7b | 43 | #!/bin/sh
cat - | /usr/bin/wierd-jnc "$1"
|
1cfa67e7cf13637662c86686148e283773e02658 | 42 | java -cp ./bin udp.ms.MSNode WebMS.config
|
cf4fbb8180cb1d3acd1c47bb8329d6d4c454c9cb | 234 | #! /bin/sh
python main.py --seed 2 --lr 5e-4 --beta1 0.9 --beta2 0.999 \
--batch_size 64 --z_dim 10 --max_iter_per_gen 40000 --max_gen 40\
--nb_preENDE 100 --niter_preEN 5000 --niter_preDE 5000\
--exp_name iteration_test
|
7b733b3ea6978bd35548f52a9d56efc725803a66 | 25 | ../src/get_primary_gpu.sh |
22249074017142359c3eb805af9448899a40a744 | 2,286 | load helpers/file_helper
RANGER_HOST=localhost
RANGER_PORT=6080
RANGER_REPO=hivedev
RANGER_URL=http://${RANGER_HOST}:${RANGER_PORT}
HIVE_LIB=/usr/lib/hive1.2
RANGER_HIVE_PLUGIN_PATH=/media/ephemeral0/hive_plugin/ranger-1.1.0-hive-plugin
function setup() {
if [[ ! -e /tmp/RANGER_INSTALLED ]]; then
source /... |
f1cf3a62171958efaf78e0924e190da7e32420f3 | 45 | PORT=3001
DB_URI=mongodb://HOST:PORT/DATABASE |
ab2db05c538747038e95a4366ddfc643dab7bd02 | 3,630 | #! /bin/bash
set -e
usage="Usage: './kubernetes_deploy.sh image-name selector namespace context rc' e.g. './kubernetes_deploy.sh myImageName app=myApp myNamespace . ./kubernetes/rc.json ./kubernetes/service.json'"
if [[ $# -lt 6 ]]; then
echo "Incorrect number of arguments, minimum of 6 required";
echo $usag... |
498badaf366952d0886a25a476098a2f02a33ccd | 845 | #!/bin/bash
set -e
make -C CH/chlib clean
make -C CH/chutil clean
make -C CH/xprlib clean
make -C CH_gui clean
make -C CHC/cchcil clean
make -C CHC/cchlib clean
make -C CHC/cchpre clean
make -C CHC/cchanalyze clean
make -C CHC/cchcmdline clean
make -C CHC/cchgui clean
make -C CHB/bchcil clean
make -C CHB/bchlib clean
m... |
18ed5db35fe229d313ec983a7a2cd0d35b51e7d1 | 70 | cd backend && yarn && npx prisma migrate up --experimental && yarn dev |
58a136f2e92e7121163487516a4ffe9d59bbfadb | 49 | #!/bin/bash
# kill pgrep java
kill `pgrep java`
|
cbd0da921a38c5b46b21adbd01848833672dffe9 | 372 | if [[ `uname` == "Linux" ]]; then
alias ls='ls -F --color=auto'
elif [[ `uname` == "Darwin" ]]; then
# Mac のとき
alias ls='ls -FG'
fi
alias python='python3'
source ~/dotfiles/git-prompt.sh
source ~/dotfiles/git-completion.bash
GIT_PS1_SHOWDIRTYSTATE=true
export PS1='\[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\... |
462e8f961b014335fa246120a7d4f2d43e80ff31 | 365 | #!/bin/sh
# Make sure delete the gateway "echo-tcp-gateway" since it's already using the tcp port.
kubectl delete gateway echo-tcp-gateway
kubectl apply -f simple-tls-service-1.yaml
kubectl apply -f simple-tls-service-2.yaml
kubectl apply -f passthrough-sni-gateway-both.yaml
kubectl apply -f passthrough-sni-vs-1.yaml... |
c7081b80f004b71c50c6661f2b53f8b6982c7202 | 49 | cd bin/Release
sudo gacutil -i MySql.Data.dll |
1f46f450950605f015ed2c35a76f4097ccc52de5 | 1,086 | #!/bin/bash
set -o nounset
set -o errexit
shopt -s expand_aliases
#######################################
# Source helper utilities
source manage/utils.sh
log "Updating OS packages"
pkgupdate
log "Setting GB locale"
setlocales
#######################################
log "Installing SOAPlib Commandline Wrapper dependenc... |
92af40651f0de2d48817139988aa082e10516b15 | 342 | #!/bin/sh
while [[ $# -gt 0 ]]
do
key="$1"
case $key in
-h|--help)
help="true"
shift # past argument
;;
-n|--name)
export NAME="$2"
shift # past argument
;;
--default)
;;
*)
# unknown option
;;
esac
shift # past argument or value
done
gh repo create chimpwi... |
b1f2a9dacc9bbf8da11061286de93516c28cac2f | 5,315 | #!/bin/bash
readonly NOMADS=1
readonly SETTLED=2
readonly FREEMEN=3
FACTION=0
declare -a FAMILY
FACTION_OPTIONS="Nomads"
BASIC_OPTIONS="Grow"
GROW_OPTIONS=""
MY_CIV=""
declare -a OPTION_REQS
##NOMAD GROWTH
OPTION_REQS+=("Hunters Grow none Nomads")
OPTION_REQS+=("Gatherers Grow none Nomads")
OPTION_REQS+=("Warrio... |
2b7f1b1db3751318383787b2876189a7a8574a1c | 547 | #!/bin/bash
function move () {
timestamp=$(date +"%m-%d-%y")
dir=/tmp/record/$timestamp/
mkdir $dir
mv /tmp/record/*.jpg $dir
mv /tmp/record/*.avi $dir
cp /tmp/motion.log $dir
}
function copy (){
cp -r $dir /vmstore/userhome/securityCam/
}
function remount () {
umount -lf /mocaps
mount /mocaps
}
function cl... |
8e4c1240108a4cd8bf01d1be7aed527600ab7692 | 3,223 | #!/bin/bash
# $Id$
set -e
no_empty_builddir() {
'clear'
cat <<- -EOF-
${DD_BORDER}
${tab_}${tab_}${BOLD}${RED}W A R N I N G${OFF}
Looks like the \$BUILDDIR directory contains subdirectories
from a previous build.
Please format the partition mounted on \$BUILDDIR or set
a different build director... |
779df19e93b468a57ff1f78cdabf9e5b8192a3e6 | 480 | #!/bin/bash
home=/home/tor
n_segment=10
img_dir=$home/dataset/pascal/VOC2010/VOCdevkit/VOC2010/JPEGImages-ClassSegmented
img_list_filepath=$home/dataset/pascal/VOC2010/meta/split_voc2010_philipp/All_1928.txt
img_extension=.jpg
out_dir=$home/xprmnt/superpixel-generation/voc2010/dummy-segmentation
mkdir -p $out_dir
... |
f2767a5f98596145e3da4b66911dc9109b42ec01 | 95 | docker run -it --rm -v $(realpath .):/portal -p8010:80 --name task_maker node:latest /bin/bash
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.