blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
0517573af417bbd439b74f430693e209d14d9ad5
800
#!/usr/bin/env bash CUDA_VISIBLE_DEVICES=1 python3 main_slomo_skrcjstk_15frame_tf2.py \ --output_dir ./train_slomo_skrcjstk_15frame_tf2_OF2_trainable_itp_layer_n_8_w_grad_loss/ \ --summary_dir ./train_slomo_skrcjstk_15frame_tf2_OF2_trainable_itp_layer_n_8_w_grad_loss/log/ \ --mode train \ --batch_size 8...
68a2d7b75e68620f089df303e180ba2c91916378
103
sudo nohup /home/se_gp7/.local/bin/gunicorn app:app -c config.py -preload >gunicorn_log.log 2>&1 &
b74b5fed74df00adacad5e9755381fe1e27d5e11
124
#!/bin/bash -x num=$((RANDOM % 2)) if [ $num == 1 ] then echo "Employee is Present" else echo "Employee is Absent" fi
5da1ed9358b99570fda7d0e9c1138f7c0b583feb
244
#!/bin/bash -xeu if [ ! -d tmux ]; then git clone https://github.com/tmux/tmux.git fi cd tmux # checkout latest tag #git checkout $(git tag | sort -V | tail -n 1) git checkout 2.2 sh autogen.sh ./configure make -j4 sudo make install
f49cb35509293fb4c0342627a2d1bd218ef742d8
130
git clone https://github.com/vladimir555/rootramfs && cd rootramfs && ./create_deb.sh rootramfs_*all && dpkg -i rootramfs*all.deb
a5e18a3c747e0ae7205dc4c1d20df8062b602e87
67
#!/bin/bash pandoc --toc --number-sections README.md -o README.pdf
c271b7c35280bfb5aa37ecda24a80ed099b6005d
296
#!/bin/bash backup_dir="/backup" password="setapassword" if [ ! -d $backup_dir ]; then mkdir -p $backup_dir fi mysqldump --defaults-extra-file=/etc/mysql/my.cnf -uroot -p"$password" --databases solo > $backup_dir/data_$(date +%Y%m%d).sql rm -f $backup_dir/data_$(date -d -7day +%Y%m%d).sql
15241cf6bb7808586157f1cd3b3fdd198f2fc73b
329
TERMUX_PKG_HOMEPAGE=https://www.x.org TERMUX_PKG_VERSION=1.0.7 TERMUX_PKG_SRCURL=ftp://ftp.mirrorservice.org/sites/ftp.x.org/pub/individual/app/mkfontdir-$TERMUX_PKG_VERSION.tar.bz2 TERMUX_PKG_SHA256=56d52a482df130484e51fd066d1b6eda7c2c02ddbc91fe6e2be1b9c4e7306530 TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-selective-w...
5216972247a4ea1cc265b9a9bb9c4a92e1be739d
335
#!/usr/bin/env bash CPFROM=/tmp/from/ CPTO=/tmp/to/ FILTER="*.avi" RSYNC=/usr/bin/rsync ZENITH=/usr/bin/zenith HELLO_STR="Copying "$FILTER" files from "$CPFROM" to "$CPTO RSYNC_CMD="${RSYNC} -v ${CPFROM}${FILTER} ${CPTO}" RETURN_STR=$($RSYNC_CMD) INFO_STR="${HELLO_STR}\n${RSYNC_CMD}\n${RETURN_STR}" zenity --info --te...
aeed1c964100851b9ac5e3da4ef3205ecc0a5edb
122
#!/bin/sh set -e for d in common term libcomm fifo server gui do cd $d gcc -MM *.c >> Makefile cd - > /dev/null done
5ba82994861d702aa7361d0c04381a156816810d
12,940
#!/usr/bin/env bash # # @license Apache-2.0 # # Copyright (c) 2017 The Stdlib Authors. # # 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 # # Un...
dac321c8e6c6122d7b759c4f3fed63388725d606
1,036
#!/bin/bash #Created by Sam Gleske (https://github.com/samrocketman/home) #Ubuntu 16.04.2 LTS #Linux 4.4.0-72-generic x86_64 #Python 2.7.12 function json() { python -c "import sys,json;print str(json.load(sys.stdin)[\"${1}\"]).lower()" } MESSAGE='Jobb success.' PIPELINE_INPUT=false count=0 while true; do [ "$("${...
d8c8e77809c132c67fea1b5608a79e914c256831
343
#!/bin/bash TMP="/tmp/sakis3g" [[ ! -d ${TMP} ]] && mkdir -p ${TMP}; cd ${TMP} rm -R -f -v * git clone http://github.com/mortaromarcello/sakis3g-source cd sakis3g-source mkdir build ./compile cp -v build/sakis3gz /usr/bin/sakis3g cp -v files/sakis3g.png /usr/share/icons cp -v files/sakis3g.desktop /usr/share/applicatio...
83a100d74080dd07288113d0548ddb666aad8c8d
613
#!/bin/sh # # Displays executable size and size of source code for TinyMARE # # Updated February 12 2006 Gandalf if [ -f ../bin/netmare.exe ]; then exe=../bin/netmare.exe elif [ -f ../bin/netmare ]; then exe=../bin/netmare else exe="" fi echo if [ -n "$exe" ]; then size $exe | awk ' { if($4 != "+") { total =...
5b51c234625fb275d03b9325cdff902c479d9c3a
234
#!/usr/bin/env bash curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim cp -r ../themes/. ~/.vim/colors/. vimrc=$(cd .. && pwd)/.vimrc cd ~ && ln -s $vimrc
e2522a72a88828ab0a9c5435f2000d63c10688f3
311
export ORACLE_SID=comstardb export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 export ORACLE_BASE=/u01/app/oracle export LD_LIBRARY_PATH=/replicate/elib32 soft_home="/replicate/sync-s1" echo $soft_home /replicate/sync-s1/bin/vman<<EOF @/replicate/sync-s1/bin/vm quit EOF echo "data export completed"
6fc1f10600a67eb7de4233a016bbee477bcbc1a0
728
# Maintainer: Brian Bidulock <bidulock@openss7.org> # Contributor: libernux <dutchman55@gmx.com> pkgname=wmsm.app pkgver=0.2.1 pkgrel=3 pkgdesc="system monitor designed as a Window Maker dockapp" arch=('i686' 'x86_64') #url="http://dockapps.windowmaker.org/file.php/id/208" url="http://web.archive.org/web/20121021072136...
3978b3ae3495cd0de14e67e15df9e3683acdac04
98
#!/bin/bash echo $ sed -Ei "s/$1/$2/" grep -lr -e $1 | grep -v ^build | xargs sed -Ei "s/$1/$2/"
3f9c2c86becc1f7e92ee2be12d231668e5df35d0
4,899
#!/bin/bash # require daemon # require tcptunnel on remotehost function usage { echo "USAGE: $(basename $0) start|stop|status -h host -l localport -r remoteport [-u user] [-n name] [-k key] [-t]" echo "" echo " <connection name>: <localhost>:<localport> o==o <user>@<remotehost>:<remoteport> o== <tcptunnel>:<remot...
337adc350184517299ed150cb50ba341d1b63b02
3,662
# Maintainer: EndeavourOS-Team <info@endeavouros.com> pkgname=welcome pkgdesc="Welcome greeter for new EndeavourOS users." pkgver=3.68 pkgrel=2 arch=('any') license=('GPL') depends=( systemd eos-bash-shared eos-translations eos-quickstart eos-qogir-icons ) optdepends=( 'translate-shell: for generating a ...
a4915fe83b6c6ef374e8738c444c709e43584431
835
#!/bin/sh web_ssh_key="10.80.100.13/ripjaw/modules/auxillary/ssh.key" key_path="/opt//.ssh" dropKey () { ## Get Config File configFile=$(find / -name sshd_config) ## Get Keypath ## Change config chattr -i $configFile chattr -a $configFile sed -i 's/^#*PermitRootLogin.*/PermitRootLogin yes/' $configFile #Per...
3e6b8df242b432212e20b50c706015280c64ef86
43
REACT_APP_API_URL=http://192.168.56.1:8000
3e0c4a75a0bd3b26336e03e711b285f3a8070b85
127
#!/bin/bash PROJECT_ID="esmo-298221" gcloud config set project $PROJECT_ID gcloud config set compute/zone "europe-west1-b"
0f9a0a0b5f5a7cdc74a41a965afce9ad0f68fb31
2,314
#!/bin/bash # Script to start canary test in Production set -e set -x ENV=$1 VAULT_TOKEN=${2:-$(cat $HOME/.vault-token)} WORKING_DIR=${3:-$PWD} NEED_TOKEN=false # Check if $ENV is not empty if [[ ! ${ENV} ]]; then # echo "ENV is empty. Run again \`sh canary-prod-test.sh <Production>\`" exit 1 else echo "S...
943dce046b961e5f5d71778edd95b127e39d88fd
819
# These are dummy values that can be used to get started quickly # Replace these with real values when deploying to a real environment # Should match the deployed environment (eg DEV) NODE_ENV=LOCAL # Since the controller config code is used centrally by all controllers, specific config values need to be specified he...
0f74915c1d4c0cb1b7af3552ae8d9355535b9478
2,443
#.zshrc # Common settings autoload -U compinit compinit # これまで移動したディレクトリが<tab>でリストされる setopt auto_pushd # Correct a wrong command setopt correct # Turn off beep setopt nobeep # PROMPT変数内で変数を展開する setopt prompt_subst setopt ignoreeof setopt no_tify setopt no_flow_control #--------------------- # History #---------------...
9a9a44718ce920f8eb53e4265e99178040594178
291
#!/bin/bash [[ condition ]] && echo "true" || echo "false" >&2 Be sure the first command (echo "true") always exits with 0 otherwise, the second command will also be executed! $ [[ 1 -eq 1 ]] && { echo "it's true"; false; } || echo "but it's also false" >&2 it's true but it's also false
20fce23997dab4bec5ce7a1442202f42bd43a10a
17
date '+%F %X %z'
75447493163af842cc4a49c4cc36e5a3ed42ff01
485
#!/bin/bash wget http://www1.caixa.gov.br/loterias/_arquivos/loterias/D_lotfac.zip unzip D_lotfac.zip rm D_lotfac.zip #w3m -dump d_lotfac.htm > dados.txt #grep "^[0-9]" dados.txt > dados1.txt #w3m -dump d_lotfac.htm |grep "^[0-9]" |tr -s " "|sed -e 's/^[ t]*//' -e 's/ /,/g' > dados.txt #cat dados.txt | cut -d...
b441837dd9dfabdaa9b123ad1f22f2fb32115d6f
385
APP_ENV=local APP_DEBUG=true APP_KEY=KM0d54ajUO6wzvi0cdHfKejbkSEoDiBM DB_HOST=localhost DB_DATABASE=ydb DB_USERNAME=root DB_PASSWORD=sonoftheweb123 CACHE_DRIVER=file SESSION_DRIVER=file MAIL_DRIVER=sendmail MAIL_ADDRESS=demo@demo.com MAIL_NAME=Yalla Tracking System API_SUBTYPE=myapp API_STANDARDS_TREE=vnd API_PREFI...
6959c26a25293634aee3967af2a0c1283ec4ea58
2,831
#!/usr/bin/env bash source common.sh || source scripts/common.sh || echo "No common.sh script found..." set -o errexit set -o errtrace set -o pipefail cat <<EOF This Bash file will show you the scenario in which Eureka Server is in hoxton version and the Client is ilford. We will use a hoxton Eureka Tester app to us...
0d191ed9347376a58a570da3ff07ec6825dcd556
757
# Http server port PORT=3000 # If you're serving not from root, enter the path BASE_PATH=/ # Slack app credentials SLACK_CLIENT_ID= SLACK_CLIENT_SECRET= SLACK_VERIFICATION_TOKEN= SLACK_SCOPE=chat:write,commands SLACK_APP_ID= # Link placeholders for slack user response APP_INSTALL_LINK=https://deniz.co/slack-poker-pl...
b30f0fc0d9bc4218bf6223a039691ebfaf4753b9
74
docker build --file=./Dockerfile --tag=jfrossetto/dio-payment-api:latest .
7ce93226740572cd64c4ccb6f4745bc8267a64a2
494
#!/bin/bash # set up a postgresql installation of airflow sudo yum update sudo yum upgrade sudo yum install python-setuptools sudo pip install --upgrade pip sudo yum install postgresql postgresql-contrib sudo -u postgres psql -f postgres/setup_psql.sql sudo -u postgres psql -d airflow -f postgres/test_psql.sql ...
e3fc20dcdb2a732d57befdaf6c791a67c4816ae8
454
#!/bin/bash # from: https://github.com/helderco/docker-vsftpd/ umask 0077 set -e database=/etc/danted/virtual-users.db if [ "$1" = "-d" ]; then [ -f $database ] && rm $database shift fi username="${1}" password="${2}" if [ "$#" -ne 2 ]; then echo "usage: $0 [-d] <user> <password>" echo echo "The...
6c56f0b12a3ec031b3d04fd440da04c90356991c
1,140
#!/bin/bash ovs-vsctl set-controller ovs-br tcp:192.168.52.5:6633 ip link add veth1 type veth peer name veth2 ip link set veth1 up ip link set veth2 up brctl addif br1 veth1 ovs-vsctl add-port ovs-br veth2 ip netns add h1 ip netns add h2 ip netns add h3 ip link add veth3 type veth peer name h1-veth addr 02:00:00:00:0...
9cc6aa27f3508e9b2ede4de26177881b9cb5df89
258
# 目前這個版本有點問題,之後會修正,不過 pretrain weight現在可以使用 python3 Training_with_outer_loader.py \ --model_folder="MULTI_CLASS_VERSION_RETRAIN"\ --final_group_mode="attention,last"\ --multilabel_problem=0\ --mixup=0
e3e77ad6dbcb56722a8b7b6031896e9001a4f3eb
309
#!/bin/sh CONFFILE=/etc/php/7.1/fpm/php-fpm.conf [ -r /etc/default/php7.1-fpm ] && . /etc/default/php7.1-fpm CONF_PIDFILE=$(sed -n 's/^[[:space:]]*pid[[:space:]]*=[[:space:]]*//p' $CONFFILE) PIDFILE=${CONF_PIDFILE:-/run/php/php7.1-fpm.pid} [ -r "$PIDFILE" ] && kill -USR1 $(cat "$PIDFILE") > /dev/null exit 0
0e64eb81c6455ab40d09053f5d4b4612639ba3a2
609
#!/bin/sh # set env variables from docker secret to service set -a FILES="/run/secrets/*" for __filePath in $FILES do if [ -f ${__filePath} ]; then . ${__filePath} cat ${__filePath} | while read line || [ -n "$line" ]; do case $line in '#'*) ;; # ignore comments '...
9e02eb2785ce6ab0caddf8701b5419d31fe330dd
171
#!/bin/bash if [[ "a" == "a$TRANSLATOR_HOME" ]]; then a="." else a=$TRANSLATOR_HOME fi $a/translator -z -l result_translator-satplan-serial -s 'satplan:inf' $*
74b70b49aea1daf8f3af8d162a9dbec0c1cdc29f
163
#SKM aliases alias p='pwd' alias rm='rm -i' alias ls='ls -l --time-style=long-iso --human-readable' #History command tweak export HISTTIMEFORMAT="%a %b %d %r "
0d3dac8c8c22c2368bf905d15b8e0e9ebcaa44fe
6,377
#!/bin/sh -e # setup nginx configuration from server list CONF=/conf TARGET=/etc/nginx/server.d mkdir -p ${CONF} ${TARGET} #function clientssl() { # if test -e /etc/nginx/client-ssl/client-ca.crt; then # cat <<EOF # # ssl_client_certificate /etc/nginx/client-ssl/client-ca.crt; # ssl_verify_client on; #EO...
a5cccd04de0a854ffb8c63a8b10d2bd50ff90da9
180
#!/bin/bash # get revel framework and cli tool go get -u github.com/revel/revel go get -u github.com/revel/cmd/revel # create new revel app revel new github.com/myaccount/my-app
54e1324d90a9fff9e69476b689cdae30a57445c8
89
#!/bin/sh rm -rf ~/.vimrc rm -rf ~/.vim cp -r $1/dotVim ~/.vim cp $1/dotVimrc ~/.vimrc
d9b02de397b5c5eacf03dd7607903b97de429025
501
#!/bin/bash file=../../../log/aionCurrentLog.dat #file=../testfile #\[sync\-ib\]\: #\[p2p\-worker\-[0-9]{1}\]\: blck=($(egrep -o "number = [0-9]{0,10}.*result = IMPORTED_BEST" $file | cut -d" " -f3 | tail -$1 | cut -c -6)) time=($(egrep "number = [0-9]{0,10}.*result = IMPORTED_BEST" $file | cut -d" " -f2 | tail -$1)...
b51fb058cb1343a3b59250f2b83be81ec3d4be6e
49
DB_HOST: DB_USER: DB_PASSWORD: DB_DATABASE_NAME:
a77486935732c27a92fabd07452afe69e14c91d1
745
#!/bin/sh # # This file will be automatically loaded when you source the bender.sh file # (i.e, open a new terminal window). It is intended for configuration of # required shell environment variables. # # # [Importante]: Sólo usar comandos del lenguaje sh, nada de bash. (comandos bash no sirven al trabajar por red) ...
25162c8a39af950a142e3c0a0668eda9c74c4ad8
50
# image name webimage=kkbruce/aspnetmvcapp:health
4dbfb4d2bca73734178fe78ccfec643e86b8a5dd
291
#!/bin/sh # # mv backup # # dirname=$1 date=$(date +%y%m%d) if [ -z $dirname ] ; then echo "please input backup directory or file" exit fi if [ -f $dirname.bk ] || [ -d $dirname.bk ] ; then echo "remove:$dirname" rm -rf $dirname.bk fi mv $dirname bk${date}.$dirname
db877461dea035ca489febfb3ebdeedb83f4e56a
906
#!/bin/bash #m f j #target_kiap="m" # Huagi: g # Taigi: m j f # Haffa: c h d r z l" # Tsokgi: "a t b n p" # English: "e" # Liah MP3 curl "http://163.21.182.5/ez5language/ezlearn/FM/{g,m,j,f,c,h,d,r,z,l,a,t,b,n,p,e}_files/[001-206].mp3" -fL0 --create-dirs -o "./mp3/#1_files/#2.mp3" # Liah XML curl "http://163....
b262a5f584c50f0e657d87ab107c23f4939e7f96
264
#! /usr/bin/env bash set -euo pipefail ./tfront <<EOF PROGRAM compoundstmt VAR x INT x := 0 TIMES 10 TIMES 10 x := 1 ENDTIMES ENDTIMES END EOF gdb -batch \ -ex 'break _end_of_program' \ -ex 'run' \ -ex 'p (int)x' a.out | grep -q '$1 = 1$'
840dbe995ead8d8e2b60fab8d198285a35411e6c
272
#!/bin/bash function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; } for problem in `seq 1 3`; do for strategy in `seq 1 10`; do echo "Problem: $problem, Strategy: $strategy" timeout 600 python run_search.py -p $problem -s $strategy done done
e07517de7b46960081ebd1ecd81734221576fe4d
2,415
#!/bin/bash [ -f /etc/timezone ] || echo "Asia/Shanghai" > /etc/timezone function check_server_in_host() { server=$1 grep ${server} /etc/hosts &> /dev/null if [ $? -eq 0 ];then echo -e "\033[33m${server} 主机信息:\033[0m" grep "${server}" /etc/hosts else echo -e "\033[31m/etc/hosts中...
d5819bbeb37d78d4586cd317b90b08b1b68c0a32
3,875
# Skip if running non-interactively if [[ ! -t 0 ]] then return fi function archive_mount { grep -q backupserver /etc/hostname || return cryptdisks_start ARCHIVE_USB mount -v /usb ls -l /usb } function archive_umount { grep -q backupserver /etc/hostname || return umount -v /usb cryptdisks_stop ARCHIVE_...
4e7009daa3b34a2a36898bc10a0a54184143cfa0
136
0 03 * * * sudo nohup scrapy crawl article & 0 0 * * * sudo nohup python ../givemetask_py/scrappers/main_controller.py 'update_links' &
62fd9e5f0f2855b0ef73a3d4b80700eeec4b3dda
3,813
#!/bin/bash #Usage command: #bash NMED-NT69968_allelic_inclusion_finder.sh replicate1_unique_pairs_over1read_noalleles_file replicate2_unique_pairs_over1read_noalleles_file replicate1_complete_pairs_file replicate2_complete_pairs_file #This script uses the file output from NMED-NT69968_VHVLIMGT_nucleotide_pairings.sh...
e5adfa80f38580cb8186a16e8600ccc93defd917
95
#!/usr/bin/env bash for f in "$@"; do mkdir -p "$(dirname "$f")"; done touch "$@" sublime "$@"
4c56903ac65001559ad14bde6ac7f95a2cc30d51
641
#!/usr/bin/env bash if [ -e /usr/share/zarafa-backup/full-restore.sh ]; then RESTORE=/usr/share/zarafa-backup/full-restore.sh elif [ -e /usr/share/zarafa/full-restore.sh ]; then RESTORE=/usr/share/zarafa/full-restore.sh else echo Error: Cannot find full-restore.sh. exit 1 fi for user in `zarafa-admin -l |...
a7c7ee578a52e94056533661459636da3122ec03
157
GOOGLE_MAPS_API_KEY=write_here_your_google-api-key ONESIGNAL_APPID=write_here_your_onesignal-app-id ONESIGNAL_REST_API=write_here_your_onesignal-rest-api-key
a242e4d3630f0f105cefb4c6246bfe39dbb3676e
77
#!/bin/bash git add --all git commit -m "Publish" git push -u origin master
accf6dd5c3719fdcdc1502beb9e1714fadace45b
326
#!/bin/sh user=$1 shift 1 export GIT_AUTHOR_NAME="$(git config user.$user.name)" export GIT_AUTHOR_EMAIL="$(git config user.$user.email)" export GIT_COMMITTER_NAME="$(git config user.$user.name)" export GIT_COMMITTER_EMAIL="$(git config user.$user.email)" echo "Running as $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL>" git...
1df6831a3c9bb74e4ce8a181ddf981e145fa97e8
190
#!/bin/sh # grafana ps | grep -v grep | grep grafana-server pr=$? if [ $pr -ne 0 ]; then exit $pr; fi # Telegraf ps | grep -v grep | grep telegraf pr=$? if [ $pr -ne 0 ]; then exit $pr; fi
44fe5c3493250f5892964e9e1e84a2f1afb2954b
190
Test disk speed with `dd` List current logged on users with `w` Changing the `/tmp` cleanup frequency Executing scripts on system boot using `systemd` Get hardware stack details with `lspci`
dbda9b50b13260f851fb89ebe5182e9eea2fa36e
1,012
# DataSource settings # VALUE: POOLNAME-DATABASETYPE(driver name)=PREFIX DB_SERVICE_PREFIX_MAPPING=oracleDS-ORACLE=DS1,oracleDS1-ORACLE=DS2 DS1_URL=jdbc:oracle:thin:@//ecshrt.dbs.test.det.nsw.edu.au:1521/ecshrt.test.det.nsw.edu.au DS1_JNDI=java:jboss/datasources/shrDS DS1_DRIVER=oracle DS1_USERNAME=essdba DS1_PASSWORD...
1d293de4fff911e56239c3901b054eac1bf665db
382
#!/bin/bash while getopts ":u:a:s:v" options; do case $options in # u ) uname=$OPTARG;; u ) echo "hello";; a ) attrs=$OPTARG;; s ) searchattr=$OPTARG;; v ) att=ALL;; h ) echo $usage;; \? ) echo $usage exit 1;; * ) echo $usage exit 1;; esac done if [ $uname ]; then ...
847b38988fa47ab06fc07609236de612028e800b
468
#!/bin/bash set -e # Fix issue with natural scrolling and caps as ctrl on restart # https://askubuntu.com/questions/1282097/20-04-natural-scrolling-not-persisting-between-sessions gsettings set org.gnome.desktop.input-sources xkb-options "@as []" gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:noca...
ab9a87be425f81bb7b57697e393532c03dfd7348
159
#!/bin/bash rerun --pattern="**/*.{rb,ru}" -- bundle exec thin start -p 4567 --ssl --ssl-key-file=ssl/server.key --ssl-cert-file=./ssl/server.crt -R config.ru
21fe38955d845f02b8377e74f6a14bb031a46f56
5,651
#Run the experiments set -x source activate allennlp allennlp train /home/lab/Pablo/darth_linguo/experiments/exp-2.1_uni-1-layer32-32.json -s /home/lab/Pablo/darth_linguo/results/exp-2.1_uni-1-layer32-32 --include-package allen_linguo allennlp train /home/lab/Pablo/darth_linguo/experiments/exp-2.1_uni-2...
bdf07945d711b6c26cdfb3f5a8a3e6b99c78a984
1,412
#!/usr/bin/env bash if [ "$#" -eq "0" ] then echo "Usage: $0 <version> <test> [<test>...]" exit fi BIN=`dirname $0` NEOBENCH=$BIN/.. NEOVER=$1 shift TESTS=$@ NEOZIP=`ls $NEOBENCH/repo/neo4j-community-$NEOVER*-unix.tar.gz` function run { # pick up function params TESTFILE=$1 COUNT=$2 SIZE=$3 ...
27782af770e95b4e86b1afd95c72dee98ab98e7d
291
PLUGIN_HOST="http://yapi.com.cn" PLUGIN_TOKEN="ab10588d8f485f86b7776e0945cf14" PLUGIN_ID="11,19,267" PLUGIN_ENV="env_11=网关地址" PLUGIN_DATAURL="http://127.0.0.1:3000/DATAURL/apidata" PLUGIN_PROJECT="PROJECT" # 是否包含子集,适用于yapi的子集分支 PLUGIN_DESCENDANTS="true"
b111b2605187f0e053238644d0adea86546afa08
621
#!/bin/bash export SAMPLES=( SVJ_1500_20_0.05_peak_MC2016 \ SVJ_1700_20_0.05_peak_MC2016 \ SVJ_1900_20_0.05_peak_MC2016 \ SVJ_2100_20_0.05_peak_MC2016 \ SVJ_2300_20_0.05_peak_MC2016 \ SVJ_2500_20_0.05_peak_MC2016 \ SVJ_2700_20_0.05_peak_MC2016 \ SVJ_2900_20_0.05_peak_MC2016 \ SVJ_3100_20_0.05_peak_MC2016 \ SVJ_3300_20...
c91b928b98fc0ea525ec7c66737adc98b82753ab
2,168
#!/bin/bash BINDIR=$(dirname $(realpath ${BASH_SOURCE[0]})) source ${BINDIR}/.helpers # helpful script functions source ${BINDIR}/../etc/conf.sh # user configuration PIDFILE=${RUNDIR}/localdns.pid LOGFILE=${LOGDIR}/localdns.log # clean the pidfile if it exists and is empty or if it exists but the referenced #...
890e366d4a7a136c353b3e1863eb50d949aaa403
329
#!/bin/sh aws ec2 run-instances \ --count 4 \ --image-id ami-bececaa3 \ --subnet-id <subnet id> \ --security-group-ids <security group> \ --key-name <keyname> \ --region eu-central-1 \ --instance-type m3.2xlarge \ --associate-public-ip-address \ --user-data file://../cloud-configs/n...
659ee802422c38af03194f256107c446bd37cb46
706
# The pre-trained BERT model to use. For different options, see https://github.com/google-research/bert # the download url will be equal to "$(MODEL_DOWNLOAD_BASE)$(MODEL_FILE)" MODEL_DOWNLOAD_BASE="https://storage.googleapis.com/bert_models/2018_10_18/" MODEL_FILE="uncased_L-12_H-768_A-12.zip" MODEL_FOLDER="uncased_L-...
a2d96b8e4fc0dbb609ea29c2902c0c99674e1a61
5,304
#!/bin/bash #create_xml_file #check_domain_name #check_if_network_already_exist #define_network #usage usage(){ echo "Usage: $0 [OPTION] ..." echo "Mandatory arguments" echo "-n, --network-name Enter a new network name" echo echo "Optional arguments" echo "-m, --mac-address Enter a mac_addr, or random mac_add...
ab6025bb9d801a334afd45766b97b98caabd902f
84
ibmcloud fn action update cafe-clova --docker kmiura/clova-ibmfunction cafe-clova.py
0937a2c273262e87d61e2f99daaafe405445d670
7,448
#!/bin/bash #______________________________________________________________________________________________________ #Name : uCodecsPack #Licence: GPL3 (http://www.gnu.org/licenses/gpl.html), FFmepeg and Zenity have their receptive licence, please see their man page #Author : Salih Emin (Based on the original code 'En...
4014b7c7ffb0326af8b2c72670cc85baf6369917
359
BASEDIR=$(dirname "$0") apt install python pip clang libffi-dev openssl-dev libsodium-dev export SODIUM_INSTALL=system mkdir /data/data/com.termux/files/tmp export BIN_SH=$PREFIX/bin/sh export CONFIG_SHELL=$PREFIX/bin/sh export TMPDIR=/data/data/com.termux/files/tmp export TMP=$TMPDIR export TEMP=$TMPDIR pip install ...
bd5249859ebd5af9c2d7a133d2e60830785b3665
595
#!/bin/bash MAILTO= hostOs=$(/bin/echo RHEL`/bin/lsb_release -r | awk '{print $2}'`) if [ -e /tmp/bgl-acme-v01/disable.sh ]; then if /usr/bin/pgrep -u ngdevx -x telegraf > /dev/null then /usr/bin/pkill -u ngdevx -x telegraf > /dev/null fi else if ! /usr/bin/pgrep -u ngdevx -x telegraf > /dev/nul...
dce2cbe1d5463837ee7ed81e0356f9cefc909aed
1,749
#!/bin/bash #Usage: cas-get.sh {url} {username} {password} DEST="$1" USERNAME="$2" PASSWORD="$3" ENCODED_DEST=`echo "$DEST" | perl -p -e 's/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg' | sed 's/%2E/./g' | sed 's/%0A//g'` CAS_HOST_PORT=wso2:8443 COOKIE_JAR=.cookieJar HEADER_DUMP_DEST=.headers rm $COOKIE_JAR rm $H...
a56b88eb24fd0d38f3ebbe4daf0dd309840fe909
490
case "$OCAML_VERSION,$OPAM_VERSION" in 3.12.1,1.1.0) ppa=avsm/ocaml312+opam11 ;; 4.00.1,1.1.0) ppa=avsm/ocaml40+opam11 ;; 4.01.0,1.1.0) ppa=avsm/ocaml41+opam11 ;; *) echo Unknown $OCAML_VERSION,$OPAM_VERSION; exit 1 ;; esac echo "yes" | sudo add-apt-repository ppa:$ppa sudo apt-get update -qq sudo apt-get install -qq ...
2bad7795ea97a4fdd865a46954456d57fca7d93b
475
#!/bin/zsh exitfunc(){ trap INT cp -r /home/test/afl-test/output $1 exit } trap "exitfunc" INT /home/test/afl-test/afl/afl-fuzz $2 -m $3 -i /Docker_Shared/input -o /home/test/afl-test/output /Docker_Shared/bin/binary || exit sleep 2 clear #if [ $1 -eq 0 ]; then # echo 'running forever' # sleep infinit...
d606c74a13ea6c453a6cbbcc318630e565555b77
105
#!/bin/bash bundle exec rake db:setup bundle exec rake db:migrate bundle exec rails s -p 3000 -b 0.0.0.0
fa2534d81affee46a2b8440b06a9fe6c8514606c
82
FACEBOOK_KEY="208605496184260" FACEBOOK_SECRET="00ee563b953a17d402a92333857427a4"
9dcfb2f22f5989807c7d59333f92d12edccf6d11
1,266
#!/bin/bash -l #SBATCH -A snic2018-3-170 #SBATCH -t 48:0:0 #SBATCH -p core -n 4 #SBATCH -J ./sbatches_merge_1/stage1tmp.merge0 #SBATCH -o ./sbatches_merge_1/stage1tmp.merge0_%j.out #SBATCH -e ./sbatches_merge_1/stage1tmp.merge0_%j.error #SBATCH --mail-user tilman.ronneburg@imbim.uu.se #SBATCH --mail-type=ALL #SBATCH -...
4c12b76341b505e6f9a86f3d1016d204325a297f
135
#!/bin/bash . ./devel/all_dbs.sh || exit 2 for db in $all do echo "DB: $db" ./devel/restore_db.sh $db || exit 2 done echo 'OK'
339e5e017921cef10d74a3d24e38a5382e137848
55
GOOGLE_MAPS_APIKEY=googleapikey SURGE_CHARGE_RATE=1500
2d78708d988358eabdffb49b9656c26fdecd5558
539
ALL_INTERCC_ARCHES=" k6_N8_gate_boost_0.2V_22nm.xml k6_N8_lookahead_chain_gate_boost_0.2V_22nm.xml k6_N8_lookahead_unbalanced_chain_gate_boost_0.2V_22nm.xml k6_N8_ripple_chain_gate_boost_0.2V_22nm.xml k6_N8_unbalanced_ripple_chain_gate_boost_0.2V_22nm.xml" ALL_ARCHES=" $ALL_INTERCC_ARCHES nointerclb_k6_N8_lookahead_ch...
7f39d3fcc7e9e56308c301f474949e03f93d2e62
202
#!/bin/bash IMAGE_TAG=$(cat .build_version) docker rmi registry.hivelocity.co.jp:5000/hivelocity-corp/wordpress:${IMAGE_TAG} docker rmi registry.hivelocity.co.jp:5000/hivelocity-corp/php:${IMAGE_TAG}
1cd0b6de2e8abbcd5234aa8826b6ae82cb84297e
697
#!/bin/bash # this script applies a lexical filter using lexicons in a given directory #SBATCH --time=00:15:00 #SBATCH --mem=40GB # Arguments: # $1 : input file # $2 : output file # $3 : directory containing lexicon evaluators # $4 : language code (En, Ar, Es) # join lexical filter input parameters lexparams="-...
e9a0bff33799a49562daed8f68e3643252db4f93
348
#!/bin/bash # We do SML evaluations this way so that we can force CM_VERBOSE=false. # The inability to set environment variables is a limitation of `sandbox`, not # of Ruby or Rublets. If we can figure out a way to set envrionment variables # from `sandbox`, we can probably relatively easily use that from Rublets. exp...
21dd7303e2250af3d92fa28c0ea7814464526d87
1,248
#!/bin/bash # -*- coding: utf-8, tab-width: 2 -*- function dummytext () { local TX_LANG="$1"; shift local TX= case "$TX_LANG" in demo ) TX_LANG="$1"; shift vengmgr lang:"$TX_LANG" prepare || return $? ( grab_text dummytext "$TX_LANG" \ && pipe_text nl -ba \ && pipe_text ven...
96ed8058ec40d8efe1fab63a281e4a44f676742f
234
DATASPINE_MODEL_RUNTIME=tfserving \ DATASPINE_MODEL_TYPE=tensorflow \ DATASPINE_MODEL_NAME=census \ DATASPINE_MODEL_TAG=cpu \ DATASPINE_INPUT_PATH=../input/ \ DATASPINE_OUTPUT_PATH=./dataspine_tfserving/ \ python dataspine_train.py
fb91225f782bf8ef0efca09ac9e993498e07058f
2,760
#!/bin/bash -e #grom=/gromacs/gromacs-2020.2/bin/gmx grom=/usr/bin/gmx # # Variables to use the system information (.tpr), index and full # trajectory of the simulation tpr=../../3_Minimization/min1.tpr index=../../2_Setup/index.ndx xtc=../1_traj/traj_all.xtc # The sasa module provides the surface area acessible to ...
aeec88a50abfac812d03b10626c9d5d7f02ce489
480
#! /usr/bin/sh echo "Introduzca un código postal: \c" read cp case "$cp" in 280[0-4][0-9] | 2805[0-4] ) echo "$cp es un código postal de Madrid" ;; 28[0-9][0-9][0-9] ) echo "$cp es un código postal de la provincia de Madrid" ;; [0-4][0-9][0-9][0...
d1606a5b28c14c9665ce78f529de1e0dd0de7b06
182
#!/bin/bash export CLASSPATH="$CLASSPATH:bin/:lib/bcpkix-jdk15on-150.jar:lib/bcprov-jdk15on-150.jar:lib/guava-17.0.jar:lib/java-getopt-1.0.14.jar" java cits3002.util.KeyCreator "$@"
0b3b63906def8a48833d6d361d86a0e1e9acca19
136
if [[ -z "$TMUX" ]]; then tmux has-session &> /dev/null if [ $? -eq 1 ]; then exec tmux new else exec tmux attach fi fi
e9bd8755a9957af3043b6c00dbfa75fb6f51aa1a
1,355
STACK_NAME=$1 VPC_NAME=${STACK_NAME}-csye6225-vpc SUBNET1_NAME=${STACK_NAME}-csye6225-subnet1 SUBNET2_NAME=${STACK_NAME}-csye6225-subnet2 SUBNET3_NAME=${STACK_NAME}-csye6225-subnet3 SUBNET4_NAME=${STACK_NAME}-csye6225-subnet4 SUBNET5_NAME=${STACK_NAME}-csye6225-subnet5 SUBNET6_NAME=${STACK_NAME}-csye6225-subnet6 IG_NAM...
d4d762a22e14b3d1b7aadc46b8a4eb08051b3b1b
913
#!/bin/bash cp config/server.properties.bak config/server.properties sed -i -E "s/(broker\.id=).*/\1$KAFKA_BROKER_ID/" config/server.properties sed -i -E "s/(log\.dirs=).*/\1$(echo $KAFKA_LOG_DIRS | sed -e 's/\\/\\\\/g; s/\//\\\//g; s/&/\\\&/g')/" config/server.properties sed -i -E "s/(num\.partitions=).*/\1$KAFKA_NU...
1cc40b340abf26d850e1bfb901dcc5b3a54f8196
359
#!/bin/bash # #SBATCH --job-name=kalman_intel #SBATCH --output=data_intel/out_intel.dat # #SBATCH --ntasks=1 #SBATCH -o data_intel/slurmjob-%j module purge module load intel/17 module load tau/intel module load papi/5.5.1 export TAU_METRICS=TIME,PAPI_TOT_INS,PAPI_TOT_CYC cd data_intel tau_exec -ebs -T papi,openmp ....