blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
400965bea468e1ebfe6d977ac342a2ff8dbcdefa
14,788
#!/bin/bash TESTNAME="CLOSE PERIOD test" TESTSUMMARY="Close a Period and complete a TaskList" RRDATERANGE="-j 2016-01-01 -k 2016-02-01" CREATENEWDB=0 source ../share/base.sh echo "BEGIN CLOSE PERIOD FUNCTIONAL TEST" >>${LOGFILE} echo "STARTING RENTROLL SERVER" RENTROLLSERVERAUTH="-noauth" startRentRollServer #-----...
d4504427581d2cac0022c90d3010e51837db136e
222
#!/bin/bash rm -rf /go/pkg/linux_amd64/ rm -rf /go/src/github.com/neverlock/ go get github.com/neverlock/kingshard/config go get github.com/neverlock/kingshard/core/golog go get github.com/neverlock/kingshard/proxy/server
99de1eddcedafeddcaf896446c078e6c3eeb424c
668
#!/bin/bash #test -f target/logistic-regression-jar-with-dependencies.jar || mvn package #mvn package echo "Started at $(date)" run () { java \ -jar target/logistic-regression-jar-with-dependencies.jar \ -p1:localhost:8871 \ -p2:localhost:8872 \ --privacy-budget 0 \ --sens...
800834070808df5c0fc983177d2d6b8a76c5fed4
83
#/bin/sh /home/yaoguai/soft/php54d/bin/php -S 127.0.0.1:80 -t /home/yaoguai/www &
84c428122edb8600473083db3f84e6783cb72067
1,010
#!/bin/sh [ ! -d /html ] && >&2 echo "error - no /html directory found... exiting" && exit 1 [ ! -d /repositories ] && >&2 echo "error - no /repositories directory found... exiting" && exit 1 cd html/ STAGIT="stagit" STAGIT_INDEX="stagit-index" NORMAL_PWD="$PWD""/../repositories/" # stagit for folder in $(find ../r...
c8f3a4c40860c86e9a29b6796c369809f1afce06
35
../basis/006-devel/03c-clean_svn.sh
717d5314e53c517ada976630369e8c57594b8c09
8,323
#!/usr/bin/env zsh # -*- eval: (progn (highlight-regexp "\\bheader[1-9]+\\b" 'hi-green-b) (highlight-regexp "\\bh1\\b.*" 'header1) (highlight-regexp "\\bh2\\b.*" 'header2) ) -*- # capture packages: # pacman -Qqen >| pkglist.txt && pacman -Qqem >| pkglist_aur.txt cd $HOME export PATH backup=~/backup shell=/bin/zsh if [...
4b4d8cc914735c7ded587e0fe4f20493d4741c99
736
DATA_ROOT=/home/yhe3/Data/dataset/shuai/ #TEST_FILE=kitti_eval/test_files_eigen.txt TEST_FILE=kitti_eval/shuai.txt RESULTS_DIR=results/depth/shuai/ DISP_NET=/data/yhe3/pretrained_models/SC-SfMlearner/depth/cs+k_depth.tar # predict depth and save results to "results_dir/predictions.npy" python test_disp.py --dispnet...
100d610ac97fc8851b5870e5c9d56563a1ce9220
99
NEXT_PUBLIC_BACKEND_BASE_URL=http://localhost:8000 NEXT_PUBLIC_WEBSOCKET_URL=ws://localhost:8000/ws
39602468ae358cee6b63df8bfa1a9a90ae2b44d8
59
#!/bin/bash for num in `seq 1 100` do touch yyh-$num done
8d681b8ba24019dbfcfa0c1e59dade28607e1726
261
#!/bin/bash curl --verbose -X PUT "http://10.60.21.187/api/admin/datacenters/3/storage/devices/4" \ -H "Content-type:application/xml" \ -H "Accept:application/xml" \ -d @storage_device_creation.xml \ -u admin:xabiquo | xmlindent -f
d347ff36999a8e22d13ee76a16cc5f39f6fe31a6
1,575
#!/bin/bash ######################################################################## ## ## Copyright 2015 PMC-Sierra, Inc. ## ## 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.ap...
12e27e970182ebaf402e9677ca105299eff813e3
121
#!/bin/bash docker run -u ${UID}:${GID} --rm -v /storage:/storage --name=${USER}_apsim79 apsim-classic:79 Apsim.exe "$@"
fcfa9bfb73032a5f8ce0babcdbaa184e4d817d9d
185
#!/bin/sh while ! curl http://frontend.test:8081/health do echo "waiting" sleep 1 done while ! curl http://backend.test:9000/health do echo "waiting" sleep 1 done
987d2a238cdf7ed87d977471c7f261380725d66d
9,431
#!/bin/bash -ex # Deprecated by the top-level Makefile # Scaling factor scale=3 # General text encoding encoding=SHIFT-JIS # Character layer txt file encoding layer_encoding=UTF-16LE make_cpu_args="-j10 --no-builtin-rules" make_gpu_args="-j3 --no-builtin-rules" # https://github.com/lltcggie/waifu2x-caffe waifu2x=/mn...
e3da8fa83b94bf57a5fafb418c9dd0b9af0f2566
270
#!/usr/bin/env bash is_PNG_file() { fileName=$1; if [ "PNG" == ${fileName##*.} ]; then return 0; else return 1; fi } for fileName in ./*; do if is_PNG_file $fileName; then echo $fileName; mv $fileName ${fileName/.PNG/.png}; fi done
511b1ec8f51db904c95f7e34826c29393b9b0651
673
#!/bin/bash function terraformInit { # Gather the output of `terraform init`. echo "init: info: initializing Terraform configuration in ${tfWorkingDir}" initOutput=$(terraform init -input=false ${*} 2>&1) initExitCode=${?} # Exit code of 0 indicates success. Print the output and exit. if [ ${initExitCode}...
347ce7d48858b6d4f133d1139b66df193896d6eb
230
#!/bin/bash n=${2:-100} mkdir -p unlabeled echo "Number to download: $n" for ((i=0;i<$n;i++)) do echo "Downloading image: $i" wget "https://www.katasterportal.sk/kapor/Captcha.jpg" -O unlabeled/cap_$i.jpg done;
b54d0f3ed86a792c363e3934aeea68e9510c7a06
95
#!/bin/bash set -e -x javac Game.java View.java Controller.java Model.java Tube.java Json.java
ac98d803e89e59d9c54b685c7b77a2c9f7107195
42
alias c='clear' alias dc='docker-compose'
66bef453b91ec5a0e6c66a837adc2051e2bc2616
192
#! /bin/bash NUM=4 NUMMAX=100000000 for i in `seq 1 `; do ./main $i $NUMMAX 0 done for i in `seq 1 `; do ./main $i $NUMMAX 1 done for i in `seq 1 `; do ./main $i $NUMMAX 2 done
35dcd1a00b6449d71cfb8501e164bc32dd9f7379
749
#!/bin/bash homedir=`rospack find rr_openrover_pro` ret=$? if [ $ret -ne 0 ] ; then echo "rr_openrover_pro not in path, make sure it is in the ROS_PACKAGE_PATH" exit -1 fi cd $homedir/src progname=RobotROSInterface if [ ! -f $progname.java ] ; then echo "No $progname.java file found, error in installation.....
f7a5f8382556368197da544c7ea30409fe33c24d
328
#!/usr/bin/env bash BASE_FOLDER="repos" ORG_NAME="codacy" meta init --force mkdir -p "$BASE_FOLDER" # Outputs the repositories to .repos.txt in format: [repo] [url] node update_repo_list.js "$ORG_NAME" "$BASE_FOLDER" # Imports every repository fetched from update_repo_list.js cat .repos.txt | xargs -L1 meta project...
04c30bbdbb9e3f2ca0a29939b658bba7ba017801
5,171
#!/usr/bin/env bash echo -e "\033[1;32m S T A R T O F P R O G R A M " echo adjust_jan_spec_from_T63.sh echo -e "\033[0m" read -r -d '' usage <<'EOF' This script regenerates a T63L47_jan_spec.nc input file from an existing T63 simulation in order to cope with adapted orography Requirements: $1 <EXPID>_echam6_ec...
49ef96645972f30bf5ff699408082b93f3a7c6a3
103
gcc -g -o fc fc3.c SFont.c -I/usr/share/gcc/wrt/usr/include/SDL -lSDL -lSDL_image -DZIPIT_Z2 -pthread
6843d46c0864273c3c5555b4ba5cf4e95a0c3d80
141
#!/bin/bash # redirecting file input exec 0< testfile count=1 while read line do echo "Line #$count: $line" count=$[$count + 1] done
0dffaa15ae495554666fc3278a40d9bf94725863
287
#!/bin/sh echo "enter first filename" read first echo "enter second filename" read second set x=" ls -1 $first " fir=$1 set x=" ls -1 $second " sec=$1 if [ $fir -eq $sec ] then echo "commom permission" echo $fir $sec else echo "no common permission" echo "$first:$fir\n $second:$sec" fi
0ee7e104fd176f20b9160b5c6627a58dc5b6cc5b
1,358
#!/bin/bash # This script installs developer stuff on OS X. xcode-select --install # install homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" brew tap dandavison/delta https://github.com/dandavison/delta brew install \ asciinema \ bash \ bat \ coreutils...
cc6b9ed4176f6d7a06be25028bd21f9e256d125d
23,833
#!/bin/bash #SBATCH --ntasks=1 #SBATCH --job-name=DF_pooled-varscan_bedfile_0027 #SBATCH --time='7-00:00:00' #SBATCH --mem=1000M #SBATCH --output=DF_pooled-varscan_bedfile_0027_%j.out # run VarScan (v.2.4.2) module load java module load samtools/1.9 samtools view -b -L /scratch/lindb/DF_2018_12_edit/bedfiles_DF_ref_ed...
2d69f28b81df2dfe153d2d9d2288b137a79741e9
71
#!/bin/bash # script that sends a Get request to the url curl -sL "$1"
0b295faeb89ff3bf396b9519265397c4eb7bb99e
481
#!/bin/sh php bin/magento maintenance:enable rm -rf pub/static/* rm -rf var/cache/* rm -rf var/view_preprocessed/* rm -rf var/generation/* rm -rf var/page_cache/* rm -rf var/di/* php bin/magento deploy:mode:set developer php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento indexer:reindex php...
3a88501ff1710bb9ba4d297665a129b13f35989d
424
#!/bin/sh LOGFILE=~/log/uscode.log touch $LOGFILE date >> $LOGFILE cd ~/sources/uscode git pull -q origin master rm -rf code python /home/shawn/sources/uscode/src/retrieve_code.py . >> $LOGFILE git add code >> $LOGFILE DIFFLOG=`git status --porcelain` if [ ! -z "$DIFFLOG" ]; then echo "$DIFFLOG" >> $LOGFILE git...
15b0b741599694ca35b9bc01bc5dc0231faf71a2
1,081
#!/usr/bin/env bash # add to [[runner]] # pre_clone_script = "umask 0022" # then cleanup runner caches & volumes DRYRUN=${DRYRUN-} VOLUMEPATTERN="${VOLUMEPATTERN:-gitlab.*runner}" JQ="jq -M" vv() { echo "$@">&2 "$@" } drvv() { echo "$@">&2 if [[ -z $DRYRUN ]];then "$@" fi } RUNNER_CACHE_CO...
be9631bad7fc7acf0c75d74a0c169443b9e8b02a
347
#!/bin/bash set -e cp -r /input /build/source && chown -R build: /build/source cd /tmp && mk-build-deps -i -r /build/source/debian/control cd /build/source && sudo -E -u build debuild -us -uc -b OWNER=$(stat -c %u:%g /output) && \ find /build -maxdepth 1 -type f \ -execdir cp -f -t /output '{}' \; \ -execdir chown...
0c764e8980b87f3c37972c7a25ad2f46db51bcc9
4,264
#!/bin/bash # Stop at any error, show all commands set -exuo pipefail if [ "${MANYLINUX_BUILD_FRONTEND:-}" == "" ]; then MANYLINUX_BUILD_FRONTEND="docker-buildx" fi # Export variable needed by 'docker build --build-arg' export POLICY export PLATFORM # get docker default multiarch image prefix for PLATFORM if [ "${...
dc31e4e7a16161d666a45467cb9abd1be31ac2ee
11,674
#!/bin/bash # Copyright (C) 2021 Nippon Telegraph and Telephone Corporation # All Rights Reserved. # # 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/licens...
8ff9c28363d168ba7aef2edd8ef93db9a0e3a752
6,674
#!/bin/bash set -e echo "" echo "" echo " ██████████ " echo " ░░███░░░░███ " echo " █████████████ ████████ ░███ ░░███ ██████ █████ █████ █████ " echo "░░███░░███░░███ ░░███░░███ ░███ ░███ ███...
abe9f68c71ac3312ecb2ddb33dbcad348249196f
965
#!/bin/bash #Ejercicio propuesto pratica 1 SO - Valentin Blanco Gomez y Antonio Calvo Morata #Comprueba el # de parametros if [ $# != 1 ] ; then echo "Uso: ./quien.sh fichero_de_passwd" 1>&2 exit 1 fi #Comprueba el fichero password if [ ! -f "$1" ] ; then echo "El fichero $1 no existe o no es regular." 1>&2 exit ...
ab5297131e05c9e27eb22971096b64e38fcbeada
319
#!/bin/bash conductor_help() { echo "Usage: builder conductor [sub-command]" echo "You must use on of the following sub-commands:" echo " help - to print this help message" } conductor() { case $1 in help) conductor_help ;; *) echo "Unknown or ansent command." echo conductor_help ;; esac }
a0bf2ba7c9779fd88816a9014b716c4cfb8c7754
2,499
sudo apt-get update -y sudo apt-get install nodejs nodejs curl -sL https://deb.nodesource.com/setup | sudo bash - sudo apt-get install nodejs npm sudo apt-get update -y sudo apt-get install npm sudo apt-get uninstall nodejs sudo apt-get install nodejs nodejs vi server.js ls nodejs server.js vi server.js ls vi index.htm...
ebfd1f75bf254820d24fa7e4624aec49f544386b
1,007
#!/bin/bash if [ ! -f .vscode/sftp.json ]; then echo "# Visual Studio Code SFTP config not found (.vscode/sftp.json)"; exit fi parse() { grep $1 .vscode/sftp.json | awk {'print $2'} | sed 's/"//g' | sed 's/,//g' } jotform() { echo " _ _ ___ " echo " _ | |___| |_| __|__ _ _ _ __ " ec...
dad16d81cfb290f146f91fc89aef05cf5ce7994b
2,595
# GIT heart FZF # ------------- is_in_git_repo() { git rev-parse HEAD > /dev/null 2>&1 } fzf-down() { fzf --height 50% "$@" --border } function fzgc() { is_in_git_repo || return command git -c color.status=always status --short | fzf-down -m --ansi --nth 2..,.. --preview-window right:70% \ --preview '(...
72bba8c0a272e0f8332c94105ff875062821dec5
4,368
#!/usr/bin/env bash # Don't run as root, messes with permissions of installs # first run (Uncomment): #install xcode-cli-tools #xcode-select --install #echo -n "Installing homebrew..." #/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" #echo ' DONE!' # install caskro...
7b7eb653071b7ea3fe707e24ff328db03b583876
168
#!/bin/bash -e if [ -z "$APP_NAME" ]; then echo "APP_NAME not set" >&2 exit 1 fi if [ -z "$CCTRL_HOST" ]; then echo "CCTRL_HOST not set" >&2 exit 1 fi
6f726f61721f805f326eb50c7a976d963583b4c1
109
#!/bin/bash # shellcheck source=/dev/null # # ~/.bash_profile [[ -f "$HOME/.bashrc" ]] && . "$HOME/.bashrc"
55d1954b3df7e00bac9fa971d4b8b4d41a0747cd
313
#!/bin/bash echo " XSS Scanning" python Module/XssPy.py -u $TARGET -v echo "XSS Scanning Finished" echo "════════════════════════════════════════════════════════════════"
af1f06cacbd1e831954c1b2a748cc653c073bcd2
14,121
#!/bin/sh ###################################################################### # # @file moab.sh # # @brief Build information for moab. # # @version $Rev$ $Date$ # # Copyright &copy; 2012-2017, Tech-X Corporation, Boulder, CO. # See LICENSE file (EclipseLicense.txt) for conditions of use. # #####################...
51dd9b1dce79182105acaa69090a56037b31cc76
1,260
#!/bin/bash set -e # exit with nonzero exit code if anything fails # inside this git repo we'll pretend to be a new user git config user.name "Travis CI" git config user.email "defrancea@gmail.com" # The first and only commit to this new Git repo contains all the # files present with the commit message "Deploy to Git...
f30fd588543a3ba829cc52a9525a43e1fc00ceeb
314
# shellcheck shell=zsh # Load plugin plugin_dir=${ZPLUGDIR}/zsh-you-should-use if [[ ! -e ${plugin_dir} ]]; then git clone --depth=1 https://github.com/MichaelAquilina/zsh-you-should-use.git ${plugin_dir} zcompile-many ${plugin_dir}/you-should-use.plugin.zsh fi source ${plugin_dir}/you-should-use.plugin.zsh
3194f28cecd7f9376c2417b32fb4d7a77d413526
282
# Scrubbed by Glitch 2020-02-09T16:43:19+0000 # Scrubbed by Glitch 2020-02-23T04:52:20+0000 # Scrubbed by Glitch 2020-02-24T18:30:21+0000 # Scrubbed by Glitch 2020-08-04T15:13:28+0000 # Scrubbed by Glitch 2020-09-18T00:08:09+0000 # Scrubbed by Glitch 2020-09-21T12:49:41+0000
a3df8acd3a5fa2b46466fac551244a48670184ff
4,897
# Using Debian GNU/Linux 10 (buster) # Create local SSD file system and mount sudo mkfs.ext4 -F /dev/nvme0n1 sudo mkdir -p /mnt/disks/nvme0n1 sudo mount /dev/nvme0n1 /mnt/disks/nvme0n1 sudo chmod a+w /mnt/disks/nvme0n1 cd /mnt/disks/nvme0n1 # Update sudo apt-get update sudo apt-get -y upgrade ##### Testing gsutil wi...
b5e1baa13e590b7cd02caaa7d5e91f60e100bc3f
59
#!/usr/bin/env bash . ./init minikube -p "$PROFILE" "$@"
c052db84689899ad6b2130c306edcae90d673432
2,397
#!/bin/bash ####################################################################### ### EDIT THESE PATHS FOR YOUR OWN SETUP ### ####################################################################### # The left4dead2 directory of your server L4D2_DIR="$HOME/Steam/steamapps/common/Left 4 De...
b863830e47931a4b99c9830ab6942398396e3967
461
#!/bin/bash if [ "$(id -u)" -ne 0 ]; then echo "Must be run as root." exit fi TARGET=/var/tmp/azuredatastudio.deb REGEX="\[linux-deb\]: ([a-z0-9:?=\.\/]*)\\\r" CONTENT=$(curl -s https://api.github.com/repos/microsoft/azuredatastudio/releases/latest) if [[ $CONTENT =~ $REGEX ]]; then echo "Downloading deb ...
763f30ca77069c838fbcb81f2ef74706926d7467
345
#!/bin/bash TEST_FILE=kaliimitko if [ ! -f "$TEST_FILE" ]; then echo "Binary file is not available, creating..." && gcc -g kaliimitko.c -o $TEST_FILE fi check_status() { if [ "$STATUS" -ne "0" ] then echo "ERROR! OH NO, IT IS GONNA BLOW!" else echo "ALL GOOD, MOVE ALONG!" fi } ./$TEST_FILE STATUS=$? && ch...
7984453b16741bb8f9733e75201091e6f9285988
1,328
#!/bin/bash # Shell 算术运算 # 计算 1 + 2 + 3...+n的和,可以使用n*(n+1)/2 公式快速计算结果 read -p "请输入一个正整数:" num sum=$[num*(num+1)/2] echo -e "\033[32m$num以内整数的总和是:$sum\033[0m" # 使用三角形的底边和高计算面积:A=1/2 * bottom * height read -p "请输入三角形底边长度:" bottom read -p "请输入三角形高度:" height A=$(echo "scale=1;1/2*$bottom*$height" | bc) echo -e "\033[32...
d15bca25a87bd2e269508be9c3fecdb3f8022479
638
#!/bin/bash echo -e "9. Escreva um Shell Script que receba um diretório como argumento (ou parâmetro). \nSe o argumento não for um diretório, mostre a mensagem: "O argumento _ não é um diretório!". Se o argumento for um diretório, \nconte quantos arquivos existem nele e mostre a seguinte mensagem: "O _ tem _ arquivos....
c61c0e6deb4b34f60406abc2e62682d29046d4ee
11,930
#!/bin/bash #Database credentials MASTER_DB_USER='pi' MASTER_DB_PASSWD='mitUnix06' MASTER_DB_PORT='3160' MASTER_DB_HOST='localhost' MASTER_DB_NAME='qr' #Temp file tmp_file=$(mktemp /tmp/tempXXX) trap "rm -f $tmp_file" 0 1 2 5 15 #Global variables DAY="" #Input from do_schedule FN="" LN="" MN="" SN="" EM="" SS="" SE...
64baf82a9f3264d1a277605691e6deb5d70a0bd1
92
#!/usr/bin/env bash /usr/local/opt/postgresql@13/bin/pg_ctl -D /usr/local/var/postgres start
033290e24004028ceb1b08275160e0d4dceda3f0
2,564
#!/usr/bin/env bash # Tool to build the TensorFlow Text pip package. # # Usage: # bazel build oss_scripts/pip_package:build_pip_package # bazel-bin/oss_scripts/build_pip_package # # Arguments: # output_dir: An output directory. Defaults to `/tmp/tensorflow_text_pkg`. set -e # fail and exit on any command errori...
195d6a2b51d4978cefbb0f2cd968a7e5f640c363
868
#!/bin/bash export PW=`cat password` . gen-functions.sh rm *.crt rm *.p12 rm *.pem ./genca.sh ## some server certificates createExampleECKeySet "one" "serverAuth" "DNS:one.example.com,DNS:example.com" createExampleECKeySet "two" "serverAuth" "DNS:two.example.com,DNS:example.com" createExampleECKeySet "island" "ser...
0bc2f65605e897f87ee494526e440c52ce9295f9
3,587
#!/bin/sh prm1=${1-0} gnuplot << EOP ps = $prm1; phys_app = 0; f_s = 24; l_w = 2; if (ps == 0) \ set terminal x11; \ else if (ps == 1) \ set terminal postscript enhanced color solid lw l_w "Times-Roman" f_s; \ ext = "ps"; \ else if (ps == 2) \ set terminal postscript eps enhanced color solid lw l_w "Times-R...
71adf33bec7f5e2f882ff6e9e237313c3758a273
384
#!/bin/bash python3 -m pip uninstall torch python3 -m pip install \ https://download.pytorch.org/whl/cu90/torch-1.1.0-cp36-cp36m-linux_x86_64.whl \ https://download.pytorch.org/whl/cu90/torchvision-0.3.0-cp36-cp36m-manylinux1_x86_64.whl \ https://download.pytorch.org/whl/torchaudio-0.3.0-cp36-cp36m-manylinux1_x86_64.w...
10cd3ffe83e837b2bb24ed123e3051cab901d799
376
#!/bin/bash set -e set -o pipefail controllergen="$(go env GOBIN)/controller-gen" PKG=sigs.k8s.io/controller-tools/cmd/controller-gen@v0.6.2 if [ ! -e "$controllergen" ] then echo "Getting $PKG" go install $PKG fi echo "using $controllergen" "$controllergen" \ crd \ schemapatch:manifests=./artifacts/crds \...
b486fe53a3bde9e6b90e2822d7f08d3f5d20fa28
717
#!/bin/bash # madsack epaper grabber v2 # Download the E-Paper for HAZ (Hannoversche Allgemeine Zeitung) with an account # # "THE BEER-WARE LICENSE" (Revision 42): # <hazepaper -at- robertweidlich -dot- de> wrote this file. As long as you # retain this notice you can do whatever you want with this stuff. If we meet # ...
0a4c3f4bf919d763057cead815e568a991cc1968
2,923
folder=$1 expname=$2 py=python3 #n=$(nproc) n=6 #target fps fps=20 # to convert aistpp to BVH with mixamo skeleton #mpirun -n $n $py feature_extraction/process_aistpp.py $@ --fps 60 # this fps is the source fps of aistpp which is 60Hz # code for Rotmat representation for AISTPP #mpirun -n $n $py ./scripts/feature_e...
6f57ed3b7beff9dfe6dbdf2d395d0637121a870e
53
#!/bin/bash cd /opt/frozensynapse ./FrozenSynapse $@
17c287fc4820b891f440217a46e41b27b6cda2ba
188
# Start Consul and our backend services - redis, backend - as docker containers # The number of Consul instances should be above a quorum of three docker-compose -p ce up --scale consul=3
71fa53ef66909564a1978285e20a5e127a51c9ea
106
#!/bin/sh /usr/bin/chromium \ --profile-directory=Default \ --app-id=pkclgpgponpjmpfokoepglboejdobkpl
bc572291923d281dd328f677f8ad87e514c1f4e2
787
#!/bin/sh set -e sed -n '/^wordlets = {$/,/^}$/s/^[[:space:]]\{1,\}//p' tool/abbr.py | while read -r wordlet; do sed "/${wordlet}/d" tool/abbr.py >abbr1.py cat [0-9]*.c grammar | python3 abbr1.py | grep -q '^\[]$' && echo delete "${wordlet}" { echo "${wordlet}" | tr '[:lower:]' '[:upper:]'; echo "$(echo "${wordlet}" | ...
229673cd2bec4def23f4f3b7a57424f45113e162
226
repo="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" export PYTHONPATH="$repo/python:$PYTHONPATH" export PYTHONPATH="$repo/submodules/trackdat/python:$PYTHONPATH" export PYTHONPATH="$repo/submodules/slurmproc:$PYTHONPATH"
cfe32b8d7ee963f4a2b2a60002ad67edee374391
539
pkgname=gnotepad pkgver=1.0.8 pkgrel=1 epoch= pkgdesc="GNotepad" arch=(x86_64) url="" license=('GPL') depends=('gtk-old') source=( "https://download.gnome.org/desktop/1.0/1.0/sources/gnotepad%2B-1.0.8.tar.gz" ) md5sums=('7366f8dafdcfea1076cea9c14ace852c') prepare() { cd "gnotepad+-$pkgver" } build() { cd "gnotepad...
868108d40aca4138b44248fce37a2472c896dddc
530
#!/bin/bash set -e # Set this to your Slack webhook URL SLACK_WEBHOOK="" INTERVAL="${INTERVAL:-300}" log() { echo "[$(date '+%T')] $*" } while :; do log "Searching for available timeslot..." RESULT=$(pipenv run ./curbguide.py "$@") echo "$RESULT" COUNT=$(grep -c "N/A" <<<"$RESULT") if [[ "$...
936be9359aaad370e8c7f049fb77e68e85840370
785
#!/bin/sh # chkconfig: 2345 95 5 # description: crawler for keyakizaka46 matome feed entries # processname: crawler_entries NAME="[ matomefeeds crawler ]" APP_ROOT_DIR="/var/www/app" PID="/var/www/app/tmp/pids/crawler_matomefeeds.pid" CMD="ruby crawler_matomefeeds.rb" USER=root start() { if [ -e $PID ]; then ec...
adcac3d6b5941fa0a0bbe64c7141047d2bfbf694
3,254
# !/bin/bash # sortmedias.sh catches files and directory uploaded and moved into # PATH_REPOSITORY and send them individually to sortmediafile.sh, which must # be located in the same directory. # Execute 'incrontab -e' in your terminal then add one line in the opened # file to put in the content of the following quota...
20fc7826e39dbeef48cef7f8dd72adff7325b1c4
1,894
dir_pre="/home" if [ `uname` == "Darwin" ] then dir_pre="/Users" echo "Darwin env" else echo "other env" fi root_dir="$dir_pre/$USER/shell_my/unexeshell/config" RED='\033[0;31m' NC='\033[0m' echo "try config all config...." echo "1: config git config....." echo "try remove exist file...." rm ~/.gitconfig rm ~/.gi...
2d01015804beb260672ec9ad17a1d38ac079bc95
640
#!/usr/bin/env bash #kvm-ok (cpu-checker instlal) CHECK_KOK=$(which kvm-ok) if [[ $?=!"0" ]] then sudo apt install -y cpu-checker else echo "kvm-ok(cpu-checker) installed" fi kvm-ok > /dev/null 2>&1 if [[ $?=="0" ]] then echo "Using kvm is possible" echo "Installing kvm related packages!" sudo apt inst...
2a9a590d996f49e2801ce9147bb88724fd591371
1,423
#!/bin/bash # Solano CI pre_hook setup hook - Ensure dependencies are installed # See http://docs.solanolabs.com/Setup/setup-hooks/ set -e # Exit on error export PATH=/usr/lib/erlang/bin:/usr/lib/elixir/bin:$PATH # Ensure specific version of erlang is installed ERLANG_VER=`erl -eval 'erlang:display(erlang:system_in...
19e98abf6476afed1c1900008cfbb6030d5f1efa
147
#!/usr/bin/env sh REMOTE_HOST=$1 REMOTE_USER=$2 DIR="$(dirname $0)" BRANCH=staging source $DIR/deploy.sh deploy $REMOTE_HOST $REMOTE_USER $BRANCH
2bc44cbf2473925a5796fb30f50e8ec12f38a352
86
#include <iostream> #define _CRT_SECURE_NO_WARNINGS using namespace std; void goAtk();
5e195e8c5d04e234a57f2e2c6ca0ef4fc37ab847
437
DB_HOST=fwebdev.xyz DB_USER=farrel DB_NAME=farrel_vehicle-rental DB_PASS=farrel1234# DB_PORT=1234 PORT=4000 BASE_URL=https://cirlce-conn-rental-vehicle.herokuapp.com FRONT_URL=https://rental-next.vercel.app SECRET_KEY=645b554ec14d2d15c1084ee6453ade77 RENTAL_EMAIL=circle.connect.0...
d707b25ad47fd0fd2a7d7b3414e71ea65e78cc62
295
ARTICLES_NYT=https://api.nytimes.com/svc/search/v2/articlesearch.json BOOKS_HC_NYT=https://api.nytimes.com/svc/books/v3/lists/current/hardcover-fiction.json BOOKS_EB_NYT=https://api.nytimes.com/svc/books/v3/lists/current/e-book-fiction.json API_KEY=UburdE5f9iH4GE2rst5DQRAv08PTauvL TIMEOUT=5000
8e5701625e49dd88971db44d630593be97bf66d1
135
if [ -z "$1" ]; then echo "email argument not set" exit 1 fi curl -d "to=$1&code=passcode" -X POST http://localhost:8002/send
80424385bd9fda39e8d9605b132894d7552b7647
1,817
#!/usr/bin/env bash # Requires Python and pip to be installed # You must have postgresql installed. # https://devcenter.heroku.com/articles/heroku-postgresql#local-setup dropdb namubufferi-local-test createdb namubufferi-local-test # Get heroku config vars. # https://devcenter.heroku.com/articles/heroku-local#set-up-...
deddab5d03cfc7ab9097fdc3ed566e2fac5df7e1
176
sta=$(netstat -lpn |grep 3023) echo $sta str=$(echo $sta|awk '{print $7}') echo $str str2=${str:0: -5} echo $str2 if [ -z $str2 ];then echo "dead" else kill -9 $str2 fi
376c3c7306d56814970ae0acfefbeca0fab6ad77
535
module load cmake/3.10.2 module load gcc/8.3.0 module load tiff/gcc/4.0.7 outputFolder=/archive/bioinformatics/Danuser_lab/softwareDevelopment/analysis/proudot/cytodi-OF3D/analysis/flowScopTest/ mkdir $outputFolder # Compute flow ../flowscope/CSL2/build/CTvar -s ../mv3blebbing/1_CAM01_000004.tif -t ../mv3blebbing/1_...
729b2e7bcfd29e0b597308de388909b9de23f4bb
780
# shellcheck disable=SC2034 BEE_ORIGIN="file://${BATS_TEST_TMPDIR}/testbee" BEE_LATEST_VERSION_PATH="file://${BATS_TEST_DIRNAME}/fixtures/testversion.txt" declare -ig BEE_LATEST_VERSION_CACHE_EXPIRE=3 declare -ig BEE_HUB_PULL_COOLDOWN=999 BEE_HUBS=( "file://${BATS_TEST_TMPDIR}/testhub" "file://${BATS_TEST_TMPDIR}/o...
8620536a087401e8c18524043192726d48b4eec2
89
# Apply database migrations echo "Apply database migrations" python2.7 manage.py migrate
02ccf46bffb61a2ec1593a16b16285b7419784ff
1,154
#!/usr/bin/env bash # Test a release wheel in a fresh conda environment with and without installed # extensions # initialize the shell set -ex . $(conda info --base)/etc/profile.d/conda.sh JLAB_TEST_ENV="${CONDA_DEFAULT_ENV}_test" TEST_DIR=$(mktemp -d -t ${JLAB_TEST_ENV}XXXXX) conda create --override-channels --str...
778976bd14b495c4e327d8064ec8ec7a7450c1d3
2,748
#!/usr/bin/env bash set -Eeo pipefail cd "$RAPIDS_HOME" #### # Merge the rapids projects' envs into one rapids.yml environment file #### cat << EOF > rapids.yml name: rapids channels: - rapidsai - nvidia - rapidsai-nightly - conda-forge - defaults dependencies: - cmake>=3.17.0,<3.18 - cmake_setuptools - python=${PYT...
d4581cb604115acc52e7da7f56b4ce8b85863c09
3,416
#!/usr/bin/env bash set -eo pipefail function check_brew() { if [ ! -x "$(which brew)" ]; then # Install brew if missing /usr/bin/ruby -e \ "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" if [ ! $? -eq 0 ]; then return 1 fi...
777f1ff5dd569797304274676e378ca9c9081270
637
#!/bin/bash # This script is necessary because arduino-ci-script's check_keywords_txt's reference link check feature requires environment variables set by set_application_folder and install_ide but when those functions are run they are in a separate bash session so those environment variables are lost. Therefore this k...
13e18ddcfa3ef56a6f67c5b9a1e94f879e423a6e
664
prompt_color="\[${style[reset]}${style[bold]}\]" session_color="\[${style[reset]}${colors[light-gray]}\]" user_color="\[${style[bold]}${colors[dark-gray]}\]" host_color="\[${style[bold]}${colors[dark-gray]}\]" path_color="\[${style[reset]}${colors[blue]}\]" end_of_prompt="\[${style[reset]}\]" if [ "$SESSION_TYPE" == "...
54018674e66536c55ebf2ce488b86a6d7e1426f3
203
#!/bin/sh while getopts f:rd: option do case "${option}" in f) LOCALFILE=${OPTARG};; rd) REMOTEFOLDER=${OPTARG};; esac done scp -P portnumber -i id_rsa $LOCALFILE username@remoteAddress:"$REMOTEFOLDER"
3087d7337be4492f6b01207ee8b1a8d5fa6b48a8
172
curl -d @$1 -H "X-Auth-Token: $2" -H "Content-type: application/json" -H "User-agent: Tinder/7.5.3 (iPhone; iOS 10.3.2; Scale/2.00)" -X GET https://api.gotinder.com/profile
18c44d87dd2395ed3f19d9137c176814284a5c5d
1,916
#!/usr/bin/env sh # generated from catkin/python/catkin/environment_cache.py # based on a snapshot of the environment before and after calling the setup script # it emulates the modifications of the setup script without recurring computations # new environment variables export CMAKE_PREFIX_PATH="/home/josebrito/catki...
6c6472d0c115acf9d025ef3479416aedb320c4c1
769
#!/bin/bash -l #$ -S /bin/bash #$ -l h_rt=10:00:0 #$ -l h_vmem=7G #$ -N htseqCount #$ -cwd #$ -j y echo "==========================================================" echo "Starting on : $(date)" echo "Running on node : $(hostname)" echo "Current directory : $(pwd)" echo "Current job ID : $JOB_ID" echo "================...
e948244c05e2402daabf31bf9ac11294a466c817
841
#!/bin/bash export GFSH=/Users/nnag/Downloads/pivotal-gemfire-9.6.0/bin $GFSH/gfsh start locator --name=locator1_1 --port=10444 --properties-file=gemfire.properties $GFSH/gfsh -e "connect --locator=localhost[10444]" -e "start server --name=server1_1 --server-port=10447" $GFSH/gfsh -e "connect --locator=localhost[10...
184e86b616f06111a7f28f41d2e2f4e48c1493ed
5,816
#! /bin/bash # test by having a fluentd forward securely to another fluentd (and not ES) # have that second fluentd send logs to ES # verify the same way we do now (for ES copy) # need to create a custom configmap for both fluentd? if [[ $VERBOSE ]]; then set -ex else set -e VERBOSE= fi set -o nounset set -o pi...
5360fa5539b21126c684dca48a21f1381f4b1922
141
DB_HOST=localhost DB_USERNAME=postgres DB_PASSWORD=postgres DB_DATABASE=wallet DB_PORT=5432 JWT_SECRET = c25a7e79-2b34-4680-b6e3-39d013cc027d