blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
c8999ec0ec0b2b3c84b799c614dc775cb081a43c
199
if test -d /etc/profile.d/; then for profile in /etc/profile.d/*.sh; do test -r "$profile" && . "$profile" done unset profile fi # vim: filetype=sh foldmethod=marker textwidth=0
bdff290d1b30ed87289a71be1d2ddec606e171bd
71
#!/bin/sh . ./simple_t0.lib echo Echo 1 in_t0 echo Echo 2 echo Echo 3
bd49865f2b1f33d881606c4780b470c04ca0340f
1,052
# packages for building kernel # pwclient curl -L https://patchwork.kernel.org/pwclient/ # for new machine and kernel # timezone setup timedatectl set-timezone America/Los_Angeles timedatectl apt-get update apt-get install -y --no-install-recommends \ bc \ build-essential ...
427b6443cc5cd03cfc1a7ecdf2a05e2adaa60fda
649
#!/bin/bash set -e if [ $# -lt 2 ]; then echo "Usage: $0 <yum.conf> <url>" exit 1 fi yumorig=$1 url=$2 shift; shift TEMPDIR=$(mktemp -d) trap "rm -rf $TEMPDIR" EXIT # repo names must be unique, or yum will get confused between different OSes and URLs reponame=undertest-$(basename $yumorig .conf)-$(echo $url | ...
2962fa678e78abbe43afb1f6dea39c36680b55c1
213
#!/bin/bash CONF_DIR=$(cd $(dirname ${BASH_SOURCE[0]} )/.. && pwd) sudo dnf -y install emacs if [ -h ~/.emacs ] then echo ".emacs is already in place" exit 1 fi rm -fr ~/.emacs ln -s ${CONF_DIR} ~/.emacs
d2ed7b72bd132ef8bc5eccf1b32a5674e839825f
582
#!/bin/bash # RMSE timeseries for i in sync_improves_metric_lbc_expo sync_improves_metric_lbc_wave sync_improves_metric_separate_expo sync_improves_metric_separate_wave; do echo "../plot/json2txt.py -f ${i}_32_{00,01,02,04,08,16}_0.metrics -r > R_rmse_${i}_32_0.metrics" ../plot/json2txt.py -f ${i}_32_{00,01,02,04,08...
4914c07578d01e9948200714a120ea26b6b85d4e
36
echo test >> $HOME/test-inotify.log
5906e8607d4f4b4cb377785fd35487a608ce8b8b
113
#!/bin/bash echo -n $(select-output-line -i "$1" -- adb shell pm list instrumentation|pn 1|perl -npe 's/.*://')
6284ae27cbc30d2c2a15ab1b154f41dea49d7877
3,403
#!/bin/bash VERSION=18.09.4 BIN_DIR=/usr/local/docker/bin [ $# -ne 1 ] && echo "Usage $0 {install|uninstall}" repeat() { while true; do $@ && return done } install(){ # 安装 wget which wget > /dev/null 2>&1 || { rm -f /etc/yum.repos.d/*.repo; \ curl -so /etc/yum.repos.d/epel-7.repo http://...
c9290cdad9a08b8d140b86aca3afb8191be9db56
18
#Comment a=1 b=2
b2321fe35db1c10e9fdf4998dd67db5f54ee4764
95
#!/bin/sh sudo raspivid -c -o /home/pi/hacktionreplay.h264 -s -t 30000 -b 10000000 --nopreview
9a239d2000b0214bae68b8218908bc246ccd009f
1,369
#!/usr/bin/env sh set -eu BASEDIR=$(dirname $0)/.. find_file() { find testing/data -name $1 } does_file_exist() { FNAME=$(find_file $1) if [ -z ${FNAME} ]; then return 1 else return 0 fi } run_test() { readonly outputname=$1 readonly tamname=$2 readonly test_fname=...
d3b373aacca6aeb8d7605de13b65e10225cf9ef9
267
#!/usr/bin/env bash #prints "Holberton School" #4th loop prints "bad luck" #8th loop prints "good luck" i=1 while [ $i -lt 11 ] do if [ $i -eq 4 ] then echo "bad luck" elif [ $i -eq 8 ] then echo "good luck" else echo "Holberton School" fi ((i++)) done
42d1d0be9a8c57f7f2973d826185e9af3cffb991
1,050
#!/bin/bash # Ask the user for their name echo Hello, which type of query do you want? read varname echo I got $varname echo dataset? read data echo I got $data module load python/gnu/3.4.4 /usr/bin/hadoop fs -rm -r -f "task_fftmp.out" if [ "$varname" == find_format ] then /usr/bin/hadoop fs -rm -r -f "task_fftmp.o...
e830fe3a1209a9693702872cf9937fb359dde7bf
383
# Centos 7 libav Kurulum ## https://wiki.libav.org/Platform/Linux#Pre_Built_Static_Binaries yum -y install autoconf automake gcc gcc-c++ git libtool make yasm pkgconfig zlib-devel # Download lib av from https://www.libav.org/download/ cd /tmp wget -nc https://www.libav.org/releases/libav-11.12.tar.gz tar -xvf libav-1...
81da7cb548da9d9cf91961694ba4212df289cf70
135
#!/bin/sh make WIDTH="1920" HEIGHT="1080" make WIDTH="1280" HEIGHT="1024" make WIDTH="1024" HEIGHT="768" make WIDTH="800" HEIGHT="600"
6a75b7133730096d458de44f6292315a108378da
615
#!/usr/bin/env bash TOOLS=() wget -nv -O /tmp/nomad.zip https://releases.hashicorp.com/nomad/0.8.7/nomad_0.8.7_linux_amd64.zip; TOOLS+=(nomad) wget -nv -O /tmp/consul.zip https://releases.hashicorp.com/consul/1.4.2/consul_1.4.2_linux_amd64.zip; TOOLS+=(consul) wget -nv -O /tmp/terraform.zip https://releases.hashicorp...
4a9e2a2cb02937a78d7a51a78d9ed2484c234b7a
140
export UTA_VERSION=uta_20210129 docker build -t gcr.io/clingen-dev/uta:${UTA_VERSION} . docker push gcr.io/clingen-dev/uta:${UTA_VERSION}
30cf9b0082b26ca3ae3a43223a67b686fc27bf0b
392
#! /bin/bash ########################################## # The MIT License (MIT) # # Copyright (c) 2016 # # Jeremy Cope # ########################################## # The complete terms can be found in the # # license file located in directory root.# ######...
3b5dc253e402c21e1aacb9ed6a7f007958b5f111
59
REACT_APP_AUTH_REDIRECT_URI=http://localhost:3000/callback
baf86ead33f4ee623d32d2a002962c92ff7978d1
354
if [ -d "gmain/" ] ; then rm -rf gmain/; fi; mkdir gmain; if [ -d "output/" ]; then rm -rf output; fi; mkdir output; cd gmain; g++ ../algorithm/algorithm.cpp ../algorithm/main.cpp ../algorithm/private.cpp -o gmain.exe; ./gmain.exe > ../output/output.tcl; cd ..; touch rmfile.bash ; echo "rm -rf gmain; rm -rf output; r...
dc5c7342d418c47b64777848974491cbc7b393fe
349
curl -X POST -H "Accept: application/json" -H "Content-Type: application/json" \ localhost:8080/v2/apps -d '{ "container": { "type": "DOCKER", "docker": { "image": "libmesos/ubuntu" } }, "id": "ubuntu", "instances": "1", "cpus": "0.5", "mem": "512", "uris": [], "cmd": "while sleep ...
64161d15a74861b3a767a8b2826379e9df5dc5e1
66
PORT=4000 NODE_PATH=./src REACT_APP_API_URL=http://localhost:3000
988add0f8e78f559a32f930f414315a896729159
103
#!/bin/sh if which openssl >/dev/null ; then echo "<<<openssl_version>>>" openssl version fi
492c7030466c388c293869b3d83f183340e6e6e9
2,272
#!/bin/sh trap "echo 'install-result-failed: trap error';exit 1" ERR echo "begin install brushClient>>>>>>" #安装文件的路径,即install.sh等文件的路径 installFiles_path=`pwd` echo "install files path :"$installFiles_path #根路径 brushClientPath="/home/apps/brushClient" #判断安装文件路径是否在/home/apps/brushClient路径下 if [ `echo $installFiles_path...
719536ca0fd101eca6aff80aaeaabe207d9f6c16
2,406
#!/bin/bash #PBS -N DICELAB_one_node_iot_run #PBS -l select=1:ncpus=16:chip_type=e5-2665:interconnect=fdr:mem=60gb,walltime=00:30:00,place=pack #PBS -j oe #PBS -q workq ###################################################### #$TMPDIR is used to access local_scratch -> /local_scratch/pbs.$PBS_JOBID/ #if [ ! -z "...
4bb2a1f5665022ee8e0c4415acee5ed07b4de327
22
./Mensaje.py "$1" "$2"
644e1141d07f7816554689562b37cdb258913fff
263
#!/bin/bash -l echo "Optimizing images" # Find image files and optimize them for FILE in `exec git diff --name-status |grep -v "^D" | grep ".png$" | awk '$1 != "R" { print $2 }'`; do echo "Optimizing $FILE" bundle exec smusher $FILE git add "$FILE" done
6ebdbb723b9f0fdceefee4986ae84a5ea8c89707
590
#!/bin/bash DBNAME="flame_mgr_db" PASSWORD="123456" USER_NAME="flame" if_not_exist_create_database="create database if not exists ${DBNAME}" if_not_exist_create_user="create user if not exists '${USER_NAME}'@'localhost' identified by '123456'" grant_privileges="grant all privileges on ${DBNAME}.* to '${USER_NAME}'@'lo...
1a9e68d95665196e8927e5842cfc0124a786e8ff
216
# [START maps_http_directions_toronto_montreal] curl -L -X GET 'https://maps.googleapis.com/maps/api/directions/json?origin=Toronto&destination=Montreal&key=YOUR_API_KEY' # [END maps_http_directions_toronto_montreal]
dd28c1f9e274eb1d7dc8cb5e75d2f172fe96922e
1,006
#!/bin/bash log_file=$HOME/install_progress_log.txt echo -ne "Initiating...\n" sudo apt-get -y update echo -ne "Installing utils...\n" sudo apt-get -y install git tig sudo apt-get -y install make locate sudo apt-get -y install whois sudo apt-get -y install curl wget sudo apt-get -y install silversearcher-ag sudo apt...
61b20d4d96a144deac3d1752159d3be849d0a06c
1,067
# File for misc config # sane globbing failure setopt cshnullglob # If this is on, any parameter passed to `cd` that happens to be variable is # expanded as such. I hate this. unsetopt cdablevars bindkey -v bindkey -M viins "^[[A" up-line-or-history bindkey -M viins "^[[B" down-line-or-history bindkey -M viins "^P" ...
b12ea9d4f241327a21e0ff73241cd84aa0fdc368
768
#!/bin/bash # Set Python version to be installed export python_version=3.8.7 # Install dependency package sudo apt install libffi-dev # Download Python tarball wget -P/tmp https://www.python.org/ftp/python/${python_version}/Python-${python_version}.tgz # Build and install Python cd /tmp tar xvf Python-${python_vers...
17a71b9a65b891d130e4c3b31212675a0b8d59d7
1,475
#/bin/sh if [ $1 = "start" ]; then ~/bin/villa-start.sh elif [ $1 = "stop" ]; then ~/bin/villa-stop.sh elif [ $1 = "restart" ]; then ~/bin/villa-stop.sh sleep 2 ~/bin/villa-start.sh elif [ $1 = "status" ]; then systemctl --user status ut_motion systemctl --user status ut_vision elif [ $1 = "...
6841ec90be21c05755f56ac7efad53bb504aaa91
4,996
fecha=$1 sh vercaran.sh fecha if [ $? -ne 0 ] then echo "El proceso del dia anterior no termino" -- cp .control.old .control exit fi cp .control .control.old fecha=$1 echo "fecha: "$fecha #Verifica el arhivo de cargue de productos indica=`grep limptemp: .control.old |cut -d ':' -f3` fecha_ant=`grep limptemp: .cont...
612daa5942477851e537d4b1c1e9fd6fd450a656
61
#!/bin/bash export PYTHONPATH=./:$PATH python3.5 web/main.py
6099b3a6708dd7191addb3805633d3618cc5d5c0
407
#!/bin/bash echo "initializing deamon to monitor and upload files to ipfs created in filesdump dir." inotifywait -m ~/Documents/InsightDC/filesdump -e create -e moved_to | while read path action file; do echo "The file '$file' appeared in directory '$path' via '$action'" ipfs add ~/Documents/Insight...
4e11f28a9a3ffbf2386240cb379022030d5b088f
55
rm -rf build out rebel.xml rm -rf *.iml .idea .gradle
d3f2fb85c3081dd7e50f0b1b63fad53ed3c5f313
1,004
#!/bin/bash # # 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 # # Unless required by applicable law or agreed to in writing, software # distr...
cc7c4f8bd793942e9e128c640db344a1c4f0b981
3,424
#!/bin/bash #SBATCH -J gro #SBATCH --job-name aa_calc_residen #SBATCH --partition=gpus #SBATCH --get-user-env #SBATCH --nodes=1 #SBATCH --tasks-per-node=12 #SBATCH --time=1500:00:00 source /etc/profile.d/modules.sh module load cuda55/toolkit source /home/wenjuan/work/scr/mdstress/bin/GMXRC # please edit these to mat...
745b7037d78b57130799500abfcb4563dfa5f49d
4,610
#!/bin/sh # Qmail - mailquotacheck # # Author: Paul Gregg <pgregg@tibus.net> # Url: http://www.tibus.net/pgregg/projects/qmail/ # Run this program ala: |mailquotacheck before your ./Maildir/ or ./Mailbox # entry in the .qmail file. e.g: # |/usr/local/bin/mailquotacheck # ./Maildir/ # Default quota is set to 3000Kb ...
c9091cc8b8dba39613baf028753d3a376b731adf
927
#!/bin/bash if [[ "$1" == "profile" ]] ; then echo "profiling code" perl -d:NYTProf ./tests/runtests.pl rm -rf nytprof.old || echo "no old to remove" mv nytprof nytprof.old nytprofhtml --open elif [[ "$1" == "full" || "$1" == "all" ]] ;then echo "full test, coverage and profiling" rm -r...
c6c9193e5ee2b7eda53cd99d72b077d93b9488d7
239
#!/bin/bash cd ~/differential-projects/crossroads/crossroads-anywhere/api npm start & API=$! cd ../react-native npm start & PACKAGER=$! open /Applications/React\ Native\ Debugger.app echo -ne "1\n1\n" | npm run build wait $API $PACKAGER
3707c115cfbb2b26f12b7f6e79ea3fdbb91b8c91
29
pg_dump textme > textme.dump
3f9e7e1a4a82e7b8a1f5d2bc47f73b7b46bd02fe
2,059
#!/bin/bash # check_apc # Written by Brad Clark # # Checks APC UPS # progname=check_apc version=0.3 author="Brad Clark" if [ $# -lt 1 ]; then echo "Usage: $0 -H host -C community [-w warning] [-c critical]" exit fi snmpget="/usr/bin/snmpget" community="public" snmpversion=1 warn=85 crit=95 # nagios return values...
1a9d262958bc08e499b289b5e59ed8781f792e6e
199
#!/bin/bash source ../config mkdir -p $CA_DIR openssl genrsa -out $CA_DIR/ca.key 2048 openssl req -x509 -new -nodes -key $CA_DIR/ca.key -subj "/CN=kube-system" -days 10000 -out $CA_DIR/ca.crt
d3a865271ab8b439a6d9cb5e094e4440b97fc95e
629
#!/usr/bin/env bash case "$PLAYER_EVENT" in start|change) ;; *) exit 0;; esac caption="♬ Spotify" metadata="" tries=0 while [ -z "$metadata" ]; do metadata="$(playerctl -p spotifyd metadata)" ((tries+=1)) echo "Tries: $tries" sleep 1 if [ $tries -ge 10 ]; then notify-send "$caption" "Unable to get ...
db9bdb567911e33c1824cae7a05a08bf0e804e75
641
BIND_REST_API=9010 BIND_PROVIDER_API=9011 BIND_GATEWAY_API=9012 BIND_ADMIN_API=9013 LOG_SERVICE_NAME=gateway LOG_LEVEL=debug LOG_TIME_FORMAT=RFC3339 LOG_TARGET=STDOUT LOG_DIR=/var/log/fc-retrieval/fc-retrieval/gateway LOG_FILE=gateway.log LOG_MAX_BACKUPS=3 LOG_MAX_AGE=28 LOG_MAX_SIZE=500 LOG_COMPRESS=true GATEWAY_ID=10...
acf2a58ceedb0497fccba6e7a88f5190b57c02e2
2,258
#!/bin/sh # LSST Data Management System # Copyright 2014 LSST Corporation. # # This product includes software developed by the # LSST Project (http://www.lsst.org/). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Fr...
04adf6e63d006acebac047a42b376ee0f32f0869
242
#!/usr/bin/env bash touchpadEnabled=$(xinput list-props 11 | grep "Device Enabled" | awk -F ":" '{print $2}') if [ $touchpadEnabled -eq 1 ] then xinput --set-prop 11 "Device Enabled" 0 else xinput --set-prop 11 "Device Enabled" 1 fi
10d3d060825f982ba6402f917d06521ed5db76fc
870
#!/bin/bash NAME=${openssl[0]} PROGRAM=${openssl[3]} FILE=${openssl[2]} EXT=${openssl[4]} DLINK=${openssl[1]} MD5=${openssl[5]} if [ $REBUILD_ALL ]; then echo Building $PREFIX32/$NAME because REBUILD_ALL=$REBUILD_ALL elif [ -e $PREFIX32/$NAME ]; then echo Skipping $PREFIX32/$NAME because we already have it ...
5ee563800654b0a7578be57c6f09a090f3221d9c
390
#!/bin/bash #Author: jeonghoonkang http://github.com/jeonghoonkang if [ $1 = 'up' ]; then echo "... updating" #git add sect_serial_ttyUSB0.py git add ./ git commit -m "by wonsik" git push -u origin master elif [ $1 = 'co' ]; then echo "... installing" git pull -u origin mast...
fe9e03ad1736f7d08003de79855f52a5832356f3
147
#!/usr/bin/env bash git fetch -p git branch -D $(git for-each-ref --format="%(refname:short)" refs/heads --merged="$(git base)") git gc git prune
c3f30564a298b99a8ab4914a9dfda5615dd8a0a6
151
source "${BATS_TEST_DIRNAME}/../plan.sh" @test "Version matches" { result="$(ant -version | awk '{print $4}')" [ "$result" = "${pkg_version}" ] }
0ba9f6eb79882e2ded8d267b8c04be3610deb42a
413
#!/bin/sh # /etc/kernel/postinst.d/unattended-upgrades case "$DPKG_MAINTSCRIPT_PACKAGE::$DPKG_MAINTSCRIPT_NAME" in linux-image-extra*::postrm) exit 0;; esac if [ -d /var/run ]; then touch /var/run/reboot-required if ! grep -q "^$DPKG_MAINTSCRIPT_PACKAGE$" /var/run/reboot-required.pkgs 2> /dev/nul...
74d46484b43e11d0dad3d97c3f4ec9f5d3415286
587
#!/bin/bash run_benchmarks() { echo ==================================================== echo GOMAXPROCS=$GOMAXPROCS echo GOROUTINES=$GOROUTINES for file in $(ls **/*.go); do base=$(echo $file | cut -f1 -d.) echo running $base time ./$base echo done } main() { e...
46609895cf13fcaee62bb4a72fccd74ab22e4ef2
830
# Maintainer : Daniel Bermond < yahoo-com: danielbermond > pkgname=python2-lmdb pkgver=0.92 pkgrel=1 pkgdesc="Universal Python2 binding for the LMDB Lightning Database" arch=('any') url="https://github.com/dw/py-lmdb/" license=('custom') depends=('python2' 'lmdb') makedepends=('python2-setuptools') source=("https://gi...
5b2229ef8411297a14174d555e52e53749d06318
734
#!/bin/bash if [ -z $1 ];then echo 'USAGE:CONTENTTITLEAND FILENAME' exit 0 fi filename=result echo "">$filename URL=(`sed -n 's/.*>\(.*\)<\/url>/\1/p' $1`) DOCNO=(`sed -n 's/.*>\(.*\)<\/docno>/\1/p' $1`) CONTENTTITLE=(`sed -n 's/.*>\(.*\)<\/contenttitle>/\1/p' $1`) CONTENT=(`sed -n 's/.*>\(.*\)<\/content>/\1/p' $...
0bf18b779be630b094983fd2f26413f8a6db19bc
170
folder=$(realpath $(cat ../datafolder)) cool=$folder/coolers/Bonev_ES.mm9.mapq_30.1000.mcool for bed in $folder/beds/CGI*.bed; do qsub make_pileups.sh $cool $bed; done
1ad507fc586680606a343fa87601f5a1c5008eb9
206
#!/bin/bash TODAYSBACKUP=`date +%Y-%m-%d` PASSWORD=$1 for i in ${@:2}; do export=$TODAYSBACKUP\_sql_$i.sql; /usr/local/bin/mysqldump -u db_export -p$1 "$i" > ~/Documents/Database\ Exports/"$export"; done
11c3c4e917722cd5dcea5397b5db09b95a97a7ae
171
echo "echo" > _ex3.txt chmod 666 _ex3.txt ls -l _ex3.txt > ex3.txt chmod 707 _ex3.txt ls -l _ex3.txt >> ex3.txt chmod 660 _ex3.txt ls -l _ex3.txt >> ex3.txt rm _ex3.txt
4d3ab0624ff1acf1979912771b7f571169f0589d
666
#!/bin/bash ### EggNOG # http://eggnogdb.embl.de/#/app/downloads wget -N https://raw.githubusercontent.com/MaastrichtU-IDS/d2s-transform-template/master/datasets/eggnog/download/NOG.annotations.tsv.gz wget -N https://raw.githubusercontent.com/MaastrichtU-IDS/d2s-transform-template/master/datasets/eggnog/download/NO...
9299b410757f75270aa678feee58c3c67e6e9c30
527
#!/bin/bash set -o errexit set -o pipefail set -o nounset export COMPOSE_FILE=local.yml stop_stack() { echo "Stopping compose environment..." docker compose down } if [ ! -f .env ]; then echo "Creating .env file from example..." cp .env.example .env fi echo "Building compose environment..." docker ...
8aa5ff22237ea68e6941a1b5a783c0c3efb4b437
132
#!/bin/bash source ~/last_task_number.txt ((TaskNumber++)) echo $TaskNumber echo "TaskNumber=$TaskNumber" > ~/last_task_number.txt
7969bd792f292874e1d86dd5f2928c85e7fab168
48
HOST= PORT= USER_DB= PWD_DB= PORT_DB= NAME_DB =
fa5ac43e7877dd7fd5066e0851e8c5bf6af441bc
5,323
#!/bin/bash # Vamos a hacer un tateti echo Juguemos un Tateti # Con esto se elige quien empieza. El jugador siempre es la X moneda=$(( $RANDOM % 2 )) echo Tiramos una moneda para decidir quien empieza echo "Elegí, ¿Cara o Cruz?" select resultado in Cara Cruz do if [ $resultado = Cara ] then resultado=0 if [ $re...
9f9d184bedb4fa4c0b3d7f237650861af904dd10
410
#!/bin/sh export LD_LIBRARY_PATH="/usr/lib32/mjpg-streamer/" mjpg_streamer \ -i "input_uvc.so -r 1280x720 -d /dev/video0 -f 30" \ -o "output_http.so -p 8080 -w /usr/local/share/mjpg-streamer/www" # mjpg_streamer -i "input_uvc.so -r 1280x7...
52ab57f5372323e4d0ae652a9db919ba3e6acc2c
686
#!/bin/bash set -e source $SERVER_CONFIG/data.cfg if [ ! -z "$1" ]; then echo "Connecting $1 cluster" else echo "A cluster name is needed" exit 1 fi #-------------------------------------------------------------------------------# # Iterage over each nodes and # #-------------------------------------------...
6ad93294380cd018eb9a65206521a5774b37a098
572
#!/bin/bash mv r102.png 102.png mv r103.png 103.png mv r104.png 104.png mv r105.png 105.png mv r106.png 106.png mv r107.png 107.png mv r108.png 108.png mv r109.png 109.png mv r110.png 110.png mv r111.png 111.png mv r112.png 112.png mv r113.png 113.png mv r114.png 114.png mv r115.png 115.png mv r116.png 116.png mv r117....
66db5ea9ad1c401ac120772f27af61015fb19cc8
101
#!/bin/bash echo -n "Enter a name to search for: " read name grep -i $name ~unx510/2017b/phonebook
d61f003f58430927ee50bd4feb6145e1885b0b4f
1,517
## ------ Pre-processing custom data -------- # Settings ROOT_DATA_PATH=../raw_data DATA_PATH=ami_dialsum_corpus_stories ROOT_RESULT="../logs/${DATA_PATH}_bertsumextabs" mkdir $ROOT_RESULT RESULT_PATH="${ROOT_RESULT}/eval" # Root name for all generated files LOG_FILE="${ROOT_RESULT}/eval.log" BERT_DATA_FULL="${BERT_...
acd57b8d255c553bc937459f2f3e6735fc2133f2
8,412
#!/bin/bash BRANCH="${1}" SIGNATURE="${2}" generate_post_data() { cat <<EOF { "body": "{\"ref\":\"refs/heads/master\",\"before\":\"6c61e633aed661a686706c606ee574c9ecb2dfb4\",\"after\":\"34449752e44b1df6fb8a56b01413297ccc3df6b9\",\"created\":false,\"deleted\":false,\"forced\":false,\"base_ref\":null,\"compare\":\"...
7f7615940a73c1dbe06029775d08d7e3689ba931
103
#!/bin/sh echo Sleeping for "$WAIT" before running \"goldapps "$*"\" sleep "$WAIT" && /app/goldapps $*
c94d3a42e80048f62d7792adbb9b43f01e3bf148
3,694
#!/bin/bash # rotate.sh V0.7 191023 qrt@qland.de # linux bash script for rotation control (display + touchscreen + optional pen) # make script executable # chmod a+x rotate.sh # open a console and enter # $ xinput -list # note the input device(s) you want to rotate #if unused -> DEVICE1= DEVICE0="pointer:ELAN22A6:0...
ae86c03c0449fd4870e5160100abcb2328fd40f0
191
export NODE_PATH=/usr/local/lib/node_modules export ANDROID_SDK_ROOT=/usr/local/Cellar/android-sdk/r21.0.1 if [ -f ~/perl5/perlbrew/etc/bashrc ]; then source ~/perl5/perlbrew/etc/bashrc fi
ea879831479a014143becca47424228fc9a06061
41
#!/bin/bash docker push nohaapav/alpine
2f49cd2f299223f5883b2e9835954a085fc7e46a
9,902
cd /home/pthorpe/scratch/kenya_metab/pool1 cat db.fa Nempool1_S1_L001_PEAR/Nempool1_S1_L001.assembled.fastq.bio.chopped.fasta > assembled_fa_and_OTU_db.fasta vsearch --derep_fulllength _L001.assembled.fastq.bio.chopped.fasta --output Nempool1_S1_L001_PEAR/Nempool1_S1_L001.assembled.fastqdrep.vsearch.fasta --sizeout v...
5dd49f08bfa02656d118978047bf01616f0c2205
320
#!/usr/bin/env bash set -e node --version npm --version which node cd tools/nodejs make clean ./configure npm install --build-from-source npm test npx node-pre-gyp package testpackage testbinary if [[ "$GITHUB_REF" =~ ^(refs/heads/main|refs/tags/v.+)$ ]] ; then npx node-pre-gyp publish npx node-pre-gyp info fi
2b79f53d2933c8aa9dd1d77d4af5c72812cd6c75
316
#!/bin/bash cd `dirname $0` if [ -d "/opt/" ];then \cp -rf ../file_life_cycle /opt/ fi # file_life_cycle.service配置 if [ ! -e "/etc/systemd/system/file_life_cycle.service" ];then \cp -f ./script/file_life_cycle.service /etc/systemd/system/ fi # locate配置 \cp -f ./src/config/updatedb.conf /etc/updatedb.conf
4a5bf4d7ff9018047168da1f5b24af6ec7bedade
76
#!/bin/zsh mkdir -p $HOME/.config ln -f -s $DOTFILES/vim $HOME/.config/nvim
c4c2ddd48e0ff3e197b9e7a60129a12a25306b90
916
#!/usr/bin/env bash CHECK_RATE_FILE=plot_check_rate.txt RESPONSE_TIME_FILE=plot_response_time.txt rm $CHECK_RATE_FILE echo "Command Check Rates" >> $CHECK_RATE_FILE echo "Tasks in One Pod" >> $CHECK_RATE_FILE echo "Average Check Rate (per sec.)" >> $CHECK_RATE_FILE rm $RESPONSE_TIME_FILE echo "Command Check Responsi...
ef7fd3050e4a98a8f2cc7a78ded50f324b705baf
111
#!/bin/bash echo "alpha " $1 echo "gamma 0.99" echo "k 3" echo "epsilon 0.1" echo "episodes 1000"
81d00f5e7092613e51dd876c85aa834dd751dc31
207
#!/bin/sh cd /home/pi/Projects/noobdanbot/DanBot2/ git pull x-terminal-emulator -e /usr/bin/python3 tg_adapter.py cd /home/pi/Projects/noobdanbot/DanBot2/danddanbot/ /usr/bin/python3 danddanbot.py $SHELL
3743d89d7f1b1047d5069e03db7b8313b40d04dd
199
#!/bin/sh mkdir -p gui/resources stack install # upx gui/resources/calculus-toolbox cd gui resources/calculus-toolbox generateservantapi 'src/ServantApi.js' # npm install npm run build npm run dist
4f32b735485ef457ca627bec3514c3c0e652cd5b
824
#!/bin/bash # we type these by hand instead of using the values # provided by conda-build: # 1. to avoid special 'helpful' debug flags # that breaks the mpicc/mpif90 wrappers. # 2. also avoids many -f flags that causes a weird # cmake `;list` conversion bug (either in cmake or the scripts) # https://github.com/pyto...
512bece1fddd85e07161fb94957355d77960210d
1,285
APP_NAME=Laravel APP_ENV=local APP_KEY=base64:yV7beQ5zyzAA/bcbKb3fnLnhwfUU5wG1hkg2Y/DdigI= APP_DEBUG=true APP_URL=http://RestaurantsProject.test LOG_CHANNEL=stack LOG_LEVEL=debug DB_CONNECTION=pgsql DB_HOST=127.0.0.1 DB_PORT=5432 DB_DATABASE=my_application_db DB_USERNAME=postgres DB_PASSWORD=root BROADCAST_DRIVER=lo...
2f04d81194312d78e6d404dfa313ef98a5df396d
69
#!/usr/bin/env bash echo sending information "$@" echo "$@" > /input
28e9e3678cc3558bc967b9d87cde06ba4c369ee0
206
#!/bin/bash declare -r HASH="$(git rev-parse --verify HEAD)" zip -R -y "$HASH" './packages/**/dist/**/*' dist/**/* './packages/**/dist/*' dist/* node ./scripts/dist-management/upload-dist.js "$HASH.zip"
064a0798fefc8ad5e775cec2e9473e726e215c0b
283
#!/bin/sh gcctool=./tools/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc if [ ! -f "$gcctool" ];then tar xvf ./tools/gcc-arm-none-eabi-4_9-2015q3-20150720-linux.tar.bz2 -C ./tools else echo "tools is ok!" echo "******************************************************" fi
aac00d630d3ad810770f03a42af1dc18db89f549
2,575
#!/bin/bash ## 动态信息库person 表的映射 ##curl -XDELETE 's100:9200/dynamic?pretty' -H 'Content-Type: application/json' curl -XPUT 's100:9200/dynamic?pretty' -H 'Content-Type: application/json' -d' { "settings": { "number_of_shards":5, "number_of_replicas":1, "analysis": { "filter": { ...
93d825da51f962a656627d9f8cc36383ec5d2980
478
BATCH_SIZE=1 WORKER_NUMBER=1 LEARNING_RATE=0.00001 DECAY_STEP=10 #SESSION=1 #EPOCH=43 #CHECKPOINT=1456 #--r True --checksession $SESSION --checkepoch $EPOCH --checkpoint $CHECKPOINT \ GPU_ID=4,5,6,7 CUDA_VISIBLE_DEVICES=$GPU_ID python trainval_net.py \ --dataset bdd --net hp --hpstage AF3 \ ...
92c254ab367775793f2c437ee1607d4b8a4e182b
355
#!/bin/bash # declare an array called array and define 3 vales node=( 3 5 7 9 11 13 15) per=( 0.3 ) fail=( 'true') for n in "${node[@]}" do for p in "${per[@]}" do for f in "${fail[@]}" do java -cp 'target/wpaxos.sample-1.0.0.jar:target/dependency/*' com.wuba.wpaxos.sample.latency.LatencyTestMain $...
ce8b3a20bb6911de799a522b7ad47218db25455d
36
g++ -o code test.cpp -std=c++11 -O2
cba55fd1e651926df2c98aa68e97537056ce5aa2
55
lsof -ti:8090 | xargs kill & lsof -ti:4210 | xargs kill
ef69a9b424e8175141cc1e2e8fa8c99f8eaa3763
121
#!/bin/bash docker build -t "heatmap" . docker tag heatmap:latest cursecatcher/heatmap docker push cursecatcher/heatmap
b3b8a07ae4f4faa42042d068888b61dd8f94925c
20
coffee "$CHOC_FILE"
36102f047f3b9f6944acd81f22c5e238748de2f9
141
#!/bin/bash if [[ "$PASSENGER_APP_ENV" != "" ]]; then echo "passenger_app_env '$PASSENGER_APP_ENV';" > /etc/nginx/conf.d/00_app_env.conf fi
b76985f9dc70daada9f2bdcd834cb42e61428e8a
251
function clisnax() { docker-compose exec kxd clisnax -u http://snaxnoded:8888 --wallet-url http://localhost:8900 "$@" } function kxd() { docker exec docker_snaxnoded_1 kxd "$@" } function pkill() { docker exec docker_snaxnoded_1 pkill "$@" }
b91f70936ec867a5c45567985638ea0ff6201ee5
52
sudo find /var -type f -exec du \{\} \; | grep '^0'
4cdd9d27808ddf84755d3793da03b1d2dd7ca301
93
nohup /etc/ansible/frp/frpc -c /etc/ansible/frp/frpc.ini 2>&1 >/etc/ansible/frp/runfrp.err &